Package Details: hyprland-git 0.44.0.r46.0baf166d-1

Git Clone URL: https://aur.archlinux.org/hyprland-git.git (read-only, click to copy)
Package Base: hyprland-git
Description: Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
Upstream URL: https://github.com/hyprwm/Hyprland
Licenses: BSD-3-Clause
Conflicts: hyprland
Provides: hyprland
Submitter: hertog
Maintainer: Vaxry (zjeffer, alba4k)
Last Packager: alba4k
Votes: 94
Popularity: 8.30
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-10-17 15:07 (UTC)

Required by (56)

Sources (2)

Pinned Comments

zjeffer commented on 2024-07-17 16:50 (UTC) (edited on 2024-07-17 16:52 (UTC) by zjeffer)

Tips & tricks, common issues

using ccache/sccache

Precompiled headers (PCH) was enabled by default, this would most likely invalidate the compiler cache if any of the upstream header files change. To disable PCH, add the meson build option -Db_pch=false to build().

build() {
  ...
  meson setup build \
    -D b_pch=false
  ...
}

Build with specific pull requests

Use pick_mr <pull request number> at the end of prepare() to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, use

prepare() {
    ...

    pick_mr 6268
}

Enable legacy renderer

In the build() function, add -D legacy_renderer=true to meson setup

Compilation errors

If you encounter compilation errors, try the following first:

  • If errors are raised by generated source files under protocols/, such as protocols/linux-dmabuf-v1.hpp, then rebuild or install hyprwayland-scanner-git;
  • Compile with makepkg --cleanbuild.

Symbol not declared

Errors like

  • <symbol> was not declared in this scope
  • <symbol> has not been declared

are usually caused by missing headers. Please consider reporting this upstream or creating a pull request if it has not already been done.

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 30 Next › Last »

<deleted-account> commented on 2024-04-27 11:57 (UTC)

It has already been added, please update your local PKGBUILD.

clsty commented on 2024-04-27 11:56 (UTC)

Please add hyprwayland-scanner-git , it won't build successfully without this dependency.

alekgr commented on 2024-04-26 23:28 (UTC)

looks like latest commit doesn't build

I put it on upstream https://github.com/hyprwm/Hyprland/issues/5760

<deleted-account> commented on 2024-04-26 13:54 (UTC)

What is the difference between foo and foo-git packages?

Many AUR packages come in "stable" release and "unstable" development versions. Development packages usually have a suffix denoting their Version Control System and are not intended for regular use, but may offer new features or bugfixes. Because these packages only download the latest available source when you execute makepkg, their pkgver() in the AUR does not reflect upstream changes.

alekgr commented on 2024-04-23 01:28 (UTC)

submitted https://github.com/hyprwm/Hyprland/issues/5706 upstream

alekgr commented on 2024-04-23 00:57 (UTC)

looks like it is not linking

