Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949002 - gui-wm/hyprland: version bump to 0.47.0
Summary: gui-wm/hyprland: version bump to 0.47.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Julien Roy
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-29 09:40 UTC by ingenarelitems
Modified: 2025-04-01 02:05 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build error (build.log.xz,8.90 KB, application/x-xz)
2025-04-01 01:44 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ingenarelitems 2025-01-29 09:40:04 UTC
the latest version, version 0.47.0, was released 2 days ago.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-29 09:52:39 UTC
While it's technically on the border of the recommended 48 hours, I would generally assume the maintainers are aware and wait a bit longer before bothering to file bugs for it: https://wiki.gentoo.org/wiki/Zero-day_bump_requests.
Comment 2 ingenarelitems 2025-01-29 10:46:41 UTC
i was just gonna try to update it myself since i'm on a spree of opening up bugs for packages i use extensively that haven't been updated, then trying to update it myself, and after testing, opening up a pr about it
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-29 10:47:40 UTC
Ah, thanks.
Comment 4 Johannes Huber 2025-02-01 08:51:45 UTC
There is already a bug fix release available
https://github.com/hyprwm/Hyprland/releases/tag/v0.47.1
Comment 5 ahnafbackup222 2025-02-03 00:31:14 UTC
0.47.2  is out now as well
Comment 6 Johannes Huber 2025-02-07 10:39:22 UTC
I made a quick & dirty version bump in my overlay, feel free to use it for inspiration:

new dependency glaze: https://github.com/johu/johu-overlay/commit/be5af310657603f0f4d7477990560a9b318f33f1

