[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-04-14 Thread Joonas Niilola
commit: 90061e9a748419f7a3e2e23ca9e10623c294a938
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 13:07:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90061e9a

x11-misc/xsnap: fix build with -native-symlinks

Removed no longer necessary sed for toolchain vars and swapped
DEPEND with BDEPEND to put imake in the right block

Closes: https://bugs.gentoo.org/726242
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index e28502a5b0c..dd43dcab643 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -24,12 +24,12 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="
-   ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
app-text/rman
dev-lang/perl
x11-base/xorg-proto
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
@@ -46,21 +46,18 @@ src_prepare() {
sed -i \
-e '/^LOCALEDIR=/d' \
po/Makefile || die
+}
 
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+   emake \
+   CC="$(tc-getCC)" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 1d70725ad62a722240f7149e31cb02b392d8dfcb
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:16:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:18:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70725a

x11-misc/xsnap: Stabilize 1.5.15-r2 x86, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 920e4a2ffcc..ee64268bcab 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 169e73b815ee099a0086e483393052c67953f9f8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:20:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169e73b8

x11-misc/xsnap: Stabilize 1.5.15-r2 amd64, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index ee64268bcab..50f7a7c4e4f 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: dcccea220fc3553428edd520cf39aeb317096f49
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:24:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:24:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcccea22

x11-misc/xsnap: Stabilize 1.5.15-r2 ppc, #776490

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index 50f7a7c4e4f..e28502a5b0c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2021-03-15 Thread Sam James
commit: 958dde8163ba88fe55bac15db1fd2f3a110d019f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:31:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:38:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958dde81

x11-misc/xsnap: drop 1.5.15-r1

Bug: https://bugs.gentoo.org/776490
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 65 ---
 1 file changed, 65 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
deleted file mode 100644
index f8f3dd11c40..000
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-base/xorg-proto
-   x11-misc/imake
-"
-
-DOCS=( AUTHORS Changelog README )
-PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2020-02-02 Thread Jeroen Roovers
commit: 84b6cb6a3fb3828c5099fa76cc86ed20fc2775c8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  2 20:15:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  2 20:16:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b6cb6a

x11-misc/xsnap: Uncompress man pages

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
new file mode 100644
index 000..920e4a2ffcc
--- /dev/null
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE=""
+
+COMMON_DEPEND="
+   media-libs/libpng:0
+   virtual/jpeg:0
+   x11-libs/libX11
+   x11-libs/libXft
+   x11-libs/libXpm
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   app-text/rman
+   dev-lang/perl
+   x11-base/xorg-proto
+   x11-misc/imake
+"
+DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
+   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
+   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
+   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
+   Imakefile || die
+   sed -i \
+   -e '/^LOCALEDIR=/d' \
+   po/Makefile || die
+
+   xmkmf || die
+
+   sed -i \
+   -e '/ CC = /d' \
+   -e '/ LD = /d' \
+   -e '/ CDEBUGFLAGS = /d' \
+   -e '/ CCOPTIONS = /d' \
+   -e 's|CPP = cpp|CPP = $(CC)|g' \
+   Makefile || die
+}
+
+src_compile() {
+   tc-export CC
+   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-20 Thread Agostino Sarubbo
commit: 96357db81fb39994b7eb913e8a0f68e57493afc0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 11:04:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 11:04:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96357db8

x11-misc/xsnap: amd64 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index e3d23fbadc7..7e6d16268b1 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-21 Thread Agostino Sarubbo
commit: 7bd40eb79a01d2bb62e3862174e9c35045b99db3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:32:57 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:32:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd40eb7

x11-misc/xsnap: x86 stable wrt bug #613104

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 7e6d16268b1..afcd13c558a 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-22 Thread Michael Weber
commit: b81679c853684bcba7a87bd5f2b0e7c54cdb37f2
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 21 15:34:41 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 22 07:29:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81679c8

x11-misc/xsnap: ppc stable (bug 613104)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 x11-misc/xsnap/xsnap-1.5.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index afcd13c558a..98310014da8 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-02-21 Thread David Seifert
commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 20 16:34:10 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Feb 21 08:13:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4

x11-misc/xsnap: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4046

 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
similarity index 90%
rename from x11-misc/xsnap/xsnap-1.5.15.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
index 3d0c69a1c6..6747829d96 100644
--- a/x11-misc/xsnap/xsnap-1.5.15.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -34,9 +34,10 @@ DEPEND="
 "
 
 DOCS=( AUTHORS Changelog README )
+PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-root_name.patch
+   default
 
sed -i \
-e 's|/usr/share/locale|$(LOCALEDIR)|g' \



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-03-07 Thread David Seifert
commit: af1e762615ece1cbd05b034bce1e90e813dcf1a7
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Mar  6 15:26:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar  7 09:12:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1e7626

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.11.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 67385adafc4..8a73edf1519 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,3 +1,2 @@
 DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
-DIST xsnap-1.5.11.tar.bz2 46031 SHA256 
9076bb1041921771e6d2bae374aa12296fe963897a9f2ad259b4922914b7c179 SHA512 
41659d5e7608dfc16d020b3b4ac9452522922c0d0a0a240ce8fecf2aec35ed5d5f1ec01151204dc66eb24c68c29449e4ba2e8fe8f376de1089e8761f6c30513c
 WHIRLPOOL 
343ae02b583d223ebefceeae2022665c9b4d703bc7a75d9526df7fc6e11d0f4f00d2cc2bcfc644dd3fbfbb1c07dcb3ac765307a922d9fd5d8fa68b1f5269003f
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.11.ebuild 
b/x11-misc/xsnap/xsnap-1.5.11.ebuild
deleted file mode 100644
index 42c00ac24bb..000
--- a/x11-misc/xsnap/xsnap-1.5.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto
-"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   sed -i \
-   -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
-   -e 's|/usr/share/man/man1|$(MANDIR)|g' \
-   -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) 
install|' \
-   -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
-   Imakefile || die
-   sed -i \
-   -e '/^LOCALEDIR=/d' \
-   po/Makefile || die
-
-   xmkmf || die
-
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2017-04-01 Thread David Seifert
commit: dd8de19811cf28ec5a903fc79ab9aad696917115
Author: Harri Nieminen  gmail  com>
AuthorDate: Tue Mar 28 18:35:15 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:23:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8de198

