summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* pluginenv: copy built wlr headersvaxerski2023-05-111-0/+2
|
* Unbreak CMake build on FreeBSD (#2209)Jan Beich2023-05-021-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmake: unbreak on non-GNU after 474ada9267cc CMake Error at CMakeLists.txt:121 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "Hyprland". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * CMakeLists.txt:107 (target_link_libraries) Fixes https://github.com/hyprwm/Hyprland/issues/1780 * cmake: always link with dependencies via imported targets On BSD systems base compiler by default only looks for headers and libraries from base system. For dependencies from packages extra flags are necessary. ld: error: unable to find library -lxcb ld: error: unable to find library -lpixman-1 ld: error: unable to find library -lOpenGL ld: error: unable to find library -lGLESv2 * make: use same make in recursive calls On BSDs `make` is BSD make while `gmake` is GNU make * make: work around GNU vs. BSD sed -i incompatibility https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254091 * make: replace GNU make extension with POSIX sh `$(shell ...)` in GNU make is similar to `${:!..!}` in BSD make * make: fall back when nproc isn't available Only FreeBSD added nproc for compatibility with Linux. * make: unbreak hyprctl on Clang-based systems /bin/sh: g++: not found error: invalid value 'c++23' in '-std=c++23' * make: create lib/ before copying libwlroots.so there $ make install PREFIX=/tmp/test [...] cp: directory /tmp/test/lib does not exist * make: pass cp(1) flags before arguments cp: -f is not a directory * make: replace install -Dt with mkdir install: illegal option -- t * make: replace cp --parents with cpio -dump cp: illegal option -- - * make: limit pkg-config workaround to Linux when run as root /usr/share/pkgconfig doesn't exist on BSDs or may not be writable.
* makefile: put pkg-config file in the default dirvaxerski2023-05-011-0/+2
|
* Plugin header overhaul 2: fixes (Electric boogaloo) (#2201)Vaxry2023-05-011-1/+14
| | | | | * Add wlroots headers to makefile + fix pluginenv with new headers * Add wlroots to pc
* pluginenv: configure cmake to build protocolsvaxerski2023-04-291-0/+2
|
* makefile: use -f in copies to avoid errors on running hlvaxerski2023-04-271-2/+2
|
* Plugin header overhaul (#2087)Ching Pei Yang2023-04-271-163/+9
| | | | | | | | | | | | | | | | * 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>
* GlobalShortcuts protocol impl (#1886)Vaxry2023-04-091-1/+11
| | | | | | | Implements the `hyprland-global-shortcuts-v1` protocol --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Refactor CMake and Make file (#1766)stephan-cr2023-03-141-22/+22
| | | | | | | | | | * Refactor CMake and Make file - modernize CMake a bit - "unscreamify" CMake commands - replace undocumented CMake option -H by -S in Makefile - remove unnecessary "cd" in Makefile * Fix include path to wlroots generated header files
* input: text-input-v1 support (#1778)Vaxry2023-03-141-1/+11
| | | | | | | support zwp_text_input_v1 --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Use ${PREFIX} rather than /usr directly in Makefile, and force the build to ↵Froggo2023-03-031-8/+8
| | | | | | | | | | | attempt compilation even if the user does not have ${PREFIX}/lib write permissions (#1688) * Force the make process to use ${PREFIX} rather than /usr directly, and make the build attempt to continue even if the user does not have write permissions in ${PREFIX}/lib (for libwlroots) * Prevent insufficient permissions error with make install --------- Co-authored-by: Froggo8311 <Froggo8311@localhost>
* fix make installvaxerski2023-02-271-1/+1
|
* fix make installvaxerski2023-02-271-0/+1
|
* Plugin System (#1590)Vaxry2023-02-271-0/+13
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* wp-fractional-scaling-v1 impl (#1373)Vaxry2023-01-201-1/+11
| | | | | | | | | | | * Initial fractional scaling impl * apply UV after geom calcs * fix scaling -> scale * meson: add fractional scale proto Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Added make configdebugvaxerski2022-12-221-0/+10
|
* do not overwrite existing `hyprland.desktop` (#1228)NotAShelf2022-12-151-18/+3
| | | | | | | | | * copy desktop file only if does not exist - Should no longer overwrite modified desktop files for pre-packaged versions of Hyprland. * re-add cleaninstall with deprecation notice Co-authored-by: NotAShelf <NotAShelf@users.noreply.github.com>
* Added toplevel handle sharing Rev2 (#1203)Vaxry2022-12-121-1/+11
| | | | | | | | | * Added toplevel handle sharing * nix: fix build * update hyprland-protocols Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Implement window sharing with the hl toplevel export proto (#1179)Vaxry2022-12-051-1/+11
| | | | | * implement window sharing Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* avoid header clashes in make allvaxerski2022-11-171-2/+5
|
* update wlroots depvaxerski2022-11-131-4/+4
|
* add more wlroots flags for faster compilevaxerski2022-11-051-1/+1
|
* Added direct scanoutvaxerski2022-11-051-1/+11
|
* Replace $(nproc) with $(shell nproc).Felix Dick2022-10-101-5/+5
|
* fix typoNotAShelf2022-08-241-1/+1
| | | what is this, clash of clans?
* remove unintended whitespaceNotAShelf2022-08-241-1/+0
|
* add clean install for those who build from sourceNotAShelf2022-08-241-0/+20
|
* Merge pull request #555 from viperML/update-manVaxry2022-08-221-2/+6
|\ | | | | docs: build man pages to repo
| * doc: install mapagesFernando Ayats2022-08-211-0/+4
| |
| * gha: build man pagesFernando Ayats2022-08-211-2/+2
| |
* | always use /usr/share/ for wayland-sessionsvaxerski2022-08-221-2/+2
|/
* use nproc in makefilevaxerski2022-08-011-4/+4
|
* support wlr-output-power-managementvaxerski2022-07-301-1/+11
|
* remove make manvaxerski2022-07-271-2/+0
|
* remove versionBlake Lee2022-07-221-3/+0
|
* replace `rst2man` with `pandoc`Blake Lee2022-07-181-2/+23
|
* docs: add man pagesBlake Lee2022-07-151-0/+2
|
* don't poison wlr in make installvaxerski2022-07-151-10/+6
|
* remove wlroots so in make uninstallvaxerski2022-07-051-0/+1
|
* fix make clear wlrootsvaxerski2022-06-291-1/+1
|
* added make fixwlrvaxerski2022-06-291-3/+6
|
* remove so and pcvaxerski2022-06-271-0/+2
|
* forgot wlroots.pcvaxerski2022-06-271-0/+2
|
* save wlroots and restorevaxerski2022-06-251-0/+7
|
* don't use sudo in make configvaxerski2022-06-221-1/+1
|
* Added meson buildfilesFlorian "sp1rit"​2022-06-161-5/+5
| | | | | | | | | | | | this makes for a far better experience in combination with wlroots, since that whole makefile mess is not required. Additionaly, handling of wayland protocol sources is also slightly better, but could be improved with mesons inbuilt wayland module. To build Hyprland using meson: meson _build -Ddefault_library=static ninja -C _build ninja -C _build install
* Added the tablet manager and tablet v2 protocolvaxerski2022-06-081-1/+11
|
* fix oopsievaxerski2022-05-311-1/+1
|
* fix up config and includesvaxerski2022-05-311-1/+14
|
* add xwayland disabling support to flake.nixTanish20022022-05-081-0/+1
|