Compare commits
83 Commits
upstream/0
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
0d70bcee0f | |
|
|
ab75887bc0 | |
|
|
1f01310d94 | |
|
|
ba5e7e0bc8 | |
|
|
3ba1400e17 | |
|
|
199c263354 | |
|
|
52e8d45d78 | |
|
|
749aa05be3 | |
|
|
68274955a8 | |
|
|
a9902f7acb | |
|
|
5ff1ae540a | |
|
|
b30531e302 | |
|
|
e1bc58ca16 | |
|
|
67fd4dc3ea | |
|
|
2aea452aca | |
|
|
c0b7556bfb | |
|
|
31723f6490 | |
|
|
0abfc96402 | |
|
|
67fcb1416e | |
|
|
de9bb32cad | |
|
|
f38522f661 | |
|
|
c81d9acab5 | |
|
|
f649e94030 | |
|
|
750153de67 | |
|
|
ad9c24ebe7 | |
|
|
19ab5a5ed6 | |
|
|
8ebc51f312 | |
|
|
c38b2d6433 | |
|
|
b9ecfb77ed | |
|
|
d3506f9d3f | |
|
|
5fd813db39 | |
|
|
5456b1141b | |
|
|
14bcf2fb51 | |
|
|
9ebd101c28 | |
|
|
9223815650 | |
|
|
2028e8afea | |
|
|
a84a3a3e84 | |
|
|
f37b9a027e | |
|
|
e314a7a37c | |
|
|
9b49aafd8c | |
|
|
8ded0037f0 | |
|
|
245c473da8 | |
|
|
d063422268 | |
|
|
57f703f007 | |
|
|
9ea747fa24 | |
|
|
c4ac1d0c53 | |
|
|
9c4e4e02e7 | |
|
|
105e81ed17 | |
|
|
67a681b06a | |
|
|
43e8fe37ac | |
|
|
565f9319bf | |
|
|
366dc65af7 | |
|
|
a2399c38df | |
|
|
09517ab755 | |
|
|
ded9ae2963 | |
|
|
f2bb0e990d | |
|
|
0eb16ca071 | |
|
|
5078741566 | |
|
|
edb8b7d44e | |
|
|
b572b1df14 | |
|
|
e33352f4fa | |
|
|
26797c3953 | |
|
|
c2bef2309a | |
|
|
7546730257 | |
|
|
0ab0e660f3 | |
|
|
88b58698b0 | |
|
|
0625424d8c | |
|
|
d6ec133260 | |
|
|
23675c53f7 | |
|
|
49ead6535e | |
|
|
f15cee4cb8 | |
|
|
9f15477ac0 | |
|
|
a929d1f961 | |
|
|
0203d83040 | |
|
|
3dd95a8fde | |
|
|
4f9bdde4ab | |
|
|
1ca46f1f0b | |
|
|
e98a9cf42e | |
|
|
512732e8b9 | |
|
|
d0ad436847 | |
|
|
304829a999 | |
|
|
845d38b36e | |
|
|
3475a131a9 |
|
|
@ -0,0 +1,4 @@
|
||||||
|
This package needs to be updated using the uscan(1) program and
|
||||||
|
the copyright file. This ensures that the embedded code copies of
|
||||||
|
udis86, hyprland-protocols and tracy are removed from the source
|
||||||
|
package to meet the policy requirements.
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
hyprland (0.44.1+ds-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version 0.44.1
|
||||||
|
|
||||||
|
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Fri, 11 Oct 2024 13:44:58 +0000
|
||||||
|
|
||||||
|
hyprland (0.41.2+ds-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release. Closes: #1040971
|
||||||
|
* The subprojects udis86, tracy and hyprland-protocols have been
|
||||||
|
devendored. The source is patched to support this devendoring.
|
||||||
|
|
||||||
|
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Mon, 01 Jul 2024 05:58:39 +0000
|
||||||
|
|
@ -0,0 +1,87 @@
|
||||||
|
Source: hyprland
|
||||||
|
Section: x11
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Alan M Varghese (NyxTrail) <alan@digistorm.in>
|
||||||
|
Build-Depends:
|
||||||
|
aquamarine-dev (>= 0.4.2),
|
||||||
|
chrpath,
|
||||||
|
cmake,
|
||||||
|
cpio,
|
||||||
|
debhelper-compat (= 13),
|
||||||
|
hwdata,
|
||||||
|
hyprland-protocols (>= 0.2+20240505),
|
||||||
|
hyprwayland-scanner (>= 0.3.10),
|
||||||
|
libcairo-dev,
|
||||||
|
libdrm-dev,
|
||||||
|
libxkbcommon-dev,
|
||||||
|
libegl-dev,
|
||||||
|
libegl1-mesa-dev,
|
||||||
|
libgles-dev,
|
||||||
|
libhyprlang-dev (>= 0.3.2),
|
||||||
|
libhyprcursor-dev (>= 0.1.7),
|
||||||
|
libhyprutils-dev (>= 0.2.3),
|
||||||
|
libinput-dev,
|
||||||
|
libpango1.0-dev,
|
||||||
|
libpixman-1-dev,
|
||||||
|
libseat-dev,
|
||||||
|
libtomlplusplus-dev,
|
||||||
|
libudev-dev,
|
||||||
|
libudis86-dev (>= 0+20221013),
|
||||||
|
libwayland-dev,
|
||||||
|
libwlroots-dev,
|
||||||
|
libxcb-errors-dev,
|
||||||
|
libxcb-util-dev,
|
||||||
|
meson,
|
||||||
|
ninja-build,
|
||||||
|
pkgconf,
|
||||||
|
wayland-protocols,
|
||||||
|
libxcursor-dev,
|
||||||
|
xwayland
|
||||||
|
Standards-Version: 4.7.0
|
||||||
|
Homepage: https://hyprland.org
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
Vcs-Git: https://salsa.debian.org/NyxTrail/hyprland.git
|
||||||
|
Vcs-Browser: https://salsa.debian.org/NyxTrail/hyprland
|
||||||
|
|
||||||
|
Package: hyprland
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||||
|
polkitd, binutils, libgl1-mesa-dri
|
||||||
|
Recommends: xwayland
|
||||||
|
Description: Dynamic tiling Wayland compositor
|
||||||
|
Hyprland is a dynamic tiling Wayland compositor based on
|
||||||
|
wlroots that doesn't sacrifice on its looks. It provides
|
||||||
|
the latest Wayland features, is highly customizable, has
|
||||||
|
all the eyecandy, the most powerful plugins, easy IPC,
|
||||||
|
much more QoL stuff than other wlr-based compositors and
|
||||||
|
more...
|
||||||
|
|
||||||
|
Package: hyprland-backgrounds
|
||||||
|
Architecture: all
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Suggests: hyprland
|
||||||
|
Description: Set of backgrounds packaged with the hyprland Wayland compositor
|
||||||
|
Hyprland is a dynamic tiling Wayland compositor based on
|
||||||
|
wlroots that doesn't sacrifice on its looks. It provides
|
||||||
|
the latest Wayland features, is highly customizable, has
|
||||||
|
all the eyecandy, the most powerful plugins, easy IPC,
|
||||||
|
much more QoL stuff than other wlr-based compositors and
|
||||||
|
more...
|
||||||
|
.
|
||||||
|
This package contains the backgrounds included with Hyprland.
|
||||||
|
|
||||||
|
Package: hyprland-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Description: Development files for Hyprland
|
||||||
|
Hyprland is a dynamic tiling Wayland compositor based on
|
||||||
|
wlroots that doesn't sacrifice on its looks. It provides
|
||||||
|
the latest Wayland features, is highly customizable, has
|
||||||
|
all the eyecandy, the most powerful plugins, easy IPC,
|
||||||
|
much more QoL stuff than other wlr-based compositors and
|
||||||
|
more...
|
||||||
|
.
|
||||||
|
This package contains header files for developing plugins
|
||||||
|
for Hyprland.
|
||||||
|
|
@ -0,0 +1,100 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: Hyprland
|
||||||
|
Upstream-Contact: https://github.com/hyprwm/Hyprland/issues
|
||||||
|
Source: https://github.com/hyprwm/Hyprland
|
||||||
|
Files-Excluded: subprojects/udis86
|
||||||
|
subprojects/tracy
|
||||||
|
subprojects/hyprland-protocols
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2022-2024 vaxerski
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2024 Alan M Varghese <alan@digistorm.in>
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files: protocols/kde-server-decoration.xml
|
||||||
|
Copyright: 2015 Martin Gräßlin
|
||||||
|
License: LGPL-2.1+
|
||||||
|
|
||||||
|
Files: protocols/wayland-drm.xml
|
||||||
|
protocols/wlr-data-control-unstable-v1.xml
|
||||||
|
protocols/wlr-foreign-toplevel-management-unstable-v1.xml
|
||||||
|
protocols/wlr-gamma-control-unstable-v1.xml
|
||||||
|
protocols/wlr-layer-shell-unstable-v1.xml
|
||||||
|
protocols/wlr-output-management-unstable-v1.xml
|
||||||
|
Copyright: 2008-2011 Kristian Høgsberg
|
||||||
|
2010-2011 Intel Corporation
|
||||||
|
2015 Giulio camuffo
|
||||||
|
2017 Drew DeVault
|
||||||
|
2018 Ilia Bozhinov
|
||||||
|
2018 Simon Ser
|
||||||
|
2019 Ivan Molodetskikh
|
||||||
|
2019 Purism SPC
|
||||||
|
License: HPND-sell-variant
|
||||||
|
Permission to use, copy, modify, distribute, and sell this
|
||||||
|
software and its documentation for any purpose is hereby granted
|
||||||
|
without fee, provided that\n the above copyright notice appear in
|
||||||
|
all copies and that both that copyright notice and this permission
|
||||||
|
notice appear in supporting documentation, and that the name of
|
||||||
|
the copyright holders not be used in advertising or publicity
|
||||||
|
pertaining to distribution of the software without specific,
|
||||||
|
written prior permission. The copyright holders make no
|
||||||
|
representations about the suitability of this software for any
|
||||||
|
purpose. It is provided "as is" without express or implied
|
||||||
|
warranty.
|
||||||
|
.
|
||||||
|
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|
||||||
|
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||||
|
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||||
|
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
||||||
|
THIS SOFTWARE.
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
.
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
.
|
||||||
|
3. Neither the name of the copyright holder nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
.
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
License: LGPL-2.1+
|
||||||
|
This file is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
.
|
||||||
|
This file is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU Lesser General Public
|
||||||
|
License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
usr/share/hypr/wall*.png
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/include
|
||||||
|
usr/share/pkgconfig
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
usr/bin/Hyprland
|
||||||
|
usr/bin/hyprland
|
||||||
|
usr/bin/hyprctl
|
||||||
|
usr/bin/hyprpm
|
||||||
|
usr/share/hypr/hyprland.conf
|
||||||
|
usr/share/hypr/lockdead*.png
|
||||||
|
usr/share/wayland-sessions
|
||||||
|
usr/share/xdg-desktop-portal/hyprland-portals.conf
|
||||||
|
usr/share/man
|
||||||
|
usr/share/bash-completion
|
||||||
|
usr/share/fish
|
||||||
|
usr/share/zsh
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
# hyprland does have a man page. It is under the name Hyprland
|
||||||
|
# with a capital 'H'. /usr/bin/hyprland (with a lowercase 'h')
|
||||||
|
# is a symlink to /usr/bin/Hyprland.
|
||||||
|
hyprland binary: no-manual-page
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
Description: Ensure make uses bash as its shell
|
||||||
|
The upstream Makefile contains several bash constructs (like '[['). These
|
||||||
|
fail on debian because the default shell for make is /bin/sh which points to
|
||||||
|
dash. And dash does not support such constructs. So have make use /bin/bash
|
||||||
|
as its shell.
|
||||||
|
Author: Alan M Varghese
|
||||||
|
Last-Update: 2024-10-11
|
||||||
|
Forwarded: not-needed
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -1,4 +1,5 @@
|
||||||
|
PREFIX = /usr/local
|
||||||
|
+SHELL = /bin/bash
|
||||||
|
|
||||||
|
legacyrenderer:
|
||||||
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -DLEGACY_RENDERER:BOOL=true -S . -B ./buildZ
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
Description: Add FORTIFY_SOURCE flag directly in Makefile
|
||||||
|
The flag, otherwise, doesn't seem to propogate correctly to all
|
||||||
|
modules built by the project. Use 'checksec' and 'hardening-check'
|
||||||
|
for verifying fortification on binaries.
|
||||||
|
Author: Alan M Varghese
|
||||||
|
Last-Update: 2024-10-11
|
||||||
|
Forwarded: not-needed
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -73,7 +73,7 @@
|
||||||
|
-Wno-missing-field-initializers
|
||||||
|
-Wno-narrowing
|
||||||
|
-Wno-pointer-arith
|
||||||
|
- -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=)
|
||||||
|
+ -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/= -D_FORTIFY_SOURCE=2)
|
||||||
|
|
||||||
|
set(CMAKE_EXECUTABLE_ENABLE_EXPORTS TRUE)
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
001-use-bash-in-makefile.patch
|
||||||
|
002-add-fortify-flags-for-subprojects.patch
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
# export DH_VERBOSE = 1
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||||
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O2
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
dh_auto_build -- PREFIX=/usr all
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
# Fix permission on hyprland.pc (Hyprland sets 777 on everything in
|
||||||
|
# build/ directory)
|
||||||
|
chmod 644 build/hyprland.pc
|
||||||
|
|
||||||
|
# dh_auto_install auto detects the correct DESTDIR.
|
||||||
|
# Modify PREFIX so that this DESTDIR is actually taken into account.
|
||||||
|
# (Upstream Makefile supports PREFIX, but not DESTDIR)
|
||||||
|
dh_auto_install -- PREFIX='$${DESTDIR}/usr'
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
# call clear target provided by Hyprland
|
||||||
|
make clear
|
||||||
|
|
||||||
|
# Do not delete scripts/generateVersion.sh.bak
|
||||||
|
dh_clean -X scripts/generateVersion.sh.bak
|
||||||
|
|
||||||
|
override_dh_dwz:
|
||||||
|
dh_dwz -XHyprland # Skipping dwz, compression not beneficial on Hyprland
|
||||||
|
|
||||||
|
#override_dh_auto_configure:
|
||||||
|
# dh_auto_configure -- \
|
||||||
|
# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
#
|
||||||
|
# ### gbp-buildpackage(1) user may like this. ###
|
||||||
|
#abort-on-upstream-changes
|
||||||
|
#unapply-patches
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
#
|
||||||
|
# ### dgit-maint-merge(7) workflow user need this ###
|
||||||
|
# single-debian-patch
|
||||||
|
# auto-commit
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
The automatically generated patch puts this free form text on top of it.
|
||||||
|
|
||||||
|
If you are using gbp-buildpackage(1), you probably don't need this file.
|
||||||
|
|
||||||
|
If you are using dgit-maint-merge(7), please consider text as follows.
|
||||||
|
|
||||||
|
The Debian packaging of foo is maintained in git, using the merging workflow
|
||||||
|
described in dgit-maint-merge(7). There isn't a patch queue that can be
|
||||||
|
represented as a quilt series.
|
||||||
|
|
||||||
|
A detailed breakdown of the changes is available from their canonical
|
||||||
|
representation - git commits in the packaging repository. For example, to see
|
||||||
|
the changes made by the Debian maintainer in the first upload of upstream
|
||||||
|
version 1.2.3, you could use:
|
||||||
|
|
||||||
|
% git clone https://git.dgit.debian.org/foo
|
||||||
|
% cd foo
|
||||||
|
% git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'
|
||||||
|
|
||||||
|
(If you have dgit, use `dgit clone foo`, rather than plain `git clone`.)
|
||||||
|
|
||||||
|
A single combined diff, containing all the changes, follows.
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
#
|
||||||
|
# DEP-12: Per-package machine-readable metadata about Upstream
|
||||||
|
# Please check * https://dep-team.pages.debian.net/deps/dep12/
|
||||||
|
# * https://wiki.debian.org/UpstreamMetadata
|
||||||
|
Bug-Database: https://github.com/hyprwm/Hyprland/issues
|
||||||
|
Bug-Submit: https://github.com/hyprwm/Hyprland/issues/new
|
||||||
|
Repository: https://github.com/hyprwm/Hyprland
|
||||||
|
Repository-Browse: https://github.com/hyprwm/Hyprland
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
version=4
|
||||||
|
opts="searchmode=plain, \
|
||||||
|
dversionmangle=s/\+ds//, \
|
||||||
|
oversionmangle=s/$/+ds/" \
|
||||||
|
https://api.github.com/repos/hyprwm/Hyprland/releases \
|
||||||
|
https://github.com/hyprwm/Hyprland/releases/download/v\d+\.\d+\.\d+/source-v(\d+\.\d+\.\d+)\.tar\.gz
|
||||||
Loading…
Reference in New Issue