Compare commits

..
316 Commits
Author SHA1 Message Date
wyj b63ee6ca8e Merge pull request 'restructure' (#3) from dev into main
Reviewed-on: #3
2026-01-18 20:12:24 -05:00
wyj 75bb8d7dc2 new blfs: app-i18n/uchardet-0.0.8 2026-01-18 20:10:53 -05:00
wyj b4192b3099 update: rename filedir to work with new version of leaf 2026-01-18 20:10:14 -05:00
wyj 58c8a7a42c new blfs: media-libs/libplacebo-7.351.0 2026-01-18 19:22:28 -05:00
wyj e0ebaf4b9e new bblfs: media-sound/termusic-0.12.0 2026-01-18 17:26:08 -05:00
wyj dc2bf570b4 new bblfs: dev-libs/protobuf-31.1 2026-01-18 17:07:24 -05:00
wyj cff2b3217e new bblfs: media-libs/libsixel-1.10.5 2026-01-18 08:21:09 -05:00
wyj 6e26717e29 new bblfs: media-gfx/imv-5.0.1 2026-01-18 08:07:19 -05:00
wyj 199ac0895d new bblfs: media-libs/libnsgif-1.0.0 2026-01-18 07:46:03 -05:00
wyj fb26e4df4d new bblfs: dev-build/netsurf-buildsystem-1.10 2026-01-18 07:34:25 -05:00
wyj c9f23615f8 new bblfs: app-text/asciidoc-10.2.1 2026-01-18 07:18:34 -05:00
wyj 10584d06fa new bblfs: media-sound/playerctl-2.4.1 2026-01-18 06:53:25 -05:00
wyj 88449be728 new bblfs: gui-apps/swappy-1.5.1 2026-01-18 06:42:30 -05:00
wyj bbfadc6259 new bblfs: media-fonts/fontawesome-6.5.1 2026-01-18 06:38:25 -05:00
wyj d48db67289 new bblfs: gui-apps/slurp-1.5.0 2026-01-18 06:08:01 -05:00
wyj f2ee5c990e new bblfs: gui-apps/grim-1.5.0 2026-01-18 05:56:35 -05:00
wyj 739e0f336e new bblfs: app-misc/cliphist-0.7.0 2026-01-18 05:03:54 -05:00
wyj 3fc6b2e81a new blfs: x11-misc/xdg-utils-1.2.1 2026-01-18 04:57:06 -05:00
wyj 250003727a new bblfs: gui-apps/wl-clipboard-2.2.1 2026-01-18 04:32:31 -05:00
wyj a529ad2dd4 new blfs: x11-themes/gnome-themes-standard-3.28 2026-01-18 04:11:48 -05:00
wyj c8e3b86dff new bblfs: x11-themes/orchis-gtk-theme-2025-04-25 2026-01-18 03:54:37 -05:00
wyj 57e4ff55a0 new bblfs: media-sound/pipemixer-0.2.2 2026-01-18 03:45:25 -05:00
wyj 070b7b3ce3 fix pipewire: add pipewire group 2026-01-18 03:41:04 -05:00
wyj cad3e4ea60 new bblfs: gui-apps/swayosd-0.2.1 2026-01-18 03:12:18 -05:00
wyj 11914b6fc3 new bblfs: gui-apps/swaync-0.12.3 2026-01-18 02:20:46 -05:00
wyj 685645223b new bblfs: dev-util/blueprint-compiler-0.18.0 2026-01-18 02:01:45 -05:00
wyj 73886830e0 new blfs: gui-libs/libhandy-1.8.3 2026-01-18 01:49:37 -05:00
wyj ccd436865b new blfs: gui-libs/libadwaita-1.7.7 2026-01-18 01:38:53 -05:00
wyj 4fe1ec10ef new blfs: dev-libs/appstream-1.0.6 2026-01-18 01:09:14 -05:00
wyj 5ef9b0dda7 new bblfs: dev-libs/snowball-stemmer-2.2.0 2026-01-17 20:17:25 -05:00
wyj d7e5d91b8b new bblfs: dev-libs/appstream-glib-0.8.3 2026-01-17 19:41:37 -05:00
wyj 14f40dd1e0 new blfs: dev-util/itstool-2.0.7 2026-01-17 19:21:28 -05:00
wyj 56a25f0fdb new tests: test/hello-1.0-r1 2026-01-17 18:53:11 -05:00
wyj 370ff89030 new blfs: dev-libs/libxmlb-0.3.24 2026-01-17 18:52:50 -05:00
wyj 539638b0f9 new bblfs: gui-libs/gtk4-layer-shell-1.1.1 2026-01-17 15:04:30 -05:00
wyj fcd540a58d new bblfs: dev-libs/granite-7.6.0 2026-01-17 07:31:15 -05:00
wyj b050359048 new blfs: gui-libs/gtk-4.18.6 2026-01-17 07:20:17 -05:00
wyj 3be7eb7483 new bblfs: dev-python/pygobjest-3.50.1 2026-01-17 06:40:16 -05:00
wyj 7d6f7bd91c new bblfs: media-libs/shaderc-2025.4 2026-01-17 06:26:20 -05:00
wyj 99cd254663 fix dev-libs/gobject-introspection-1.84.0: basever 2026-01-17 06:25:30 -05:00
wyj 4f7b401574 new blfs: app-text/iso-codes-4.18.0 2026-01-17 04:23:59 -05:00
wyj f83b3429c7 new blfs: media-libs/graphene-1.10.8 2026-01-17 04:03:55 -05:00
wyj a8281b298b new blfs: dev-libs/libgee-0.20.8 2026-01-17 03:41:04 -05:00
wyj fe7bc6addc new blfs: dev-lang/sassc-3.6.2 2026-01-17 03:23:16 -05:00
wyj 762b867afe new blfs: dev-libs/libsass-3.6.6 2026-01-17 03:13:27 -05:00
wyj 3e5349a1ca new bblfs: gui-apps/rofi-2.0.0 2026-01-17 03:00:07 -05:00
wyj 83cb8020be new bblfs: gui-apps/awww-0.11.2 2026-01-17 02:33:35 -05:00
wyj dea6b05db9 new bblfs: gui-libs/xdg-desktop-portal-wlr-0.7.1 2026-01-16 17:47:23 -05:00
wyj 838817db4c new blfs: sys-apps/xdg-desktop-portal-1.20.3 2026-01-16 17:22:06 -05:00
wyj 919a7bee27 fix lfs/zstd: change prefix in .pc 2026-01-16 16:56:15 -05:00
wyj e153b5137b new blfs: sys-fs/fuse-3.17.4 2026-01-16 16:23:10 -05:00
wyj d83aa24c91 new blfs: dev-libs/json-glib-1.10.8 2026-01-16 12:23:45 -05:00
wyj 51fe871ed4 new bblfs: dev-libs/inih-62 2026-01-16 01:10:18 -05:00
wyj de06823946 new bblfs: dev-cpp/sdbus-c++-2.1.0 2026-01-16 00:58:57 -05:00
wyj 84696e006e new bblfs: gui-apps/waybar-0.14.0 2026-01-15 21:27:47 -05:00
wyj 49541a3013 new bblfs: dev-libs/libayatana-appindicator-0.5.94 2026-01-15 21:05:53 -05:00
wyj e5da6017c3 new bblfs: dev-libs/libayatana-indicator-0.9.4 2026-01-15 19:58:36 -05:00
wyj 4d6bd467a3 new blfs: dev-libs/dbus-glib-0.114 2026-01-15 19:54:55 -05:00
wyj e8b5cb7153 new bblfs: dev-libs/ayatana-ido-0.10.4 2026-01-15 19:32:25 -05:00
wyj 7d9c092c2e update: enable unversioned in vala 2026-01-15 19:28:58 -05:00
wyj 4645511b74 new blfs: dev-lang/vala-0.56.18 2026-01-15 19:09:59 -05:00
wyj 02ceb5af37 new bblfs: dev-libs/libdbusmenu-16.04.0 2026-01-15 18:45:43 -05:00
wyj 59353fafd2 new blfs: dev-libs/libnl-3.10.0 2026-01-15 15:13:40 -05:00
wyj d8622560aa nerw bblfs: gui-libs/gtk-layer-shell-0.9.2 2026-01-15 05:00:52 -05:00
wyj b83a66f0e4 nerw bblfs: dev-libs/date-3.0.3 2026-01-15 04:44:04 -05:00
wyj 9fc72b7db7 nerw bblfs: dev-libs/spdlog-1.15.3 2026-01-15 03:52:40 -05:00
wyj 675df602f7 new bblfs: dev-libs/libfmt-11.1.4 2026-01-15 03:35:58 -05:00
wyj ac0ae74d17 new bblfs: dev-libs/jsoncpp-1.9.6 2026-01-15 03:21:20 -05:00
wyj cdf0887d99 new blfs: dev-cpp/gtkmm-3.24.10 2026-01-15 02:58:40 -05:00
wyj b2aa94d461 new blfs: dev-cpp/atkmm-2.28.4 2026-01-15 02:49:16 -05:00
wyj 45226219b8 new blfs: dev-cpp/pangomm-2.46.4 2026-01-15 01:25:38 -05:00
wyj e296bdbe87 new blfs: dev-cpp/glibmm-2.66.8 2026-01-15 00:57:47 -05:00
wyj 0a9e2599d6 new blfs: dev-cpp/cairomm-1.14.5 2026-01-14 19:29:37 -05:00
wyj 9a66b061ae new blfs: dev-libs/libsigc++-2.12.1 2026-01-14 19:20:48 -05:00
wyj e374f699f8 new blfs: media-video/wireplumber-0.5.12 2026-01-14 16:54:06 -05:00
wyj 5de9145dc3 new blfs: dev-lang/lua-5.4.8 2026-01-14 16:37:36 -05:00
wyj 950f619342 new blfs: media-video/pipewire-1.4.9 2026-01-14 15:34:23 -05:00
wyj 684c63a337 update: enable external-libs in media-libs/libsndfile-1.2.2 2026-01-14 13:36:06 -05:00
wyj 2cff7f2ad2 new blfs: sci-libs/fftw-3.3.10 2026-01-14 13:04:21 -05:00
wyj 4327854e50 new blfs: media-libs/alsa-lib-1.2.14 2026-01-14 02:04:15 -05:00
wyj 8e77349d46 new bblfs: media-libs/alsa-ucm-conf-1.2.14 2026-01-14 01:45:17 -05:00
wyj 1d588b2f48 new bblfs: media-libs/alsa-topology-conf 2026-01-14 01:39:45 -05:00
wyj 7e453a7f16 new blfs: media-video/ffmpeg-7.1.3 2026-01-14 01:29:03 -05:00
wyj d7f2f91ec6 Merge pull request 'dev' (#2) from dev into main
Reviewed-on: #2
2026-01-13 22:39:29 -05:00
wyj aa4b1e8daa update: to new url in README 2026-01-13 22:38:32 -05:00
wyj 155005fae2 new blfs: media-libs/x264-20240513 2026-01-13 20:43:54 -05:00
wyj 95064ba506 new blfs: media-libs/x265-3.6 2026-01-13 20:43:10 -05:00
wyj f78e0ad043 new blfs: media-libs/libass-0.17.4 2026-01-13 00:41:07 -05:00
wyj 3faa9dde77 new bblfs: media-libs/dav1d-1.5.0 2026-01-12 22:12:12 -05:00
wyj fe6f40b32b new bblfs: media-libs/libpulse-17.0 2026-01-12 20:29:44 -05:00
wyj 33a318e77a new blfs: media-libs/libsndfile 2026-01-12 19:45:42 -05:00
wyj 314a270691 fix: url in lfs/util-linux-2.41.1 2026-01-12 13:20:56 -05:00
wyj 547ebe5e88 fix: chown of TMPDIR in lfs/procps-ng 2026-01-12 13:12:10 -05:00
wyj 316007dea9 update: add check in media-sound/lame-3.100 2026-01-12 04:56:43 -05:00
wyj c3729bd0ad new blfs: media-sound/lame-3.100 2026-01-12 04:52:42 -05:00
wyj 5c269f7cde new bblfs: sys-dev/gettext-0.26 2026-01-12 04:50:18 -05:00
wyj fc4e7267fc new bblfs: app-i18n/gnulib-l10n-20241231 2026-01-12 04:12:14 -05:00
wyj 524bf57722 new blfs: media-libs/opus-1.5.2 2026-01-12 02:59:20 -05:00
wyj e4b29362a6 new blfs: media-libs/libvorbis-1.3.7 2026-01-12 02:36:50 -05:00
wyj 13396fdd1d new blfs: media-libs/libogg-1.3.6 2026-01-12 02:13:19 -05:00
wyj cde1a3557d new blfs: media-libs/flac-1.5.0 2026-01-11 22:37:43 -05:00
wyj 8040687280 new blfs: dev-libs/libatomic_ops-7.8.4 2026-01-11 22:37:25 -05:00
wyj 2bf051a6c5 new blfs: x11-libs/gtk+-3.24.51 2026-01-11 20:00:35 -05:00
wyj 212266d1fa new bblfs: dev-build/gtk-doc-am-1.34.0 2026-01-11 19:28:10 -05:00
wyj c8c6a30d9e update: remove icons in lfs/vim 2026-01-11 18:00:09 -05:00
wyj 151d5cb788 new bblfs: x11-themes/Meow-catppuccin-icon-theme-20250210 2026-01-11 17:45:25 -05:00
wyj 7f8a2b103d new blfs: dev-util/gtk-update-icon-cache-3.24.42 2026-01-11 17:44:57 -05:00
wyj ad5a97283c new blfs: x11-themes/hicolor-icon-theme-0.17 2026-01-11 17:44:31 -05:00
wyj 9ce1f42312 new blfs: media-libs/libepoxy-1.5.10 2026-01-11 15:52:53 -05:00
wyj ce4559be7c new blfs: app-accessibility/at-spi2-core-2.56.5 2026-01-11 06:27:46 -05:00
wyj fe8f7ab064 new bblfs: sys-apps/bat-0.26.1 2026-01-11 06:07:29 -05:00
wyj 6737bce015 new bblfs: media-fonts/nerd-fonts-3.4.0 2026-01-11 05:07:27 -05:00
wyj 68d6fce5b0 new blfs: media-fonts/noto-emoji-20250912 2026-01-10 17:37:32 -05:00
wyj 749d92020e new blfs: media-fonts/noto-cjk-20190416 2026-01-10 17:24:01 -05:00
wyj 10ea1c957c new blfs: media-fonts/noto-20251101 2026-01-10 16:50:55 -05:00
wyj f99d1304b4 new blfs: app-admin/sudo-1.9.17_p2 2026-01-10 16:18:15 -05:00
wyj 836631ad4b fix: x11-terms/kitty-0.44.0 fix TEMPDIR to TMPDIR 2026-01-10 07:23:48 -05:00
wyj 662be0634a new blfs: sys-apps/shadow-4.18.0 2026-01-10 06:48:35 -05:00
wyj 21d9608f05 update blfs: sys-libs/pam-1.7.1 -> 1.7.1-r1 2026-01-10 06:15:51 -05:00
wyj 4ebea74221 new bblfs: gui-wm/hyprland-0.49.0 2026-01-09 21:13:28 -05:00
wyj e938d7d49b update: add .pc for dev-libs/udis86-1.7.2 2026-01-08 19:20:55 -05:00
wyj 24c4b08b79 new blfs: x11-libs/libXcursor-1.2.3 2026-01-08 18:43:46 -05:00
wyj 0dd9876e2d new blfs: x11-libs/libXfixes-6.0.2 2026-01-08 18:34:42 -05:00
wyj 6402a83bd8 new blfs: x11-libs/libXrender-0.9.12 2026-01-08 18:27:55 -05:00
wyj b4a2af1f84 new blfs: x11-libs/libX11-1.8.12 2026-01-08 18:19:14 -05:00
wyj 73886d4bd8 new bblfs: app-misc/jq-1.8.1 2026-01-08 17:40:28 -05:00
wyj f5d17aa31a new bblfs: dev-libs/oniguruma-6.9.10 2026-01-08 16:59:48 -05:00
wyj ace8ace489 new bblfs: dev-libs/hyprland-protocols-0.6.4 2026-01-08 16:51:05 -05:00
wyj a268d0ecec new bblfs: dev-cpp/glaze-5.5.4 2026-01-08 16:43:35 -05:00
wyj c18c96ef93 new bblfs: gui-libs/hyprcursor-0.1.12 2026-01-08 16:25:52 -05:00
wyj 965e87dc74 new bblfs: dev-libs/libzip-1.11.4 2026-01-08 16:24:24 -05:00
wyj a9776d58c5 new blfs: gnome-base/librsvg-2.61.0 2026-01-08 16:04:14 -05:00
wyj 06f7931f78 new bblfs: dev-util/cargo-c-0.10.16 2026-01-08 15:39:09 -05:00
wyj 2aa7c1ff43 new bblfs: gui-libs/aquamarine-0.8.0 2026-01-08 14:53:21 -05:00
wyj 428cd3ff61 new blfs: x11-libs/pango-1.57.0 2026-01-08 14:38:10 -05:00
wyj 29a7a13533 new blfs: dev-libs/fribidi-1.0.16 2026-01-08 14:19:40 -05:00
wyj e44c66975a new bblfs: sys-auth/seatd-0.9.1 2026-01-08 13:44:55 -05:00
wyj 7fd044deb4 new bblfs: app-text/scdoc-1.9.7 2026-01-08 13:28:56 -05:00
wyj 605e203c33 new blfs: media-libs/libdisplay-info-0.3.0 2026-01-08 13:20:05 -05:00
wyj 21b9f88101 new bblfs: dev-util/hyprwayland-scanner-0.4.4 2026-01-08 13:03:48 -05:00
wyj c5944db00a new bblfs: dev-libs/pugixml-1.15 2026-01-08 12:57:58 -05:00
wyj 31f45e1388 new bblfs: dev-libs/udis86-1.7.2 2026-01-08 12:44:58 -05:00
wyj 69dfd24826 new bblfs: dev-libs/re2-2024.07.02 2026-01-08 12:31:16 -05:00
wyj 69d0f12b91 new blfs: dev-cpp/abseil-cpp-20250814.0 2026-01-08 12:23:22 -05:00
wyj 8f048e1e26 new bblfs: dev-libs/hyprlang-0.6.4 2026-01-08 12:05:27 -05:00
wyj d1b22d12a7 new bblfs: dev-libs/hyprgraphics-0.1.5 2026-01-08 11:57:52 -05:00
wyj 0aa46cadc6 new bblfs: media-libs/libspng-0.7.4 2026-01-08 11:49:26 -05:00
wyj 637a787521 new blfs: media-libs/libjxl-0.11.1 2026-01-08 11:38:07 -05:00
wyj e8cac32ce6 new blfs: x11-libs/gdk-pixbuf-2.42.12 2026-01-08 11:11:18 -05:00
wyj fa702ad9c9 update: add preremove to glib 2026-01-08 10:37:20 -05:00
wyj 64dbe639fb new blfs: dev-cpp/highway-1.3.0 2026-01-08 10:28:32 -05:00
wyj ec896811bc new blfs: app-arch/brotli-1.1.0 2026-01-08 10:16:17 -05:00
wyj ff6ce2c2a3 new bblfs: gui-libs/hyprutils-0.8.4 2026-01-08 09:56:51 -05:00
wyj 4f1ee24507 new bblfs: dev-cpp/tomlplusplus-3.4.0 2026-01-08 09:47:18 -05:00
wyj 3485b96c94 new blfs: media-fonts/dejavu-2.37 2026-01-08 09:37:09 -05:00
wyj 05a257d57c new bblfs: x11-terms/kitty-0.44.0 2026-01-08 08:09:27 -05:00
wyj 19d7426421 new bblfs: media-fonts/symbols-nerd-font-3.4.0 2026-01-08 07:51:11 -05:00
wyj c00a0ac27c update: update fontconfig hook 2026-01-08 07:49:04 -05:00
wyj 4b6313fb20 new bblfs: x11-terms/kitty-shell-integration-0.44.0 2026-01-08 06:48:24 -05:00
wyj 13178e3b1d new blfs: x11-libs/cairo-1.18.4 2026-01-08 06:30:58 -05:00
wyj aedd1d41c3 new bblfs: media-libs/lcms-2.17 2026-01-08 06:09:34 -05:00
wyj 668cd38153 new blfs: media-libs/fontconfig-2.17.1 2026-01-08 05:29:40 -05:00
wyj e15b23c133 new blfs: media-libs/harfbuzz-12.2.0 2026-01-08 03:10:08 -05:00
wyj 160ee84ff9 new bblfs: sys-apps/help2man-1.49.3 2026-01-08 02:38:26 -05:00
wyj cc777d7ee4 new blfs: media-gfx/graphite2-1.3.14 2026-01-08 02:18:37 -05:00
wyj 1a3243b443 new blfs: media-libs/freetype-2.14.1 2026-01-07 18:36:51 -05:00
wyj fe3bdbeb9e new bblfs: dev-libs/libinput-1.29.1 2026-01-07 17:24:29 -05:00
wyj 3e7ccf4681 clean: remove lfs/check
check is no longer in the lfs scoop
2026-01-07 04:49:09 -05:00
wyj 6485874b94 new blfs: x11-libs/pixman-0.46.4 2026-01-07 04:46:53 -05:00
wyj 0d0361a48f new bblfs: dev-libs/libevdev-1.13.5 2026-01-07 04:22:24 -05:00
wyj 9953334430 new bblfs: dev-libs/check-0.15.2 2026-01-07 04:15:33 -05:00
wyj 792c8d8c5c new blfs: x11-libs/libxkbcommon-1.12.3 2026-01-07 03:43:45 -05:00
wyj be43ea0b77 new bblfs: x11-misc/compose-tables-1.8.12 2026-01-07 03:26:27 -05:00
wyj f90ca8a6f2 new bblfs: x11-libs/xtrans-1.6.0 2026-01-07 03:21:14 -05:00
wyj 98c5e9a8c9 new blfs: x11-libs/libxcb-1.17.0 2026-01-07 03:12:37 -05:00
wyj 167d63b138 new blfs: x11-libs/libXdmcp-1.1.5 2026-01-07 03:06:11 -05:00
wyj 7edede5cc6 new blfs: x11-libs/libXau-1.0.12 2026-01-07 02:57:33 -05:00
wyj 6845df290c new bblfs: x11-base/xcb-proto-1.17.0 2026-01-07 02:35:04 -05:00
wyj 303bf0b669 new bblfs: x11-base/xorg-proto-2024.1 2026-01-07 02:26:47 -05:00
wyj 65cbc7c9ca todo: pam and shadow 2026-01-06 08:38:14 -05:00
wyj 0d1a26ea01 new blfs: x11-misc/xkeyboard-config-2.46 2026-01-06 08:37:31 -05:00
wyj 5cdfcd64de new bblfs: x11-terms/kitty-terminfo-0.44.0 2026-01-06 08:04:53 -05:00
wyj 63bf1b407d new bblfs: dev-libs/simde-0.8.2 2026-01-06 07:13:00 -05:00
wyj 4ec71b3670 new bblfs: dev-python/pillow-11.3.0 2026-01-06 06:20:22 -05:00
wyj 6fd3f7ee92 new bblfs: dev-cpp/eigen-3.4.0 2026-01-06 06:17:09 -05:00
wyj f84b7c8073 new bblfs: dev-python/pybind11-3.0.1 2026-01-06 06:16:45 -05:00
wyj 814b40dc59 new bblfs: dev-python/scikit-build-core-0.11.6 2026-01-06 06:08:44 -05:00
wyj 4ab3333571 new bblfs: dev-python/pyproject-metadata-0.10.0 2026-01-06 06:02:21 -05:00
wyj 8ed5230bc7 new blfs: media-libs/libwebp-1.6.0 2026-01-06 02:38:13 -05:00
wyj 5703f167b6 new blfs: media-libs/tiff-4.7.0 2026-01-06 02:08:42 -05:00
wyj 0d3438caa5 new blfs: media-libs/libjpeg-turbo-3.1.2 2026-01-06 01:39:25 -05:00
wyj 94fce7d5af new bblfs: dev-lang/yasm-1.3.0 2026-01-06 01:14:30 -05:00
wyj 62bbb0fe49 new bblfs: dev-lang/nasm-3.01 2026-01-06 00:50:05 -05:00
wyj 8f5f74276e new blfs: media-libs/libpng-1.6.51 2026-01-04 22:22:38 -05:00
wyj a0a459b4cf new bblfs: sys-apps/ripgrep-14.1.1 2026-01-04 06:12:55 -05:00
wyj 6315ae7d62 new blfs: media-libs/vulkan-loader-1.4.328.0 2026-01-02 08:14:58 -05:00
wyj 37fefc398b new blfs: dev-util/vulkan-headers-1.4.328.0 2026-01-02 08:03:20 -05:00
wyj 5db28a630d new blfs: media-libs/libva-2.22.0 2026-01-02 07:44:13 -05:00
wyj af46530b44 new blfs: media-libs/mesa-25.2.7 2026-01-02 07:26:43 -05:00
wyj 604096f642 new bblfs: media-libs/libglvnd-1.7.0 2026-01-02 07:26:19 -05:00
wyj 482e5e6db3 new bblfs: dev-libs/elfutils-0.193 2026-01-02 06:08:08 -05:00
wyj 67224b91a1 fix: .pc in lfs/libelf 2026-01-02 05:40:06 -05:00
wyj d31345e402 new blfs: bootstrap/libva-2.22.0 2026-01-02 03:34:07 -05:00
wyj d524cfeaaf new blfs: dev-python/pyyaml-6.0.3 2026-01-02 00:38:10 -05:00
wyj 825fcdfc91 new blfs: dev-python/pygments-2.19.2 2026-01-02 00:36:52 -05:00
wyj 47dce8e379 new blfs: dev-libs/libyaml-0.2.5 2026-01-02 00:11:08 -05:00
wyj b95713bda9 new blfs: dev-python/cython-3.1.7 2026-01-02 00:04:19 -05:00
wyj d67960b364 new blfs: dev-python/mako-1.3.10 2026-01-01 23:49:44 -05:00
wyj c71e267cf8 new blfs: dev-libs/wayland-protocols-1.45.0 2026-01-01 20:03:50 -05:00
wyj eb2e65c4d6 new blfs: dev-util/glslang-1.4.328.0 2026-01-01 19:22:01 -05:00
wyj a6c57a5467 new blfs: dev-util/spirv-tools-1.4.328.0 2026-01-01 19:08:24 -05:00
wyj 399e997cde new blfs: dev-util/spirv-headers-1.4.328.0 2026-01-01 18:44:31 -05:00
wyj a7e8300928 new blfs: dev-libs/wayland-1.24.0 2026-01-01 18:12:59 -05:00
wyj 0ca8832ea7 new bblfs: dev-util/wayland-scanner-1.24.0 2026-01-01 17:59:27 -05:00
wyj c20aff8de6 update: mv dev-utils to dev-util 2026-01-01 17:45:14 -05:00
wyj 1c71413403 new blfs: sys-kernel/linux-firmware-20250808 2026-01-01 16:43:53 -05:00
wyj 148541fee7 new blfs: sys-apps/hwdata-0.398 2026-01-01 06:20:18 -05:00
wyj d05d9cbef1 new bblfs: pp-shells/fzf-0.67.0 2026-01-01 06:14:38 -05:00
wyj 6a6c7cb57c new bblfs: dev-lang/go-1.25.5 2026-01-01 05:53:36 -05:00
wyj 516af685a7 new bblfs: sys-apps/eza-0.23.4 2026-01-01 03:43:28 -05:00
wyj 9b8a58f1d6 new bblfs: dev-libs/libgit2-1.9.2 2026-01-01 03:29:32 -05:00
wyj d249eaeea8 new bblfs: net-libs/llhttp-9.2.1 2026-01-01 02:11:07 -05:00
wyj acd06d5160 new bblfs: net-libs/libssh2 2026-01-01 02:00:17 -05:00
wyj 1718b4f3fe new blfs: sys-apps/dbus-1.16.2 2025-12-31 19:28:04 -05:00
wyj bdb9ea0312 new bblfs: sys-process/btop-1.4.6 2025-12-31 18:36:04 -05:00
wyj d7e8703a7e new bblfs: dev-utils/rocm-smi-7.1.0 2025-12-31 17:53:06 -05:00
wyj f202917900 new blfs: x11-libs/libdrm-2.4.125 2025-12-31 16:41:00 -05:00
wyj 6ffa592edf new blfs: dev-utils/desktop-file-utils-0.28 2025-12-31 13:00:22 -05:00
wyj 334661e710 new blfs: x11-misc/shared-mime-info-2.4 2025-12-31 12:19:58 -05:00
wyj 0dae502863 update: app-text/xmlto-0.0.29: links as default 2025-12-31 04:19:58 -05:00
wyj 2c26fdf368 new blfs: www-client/links-2.30 2025-12-31 04:13:09 -05:00
wyj df79ac6ebd new blfs: dev-libs/libevent-2.1.12 2025-12-31 03:56:24 -05:00
wyj dc8e056adb new blfs: app-text/xmlto-0.0.29 2025-12-31 03:13:42 -05:00
wyj 52b1908388 new blfs: sys-auth/polkit-126 2025-12-30 22:45:15 -05:00
wyj 831912f554 new blfs: sys-fs/btrfs-progs-6.16 2025-12-30 09:15:28 -05:00
wyj 882325a5b0 new blfs: sys-apps/systemd-257.8 2025-12-30 09:15:07 -05:00
wyj 210266a086 new blfs: dev-python/lxml-6.0.0 2025-12-30 07:08:38 -05:00
wyj 834c7a7ad2 new blfs: sys-libs/libseccomp-2.6.0 2025-12-30 03:02:17 -05:00
wyj db7d827b03 new blfs: sys-apps/which-2.23 2025-12-30 01:44:11 -05:00
wyj 69ea033d16 new blfs: dev-libs/libgcrypt-1.11.2 2025-12-30 01:26:59 -05:00
wyj 34afbf9f97 new blfs: dev-libs/libgpg-error-1.55 2025-12-30 01:12:40 -05:00
wyj 16a1489fdc new blfs: dev-libs/lzo-2.10 2025-12-29 20:12:35 -05:00
wyj 1052993989 new blfs: glib
bootstrap/glib-2.84.4 dev-libs/gobject-introspection-1.84.0 dev-libs/glib-2.84.4
2025-12-29 19:41:51 -05:00
wyj c54858c18a update: some tests for upgrade 2025-12-29 17:51:15 -05:00
wyj 8b090ab6e4 fix: fix lfs/glibc, move localdef to postinstall 2025-12-29 02:51:08 -05:00
wyj c77ad06ab0 new blfs: dev-libs/libxslt-1.1.43 2025-12-28 01:51:26 -05:00
wyj 5fb22831c6 new blfs: app-text/docbook-xsl-nons-1.79.2 2025-12-28 01:33:13 -05:00
wyj 5317373df6 new : test/just-fail-1.0 2025-12-28 00:39:09 -05:00
wyj 736b977f99 new blfs: app-text/docbook-xml-4.5 2025-12-28 00:38:13 -05:00
wyj 4cdb441659 new blfs: dev-lang/docutils-0.21.2 2025-12-27 17:28:19 -05:00
wyj d53e815de9 new blfs: dev-lang/duktape-2.7.0 2025-12-27 12:24:08 -05:00
wyj e08e2ae5af new blfs: dev-python/pytest-8.4.1 2025-12-27 05:03:53 -05:00
wyj 5e2763ce18 new blfs: dev-python/iniconfig-2.1.0 2025-12-27 04:56:01 -05:00
wyj 025abc44cd new blfs: dev-python/hatch-vcs-0.5.0 2025-12-27 04:51:17 -05:00
wyj 9087b46e38 new blfs: dev-python/hatchling-1.27.0 2025-12-27 04:43:43 -05:00
wyj 86c16843e9 update: update README 2025-12-27 03:44:13 -05:00
wyj 712bf65121 new blfs: dev-python/trove-classifiers-2025.8.6.13 2025-12-27 03:41:58 -05:00
wyj ba0b1e204e new bblfs: dev-python/calver-2025.04.01 2025-12-27 03:41:36 -05:00
wyj 7f027d3d12 new blfs: dev-python/pluggy-1.6.0 2025-12-27 02:30:23 -05:00
wyj d787d018f8 new blfs: dev-python/setuptools-scm-8.3.1 2025-12-27 02:23:12 -05:00
wyj 5f97566b0f new blfs: dev-python/pathspec-0.12.1 2025-12-27 02:10:36 -05:00
wyj 852fbeba6b update: update README 2025-12-27 01:56:49 -05:00
wyj 875cb08f49 new blfs: dev-python/installer-0.7.0 2025-12-27 01:55:07 -05:00
wyj fd72060c49 new blfs: dev-python/build-1.3.0 2025-12-27 01:49:53 -05:00
wyj ae9f07d781 new blfs: dev-python/pyproject-hooks-1.2.0 2025-12-27 01:42:45 -05:00
wyj ae7334c80e new blfs: dev-python/editables-0.5 2025-12-27 01:28:03 -05:00
wyj 9d69805488 update: test/just-message-2.0 2025-12-27 00:42:58 -05:00
wyj 76aeedadda new blfs: dev-lang/rust-1.89.0 2025-12-26 23:17:37 -05:00
wyj 204c867302 update: test/just-env-2.0 2025-12-26 19:24:05 -05:00
wyj ca6df9ce76 new blfs: llvm-core/clang-20.1.8 2025-12-25 23:19:42 -05:00
wyj 1888a3ce2a update: enable gtest in llvm-core/llvm-20.1.8 2025-12-25 23:17:31 -05:00
wyj 03dd0290cf new blfs: llvm-runtimes/compiler-rt-20.1.8 2025-12-25 22:11:47 -05:00
wyj efd75d3a55 new blfs: llvm-core/llvm-20.1.8 2025-12-25 19:01:55 -05:00
wyj d5b2c26ad7 new blfs: sys-apps/grep-3.12 2025-12-25 18:40:19 -05:00
wyj 4d5f7f8ca9 new blfs: dev-libs/pcre2-10.45 2025-12-25 18:33:35 -05:00
wyj 2ed5376a3d fix: fix lfs/systemd 2025-12-25 15:32:10 -05:00
wyj 313d443ad9 new blfs: net-misc/rsync-3.4.1 2025-12-25 15:19:29 -05:00
wyj e01e1b0df1 new blfs: net-misc/rsync-3.4.1 2025-12-25 15:19:16 -05:00
wyj 9a34db0c05 new bblfs: dev-libs/xxhash-0.8.3 2025-12-25 15:00:02 -05:00
wyj 27502f9202 new bblfs: dev-libs/popt-1.19 2025-12-25 14:44:03 -05:00
wyj e7effdf182 new bblfs: dev-vcs/git-2.50.1 2025-12-25 06:37:13 -05:00
wyj 694057e07d new bblfs: dev-debug/valgrind-3.25.1 2025-12-25 06:00:25 -05:00
wyj a606f6a43f update: app-shells/zsh-5.9 fix with 12.4 2025-12-25 05:47:36 -05:00
wyj 5410fc58a7 new: test/just-etc-shell 2025-12-25 05:13:55 -05:00
wyj 34de56a0f1 new bblfs: dev-debug/gdb-16.3 2025-12-25 04:34:58 -05:00
wyj ddcd455560 new bblfs: dev-python/six-1.17.0 2025-12-25 04:17:40 -05:00
wyj 930d657b12 fix: mv vimrc in vim test 2025-12-25 03:01:32 -05:00
wyj 702c075439 new bblfs: dev-db/sqlite-3.50.4 2025-12-25 02:10:59 -05:00
wyj 099c6ebabf new bblfs: sys-dev/gcc-15.2.0 with lto pgo 2025-12-25 02:08:49 -05:00
wyj ec7b08fbab fix: expat url 2025-12-24 21:51:58 -05:00
wyj c9d38eb015 new bblfs: app-misc/fastfetch-2.56.1 with leaf support 2025-12-24 15:30:10 -05:00
wyj 02251c40a9 new bblfs: dev-libs/yyjson 2025-12-24 03:09:56 -05:00
wyj 6790c3b75d new blfs: dev-build/cmake-4.1.0 2025-12-24 03:03:37 -05:00
wyj b1270373ab new blfs: net-libs/nghttp2-1.66.0 2025-12-24 02:49:11 -05:00
wyj 35098ce74a update README: blfs build order 2025-12-24 02:41:09 -05:00
wyj 1eae11aedb update README: blfs build order 2025-12-24 02:37:00 -05:00
wyj 3d7d84e6ea new blfs: dev-libs/libxml2-2.14.5 2025-12-24 02:33:30 -05:00
wyj cda4ff98e8 new blfs: dev-libs/icu-77.1 2025-12-24 02:12:32 -05:00
wyj c2f994e560 new blfs: dev-libs/libuv-1.51.0 2025-12-24 02:00:35 -05:00
wyj 45a003f5c6 new blfs: app-arch/libarchive-3.8.1 2025-12-23 18:41:35 -05:00
wyj 6ff73de488 new blfs: net-misc/curl-8.15.0 2025-12-23 18:31:36 -05:00
wyj b6a398de94 update README: blfs build order 2025-12-23 18:09:40 -05:00
wyj 19af606699 new blfs: app-crypt/p11-kit-0.25.5 2025-12-23 18:08:31 -05:00
wyj 94d876f9df new blfs: dev-libs/libtasn1 2025-12-23 18:07:43 -05:00
wyj 3f5e82c967 new blfs: app-misc/make-ca-1.16.1 2025-12-23 18:07:03 -05:00
wyj 8eb7803c71 update README: blfs build order 2025-12-23 17:04:42 -05:00
wyj 726956c614 update README on vim test 2025-12-23 16:51:37 -05:00
wyj e3e5ed8d01 new blfs: sys-libs/pam-1.7.1 2025-12-23 16:36:48 -05:00
wyj 3cb3cd5b97 update: kmod-34.2 enable zstd 2025-12-23 05:38:03 -05:00
wyj 6ea4cb786d new blfs: net-libs/libpsl-0.21.5 2025-12-23 05:25:36 -05:00
wyj fcf55c5dab new blfs: net-dns/libidn2-2.3.8 2025-12-23 05:15:17 -05:00
wyj 80329eadaa new blfs: dev-libs/libunistring-1.3 2025-12-23 05:08:41 -05:00
wyj a22cf9ff55 update: add modprobe.d in linux-6.16.1 2025-12-23 04:37:53 -05:00
wyj 361bd42db9 new: linux-6.16.1 2025-12-23 04:29:25 -05:00
wyj 737298005c update: update systemd-257.8
add 30-systemd-daemon-reload-system.HOOK
2025-12-23 02:27:16 -05:00
wyj fab06fdd4a update: just-hook-2.0 2025-12-23 00:19:17 -05:00
426 changed files with 17605 additions and 90 deletions
+41 -3
View File
@@ -1,6 +1,6 @@
# My LFS software repository # My LFS software repository
This is my repository for Linux from Scratch, and designed for the package manager [leaf](https://gitea.phywyj.dynv6.net/wyj/leaf). This is my repository for Linux from Scratch, and designed for the package manager [leaf](https://gitea.phy-yingjie.wang/wyj/leaf).
Warning: `leaf` won't deal with the dependence relation, and currently won't check file confliction. You have to deal with these problems as the maintainer of your own LFS system. Warning: `leaf` won't deal with the dependence relation, and currently won't check file confliction. You have to deal with these problems as the maintainer of your own LFS system.
@@ -11,5 +11,43 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che
- We won't install Grub in LFS. Install in BLFS with UEFI instead. - We won't install Grub in LFS. Install in BLFS with UEFI instead.
## issues ## issues
- `lfs/vim-9.1.1166` has `Test_write_backup_symlink` failed, which can pass if `call assert_true(filereadable('./Xbackup/Xwbsfile.bak')) - `lfs/vim-9.1.x` has `Test_write_backup_symlink` failed, which can pass if `call assert_true(filereadable('./Xbackup/Xwbsfile.bak'))` is commented. ~~Seams like cannot create this backup file.~~ This is because building in `/tmp`. It's safe to ignore.
` is commented. Seams like cannot create this backup file.
## BLFS order
Those can be installed directly:
```
dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive dev-libs/xxhash dev-libs/pcre2 dev-lang/duktape
```
- `dev-libs/libunistring` -> `net-dns/libidn2` -> `net-libs/libpsl` -> `net-misc/wget`
- `dev-libs/libtasn1` -> `app-crypt/p11-kit` -> `app-misc/make-ca`
- `net-libs/libpsl`+`app-misc/make-ca` -> `net-misc/curl`
- `libxml2` is not needed for `nghttp2`
- `icu` is not needed for `libxml2`
- `net-misc/curl`+`app-arch/libarchive`+`dev-libs/libuv` -> `dev-build/cmake`
- `app-arch/libarchive` -> `dev-db/sqlite` -> rebuild `dev-lang/python`
- `dev-python/six` -> `dev-debug/gdb`
- `dev-libs/popt` + `dev-libs/xxhash` -> `net-misc/rsync`
- `dev-libs/pcre2` -> rebuild `sys-apps/grep`
- rebuild `sys-apps/grep` + `net-misc/curl` + `dev-build/cmake` -> `llvm-core/llvm` -> `llvm-runtimes/compiler-rt` -> `llvm-core/clang`
- `llvm-core/llvm` + `dev-db/sqlite` + `dev-build/cmake` + `net-misc/curl` ->
`dev-lang/rust`
### python
Those can be installed directly
```
pyproject-hooks, installer
```
- `pyproject-hooks` -> `build`
after `build` and `installer`:
- `setuptools-scm` -> `pluggy`
- `calver` -> `trove-classifiers`
- `editables` + `pathspec` + `pluggy` + `trove-classifiers` -> `hatchling`
- `hatchling` -> `hatch-vcs`
- `iniconfig` + `pluggy` + `setuptools-scm` -> `pytest`
+1 -1
View File
@@ -1,4 +1,4 @@
# todo # todo
- [x] `pip` should be a standalone package. - [x] `pip` should be a standalone package.
- [ ] rewrite `shadow` and `linux-pam`, try to follow Gentoo
@@ -0,0 +1,48 @@
pkgname=at-spi2-core
pkgver=2.56.5
pkgdesc="D-Bus accessibility specifications and registration daemon"
DEPEND="
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
>=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
>=dev-libs/libxml2-2.9.1:2=[${MULTILIB_USEDEP}]
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
!<dev-libs/atk-2.46.0
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-util/glib-utils
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[@]}")
sha512sums=("b495a9f7f8539c9d7a3929d8bdceb98ce0b8dac9ea735fa85aada6e1062658b7fff323c8e76a4ae34131febffa9664976f3e1e3e171154c0ff8e923c4db9d9e5")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D default_bus=dbus-daemon
-D use_systemd=true
-D gtk2_atk_adaptor=true
-D docs=false
-D introspection=enabled
-D x11=disabled
-D atk_only=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+78
View File
@@ -0,0 +1,78 @@
pkgname=sudo
_sudover=1.9.17p2
pkgver=${_sudover/p/_p}
pkgdesc="Give certain users the ability to run some commands as root"
arch=('x86_64')
homepage="https://www.sudo.ws/sudo/"
license=('custom')
depends=('glibc' 'openssl' 'pam' 'zlib' 'virtual/libcrypt')
sources=("${pkgname}-${_sudover}.tar.gz")
urls=("https://www.sudo.ws/sudo/dist/${sources[0]}")
md5sums=("dcbf46f739ae06b076e1a11cbb271a10")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local conf_args=(
--prefix=/usr
--disable-hardening
--disable-python
--enable-tmpfiles.d=/usr/lib/tmpfiles.d
--enable-zlib=system
--with-editor=/usr/bin/vim
--with-env-editor
--with-plugindir=/usr/lib/sudo
--with-rundir=/run/sudo
--with-vardir=/var/db/sudo
--without-linux-audit
--without-opie
--disable-gcrypt
--enable-nls
--disable-sasl
--enable-openssl
--without-ldap
--without-insults
--without-all-insults
--with-pam
--with-pam-login
--with-secure-path
--with-secure-path-value="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin"
--without-selinux
--without-sendmail
--without-skey
--without-sssd
)
./configure "${conf_args[@]}"
make
}
src_check() {
env LC_ALL=C make check
}
src_install() {
make DESTDIR="${pkgdir}" install
install -vDm644 "${filedir}/sudo.pam" "${pkgdir}/etc/pam.d/sudo"
install -vDm644 "${filedir}/sudo.pam" "${pkgdir}/etc/pam.d/sudo-i"
chmod -v 0700 "${pkgdir}/var/db/sudo/lectured"
chmod -v 0711 "${pkgdir}/var/db/sudo"
rm -rf "${pkgdir}/run"
mv -v "${pkgdir}/usr/share/doc/${pkgname}" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
install -Dm644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
src_postinstall() {
local sudo_db="/var/db/sudo"
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
chmod 711 "${sudo_db}" || leaf_error "cannot chmod ${sudo_db}."
fi
}
# vim:ft=sh syn=sh et sw=2:
+3
View File
@@ -0,0 +1,3 @@
auth substack system-auth
account substack system-auth
session substack system-auth
+46
View File
@@ -0,0 +1,46 @@
pkgname=brotli
pkgver=1.1.0
pkgdesc='Generic-purpose lossless compression algorithm'
homepage='https://github.com/google/brotli'
arch=('x86_64')
license=('MIT')
makedepends=(
cmake
#python-setuptools
#python-build
#python-installer
#python-wheel
#python-pkgconfig
)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/google/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=("3a6a3dba82a3604792d3cb0bd41bca60")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
#python -m build --wheel --no-isolation
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects"
cmake --build build -v
}
src_check() {
#local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
#PYTHONPATH="$PWD/bin/lib.linux-x86_64-cpython-${python_version}" python -m unittest discover python "*_test.py"
cd build
ctest --output-on-failure --stop-on-failure -j${PARALLEL_JOBS}
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
#python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:ft=sh syn=sh et sw=2:
+27
View File
@@ -0,0 +1,27 @@
pkgname=libarchive
pkgver=3.8.1
pkgdesc='Multi-format archive and compression library'
arch=('x86_64')
homepage='https://libarchive.org/'
license=('BSD-2-Clause')
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://github.com/libarchive/libarchive/releases/download/v${pkgver}/${sources[0]}")
md5sums=("80fd1a7acc4da7c7d4a5f9f96df6e3ff")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --disable-static &&
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" install
ln -sfv bsdunzip ${pkgdir}/usr/bin/unzip
}
+43
View File
@@ -0,0 +1,43 @@
pkgname=p11-kit
pkgver=0.25.5
pkgdesc="Loads and enumerates PKCS#11 modules"
url="https://p11-glue.freedesktop.org"
arch=(x86_64)
license=(BSD-3-Clause)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://github.com/p11-glue/p11-kit/releases/download/${pkgver}/${sources[0]}")
md5sums=("e9c5675508fcd8be54aa4c8cb8e794fc")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed '20,$ d' -i trust/trust-extract-compat &&
cat >> trust/trust-extract-compat << "EOF"
# Copy existing anchor modifications to /etc/ssl/local
/usr/libexec/make-ca/copy-trust-modifications
# Update trust stores
/usr/sbin/make-ca -r
EOF
}
src_build() {
meson setup \
--prefix=/usr \
--buildtype=release \
-D trust_paths=/etc/pki/anchors \
build &&
meson compile -C build
}
src_check() {
meson test -C build --print-errorlogs
}
src_install() {
meson install -C build --destdir "$pkgdir"
ln -sfv ../libexec/p11-kit/trust-extract-compat \
${pkgdir}/usr/bin/update-ca-certificates
install -d -m755 ${pkgdir}/usr/lib/
ln -sfv ./pkcs11/p11-kit-trust.so ${pkgdir}/usr/lib/libnssckbi.so
}
+28
View File
@@ -0,0 +1,28 @@
pkgname=gnulib-l10n
pkgver=20241231
pkgdesc="The Gnulib localizations"
homepage="https://www.gnu.org/software/gnulib/"
arch=(any)
license=(LGPL-2.0-or-later)
sources=("$pkgname-$pkgver.tar.gz")
urls=("https://ftp.gnu.org/pub/gnu/gnulib/${sources[0]}")
sha512sums=("0c5858f6068226afd9b3744020a3826a1236b62f90b6eff30ad17657a194017eaab9f8e090eb744902f47b997f63277b20509a27d1945c42ad9597bb734cad73")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2:
+40
View File
@@ -0,0 +1,40 @@
pkgname=uchardet
pkgver=0.0.8
pkgdesc="Encoding detector library"
homepage="https://www.freedesktop.org/wiki/Software/uchardet/"
license=("GPL-2+")
_patches=("${pkgname}-${pkgver}-cmake4.patch")
_patch_sums=("812378feee2affbba6fb7b4c7c8ab29413577f55317f7603f6ce883c1857fd149707d658b3bf2dc5d42a27ead04d74afd98d86e97ab7b1920f3a37882099a5e0")
sources=("${pkgname}-${pkgver}.tar.xz"
"${_patches[@]}"
)
urls=("https://www.freedesktop.org/software/uchardet/releases/${sources[0]}"
"${_patches[@]}"
)
sha512sums=("4a5dcc9ff021352f3b252e103ff1475cec62c974294b264ee9243f024633c3ae44be8c7733608624066113e635f8b156ecb08c8ff87c736d04b07641eb166382"
"${_patch_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D BUILD_STATIC=no
-D CHECK_SSE2=yes
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,7 @@
https://bugs.gentoo.org/951619
https://gitlab.freedesktop.org/uchardet/uchardet/-/merge_requests/18
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2 +2 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
+29
View File
@@ -0,0 +1,29 @@
pkgname=cliphist
pkgver=0.7.0
pkgdesc="Wayland clipboard manager with support for multimedia"
homepage="https://github.com/sentriz/cliphist"
license=("GPL-3" "MIT" "BSD")
depends=(wl-clipboard xdg-utils)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/henri-gasc/cliphist/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=("a74ee41fb96796ae4fc397410a466d31a49dfb6de7adf8eb9a16c236ea1db95b14d321909a68ba63fb9fc94b48919aa6634c5d41add51e294f3d6a03d4c62086")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CFLAGS="$CFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go build \
-ldflags "-linkmode external -extldflags '$LDFLAGS'" \
-o $pkgname
}
src_install() {
install -vDm0755 -t "$pkgdir/usr/bin/" $pkgname
}
# vim:ft=sh syn=sh et sw=2:
+56
View File
@@ -0,0 +1,56 @@
pkgname=fastfetch
pkgver=2.56.1
pkgdesc="A feature-rich and performance oriented neofetch like system information tool"
homepage="https://github.com/fastfetch-cli/fastfetch"
arch=('x86_64')
license=('MIT')
sources=("${pkgname}-${pkgver}.tar.gz"
"fastfetch-2.56.1-leaf.patch"
)
urls=("https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${pkgver}.tar.gz"
"fastfetch-2.56.1-leaf.patch"
)
md5sums=("352542c153e59434dcedd0aa23d63ebf"
"12924e7da723d89453d0c53ae4287a99"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${distdir}/${sources[1]}
}
src_build() {
cmake -B build \
-DCMAKE_BUILD_TYPE='RelWithDebInfo' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DBUILD_FLASHFETCH='OFF' \
-DBUILD_TESTS='ON' \
-DENABLE_IMAGEMAGICK6='OFF' \
-DENABLE_SYSTEM_YYJSON='ON' \
-DPACKAGES_DISABLE_APK='ON' \
-DPACKAGES_DISABLE_DPKG='ON' \
-DPACKAGES_DISABLE_EMERGE='ON' \
-DPACKAGES_DISABLE_EOPKG='ON' \
-DPACKAGES_DISABLE_GUIX='ON' \
-DPACKAGES_DISABLE_LINGLONG='ON' \
-DPACKAGES_DISABLE_LPKG='ON' \
-DPACKAGES_DISABLE_LPKGBUILD='ON' \
-DPACKAGES_DISABLE_OPKG='ON' \
-DPACKAGES_DISABLE_PACSTALL='ON' \
-DPACKAGES_DISABLE_PALUDIS='ON' \
-DPACKAGES_DISABLE_PKG='ON' \
-DPACKAGES_DISABLE_PKGTOOL='ON' \
-DPACKAGES_DISABLE_RPM='ON' \
-DPACKAGES_DISABLE_SORCERY='ON' \
-DPACKAGES_DISABLE_XBPS='ON' \
-Wno-dev
cmake --build build
}
src_check() {
ctest --test-dir build --output-on-failure
}
src_install() {
DESTDIR="${pkgdir}" cmake --install build
}
@@ -0,0 +1,72 @@
diff --git a/src/detection/packages/packages.h b/src/detection/packages/packages.h
index 12e98793..b1552761 100644
--- a/src/detection/packages/packages.h
+++ b/src/detection/packages/packages.h
@@ -22,6 +22,7 @@ typedef struct FFPackagesResult
uint32_t hpkgSystem;
uint32_t hpkgUser;
uint32_t kiss;
+ uint32_t leaf;
uint32_t linglong;
uint32_t lpkg;
uint32_t lpkgbuild;
diff --git a/src/detection/packages/packages_linux.c b/src/detection/packages/packages_linux.c
index fc5a0cf2..f4a3fca1 100644
--- a/src/detection/packages/packages_linux.c
+++ b/src/detection/packages/packages_linux.c
@@ -418,6 +418,7 @@ static void getPackageCounts(FFstrbuf* baseDir, FFPackagesResult* packageCounts,
if (!(options->disabled & FF_PACKAGES_FLAG_DPKG_BIT)) packageCounts->dpkg += getNumStrings(baseDir, "/var/lib/dpkg/status", "Status: install ok installed", "dpkg");
if (!(options->disabled & FF_PACKAGES_FLAG_LPKG_BIT)) packageCounts->lpkg += getNumStrings(baseDir, "/opt/Loc-OS-LPKG/installed-lpkg/Listinstalled-lpkg.list", "\n", "lpkg");
if (!(options->disabled & FF_PACKAGES_FLAG_EMERGE_BIT)) packageCounts->emerge += countFilesRecursive(baseDir, "/var/db/pkg", "SIZE");
+ if (!(options->disabled & FF_PACKAGES_FLAG_LEAF_BIT)) packageCounts->leaf += countFilesRecursive(baseDir, "/var/lib/leaf/trace", "FILES");
if (!(options->disabled & FF_PACKAGES_FLAG_EOPKG_BIT)) packageCounts->eopkg += getNumElements(baseDir, "/var/lib/eopkg/package", true);
if (!(options->disabled & FF_PACKAGES_FLAG_FLATPAK_BIT)) packageCounts->flatpakSystem += getFlatpakPackages(baseDir, "/var/lib");
if (!(options->disabled & FF_PACKAGES_FLAG_KISS_BIT)) packageCounts->kiss += getNumElements(baseDir, "/var/db/kiss/installed", true);
diff --git a/src/modules/packages/option.h b/src/modules/packages/option.h
index f3954138..a7a9991c 100644
--- a/src/modules/packages/option.h
+++ b/src/modules/packages/option.h
@@ -37,6 +37,7 @@ typedef enum __attribute__((__packed__)) FFPackagesFlags
FF_PACKAGES_FLAG_PISI_BIT = 1ULL << 29,
FF_PACKAGES_FLAG_SOAR_BIT = 1ULL << 30,
FF_PACKAGES_FLAG_KISS_BIT = 1ULL << 31,
+ FF_PACKAGES_FLAG_LEAF_BIT = 1ULL << 32,
FF_PACKAGES_FLAG_FORCE_UNSIGNED = UINT64_MAX,
} FFPackagesFlags;
static_assert(sizeof(FFPackagesFlags) == sizeof(uint64_t), "");
diff --git a/src/modules/packages/packages.c b/src/modules/packages/packages.c
index 5f78a052..5628edd9 100644
--- a/src/modules/packages/packages.c
+++ b/src/modules/packages/packages.c
@@ -147,6 +147,7 @@ bool ffPrintPackages(FFPackagesOptions* options)
FF_PRINT_PACKAGE(mport)
FF_PRINT_PACKAGE(pisi)
FF_PRINT_PACKAGE(soar)
+ FF_PRINT_PACKAGE(leaf)
putchar('\n');
}
@@ -196,6 +197,7 @@ bool ffPrintPackages(FFPackagesOptions* options)
FF_FORMAT_ARG(counts.pisi, "pisi"),
FF_FORMAT_ARG(counts.soar, "soar"),
FF_FORMAT_ARG(counts.kiss, "kiss"),
+ FF_FORMAT_ARG(counts.leaf, "leaf"),
FF_FORMAT_ARG(nixAll, "nix-all"),
FF_FORMAT_ARG(flatpakAll, "flatpak-all"),
FF_FORMAT_ARG(brewAll, "brew-all"),
@@ -435,6 +437,7 @@ bool ffGeneratePackagesJsonResult(FF_MAYBE_UNUSED FFPackagesOptions* options, yy
FF_APPEND_PACKAGE_COUNT(sorcery)
FF_APPEND_PACKAGE_COUNT(winget)
FF_APPEND_PACKAGE_COUNT(xbps)
+ FF_APPEND_PACKAGE_COUNT(leaf)
yyjson_mut_obj_add_strbuf(doc, obj, "pacmanBranch", &counts.pacmanBranch);
return true;
@@ -506,6 +509,7 @@ FFModuleBaseInfo ffPackagesModuleInfo = {
{"Number of pisi packages", "pisi"},
{"Number of soar packages", "soar"},
{"Number of kiss packages", "kiss"},
+ {"Number of leaf packages", "leaf"},
{"Total number of all nix packages", "nix-all"},
{"Total number of all flatpak app packages", "flatpak-all"},
{"Total number of all brew packages", "brew-all"},
+56
View File
@@ -0,0 +1,56 @@
pkgname=jq
pkgver=1.8.1
pkgdesc='Command-line JSON processor'
arch=('x86_64')
homepage='https://jqlang.github.io/jq/'
license=('MIT')
depends=('glibc' 'oniguruma')
makedepends=('autoconf' 'automake' 'bison' 'flex' 'python')
_patches=("jq-1.6-r3-never-bundle-oniguruma.patch")
_patch_sums=("08413ae86ca528083375cf89bdfd84c1")
sources=("${pkgname}-${pkgver}.tar.gz"
${_patches[@]}
)
urls=("https://github.com/jqlang/jq/release/download/${pkgname}-${pkgver/_/}.tar.gz"
${_patches[@]}
)
md5sums=("0df1524fe928528b3c533c69d4ddfa23"
${_patch_sums[@]}
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am
printf "#!/bin/sh\\nprintf '%s'\\n\n" "${pkgver/_/}" > scripts/version
sed -e '/vendor\/oniguruma/d' -i Makefile.am
rm -rf "${srcdir}"/vendor/oniguruma
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
sed -i "s/\[jq_version\]/[${pkgver/_/}]/" configure.ac
autoreconf -fi
}
src_build() {
local conf_args=(
--prefix=/usr
--disable-docs
--enable-valgrind=no
--disable-maintainer-mode
--disable-static
--with-oniguruma
)
./configure "${conf_args[@]}"
}
src_install() {
make DESTDIR="${pkgdir}" prefix=/usr install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,27 @@
diff --git a/Makefile.am b/Makefile.am
index 6344b4e..86d968e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,7 +47,7 @@ AM_YFLAGS = --warnings=all -d
lib_LTLIBRARIES = libjq.la
libjq_la_SOURCES = ${LIBJQ_SRC}
-libjq_la_LIBADD = -lm
+libjq_la_LIBADD = -lm $(onig_LIBS)
libjq_la_LDFLAGS = $(onig_LDFLAGS) -export-symbols-regex '^j[qv]_' -version-info 1:4:0
if WIN32
diff --git a/configure.ac b/configure.ac
index 280694c..d96026e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,6 +249,9 @@ AS_IF([test "x$with_oniguruma" != xno], [
onig_CFLAGS="-I${with_oniguruma}/include"
onig_LDFLAGS="-L${with_oniguruma}/lib"
])
+ ], [
+ # with_oniguruma == yes
+ PKG_CHECK_MODULES([onig], [oniguruma])
])
AS_IF([test "x$build_oniguruma" = xno], [
# check for ONIGURUMA library, either in /usr or where requested
+39
View File
@@ -0,0 +1,39 @@
pkgname="make-ca"
pkgver=1.16.1
pkgdesc="Mozilla's set of trusted CA certificates"
homepage="https://firefox-source-docs.mozilla.org/security/nss/index.html"
arch=(x86_64)
license=(MPL-2.0)
sources=("${pkgname}-${pkgver}.tar.gz"
"pythoncerts.sh"
)
urls=("https://github.com/lfs-book/make-ca/archive/v${pkgver}/${sources[0]}"
"pythoncerts.sh"
)
md5sums=("bf9cea2d24fc5344d4951b49f275c595"
"e04ade84d0092e803bcba2b70ae349d3"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
:
}
src_check() {
:
}
src_install() {
make DESTDIR="${pkgdir}" install &&
install -vdm755 "${pkgdir}"/etc/ssl/local
install -vDm644 ${distdir}/${sources[1]} ${pkgdir}/etc/profile.d/${sources[1]}
}
src_postinstall() {
/usr/sbin/make-ca -g &&
systemctl enable update-pki.timer
}
+3
View File
@@ -0,0 +1,3 @@
# /etc/profile.d/pythoncerts.sh
export _PIP_STANDALONE_CERT=/etc/pki/tls/certs/ca-bundle.crt
+65
View File
@@ -0,0 +1,65 @@
pkgname=fzf
pkgver=0.67.0
pkgdesc='Command-line fuzzy finder'
arch=('x86_64')
homepage='https://github.com/junegunn/fzf'
license=('MIT')
depends=('bash')
makedepends=('go')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/junegunn/fzf/archive/v${pkgver}.tar.gz")
md5sums=("502f470af95a7dec0dec2d21a1c42427")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -i 's/-w /-w -linkmode external /' Makefile
}
src_build() {
export CGO_LDFLAGS="${LDFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
export FZF_VERSION=${pkgver}
export FZF_REVISION=tarball
make
make bin/fzf
}
src_check() {
export CGO_LDFLAGS="${LDFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go test ./...
}
src_install() {
## Man page
install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
install -Dm644 man/man1/fzf-tmux.1 "$pkgdir"/usr/share/man/man1/fzf-tmux.1
## License
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/fzf/LICENSE
## Binaries
install -dm755 "$pkgdir"/usr/bin
install -m755 bin/fzf-tmux "$pkgdir"/usr/bin/
install -m755 bin/fzf "$pkgdir"/usr/bin/
## Completion and keybindings
install -dm755 "$pkgdir"/usr/share/fzf
install -m644 shell/key-bindings.bash shell/key-bindings.zsh shell/key-bindings.fish "$pkgdir"/usr/share/fzf
install -m755 bin/fzf-preview.sh "$pkgdir"/usr/share/fzf/fzf-preview.sh
install -Dm644 shell/completion.bash "${pkgdir}"/usr/share/bash-completion/completions/fzf
install -Dm644 shell/completion.zsh "${pkgdir}"/usr/share/zsh/site-functions/_fzf
## Vim plugin
install -Dm644 doc/fzf.txt "$pkgdir"/usr/share/vim/vimfiles/doc/fzf.txt
install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim
}
# vim:ft=sh syn=sh et sw=2:
+26 -9
View File
@@ -4,25 +4,35 @@ pkgdesc="A very advanced and programmable command interpreter (shell) for UNIX"
homepage="https://www.zsh.org/" homepage="https://www.zsh.org/"
license=("custom") license=("custom")
sources=("${pkgname}-${pkgver}.tar.xz") sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.zsh.org/pub/zsh-5.9.tar.xz") #urls=("https://www.zsh.org/pub/${sources[0]}")
urls=("https://downloads.sourceforge.net/project/zsh/zsh/${pkgver}/${sources[0]}")
md5sums=("182e37ca3fe3fa6a44f69ad462c5c30e") md5sums=("182e37ca3fe3fa6a44f69ad462c5c30e")
src_prepare() { src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1 tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -e 's/set_from_init_file/texinfo_&/' -i Doc/Makefile.in sed -e 's/set_from_init_file/texinfo_&/' -i Doc/Makefile.in
sed -e 's/^main/int &/' \
-e 's/exit(/return(/' \
-i aczsh.m4 configure.ac &&
sed -e 's/test = /&(char**)/' \
-i configure.ac &&
autoconf
sed 's|/etc/z|/etc/zsh/z|g' -i Doc/*.* sed 's|/etc/z|/etc/zsh/z|g' -i Doc/*.*
} }
src_build() { src_build() {
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc/zsh \ --sysconfdir=/etc/zsh \
--enable-etcdir=/etc/zsh \ --enable-etcdir=/etc/zsh \
--enable-cap \ --enable-cap \
--enable-gdbm \ --enable-gdbm \
--with-term-lib='ncursesw' \ --with-term-lib='ncursesw' \
--enable-multibyte && --enable-multibyte &&
make && make &&
makeinfo Doc/zsh.texi --html -o Doc/html&& makeinfo Doc/zsh.texi --html -o Doc/html&&
makeinfo Doc/zsh.texi --plaintext -o zsh.txt && makeinfo Doc/zsh.texi --plaintext -o zsh.txt &&
@@ -40,3 +50,10 @@ src_install(){
make DESTDIR="${pkgdir}/" htmldir="/usr/share/doc/zsh-5.9/html" install.html && make DESTDIR="${pkgdir}/" htmldir="/usr/share/doc/zsh-5.9/html" install.html &&
install -v -m644 zsh.{html,txt} Etc/FAQ "${pkgdir}/usr/share/doc/zsh-5.9" install -v -m644 zsh.{html,txt} Etc/FAQ "${pkgdir}/usr/share/doc/zsh-5.9"
} }
src_postinstall() {
leaf_add_shell /bin/zsh
}
src_postremove() {
leaf_remove_shell /bin/zsh
}
+36
View File
@@ -0,0 +1,36 @@
pkgname=asciidoc
pkgver=10.2.1
pkgdesc="A plain text human readable/writable document format"
homepage="https://asciidoc.org/ https://github.com/asciidoc-py/asciidoc-py/"
license=("GPL-2")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/asciidoc-py/asciidoc-py/releases/download/${pkgver}/${sources[0]}")
sha512sums=("02d064aab8dfb05af4ae49a7c7bd1381156c6c90f95b2494218c80f01c39987cb971d68c533b5519abade77be9832b3fab653d8ae2ca7bb682c5bb720612839f")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -i \
-e '/^build: /a \\tpython3 -m build -wn' \
-e '/pip install/{s#pip install --root#installer -d#;s#\.$#dist/*.whl#}' \
Makefile.in
# https://github.com/asciidoc-py/asciidoc-py/issues/234
autoconf
}
src_build() {
./configure \
--docdir /usr/share/$pkgname \
--prefix /usr
make build
}
src_install() {
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" docs
install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
# ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
}
# vim:ft=sh syn=sh et sw=2:
+149
View File
@@ -0,0 +1,149 @@
pkgname=docbook-xml
pkgver=4.5
pkgdesc="A widely used XML scheme for writing documentation and help"
homepage="https://www.oasis-open.org/docbook/"
arch=(any)
license=(MIT)
sources=("${pkgname}-${pkgver}.zip")
urls=("https://www.docbook.org/xml/${pkgver}/${sources[0]}")
md5sums=("03083e288e87a7e829e437358da7ef9e")
_compat_4x=(4.1.2 4.2 4.3 4.4)
src_prepare() {
local z="${distdir}/${sources[0]}"
bsdtar -xf "$z"
}
src_install() {
local dtd_dir="${pkgdir}/usr/share/xml/docbook/xml-dtd-${pkgver}"
local etc_xml="${pkgdir}/etc/xml"
local cat_docbook="${etc_xml}/docbook"
install -v -d -m755 "$dtd_dir"
cp -v -af --no-preserve=ownership docbook.cat *.dtd ent/ *.mod "$dtd_dir"
install -v -d -m755 "$etc_xml"
xmlcatalog --noout --create "$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V${pkgver}//EN" \
"http://www.oasis-open.org/docbook/xml/${pkgver}/docbookx.dtd" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML CALS Table Model V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/calstblx.dtd" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/soextblx.dtd" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Information Pool V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/dbpoolx.mod" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/dbhierx.mod" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML HTML Tables V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/htmltblx.mod" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Notations V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/dbnotnx.mod" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Character Entities V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/dbcentx.mod" \
"$cat_docbook"
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Additional General Entities V${pkgver}//EN" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}/dbgenent.mod" \
"$cat_docbook"
xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/${pkgver}" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}" \
"$cat_docbook"
xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/${pkgver}" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}" \
"$cat_docbook"
for DTDVERSION in "${_compat_4x[@]}"; do
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V${DTDVERSION}//EN" \
"http://www.oasis-open.org/docbook/xml/${DTDVERSION}/docbookx.dtd" \
"$cat_docbook"
xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/${DTDVERSION}" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}" \
"$cat_docbook"
xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/${DTDVERSION}" \
"file:///usr/share/xml/docbook/xml-dtd-${pkgver}" \
"$cat_docbook"
done
# Fix permissions
find "$pkgdir" -type f -exec chmod -c a-x {} +
chmod -Rc u=rwX,go=rX "$pkgdir"
}
src_postinstall() {
install -v -d -m755 /etc/xml
if [ ! -e /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//ENTITIES DocBook XML" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook XML" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
for DTDVERSION in "${_compat_4x[@]}"; do
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/${DTDVERSION}/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/${DTDVERSION}/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
done
}
src_postremove() {
if [ -e /etc/xml/catalog ]; then
xmlcatalog --noout --del "file:///etc/xml/docbook" /etc/xml/catalog
fi
}
+103
View File
@@ -0,0 +1,103 @@
pkgname=docbook-xsl-nons
pkgver=1.79.2
_lfsver=12.4
pkgdesc='XML stylesheets for Docbook-xml transformations'
homepage='https://docbook.org/'
arch=(any)
license=(LicenseRef-docbook-XSL)
sources=("${pkgname}-${pkgver}.tar.bz2"
"${pkgname}-${pkgver}-stack_fix-1.patch"
)
urls=("https://github.com/docbook/xslt10-stylesheets/releases/download/release/${pkgver}/${sources[0]}"
"https://www.linuxfromscratch.org/patches/blfs/${_lfsver}/${sources[1]}"
)
md5sums=("2666d1488d6ced1551d15f31d7ed8c38"
"8457bd6ee6b06fbc6dc540e1b096f766"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${distdir}/${sources[1]}
}
src_install() {
install -v -m755 -d ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}
cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \
highlighting html htmlhelp images javahelp lib manpages params \
profiling roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 xhtml5 \
${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}
ln -s VERSION ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}/VERSION.xsl
install -v -m644 -D README \
${pkgdir}/usr/share/doc/docbook-xsl-nons-${pkgver}/README.txt
install -v -m644 RELEASE-NOTES* NEWS* \
${pkgdir}/usr/share/doc/docbook-xsl-nons-${pkgver}
}
src_postinstall() {
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \
"http://cdn.docbook.org/release/xsl-nons/${pkgver}" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"https://cdn.docbook.org/release/xsl-nons/${pkgver}" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://cdn.docbook.org/release/xsl-nons/${pkgver}" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"https://cdn.docbook.org/release/xsl-nons/${pkgver}" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"https://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"https://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-${pkgver}" \
/etc/xml/catalog
}
src_postremove() {
if [ -e /etc/xml/catalog ]; then
xmlcatalog --noout --del "/usr/share/xml/docbook/xsl-stylesheets-${pkgver}-nons" /etc/xml/catalog
fi
}
+35
View File
@@ -0,0 +1,35 @@
pkgname=iso-codes
pkgver=4.18.0
pkgdesc='Lists of the country, language, and currency names'
homepage='https://salsa.debian.org/iso-codes-team/iso-codes'
arch=(any)
license=(LGPL-2.1-only)
makedepends=(meson python)
sources=("${pkgname}-v${pkgver}.tar.gz")
urls=("https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${pkgver}/${sources[0]}")
sha512sums=("4f9766b3e73a155df3213d5684f0b4c2aefe3efcdc30b2a969913a90deb73e1cbd32a63c2f00c736517c1feed790944d12155410d3c4d381749c39ecd1f71f96")
options=('!strip')
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
# local meson_args=(
# --prefix=/usr
# --buildtype=release
# --wrap-mode=nodownload
# -D python.bytecompile=1
# )
# meson setup build "${meson_args[@]}"
# meson compile -C build
./configure --prefix=/usr
make
}
src_install() {
# meson install -C build --destdir "$pkgdir"
make install LN_S='ln -sfn' DESTDIR="${pkgdir}"
}
# vim:ft=sh syn=sh et sw=2:
+31
View File
@@ -0,0 +1,31 @@
pkgname=scdoc
pkgver=1.9.7
license=('MIT')
pkgdesc='Tool for generating roff manual pages'
arch=('x86_64')
homepage='https://git.sr.ht/~sircmpwn/scdoc/'
depends=()
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://git.sr.ht/~sircmpwn/scdoc/archive/${pkgver}.tar.gz")
md5sums=("98d68f5d4f1884fab830e23728118678")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -e 's/-Werror//' \
-i Makefile || leaf_error 'Failed to patch Makefile'
}
src_build() {
make PREFIX=/usr LDFLAGS="$LDFLAGS"
}
src_check() {
make -k check
}
src_install() {
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:ft=sh syn=sh et sw=2:
+34
View File
@@ -0,0 +1,34 @@
pkgname=xmlto
pkgver=0.0.29
pkgdesc="Convert xml to many other formats"
arch=('x86_64')
homepage="https://pagure.io/xmlto/"
license=('GPL')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://pagure.io/xmlto/archive/${pkgver}/${sources[0]}")
md5sums=("556f2642cdcd005749bd4c08bc621c37")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
autoreconf -fiv
./configure BASH=/bin/bash \
LINKS="/usr/bin/links" \
--prefix=/usr \
--mandir=/usr/share/man \
--with-webbrowser=links
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" install
}
+48
View File
@@ -0,0 +1,48 @@
pkgname=glib
pkgver=2.84.4
_basever=2.84
_lfsver=12.4
pkgdesc="Low level core library"
homepage="https://gitlab.gnome.org/GNOME/glib"
license=(LGPL-2.1-or-later)
arch=(x86_64)
sources=("${pkgname}-${pkgver}.tar.xz"
"glib-skip_warnings-1.patch"
)
_gnomeurl="https://download.gnome.org/sources"
urls=("${_gnomeurl}/${pkgname}/${_basever}/${sources[0]}"
"https://www.linuxfromscratch.org/patches/blfs/${_lfsver}/${sources[2]}"
)
md5sums=("5655d0ff809b98dd77c02490609fadde"
"729287ad0c60b5b2d6ca9ec4a19d8cec"
)
export GLIB_LOG_LEVEL=4
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${distdir}/${sources[1]}
}
src_build() {
# Produce more debug info: GLib has a lot of useful macros
CFLAGS+=" -g3"
CXXFLAGS+=" -g3"
meson setup build \
--prefix=/usr \
--buildtype=release \
-D introspection=disabled \
-D glib_debug=disabled \
-D man-pages=enabled \
-D sysprof=disabled &&
meson compile -C build
}
src_check() {
leaf_noop
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
+22
View File
@@ -0,0 +1,22 @@
pkgname=go-bootstrap
pkgver=1.22.12
homepage="https://golang.org"
pkgdesc="Binary bootstrap package for dev-lang/go"
license=(BSD)
sources=("${pkgname}-${pkgver}-linux-amd64.tbz")
urls=("https://dev.gentoo.org/~williamh/dist/${sources[0]}")
md5sums=("14351f5bc7ca9680dec82ba7b02ee09b")
options=(!strip)
src_prepare() {
tar -xaf ${distdir}/${sources[0]}
}
src_install() {
mkdir -pv "${pkgdir}/usr/lib"
mv go-*-bootstrap "${pkgdir}/usr/lib/go-bootstrap"
rm -fr $(find "${pkgdir}"/usr/lib/go-bootstrap -iname testdata -type d -print)
}
# vim:ft=sh syn=sh et sw=2:
+35
View File
@@ -0,0 +1,35 @@
pkgname=libva
pkgver=2.22.0
pkgrel=1
pkgdesc='Video Acceleration (VA) API for Linux'
arch=(x86_64)
url=https://01.org/linuxmedia/vaapi
license=(MIT)
depends=(
libdrm
wayland
)
makedepends=(
meson
)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/intel/libva/archive/${pkgver}/${sources[0]}")
md5sums=("8dba13313d724b5e930f06e65b7437e2")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
meson setup --prefix=/usr \
--buildtype=release \
build
meson compile -C build
}
src_install() {
meson install -C build --destdir "${pkgdir}"
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
}
# vim:ft=sh syn=sh et sw=2:
+35
View File
@@ -0,0 +1,35 @@
pkgname=cmake
pkgver=4.1.0
_basever="${pkgver%.*}"
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
homepage="https://www.cmake.org/"
license=('custom')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://cmake.org/files/v${_basever}/${sources[0]}")
md5sums=("80ae27faba5068c8ec12c77bf00e6db3")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
}
src_build() {
./bootstrap --prefix=/usr \
--system-libs \
--mandir=/share/man \
--no-system-jsoncpp \
--no-system-cppdap \
--no-system-librhash \
--docdir=/share/doc/${pkgname}-${pkgver} &&
make
}
src_check() {
bin/ctest -j${PARALLEL_JOBS}
}
src_install() {
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/$pkgname
}
+19
View File
@@ -0,0 +1,19 @@
pkgname=gtk-doc-am
pkgbase=gtk-doc
pkgver=1.34.0
pkgdesc="Automake files from gtk-doc"
homepage="https://gitlab.gnome.org/GNOME/gtk-doc"
licenses=("GPL-2+" "FDL-1.1")
sources=("${pkgbase}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgbase}/${pkgver%.*}/${sources[0]}")
sha512sums=("d962fe31949b5f7c70122c7ebbd98f4d21725697804bf5dd75fd7a6662753a91c9350fd1e8bed22a58a957b173f35e200fcbb4c7c2ebc45ccbc0db2e916b27ea")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_install() {
install -vDm644 buildsystems/autotools/gtk-doc.m4 -t "${pkgdir}/usr/share/aclocal"
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,26 @@
pkgname=netsurf-buildsystem
_name=buildsystem
pkgver=1.10
pkgdesc="Build system used for netsurf and its libraries"
homepage="https://www.netsurf-browser.org"
license=("MIT")
sources=("${_name}-${pkgver}.tar.gz")
urls=("https://download.netsurf-browser.org/libs/releases/${sources[0]}")
sha512sums=("0b0f9114567e5c0807bbf066f1c507f386dfb43bf993e3fe487b3c77edc6cee8ea573ca1105558e48b78b2c97857791fe1fe65af8e95fa0f4e205ef701677670")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools"
}
src_build() {
sed -i 's:-Werror::' Makefile
make PREFIX=/usr #COMPONENT_TYPE=lib-shared
}
src_install() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
# vim:ft=sh syn=sh et sw=2:
+36
View File
@@ -0,0 +1,36 @@
pkgname=abseil-cpp
pkgver=20250814.0
pkgdesc="Collection of C++ library code designed to augment the C++ standard library"
arch=('x86_64')
homepage='https://abseil.io'
license=('Apache-2.0')
depends=('gcc-libs' 'glibc')
makedepends=('cmake')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/abseil/abseil-cpp/archive/${pkgver}.tar.gz")
md5sums=("016feacd6a6b3b9a47ab844e61f4f7bd")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_CXX_STANDARD=17
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=Release
-D BUILD_SHARED_LIBS=ON
-D ABSL_ENABLE_INSTALL="yes"
-D ABSL_USE_EXTERNAL_GOOGLETEST="yes"
-D ABSL_BUILD_TEST_HELPERS=OFF
-D ABSL_BUILD_TESTING=OFF
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
+33
View File
@@ -0,0 +1,33 @@
pkgname=atkmm
pkgver=2.28.4
_ver=${pkgver%.*}
slot="0"
pkgdesc="C++ interface for the ATK library"
homepage="https://gtkmm.gnome.org/en/index.html"
licenses=("LGPL-2.1+")
depends=(glibmm:2 at-spi2-core libsigc++:2)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
sha512sums=("30a714971234aebf06a04abeff5fc3b6951b56130aaddbd1a92856b3fb87cf9ba3c34539465b7f0905f871d763239642efe7904b24f33f11e57bf013e4bca533")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D build-documentation=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+42
View File
@@ -0,0 +1,42 @@
pkgname=cairomm
pkgver=1.14.5
slot="0"
pkgdesc="C++ bindings for Cairo"
homepage="https://www.cairographics.org/cairomm/"
arch=(x86_64)
license=(LGPL MPL)
depends=(
cairo
libsigc++:2
)
makedepends=(
meson
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.cairographics.org/releases/${sources[0]}")
sha512sums=("19e5f84f6167c1641b27545c3af4e780b6a072513322adc6296577e2d0ebcffe933afd15c32117a203394e9f5f28734820aaf1802dfdeb35ff2a657f140570b0")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D build-documentation=false
-D build-examples=false
-D build-tests=false
-D boost-shared=true
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+60
View File
@@ -0,0 +1,60 @@
pkgname=eigen
pkgver=3.4.0
pkgdesc='Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra (legacy version)'
arch=(any)
homepage='https://eigen.tuxfamily.org'
license=(MPL-2.0 Apache-2.0
BSD-3-Clause Minpack
'LGPL-2.1-only OR LGPL-2.1-or-later')
makedepends=(cmake)
sources=("${pkgname}-${pkgver}.tar.bz2"
"eigen-3.4.0-cxxstandard.patch"
)
urls=("https://gitlab.com/lib${pkgname}/${pkgname}/-/archive/${pkgver}/${sources[0]}"
"eigen-3.4.0-cxxstandard.patch"
)
md5sums=("132dde48fe2b563211675626d29f1707"
"baa6b8689c99421cd928271aa1e5bb9e"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${filedir}/${sources[1]}
sed \
-e "/add_subdirectory(bench\/spbench/s/^/#DONOTCOMPILE /g" \
-e "/add_subdirectory(demos/s/^/#DONOTCOMPILE /g" \
-i CMakeLists.txt
# no test
sed \
-e "/add_subdirectory(test/s/^/#DONOTCOMPILE /g" \
-e "/add_subdirectory(scripts/s/^/#DONOTCOMPILE /g" \
-e "/add_subdirectory(failtest/s/^/#DONOTCOMPILE /g" \
-e "/add_subdirectory(blas/s/^/#DONOTCOMPILE /g" \
-e "/add_subdirectory(lapack/s/^/#DONOTCOMPILE /g" \
-i CMakeLists.txt
}
src_build() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr
-DBUILD_SHARED_LIBS=yes
-DBUILD_TESTING=OFF
-DEIGEN_BUILD_DOC=OFF
-DEIGEN_BUILD_PKGCONFIG=yes
)
cmake -B build "${mycmakeargs[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
# install custom licenses
install -Dm644 COPYING.* -t "$pkgdir/usr/share/licenses/${pkgname}3"
}
# vim:ft=sh syn=sh et sw=2:
+108
View File
@@ -0,0 +1,108 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,19 +74,9 @@ macro(ei_add_cxx_compiler_flag FLAG)
endif()
endmacro()
-check_cxx_compiler_flag("-std=c++11" EIGEN_COMPILER_SUPPORT_CPP11)
-
-if(EIGEN_TEST_CXX11)
- set(CMAKE_CXX_STANDARD 11)
- set(CMAKE_CXX_EXTENSIONS OFF)
- if(EIGEN_COMPILER_SUPPORT_CPP11)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- endif()
-else()
- #set(CMAKE_CXX_STANDARD 03)
- #set(CMAKE_CXX_EXTENSIONS OFF)
- ei_add_cxx_compiler_flag("-std=c++03")
-endif()
+set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
+set(CMAKE_CXX_EXTENSIONS OFF)
# Determine if we should build shared libraries on this platform.
get_cmake_property(EIGEN_BUILD_SHARED_LIBS TARGET_SUPPORTS_SHARED_LIBS)
@@ -157,7 +157,6 @@ if(NOT MSVC)
ei_add_cxx_compiler_flag("-Wshorten-64-to-32")
ei_add_cxx_compiler_flag("-Wlogical-op")
ei_add_cxx_compiler_flag("-Wenum-conversion")
- ei_add_cxx_compiler_flag("-Wc++11-extensions")
ei_add_cxx_compiler_flag("-Wdouble-promotion")
# ei_add_cxx_compiler_flag("-Wconversion")
--- a/Eigen/src/Core/util/Macros.h
+++ b/Eigen/src/Core/util/Macros.h
@@ -37,7 +37,7 @@
// Expected values are 03, 11, 14, 17, etc.
// By default, let's use an arbitrarily large C++ version.
#ifndef EIGEN_MAX_CPP_VER
-#define EIGEN_MAX_CPP_VER 99
+#define EIGEN_MAX_CPP_VER 14
#endif
/** Allows to disable some optimizations which might affect the accuracy of the result.
--- a/doc/examples/CMakeLists.txt
+++ b/doc/examples/CMakeLists.txt
@@ -14,7 +14,3 @@ foreach(example_src ${examples_SRCS})
)
add_dependencies(all_examples ${example})
endforeach()
-
-if(EIGEN_COMPILER_SUPPORT_CPP11)
-ei_add_target_property(nullary_indexing COMPILE_FLAGS "-std=c++11")
-endif()
\ No newline at end of file
diff --git a/doc/snippets/CMakeLists.txt b/doc/snippets/CMakeLists.txt
index 65f195a..4cb18c8 100644
--- a/doc/snippets/CMakeLists.txt
+++ b/doc/snippets/CMakeLists.txt
@@ -15,9 +15,6 @@ foreach(snippet_src ${snippets_SRCS})
if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
target_link_libraries(${compile_snippet_target} ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
endif()
- if(${snippet_src} MATCHES "cxx11")
- set_target_properties(${compile_snippet_target} PROPERTIES COMPILE_FLAGS "-std=c++11")
- endif()
if(${snippet_src} MATCHES "deprecated")
set_target_properties(${compile_snippet_target} PROPERTIES COMPILE_FLAGS "-DEIGEN_NO_DEPRECATED_WARNING")
endif()
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -399,7 +399,6 @@ if(CUDA_FOUND)
set(CUDA_NVCC_FLAGS "-ccbin ${CMAKE_C_COMPILER}" CACHE STRING "nvcc flags" FORCE)
endif()
if(EIGEN_TEST_CUDA_CLANG)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
string(APPEND CMAKE_CXX_FLAGS " --cuda-path=${CUDA_TOOLKIT_ROOT_DIR}")
foreach(GPU IN LISTS EIGEN_CUDA_COMPUTE_ARCH)
string(APPEND CMAKE_CXX_FLAGS " --cuda-gpu-arch=sm_${GPU}")
--- a/unsupported/test/CMakeLists.txt
+++ b/unsupported/test/CMakeLists.txt
@@ -59,7 +59,7 @@ find_package(MPREAL)
if(MPREAL_FOUND AND EIGEN_COMPILER_SUPPORT_CPP11)
ei_add_property(EIGEN_TESTED_BACKENDS "MPFR C++, ")
include_directories(${MPREAL_INCLUDES})
- ei_add_test(mpreal_support "-std=c++11" "${MPREAL_LIBRARIES}" )
+ ei_add_test(mpreal_support "-std=c++14" "${MPREAL_LIBRARIES}" )
else()
ei_add_property(EIGEN_MISSING_BACKENDS "MPFR C++, ")
endif()
@@ -308,7 +308,6 @@ if(CUDA_FOUND AND EIGEN_TEST_CUDA)
set(CUDA_NVCC_FLAGS "-ccbin ${CMAKE_C_COMPILER}" CACHE STRING "nvcc flags" FORCE)
endif()
if(EIGEN_TEST_CUDA_CLANG)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
string(APPEND CMAKE_CXX_FLAGS " --cuda-path=${CUDA_TOOLKIT_ROOT_DIR}")
foreach(ARCH IN LISTS EIGEN_CUDA_COMPUTE_ARCH)
string(APPEND CMAKE_CXX_FLAGS " --cuda-gpu-arch=sm_${ARCH}")
--- a/doc/special_examples/CMakeLists.txt
+++ b/doc/special_examples/CMakeLists.txt
@@ -23,7 +23,6 @@ if(EIGEN_COMPILER_SUPPORT_CPP11)
add_executable(random_cpp11 random_cpp11.cpp)
target_link_libraries(random_cpp11 ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
add_dependencies(all_examples random_cpp11)
- ei_add_target_property(random_cpp11 COMPILE_FLAGS "-std=c++11")
add_custom_command(
TARGET random_cpp11
+35
View File
@@ -0,0 +1,35 @@
pkgname=glaze
pkgver=5.5.4
pkgdesc='An Extremely fast, In-Memory JSON and Interface Library for Modern C++'
arch=(any)
homepage="https://github.com/stephenberry/$pkgname"
license=(MIT)
makedepends=(cmake)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("${homepage}/archive/v$pkgver/${sources[0]}")
md5sums=("de1e435a1bb0f40f08286086e1f22da9")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_SKIP_INSTALL_RULES=OFF
-D glaze_DEVELOPER_MODE=ON
-D glaze_ENABLE_FUZZING=OFF
-D glaze_BUILD_EXAMPLES=OFF
-D BUILD_TESTING=OFF
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:ft=sh syn=sh et sw=2:
+46
View File
@@ -0,0 +1,46 @@
pkgname=glibmm
pkgver=2.66.8
_ver=${pkgver%.*}
pkgdesc="C++ bindings for GLib"
homepage="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(
gcc
glib:2
glibc
libsigc++:2
)
makedepends=(
clang
meson
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
sha512sums=("4ebf203324d3ee95c47012915efb39d4dc59eb7a6f337e7b8c7c0b3589574b07967974363931b0d4159618f88178b04715b2c359c3dc3f67a7781bfac0d9f277")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D warnings=min
-D build-deprecated-api=true
-D build-documentation=false
-D debug-refcounting=false
-D build-examples=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+50
View File
@@ -0,0 +1,50 @@
pkgname=gtkmm
pkgver=3.24.10
_ver=${pkgver%.*}
slot="3.0"
pkgdesc="C++ bindings for GTK+ 3"
homepage="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(
atkmm:0
cairomm:0
gcc
gdk-pixbuf:2
glib:2
glibc
glibmm:2
gtk+:3
libsigc++:2
pangomm:1.4
libepoxy
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
sha512sums=("d7478b66b94924e1457b1a6b4a46ee8027361ae1db0b3e203019957e4e591220de3a12c11d34cc5d381e707435c0cfe5eae12d620cd8db0e56a0485c39bd7abb")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D build-atkmm-api=true
-D build-demos=false
-D build-documentation=false
-D build-tests=false
-D build-x11-api=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+38
View File
@@ -0,0 +1,38 @@
pkgname=highway
pkgver=1.3.0
pkgdesc='A C++ library that provides portable SIMD/vector intrinsics'
arch=('x86_64')
url='https://github.com/google/highway/'
license=('Apache-2.0 AND BSD-3-Clause')
depends=(
'gcc'
'glibc'
)
makedepends=('cmake')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/google/highway/archive/refs/tags/${pkgver}.tar.gz")
md5sums=("6c913a4c4ba849a3306d45318f66078d")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=Release
-D BUILD_TESTING=false
-D HWY_ENABLE_TESTS=false
-D HWY_WARNINGS_ARE_ERRORS=OFF
-D BUILD_SHARED_LIBS:BOOL='ON'
)
cmake -B build ${cmake_args[@]}
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
install -D -m644 "LICENSE-BSD3" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:ft=sh syn=sh et sw=2:
+34
View File
@@ -0,0 +1,34 @@
pkgname=pangomm
pkgver=2.46.4
_ver=${pkgver%.*}
pkgdesc="C++ interface for pango"
homepage="https://gtkmm.gnome.org/en/index.html"
licenses=("LGPL-2.1+")
slot=1.4
depends=(cairomm:0 glibmm:2 libsigc++:2 pango)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
sha512sums=("e4e57b835af270af9b98ae3feb25087cb8f8ab9b0028195db3d2dbf48df360de1f92c4e7c9dfba9a80d4a6aa47234b3112eea52586328386bbc0eb0d5cc09856")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D maintainer-mode=false
-D build-documentation=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+32
View File
@@ -0,0 +1,32 @@
pkgname=sdbus-c++
pkgver=2.1.0
pkgdesc="High-level C++ D-Bus library"
homepage="https://github.com/Kistler-Group/sdbus-cpp"
license=("LGPL-2.1+" "Nokia-Qt-LGPL-Exception-1.1")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/Kistler-Group/sdbus-cpp/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=("4247d49f0d5231e2768c0c96fa9c266bbcc340292c9c3d748f9c37ff992b82301faea798300f916e9a5c992d77adfe56186866c91a4c7d4157750ff09ba5a047")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D SDBUSCPP_BUILD_CODEGEN=false
-D SDBUSCPP_BUILD_DOCS=yes
-D SDBUSCPP_BUILD_DOXYGEN_DOCS=false
-D SDBUSCPP_BUILD_LIBSYSTEMD=no
-D SDBUSCPP_BUILD_TESTS=false
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
+38
View File
@@ -0,0 +1,38 @@
pkgname=tomlplusplus
pkgver=3.4.0
pkgdesc="Header-only TOML config file parser and serializer for C++17"
arch=(x86_64)
url="https://marzer.github.io/tomlplusplus/"
license=(MIT)
depends=(
gcc
glibc
)
makedepends=(cmake meson)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/marzer/tomlplusplus/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=("c1f32ced14311fe949b9ce7cc3f7a867")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
-D build_lib=true
-D generate_cmake_config=true
-D use_vendored_libs=true
-D build_tests=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
# vim:ft=sh syn=sh et sw=2:
+51
View File
@@ -0,0 +1,51 @@
pkgname="sqlite"
pkgver=3.50.4
_srcver=$(echo "$pkgver" | awk -F. '{ printf "%d%02d%02d00", $1, $2, $3 }')
_docver=${_srcver}
#_docver=3440000
pkgdesc="A C library that implements an SQL database engine"
arch=('x86_64')
license=('LicenseRef-Sqlite')
homepage="https://www.sqlite.org/"
sources=("sqlite-autoconf-${_srcver}.tar.gz"
"sqlite-doc-${_docver}.zip"
)
urls=("https://sqlite.org/2025/${sources[0]}"
"https://sqlite.org/2025/${sources[1]}"
)
md5sums=("d74bbdca4ab1b2bd46d3b3f8dbb0f3db"
"faa12e794bcc37ba275fd6268317eb87"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
unzip -q ${distdir}/${sources[1]}
}
src_build() {
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CPPFLAGS="${CPPFLAGS} \
-D SQLITE_ENABLE_COLUMN_METADATA=1 \
-D SQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-D SQLITE_ENABLE_DBSTAT_VTAB=1 \
-D SQLITE_SECURE_DELETE=1"
./configure --prefix=/usr \
--disable-static \
--enable-fts{4,5} \
CPPFLAGS="-D SQLITE_ENABLE_COLUMN_METADATA=1 \
-D SQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-D SQLITE_ENABLE_DBSTAT_VTAB=1 \
-D SQLITE_SECURE_DELETE=1" &&
make
}
src_check() {
:
}
src_install() {
make DESTDIR="${pkgdir}" install
install -v -m755 -d ${pkgdir}/usr/share/doc/sqlite-${pkgver} &&
cp -v -R sqlite-doc-${_docver}/* ${pkgdir}/usr/share/doc/sqlite-${pkgver}
}
+38
View File
@@ -0,0 +1,38 @@
pkgname=gdb
pkgver=16.3
pkgdesc='The GNU Debugger'
arch=(x86_64)
homepage='https://www.gnu.org/software/gdb/'
license=(GPL-3.0-or-later LGPL-3.0-or-later)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
md5sums=("f7a7e2d0a6d28622ac69a3623b23876b")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
mkdir build &&
cd build &&
../configure --prefix=/usr \
--with-system-readline \
--with-system-zlib \
--disable-sim \
--with-python=/usr/bin/python3 &&
make &&
cd ..
}
src_check() {
:
}
src_install() {
pushd build
make -C gdb DESTDIR="$pkgdir" install
make -C gdbserver DESTDIR="$pkgdir" install
popd
}
+31
View File
@@ -0,0 +1,31 @@
pkgname=valgrind
pkgver=3.25.1
pkgdesc='Tool to help find memory-management problems in programs'
arch=('x86_64')
license=('GPL-2.0-or-later')
homepage='https://valgrind.org/'
sources=("${pkgname}-${pkgver}.tar.bz2")
urls=("https://sourceware.org/pub/${pkgname}/${sources[0]}")
md5sums=("2b424c9a43aa9bf2840d4989b01ea6e7")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -i 's|/doc/valgrind||' docs/Makefile.in
}
src_build() {
./configure --prefix=/usr \
--enable-lto=yes \
--datadir=/usr/share/doc/valgrind-${pkgver} &&
make
}
src_check() {
make check CPPFLAGS= CFLAGS= CXXFLAGS= LDFLAGS=
}
src_install() {
make DESTDIR="${pkgdir}" install
install -Dm644 docs/*.1 -t "$pkgdir/usr/share/man/man1"
}
+23
View File
@@ -0,0 +1,23 @@
pkgname=duktape
pkgver=2.7.0
pkgdesc='Embeddable Javascript engine'
homepage='https://duktape.org/'
arch=(x86_64)
license=(MIT)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("${homepage}${sources[0]}")
md5sums=("b3200b02ab80125b694bae887d7c1ca6")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -i 's/-Os/-O2/' Makefile.sharedlibrary
}
src_build() {
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr
}
src_install() {
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr DESTDIR="$pkgdir" install
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.txt
}
+70
View File
@@ -0,0 +1,70 @@
pkgname=go
pkgver=1.25.5
pkgrel=1
pkgdesc='Core compiler tools for the Go programming language'
arch=(x86_64)
homepage='https://go.dev/'
options=(!strip)
sources=("go${pkgver}.src.tar.gz")
urls=("https://go.dev/dl/${sources[0]}")
md5sums=("e7441aa32bcc87d3c4aba36665d9d6fd")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
rm -vf src/runtime/{os_plan9.go.orig,os_windows.go.orig,proc.go.orig,vgetrandom_linux.go.orig}
}
src_build() {
export GOARCH=amd64
export GOAMD64=v3 # make sure we're building for the right x86-64 version
export GOROOT_FINAL=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go-bootstrap
# Disable dwarf5 until debugedit catches up
export GOEXPERIMENT=nodwarf5
pushd "${srcdir}"/src
./make.bash -v
popd
}
src_check() {
export GO_TEST_TIMEOUT_SCALE=3
chown -R leaf .
pushd "${srcdir}"/src
# TODO: Disable LSAN tests as it's crashing and we don't want to wait for upstream.
# See: https://github.com/golang/go/issues/74476
chown -R leaf {$HOME,$TMPDIR}
su leaf -c "PATH=$PATH HOME=$HOME TMPDIR=$TMPDIR GO_TEST_TIMEOUT_SCALE=${GO_TEST_TIMEOUT_SCALE} ./run.bash --no-rebuild -v -v -v -k -run '!cmd/cgo/internal/testsanitizers'"
popd
}
src_install() {
install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go" \
"$pkgdir/usr/lib/go/pkg/linux_amd64_"{dynlink,race}
cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
# We can't strip all binaries and libraries,
# as that also strips some testdata directories and breaks the tests.
# Just strip the packaged binaries as a compromise.
strip $STRIP_BINARIES "$pkgdir/usr/lib/go"{/bin/*,/pkg/tool/*/*}
cp -r doc/* "$pkgdir/usr/share/doc/go"
ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
# TODO: Figure out if really needed
rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build
# https://github.com/golang/go/issues/57179
install -Dm644 go.env "$pkgdir/usr/lib/go/go.env"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:ft=sh syn=sh et sw=2:
+30
View File
@@ -0,0 +1,30 @@
pkgname=lua
pkgver=5.4.8
_majorver=${pkgver%.*}
pkgdesc='Powerful lightweight programming language designed for extending applications'
arch=('x86_64')
homepage='https://www.lua.org/'
depends=('readline')
license=('MIT')
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://dev.gentoo.org/~soap/distfiles/${sources[0]}")
sha512sums=("c8001304dc1bb622521282358856e40eb9277a8d0496614211ff8d1865d14fadd8d584d0636831ca5de8ca57462b90e1484701e91b05f3d685c736b9e72905ca")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --with-readline
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2:
+37
View File
@@ -0,0 +1,37 @@
pkgname=nasm
pkgver=3.01
pkgdesc='80x86 assembler designed for portability and modularity'
arch=(x86_64)
homepage='https://www.nasm.us'
license=(BSD-2-Clause)
depends=(glibc zlib)
makedepends=(
diffutils
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${sources[0]}")
md5sums=("8414016d6ad0e113958c29066dfcc550")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure \
--prefix=/usr \
--docdir=/usr/share/doc/${pkgname} \
--htmldir=/usr/share/doc/${pkgname}/html
make
}
src_check() {
make -j1 -C test
}
src_install() {
make DESTDIR="${pkgdir}" install
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/nasm
}
# vim:ft=sh syn=sh et sw=2:
+61
View File
@@ -0,0 +1,61 @@
pkgname=python
pkgver=3.13.7
_pybasever=${pkgver%.*}
pkgdesc="The Python programming language"
license=('PSF-2.0')
homepage="https://www.python.org/"
sources=("Python-${pkgver}.tar.xz"
"${pkgname}-${pkgver}-docs-html.tar.bz2"
"pythondocs.sh"
)
urls=("https://www.python.org/ftp/${pkgname}/${pkgver}/${sources[0]}"
"https://www.python.org/ftp/${pkgname}/doc/${pkgver}/${sources[1]}"
"pythondocs.sh"
)
md5sums=("256cdb3bbf45cdce7499e52ba6c36ea3"
"b84c0d81b2758398bb7f5b7411d3d908"
"6ec60270c2441d78b2bc9eb24709f6e3"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
tar --no-same-owner -xf ${distdir}/${sources[1]}
}
src_build() {
# PGO should be done with -O3
CFLAGS="${CFLAGS/-O2/-O3}"
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--without-ensurepip \
--enable-optimizations
make
}
src_check() {
LD_LIBRARY_PATH="${srcdir}":${LD_LIBRARY_PATH}\
make test TESTOPTS="--timeout 120"
}
src_install() {
# PGO should be done with -O3
CFLAGS="${CFLAGS/-O2/-O3} -ffat-lto-objects"
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" install
ln -s python3 "${pkgdir}"/usr/bin/python
ln -s python3-config "${pkgdir}"/usr/bin/python-config
ln -s idle3 "${pkgdir}"/usr/bin/idle
ln -s pydoc3 "${pkgdir}"/usr/bin/pydoc
ln -s python${_pybasever}.1 "${pkgdir}"/usr/share/man/man1/python.1
# doc
install -v -dm755 "${pkgdir}/usr/share/doc/python-${pkgver}/html"
cp -R --no-preserve=mode python-${pkgver}-docs-html/* \
"${pkgdir}/usr/share/doc/python-${pkgver}/html"
ln -svfn python-${pkgver} "${pkgdir}/usr/share/doc/python-3"
install -v -dm755 "${pkgdir}/etc/profile.d/"
install -vm644 ${distdir}/${sources[2]} "${pkgdir}/etc/profile.d/${sources[2]}"
}
+3
View File
@@ -0,0 +1,3 @@
# /etc/profile.d/pythondocs.sh
# this file belongs to dev-lang/python
export PYTHONDOCS=/usr/share/doc/python-3/html
+131
View File
@@ -0,0 +1,131 @@
pkgname=rust
pkgver=1.89.0
pkgdesc="Systems programming language focused on safety, speed and concurrency"
homepage=https://www.rust-lang.org/
arch=(x86_64)
license=("Apache-2.0 OR MIT")
sources=("rustc-${pkgver}-src.tar.xz")
urls=("https://static.rust-lang.org/dist/${sources[0]}")
md5sums=("982f087479302e6d91432efc81852b00")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
local clangdir
clangdir="$(clang -print-resource-dir)"
cat << EOF > bootstrap.toml
# See bootstrap.toml.example for more possible options,
# and see src/bootstrap/defaults/bootstrap.dist.toml for a few options
# automatically set when building from a release tarball
# (unfortunately, we have to override many of them).
# Tell x.py the editors have reviewed the content of this file
# and updated it to follow the major changes of the building system,
# so x.py will not warn us to do such a review.
change-id = 142379
profile = "dist"
[llvm]
#from gentoo
download-ci-llvm = false
optimize = true
release-debuginfo = false
# When using system llvm prefer shared libraries
link-shared = true
# If building the shipped LLVM source, only enable the x86 target
# instead of all the targets supported by LLVM.
targets = "X86"
[build]
description = "LFS 12.4-systemd ${pkgname}-${pkgver}"
# Omit docs to save time and space (default is to build them).
docs = false
# Do not query new versions of dependencies online.
locked-deps = true
# Specify which extended tools (those from the default install).
tools = ["cargo", "clippy", "rustdoc", "rustfmt"]
sanitizers = true
profiler = true
[install]
prefix = "/usr"
[rust]
channel = "stable"
# Enable the same optimizations as the official upstream build.
lto = "thin"
codegen-units = 1
# Don't build lld which does not belong to this package and seems not
# so useful for BLFS. Even if it turns out to be really useful we'd build
# it as a part of the LLVM package instead.
lld = false
# Don't build llvm-bitcode-linker which is only useful for the NVPTX
# backend that we don't enable.
llvm-bitcode-linker = false
[dist]
compression-formats = ["gz"]
compression-profile = "fast"
[target.x86_64-unknown-linux-gnu]
cc = "/usr/bin/gcc"
cxx = "/usr/bin/g++"
ar = "/usr/bin/gcc-ar"
ranlib = "/usr/bin/gcc-ranlib"
llvm-config = "/usr/bin/llvm-config"
#optimized-compiler-builtins = "$clangdir/lib/linux/libclang_rt.builtins-x86_64.a"
EOF
}
src_build() {
leaf_clear_flags
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
./x.py build
}
src_check() {
leaf_record_message "Some tests are known to fail. See BLFS handbook."
set +e
./x.py test --verbose --no-fail-fast | tee rustc-testlog
local -a ps=( "${PIPESTATUS[@]}" )
local rc="${ps[0]}"
grep '^test result:' rustc-testlog | awk '{sum1 += $4; sum2 += $6} END { print sum1 " passed; " sum2 " failed" }'
set -e
return "$rc"
}
src_install() {
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
DESTDIR="${pkgdir}" python ./x.py install -j "${PARALLEL_JOBS}"
cd "${pkgdir}"
rm -v usr/lib/rustlib/{components,install.log,rust-installer-version,uninstall.sh}
rm -v usr/lib/rustlib/manifest-*
install -dm755 usr/share/bash-completion/completions
mv -v etc/bash_completion.d/cargo usr/share/bash-completion/completions
rm -rfv etc/
# licenses for main rust package
local ldir="usr/share/licenses/rust" f d
mkdir -p "$ldir"
for f in usr/share/doc/*/{COPYRIGHT,LICENSE}*; do
d="$(dirname "$f")"
case $f in
*/LICENSE-APACHE) rm -v "$f" ;;
*) mv -v "$f" "$ldir/${f##*/}.${d##*/}" ;;
esac
rmdir -p --ignore-fail-on-non-empty "$d"
done
}
+34
View File
@@ -0,0 +1,34 @@
pkgname=sassc
pkgver=3.6.2
pkgrel=5
pkgdesc='C implementation of Sass CSS preprocessor'
arch=(x86_64)
url='https://sass-lang.com'
license=(MIT)
depends=(libsass)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/sass/sassc/archive/${pkgver}.tar.gz")
sha256sums=("608dc9002b45a91d11ed59e352469ecc05e4f58fc1259fc9a9f5b8f0f8348a03")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
[[ -f VERSION ]] || echo "${pkgver}" > VERSION
autoreconf -i
}
src_build() {
local conf_args=(
--prefix=/usr
--disable-static
--enable-shared
)
./configure "${conf_args[@]}"
make
}
src_install() {
make DESTDIR="$pkgdir" install
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
# vim:ft=sh syn=sh et sw=2:
+49
View File
@@ -0,0 +1,49 @@
pkgname=vala
pkgver=0.56.18
pkgrel=5
pkgdesc='Compiler for the GObject type system'
url='https://wiki.gnome.org/Projects/Vala'
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(
bash
gcc
glib:2
glibc
pkg-config
gobject-introspection
)
makedepends=(
libxslt
)
checkdepends=(
dbus-glib
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
sha512sums=("7ba820942ac40b54a62cbcd8a1d94d5add022b4a2c69e1276fc9fca38361d5878f3f852d270e0a5ef4bca6bd2df3a65f14b410c600b82a46da4123c90a3107e7")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local conf_args=(
--prefix=/usr
#--disable-unversioned
--disable-valadoc
VALAC=:
WEASYPRINT=:
)
./configure "${conf_args[@]}"
make
}
src_install() {
make DESTDIR="$pkgdir" install
install -vDm644 vala.m4 vapigen/vapigen.m4 -t "${pkgdir}/usr/share/aclocal"
install -vDm644 vapigen/Makefile.vapigen -t "${pkgdir}/usr/share/vala"
}
# vim:ft=sh syn=sh et sw=2:
+47
View File
@@ -0,0 +1,47 @@
pkgname=yasm
pkgver=1.3.0
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
arch=('x86_64')
homepage='https://github.com/yasm/yasm'
license=('BSD-2-Clause OR BSD-3-Clause' 'GPL-2.0-only' 'LGPL-2.1-only' 'Artistic-1.0-Perl')
depends=('glibc')
makedepends=('git' 'python' 'xmlto')
sources=("${pkgname}-${pkgver}.tar.gz"
"yasm-1.3.0-fix-modern-c.patch"
)
urls=("https://www.tortall.net/projects/yasm/releases/${sources[0]}"
"yasm-1.3.0-fix-modern-c.patch"
)
md5sums=("fc9e586751ff789b34b1f21d572d96af"
"4632ef400355360368752da974dcc31a"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${filedir}/${sources[1]}
}
src_build() {
CFLAGS+=" -std=gnu17"
./configure --prefix=/usr \
--disable-warnerror \
--disable-python \
--disable-python-bindings \
--enable-nls
make
}
src_check() {
make -j1 check
}
src_install() {
make DESTDIR="${pkgdir}" install
# licenses
install -vDm644 \
-t "$pkgdir/usr/share/licenses/$pkgname" \
{Artistic,BSD}.txt COPYING GNU_*
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,87 @@
https://github.com/yasm/yasm/commit/f79f5e37f0e4b06d5dc303cc219929d7359dd7df
From: Biswapriyo Nath <nathbappai@gmail.com>
Date: Thu, 18 May 2023 03:53:32 +0530
Subject: [PATCH] Fix function declaration warnings with clang (#226)
This fixes the following compiler warnings with clang
tools/genperf/perfect.c:65:6: warning: a function definition without a prototype
is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
frontends/yasm/yasm.c:1379:23: warning: a function declaration without a prototype
is deprecated in all versions of C [-Wstrict-prototypes]
modules/objfmts/elf/elf.c:225:18: warning: a function declaration without a prototype
is deprecated in all versions of C [-Wstrict-prototypes]
--- a/frontends/tasm/tasm.c
+++ b/frontends/tasm/tasm.c
@@ -817,7 +817,7 @@ opt_exe_handler(char *cmd, /*@unused@*/ char *param, int extra)
}
static void
-apply_preproc_builtins()
+apply_preproc_builtins(void)
{
char *predef;
@@ -853,7 +853,7 @@ apply_preproc_standard_macros(const yasm_stdmac *stdmacs)
}
static void
-apply_preproc_saved_options()
+apply_preproc_saved_options(void)
{
constcharparam *cp, *cpnext;
--- a/frontends/yasm/yasm.c
+++ b/frontends/yasm/yasm.c
@@ -1376,7 +1376,7 @@ opt_plugin_handler(/*@unused@*/ char *cmd, char *param,
#endif
static void
-apply_preproc_builtins()
+apply_preproc_builtins(void)
{
char *predef;
@@ -1409,7 +1409,7 @@ apply_preproc_standard_macros(const yasm_stdmac *stdmacs)
}
static void
-apply_preproc_saved_options()
+apply_preproc_saved_options(void)
{
constcharparam *cp, *cpnext;
--- a/modules/objfmts/elf/elf.c
+++ b/modules/objfmts/elf/elf.c
@@ -222,7 +222,7 @@ elf_strtab_entry_set_str(elf_strtab_entry *entry, const char *str)
}
elf_strtab_head *
-elf_strtab_create()
+elf_strtab_create(void)
{
elf_strtab_head *strtab = yasm_xmalloc(sizeof(elf_strtab_head));
elf_strtab_entry *entry = yasm_xmalloc(sizeof(elf_strtab_entry));
@@ -373,7 +373,7 @@ elf_ssym_symtab_entry_print(void *data, FILE *f, int indent_level)
}
elf_symtab_head *
-elf_symtab_create()
+elf_symtab_create(void)
{
elf_symtab_head *symtab = yasm_xmalloc(sizeof(elf_symtab_head));
elf_symtab_entry *entry = yasm_xmalloc(sizeof(elf_symtab_entry));
--- a/tools/genperf/perfect.c
+++ b/tools/genperf/perfect.c
@@ -62,8 +62,7 @@ Find the mapping that will produce a perfect hash
*/
/* return the ceiling of the log (base 2) of val */
-ub4 phash_log2(val)
-ub4 val;
+ub4 phash_log2(ub4 val)
{
ub4 i;
for (i=0; ((ub4)1<<i) < val; ++i)
+69
View File
@@ -0,0 +1,69 @@
pkgname=appstream
_name="AppStream"
pkgver=1.0.6
pkgdesc="Cross-distro effort for providing metadata for software in the Linux ecosystem"
homepage="https://www.freedesktop.org/wiki/Distributions/AppStream/"
license=("LGPL-2.1+" "GPL-2+")
depends=(
zstd
glib:2
libxml2:2
libxmlb
libyaml
snowball-stemmer
curl
gobject-introspection
systemd
)
bdepends=(
libxslt
itstool
)
_patches=("${pkgname}-1.0.0-disable-Werror-flags.patch")
_patch_sums=("e5df79dda5f433c67dd0b02c681e04cde22e6648a4d438a50314575e37353686fbcbc4fd56ee209095f71498d0e553b4d061e328fcc740b19ab7ae9281b85423")
sources=("${_name}-${pkgver}.tar.xz"
"${_patches[@]}"
)
urls=("https://www.freedesktop.org/software/appstream/releases/${sources[0]}"
"${_patches[@]}"
)
sha512sums=("a7a34ce2b37f7a3d9f22a69ff4a546d4fb33edaec4a303bd7541ede990d8a2c2a67d17f61c9cf09d75af277e308d21baaf42d6b968eca1a11d1df983a27e02a5"
"${_patch_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=2
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D apidocs=false
-D docs=false
-D compose=false
-D maintainer=false
-D static-analysis=false
-D stemming=true
-D vapi=false
-D apt-support=false
-D compose=false
-D install-docs=false
-D gir=true
-D qt=false
-D systemd=true
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+56
View File
@@ -0,0 +1,56 @@
pkgname=appstream-glib
pkgver=0.8.3
pkgdesc="Provides GObjects and helper methods to read and write AppStream metadata"
homepage="https://people.freedesktop.org/~hughsient/appstream-glib/ https://github.com/hughsie/appstream-glib"
license=("LGPL-2.1+")
slot=("0/8")
depend=(
glib
util-linux
libarchive
curl
json-glib
"gdk-pixbuf[introspection]"
fontconfig
libyaml
pango
gobject-introspection
)
bdepends=(
gperf
libxml2:2
libxslt
gettext
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://people.freedesktop.org/~hughsient/${pkgname}/releases/${sources[0]}")
sha512sums=("df4247b710cf234eef037f5f7be6be4872638d0686becd65e10e6a4214b0dd1b48ffbbd69179f3fb9777373926840d5b776e20a41ce11d4926114345944db127")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D dep11=true
-D builder=true
-D rpm=false
-D alpm=false
-D fonts=false
-D man=true
-D gtk-doc=false
-D introspection=true
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,47 @@
--- a/meson.build
+++ b/meson.build
@@ -90,44 +90,6 @@
endif
endif
-# a few compiler warning flags we always want enabled
-add_project_arguments(
- cc.get_supported_arguments([
- '-Werror=shadow',
- '-Werror=empty-body',
- '-Werror=strict-prototypes',
- '-Werror=missing-prototypes',
- '-Werror=implicit-function-declaration',
- '-Werror=pointer-arith',
- '-Werror=missing-declarations',
- '-Werror=return-type',
- '-Werror=int-conversion',
- '-Werror=incompatible-pointer-types',
- '-Werror=misleading-indentation',
- '-Werror=missing-include-dirs',
- '-Werror=declaration-after-statement',
- '-Werror=format-security',
-
- '-Wno-missing-field-initializers',
- '-Wno-error=missing-field-initializers',
- '-Wno-unused-parameter',
- '-Wno-error=unused-parameter',
- ]),
- language: 'c'
-)
-add_project_arguments(
- '-Wno-unused-parameter',
- '-Werror=empty-body',
- '-Werror=pointer-arith',
- '-Werror=init-self',
- '-Werror=missing-declarations',
- '-Werror=return-type',
- '-Werror=misleading-indentation',
- '-Werror=format-security',
-
- language: 'cpp'
-)
-
# Vendor extensions in system headers
if host_machine.system() != 'netbsd'
# on NetBSD, defining POSIX_C_SOURCE *removes* non-POSIX symbols from namespace,
+28
View File
@@ -0,0 +1,28 @@
pkgname=ayatana-ido
pkgver=0.10.4
pkgdesc="Ayatana Application Indicators (Shared Library)"
homepage="https://github.com/AyatanaIndicators/ayatana-ido"
license=("LGPL-2.1" "LGPL-3" "GPL-3")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=("a36b67cb505b9340a8193e281c72831b56d6a620054e99e1032145ec0d8d26fe4768402b36ee4d7e115dbbd6fb393cc15c3d71c15d040f5eb22d3d2114f80536")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D ENABLE_TESTS=false
)
cmake -B build "${meson_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
+57
View File
@@ -0,0 +1,57 @@
pkgname=check
pkgver=0.15.2
pkgdesc="Unit testing framework for C"
url="https://libcheck.github.io/check/"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(
awk
gcc-libs
glibc
)
makedepends=(
cmake
ninja
)
_patches=("check-0.14.0-r2-disable-automagic-dep.patch"
"check-0.15.2-Fix-pkgconfig-file-s-libdir-value.patch"
"check-0.15.2-avoid-static-lib.patch"
)
_patch_sums=("2db61d66f1e7fe682db3670f581d300a"
"a05bd4221f99dcc3d920ced659a26b35"
"9bfe4e3f930d58ba691d99c7cd39b965"
)
sources=("${pkgname}-${pkgver}.tar.gz"
"${_patches[@]}"
)
urls=("https://github.com/libcheck/check/archive/${pkgver}.tar.gz"
"${_patches[@]}"
)
md5sums=("2528f5cff61db6d53d44fb95da0c7fce"
"${_patch_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
}
src_build() {
local cmake_options=(
-D AWK_GSUB_DBL_BSLASH='\\\\'
-D CHECK_ENABLE_TIMEOUT_TESTS=OFF
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-D CHECK_ENABLE_SUBUNIT=OFF
)
cmake -B build -G Ninja "${cmake_options[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --build build --target install
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,23 @@
--- a/CMakeLists.txt 2020-03-21 09:42:30.411037664 +0200
+++ b/CMakeLists.txt 2020-03-21 09:49:12.358161439 +0200
@@ -365,15 +365,16 @@
ADD_DEFINITIONS(-DHAVE_LIBRT=1)
endif (HAVE_LIBRT)
-check_library_exists(subunit subunit_test_start "" HAVE_SUBUNIT)
-if (HAVE_SUBUNIT)
+option(CHECK_ENABLE_SUBUNIT "Enable subunit support" ON)
+if (CHECK_ENABLE_SUBUNIT)
set(SUBUNIT "subunit")
set(ENABLE_SUBUNIT 1)
+ set(HAVE_SUBUNIT 1)
add_definitions(-DENABLE_SUBUNIT=1)
-else(HAVE_SUBUNIT)
+else(CHECK_ENABLE_SUBUNIT)
set(ENABLE_SUBUNIT 0)
add_definitions(-DENABLE_SUBUNIT=0)
-endif (HAVE_SUBUNIT)
+endif (CHECK_ENABLE_SUBUNIT)
###############################################################################
# Generate "config.h" from "cmake/config.h.in"
@@ -0,0 +1,30 @@
From a6de6b02e6f8b971149c477eeca04de7d0fa5d3c Mon Sep 17 00:00:00 2001
From: Matt Turner <mattst88@gmail.com>
Date: Wed, 10 Mar 2021 17:00:33 -0500
Subject: [PATCH] Fix pkgconfig file's libdir value
And make a similar fix for includedir while we're here.
Bug: https://bugs.gentoo.org/729642
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 23311d8..9d3ac07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -439,8 +439,8 @@ if(NOT THIS_IS_SUBPROJECT)
set(prefix_save "${PREFIX}")
set(prefix "${CMAKE_INSTALL_PREFIX}")
set(exec_prefix "\${prefix}")
- set(libdir "\${exec_prefix}/lib")
- set(includedir "\${prefix}/include")
+ set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
+ set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set(VERSION "${PROJECT_VERSION}")
if (HAVE_SUBUNIT)
--
2.26.2
@@ -0,0 +1,24 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Fri, 2 Oct 2020 22:22:02 +0100
Subject: [PATCH] Avoid static library
Fixes: https://bugs.archlinux.org/task/68076
---
src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4a02dbeaec4d..4d731c9bfcac 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -188,7 +188,7 @@ target_include_directories(checkShared
)
if(NOT THIS_IS_SUBPROJECT)
- install(TARGETS check checkShared
+ install(TARGETS checkShared
EXPORT check-targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+48
View File
@@ -0,0 +1,48 @@
pkgname=date
pkgver=3.0.3
pkgdesc="Date and time library based on the C++11/14/17 <chrono> header"
homepage="https://github.com/HowardHinnant/date"
license=("MIT")
_patches=("date-3.0.3_remove-failing-tests.patch")
_patche_sums=("e5a453239592d4852d05b50f1f428f6cbc3b0415a247d1e3e9aea4cef42a02d3e9f65233bb717629e2670667e73e700af72eba5374faa6f96f5e952f630d45e1")
sources=("${pkgname}-${pkgver}.tar.gz"
"${_patches[@]}"
)
urls=("https://github.com/HowardHinnant/date/archive/refs/tags/v${pkgver}.tar.gz"
"${_patches[@]}"
)
sha512sums=("e11d7f230ecc431d94c4b58fe7394dd57a9ec0baa9de52496578479b51bbf885566d6666882916d84d388060fa36065b3fa8dd3a8bc14f720b38d1c943f06700"
"${_patche_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D BUILD_SHARED_LIBS=true
-D BUILD_TZ_LIB=ON
-D USE_SYSTEM_TZ_DB=ON
-D ENABLE_DATE_TESTING=no
-D COMPILE_WITH_C_LOCALE=no
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_check() {
cd test
./testit
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,34 @@
From: Filip Kobierski <fkobi@pm.me>
Upstream states that " There are known failures on all platforms"[1].
This patch removes the tests that fail for Gentoo.
They both test if the library can parse PM dates in a 12 hour format.
Here are the failiure messages:
test_Ip(): Assertion `tp == sys_days{2016_y/12/11} + hours{13}' failed.
test_p(): Assertion `tp == sys_days{2016_y/12/11} + hours{23}' failed.
[1]: https://github.com/HowardHinnant/date?tab=readme-ov-file#build--test
---
test/date_test/parse.pass.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/test/date_test/parse.pass.cpp b/test/date_test/parse.pass.cpp
index 13ca909..cdeea71 100644
--- a/test/date_test/parse.pass.cpp
+++ b/test/date_test/parse.pass.cpp
@@ -906,11 +906,9 @@ main()
test_D();
test_F();
test_H();
- test_Ip();
test_j();
test_m();
test_M();
- test_p();
test_r();
test_R();
test_S();
--
2.45.2
+34
View File
@@ -0,0 +1,34 @@
pkgname=dbus-glib
pkgver=0.114
pkgdesc="D-Bus bindings for glib"
homepage="https://dbus.freedesktop.org/"
license=("GPL-2")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://dbus.freedesktop.org/releases/${pkgname}/${sources[0]}")
sha512sums=("c341cc0778edbf776d3e1a6d3cd9c136766544cb4b7239d6affa2fa246fa9c5716fe4d674c9bb56b36ee140344663bf967f70841ad132f978a662a22cc9a3a0d")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local conf_args=(
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
--enable-bash-completion
--disable-gtk-doc
--disable-asserts
--disable-static
)
./configure "${conf_args[@]}"
make
}
src_install() {
make DESTDIR="$pkgdir" install
install -vDm644 "${pkgdir}"/etc/bash_completion.d/dbus-bash-completion.sh "${pkgdir}"/usr/share/bash-completion/completions/dbus-send
rm -r "${pkgdir}"/etc
}
# vim:ft=sh syn=sh et sw=2:
+53
View File
@@ -0,0 +1,53 @@
pkgname=elfutils
pkgver=0.193
pkgdesc="Handle ELF object files and DWARF debugging information"
arch=(x86_64)
homepage="https://sourceware.org/elfutils/"
makedepends=(
m4
pkgconfig
gettext
bzip2
gcc-libs
libarchive
xz
zlib
zstd
)
sources=("${pkgname}-${pkgver}.tar.bz2")
urls=("https://sourceware.org/ftp/${pkgname}/${pkgver}/${sources[0]}")
md5sums="ceefa052ded950a4c523688799193a44"
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
}
src_build() {
# needed for test
CFLAGS+=" -g"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-debuginfod \
--enable-libdebuginfod=dummy \
--enable-nls \
--disable-thread-safety \
--disable-valgrind \
--program-prefix="eu-" \
--with-bzlib \
--with-lzma \
--with-zstd
make
}
src_check() {
make -k check
}
src_install() {
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}"/usr/lib/*.a
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} -t "$pkgdir/usr/share/doc/$pkgname/"
}
# vim:ft=sh syn=sh et sw=2:
+36
View File
@@ -0,0 +1,36 @@
pkgname=fribidi
pkgver=1.0.16
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
homepage="https://github.com/fribidi/fribidi"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(glibc)
makedepends=(meson)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://github.com/fribidi/fribidi/releases/download/v${pkgver}/${sources[0]}")
md5sums=("333ad150991097a627755b752b87f9ff")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D deprecated=true
-D docs=false
-D bin=true
-D tests=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
DESTDIR="${pkgdir}" meson install -C build
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
}
# vim:ft=sh syn=sh et sw=2:
+66
View File
@@ -0,0 +1,66 @@
pkgname=glib
pkgver=2.84.4
_basever=2.84
_lfsver=12.4
pkgdesc="Low level core library"
homepage="https://gitlab.gnome.org/GNOME/glib"
license=(LGPL-2.1-or-later)
arch=(x86_64)
sources=("${pkgname}-${pkgver}.tar.xz"
"glib-skip_warnings-1.patch"
"gio-querymodules.HOOK"
"glib-compile-schemas.HOOK"
)
_gnomeurl="https://download.gnome.org/sources"
urls=("${_gnomeurl}/${pkgname}/${_basever}/${sources[0]}"
"https://www.linuxfromscratch.org/patches/blfs/${_lfsver}/${sources[1]}"
"gio-querymodules.HOOK"
"glib-compile-schemas.HOOK"
)
md5sums=("5655d0ff809b98dd77c02490609fadde"
"729287ad0c60b5b2d6ca9ec4a19d8cec"
"a1737601c4040854741ac7cd80e56366"
"689505071dad3a1164ec63ea0a8a7bb4"
)
export GLIB_LOG_LEVEL=4
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${distdir}/${sources[1]}
}
src_build() {
# Produce more debug info: GLib has a lot of useful macros
CFLAGS+=" -g3"
CXXFLAGS+=" -g3"
meson setup build \
--prefix=/usr \
--buildtype=release \
-D introspection=enabled \
-D glib_debug=disabled \
-D man-pages=enabled \
-D sysprof=disabled &&
meson compile -C build
}
src_check() {
chown -R leaf .
unset GLIB_LOG_LEVEL
su leaf -c "PATH=$PATH LC_ALL=C TMPDIR=/tmp meson test -C build --no-suite flaky --no-suite slow --print-errorlogs"
}
src_install() {
meson install -C build --destdir "$pkgdir"
leaf_install_hook "${filedir}/${sources[2]}"
leaf_install_hook "${filedir}/${sources[3]}"
}
src_preremove() {
rm -vf /usr/lib/gio/modules/giomodule.cache
rm -vf /usr/share/glib-2.0/schemas/gschemas.compiled
}
# vim:ft=sh syn=sh et sw=2:
+5
View File
@@ -0,0 +1,5 @@
target=(/usr/lib/gio/modules/*.so)
triggers=("install" "remove")
operation() {
/usr/bin/gio-querymodules /usr/lib/gio/modules
}
+5
View File
@@ -0,0 +1,5 @@
target=(/usr/share/glib-2.0/schemas/*.xml /usr/share/glib-2.0/schemas/*.override)
triggers=("install" "remove")
operation() {
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
}
@@ -0,0 +1,38 @@
pkgname=gobject-introspection
pkgver=1.84.0
_basever=${pkgver%.*}
pkgdesc="Introspection system for GObject-based libraries"
url="https://wiki.gnome.org/Projects/GObjectIntrospection"
arch=(x86_64)
license=(
GPL-2.0-or-later
LGPL-2.0-or-later
)
sources=("${pkgname}-${pkgver}.tar.xz")
_gnomeurl="https://download.gnome.org/sources"
urls=("${_gnomeurl}/${pkgname}/${_basever}/${sources[0]}")
md5sums=("2a62fb1c584616a8ebcd9dd4d045f27e")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
meson setup build \
--prefix=/usr --buildtype=release &&
meson compile -C build
}
src_check() {
meson test -C build --print-errorlogs
}
src_install() {
meson install -C build --destdir "$pkgdir"
cd "$pkgdir"
python -m compileall -d /usr/lib/${pkgname} usr/lib/${pkgname}
python -O -m compileall -d /usr/lib/${pkgname} usr/lib/${pkgname}
}
# vim:ft=sh syn=sh et sw=2:
+47
View File
@@ -0,0 +1,47 @@
pkgname=granite
pkgver=7.6.0
pkgdesc='Library that extends Gtk+'
arch=(x86_64)
homepage=https://github.com/elementary/granite
license=(LGPL3)
depends=(
cairo
glib:2
gtk:4
libgee:0.8
)
makedepends=(
cmake
meson
sassc
vala
)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/elementary/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=("0a3ab1aa9d648578d80877beaab52eebd1b77981f54f9ca0b9c88e44c9a832738e4bd52357e6537b783d64ac6a7812c8a73331dfe759d12e1f3ea212ba111f5f")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D documentation=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_check() {
meson test -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+38
View File
@@ -0,0 +1,38 @@
pkgname=hyprgraphics
pkgver=0.1.5
pkgdesc='hyprland graphics resources and utilities'
arch=(x86_64 aarch64)
homepage="https://github.com/hyprwm/$pkgname"
license=(BSD-3-Clause)
depends=(cairo
file
gcc
glibc
hyprutils
libjpeg-turbo
libjxl
libspng
libwebp
)
makedepends=(cmake)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=("8486fce2df355ab74da456a7a46ceb8f")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,31 @@
pkgname=hyprland-protocols
pkgver=0.6.4
pkgdesc='Wayland protocol extensions for Hyprland'
arch=(x86_64 aarch64)
homepage="https://github.com/hyprwm/$pkgname"
license=(BSD-3-Clause)
makedepends=(meson)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=("6550272ae760ffce75cedb9f32a9d778")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
DESTDIR="$pkgdir" meson install -C build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:ft=sh syn=sh et sw=2:
+31
View File
@@ -0,0 +1,31 @@
pkgname=hyprlang
pkgver=0.6.4
pkgdesc='implementation library for the hypr config language'
arch=(x86_64 aarch64)
homepage="https://github.com/hyprwm/$pkgname"
license=(BSD-3-Clause)
depends=(gcc-libs
glibc
hyprutils)
makedepends=(cmake)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=("001bcd7a043571b2d42891589027242e")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:ft=sh syn=sh et sw=2:
+36
View File
@@ -0,0 +1,36 @@
pkgname=icu
pkgver=77.1
pkgdesc="International Components for Unicode library"
arch=(x86_64)
homepage="https://icu.unicode.org"
license=('LicenseRef-Unicode-3.0'
'BSD-2-Clause'
'BSD-3-Clause'
'NAIST-2003')
sources=("icu4c-77_1-src.tgz")
urls=("https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz")
md5sums=("bc0132b4c43db8455d2446c3bae58898")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
pushd source &&
./configure --prefix=/usr &&
make &&
popd
}
src_check() {
pushd source
make check
popd
}
src_install() {
pushd source
make DESTDIR="${pkgdir}" install
install -Dm644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
popd
}
+33
View File
@@ -0,0 +1,33 @@
pkgname=inih
pkgver=62
pkgdesc="inih (INI not invented here) simple .INI file parser"
homepage="https://github.com/benhoyt/inih"
license=("BSD")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/benhoyt/inih/archive/r${pkgver}.tar.gz")
sha512sums=("206ddfaa55d29396c3a44f8d1dfcf578c5ebf892e81fe875cd6b4ec2af5cccf400ca13fc6585b6d8232bd122bd8aef7522bfc83898b5609b29c20bad9390ee02")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
-D default_library=shared
-D distro_install=true
-D with_INIReader=true
-D tests=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+39
View File
@@ -0,0 +1,39 @@
pkgname=json-glib
pkgver=1.10.8
pkgdesc="Library providing GLib serialization and deserialization for the JSON format"
homepage="https://wiki.gnome.org/Projects/JsonGlib"
license=("LGPL-2.1+")
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
sha512sums=("f4ba8660b586a4e738803e4dbfdfcd34fa7ceba9189e7bf3f2b50e21f4d4886f99535ceb3453c89b1d1ae8d96bf4168a135b73b7e1a2dbc46b19e9b710ad56a1")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nofallback
-D python.bytecompile=1
-D installed_tests=false
-D introspection=enabled
-D documentation=disabled
-D man=true
-D nls=enabled
-D tests=true
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_check() {
meson test -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
}
# vim:ft=sh syn=sh et sw=2:
+39
View File
@@ -0,0 +1,39 @@
pkgname=jsoncpp
pkgver=1.9.6
pkgdesc="C++ JSON reader and writer"
homepage="https://github.com/open-source-parsers/jsoncpp/"
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=("006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
--wrap-mode=nodownload
-D python.bytecompile=1
--includedir include/jsoncpp
-D tests=true
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_check() {
meson test -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
# https://bugs.gentoo.org/941642
rm -r "${pkgdir}/usr/lib/cmake"
}
# vim:ft=sh syn=sh et sw=2:
+31
View File
@@ -0,0 +1,31 @@
pkgname=libatomic_ops
pkgver=7.8.4
pkgdesc='Provides semi-portable access to hardware provided atomic memory operations'
arch=(x86_64)
url='https://github.com/ivmai/libatomic_ops'
depends=(glibc)
license=(GPL2 MIT)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/bdwgc/libatomic_ops/releases/download/v${pkgver}/${sources[0]}")
sha512sums=("5f77a520cecc31fe9baf4d3a61beac79dba317e7b149464a945db3389c4a94b45fdb52f105d838409b1cbd64b5c3ae0e29acf81df5606a6f49ee8a366673091a")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --disable-static --enable-shared
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="$pkgdir" install
mv -vf "${pkgdir}"/usr/share/doc/{${pkgname},${pkgname}-${pkgver}}
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,33 @@
pkgname=libayatana-appindicator
pkgver=0.5.94
pkgdesc="Ayatana Application Indicators (Shared Library)"
homepage="https://github.com/AyatanaIndicators/libayatana-appindicator"
license=(GPL-3 LGPL-2 LGPL-3)
depends=("glib" "gtk+:3[introspection]" "libdbusmenu[gtk3]" "libayatana-indicator")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=("4bd251dd56601dfb99b0085cc272118680c9145cdac671ad6695ef3200e582343a07e99dc30f5a72b586b6e2e60de0042d4a95b9d9eeafa7695b0afe2425dba4")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D ENABLE_TESTS=false
-D ENABLE_GTKDOC=OFF
-D ENABLE_BINDINGS_MONO=OFF
-D FLAVOUR_GTK2=OFF
-D FLAVOUR_GTK3=ON
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,32 @@
pkgname=libayatana-indicator
pkgver=0.9.4
pkgdesc="Ayatana Application Indicators (Shared Library)"
homepage="https://github.com/AyatanaIndicators/libayatana-indicator"
license=("GPL-3")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=("56efbe0eb14abf38cb7e270ae093b5fb41dab652eab6fa0d3f7972b09b0f2404e3ec7fbb3059c0b26802fffc628f5ace16a33db306f97a65ae42cf65494a56dc")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D FLAVOUR_GTK2=OFF
-D FLAVOUR_GTK3=ON
-D ENABLE_IDO=ON
-D ENABLE_LOADER=ON
-D ENABLE_TESTS=false
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
+57
View File
@@ -0,0 +1,57 @@
pkgname=libdbusmenu
pkgver=16.04.0
_ver=${pkgver%.*}
slot="0"
pkgdesc="Library to pass menu structure across DBus"
homepage="https://launchpad.net/libdbusmenu"
license=("LGPL-2.1" "LGPL-3")
_patches=("libdbusmenu-16.04.0-configure-fix.patch"
"libdbusmenu-16.04.0-werror.patch"
)
_patch_sums=("e872017556eb7e6b23a9c80e478b9e25be604bd2500be94879bad6634150265bb7b2979fc3cbe05a06dc9f3ca115ab57457853b37c6db622b5ec4bb23abff2bd"
"ba1144695110cd8ecf89deaea28e0aacc40b00a500a1dc86c28e67754599117e0a2217c4d6066c1061fa009af82e463dd303ba78c479053857ef6e793959068e"
)
sources=("${pkgname}-${pkgver}.tar.gz"
"${_patches[@]}"
)
urls=("https://launchpad.net/${pkgname/lib}/${_ver}/${pkgver}/+download/${sources[0]}"
"${_patches[@]}"
)
sha512sums=("ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241"
"${_patch_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
autoconf
}
src_build() {
CFLAGS+=" -Wno-error"
local conf_args=(
--prefix=/usr
--docdir=/usr/share/doc/${pkgname}-${pkgver}
--cache-file="${srcdir}"/config.cache
--disable-static
# dumper extra tool is only for GTK+-2.x
--disable-dumper
--disable-introspection
--disable-vala
--disable-massivedebugging
--disable-tests
--enable-gtk
--with-gtk=3
)
./configure "${conf_args[@]}"
make
}
src_install() {
make -j1 DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,35 @@
From 4b79b41a25cc1e2c4355738b4bed6c73b919ffee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sun, 6 Aug 2017 17:55:45 +0200
Subject: [PATCH] configure: Fix HAVE_VALGRIND not being defined when tests are
disabled
If --disable-tests is used, configure fails with the following error:
configure: error: conditional "HAVE_VALGRIND" was never defined.
Usually this means the macro was only invoked conditionally.
This is because AM_CONDITIONAL for it is called inside the 'if' for
tests being enabled. Move it just below that block to ensure that it's
defined unconditionally.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index ace54d1..cbd38a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,8 +120,8 @@ PKG_CHECK_MODULES(DBUSMENUTESTS, json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
[have_tests=yes]
)
PKG_CHECK_MODULES(DBUSMENUTESTSVALGRIND, valgrind, have_valgrind=yes, have_valgrind=no)
-AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"])
])
+AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"])
AC_SUBST(DBUSMENUTESTS_CFLAGS)
AC_SUBST(DBUSMENUTESTS_LIBS)
--
2.14.0
@@ -0,0 +1,37 @@
https://bugs.gentoo.org/691260
--- a/libdbusmenu-glib/Makefile.am
+++ b/libdbusmenu-glib/Makefile.am
@@ -68,3 +68,3 @@ libdbusmenu_glib_la_CFLAGS = \
$(COVERAGE_CFLAGS) \
- -Wall -Werror -Wno-error=deprecated-declarations \
+ -Wall -Wno-error=deprecated-declarations \
-DG_LOG_DOMAIN="\"LIBDBUSMENU-GLIB\""
--- a/libdbusmenu-gtk/Makefile.am
+++ b/libdbusmenu-gtk/Makefile.am
@@ -68,3 +68,3 @@ libdbusmenu_gtk_la_CFLAGS = \
-I$(top_srcdir) \
- -Wall -Werror -Wno-error=deprecated-declarations \
+ -Wall -Wno-error=deprecated-declarations \
-DG_LOG_DOMAIN="\"LIBDBUSMENU-GTK\""
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -105,3 +105,3 @@ TESTS_ENVIRONMENT = env GI_TYPELIB_PATH=$(top_builddir)/libdbusmenu-glib:$(top_b
DBUSMENU_GLIB_TEST_CFLAGS = \
- -Wall -Werror \
+ -Wall \
-DG_DISABLE_DEPRECATED \
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -18,3 +18,3 @@ dbusmenu_dumper_CFLAGS = \
$(DBUSMENUDUMPER_CFLAGS) \
- -Wall -Werror
+ -Wall
--- a/tools/testapp/Makefile.am
+++ b/tools/testapp/Makefile.am
@@ -14,3 +14,3 @@ dbusmenu_testapp_CFLAGS = \
$(DBUSMENUGLIB_CFLAGS) \
- -Wall -Werror
+ -Wall
+38
View File
@@ -0,0 +1,38 @@
pkgname=libevdev
pkgver=1.13.5
pkgdesc="Wrapper library for evdev devices"
arch=(x86_64)
url="https://www.freedesktop.org/wiki/Software/libevdev/"
license=('MIT')
depends=('glibc')
makedepends=('python' 'meson')
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.freedesktop.org/software/libevdev/${sources[0]}")
md5sums=("582e2ae5a076a34d479d420776f8fd27")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
-D documentation=disabled
-D tests=disabled
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_check() {
meson test -C build
}
src_install() {
DESTDIR="$pkgdir" meson install -C build
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
# vim:ft=sh syn=sh et sw=2:
+40
View File
@@ -0,0 +1,40 @@
pkgname=libevent
pkgver=2.1.12
pkgdesc="Event notification library"
homepage="https://libevent.org/"
arch=(x86_64)
license=(BSD-3-Clause-Modification)
sources=("${pkgname}-${pkgver}-stable.tar.gz"
"libevent-2.1.12-openssl-compat.patch"
)
urls=("https://github.com/libevent/libevent/releases/download/release-${pkgver}-stable/${sources[0]}"
"libevent-2.1.12-openssl-compat.patch"
)
md5sums=("b5333f021f880fe76490d8a799cd79f4"
"09ad6d62f6d7861c20df28a8a0ede1e0"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -p1 -i ${filedir}/${sources[1]}
sed -i 's/python/&3/' event_rpcgen.py
}
src_build() {
./configure --prefix=/usr \
--disable-static \
--disable-libevent-regress # skip regress tests, following Arch
make
}
src_check() {
make verify
}
src_install() {
make DESTDIR="${pkgdir}" install
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
}
# vim:ft=sh syn=sh et sw=2:
@@ -0,0 +1,75 @@
commit 7f4684c0d362fefee8697ceed3f4f8642ed147ce
Author: William Marlow <william.marlow@ibm.com>
Date: Sat Jun 18 21:43:31 2022 +0100
Initial OpenSSL 3.0 support
* Don't use deprecated functions when building against OpenSSL 3.0.
* Recognise that OpenSSL 3.0 can signal a dirty shutdown as a protocol.
error in addition to the expected IO error produced by OpenSSL 1.1.1
* Update regress_mbedtls.c for compatibility with OpenSSL 3
(cherry picked from commit 29c420c418aeb497e5e8b7abd45dee39194ca5fc)
Conflicts:
bufferevent_openssl.c
sample/becat.c
test/regress_mbedtls.c
diff --git a/bufferevent_openssl.c b/bufferevent_openssl.c
index b51b834b..520e2d6f 100644
--- a/bufferevent_openssl.c
+++ b/bufferevent_openssl.c
@@ -514,7 +514,9 @@ conn_closed(struct bufferevent_openssl *bev_ssl, int when, int errcode, int ret)
put_error(bev_ssl, errcode);
break;
case SSL_ERROR_SSL:
- /* Protocol error. */
+ /* Protocol error; possibly a dirty shutdown. */
+ if (ret == 0 && SSL_is_init_finished(bev_ssl->ssl) == 0)
+ dirty_shutdown = 1;
put_error(bev_ssl, errcode);
break;
case SSL_ERROR_WANT_X509_LOOKUP:
diff --git a/sample/le-proxy.c b/sample/le-proxy.c
index 13e0e2ae..e9af3c68 100644
--- a/sample/le-proxy.c
+++ b/sample/le-proxy.c
@@ -112,10 +112,15 @@ eventcb(struct bufferevent *bev, short what, void *ctx)
ERR_reason_error_string(err);
const char *lib = (const char*)
ERR_lib_error_string(err);
+#if OPENSSL_VERSION_MAJOR >= 3
+ fprintf(stderr,
+ "%s in %s\n", msg, lib);
+#else
const char *func = (const char*)
ERR_func_error_string(err);
fprintf(stderr,
"%s in %s %s\n", msg, lib, func);
+#endif
}
if (errno)
perror("connection error");
diff --git a/test/regress_ssl.c b/test/regress_ssl.c
index 37dc334d..490be9b2 100644
--- a/test/regress_ssl.c
+++ b/test/regress_ssl.c
@@ -374,7 +374,16 @@ eventcb(struct bufferevent *bev, short what, void *ctx)
++n_connected;
ssl = bufferevent_openssl_get_ssl(bev);
tt_assert(ssl);
+#if OPENSSL_VERSION_MAJOR >= 3
+ /* SSL_get1_peer_certificate() means we want
+ * to increase the reference count on the cert
+ * and so we will need to free it ourselves later
+ * when we're done with it. The non-reference count
+ * increasing version is not available in OpenSSL 1.1.1. */
+ peer_cert = SSL_get1_peer_certificate(ssl);
+#else
peer_cert = SSL_get_peer_certificate(ssl);
+#endif
if (type & REGRESS_OPENSSL_SERVER) {
tt_assert(peer_cert == NULL);
} else {
+36
View File
@@ -0,0 +1,36 @@
pkgname=libfmt
pkgver=11.1.4
pkgdesc="Small, safe and fast formatting library"
homepage="https://fmt.dev/dev/ https://github.com/fmtlib/fmt"
license=("MIT")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/fmtlib/fmt/archive/${pkgver}.tar.gz")
sha512sums=("573b7de1bd224b7b1b60d44808a843db35d4bc4634f72a9edcb52cf68e99ca66c744fd5d5c97b4336ba70b94abdabac5fc253b245d0d5cd8bbe2a096bf941e39")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=release
-D BUILD_SHARED_LIBS=ON
-W no-dev
-D FMT_CMAKE_DIR="/usr/lib/cmake/fmt"
-D FMT_LIB_DIR="/usr/lib"
-D FMT_TEST=true
)
cmake -B build "${cmake_args[@]}"
cmake --build build
}
src_check() {
cmake --build build --target test
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:ft=sh syn=sh et sw=2:
+39
View File
@@ -0,0 +1,39 @@
pkgname=libgcrypt
pkgver=1.11.2
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(x86_64)
homepage="https://www.gnupg.org"
license=(
'BSD-3-Clause'
'BSD-3-Clause OR GPL-2.0-only'
'GPL-2.0-or-later'
'LGPL-2.0-or-later'
'LGPL-2.1-or-later'
'X11'
'LicenseRef-scancode-public-domain'
'LicenseRef-OCB1'
)
depends=('libgpg-error' 'glibc')
sources=("${pkgname}-${pkgver}.tar.bz2")
urls=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${sources[0]}")
md5sums=("84ce2ad07794b987fe6341b63cf5f537")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr \
--disable-static
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 {COPYING.LIB,LICENSES} "${pkgdir}/usr/share/licenses/${pkgname}/"
}
+34
View File
@@ -0,0 +1,34 @@
pkgname=libgee
pkgver=0.20.8
pkgdesc="A collection library providing GObject-based interfaces and classes for commonly used data structures"
homepage="https://gitlab.gnome.org/GNOME/libgee"
license=(LGPL-2.1-or-later)
arch=(x86_64)
depends=(
glib
glibc
)
makedepends=(
git
gobject-introspection
vala
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
sha512sums=("9af883bb4b2c25c429271201e634d1851378631b913bab282fe432b2b76a44674111e65caa99269fd403454c87b5474f2567c554bddd0b3ea58ca6e138c311e1")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --disable-static \
--enable-introspection
make
}
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2:
+72
View File
@@ -0,0 +1,72 @@
pkgname=libgit2
pkgver=1.9.2
pkgdesc="A linkable library for Git"
arch=(x86_64)
homepage="https://github.com/libgit2/libgit2"
license=(LicenseRef-GPL-2.0-only-with-linking-exception)
depends=(
gcc-libs
glibc
llhttp
zlib
)
makedepends=(
cmake
libssh2
openssl
pcre2
python
)
sources=("${pkgname}-v${pkgver}.tar.gz")
urls=("${homepage}/archive/v${pkgver}/${sources[0]}")
md5sums=("0764ca3436c81bae7c201b086ad156be")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_options=(
-B build
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-D REGEX_BACKEND=pcre2
-D USE_HTTP_PARSER=llhttp
-D USE_SSH=libssh2
-D USE_GSSAPI=OFF
-W no-dev
)
cmake ${cmake_options[@]}
cmake --build build
}
src_check(){
local ignored_tests=(
'auth_clone|'
'invasive|'
'online|'
'network_url_parse__hostname_implied_root_empty_port|'
'network_url_parse__hostname_empty_port|'
'network_url_parse__ipv4_implied_root_empty_port|'
'network_url_parse__ipv4_empty_port|'
'network_url_parse__ipv6_implied_root_empty_port|'
'network_url_parse__ipv6_empty_port|'
'proxy|'
'proxy_auto_not_detected|'
'ssh'
)
local ifs="$IFS"
IFS=
# NOTE: disable tests requiring the internet, relying on non-existent
# resources, or those that are only compatible with the (modified) vendored
# version of http-parser, but not with upstream http-parser
ctest --test-dir build --output-on-failure -E "${ignored_tests[*]}"
IFS="$ifs"
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
install -vDm 644 ./{AUTHORS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
}
# vim:ft=sh syn=sh et sw=2:
+30
View File
@@ -0,0 +1,30 @@
pkgname=libgpg-error
pkgver=1.55
pkgdesc="Support library for libgcrypt"
arch=(x86_64)
homepage="https://www.gnupg.org"
license=(LGPL-2.1-or-later
'BSD-3-Clause OR LGPL-2.1-or-later'
FSFULLR
GPL-2.0-or-later)
sources=("${pkgname}-${pkgver}.tar.bz2")
urls=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${sources[0]}")
md5sums=("0430e56fd67d0751b83fc18b0f56a084")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr &&
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="$pkgdir" install
install -v -m644 -D README ${pkgdir}/usr/share/doc/libgpg-error-1.55/README
}
+44
View File
@@ -0,0 +1,44 @@
pkgname=libinput
pkgver=1.29.1
pkgdesc="Input device management and event handling library"
homepage="https://wayland.freedesktop.org/libinput/doc/latest/"
arch=(x86_64)
license=(MIT)
depends=(
gcc
glibc
libevdev
systemd
)
makedepends=(
meson
python
)
sources=("${pkgname}-${pkgver}.tar.bz2")
urls=("https://gitlab.freedesktop.org/${pkgname}/${pkgname}/-/archive/${pkgver}/${sources[0]}")
md5sums=("bdbf0aa43f4adde2e3137f28c29361c6")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local meson_args=(
--prefix=/usr
--buildtype=release
-D documentation=false
-D debug-gui=false
-D libwacom=false
-D tests=false
-D mtdev=false
)
meson setup build "${meson_args[@]}"
meson compile -C build
}
src_install() {
meson install -C build --destdir "$pkgdir"
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:ft=sh syn=sh et sw=2:
+33
View File
@@ -0,0 +1,33 @@
pkgname=libnl
pkgver=3.10.0
_libnl_dir=${pkgver/_/}
_libnl_dir=${_libnl_dir//./_}
slot="3"
pkgdesc="Libraries providing APIs to netlink protocol based Linux kernel interfaces"
homepage="https://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl"
license=("LGPL-2.1")
sources=("${pkgname}-${pkgver/_rc/-rc}.tar.gz")
urls=("https://github.com/thom311/${pkgname}/releases/download/${pkgname}${_libnl_dir}/${sources[0]}")
sha512sums=("c95e79fba69308c63a08d0c576503b4398710ea9cd1d0097851500a7fbc5fbe87fb32ac281cf42bbfe57eab07b110055e6bc9b95d82244bba3df8a31fe562962")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local conf_args=(
--prefix=/usr
--sysconfdir=/etc
--disable-static
--disable-cli
--disable-debug
)
./configure "${conf_args[@]}"
make
}
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2:
+32
View File
@@ -0,0 +1,32 @@
pkgname=libsass
pkgver=3.6.6
pkgdesc='C implementation of Sass CSS preprocessor (library)'
arch=(x86_64)
homepage="https://sass-lang.com/$pkgname/"
license=(MIT)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/sass/libsass/archive/${pkgver}.tar.gz")
sha512sums=("659828c854af391c10a16954425fbeeb5fa036189dea45555cd8046338f7469eb7f8d84134030ce644921514b8f397ef6070b56dfb116ea7ce94328d64576518")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
[[ -f VERSION ]] || echo "${pkgver}" > VERSION
autoreconf -i
}
src_build() {
local conf_args=(
--prefix=/usr
--disable-static
--enable-shared
)
./configure "${conf_args[@]}"
make
}
src_install() {
make DESTDIR="$pkgdir" install
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
# vim:ft=sh syn=sh et sw=2:

Some files were not shown because too many files have changed in this diff Show More