Mihai Fufezan
7173f0c9e7
flake.lock: update
...
nix/overlays: remove merged wayland-protocols overlay
Fixes #6061
2024-05-17 00:03:25 +03:00
Mihai Fufezan
6be765b7a1
Nix: fix pkgconfig prefix
2024-05-12 17:49:50 +03:00
André Silva
a8ab1b1679
nix: build improvements ( #5952 )
...
* scripts: allow using existing variable values in generateVersion.sh
* nix: populate versioning variables
* nix: remove unused meson input
* nix: remove unnecessary hyprland-protocols dependency
* Nix: remove nixConfig from flake
It's more annoying than helpful.
* CI/Nix: fix PR build failure
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-05-11 01:51:53 +03:00
Mihai Fufezan
c7fbc30bfd
Nix: add missing deps
...
CMake used to warn about these deps so I've added them.
Also propagates wlroots' nativeBuildInputs.
2024-05-05 20:34:14 +03:00
Mihai Fufezan
f15513309b
Nix: use CMake for builds instead of Meson
...
Build using submodules instead of patching the build process and using
Nix derivations of the subprojects.
From this commit on, you'll have to change the Hyprland flake url to
`git+https://github.com/hyprwm/Hyprland?submodules=1 `
2024-05-05 16:30:39 +03:00
Vaxry
62ae2b3f40
pluginAPI/hooks: Remove dependency on cc from the hooksystem ( #5801 )
...
* Remove dependency on cc from the hooksystem
* Nix: remove cc from wrapper
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-04-30 02:54:43 +01:00
Mihai Fufezan
5fdd0bceac
Meson & Nix: add libuuid dep
2024-04-23 07:01:20 +03:00
Mihai Fufezan
a4f38a07d7
Nix: override wayland-protocols until merged
2024-04-22 00:38:28 +03:00
André Silva
1ce21fdb3e
nix: fix missing git in wlroots build
2024-04-21 15:54:23 +03:00
Yaroslav
a945346064
core: remove libsystemd dependency ( #5660 )
...
* remove libsystemd dependency
as per Lennart Poettering's advice:
https://github.com/systemd/systemd/issues/32028#issuecomment-2031366922
* fix naming for systemd helper functions
* rename vars according to code style
* Nix: update meson patch
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-04-20 18:50:07 +01:00
Vaxry
ea95449402
core: Move tearing to hyprwayland-scanner ( #5657 )
...
Adds a new dependency: hyprwayland-scanner https://github.com/hyprwm/hyprwayland-scanner
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-04-20 13:25:29 +01:00
Jan Beich
2ea367839b
build: Unbreak build on FreeBSD by adjusting dependencies ( #5595 )
...
* deps: add epoll-shim for some BSDs after 863c7b6072
ld: error: undefined symbol: timerfd_create
>>> referenced by EventLoopManager.cpp
>>> src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o:(CEventLoopManager::CEventLoopManager())
ld: error: undefined symbol: timerfd_settime
>>> referenced by EventLoopManager.cpp
>>> src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o:(CEventLoopManager::nudgeTimers())
See also
https://github.com/freebsd/freebsd-src/commit/af93fea71038
https://github.com/netbsd/src/commit/75f1bc6655cf
* deps: drop unused xcb-image after 45945a3e7d
$ pkg install <hyprland dependencies>
$ pkg install meson jq `pkg rquery %dn wlroots` hwdata
$ gmake all
[...]
-- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-image;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh'
-- Package 'xcb-image' not found
CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
The following required packages were not found:
- xcb-image
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
CMakeLists.txt:177 (pkg_check_modules)
See also
https://github.com/swaywm/wlroots/commit/ae7c3f3d1c56
2024-04-15 14:42:17 +01:00
Mihai Fufezan
d8d0d3b20b
Nix & Meson: switch to wlroots-hyprland
2024-04-12 20:39:00 +03:00
Mihai Fufezan
277f2bb76a
Nix: add pkgconf
2024-04-08 20:54:06 +03:00
Mihai Fufezan
bd332a79e7
Nix: match derivation to Nixpkgs
2024-03-16 18:12:42 +02:00
Mihai Fufezan
d00c658405
Nix: add wrapping back
...
Ref: https://github.com/hyprwm/hyprland-plugins/issues/93
2024-03-15 10:11:56 +02:00
Mihai Fufezan
6c53d4d82f
Nix: remove hyprland-unwrapped leftover
2024-03-12 21:35:41 +02:00
Vaxry
c3882bb832
internal: Support libhyprcursor ( #5009 )
...
woo
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2024-03-09 16:52:59 +00:00
Mihai Fufezan
ce072638e9
Nix: use propagatedBuildInputs instead of wrapping
...
This way, users that want to wrap Hyprland themselves won't have the
issues of double-wrapping.
2024-03-07 11:02:18 +02:00
Vaxry
13f6f0b923
Migrate the config to hyprlang ( #4656 )
...
* Migrate to hyprlang
* pop up errors
* fix swapped args
* Meson & Nix: build with hyprlang
* CI: add hyprlang to setup action
* add infra for plugin stuff
* fix hyprctl getoption
* fix hyprctl getoption with json
* format
* fix post parse logic
* fix autogen config
* oops missed exec-once
* fmt
* fix ws rules
* require 0.3.0 for hyprlang
* nix: flaek
* minor type fixes
* fix cfg usages in swipe
* use cvarlist for ws rules
* fix throw in addPluginConfigVar
* Nix: update hyprlang
* minor fixes
* fix disableLogs
* mention hyprlang docs
* bump hyprlang dep in cmake
* Meson: bump min hyprlang version
Nix: update hyprlang
* minor fix
* Nix: update meson patch
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2024-02-18 15:00:34 +00:00
GrizzlT
f33d73b9cf
nix: overlay polish for prev parameter ( #4558 )
2024-02-12 19:11:08 +02:00
Mihai Fufezan
e6f7724ab0
subprojects: remove wlroots.wrap
2024-01-31 14:04:30 +02:00
GrizzlT
7009dc9184
nix: fix overlay composition
2024-01-29 00:27:51 +02:00
Mihai Fufezan
e5eb11ad04
Nix: wrap with gcc
...
This ensures the function hook can assemble.
2023-12-27 20:27:55 +02:00
André Silva
f86cdcf8d5
nix: fix wlroots build
2023-12-27 14:29:15 +02:00
MightyPlaza
2a777cb71b
hyprctl: add commit date to "hyprctl version" ( #4171 )
...
* add commit date to "hyprctl version"
modified: scripts/generateVersion.sh
modified: src/debug/HyprCtl.cpp
modified: src/version.h.in
* Nix: add date to hyprctl
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-12-17 14:29:58 +00:00
Mihai Fufezan
f7cde9c92c
Nix: remove duplicate options from modules ( #4012 )
2023-12-14 20:02:20 +02:00
Mihai Fufezan
55cb565e6d
Nix: expose legacyRenderer package
2023-12-13 13:31:36 +02:00
Mihai Fufezan
d9bc210285
Nix: remove libdrm override
...
Nixpkgs update has the new version.
2023-12-12 23:34:22 +02:00
Vaxry
d360550546
hyprpm: Add hyprpm, a Hyprland Plugin Manager ( #4072 )
2023-12-07 10:41:09 +00:00
André Silva
29970228c5
nix: override libdrm to use newer version ( #4003 )
2023-11-30 11:40:14 +00:00
Vaxry
cd96ceecc5
build: remove nv patches ( #3957 )
2023-11-26 02:58:57 +00:00
André Silva
30ad71ff36
nix: add libGL to build inputs
2023-11-17 17:36:18 +02:00
André Silva
f48b3774a2
nix: use mesonAutoFeatures attribute
2023-10-30 21:00:04 +02:00
memchr
d70cc88dab
meson: generate version.h before install_headers ( #3612 )
...
Otherwise, meson install would not install version.h as a header in a
clean build.
2023-10-19 00:09:06 +01:00
outfoxxed
210be10c92
meson/nix: Fix meson.build nix patch ( #3594 )
...
`meson.build` was modified in #3547 but `nix/patches/meson-build.patch`
was not updated to reflect the changes.
2023-10-17 12:05:38 +01:00
Vaxry
914851b91a
internal: better versioning ( #3543 )
...
* better versioning
* meson: better versioning
* nix: better versioning
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-10-10 20:21:57 +01:00
vaxerski
c8cc811e85
nix: update patches for meson changes
2023-09-17 00:08:19 +01:00
Mihai Fufezan
f6473aa3ad
flake.lock: update nixpkgs and xdph
...
- nix/module: update xdph override
- nix/overlays: remove hyprland-share-picker (now built directly inside xdph)
2023-09-14 12:03:48 +03:00
Mihai Fufezan
0be6b03ee9
Nix: use gcc13Stdenv
2023-09-07 11:20:08 +03:00
Mihai Fufezan
0d5a6f3168
Nix: fix xdph build
2023-09-07 00:52:19 +03:00
Vaxry
61a71c65ac
internal: Formatter rework ( #3186 )
2023-09-06 12:51:36 +02:00
Mihai Fufezan
4ddcda93f5
Nix: remove hidpi patches
2023-09-04 21:12:27 +03:00
Vaxry
4a41d013a2
internal: Fix XDP multi-portal issues ( #3077 )
...
* add a hyprland portals conf
* remove portal checks
* typo
* Nix: remove portal patch
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-08-26 17:12:21 +02:00
Tristan Daniël Maat
4d14edd8a5
nix module: Fix attempted workaround for option name change
...
`system.stateVersion` is about *system state*, i.e., stuff that was
created by old software versions on users' machines, like SQL
databases that have moved to a different directory or such.
It will not help figure out whether an option has been renamed.
2023-08-23 13:32:06 +03:00
Mihai Fufezan
17d8e4750b
Nix: remove waybar completely
...
Get it from Nixpkgs instead.
2023-08-21 15:34:38 +03:00
Mihai Fufezan
19f3e927d9
Nix: deprecate waybar-hyprland
...
Now merged in Nixpkgs, no reason to keep it here.
2023-08-16 18:46:57 +03:00
Mihai Fufezan
78fa8adadc
Nix/module: fix system when config.allowAlias is false
2023-08-16 13:39:20 +03:00
Mihai Fufezan
a0cf890292
Nix/module: final fix
2023-08-14 11:53:58 +03:00
Mihai Fufezan
9ba6eab8db
ugh
2023-08-14 11:37:08 +03:00