x11-misc/xsnap: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4319

 x11-misc/xsnap/Manifest|  1 -
 x11-misc/xsnap/xsnap-1.5.10.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/x11-misc/xsnap/Manifest b/x11-misc/xsnap/Manifest
index 8a73edf1519..287e0e29417 100644
--- a/x11-misc/xsnap/Manifest
+++ b/x11-misc/xsnap/Manifest
@@ -1,2 +1 @@
-DIST xsnap-1.5.10.tar.bz2 54172 SHA256 
6839586dd3bdcef8c4fcc1e11d52716fb6a92b3a1d7613801f880da3b5ce332f SHA512 
d82414d1d5a99eba692b32b30b434119b60567eb89b62b1ea3cb3dfbc9e71e2196ee6ca667a02bfdb8d27fd3ec6df3589fe97702fff9758d3139881b32697b55
 WHIRLPOOL 
6c7137f2544cf9cef566e5e269967d15562578c0010ba20db596b0581971142fe375c4f0b59a7fc6dcb6b3440e0e584eaf2784e7dfbcad3b67ae2f59f3c26706
 DIST xsnap-1.5.15.tar.bz2 46574 SHA256 
e83cd5dc98fb682effd15db5a7423392236cf88f73fc98ca3972a2555c080fb9 SHA512 
898914dd0bfec93b641815cc07522d4ea6168266a7f5efe75715cf68555e8959a72b40b0a02e75244348afc6aa77d267fbe7ee60670da5f33e6db2f6c4476dac
 WHIRLPOOL 
aeb8a26e92af4b6cb602d4d33293bca511c502443215b5cddb4f2185663481e3fd540df5d6ed73b6a640526e040129cb4c8698879f342faf38e03b173385d53c

