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
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
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
5fdd0bceac
Meson & Nix: add libuuid dep
2024-04-23 07:01:20 +03: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
d8d0d3b20b
Nix & Meson: switch to wlroots-hyprland
2024-04-12 20:39:00 +03:00
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
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
Mihai Fufezan
e5eb11ad04
Nix: wrap with gcc
...
This ensures the function hook can assemble.
2023-12-27 20:27:55 +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
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
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
Mihai Fufezan
0be6b03ee9
Nix: use gcc13Stdenv
2023-09-07 11:20:08 +03:00
Vaxry
61a71c65ac
internal: Formatter rework ( #3186 )
2023-09-06 12:51:36 +02: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
Mihai Fufezan
e510c6a7fc
Nix: add deprecation messages for removed/renamed flags
2023-08-14 10:39:57 +03:00
Mihai Fufezan
c1bcbdb3dd
Nix: remove HiDPI patches
...
- remove `hidpiXWayland` option
- rename `nvidiaPatches` -> `enableNvidiaPatches` for consistency
2023-08-14 10:39:57 +03:00
Jacob Birkett
d20837bef8
Nix: corrections for overlays, overrideable systems ( #2929 )
...
* nix: overlays: move waybar-hyprland to own overlay
* flake: use legacyPackages for formatter
Run `nix fmt` for all files.
* flake: move default overlay to nix/overlays.nix
* nix: lib: remove lib
* nix: overlays: extras: explicitly include xdph overlays
* nix: use interpolation for versions
* nix: overlays: include deps with hyprland-packages
* flake: make systems overrideable
* flake: packages: inherit from overlaid pkgsFor
2023-08-12 15:22:37 +03:00
rewine
fe9453c643
Nix: enable systemd only when it's available on hostPlatform
2023-08-09 20:25:28 +03:00
rewine
a805905a49
Nix: move wayland-scanner to nativeBuildInputs ( #2816 )
2023-07-29 16:31:01 +03:00
Mihai Fufezan
91e3c654d3
Nix: move patches to subdir
2023-07-20 11:20:22 +03:00
Mihai Fufezan
62c75883d1
Nix: patch portals search dir
2023-06-27 00:51:04 +03:00
outfoxxed
642030f959
Fix not finding function symbols for hooking ( #2292 )
...
Fixes no useful feedback about failing subcommand.
Fixes function hooks breaking when running under a path containing
spaces.
Replaced old usages with this function where possible.
Complex shell usages now use `execAndGetShell` which is equal to the
old function.
2023-05-16 23:39:14 +03:00
Mihai Fufezan
78826c6d18
meson & nix: install wlroots headers ( #2287 )
2023-05-16 20:50:18 +03:00
Ching Pei Yang
38bdbdb0f5
Plugin header overhaul ( #2087 )
...
* meson: install headers
* Meson/CMake: add pkg-config file for headers
* makefile: install headers and pkgconfig
* CMake: move protocols to cmake
Co-authored-by: Ching Pei Yang <badnam3o.0@gmail.com>
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
2023-04-27 00:59:16 +03:00
Mihai Fufezan
16d05a5c8b
nix/*module: use mdDoc for documentation
...
Simplify and add more info to the docs.
2023-04-10 15:51:01 +03:00
Oliver Ni
e994b0c8b8
Fix nix build options
2023-03-27 11:00:37 +03:00
Mihai Fufezan
cf51a31807
Nix: disable HiDPI for default package
...
NOTE: the package `hyprland-no-hidpi` was removed, and instead
`hyprland-hidpi` exists now.
2023-03-22 19:10:46 +02:00
Mihai Fufezan
5ffe5dd594
Nix: add pango dep
2023-03-20 18:22:34 +02:00
Mihai Fufezan
5184b542b1
nix: show commit in hyprctl
2023-03-04 18:22:36 +02:00
Vaxry
8b81f41e52
Plugin System ( #1590 )
...
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-02-27 12:32:38 +00:00
Mihai Fufezan
809b7181a8
nix: add hyprland-protocols through pkgconfig ( #1275 )
2023-01-07 20:25:20 +02:00
Mihai Fufezan
f3551021e0
Nix: add jq
2023-01-06 16:31:57 +02:00
jrun
0d14fd9136
add systemd support ( #1253 )
...
* add systemd support
motivation for this is is proper ordering of related/bound/required
services to Hyprland (e.g. swaybg) that would need to have a compositor
ready.
this could possibly be a build-time option of course.
see also:
example/ files for example of services
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
* nix: add withSystemd flag
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Co-authored-by: Vaxerski <vaxry@vaxry.net>
2023-01-05 20:17:55 +01:00
Jan Beich
2f6b37e103
Drop Pango (unused) ( #1251 )
...
* Drop unused Pango dependency
* nix: explicitly depend on cairo (previously pulled via pango)
src/meson.build:4:0: ERROR: Dependency "cairo" not found, tried pkgconfig
2022-12-19 12:13:07 +00:00
Vaxry
66fb083003
Implement window sharing with the hl toplevel export proto ( #1179 )
...
* implement window sharing
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-05 17:05:15 +00:00
sioodmy
13befbd266
fix(nix): missing dependency
2022-11-11 14:43:45 +02:00
Mihai Fufezan
b6e33830af
Nix & meson: 0.16.0 -> 0.17.0
...
Nix: make xwayland dependencies optional
2022-10-31 12:41:31 +02:00
Fernando Ayats
c0a7dffcdc
nix: move wlroots and add nvidia patches ( #608 )
2022-09-01 20:35:50 +03:00