From 4fb500df3efb59b793cde1a1dc9ef247654e8a21 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 20 Mar 2021 12:17:05 +0100 Subject: [PATCH 1/2] Revert "x11-terms/terminus: using dodoc instead of delete docs" This reverts commit f9510ec2cbc34084f7c81dd842ffad5c6af3540f. Signed-off-by: Andrew Ammerlaan --- .../{terminus-1.0.135-r1.ebuild => terminus-1.0.135.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename x11-terms/terminus/{terminus-1.0.135-r1.ebuild => terminus-1.0.135.ebuild} (91%) diff --git a/x11-terms/terminus/terminus-1.0.135-r1.ebuild b/x11-terms/terminus/terminus-1.0.135.ebuild similarity index 91% rename from x11-terms/terminus/terminus-1.0.135-r1.ebuild rename to x11-terms/terminus/terminus-1.0.135.ebuild index 8c4db802d5..eb205f3215 100644 --- a/x11-terms/terminus/terminus-1.0.135-r1.ebuild +++ b/x11-terms/terminus/terminus-1.0.135.ebuild @@ -20,6 +20,9 @@ DEPEND="net-print/cups" # Requested by electron src_prepare(){ default + + # Remove useless license files. + rm LICENSE.electron.txt LICENSES.electron.html } src_install(){ @@ -33,5 +36,4 @@ src_install(){ for i in {16,24,32,48,64,72,96,128,512}; do doicon -s "${i}" ../terminus-"${i}".png done - dodoc LICENSE.electron.txt LICENSES.electron.html } From ae0e98ac74a7ba66df3f685457608252af00987b Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 20 Mar 2021 12:22:17 +0100 Subject: [PATCH 2/2] sys-apps/plocate: moved to ::gentoo Signed-off-by: Andrew Ammerlaan --- sys-apps/plocate/Manifest | 1 - sys-apps/plocate/files/updatedb.cron | 2 - sys-apps/plocate/files/updatedb.service | 13 ------- sys-apps/plocate/files/updatedb.timer | 9 ----- sys-apps/plocate/metadata.xml | 14 ------- sys-apps/plocate/plocate-1.1.5.ebuild | 52 ------------------------- 6 files changed, 91 deletions(-) delete mode 100644 sys-apps/plocate/Manifest delete mode 100644 sys-apps/plocate/files/updatedb.cron delete mode 100644 sys-apps/plocate/files/updatedb.service delete mode 100644 sys-apps/plocate/files/updatedb.timer delete mode 100644 sys-apps/plocate/metadata.xml delete mode 100644 sys-apps/plocate/plocate-1.1.5.ebuild diff --git a/sys-apps/plocate/Manifest b/sys-apps/plocate/Manifest deleted file mode 100644 index 17237dc8ed..0000000000 --- a/sys-apps/plocate/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST plocate-1.1.5.tar.gz 69090 BLAKE2B 70b398eb1a5d7b36294188966ef5f46843d9db9f41021a294d88795944412b4ef3819771082955a74a9945296fa14c59461a4ab4af197691f7085a40eeb7f0ef SHA512 6169ea7b3587e12e555a42e0c70e149626810f5e6f9f1f03ca1b069d7892d45bc52cabf072324eaa6f14055943dd680a71642914c0218a770e2b00a22c75efbc diff --git a/sys-apps/plocate/files/updatedb.cron b/sys-apps/plocate/files/updatedb.cron deleted file mode 100644 index c3895afedd..0000000000 --- a/sys-apps/plocate/files/updatedb.cron +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/sbin/updatedb diff --git a/sys-apps/plocate/files/updatedb.service b/sys-apps/plocate/files/updatedb.service deleted file mode 100644 index 01af0322b1..0000000000 --- a/sys-apps/plocate/files/updatedb.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Update the plocate database -ConditionACPower=true - -[Service] -Type=oneshot -ExecStart=/usr/sbin/updatedb -LimitNOFILE=131072 -IOSchedulingClass=idle - -PrivateTmp=true -PrivateDevices=true -PrivateNetwork=true diff --git a/sys-apps/plocate/files/updatedb.timer b/sys-apps/plocate/files/updatedb.timer deleted file mode 100644 index 1f69330cd2..0000000000 --- a/sys-apps/plocate/files/updatedb.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Update the plocate database daily - -[Timer] -OnCalendar=daily -Persistent=true - -[Install] -WantedBy=timers.target diff --git a/sys-apps/plocate/metadata.xml b/sys-apps/plocate/metadata.xml deleted file mode 100644 index c65c22b749..0000000000 --- a/sys-apps/plocate/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - arsen@aarsen.me - Arsen Arsenović - - - plocate is a locate(1) based on posting lists, completely replacing mlocate with a much faster (and smaller) index. It is suitable as a default locate on your system. - - - Enable efficient I/O via sys-libs/liburing. - - diff --git a/sys-apps/plocate/plocate-1.1.5.ebuild b/sys-apps/plocate/plocate-1.1.5.ebuild deleted file mode 100644 index 6d2ab0bae9..0000000000 --- a/sys-apps/plocate/plocate-1.1.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson systemd - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URL="https://git.sesse.net/plocate" -else - SRC_URI="https://plocate.sesse.net/download/plocate-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="a much faster locate" -HOMEPAGE="https://plocate.sesse.net/" -LICENSE="GPL-2" -SLOT="0" -IUSE="io-uring" - -DEPEND=" - acct-group/locate - !sys-apps/mlocate - io-uring? ( sys-libs/liburing:= ) -" - -src_configure() { - local emesonargs=( - -Dinstall_cron=false - -Dinstall_systemd=false - -Dlocategroup=locate - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - exeinto /etc/cron.daily/ - newexe "${FILESDIR}"/updatedb.cron plocate - systemd_dounit "${FILESDIR}"/updatedb.{service,timer} -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # The same notice as mlocate, minus the configuration file - elog "The database for the plocate command is generated daily by a cron job," - elog "if you install for the first time you can run the updatedb command manually now." - fi -}