diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
commit | 6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch) | |
tree | 8c303cb48dc49dd218b79708ca71904653c5f831 /app-misc | |
parent | cb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff) |
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 49895 -> 49905 bytes | |||
-rw-r--r-- | app-misc/fastfetch/Manifest | 2 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-2.34.1.ebuild | 126 | ||||
-rw-r--r-- | app-misc/mc/Manifest | 2 | ||||
-rw-r--r-- | app-misc/mc/mc-4.8.33_rc1.ebuild | 147 | ||||
-rw-r--r-- | app-misc/openhab-bin/Manifest | 2 | ||||
-rw-r--r-- | app-misc/openhab-bin/openhab-bin-4.3.2.ebuild | 136 | ||||
-rw-r--r-- | app-misc/ranger/Manifest | 2 | ||||
-rw-r--r-- | app-misc/ranger/ranger-1.9.4-r1.ebuild | 2 |
9 files changed, 417 insertions, 2 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex 4e4f204e08e9..6a4196cfa2aa 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index ba546468fbab..866c50ec98d4 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,7 +1,9 @@ DIST fastfetch-2.30.1.tar.gz 1144835 BLAKE2B f44e0d8b74f124a1978403c0af61450eae4f668c0ed8e3d56505ede715366c90ad8099ae652a9afbb1c57ed2af01a930834a53ca6e871d6ad8078ce0179970f0 SHA512 626eaea5cb4ea3c61b44d24acf836734e7a04e8a3cf78bd0c8c3d4dcaf28bc165501906f97cc1423aadf8d822539e82251b65f3089780232dc214d07ce6aba7a DIST fastfetch-2.33.0.tar.gz 1161845 BLAKE2B 1a31aa0b7651c27ecff34067360c136ad5c0dddac60e5bc2c4ae749194d63c49df3bc92de91e5a3249b8bcd1f640b62025a01d7f6b89b96991ad1623ca079bb5 SHA512 f9d824f908e36e3dc1b7784f2da818d764be6bbc6baa77d6b26ea6776acb5f101c4c39267fa42d1c9ae735c9889badc7b3a65170d81308de852a178e50140154 +DIST fastfetch-2.34.1.tar.gz 1168310 BLAKE2B 2b3e617cd2c7b2168ad9844ba907aa533b500cf90b19762c180555967605ed3ba83030e07893adee9ec2f30887ace3f63840fdc62cbad00c7c9d1d9bd9021952 SHA512 026b71c8d6ad5d5683ededf173d4cb2e936b3e934c7f27227fa7c5f665b9628717e90413626a4fab25fa5f5fde50cae6cdeb75621d6a2cac1ca6368c943293de EBUILD fastfetch-0.1.9999.ebuild 3443 BLAKE2B 278037dd445b5d4c04ebb6c0b352f99d0d26f7211745545fb350f440a5b9e640aec786f7ecae0c416bf7d1630b971b9d73121ad0a1a69856abecc88be52a02b2 SHA512 473c0698310206dc7bec63b99828c512d25be4cbf6ebaa78bf40f112abf8f97795ab2531a2a2b331f795a70ff5ebe735b6eabd1e23971ca7eb244f93d24c5ac4 EBUILD fastfetch-0.2.9999.ebuild 3443 BLAKE2B 278037dd445b5d4c04ebb6c0b352f99d0d26f7211745545fb350f440a5b9e640aec786f7ecae0c416bf7d1630b971b9d73121ad0a1a69856abecc88be52a02b2 SHA512 473c0698310206dc7bec63b99828c512d25be4cbf6ebaa78bf40f112abf8f97795ab2531a2a2b331f795a70ff5ebe735b6eabd1e23971ca7eb244f93d24c5ac4 EBUILD fastfetch-2.30.1.ebuild 3137 BLAKE2B 2ef89b3171766797ac6d0e6adc2ccfe382fa94b37ed9e60df81ab37ee316aab370a53fd69038c6f3c561d2b4c20dc9a29b511afb9e9e7065bde92a4c1b253299 SHA512 087bae54243297c377be64ee38c30efd118243b83bc0686ec165c65eb8a869ee83e7d1f61ee88a732e04288e542b2443dad9d0a9a53030d503b9419410b3a6ae EBUILD fastfetch-2.33.0.ebuild 3443 BLAKE2B 278037dd445b5d4c04ebb6c0b352f99d0d26f7211745545fb350f440a5b9e640aec786f7ecae0c416bf7d1630b971b9d73121ad0a1a69856abecc88be52a02b2 SHA512 473c0698310206dc7bec63b99828c512d25be4cbf6ebaa78bf40f112abf8f97795ab2531a2a2b331f795a70ff5ebe735b6eabd1e23971ca7eb244f93d24c5ac4 +EBUILD fastfetch-2.34.1.ebuild 3443 BLAKE2B 3e2289a1c1e1d41f8fb97be96f4c2445880a255f53a5fa50f8ec89d5047f07229be26a851070b71b05ceb3bb77938904e08f1c5eee33bcafaa601c4dd0cebb49 SHA512 e5c9505f6007ad86f818aecf8a20f72439d10941ad14fdcad32a2277bba55aaca6965b218169508ef8d24848996c4974883c54bbb0e2fbf6c0865cbcac749880 MISC metadata.xml 1398 BLAKE2B bba6a400cbf5e68dc779b4f15cf30b477a4837cd57e09fb17cf4c2ca06e05b19d89c9cd3c1063b078b3411a27c5b265e78e21e15e9cb32b1c681bd9a4bab3545 SHA512 018c51650911637fad242e431a2a9bdb017210b9082c0c49ed29e744fc2cba7733617d49721dd9d2519ee24ea61076608154d63e1f67c3ada4a1ef4774be2432 diff --git a/app-misc/fastfetch/fastfetch-2.34.1.ebuild b/app-misc/fastfetch/fastfetch-2.34.1.ebuild new file mode 100644 index 000000000000..a6fd045ed767 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.34.1.ebuild @@ -0,0 +1,126 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="Fast neofetch-like system information tool" +HOMEPAGE="https://github.com/fastfetch-cli/fastfetch" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fastfetch-cli/fastfetch.git" + [[ ${PV} == *0.1.9999 ]] && EGIT_BRANCH=master + [[ ${PV} == *0.2.9999 ]] && EGIT_BRANCH=dev + [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" +else + SRC_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X chafa dbus ddcutil drm elf gnome imagemagick opencl opengl osmesa pulseaudio sqlite test vulkan wayland xcb xfce xrandr" +RESTRICT="!test? ( test )" + +# note - qa-vdb will always report errors because fastfetch loads the libs dynamically +# make sure to crank yyjson minimum version to match bundled version +RDEPEND=" + >=dev-libs/yyjson-0.10.0 + sys-apps/hwdata + sys-libs/zlib + chafa? ( media-gfx/chafa ) + dbus? ( sys-apps/dbus ) + ddcutil? ( app-misc/ddcutil:= ) + drm? ( x11-libs/libdrm ) + elf? ( virtual/libelf:= ) + gnome? ( + dev-libs/glib + gnome-base/dconf + ) + imagemagick? ( media-gfx/imagemagick:= ) + opencl? ( virtual/opencl ) + opengl? ( + media-libs/libglvnd[X?] + X? ( x11-libs/libX11 ) + ) + osmesa? ( media-libs/mesa[osmesa] ) + pulseaudio? ( media-libs/libpulse ) + sqlite? ( dev-db/sqlite:3 ) + vulkan? ( + media-libs/vulkan-loader + sys-apps/pciutils + ) + wayland? ( dev-libs/wayland ) + xcb? ( x11-libs/libxcb ) + xfce? ( xfce-base/xfconf ) + xrandr? ( x11-libs/libXrandr ) +" +DEPEND=" + ${RDEPEND} + opengl? ( X? ( x11-base/xorg-proto ) ) + xcb? ( x11-base/xorg-proto ) + xrandr? ( x11-base/xorg-proto ) + vulkan? ( dev-util/vulkan-headers ) +" +BDEPEND="virtual/pkgconfig" + +REQUIRED_USE=" + chafa? ( imagemagick ) +" + +pkg_pretend() { + if use X && ! use opengl; then + einfo 'USE="X" adds GLX support for USE="opengl"' + einfo 'This build with USE="X -opengl" will not include any extra X support.' + fi +} + +src_configure() { + local fastfetch_enable_imagemagick7=no + local fastfetch_enable_imagemagick6=no + if use imagemagick; then + fastfetch_enable_imagemagick7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no) + fastfetch_enable_imagemagick6=$(has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no) + fi + + local glx=no + if use opengl && use X; then + glx=yes + fi + + local mycmakeargs=( + -DENABLE_RPM=no + -DENABLE_ZLIB=yes + -DENABLE_SYSTEM_YYJSON=yes + -DIS_MUSL=$(usex elibc_musl) + -DINSTALL_LICENSE=no + -DBUILD_FLASHFETCH=no + + -DENABLE_CHAFA=$(usex chafa) + -DENABLE_DBUS=$(usex dbus) + -DENABLE_DCONF=$(usex gnome) + -DENABLE_DDCUTIL=$(usex ddcutil) + -DENABLE_DRM=$(usex drm) + -DENABLE_ELF=$(usex elf) + -DENABLE_EGL=$(usex opengl) + -DENABLE_GIO=$(usex gnome) + -DENABLE_GLX=${glx} + -DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6} + -DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7} + -DENABLE_OPENCL=$(usex opencl) + -DENABLE_OSMESA=$(usex osmesa) + -DENABLE_PULSE=$(usex pulseaudio) + -DENABLE_SQLITE3=$(usex sqlite) + -DENABLE_VULKAN=$(usex vulkan) + -DENABLE_WAYLAND=$(usex wayland) + -DENABLE_XCB_RANDR=$(usex xcb) + -DENABLE_XFCONF=$(usex xfce) + -DENABLE_XRANDR=$(usex xrandr) + -DBUILD_TESTS=$(usex test) + ) + + append-cppflags -DNDEBUG + + cmake_src_configure +} diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest index fbcb8e801eba..1407e36c3295 100644 --- a/app-misc/mc/Manifest +++ b/app-misc/mc/Manifest @@ -7,6 +7,8 @@ AUX mc-4.8.31-musl-tests.patch 1979 BLAKE2B 33e3a27b1063f254e015129a8b7544b6f5c9 AUX mc-4.8.32-fix-chdir.patch 3915 BLAKE2B d6e1a46b4ac8e9db8da309976be5fe3727ca4910a6543e14972e71afa284748b14ecaba1405fc6f86d4c6155d6d0e52779e4b13f8ed9c10ffa32652d768083d9 SHA512 847d9ee8a7d7468b2c17e376bbb82b1e90a18d25d835eebf31845da6124de037a5a8c87fb3291652cd327faf1d04bf7d7e94bb098db85c010b4e9596356d5742 DIST mc-4.8.30.tar.xz 2380824 BLAKE2B 2bf759314abae39db7596426cba22f6eaac0efc58e7025f1a7ef1863496ea7a3c00d298d101123b9defb109e76e31fe988227fb5c1112e06051b3c7a5b3dc1b6 SHA512 f793f744eaff236c9952d477236dd775a24d9ddd7ff46940bfe2d06da5596bed91d6bd9c85250696da6dcdc0a1890dc01c736654df3f59039674eff38e12e68e DIST mc-4.8.32.tar.xz 2385648 BLAKE2B eb2ac2474c86dbcfe43b4f229cdc458bdfc9de2acf1d0206198721b56ec188010aba24063c1fc079ada295c73ab915786749be1ead599a582832ca649b9a8347 SHA512 f7f46e4f065331ede638a79c821ab5ef65952ba99cf71710d4282efa9ed7de75f06c786a8f8feb27d487417f438a48959439b40bb6456eb64796d46518a3f4a8 +DIST mc-4.8.33_rc1.tar.gz 3119661 BLAKE2B 18d2f98c488a7d440e38ebc5006e10c5543b59392ed0cdc50949e8bec0c09733867a9411237edf3e15501eac7ad6ba72c288bf4c985605e5e70f6cdc54bc88ce SHA512 1a56e5c3b320b2778f9d80fc1b8f95f1ba7ef2ccc3a6bdad0bc4b795a015e3906fb914c011699787607b59a86c1ff650577aa0018f9b07f36cdd31631e8dca83 EBUILD mc-4.8.30-r2.ebuild 3334 BLAKE2B 57c2b55c1f2ffbf94f396a6a3bbb359aa2889665739f1f9a76eb05b2c3c5ec1fd53cf3c6874fed547398d35d692938bd27e7f26b4984acb6781d7f11966ab599 SHA512 333229fec46c0a47cfde51e5edad52bc92dc7832d91da0ea799eec13cab40a30d6461b495e1203d8311ffabb00c243427e336961a6a454547caa4542b650f9cf EBUILD mc-4.8.32-r1.ebuild 3571 BLAKE2B f0e6389a24ce16bd3886757317b817d44247db81b9bf70a3838b630c5f5793d572d4b61e11416e5e20c5ee75b34fbfa35c44c7df9480e34bb4576dfbbbab28d5 SHA512 86d34482e0aa620ccf42f82e222d1e3b9c0945e00950fdae1511edf7cc7f375835b484a9b36e30e8627252f3ef38960d88583e224840faf44c3654f37dda7e48 +EBUILD mc-4.8.33_rc1.ebuild 3758 BLAKE2B 2dcb497524eecfa2613182b21813936dd2c5688ddc50df00501467cd4b532ac87648af2eafcc671ce0c8d02a74876aa4164f8c6a9e07ac1781851d60369cee17 SHA512 77daf56f18ec5340d0645f515836a0b43537a161876e8389b2eb5f2dafa36002751fadd06c096911689f82f213e4089f219926066dff9ef9cb6cd6ddf1817d5d MISC metadata.xml 675 BLAKE2B 706055e17dfe81af1715d1e5ee101e6486d8a0f1fd7791fff17c7f42fdcb1c3a559416c8e413b4c7ab1db6dd9bf2d4b94f67e8cdd035933c38885ae6ca42f8f6 SHA512 a86533b06dc0f64efafda59aa795ed3a5a9bb027bd4c1145d4aedc2af84cb1d64244409a0bcc42d5bb4048ed07190c7f86ebc0c31aa55d95c8837fde676d9284 diff --git a/app-misc/mc/mc-4.8.33_rc1.ebuild b/app-misc/mc/mc-4.8.33_rc1.ebuild new file mode 100644 index 000000000000..38a14b263024 --- /dev/null +++ b/app-misc/mc/mc-4.8.33_rc1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +MY_P="${P/_/-}" +MY_PV="${PV/_rc/-pre}" +DESCRIPTION="GNU Midnight Commander is a text based file manager" +HOMEPAGE="https://midnight-commander.org" +SRC_URI="https://github.com/MidnightCommander/mc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+edit gpm sftp +slang spell test unicode X" + +REQUIRED_USE="spell? ( edit )" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + >=dev-libs/glib-2.30.0:2 + gpm? ( sys-libs/gpm ) + kernel_linux? ( sys-fs/e2fsprogs[tools(+)] ) + sftp? ( net-libs/libssh2 ) + slang? ( >=sys-libs/slang-2 ) + !slang? ( sys-libs/ncurses:=[unicode(+)?] ) + spell? ( app-text/aspell ) + X? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + ) +" + +DEPEND=" + ${COMMON_DEPEND} + X? ( x11-base/xorg-proto ) +" + +RDEPEND=" + ${DEPEND} + spell? ( app-dicts/aspell-en ) +" + +# Force nls so xgettext is installed. Will revert this. +BDEPEND=" + sys-devel/gettext + app-arch/xz-utils + virtual/pkgconfig + test? ( dev-libs/check ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.8.26-ncurses-mouse.patch + "${FILESDIR}"/${PN}-4.8.29-gentoo-tools.patch +) + +# This is a check for AIX, on Linux mc uses statvfs() regardless of whether +# LFS64 interfaces are available in libc or not. +QA_CONFIG_IMPL_DECL_SKIP=( + statvfs64 +) + +src_prepare() { + default + + # Bug #906194, #922483 + if use elibc_musl; then + eapply "${FILESDIR}"/${PN}-4.8.30-musl-tests.patch + eapply "${FILESDIR}"/${PN}-4.8.31-musl-tests.patch + fi + + eautoreconf + + # Copied from autogen.sh + xgettext --keyword=_ --keyword=N_ --keyword=Q_ --output=- \ + `find . -name '*.[ch]'` | sed -ne '/^#:/{s/#://;s/:[0-9]*/\ +/g;s/ //g;p;}' | \ + grep -v '^$' | sort | uniq >po/POTFILES.in || die + +} + +src_configure() { + [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" + + local myeconfargs=( + --enable-charset + --enable-vfs + --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')") + $(use_enable kernel_linux vfs-undelfs) + # Today mclib does not expose any headers and is linked to + # single 'mc' binary. Thus there is no advantage of having + # a library. Let's avoid shared library altogether + # as it also conflicts with sci-libs/mc: bug #685938 + --disable-mclib + --enable-nls + $(use_enable sftp vfs-sftp) + $(use_enable spell aspell) + $(use_enable test tests) + $(use_with gpm gpm-mouse) + $(use_with X x) + $(use_with edit internal-edit) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + # Bug #759466 + if [[ ${EUID} == 0 ]] ; then + ewarn "You are emerging ${PN} as root with 'userpriv' disabled." + ewarn "Expect some test failures, or emerge with 'FEATURES=userpriv'!" + fi + + # CK_FORK=no to avoid using fork() in check library + # as mc mocks fork() itself: bug #644462. + # + # VERBOSE=1 to make test failures contain detailed + # information. + CK_FORK=no emake check VERBOSE=1 +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS doc/{NEWS,README,TODO,FAQ} + + # fix bug #334383 + if use kernel_linux && [[ ${EUID} == 0 ]] ; then + fowners root:tty /usr/libexec/mc/cons.saver + fperms g+s /usr/libexec/mc/cons.saver + fi +} + +pkg_postinst() { + elog "${PN} extension scripts depend on many external tools, install them as needed" + elog + if use spell && ! has_version app-dicts/aspell-en ; then + elog "'spell' USE flag is enabled however app-dicts/aspell-en is not installed." + elog "You should manually set 'spell_language' in the Misc section of ~/.config/mc/ini" + elog "It has to be set to one of your installed aspell dictionaries or 'NONE'" + elog + fi + elog "To enable exiting to latest working directory," + elog "put this into your ~/.bashrc:" + elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" +} diff --git a/app-misc/openhab-bin/Manifest b/app-misc/openhab-bin/Manifest index 6c3008d2aa09..54ee980e76e4 100644 --- a/app-misc/openhab-bin/Manifest +++ b/app-misc/openhab-bin/Manifest @@ -5,8 +5,10 @@ AUX openhab.tmpfiles 352 BLAKE2B 23bab4c007c924cdfaa602654f19030d702b855f3baf62a DIST openhab-4.2.3.tar.gz 110593514 BLAKE2B bcfc73b377d82e1c747623711328e67d736408662323034f24c6143f6eb1be107ed987a766d39fb53a0f7f540e4666558356c723b31f8c0b51e082df77a680d9 SHA512 5156e9d6d73424083c83551e426b8290cb595659d955ddee3e19c61be4e3caecb9f5a4556e5aaf40f608765f814d34ff7be3d649c850c55dac862d5e1dc649af DIST openhab-4.3.0.tar.gz 111158533 BLAKE2B d270e0c4b1c9035ccfef2d6742e5cfdacda40c29bf4285437653f6b4870ec3567473752a426a4ab2a4fe5d87e240265009292dd9ebe0cd656a4c7cd1995ef286 SHA512 2701c987ff3020699de4d6feb16aeded53d71b31e93428cc7ca1aea6b8c442f4ed810c4785eb2c8e5f3fa10c511eeb7ab43cddd10d9d4b0afe3c1157e7af4b06 DIST openhab-4.3.1.tar.gz 111159001 BLAKE2B 5832cf26f5578361ce83c57a2ef28fffd948b5814abcfed460825c31474b35df3b5561b128f853f56087e94f75ab1d2d00ab5be40bdc6c19f0a1741e12f1cdbe SHA512 4bd38a8a4a8c1f6b3e201c0dd67ec5e85a6dea4c5bb77e0c4f92953f338604af9eb157ebd26fdddf06366dc299bdd7a0b5471bcc2d9153ad7d6fe2d1a4bb2c14 +DIST openhab-4.3.2.tar.gz 111159370 BLAKE2B 9a95a0049e2afb9fedbd14300803f024a0a2849cee1dc9a7a39c015799b8f9b8ece9485d107f6e130c0678e568313f212a4a1601f7b159a9ff96d7f28cd166d7 SHA512 67804aad7cbfee516d6913a9dbc18d77dd826e46b62515406bd2b6177cefd46476a093512b90cce6fbb668e2c36ca9c8718245cf6686008183b1d6e3361f37e3 DIST openhab-cli-2024-01-14 8633 BLAKE2B 0b0999abcb884b779087b92f9f3e08fee3662753692392fbb30d218d0fc25fd1fca613c32b8193a3365764c55ac3525f8369aeea4edbf61223cd0219209c4cbf SHA512 bf24ae776d4362e8a60a0c71cb025834e5f645a24377a87484477f544026f2fdd996a1781f1082e62197fce33a9dadb5972df22ce3e4cd9f73d3088ec5bc0a98 EBUILD openhab-bin-4.2.3.ebuild 3202 BLAKE2B 191e133be6f3ff5ecc3916ec0543c8079e5a9d24bf9742f8b77614311ba283b5c721b6b6d1c5277c51cbb6d9df0d6e457a17bd50a649cc55f1ee6b0a0fb2be99 SHA512 2e68b4e81a369243feed0d3694da250c63903445f3adf4d5b05b5ff605366e08f348e3bab7dc79293f07b743351247e051cc963b97b5b741dc2809f5fd7d7b39 EBUILD openhab-bin-4.3.0.ebuild 3204 BLAKE2B 7a0ece2883a709214845bad36f725bb8152fb9a56fa77966b0331d4a1b537f3d8219ccc4a24a6cb503dc3ee0251ec114d2133476ea90bfd26dabc4f6a30d66ea SHA512 39ff168e348b59598aa89284fb0eab01f82383334a0c85b10dddf5a4ae17f401be08991f98a042b1cd54c4b0f2b66e0b39f5e3d361c1b11f4fc7b0d314431cc5 EBUILD openhab-bin-4.3.1.ebuild 3204 BLAKE2B b7626a73d772380198ab9aed92624d04b0b232d7241d19b36f6db150039dfbe29fa9be5abf9fd8572cc9075e5a0ea5232cd702df8961a87aebb1c99ed028907d SHA512 fe2b162cc24ee5ec8469258a486d4afcf8fcff2be4c5ec0b7806d41a7cb564ae5c56f84c16d9831376e04398f771c25711e8b65fe0f503acdc114a81add31a00 +EBUILD openhab-bin-4.3.2.ebuild 3204 BLAKE2B b7626a73d772380198ab9aed92624d04b0b232d7241d19b36f6db150039dfbe29fa9be5abf9fd8572cc9075e5a0ea5232cd702df8961a87aebb1c99ed028907d SHA512 fe2b162cc24ee5ec8469258a486d4afcf8fcff2be4c5ec0b7806d41a7cb564ae5c56f84c16d9831376e04398f771c25711e8b65fe0f503acdc114a81add31a00 MISC metadata.xml 432 BLAKE2B a7c9f6511d33dbe366c9ea95ed7dd79af7904ca31058e3f0fbf7549d375f9ab998cb85576b1d9e0dd879dcc44ee7e91ee1067c3846b654f7e40c8779f913b964 SHA512 afaa6a0c68e275a103e597e4a66674a2de465887e7c919178d0ce4ba29b04c3e6722f7c7148763b6ffbf85be73db6e3c80ddd68e87f8d0ee4a7d4a05745aa6e0 diff --git a/app-misc/openhab-bin/openhab-bin-4.3.2.ebuild b/app-misc/openhab-bin/openhab-bin-4.3.2.ebuild new file mode 100644 index 000000000000..d03408ef3a29 --- /dev/null +++ b/app-misc/openhab-bin/openhab-bin-4.3.2.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo systemd tmpfiles + +MY_PN=${PN%-bin} +MY_P=${MY_PN}-${PV} +MY_CLI_VER=2024-01-14 + +DESCRIPTION="An open-source automation software for your home" +HOMEPAGE="https://www.openhab.org/" +SRC_URI=" + https://github.com/openhab/openhab-distro/releases/download/${PV}/${MY_P}.tar.gz + https://raw.githubusercontent.com/openhab/openhab-linuxpkg/10061acd36524afb12a033fea6dcf142b399bf56/resources/usr/bin/openhab-cli + -> openhab-cli-${MY_CLI_VER} +" + +S="${WORKDIR}" +LICENSE="EPL-2.0" +SLOT="0" + +KEYWORDS="~amd64 ~arm64" + +MY_JAVA_DEPEND=">=virtual/jre-17" + +# app-arch/zip: used by "openhab-cli backup" +RDEPEND=" + ${MY_JAVA_DEPEND} + acct-user/openhab + app-arch/zip + dev-java/java-config +" + +BDEPEND="app-arch/unzip" + +src_compile() { + : +} + +src_install() { + # We use move here to preserve the executable bit on the files under + # openhab/runtime/bin. + domove() { + local source="${1}" + local target="${2}" + + local dest="${ED}/${target}" + + mkdir -p "${dest}" || die "Failed to create ${dest}" + mv "${source}"/* "${dest}" || die "Failed to move" + } + + domove runtime /usr/share/openhab/runtime + domove conf /etc/openhab + + domove userdata /var/lib/openhab + fowners -R openhab:openhab /var/lib/openhab + + local dirs=( + /usr/share/openhab/addons + /var/log/openhab + ) + local d + for d in "${dirs[@]}"; do + keepdir "${d}" + fowners openhab:openhab "${d}" + done + + newenvd "${FILESDIR}"/openhab.env 50openhab + + systemd_dounit "${FILESDIR}"/openhab.service + newtmpfiles "${FILESDIR}"/openhab.tmpfiles openhab.conf + + newbin - openhab <<EOF +#!/usr/bin/env bash +set -eu + +if [[ -v JAVA_HOME_OVERRIDE ]]; then + JAVA_HOME="\${JAVA_HOME_OVERRIDE}" +else + if ! GENTOO_JAVA_VM="\$(depend-java-query --get-vm '${MY_JAVA_DEPEND}')"; then + >&2 echo "Could not find Java VM for ${MY_JAVA_DEPEND}" + exit 1 + fi + + if ! JAVA_HOME_ASSIGNMENT=\$(java-config -P \${GENTOO_JAVA_VM} | grep JAVA_HOME); then + >&2 echo "Could not retrieve JAVA_HOME of \${GENTOO_JAVA_VM}" + exit 1 + fi + + eval \${JAVA_HOME_ASSIGNMENT} +fi + +export JAVA_HOME +exec /usr/share/openhab/runtime/bin/karaf "\$@" +EOF + newbin "${DISTDIR}"/openhab-cli-${MY_CLI_VER} openhab-cli + + newinitd "${FILESDIR}"/openhab.initd openhab +} + +pkg_postinst() { + tmpfiles_process openhab.conf + + if [[ -z ${REPLACING_VERSIONS} && -z ${OPENHAB_POSTINST_UPDATE} ]]; then + return + fi + + if [[ -d "${EROOT}"/run/systemd/system ]]; then + if systemctl is-active --quiet openhab; then + local openhab_service_active=1 + einfo "Restarting OpenHAB service due to version update" + edob systemctl daemon-reload + edob systemctl stop openhab + fi + + echo y | edob -m "Cleaning OpenHAB cache" \ + openhab-cli clean-cache + assert "Failed to clean OpenHAB cache" + + if [[ -v openhab_service_active ]]; then + edob systemctl start openhab + fi + elif [[ -d /run/openrc ]]; then + einfo "Follow these steps to complete the update of OpenHAB:" + einfo + einfo "1. Stop the OpenHAB's service" + einfo "$ rc-service openhab stop" + einfo "2. Clean OpenHAB's cache" + einfo "$ openahb-cli clean-cache" + einfo "3. Restart OpenHAB's service" + einfo "$ rc-service openhab start" + fi +} diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest index 81626febc692..c3bde8235ec2 100644 --- a/app-misc/ranger/Manifest +++ b/app-misc/ranger/Manifest @@ -1,7 +1,7 @@ AUX ranger-1.9.3-color-crash-fix.patch 1077 BLAKE2B 4063deae9b17023d30f5308cb3187e6215d3e37b84404d02d38cecda7cd33928f4f416c13e5933ae60cdeaabf9c25a8ab693d3d0824b361ce7d471c70e54ba58 SHA512 b03afde4670813be7a17c2c273d91323868d4051f4d06f9ab79e05bd62b9520b08556a095dd52ecb429a0b22ce4bf78c86c5b025393502319f29068df1e4c322 AUX ranger-1.9.4-ncurses-bulkrename.patch 760 BLAKE2B 6de94e88b0fa15c59004698ee5d5d3b1c6055effa668dc081da2c33d2d7cd841fef32eba9b99cc8b7968da4ce02fff6f54dbb6d15b4c4d26931e594ca1ce67c5 SHA512 1d5b4191d56ce612fda8d2256578ae837c80812a7f6d2de1a8def04fcf756efdf0f81ec3c6eaae568c2bb327f4f9bc06dc4758be88ca65a3b670d676c82f5db3 DIST ranger-1.9.4.gh.tar.gz 280165 BLAKE2B 08d90f06e949645b2cd5e94bfa224f3bd97717d38766e72614a294d2e6fda51da2836cdf9b011accb7ba47bb194860d4aa8385b4084af29bf97e95f21b9da3f6 SHA512 18cd1d66838a5f85176e6b7502521a7e449aaa0b12e97d62142d39f980c529c5b97a50f6fb8a65adb64612fa80450b1e13047327f7bcc005a494af4ab321e4d4 -EBUILD ranger-1.9.4-r1.ebuild 1124 BLAKE2B 2e2dba498c629bda70f6f7b0d2a741703083da333fa7c5acb18ed4743f981fa9801167d2208a1fc243251d6d4f4f7986c279fcebd4db4f6f0b839facac8257ab SHA512 938c0a1902f42f27b3eeeb091839e94ce19c6a70a0455f5a67dcb179b870ca4dbd82ce208cc69a21c5884d5496d17f571f9a963f314ae078591f642b5a7a9445 +EBUILD ranger-1.9.4-r1.ebuild 1122 BLAKE2B b79f1cd83add29a3c1696f98a4e64434c91a67098a8cfbadbd82787c433a63b85efc18d6fc8ccebbd6100471c69163eb8bf66220b5eb62386f4a31cc3e820074 SHA512 7390b12c17571536886f2d93b161088c3348373799c83f199c1b8d0b27e719e70c4b0c1ebae7c2281e1fc28286fad98d15d58bd23b07f285f132442d5886c22c EBUILD ranger-1.9.4.ebuild 1070 BLAKE2B 50eba1d9f7afda5b7fc690a051aad7b9b5b7c2edbf1ce8e35a052674dbd5126ead1414d3c0666f402ad45e0f2c4683b7f3cbc622abf38b1280a3442ee7c4255b SHA512 edcebbb94b61cf667ba5c08d6d5faaa5d5541861cc0edfe47ebec97fdc71206333de7816bb34950fec82a7d4240bb0d96c731e2248e191a9756ae06079e339b4 EBUILD ranger-9999.ebuild 1044 BLAKE2B 3edc4118b0d070ae82bb73029a90b65d7b656b5c8d818056a2b49fd9288ba03d5597f301e9a1e971fbc28a4bbc7598c5525bfbdfe9d8d781612a004c5e90d352 SHA512 746a47fc1421847c8ec408cf372a0d3240d3c3016033e776eebd0292a99e46bf65cb6a658662668be86faa23de4a66e816549d7931931e8d1a9d9de75ad3dc7b MISC metadata.xml 1023 BLAKE2B 9876633c736dac3f07968e6d8cffebba44eeeb69a644b04978912a621b6950a1d0eef52cae8044f18feae0a9706e21898116f68302e61ffb73a74c942814d9c0 SHA512 65844b6f3b7ca5a7e0c36a487fa336a28be54444d1e45d58f31f1144c8475d9b830eea000a0795318cfc2ccadc18374e0ea5234739e85851e9d712c8f42c1685 diff --git a/app-misc/ranger/ranger-1.9.4-r1.ebuild b/app-misc/ranger/ranger-1.9.4-r1.ebuild index 3fe00135df13..5ce66e164e46 100644 --- a/app-misc/ranger/ranger-1.9.4-r1.ebuild +++ b/app-misc/ranger/ranger-1.9.4-r1.ebuild @@ -17,7 +17,7 @@ else https://github.com/ranger/ranger/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86" fi DESCRIPTION="Vim-inspired file manager for the console" |