diff --git a/x11-misc/xsnap/xsnap-1.5.10.ebuild 
b/x11-misc/xsnap/xsnap-1.5.10.ebuild
deleted file mode 100644
index b072ea80870..000
--- a/x11-misc/xsnap/xsnap-1.5.10.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
-
-COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
-   x11-libs/libX11
-   x11-libs/libXft
-   x11-libs/libXpm
-"
-RDEPEND="${COMMON_DEPEND}
-   media-fonts/font-misc-misc"
-DEPEND="${COMMON_DEPEND}
-   app-text/rman
-   dev-lang/perl
-   x11-misc/imake
-   x11-proto/xproto"
-
-DOCS=( AUTHORS Changelog README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-prefix.patch
-
-   xmkmf || die
-   sed -i \
-   -e '/ CC = /d' \
-   -e '/ LD = /d' \
-   -e '/ CDEBUGFLAGS = /d' \
-   -e '/ CCOPTIONS = /d' \
-   -e 's|CPP = cpp|CPP = $(CC)|g' \
-   Makefile || die
-}
-
-src_compile() {
-   tc-export CC
-   emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/share/man/man1
-   default
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2022-10-11 Thread Ionen Wolkens
commit: bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 11 08:27:44 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 11 08:56:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff06d43

x11-misc/xsnap: pass -std=gnu89

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
index 560e1574bb68..c68de841d51c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/";
@@ -52,6 +52,8 @@ src_prepare() {
 }
 
 src_configure() {
+   append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
 }



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2022-09-30 Thread Ionen Wolkens
commit: c93bd722e0b57cf2313f3eb97e50e4277cfce344
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Sep 30 09:19:37 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Sep 30 10:48:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93bd722

x11-misc/xsnap: force gcc -E for imake's generation

Requires traditional cpp support and is broken in all sort of ways
with clang-cpp / -E. Can still use clang & friends for everything else.

Ideally these packages need to be built another way or last rited,
imake will just accumulate more problems.

Bug: https://bugs.gentoo.org/870811
Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
index dd43dcab6432..bc17eb259842 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,11 +24,14 @@ RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc
 "
-DEPEND="${COMMON_DEPEND}"
+DEPEND="
+   ${COMMON_DEPEND}
+   x11-base/xorg-proto
+"
 BDEPEND="
app-text/rman
dev-lang/perl
-   x11-base/xorg-proto
+   sys-devel/gcc
>=x11-misc/imake-1.0.8-r1
 "
 DOCS=( AUTHORS Changelog README )
@@ -50,7 +53,7 @@ src_prepare() {
 
 src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
-   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
+   IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/

2022-09-30 Thread Ionen Wolkens
commit: 5bc3dd271aacdb716cedc94495a343f1aeffb8bd
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Sep 30 09:31:46 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Sep 30 10:48:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc3dd27

x11-misc/xsnap: EAPI7->8, update deps

Signed-off-by: Ionen Wolkens  gentoo.org>

 ...nap-1.5.15-r2.ebuild => xsnap-1.5.15-r3.ebuild} | 26 +-
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild 
b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
similarity index 83%
rename from x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
rename to x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
index e93eb8f85a7d..560e1574bb68 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
@@ -1,7 +1,8 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
 inherit toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the 
screen"
@@ -11,31 +12,25 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2";
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE=""
 
 COMMON_DEPEND="
-   media-libs/libpng:0
-   virtual/jpeg:0
+   media-libs/libjpeg-turbo:=
+   media-libs/libpng:=
+   sys-libs/zlib:=
x11-libs/libX11
x11-libs/libXft
-   x11-libs/libXpm
-"
+   x11-libs/libXpm"
 RDEPEND="
${COMMON_DEPEND}
-   media-fonts/font-misc-misc
-"
+   media-fonts/font-misc-misc"
 DEPEND="
${COMMON_DEPEND}
-   x11-base/xorg-proto
-"
+   x11-base/xorg-proto"
 BDEPEND="
app-text/rman
dev-lang/perl
sys-devel/gcc
-   >=x11-misc/imake-1.0.8-r1
-"
-
-DOCS=( AUTHORS Changelog README )
+   >=x11-misc/imake-1.0.8-r1"
 
 PATCHES=(
"${FILESDIR}"/${P}-root_name.patch
@@ -70,5 +65,6 @@ src_compile() {
 
 src_install() {
default
-   find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
+
+   find "${ED}" -type f -name '*.1.gz' -exec gunzip {} + || die
 }



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/files/

2017-08-13 Thread David Seifert
commit: b1273a49b3f1ba4ccd5e54c4ddafb87022ab0700
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Thu Aug 10 17:50:59 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 13 11:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1273a49

x11-misc/xsnap: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/5383

 x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch | 40 --
 1 file changed, 40 deletions(-)

diff --git a/x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch 
b/x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch
deleted file mode 100644
index ac4f96f3fd7..000
--- a/x11-misc/xsnap/files/xsnap-1.5.10-prefix.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From: Nathan Phillip Brink 
-Subject: Fix installation of xsnap on gentoo-prefix.
-
 a/po/Makefile
-+++ b/po/Makefile
-@@ -19,7 +19,6 @@
- #   along with this program. If not, see .
- 
- CATALOGS="fr"
--LOCALEDIR=/usr/share/locale
- 
- all:
-   for cat in $(CATALOGS) ; do msgfmt -o $$cat.mo -v $$cat.po ; done
-
 a/Imakefile
-+++ b/Imakefile
-@@ -37,9 +37,10 @@
- /* This is the right link order [Steff] */
- LOCAL_LIBRARIES = -lz $(XPMLIB) $(XFTLIB) $(PNGLIB) $(JPEGLIB) $(XLIB)
- 
--  DEFINES = -DENABLE_NLS -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" 
-DLOCALEDIR=\"/usr/share/locale\"
-+LOCALEDIR = /usr/share/locale
-+  DEFINES = -DENABLE_NLS -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" 
-DLOCALEDIR=\"$(LOCALEDIR)\"
- 
--#DEFINES = -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" 
-DLOCALEDIR=\"/usr/share/locale\"
-+#DEFINES = -DXPM -DPNG -DJPG -DPACKAGE=\"xsnap\" 
-DLOCALEDIR=\"$(LOCALEDIR)\"
- 
- ComplexProgramTarget(xsnap)
- 
-@@ -55,8 +56,8 @@
- install::
-   cp -f xsnap-ocr $(DESTDIR)/$(BINDIR)
-   chmod a+rx $(DESTDIR)/$(BINDIR)/xsnap-ocr
--  cp -f xsnap.1.gz xsnap-ocr.1.gz $(DESTDIR)/usr/share/man/man1
--  cd po ; $(MAKE) install
-+  cp -f xsnap.1.gz xsnap-ocr.1.gz $(DESTDIR)/$(MANDIR)
-+  cd po ; $(MAKE) LOCALEDIR='$(LOCALEDIR)' install
- 
- clean::
-   cd po ; $(MAKE) clean



  1   2   >