489/489] Linking target src/Hyprland FAILED: src/Hyprland c++ -o src/Hyprland src/Hyprland.p/meson-generated_...._protocols_wlr-gamma-control-unstable-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_tearing-control-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_fractional-scale-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_xdg-output-unstable-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_cursor-shape-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_idle-inhibit-unstable-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_relative-pointer-unstable-v1.cpp.o src/Hyprland.p/meson-generated...._protocols_xdg-decoration-unstable-v1.cpp.o src/Hyprland.p/meson-generated.._.._protocols_alpha-modifier-v1.cpp.o src/Hyprland.p/Compositor.cpp.o src/Hyprland.p/config_ConfigManager.cpp.o src/Hyprland.p/debug_CrashReporter.cpp.o src/Hyprland.p/debug_HyprCtl.cpp.o src/Hyprland.p/debug_HyprDebugOverlay.cpp.o src/Hyprland.p/debug_HyprNotificationOverlay.cpp.o src/Hyprland.p/debug_Log.cpp.o src/Hyprland.p/desktop_Constraint.cpp.o src/Hyprland.p/desktop_Popup.cpp.o src/Hyprland.p/desktop_Subsurface.cpp.o src/Hyprland.p/desktop_Window.cpp.o src/Hyprland.p/desktop_WLSurface.cpp.o src/Hyprland.p/desktop_Workspace.cpp.o src/Hyprland.p/events_Devices.cpp.o src/Hyprland.p/events_Layers.cpp.o src/Hyprland.p/events_Misc.cpp.o src/Hyprland.p/events_Monitors.cpp.o src/Hyprland.p/events_Windows.cpp.o src/Hyprland.p/helpers_AnimatedVariable.cpp.o src/Hyprland.p/helpers_BezierCurve.cpp.o src/Hyprland.p/helpers_Box.cpp.o src/Hyprland.p/helpers_Color.cpp.o src/Hyprland.p/helpers_MiscFunctions.cpp.o src/Hyprland.p/helpers_Monitor.cpp.o src/Hyprland.p/helpers_Region.cpp.o src/Hyprland.p/helpers_SdDaemon.cpp.o src/Hyprland.p/helpers_signal_Listener.cpp.o src/Hyprland.p/helpers_signal_Signal.cpp.o src/Hyprland.p/helpers_Timer.cpp.o src/Hyprland.p/helpers_VarList.cpp.o src/Hyprland.p/helpers_Vector2D.cpp.o src/Hyprland.p/helpers_Watchdog.cpp.o src/Hyprland.p/helpers_WLClasses.cpp.o src/Hyprland.p/helpers_WLListener.cpp.o src/Hyprland.p/hyprerror_HyprError.cpp.o src/Hyprland.p/init_initHelpers.cpp.o src/Hyprland.p/layout_DwindleLayout.cpp.o src/Hyprland.p/layout_IHyprLayout.cpp.o src/Hyprland.p/layout_MasterLayout.cpp.o src/Hyprland.p/main.cpp.o src/Hyprland.p/managers_AnimationManager.cpp.o src/Hyprland.p/managers_CursorManager.cpp.o src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o src/Hyprland.p/managers_eventLoop_EventLoopTimer.cpp.o src/Hyprland.p/managers_EventManager.cpp.o src/Hyprland.p/managers_HookSystemManager.cpp.o src/Hyprland.p/managers_input_IdleInhibitor.cpp.o src/Hyprland.p/managers_input_InputManager.cpp.o src/Hyprland.p/managers_input_InputMethodPopup.cpp.o src/Hyprland.p/managers_input_InputMethodRelay.cpp.o src/Hyprland.p/managers_input_Swipe.cpp.o src/Hyprland.p/managers_input_Tablets.cpp.o src/Hyprland.p/managers_input_TextInput.cpp.o src/Hyprland.p/managers_input_Touch.cpp.o src/Hyprland.p/managers_KeybindManager.cpp.o src/Hyprland.p/managers_LayoutManager.cpp.o src/Hyprland.p/managers_ProtocolManager.cpp.o src/Hyprland.p/managers_SessionLockManager.cpp.o src/Hyprland.p/managers_ThreadManager.cpp.o src/Hyprland.p/managers_TokenManager.cpp.o src/Hyprland.p/managers_XWaylandManager.cpp.o src/Hyprland.p/plugins_HookSystem.cpp.o src/Hyprland.p/plugins_PluginAPI.cpp.o src/Hyprland.p/plugins_PluginSystem.cpp.o src/Hyprland.p/protocols_AlphaModifier.cpp.o src/Hyprland.p/protocols_CursorShape.cpp.o src/Hyprland.p/protocols_FractionalScale.cpp.o src/Hyprland.p/protocols_GammaControl.cpp.o src/Hyprland.p/protocols_GlobalShortcuts.cpp.o src/Hyprland.p/protocols_IdleInhibit.cpp.o src/Hyprland.p/protocols_RelativePointer.cpp.o src/Hyprland.p/protocols_Screencopy.cpp.o src/Hyprland.p/protocols_TearingControl.cpp.o src/Hyprland.p/protocols_TextInputV1.cpp.o src/Hyprland.p/protocols_ToplevelExport.cpp.o src/Hyprland.p/protocols_WaylandProtocol.cpp.o src/Hyprland.p/protocols_XDGDecoration.cpp.o src/Hyprland.p/protocols_XDGOutput.cpp.o src/Hyprland.p/render_decorations_CHyprBorderDecoration.cpp.o src/Hyprland.p/render_decorations_CHyprDropShadowDecoration.cpp.o src/Hyprland.p/render_decorations_CHyprGroupBarDecoration.cpp.o src/Hyprland.p/render_decorations_DecorationPositioner.cpp.o src/Hyprland.p/render_decorations_IHyprWindowDecoration.cpp.o src/Hyprland.p/render_Framebuffer.cpp.o src/Hyprland.p/render_OpenGL.cpp.o src/Hyprland.p/render_Renderbuffer.cpp.o src/Hyprland.p/render_Renderer.cpp.o src/Hyprland.p/render_Shader.cpp.o src/Hyprland.p/render_Texture.cpp.o src/Hyprland.p/render_Transformer.cpp.o -flto -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -pie -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alek/.cache/paru/clone/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -Wl,--start-group protocols/libserver_protos.a subprojects/wlroots-hyprland/libwlroots.a subprojects/udis86/liblibudis86.a -rdynamic /usr/lib/libwayland-server.so /usr/lib/libwayland-client.so /usr/lib/libdrm.so /usr/lib/libxkbcommon.so /usr/lib/libpixman-1.so -lm -lrt /usr/lib/libEGL.so /usr/lib/libgbm.so /usr/lib/libGLESv2.so /usr/lib/libudev.so /usr/lib/libseat.so /usr/lib/libdisplay-info.so /usr/lib/libliftoff.so /usr/lib/libinput.so /usr/lib/libxcb.so /usr/lib/libxcb-dri3.so /usr/lib/libxcb-present.so /usr/lib/libxcb-render.so /usr/lib/libxcb-render-util.so /usr/lib/libxcb-shm.so /usr/lib/libxcb-xfixes.so /usr/lib/libxcb-xinput.so /usr/lib/libxcb-composite.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-res.so /usr/lib/libxcb-errors.so /usr/lib/libcairo.so /usr/lib/libhyprcursor.so /usr/lib/libhyprlang.so /usr/lib/libGL.so -pthread /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so -Wl,--end-group /usr/bin/ld: /tmp/ccBjsUJb.ltrans35.ltrans.o: in function CTokenManager::registerNewToken[abi:cxx11](std::any, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)': /usr/src/debug/hyprland-git/Hyprland/build/../src/managers/TokenManager.cpp:17:(.text+0x1284): undefined reference touuid_generate_random' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

earlybird commented on 2024-04-21 05:44 (UTC)

add hyprwayland-scanner-git to the makedepends please

h3ss commented on 2024-04-20 14:07 (UTC)

Needs new dependency apparently: hyprwayland-scanner

alekgr commented on 2024-04-14 15:33 (UTC)

vaxry fixed it

alekgr commented on 2024-04-14 14:43 (UTC)

looks like it is not building again cause of hyprlang

I already put in an issue at upstream https://github.com/hyprwm/hyprlang/issues/41

home/alek/.cache/paru/clone/hyprlang-git/src/hyprlang/src/config.cpp:12:10: fatal error: VarList.hpp: No such file or directory 12 | #include "VarList.hpp" | ^ compilation terminated. make[2]: *** [CMakeFiles/hyprlang.dir/build.make:90: CMakeFiles/hyprlang.dir/src/config.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:844: CMakeFiles/hyprlang.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'hyprlang-git-0.2.1.r6.d486806-1': error: packages failed to build: hyprlang-git-0.2.1.r6.d486806-1