From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC3ED15808B for ; Wed, 9 Feb 2022 10:43:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B0D4E08BB; Wed, 9 Feb 2022 10:43:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45174E08A0 for ; Wed, 9 Feb 2022 10:43:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 416D3335D61 for ; Wed, 9 Feb 2022 10:43:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADEAA2CE for ; Wed, 9 Feb 2022 10:43:23 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1644403337.264ade50a692c5b9bc1de4f622439d63bfb9e240.viorel_munteanu@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/fastfetch/, app-misc/fastfetch/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/fastfetch/Manifest app-misc/fastfetch/fastfetch-0.569-r1.ebuild app-misc/fastfetch/files/fastfetch-0.569-cmake-optional-deps.patch X-VCS-Directories: app-misc/fastfetch/ app-misc/fastfetch/files/ X-VCS-Committer: viorel_munteanu X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 264ade50a692c5b9bc1de4f622439d63bfb9e240 X-VCS-Branch: dev Date: Wed, 9 Feb 2022 10:43:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cc3d9c5d-0cf8-4724-a182-0ab5e6990361 X-Archives-Hash: d00bc19619ac45e73af07be06aab8d79 commit: 264ade50a692c5b9bc1de4f622439d63bfb9e240 Author: Viorel Munteanu gmail com> AuthorDate: Wed Feb 9 10:42:17 2022 +0000 Commit: Viorel Munteanu gmail com> CommitDate: Wed Feb 9 10:42:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=264ade50 app-misc/fastfetch: drop 0.569-r1 Signed-off-by: Viorel Munteanu gmail.com> app-misc/fastfetch/Manifest | 1 - app-misc/fastfetch/fastfetch-0.569-r1.ebuild | 89 --------- .../fastfetch-0.569-cmake-optional-deps.patch | 199 --------------------- 3 files changed, 289 deletions(-) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 0f5eb91f3..fe315e062 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,2 +1 @@ -DIST fastfetch-0.569.tar.gz 319899 BLAKE2B 07c3169e97a5127a67941972ea6feac1bec11203bb55b23243a4b298580299d942b518eab24a741dd0354d56879dc9ccd192bf88024aa660a4c83f149c8133cd SHA512 979a9e717bc2ef59aa0b410fe62015f8ecf58419e4b1df56ea139aa84e627491ab310da358e821a7dcc95efc8017b8fd71d1174cde8a770717759a1e50d0fb31 DIST fastfetch-0.575.tar.gz 321524 BLAKE2B a59dee15e7492d7af7671ed25eb5492a0a0c97346c000b794cab923dcc7298aa06c0cc232d5cc8ee171c470b474f42b3adf912e20b5b59370f23dbd803372934 SHA512 45a573a4e837463398151775d7a4bbb666021422e5b2d08955cfd60c6a7b89263d5464691481ac419876439689b09dac6817388592d4c27b1bbe5d27f1d6881e diff --git a/app-misc/fastfetch/fastfetch-0.569-r1.ebuild b/app-misc/fastfetch/fastfetch-0.569-r1.ebuild deleted file mode 100644 index ce926d740..000000000 --- a/app-misc/fastfetch/fastfetch-0.569-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 cmake - -DESCRIPTION="Like neofetch but faster" -HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git" -else - COMMIT="7ad73d3ba13489b341a07782e6374d92c54091ba" - VERSION_REV="7ad73d3" - SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" -fi - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="X gnome pci vulkan wayland xcb xfce xrandr" - -# note - qa-vdb will always report errors because fastfetch loads the libs dynamically -RDEPEND=" - X? ( x11-libs/libX11 ) - gnome? ( - dev-libs/glib - gnome-base/dconf - ) - pci? ( sys-apps/pciutils ) - 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 )" - -PATCHES=( - "${FILESDIR}/fastfetch-0.569-cmake-optional-deps.patch" -) - -src_configure() { - local mycmakeargs=( - -DENABLE_RPM=no - -DENABLE_VULKAN=$(usex vulkan) - -DENABLE_WAYLAND=$(usex wayland) - -DENABLE_XCB_RANDR=$(usex xcb) - -DENABLE_XCB=$(usex xcb) - -DENABLE_XRANDR=$(usex xrandr) - -DENABLE_X11=$(usex X) - -DENABLE_GIO=$(usex gnome) - -DENABLE_DCONF=$(usex gnome) - -DENABLE_XFCONF=$(usex xfce) - ) - - if [[ ${PV} != *9999 ]]; then - # version comes from git, fake it - VERSION_MAJOR="$(ver_cut 2)" - sed -i -e " - s/\(PROJECT_VERSION\) .*$/\1 \"r${VERSION_MAJOR}.${VERSION_REV}\")/ - s/\(PROJECT_VERSION_MAJOR\) .*$/\1 \"${VERSION_MAJOR}\")/" CMakeLists.txt || die "Cannot patch version" - fi - - cmake_src_configure -} - -src_install() { - if [[ ${PV} == *9999 ]]; then - elog "REV=\"r$(git rev-list --count HEAD)\"" - elog "COMMIT=\"$(git rev-parse HEAD)\"" - elog "VERSION_REV=\"$(git rev-parse --short HEAD)\"" - fi - - pushd "${BUILD_DIR}" || die - dobin fastfetch - popd - - newbashcomp completions/bash fastfetch - insinto /usr/share/${PN}/presets - doins presets/* - - einstalldocs -} diff --git a/app-misc/fastfetch/files/fastfetch-0.569-cmake-optional-deps.patch b/app-misc/fastfetch/files/fastfetch-0.569-cmake-optional-deps.patch deleted file mode 100644 index 617b6c6e9..000000000 --- a/app-misc/fastfetch/files/fastfetch-0.569-cmake-optional-deps.patch +++ /dev/null @@ -1,199 +0,0 @@ -Add options to disable automagical dependencies - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0915750..05ca503 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -48,82 +48,116 @@ find_package(Threads REQUIRED) - - find_package(PkgConfig REQUIRED) - --pkg_check_modules (LIBPCI libpci) --if(LIBPCI_FOUND) -- add_compile_definitions(FF_HAVE_LIBPCI=1) --else(LIBPCI_FOUND) -- message(WARNING "Package libpci not found. Building without support.") --endif(LIBPCI_FOUND) -- --pkg_check_modules (VULKAN vulkan) --if(VULKAN_FOUND) -- add_compile_definitions(FF_HAVE_VULKAN=1) --else(VULKAN_FOUND) -- message(WARNING "Package vulkan not found. Building without support.") --endif(VULKAN_FOUND) -- --pkg_check_modules (WAYLAND wayland-client) --if(WAYLAND_FOUND) -- add_compile_definitions(FF_HAVE_WAYLAND=1) --else(WAYLAND_FOUND) -- message(WARNING "Package wayland-client not found. Building without support.") --endif(WAYLAND_FOUND) -- --pkg_check_modules (XCB_RANDR xcb-randr) --if(XCB_RANDR_FOUND) -- add_compile_definitions(FF_HAVE_XCB_RANDR=1) --else(XCB_RANDR_FOUND) -- message(WARNING "Package xcb-randr not found. Building without support.") --endif(XCB_RANDR_FOUND) -- --pkg_check_modules (XCB xcb) --if(XCB_FOUND) -- add_compile_definitions(FF_HAVE_XCB=1) --else(XCB_FOUND) -- message(WARNING "Package xcb not found. Building without support.") --endif(XCB_FOUND) -- --pkg_check_modules (XRANDR xrandr) --if(XRANDR_FOUND) -- add_compile_definitions(FF_HAVE_XRANDR=1) --else(XRANDR_FOUND) -- message(WARNING "Package xrandr not found. Building without support.") --endif(XRANDR_FOUND) -- --pkg_check_modules (X11 x11) --if(X11_FOUND) -- add_compile_definitions(FF_HAVE_X11=1) --else(X11_FOUND) -- message(WARNING "Package x11 not found. Building without support.") --endif(X11_FOUND) -- --pkg_check_modules (GIO gio-2.0) --if(GIO_FOUND) -- add_compile_definitions(FF_HAVE_GIO=1) --else(GIO_FOUND) -- message(WARNING "Package gio-2.0 not found. Building without support.") --endif(GIO_FOUND) -- --pkg_check_modules (DCONF dconf) --if(DCONF_FOUND) -- add_compile_definitions(FF_HAVE_DCONF=1) --else(DCONF_FOUND) -- message(WARNING "Package dconf not found. Building without support.") --endif(DCONF_FOUND) -- --pkg_check_modules (XFCONF libxfconf-0) --if(XFCONF_FOUND) -- add_compile_definitions(FF_HAVE_XFCONF=1) --else(XFCONF_FOUND) -- message(WARNING "Package libxfconf-0 not found. Building without support.") --endif(XFCONF_FOUND) -- --pkg_check_modules (RPM rpm) --if(RPM_FOUND) -- add_compile_definitions(FF_HAVE_RPM=1) --else(RPM_FOUND) -- message(WARNING "Package librpm not found. Building without support.") --endif(RPM_FOUND) -+OPTION(ENABLE_LIBPCI "Enable libpci" ON) -+OPTION(ENABLE_VULKAN "Enable vulkan" ON) -+OPTION(ENABLE_WAYLAND "Enable wayland-client" ON) -+OPTION(ENABLE_XCB_RANDR "Enable xcb-randr" ON) -+OPTION(ENABLE_XCB "Enable xcb" ON) -+OPTION(ENABLE_XRANDR "Enable xrandr" ON) -+OPTION(ENABLE_X11 "Enable x11" ON) -+OPTION(ENABLE_GIO "Enable gio-2.0" ON) -+OPTION(ENABLE_DCONF "Enable dconf" ON) -+OPTION(ENABLE_XFCONF "Enable libxfconf-0" ON) -+OPTION(ENABLE_RPM "Enable rpm" ON) -+ -+if(ENABLE_LIBPCI) -+ pkg_check_modules (LIBPCI libpci) -+ if(LIBPCI_FOUND) -+ add_compile_definitions(FF_HAVE_LIBPCI=1) -+ else(LIBPCI_FOUND) -+ message(WARNING "Package libpci not found. Building without support.") -+ endif(LIBPCI_FOUND) -+endif(ENABLE_LIBPCI) -+ -+if(ENABLE_VULKAN) -+ pkg_check_modules (VULKAN vulkan) -+ if(VULKAN_FOUND) -+ add_compile_definitions(FF_HAVE_VULKAN=1) -+ else(VULKAN_FOUND) -+ message(WARNING "Package vulkan not found. Building without support.") -+ endif(VULKAN_FOUND) -+endif(ENABLE_VULKAN) -+ -+if(ENABLE_WAYLAND) -+ pkg_check_modules (WAYLAND wayland-client) -+ if(WAYLAND_FOUND) -+ add_compile_definitions(FF_HAVE_WAYLAND=1) -+ else(WAYLAND_FOUND) -+ message(WARNING "Package wayland-client not found. Building without support.") -+ endif(WAYLAND_FOUND) -+endif(ENABLE_WAYLAND) -+ -+if(ENABLE_XCB_RANDR) -+ pkg_check_modules (XCB_RANDR xcb-randr) -+ if(XCB_RANDR_FOUND) -+ add_compile_definitions(FF_HAVE_XCB_RANDR=1) -+ else(XCB_RANDR_FOUND) -+ message(WARNING "Package xcb-randr not found. Building without support.") -+ endif(XCB_RANDR_FOUND) -+endif(ENABLE_XCB_RANDR) -+ -+if(ENABLE_XCB) -+ pkg_check_modules (XCB xcb) -+ if(XCB_FOUND) -+ add_compile_definitions(FF_HAVE_XCB=1) -+ else(XCB_FOUND) -+ message(WARNING "Package xcb not found. Building without support.") -+ endif(XCB_FOUND) -+endif(ENABLE_XCB) -+ -+if(ENABLE_XRANDR) -+ pkg_check_modules (XRANDR xrandr) -+ if(XRANDR_FOUND) -+ add_compile_definitions(FF_HAVE_XRANDR=1) -+ else(XRANDR_FOUND) -+ message(WARNING "Package xrandr not found. Building without support.") -+ endif(XRANDR_FOUND) -+endif(ENABLE_XRANDR) -+ -+if(ENABLE_X11) -+ pkg_check_modules (X11 x11) -+ if(X11_FOUND) -+ add_compile_definitions(FF_HAVE_X11=1) -+ else(X11_FOUND) -+ message(WARNING "Package x11 not found. Building without support.") -+ endif(X11_FOUND) -+endif(ENABLE_X11) -+ -+if(ENABLE_GIO) -+ pkg_check_modules (GIO gio-2.0) -+ if(GIO_FOUND) -+ add_compile_definitions(FF_HAVE_GIO=1) -+ else(GIO_FOUND) -+ message(WARNING "Package gio-2.0 not found. Building without support.") -+ endif(GIO_FOUND) -+endif(ENABLE_GIO) -+ -+if(ENABLE_DCONF) -+ pkg_check_modules (DCONF dconf) -+ if(DCONF_FOUND) -+ add_compile_definitions(FF_HAVE_DCONF=1) -+ else(DCONF_FOUND) -+ message(WARNING "Package dconf not found. Building without support.") -+ endif(DCONF_FOUND) -+endif(ENABLE_DCONF) -+ -+if(ENABLE_XFCONF) -+ pkg_check_modules (XFCONF libxfconf-0) -+ if(XFCONF_FOUND) -+ add_compile_definitions(FF_HAVE_XFCONF=1) -+ else(XFCONF_FOUND) -+ message(WARNING "Package libxfconf-0 not found. Building without support.") -+ endif(XFCONF_FOUND) -+endif(ENABLE_XFCONF) -+ -+if(ENABLE_RPM) -+ pkg_check_modules (RPM rpm) -+ if(RPM_FOUND) -+ add_compile_definitions(FF_HAVE_RPM=1) -+ else(RPM_FOUND) -+ message(WARNING "Package librpm not found. Building without support.") -+ endif(RPM_FOUND) -+endif(ENABLE_RPM) - - include_directories( - ${PROJECT_BINARY_DIR}