hyprland-0.47.2: https://github.com/johu/johu-overlay/commit/51677167b72497e557f177fb309973de85f50a13
Comment 7 Yixun Lan archtester gentoo-dev 2025-02-08 07:47:28 UTC
(In reply to Johannes Huber from comment #6)
> I made a quick & dirty version bump in my overlay, feel free to use it for
> inspiration:
> 
> new dependency glaze:
> https://github.com/johu/johu-overlay/commit/
> be5af310657603f0f4d7477990560a9b318f33f1
> 
> hyprland-0.47.2:
> https://github.com/johu/johu-overlay/commit/
> 51677167b72497e557f177fb309973de85f50a13

I'd appreciate a PR for this

and we can set a timer (one week?) for maintainers if it turns out no response for long time
Comment 8 ingenarelitems 2025-02-27 22:43:40 UTC
so when trying to update it myself, i've hit a problem

as johannes huber already said it, there's a new dependency called glaze

now i don't have the experience nor the wish of maintaining a cpp json library, and because i can't maintain it, so it feels irresponsible to open up a pr for this new package without a maintainer.

Johannes Huber if you're happy to maintain it, you or i can open a pr about glaze, and then after it gets merged you or i can version bump hyprland
Comment 9 Arniiiii 2025-02-28 14:53:42 UTC
(In reply to ingenarelitems from comment #8)
> so when trying to update it myself, i've hit a problem
> 
> as johannes huber already said it, there's a new dependency called glaze
> 
> now i don't have the experience nor the wish of maintaining a cpp json
> library, and because i can't maintain it, so it feels irresponsible to open
> up a pr for this new package without a maintainer.
> 
> Johannes Huber if you're happy to maintain it, you or i can open a pr about
> glaze, and then after it gets merged you or i can version bump hyprland

https://github.com/Arniiiii/ex_repo/blob/master/dev-cpp/glaze/glaze-4.4.3.ebuild

someone try it.
Comment 10 Ja Koolit 2025-03-06 14:26:44 UTC
so no plan to update Hyprland anymore?
Comment 11 Julien Roy 2025-03-08 02:00:42 UTC
I haven't had the time to update Hyprland & co, but if someone opens a PR I will gladly review it.
Comment 12 foufou33 2025-03-13 02:26:41 UTC
(In reply to Arniii from comment #9)
> (In reply to ingenarelitems from comment #8)
> > so when trying to update it myself, i've hit a problem
> > 
> > as johannes huber already said it, there's a new dependency called glaze
> > 
> > now i don't have the experience nor the wish of maintaining a cpp json
> > library, and because i can't maintain it, so it feels irresponsible to open
> > up a pr for this new package without a maintainer.
> > 
> > Johannes Huber if you're happy to maintain it, you or i can open a pr about
> > glaze, and then after it gets merged you or i can version bump hyprland
> 
> https://github.com/Arniiiii/ex_repo/blob/master/dev-cpp/glaze/glaze-4.4.3.
> ebuild
> 
> someone try it.

seems to work!
Comment 13 Jim Tupper 2025-03-23 18:02:28 UTC
Can confirm that I've upgraded to 0.47.2 without issue, using:

ex_repo version of glaze: 
https://github.com/Arniiiii/ex_repo/blob/master/dev-cpp/glaze/glaze-4.4.3.ebuild

hyprland bump from johu:
https://github.com/johu/johu-overlay/commit/51677167b72497e557f177fb309973de85f50a13

Also Bumping:
gui-libs/hyprutils-0.5.2
gui-libs/aquamarine-0.8.0
dev-libs/hyprland-protocols-0.6.2
Comment 14 Jim Tupper 2025-03-29 16:45:23 UTC
Is there anything we can do to help move this forward, or the next v0.48?
Comment 15 Jim Tupper 2025-03-29 17:31:33 UTC
(In reply to Arniiiii from comment #9)
> (In reply to ingenarelitems from comment #8)
> > so when trying to update it myself, i've hit a problem
> > 
> > as johannes huber already said it, there's a new dependency called glaze
> > 
> > now i don't have the experience nor the wish of maintaining a cpp json
> > library, and because i can't maintain it, so it feels irresponsible to open
> > up a pr for this new package without a maintainer.
> > 
> > Johannes Huber if you're happy to maintain it, you or i can open a pr about
> > glaze, and then after it gets merged you or i can version bump hyprland
> 
> https://github.com/Arniiiii/ex_repo/blob/master/dev-cpp/glaze/glaze-4.4.3.
> ebuild
> 
> someone try it.

I've tried this and it works fine. I was looking to make a merge request.
Are you ok if I use this as the basic for a merge request. To do so, I would need to change the copyright in your ebuilds to "Gentoo Authors" instead of Arniiiii.

I'll also need to remove some arches from the ebuild as they depend on packages that don't support certain arches.

(All these are issues shown by running `pkgcheck scan --commits --net` as suggested by the pull request documentation.
Comment 16 Arniiiii 2025-03-29 19:26:01 UTC
(In reply to Jim Tupper from comment #15)

> 
> I've tried this and it works fine. I was looking to make a merge request.
> Are you ok if I use this as the basic for a merge request. To do so, I would
> need to change the copyright in your ebuilds to "Gentoo Authors" instead of
> Arniiiii.
> 


Yes, I'm totally fine about it.


> I'll also need to remove some arches from the ebuild as they depend on
> packages that don't support certain arches.
> 

Ok.

> (All these are issues shown by running `pkgcheck scan --commits --net` as
> suggested by the pull request documentation.

Good to know, I'll check it in short time.
Comment 17 Jim Tupper 2025-03-29 20:43:01 UTC
(In reply to Julien Roy from comment #11)
> I haven't had the time to update Hyprland & co, but if someone opens a PR I
> will gladly review it.

I don't really know why I'm doing, but I've tried to generate a pull request here: https://github.com/gentoo/gentoo/pull/41375

Thanks to Arniiiii for the glaze implementation and allowing me to alter it for gentoo merge use.
Comment 18 Jim Tupper 2025-03-29 20:43:39 UTC
(In reply to Jim Tupper from comment #17)
> (In reply to Julien Roy from comment #11)
> > I haven't had the time to update Hyprland & co, but if someone opens a PR I
> > will gladly review it.
> 
> I don't really know why I'm doing, but I've tried to generate a pull request
> here: https://github.com/gentoo/gentoo/pull/41375
> 
> Thanks to Arniiiii for the glaze implementation and allowing me to alter it
> for gentoo merge use.

*I don't really know what I'm doing (sorry typo)
Comment 19 Yixun Lan archtester gentoo-dev 2025-04-01 01:44:52 UTC
Created attachment 923373 [details]
full build error

I've first got a compiling error, it's probably duo missing version dependency.

../hyprland-source/src/config/../helpers/memory/Memory.hpp:10:31: error: ‘CUniquePointer’ in namespace ‘Hyprutils::Memory’ does not name a template type
   10 | #define UP Hyprutils::Memory::CUniquePointer
      |                               ^~~~~~~~~~~~~~


after upgrade following packages, the error is gone,

emerge -qa1 gui-libs/hyprutils
[ebuild  r  U ] gui-libs/hyprutils-0.5.2 [0.3.0-r1]
[ebuild  rR   ] dev-libs/hyprlang-0.6.0
[ebuild  rR   ] dev-libs/hyprgraphics-0.1.1
[ebuild  r  U ] gui-libs/aquamarine-0.8.0 [0.5.1]
[ebuild  rR   ] gui-libs/hyprland-qtutils-0.1.1
[ebuild  r  U ] gui-wm/hyprland-0.47.2 [0.46.2-r1]

The following packages are causing rebuilds:

  (gui-libs/hyprutils-0.5.2:0/0.5::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (gui-wm/hyprland-0.47.2:0/0::gentoo, ebuild scheduled for merge)
    (gui-libs/hyprland-qtutils-0.1.1:0/0::gentoo, ebuild scheduled for merge)
    (dev-libs/hyprgraphics-0.1.1:0/0::gentoo, ebuild scheduled for merge)
    (gui-libs/aquamarine-0.8.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-libs/hyprlang-0.6.0:0/0::gentoo, ebuild scheduled for merge)

Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 6) gui-libs/hyprutils-0.5.2::gentoo
>>> Installing (1 of 6) gui-libs/hyprutils-0.5.2::gentoo
>>> Completed (1 of 6) gui-libs/hyprutils-0.5.2::gentoo
>>> Emerging (2 of 6) dev-libs/hyprlang-0.6.0::gentoo
>>> Installing (2 of 6) dev-libs/hyprlang-0.6.0::gentoo
>>> Completed (2 of 6) dev-libs/hyprlang-0.6.0::gentoo
>>> Emerging (3 of 6) dev-libs/hyprgraphics-0.1.1::gentoo
>>> Installing (3 of 6) dev-libs/hyprgraphics-0.1.1::gentoo
>>> Completed (3 of 6) dev-libs/hyprgraphics-0.1.1::gentoo
>>> Emerging (4 of 6) gui-libs/aquamarine-0.8.0::gentoo
>>> Installing (4 of 6) gui-libs/aquamarine-0.8.0::gentoo
>>> Completed (4 of 6) gui-libs/aquamarine-0.8.0::gentoo
>>> Emerging (5 of 6) gui-libs/hyprland-qtutils-0.1.1::gentoo
>>> Installing (5 of 6) gui-libs/hyprland-qtutils-0.1.1::gentoo
>>> Completed (5 of 6) gui-libs/hyprland-qtutils-0.1.1::gentoo
>>> Emerging (6 of 6) gui-wm/hyprland-0.47.2::gentoo
>>> Installing (6 of 6) gui-wm/hyprland-0.47.2::gentoo
>>> Completed (6 of 6) gui-wm/hyprland-0.47.2::gentoo

align the version with meson.build isn't enough, here is version from this file

aquamarine = dependency('aquamarine', version: '>=0.4.5')
hyprcursor = dependency('hyprcursor', version: '>=0.1.7')
hyprgraphics = dependency('hyprgraphics', version: '>= 0.1.1')
hyprlang = dependency('hyprlang', version: '>= 0.3.2')
hyprutils = dependency('hyprutils', version: '>= 0.2.3')
Comment 20 Yixun Lan archtester gentoo-dev 2025-04-01 01:54:40 UTC
1) dev-cpp/glaze only provide header files, so it should belong to build dependency (DEPEND), not RDEPEND

2) need >=dev-libs/hyprland-protocols-0.6.0, snip from the source

./CMakeLists.txt:307:pkg_check_modules(hyprland_protocols_dep hyprland-protocols>=0.6.0)

./protocols/meson.build
hyprland_protos = dependency(
        'hyprland-protocols',
        version: '>=0.6',
        fallback: 'hyprland-protocols',
)
Comment 21 Yixun Lan archtester gentoo-dev 2025-04-01 02:03:45 UTC
(In reply to Yixun Lan from comment #19)
> Created attachment 923373 [details]
> full build error
> 
> I've first got a compiling error, it's probably duo missing version
> dependency.
> 
> ../hyprland-source/src/config/../helpers/memory/Memory.hpp:10:31: error:
> ‘CUniquePointer’ in namespace ‘Hyprutils::Memory’ does not name a template
> type
>    10 | #define UP Hyprutils::Memory::CUniquePointer
>       |                               ^~~~~~~~~~~~~~
> 
Ok, it require recent version of hyprutils, let's put

 >=gui-libs/hyprutils-0.5.2:=
Comment 22 Larry the Git Cow gentoo-dev 2025-04-01 02:05:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffc7f997d107f7563cddd5f0c3b3f3b755aaa936

commit ffc7f997d107f7563cddd5f0c3b3f3b755aaa936
Author:     Jim Tupper <gentoo@tupper.org.uk>
AuthorDate: 2025-03-29 17:55:28 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2025-04-01 02:04:10 +0000

    gui-wm/hyprland: add 0.47.2
    
    Closes: https://bugs.gentoo.org/949002
    Closes: https://github.com/gentoo/gentoo/pull/41375
    Signed-off-by: Jim Tupper <gentoo@tupper.org.uk>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 gui-wm/hyprland/Manifest               |   1 +
 gui-wm/hyprland/hyprland-0.47.2.ebuild | 105 +++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)