diff --git a/busybox-1.36.1-kernel-6.8.patch b/busybox-1.36.1-kernel-6.8.patch deleted file mode 100644 index 4f74d51b..00000000 --- a/busybox-1.36.1-kernel-6.8.patch +++ /dev/null @@ -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 https://git.kernel.org/linus/33241dca48626 -+ */ -+#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("(options for %s)", 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("(options for %s)", name); - diff --git a/dev/lang/python/genrebuild.sh b/dev/lang/python/genrebuild.sh new file mode 100644 index 00000000..32e559b7 --- /dev/null +++ b/dev/lang/python/genrebuild.sh @@ -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 + diff --git a/dev/libs/libinput/ympbuild b/dev/libs/libinput/ympbuild index 619f6315..babda7ba 100644 --- a/dev/libs/libinput/ympbuild +++ b/dev/libs/libinput/ympbuild @@ -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) diff --git a/dev/libs/libzip/ympbuild b/dev/libs/libzip/ympbuild new file mode 100644 index 00000000..6b536056 --- /dev/null +++ b/dev/libs/libzip/ympbuild @@ -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 +} + diff --git a/dev/libs/tomlplusplus/ympbuild b/dev/libs/tomlplusplus/ympbuild new file mode 100644 index 00000000..37ba5777 --- /dev/null +++ b/dev/libs/tomlplusplus/ympbuild @@ -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 +} + diff --git a/hyprland/libs/aquamarine/ympbuild b/hyprland/libs/aquamarine/ympbuild new file mode 100644 index 00000000..8801e580 --- /dev/null +++ b/hyprland/libs/aquamarine/ympbuild @@ -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 +} + diff --git a/hyprland/libs/hyprcursor/ympbuild b/hyprland/libs/hyprcursor/ympbuild new file mode 100644 index 00000000..a9423143 --- /dev/null +++ b/hyprland/libs/hyprcursor/ympbuild @@ -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 +} + diff --git a/hyprland/libs/hyprlang/ympbuild b/hyprland/libs/hyprlang/ympbuild new file mode 100644 index 00000000..3edbcf93 --- /dev/null +++ b/hyprland/libs/hyprlang/ympbuild @@ -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 +} + diff --git a/hyprland/libs/hyprutils/ympbuild b/hyprland/libs/hyprutils/ympbuild new file mode 100644 index 00000000..16843825 --- /dev/null +++ b/hyprland/libs/hyprutils/ympbuild @@ -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 +} + diff --git a/hyprland/libs/hyprwayland-scanner/ympbuild b/hyprland/libs/hyprwayland-scanner/ympbuild new file mode 100644 index 00000000..52a88b89 --- /dev/null +++ b/hyprland/libs/hyprwayland-scanner/ympbuild @@ -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 +} + diff --git a/hyprland/wm/hyprland/ympbuild b/hyprland/wm/hyprland/ympbuild new file mode 100644 index 00000000..27ddef10 --- /dev/null +++ b/hyprland/wm/hyprland/ympbuild @@ -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 +} + diff --git a/x11/libs/xcb-util-errors/ympbuild b/x11/libs/xcb-util-errors/ympbuild index 6a5d4bf1..b761c6e1 100644 --- a/x11/libs/xcb-util-errors/ympbuild +++ b/x11/libs/xcb-util-errors/ympbuild @@ -18,6 +18,7 @@ arch=('x86_64') cd $name-$version setup(){ + autoreconf -fvi ./configure --prefix=/usr \ --libdir=/usr/lib64/ }