From 1a74c5436dbcb832445250e8f3ed0a00f6c2fcef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Dec 2023 23:11:34 +0000 Subject: gentoo auto-resync : 08:12:2023 - 23:11:34 --- app-misc/Manifest.gz | Bin 50442 -> 50444 bytes app-misc/fastfetch/Manifest | 4 +- app-misc/fastfetch/fastfetch-2.3.3.ebuild | 110 -------------------- app-misc/fastfetch/fastfetch-2.3.4.ebuild | 113 +++++++++++++++++++++ app-misc/ltunify/Manifest | 6 +- .../files/ltunify-0.3-compiler-warning.patch | 26 +++++ app-misc/ltunify/files/ltunify-0.3-ldflags.patch | 19 ++++ app-misc/ltunify/ltunify-0.2-r2.ebuild | 28 ----- app-misc/ltunify/ltunify-0.3.ebuild | 47 +++++++++ 9 files changed, 211 insertions(+), 142 deletions(-) delete mode 100644 app-misc/fastfetch/fastfetch-2.3.3.ebuild create mode 100644 app-misc/fastfetch/fastfetch-2.3.4.ebuild create mode 100644 app-misc/ltunify/files/ltunify-0.3-compiler-warning.patch create mode 100644 app-misc/ltunify/files/ltunify-0.3-ldflags.patch delete mode 100644 app-misc/ltunify/ltunify-0.2-r2.ebuild create mode 100644 app-misc/ltunify/ltunify-0.3.ebuild (limited to 'app-misc') diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz index 3b5b40bb3886..e8efe6eb1d01 100644 Binary files a/app-misc/Manifest.gz and b/app-misc/Manifest.gz differ diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index f1d925b1890b..86b2f7cf6ba7 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,10 +1,10 @@ AUX fastfetch-2.0.0-dont-fetch-yyjson.patch 843 BLAKE2B dc37cb21096ea415fa806265081f33fc48e735fe29b7ff5b742368aac6218bc9345145a81394d2936ca23c0e7fee05dd50a32ca3feb7182c3e11b8a833a6017d SHA512 c3a41cd0ed3b33b9ebc3bc9876c7db6ae9c71b8dfac7e92259a09372d059fcb032c6a34c10791758583b810de0f6db21c1ba8426e3611ae67ee97836329109cf DIST fastfetch-1.12.2.tar.gz 538194 BLAKE2B bc6badbc7f690dacbe1408479286a0d42ec687526f776ff4d2ec7b0eb767032e5781cbbe37778f4dc03a5d386979a9ae2aab84c466be997b82d9a9a6c81ea78f SHA512 a82a7c7ae365335c20d659a82215cf320c4c6b07ff127c4dad322a0a01f7ec57e34d229f4953108daadcd0d243c84f8504a3b4367df5e255e5a06e685fd6739a DIST fastfetch-2.2.3.tar.gz 901203 BLAKE2B d6d097b72ce2f252e42b3e59cbd26b43a4f17ae974382f986270fbf91b457cf3c49e78a3c775e713d9302d536fb5a363e809005b9174d1a27622e6b6ed666709 SHA512 81e051b7555d56415c723606c0b6dfc3ad7ed91fb2c7b36c07465f4dfbdb91da5c8d216e46df36863888448de0a7bd63e28c6aa701995bf1165e0d7c33c4f724 -DIST fastfetch-2.3.3.tar.gz 909014 BLAKE2B 70cde268130bcd979b5b472f231ea7f4f14fe68472c6a92ba31eb6a8c4b2ff1b4bb4c13cb2a3c567b72aa57b9eb616518baa6322184c131d8bd3d7a3a11b97db SHA512 8d44b94df522f41e64e266a54824769a4588de7e07846f461554981886d058c3bba23df017b8619eb376de9dcd926462bcdda3fb6f0770f83f60a3ad96cb7e85 +DIST fastfetch-2.3.4.tar.gz 909105 BLAKE2B 132f88681f9133cdeae8126c4dabf4e8805865fe506a005f938bcda487750a874ab59deebdf2fc348c2a469cf4771fe5916f594a5a408769c1e49fba417ab113 SHA512 fe1e6465380e513e4e75092bc737b23adca4c9dd42de8adb888bad1ce173f1fa9c93e9cbd7b2ca648058503b7cfb72c2ba1d70abf63b8f1497e94ce6eb349524 EBUILD fastfetch-0.1.9999.ebuild 2964 BLAKE2B 273947170f50ecb9629efdf10027a7b6af5c98329470f97f7078e0082f8b128e9bf428c4d82b8df52a09d3b96fdc88d8c1bff79719838effaac43aacb32f7b00 SHA512 ead9d649523d9ec049bea90516a04f1fb2fc43618e4592f8faa8e0b309ac783e798baf0ccafc89ddd4a3cb23338f2544df65be4ca41f590048f53fc2d78d1028 EBUILD fastfetch-0.2.9999.ebuild 2884 BLAKE2B cb3aba85dbd4ea7a8086d6bfd35ac053a6893f17cbbc8b916fa514f575c7407a0e68359b09d66243d52b4276d1d67f584eb41c46066542d5548610f4bc27b285 SHA512 40707f326072cff867587a0ba82f26ebd203920a3d2b4d9668f26ca9c0d4152a05555c2e6975fd1ecffa8ab8fea8a8cc4f975bf02a9113de781fd51969e3e5d8 EBUILD fastfetch-1.12.2.ebuild 2838 BLAKE2B 1185a5c20a06bf6e6112f4cc8942eb10ff403f7db2a4edabc1264db19448cfd992da044619b767751bd3d25d1759a6e6a8440aa529e058226adfec8cbfc400b8 SHA512 47b8b945db6391ba18a7fd93c0a9c6d53ccf1d0ede37538dbcb5ed95975f3691bd3f87492860e5e61727aa020ba42acd18ef4e27ffa9b21dfaae10fea9e94752 EBUILD fastfetch-2.2.3.ebuild 3127 BLAKE2B 52d5325669ac4adcf806c2830e3dd1241cbe37f77b21ff38c0423dbbfbfa22f69c0a03ac3fb43ebc0bc05db6a182662dcf932718f7afba3241c7658d5abe1076 SHA512 913e9790e9666e40cf6bd1dfbb92d7c244cc76201b94ed2c2e11648c0c8ff7effec6a060d0a376855e5578b9d15893c9e04f6839bcbbd8c7970b33986f9a11b4 -EBUILD fastfetch-2.3.3.ebuild 3184 BLAKE2B 64801581ec6816b3312be6e7c3c92885935955b3e1f154d446176da8e5326b521cbd998eed1e680c57fd2bc4df53d3ef34f1b78dea21de49a625705ae14a8513 SHA512 c7121a2ac5676aeba9f507f161ab0a36d7b9a41c9877ea5a39c66d2c32bea462488518ea877451f272dbc6c37f66ed24eb5f242a37fbdd77f51bd300f237c779 +EBUILD fastfetch-2.3.4.ebuild 3207 BLAKE2B cabd4260ab8a66ccf3885032006ff31fd1e99e13bc0fc1ef1e074d3e3d93b8e1864ed3132418a1cabe3bcb8c1a639e98e1f528cd638e9b4e5b9ddf7efba71dc4 SHA512 89ec6d13b8e35d86a2b396f6b1d4528d0a2565da80becb8cb41e09a5cf83882ec738577280ce6014a8229aec0ba9664b75f186800aa9bdf467be38ab807ed67a MISC metadata.xml 1239 BLAKE2B 17a8422491fced016bdd68a38cf888797de3511179253757989866d49624e49c49bfeb11b192ff5561014d5c8ee55bd88df5995196d1efad8c81a3e4c8ff2952 SHA512 e26e103eb3f96bf33bb351edb20be4022002ce597babcabd36712473d002e7fe53603a89b56979a395276baac314fbd33d4e06ed206fd2b1b978abe2bb9e4b12 diff --git a/app-misc/fastfetch/fastfetch-2.3.3.ebuild b/app-misc/fastfetch/fastfetch-2.3.3.ebuild deleted file mode 100644 index 9793b1e8e066..000000000000 --- a/app-misc/fastfetch/fastfetch-2.3.3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 2022-2023 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 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager opencl opengl osmesa pci 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.8.0:= - sys-libs/zlib - X? ( x11-libs/libX11 ) - chafa? ( media-gfx/chafa ) - dbus? ( sys-apps/dbus ) - ddcutil? ( app-misc/ddcutil:= ) - drm? ( x11-libs/libdrm ) - gnome? ( - dev-libs/glib - gnome-base/dconf - ) - imagemagick? ( media-gfx/imagemagick:= ) - networkmanager? ( net-misc/networkmanager ) - opencl? ( virtual/opencl ) - opengl? ( media-libs/libglvnd[X] ) - osmesa? ( media-libs/mesa[osmesa] ) - pci? ( sys-apps/pciutils ) - pulseaudio? ( media-libs/libpulse ) - sqlite? ( dev-db/sqlite:3 ) - vulkan? ( media-libs/vulkan-loader ) - wayland? ( dev-libs/wayland ) - xcb? ( x11-libs/libxcb ) - xfce? ( xfce-base/xfconf ) - xrandr? ( x11-libs/libXrandr ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE=" - xrandr? ( X ) - chafa? ( imagemagick ) -" - -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) + fastfetch_enable_imagemagick6=$(has_version ' +Date: Sun Jun 14 22:59:19 2020 +0200 + + ltunify: fix harmless compiler warning + + bInterfaceNumber is expected to return the `%02x` format according to + the current kernel sources. Even if that is not true, a user can always + manually specify the hidraw device if the wrong device is detected. + +diff --git a/ltunify.c b/ltunify.c +index 1e685b4..9625776 100644 +--- a/ltunify.c ++++ b/ltunify.c +@@ -1214,7 +1214,10 @@ int open_hidraw(void) { + if (pid == PID_NANO_RECEIVER_2) { + int iface = -1; + if ((fp = fopen_format("/sys/class/hidraw/%s/device/../bInterfaceNumber", dev_name))) { +- fscanf(fp, "%02x", &iface); ++ int m = fscanf(fp, "%02x", &iface); ++ if (m != 1) { ++ iface = -1; ++ } + fclose(fp); + } + if (iface == 0) { diff --git a/app-misc/ltunify/files/ltunify-0.3-ldflags.patch b/app-misc/ltunify/files/ltunify-0.3-ldflags.patch new file mode 100644 index 000000000000..10a18b3e485e --- /dev/null +++ b/app-misc/ltunify/files/ltunify-0.3-ldflags.patch @@ -0,0 +1,19 @@ +diff --git a/Makefile b/Makefile +index 8116950..e8b4df9 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,5 @@ + CFLAGS ?= -g -O2 -Wall -Wextra -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4 ++LDFLAGS ?= + # for install-home + BINDIR ?= $(HOME)/bin + +@@ -24,7 +25,7 @@ all: ltunify read-dev-usbmon + read-dev-usbmon: read-dev-usbmon.c hidraw.c + + ltunify: ltunify.c hidpp20.c +- $(CC) $(CFLAGS) -o $(OUTDIR)$@ $< -lrt $(LTUNIFY_DEFINES) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(OUTDIR)$@ $< -lrt $(LTUNIFY_DEFINES) + + .PHONY: all clean install-home install install-udevrule uninstall + clean: diff --git a/app-misc/ltunify/ltunify-0.2-r2.ebuild b/app-misc/ltunify/ltunify-0.2-r2.ebuild deleted file mode 100644 index 55d2dd4a7211..000000000000 --- a/app-misc/ltunify/ltunify-0.2-r2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="Tool for working with Logitech Unifying receivers and devices" -HOMEPAGE="https://lekensteyn.nl/logitech-unifying.html https://git.lekensteyn.nl/ltunify/" -SRC_URI="https://git.lekensteyn.nl/${PN}/snapshot/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_prepare() { - default - sed -i '/^override CFLAGS/d' Makefile || die - tc-export CC -} - -src_compile() { - emake ${PN} -} - -src_install() { - dobin ${PN} - dodoc NEWS README.txt udev/42-logitech-unify-permissions.rules -} diff --git a/app-misc/ltunify/ltunify-0.3.ebuild b/app-misc/ltunify/ltunify-0.3.ebuild new file mode 100644 index 000000000000..8c7a4d261f85 --- /dev/null +++ b/app-misc/ltunify/ltunify-0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev toolchain-funcs + +DESCRIPTION="Tool for working with Logitech Unifying receivers and devices" +HOMEPAGE="https://lekensteyn.nl/logitech-unifying.html https://git.lekensteyn.nl/ltunify/" +SRC_URI="https://git.lekensteyn.nl/${PN}/snapshot/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( + NEWS + README.txt +) + +PATCHES=( + "${FILESDIR}/ltunify-0.3-compiler-warning.patch" + "${FILESDIR}/ltunify-0.3-ldflags.patch" +) + +src_configure() { + tc-export CC +} + +src_compile() { + emake PACKAGE_VERSION=${PV} ${PN} +} + +src_install() { + dobin ${PN} + dodoc "${DOCS[@]}" + + udev_dorules udev/42-logitech-unify-permissions.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} -- cgit v1.2.3