hyprland added

This commit is contained in:
aliriza committed 2024-11-10 16:56:00 +03:00
1 parent e45a73f85a
commit a1e0a4a411
12 files changed
+266 -55

No files matched your search

-53
View File
@@ -1,53 +0,0 @@
http://lists.busybox.net/pipermail/busybox/2024-March/090678.html
https://bugs.gentoo.org/926872
Linux v6.8-rc1 removed the definitions related to CBQ making tc fail to
build. Add some #ifdefs to handle this missing support.
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -231,6 +231,13 @@ static int cbq_parse_opt(int argc, char **argv, struct nlmsghdr *n)
return 0;
}
#endif
+
+#ifndef TCA_CBQ_MAX
+/*
+ * Linux v6.8-rc1~131^2~60^2^2 removed the uapi definitions for CBQ.
+ * See <A HREF="https://git.kernel.org/linus/33241dca48626">https://git.kernel.org/linus/33241dca48626</A>
+ */
+#else
static int cbq_print_opt(struct rtattr *opt)
{
struct rtattr *tb[TCA_CBQ_MAX+1];
@@ -322,6 +329,7 @@ static int cbq_print_opt(struct rtattr *opt)
done:
return 0;
}
+#endif
static FAST_FUNC int print_qdisc(
const struct sockaddr_nl *who UNUSED_PARAM,
@@ -372,8 +380,10 @@ static FAST_FUNC int print_qdisc(
int qqq = index_in_strings(_q_, name);
if (qqq == 0) { /* pfifo_fast aka prio */
prio_print_opt(tb[TCA_OPTIONS]);
+#ifdef TCA_CBQ_MAX
} else if (qqq == 1) { /* class based queuing */
cbq_print_opt(tb[TCA_OPTIONS]);
+#endif
} else {
/* don't know how to print options for this qdisc */
printf(&quot;(options for %s)&quot;, name);
@@ -442,9 +452,11 @@ static FAST_FUNC int print_class(
int qqq = index_in_strings(_q_, name);
if (qqq == 0) { /* pfifo_fast aka prio */
/* nothing. */ /*prio_print_opt(tb[TCA_OPTIONS]);*/
+#ifdef TCA_CBQ_MAX
} else if (qqq == 1) { /* class based queuing */
/* cbq_print_copt() is identical to cbq_print_opt(). */
cbq_print_opt(tb[TCA_OPTIONS]);
+#endif
} else {
/* don't know how to print options for this class */
printf(&quot;(options for %s)&quot;, name);
+5
View File
@@ -0,0 +1,5 @@
version=3.11
pip$version list 2>/dev/null | grep -e '[a-zA-Z]* [0-9]' | cut -f1 -d' ' | while read line ; do
ymp search --file "/$line/"
done
+2 -2
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='libinput'
release='4'
version='1.25.0'
version='1.26.2'
url='https://gitlab.freedesktop.org/libinput/libinput'
description='Input device management and event handling library'
email='aliriza.keskin@pardus.org.tr'
@@ -10,7 +10,7 @@ license=('GPLv3')
source=("https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/libinput-$version.tar.gz")
depends=(eudev mtdev libevdev)
makedepends=()
md5sums=('fc582c553e40be99bea49adf6d4aa669')
sha256sums=('5c1c4150f217fea1db2d1fd88e2607b2f1928cfde65c34da65a9f24dcfd69464')
group=(dev.libs)
uses=()
uses_extra=(wacom)
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
name='libzip'
release='1'
version='1.11.2'
url='https://libzip.org'
description='A C library for reading, creating, and modifying zip archives.'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://libzip.org/download/libzip-$version.tar.xz")
depends=()
makedepends=()
sha256sums=('5d471308cef4c4752bbcf973d9cd37ba4cb53739116c30349d4764ba1410dfc1')
group=(dev.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr
}
build () {
make -C build $jobs
}
package () {
make -C build install $jobs
}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
name='tomlplusplus'
release='1'
version='3.4.0'
url='https://github.com/marzer/tomlplusplus'
description='Header-only TOML config file parser and serializer for C++17.'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/marzer/tomlplusplus/archive/refs/tags/v$version.tar.gz")
depends=()
makedepends=()
sha256sums=('8517f65938a4faae9ccf8ebb36631a38c1cadfb5efa85d9a72e15b9e97d25155')
group=(dev.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
meson setup build \
--prefix=/usr
}
build () {
ninja -C build $jobs
}
package () {
ninja -C build install $jobs
}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
name='aquamarine'
release='1'
version='0.4.4'
url='https://github.com/hyprwm/aquamarine'
description='Aquamarine is a very light linux rendering backend library'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/aquamarine/archive/refs/tags/v$version.tar.gz")
depends=(libglvnd libglvnd libinput mesa seatd wayland)
makedepends=()
sha256sums=('2ac672bce27ac8a2f2d236582d49a2b6bbe243e9a7a5d06881e636607e897110')
group=(hyprland.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr
}
build () {
make -C build $jobs
}
package () {
make -C build install $jobs
}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
name='hyprcursor'
release='1'
version='0.1.10'
url='https://github.com/hyprwm/hyprcursor'
description='The hyprland cursor format, library and utilities.'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/hyprcursor/archive/refs/tags/v$version.zip")
depends=(librsvg libzip tomlplusplus)
makedepends=()
sha256sums=('887afdcb96d0617fba228ff18a8b37e53a2b9629b809ef84f69972a7c2da7f57')
group=(hyprland.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr
}
build () {
make -C build $jobs
}
package () {
make -C build install $jobs
}
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
name='hyprlang'
release='1'
version='0.5.3'
url='https://github.com/hyprwm/hyprlang'
description='The official implementation library for the hypr config language.'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/hyprlang/archive/refs/tags/v$version.tar.gz")
depends=(hyprutils glib)
makedepends=()
sha256sums=('9715311d6b31c18f1e83da999269c71a61c0862645795d2666fa1d7b20d5d0f6')
group=(hyprland.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
}
build () {
make -C build $jobs
}
package () {
make -C build install $jobs
}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
name='hyprutils'
release='1'
version='0.2.4'
url='https://github.com/hyprwm/hyprutils'
description='Hyprland utilities library used across the ecosystem'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/hyprutils/archive/refs/tags/v$version.zip")
depends=(pixman)
makedepends=()
sha256sums=('acba6e5153a9e3aaa9eda473ee4f39c302f6eb872254732a731cd6179457d546')
group=(hyprland.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr
}
build () {
make -C build $jobs
}
package () {
make -C build install $jobs
}
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
name='hyprwayland-scanner'
release='1'
version='0.4.2'
url='https://github.com/hyprwm/hyprlang'
description='A Hyprland implementation of wayland-scanner, in and for C++.'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/hyprwayland-scanner/archive/refs/tags/v$version.tar.gz")
depends=(hyprutils glib pugixml)
makedepends=()
sha256sums=('2f1e54336ed6cc3dbab5ad5279f2520eae1a90fc80852ab005a8250a5a15d1ac')
group=(hyprland.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
}
build () {
make -C build $jobs
}
package () {
make -C build install $jobs
}
+36
View File
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
name='hyprland'
release='1'
version='0.45.0'
url='https://github.com/hyprwm/hyprland'
description="Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks."
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/hyprwm/Hyprland/releases/download/v$version/source-v$version.tar.gz")
depends=(hyprcursor libXcursor libglvnd libinput libxcb libxcb libxkbcommon mesa pango util-linux xcb-util-errors xcb-util-wm)
makedepends=()
sha256sums=('9690b5c0c10fdc277ea7988a28318941dde854260ede4339634dbf2bba8192a3')
group=(hyprland.wm)
uses=()
arch=('x86_64')
cd hyprland-source
setup () {
meson setup build \
--prefix=/usr \
-Dsystemd=disabled
}
build () {
ninja -C build $jobs
}
package () {
ninja -C build install $jobs
# fix absolute path symlink
rm -f $DESTDIR/usr/bin/hyprland
ln -s Hyprland $DESTDIR/usr/bin/hyprland
}
+1
View File
@@ -18,6 +18,7 @@ arch=('x86_64')
cd $name-$version
setup(){
autoreconf -fvi
./configure --prefix=/usr \
--libdir=/usr/lib64/
}