summaryrefslogtreecommitdiff
path: root/x11-misc/xsel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-16 17:51:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-16 17:51:01 +0100
commitd83532aee7e94505bf23da29e6224ca164aac759 (patch)
treefcd6dbea91816dd541b6c602b5fed02ca574a5f6 /x11-misc/xsel
parenta2844b413d00a2859401e017a0311986151e1594 (diff)
gentoo auto-resync : 16:04:2023 - 17:51:01
Diffstat (limited to 'x11-misc/xsel')
-rw-r--r--x11-misc/xsel/Manifest4
-rw-r--r--x11-misc/xsel/files/xsel-1.2.0-Werror.patch11
-rw-r--r--x11-misc/xsel/xsel-1.2.0-r2.ebuild (renamed from x11-misc/xsel/xsel-1.2.0-r1.ebuild)19
-rw-r--r--x11-misc/xsel/xsel-9999.ebuild29
4 files changed, 25 insertions, 38 deletions
diff --git a/x11-misc/xsel/Manifest b/x11-misc/xsel/Manifest
index f27f4e0269db..9ba02cc3678f 100644
--- a/x11-misc/xsel/Manifest
+++ b/x11-misc/xsel/Manifest
@@ -1,4 +1,4 @@
+AUX xsel-1.2.0-Werror.patch 398 BLAKE2B e322155e11356a890096b861513acd8c6523c85922076f8310a9fa9d7212206d677fbfaca49d455f8fa929228280a5028f77045cbbb7b18989529bd887e8853c SHA512 fb68421d5ecd58f33bde15ea770ffdf22a3f356f4b05ed9588e572fc5d9fccff267e1019b4a984e5a62497cb6b0d4927038a16777da378d63eef8135dc5c9b06
DIST xsel-1.2.0.tar.gz 169155 BLAKE2B 59b5c2f03058be1a584f12bd5c129a008ae581545b7aed3a54240f6a0b9c29e857c7425cbf6fa6421ccd577a1907a9a6c1d7213e4ccc43309a5e8933e707847d SHA512 e28623e6cc180f2e2210c20697d21d336633f0a5272ca9b62150a1c535e8de89731acc07230a9977e391e37d3943a9d687f1f967765a15bca5092a6c6d8c4d8f
-EBUILD xsel-1.2.0-r1.ebuild 642 BLAKE2B 5414cd56c98bd2f24f9e4b9ff9ec72a22ea0b420df011878c3cb5da19011704346cc79cfa90bdfb6ff2b8829febd46c84a0c944e9cc4bad925a733b86fc17542 SHA512 130d055c75664399af253b617b85a1b0a05d1eb3cd7d904e1c9c19ecd878e1705e6239c3736d33c6421cd002074cd442c4850a122a0d912af99913298a974124
-EBUILD xsel-9999.ebuild 568 BLAKE2B 66dcdd575ed15292aab0e6f629bfe0f65d8e83fa80e2678061a502704c3da015f55fb4553573a23782afae1945afc11264eb74b58f81ad91fe725aa542d6f56a SHA512 02903c21b332e05b486718e831fc68a51b92365b0d5021b626a8814696428e6ebfe7037be6c397909c25b4d153259de4907374d433285ac0c1c2fcc26539166d
+EBUILD xsel-1.2.0-r2.ebuild 703 BLAKE2B 867fda3fde75c2f45d9e4c4e87781717cbe64f45edaf63d32329442a0afc7ddf990479a67a8552eedea341670375e8bd7c74a80692a0779615ce6c92061f01b3 SHA512 7e5afd6f817a211808dbd9cfc4d3f3e96ea8f104f24e13d5341f32595540cf86616ffe5a22f92ff6a36fc8ae0fe170ec142c84f6c4396966843351af8e3fceac
MISC metadata.xml 277 BLAKE2B ebaa8353413cfc5519fce99f8627c71cf765fc6d42b42651e232274de315487c156d45dcb23a401dffb8f112600b0dadd56f93d2283ff86b4293dc5490ad4059 SHA512 c8ef9069153b124118a6be64375c6954ccc6f518a13805e4ff1c33c9cec136170132a580c4a9781930b709c93678c94d6448291625de34d18fea41bfd17f685d
diff --git a/x11-misc/xsel/files/xsel-1.2.0-Werror.patch b/x11-misc/xsel/files/xsel-1.2.0-Werror.patch
new file mode 100644
index 000000000000..443dbb909cab
--- /dev/null
+++ b/x11-misc/xsel/files/xsel-1.2.0-Werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -24,7 +24,7 @@
+ dnl Add some useful warnings if we have gcc.
+ dnl changequote(,)dnl
+ if test "x$ac_cv_prog_gcc" = xyes ; then
+- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
++ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wdeclaration-after-statement -Wno-unused"
+ fi
+ dnl changequote([,])dnl
+
diff --git a/x11-misc/xsel/xsel-1.2.0-r1.ebuild b/x11-misc/xsel/xsel-1.2.0-r2.ebuild
index 41a76c336452..fa1470e14cf4 100644
--- a/x11-misc/xsel/xsel-1.2.0-r1.ebuild
+++ b/x11-misc/xsel/xsel-1.2.0-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
+inherit autotools
DESCRIPTION="Command-line program for getting and setting the contents of the X selection"
HOMEPAGE="http://www.vergenet.net/~conrad/software/xsel"
@@ -9,15 +11,18 @@ SRC_URI="http://www.vergenet.net/~conrad/software/${PN}/download/${P}.tar.gz"
LICENSE="HPND"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE=""
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ x11-libs/libX11
x11-libs/libXext"
DEPEND="${RDEPEND}
x11-base/xorg-proto
x11-libs/libXt"
-src_compile() {
- emake CFLAGS="${CFLAGS}"
+PATCHES=( "${FILESDIR}"/${P}-Werror.patch )
+
+src_prepare() {
+ default
+ eautoreconf
}
diff --git a/x11-misc/xsel/xsel-9999.ebuild b/x11-misc/xsel/xsel-9999.ebuild
deleted file mode 100644
index fbb8543c5cc5..000000000000
--- a/x11-misc/xsel/xsel-9999.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools git-r3
-
-DESCRIPTION="Command-line program for getting and setting the contents of the X selection"
-HOMEPAGE="http://www.vergenet.net/~conrad/software/xsel"
-EGIT_REPO_URI="https://github.com/kfish/xsel"
-
-LICENSE="HPND"
-SLOT="0"
-KEYWORDS=""
-
-RDEPEND="
- x11-libs/libX11
- x11-libs/libXext
-"
-DEPEND="
- ${RDEPEND}
- x11-base/xorg-proto
- x11-libs/libXt
-"
-
-src_prepare() {
- sed -i -e 's| -Werror -g||g' configure.ac || die
- default
- eautoreconf
-}