public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2015-11-22  8:15 Markus Meier
  0 siblings, 0 replies; 12+ messages in thread
From: Markus Meier @ 2015-11-22  8:15 UTC (permalink / raw
  To: gentoo-commits

commit:     58cdf774f389e90d7359cb81ee23295765dadefe
Author:     Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 08:14:53 2015 +0000
Commit:     Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 08:14:53 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58cdf774

media-gfx/xsane: arm stable, bug #518456

Package-Manager: portage-2.2.25

 media-gfx/xsane/xsane-0.999-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/xsane/xsane-0.999-r1.ebuild b/media-gfx/xsane/xsane-0.999-r1.ebuild
index 8ea21fe..26651dd 100644
--- a/media-gfx/xsane/xsane-0.999-r1.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="nls jpeg png tiff gimp lcms ocr"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2017-02-11 12:03 Pacho Ramos
  0 siblings, 0 replies; 12+ messages in thread
From: Pacho Ramos @ 2017-02-11 12:03 UTC (permalink / raw
  To: gentoo-commits

commit:     6d722fdf3a546676174a1953f125b949b1ad4b5f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 12:02:55 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 12:03:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d722fdf

media-gfx/xsane: Fix dependencies, bump eapi, use bigger icon for desktop file

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --force

 media-gfx/xsane/Manifest                            |  1 +
 ...{xsane-0.999-r1.ebuild => xsane-0.999-r2.ebuild} | 21 ++++++++++++---------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest
index cb5d50e419..f5b65dcc72 100644
--- a/media-gfx/xsane/Manifest
+++ b/media-gfx/xsane/Manifest
@@ -1,2 +1,3 @@
 DIST xsane-0.998-patches-2.tar.xz 54804 SHA256 84af533cba6309cf44892da8952b6203daa4dcfaf64e2efd1dddc5144e4cab4c SHA512 973ccac2fe3b6089049c1c5ba3e4cb0db29fdc79de372f8a7b461ee108e5bfc3f4a84997552fc3d3b651bbe9f98d247a5974d90e8949089b2ea52118eab6ad1f WHIRLPOOL 2294601aa696c442e8d2b5173b8ee04d158439e0ae02dd22c7d5c8f9fce98c8238a42e0867a5e511d206dd4030f7a15df2a98676471abe1e91870883662add56
 DIST xsane-0.999.tar.gz 2950621 SHA256 5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b SHA512 73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed WHIRLPOOL 7d50f6ecd8ad671d36a6b92eb365a6361da8d90bfea3136cf7add0890313294903f8cbc75684cbc24e42a028f83922a0308783fb20d89b0d6b14b1f949283ad5
+DIST xsane-256x256.png 18478 SHA256 cb3f91fda48033734f1ac233fd788313e19522446680113dbc6dc5f5d33e4b16 SHA512 7bd63a701a4776b395689799ad98b7619917a9b40367c980bebaa116e6c5c2bfeffb8b996a8295b07f3483aa689c9040d8a68bb21376af65b1c0e8f69294f2e5 WHIRLPOOL 138c3b657d0527241237540cbe23dc541dff31f691c5971984c5e710cfb658cab301fc9ea6be0dcc609382104dab67dbd4c1bd65d9f8aabf1d04d6974922cf39

diff --git a/media-gfx/xsane/xsane-0.999-r1.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
similarity index 85%
rename from media-gfx/xsane/xsane-0.999-r1.ebuild
rename to media-gfx/xsane/xsane-0.999-r2.ebuild
index 26651ddcad..e3886389b6 100644
--- a/media-gfx/xsane/xsane-0.999-r1.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 inherit autotools eutils toolchain-funcs
 
 DESCRIPTION="graphical scanning frontend"
@@ -10,6 +10,7 @@ HOMEPAGE="http://www.xsane.org/"
 SRC_URI="
 	http://www.xsane.org/download/${P}.tar.gz
 	https://dev.gentoo.org/~dilfridge/distfiles/${PN}-0.998-patches-2.tar.xz
+	https://dev.gentoo.org/~pacho/${PN}/${PN}-256x256.png
 "
 
 LICENSE="GPL-2"
@@ -21,21 +22,21 @@ RDEPEND="
 	media-gfx/sane-backends
 	x11-libs/gtk+:2
 	x11-misc/xdg-utils
-	jpeg? ( virtual/jpeg )
-	png? ( media-libs/libpng )
-	tiff? ( media-libs/tiff )
+	jpeg? ( virtual/jpeg:0 )
+	png? ( media-libs/libpng:0= )
+	tiff? ( media-libs/tiff:0 )
 	gimp? ( media-gfx/gimp )
 	lcms? ( media-libs/lcms:2 )
 "
-
 PDEPEND="ocr? ( app-text/gocr )"
 
 DEPEND="${RDEPEND}
-	app-arch/xz-utils
 	virtual/pkgconfig
 "
 
 src_prepare() {
+	default
+
 	# Apply multiple fixes from different distributions
 	# Drop included patch and reuse patchset from prior version
 	rm "${WORKDIR}/${PN}-0.998-patches-2"/005-update-param-crash.patch || die
@@ -49,7 +50,9 @@ src_prepare() {
 	tc-export AR
 
 	# Add support for lcms-2 (from Fedora)
-	epatch "${FILESDIR}/${PN}-0.999-lcms2.patch"
+	eapply "${FILESDIR}/${PN}-0.999-lcms2.patch"
+
+	mv configure.in configure.ac || die
 	AT_M4DIR="m4" eautoreconf
 }
 
@@ -83,5 +86,5 @@ src_install() {
 		dosym /usr/bin/xsane "${plugindir#${EPREFIX}}"/xsane
 	fi
 
-	newicon src/xsane-48x48.png ${PN}.png
+	newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png
 }


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2017-02-18 18:50 Pacho Ramos
  0 siblings, 0 replies; 12+ messages in thread
From: Pacho Ramos @ 2017-02-18 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     1789c04a61a4e13559d1fbd2ca5c6f0abe8ff6f1
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 18:49:57 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 18:50:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1789c04a

media-gfx/xsane: Don't try to build unavailable linguas, bug #609672 by Chris Mansfield

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-gfx/xsane/xsane-0.999-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-gfx/xsane/xsane-0.999-r2.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
index e3886389b6..14660e6c81 100644
--- a/media-gfx/xsane/xsane-0.999-r2.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -37,6 +37,8 @@ DEPEND="${RDEPEND}
 src_prepare() {
 	default
 
+	strip-linguas -i po/ #609672
+
 	# Apply multiple fixes from different distributions
 	# Drop included patch and reuse patchset from prior version
 	rm "${WORKDIR}/${PN}-0.998-patches-2"/005-update-param-crash.patch || die


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2017-02-21 19:57 Pacho Ramos
  0 siblings, 0 replies; 12+ messages in thread
From: Pacho Ramos @ 2017-02-21 19:57 UTC (permalink / raw
  To: gentoo-commits

commit:     1b243247fb3ae98aa27ac13e81a61b09027531bb
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 19:56:08 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 19:57:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b243247

media-gfx/xsane: Dropping from metadata as I am not using this for a long time

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-gfx/xsane/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/media-gfx/xsane/metadata.xml b/media-gfx/xsane/metadata.xml
index 29998d79a9..83d97d0e07 100644
--- a/media-gfx/xsane/metadata.xml
+++ b/media-gfx/xsane/metadata.xml
@@ -1,9 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="person">
-	<email>pacho@gentoo.org</email>
-</maintainer>
 <maintainer type="project">
         <email>printing@gentoo.org</email>
         <name>Gentoo Printing Project</name>


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2019-02-07 13:31 Miroslav Šulc
  0 siblings, 0 replies; 12+ messages in thread
From: Miroslav Šulc @ 2019-02-07 13:31 UTC (permalink / raw
  To: gentoo-commits

commit:     3e06dd4dbcd2bb33f3d75f20c64ea64f105b3afe
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  7 13:31:04 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Feb  7 13:31:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e06dd4d

media-gfx/xsane-0.999-r2: fixed gimptool handling

Closes: https://bugs.gentoo.org/666639
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r2.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/media-gfx/xsane/xsane-0.999-r2.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
index 65a365cff25..c45649a3a83 100644
--- a/media-gfx/xsane/xsane-0.999-r2.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -76,10 +76,9 @@ src_install() {
 	# link xsane so it is seen as a plugin in gimp
 	if use gimp; then
 		local plugindir
-		if [ -x "${EPREFIX}"/usr/bin/gimptool ]; then
-			plugindir="$(gimptool --gimpplugindir)/plug-ins"
-		elif [ -x "${EPREFIX}"/usr/bin/gimptool-2.0 ]; then
-			plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins"
+		local gimptool=$(ls "${EPREFIX}"/usr/bin/gimptool* | head -n1)
+		if [ -n "${gimptool}" ]; then
+			plugindir="$(${gimptool} --gimpplugindir)/plug-ins"
 		else
 			die "Can't find GIMP plugin directory."
 		fi


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2020-07-23  5:15 Kent Fredric
  0 siblings, 0 replies; 12+ messages in thread
From: Kent Fredric @ 2020-07-23  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     782a754c7a70a3b070ee612024f7afe20b166eec
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 23 04:50:30 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jul 23 05:13:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782a754c

media-gfx/xsane: Drop macos prefixes re bug #690140

Depends:
- media-gfx/gimp
 - media-libs/gegl
  - media-video/ffmpeg
   - net-misc/wget
    - dev-perl/IO-Socket-SSL

Bug: https://bugs.gentoo.org/690140
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/xsane/xsane-0.999-r2.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
index 9c0f60ec0b3..da19a27bb81 100644
--- a/media-gfx/xsane/xsane-0.999-r2.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="nls jpeg png tiff gimp lcms ocr"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2020-10-11 19:21 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2020-10-11 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b964cad399111c20425d80865c5c444dd38a857c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 19:19:29 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 11 19:19:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b964cad3

media-gfx/xsane: Keyword 0.999-r2 arm64, #747178

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/xsane/xsane-0.999-r2.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
index da19a27bb81..6d380c05701 100644
--- a/media-gfx/xsane/xsane-0.999-r2.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="nls jpeg png tiff gimp lcms ocr"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2020-11-08 12:02 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2020-11-08 12:02 UTC (permalink / raw
  To: gentoo-commits

commit:     3057bc70ef1432f06e354328263ac38dd45c2363
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Nov  4 22:21:19 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  8 11:53:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3057bc70

media-gfx/xsane: switch media-gfx/gimp-2.10 to SLOT="0/2"

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/xsane/{xsane-0.999-r2.ebuild => xsane-0.999-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/xsane/xsane-0.999-r2.ebuild b/media-gfx/xsane/xsane-0.999-r3.ebuild
similarity index 98%
rename from media-gfx/xsane/xsane-0.999-r2.ebuild
rename to media-gfx/xsane/xsane-0.999-r3.ebuild
index 6d380c05701..c3854c395cb 100644
--- a/media-gfx/xsane/xsane-0.999-r2.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r3.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
 	jpeg? ( virtual/jpeg:0 )
 	png? ( media-libs/libpng:0= )
 	tiff? ( media-libs/tiff:0 )
-	gimp? ( media-gfx/gimp )
+	gimp? ( media-gfx/gimp:0/2 )
 	lcms? ( media-libs/lcms:2 )
 "
 PDEPEND="ocr? ( app-text/gocr )"


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2020-11-08 12:50 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2020-11-08 12:50 UTC (permalink / raw
  To: gentoo-commits

commit:     d4e24ca4e1d0587c85126df916c1e12e9dde9c4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 12:50:13 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  8 12:50:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e24ca4

media-gfx/xsane: fix AbsoluteSymlink

I don't see an easy way (right now) to figure out
how deep the GIMP path will be, so let's do this instead.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/xsane/xsane-0.999-r3.ebuild b/media-gfx/xsane/xsane-0.999-r3.ebuild
index c3854c395cb..21fc69c4858 100644
--- a/media-gfx/xsane/xsane-0.999-r3.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r3.ebuild
@@ -83,7 +83,7 @@ src_install() {
 			die "Can't find GIMP plugin directory."
 		fi
 		dodir "${plugindir#${EPREFIX}}"
-		dosym /usr/bin/xsane "${plugindir#${EPREFIX}}"/xsane
+		dosym "${EPREFIX}/usr/bin/xsane" "${plugindir#${EPREFIX}}"/xsane
 	fi
 
 	newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2020-11-15 10:12 Michał Górny
  0 siblings, 0 replies; 12+ messages in thread
From: Michał Górny @ 2020-11-15 10:12 UTC (permalink / raw
  To: gentoo-commits

commit:     a4c4394579b56009954e476af1ba3f5fa1ad58d8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 09:45:44 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 10:12:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c43945

media-gfx/xsane: Use relative symlink, fix ugly shell code

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r3.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-gfx/xsane/xsane-0.999-r3.ebuild b/media-gfx/xsane/xsane-0.999-r3.ebuild
index 21fc69c4858..08d3756194f 100644
--- a/media-gfx/xsane/xsane-0.999-r3.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r3.ebuild
@@ -76,14 +76,14 @@ src_install() {
 	# link xsane so it is seen as a plugin in gimp
 	if use gimp; then
 		local plugindir
-		local gimptool=$(ls "${EPREFIX}"/usr/bin/gimptool* | head -n1)
-		if [ -n "${gimptool}" ]; then
-			plugindir="$(${gimptool} --gimpplugindir)/plug-ins"
+		local gimptool=( "${EPREFIX}"/usr/bin/gimptool* )
+		if [[ ${#gimptool[@]} -gt 0 ]]; then
+			plugindir="$("${gimptool[0]}" --gimpplugindir)/plug-ins"
 		else
 			die "Can't find GIMP plugin directory."
 		fi
-		dodir "${plugindir#${EPREFIX}}"
-		dosym "${EPREFIX}/usr/bin/xsane" "${plugindir#${EPREFIX}}"/xsane
+		mkdir -p "${D}${plugindir}" || die
+		ln -s ../../../../bin/xsane "${D}${plugindir}"/xsane || die
 	fi
 
 	newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2021-06-30 10:15 Ulrich Müller
  0 siblings, 0 replies; 12+ messages in thread
From: Ulrich Müller @ 2021-06-30 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     cee2c5a5555c0790b65a49b4d6078f8774ad93d1
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 10:03:57 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 30 10:15:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee2c5a5

media-gfx/xsane: Update inherit from l10n to strip-linguas

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-gfx/xsane/xsane-0.999-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/xsane/xsane-0.999-r3.ebuild b/media-gfx/xsane/xsane-0.999-r3.ebuild
index f6c40655879..a6324b3b8c2 100644
--- a/media-gfx/xsane/xsane-0.999-r3.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools desktop epatch l10n toolchain-funcs
+inherit autotools desktop epatch strip-linguas toolchain-funcs
 
 DESCRIPTION="Graphical scanning frontend"
 HOMEPAGE="http://www.xsane.org/"


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
@ 2022-06-23 20:12 David Seifert
  0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2022-06-23 20:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b7f52b07c80d42966ec7e30eb0ad1cfebc4ba74b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 20:12:20 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 20:12:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f52b07

media-gfx/xsane: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-gfx/xsane/Manifest                           |  2 +-
 ...xsane-0.999-r3.ebuild => xsane-0.999-r4.ebuild} | 34 +++++++++-------------
 2 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest
index 126cfe38ffea..9a07937bd68d 100644
--- a/media-gfx/xsane/Manifest
+++ b/media-gfx/xsane/Manifest
@@ -1,3 +1,3 @@
-DIST xsane-0.998-patches-2.tar.xz 54804 BLAKE2B d5eb339f5d5d9eb61d213ca37e31e8b36df03f271f86a0c5f924286b39c9d2f47416512243ff3ad07e2f9d0ac4e3f0a73346ced1ce74ac17dbb0c9aaf6ae3c89 SHA512 973ccac2fe3b6089049c1c5ba3e4cb0db29fdc79de372f8a7b461ee108e5bfc3f4a84997552fc3d3b651bbe9f98d247a5974d90e8949089b2ea52118eab6ad1f
+DIST xsane-0.998-patches-3.tar.xz 54480 BLAKE2B 8c77bf0304e60114fa964e337640b61e7c353a6b6f9ad5bc3c87fd5324440b27e58a45aef7df2f16d5faa63692b9f8b22cca7d5dbf21dd6a1cac8572e668cf65 SHA512 e0a85e536502fef66526f12d7607381d07a2a53953f200b298afd1225f85657dfa3550f37b1ee7827739cb2b00333ab926a146c6424ec2543b691f0945300b68
 DIST xsane-0.999.tar.gz 2950621 BLAKE2B a8490981b7da497934f0334874fb65d2d3f2a7d9153825544672a39780bd8c4bfabee6bda134bd7b37b07947d1f01f283fb7242552b0e6342cab5a70484a5488 SHA512 73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed
 DIST xsane-256x256.png 18478 BLAKE2B 5661d68fab2c5f7219f0de9e2c2c811ef5fba6f5472e85d98f6f3a10bb058c1d26597d15c2aa8ab59c52060a62b571aafc2daafcef4bb8edd0445cf875ec0ca3 SHA512 7bd63a701a4776b395689799ad98b7619917a9b40367c980bebaa116e6c5c2bfeffb8b996a8295b07f3483aa689c9040d8a68bb21376af65b1c0e8f69294f2e5

diff --git a/media-gfx/xsane/xsane-0.999-r3.ebuild b/media-gfx/xsane/xsane-0.999-r4.ebuild
similarity index 68%
rename from media-gfx/xsane/xsane-0.999-r3.ebuild
rename to media-gfx/xsane/xsane-0.999-r4.ebuild
index a6324b3b8c28..78d35099cfd2 100644
--- a/media-gfx/xsane/xsane-0.999-r3.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r4.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit autotools desktop epatch strip-linguas toolchain-funcs
+inherit autotools desktop strip-linguas toolchain-funcs
 
 DESCRIPTION="Graphical scanning frontend"
 HOMEPAGE="http://www.xsane.org/"
 SRC_URI="
 	http://www.xsane.org/download/${P}.tar.gz
-	https://dev.gentoo.org/~dilfridge/distfiles/${PN}-0.998-patches-2.tar.xz
+	https://dev.gentoo.org/~soap/distfiles/${PN}-0.998-patches-3.tar.xz
 	https://dev.gentoo.org/~pacho/${PN}/${PN}-256x256.png
 "
 
@@ -22,17 +22,15 @@ RDEPEND="
 	media-gfx/sane-backends
 	x11-libs/gtk+:2
 	x11-misc/xdg-utils
-	jpeg? ( virtual/jpeg:0 )
-	png? ( media-libs/libpng:0= )
-	tiff? ( media-libs/tiff:0 )
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	png? ( media-libs/libpng:= )
+	tiff? ( media-libs/tiff:= )
 	gimp? ( media-gfx/gimp:0/2 )
 	lcms? ( media-libs/lcms:2 )
 "
 PDEPEND="ocr? ( app-text/gocr )"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default
@@ -40,25 +38,23 @@ src_prepare() {
 	strip-linguas -i po/ #609672
 
 	# Apply multiple fixes from different distributions
-	# Drop included patch and reuse patchset from prior version
-	rm "${WORKDIR}/${PN}-0.998-patches-2"/005-update-param-crash.patch || die
-	epatch "${WORKDIR}/${PN}-0.998-patches-2"/*.patch
+	eapply "${WORKDIR}/${PN}-0.998-patches-3"/
 
 	# Fix compability with libpng15 wrt #377363
 	sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c || die
 
 	# Fix AR calling directly (bug #442606)
 	sed -i -e 's:ar r:$(AR) r:' lib/Makefile.in || die
-	tc-export AR
 
 	# Add support for lcms-2 (from Fedora)
 	eapply "${FILESDIR}/${PN}-0.999-lcms2.patch"
 
-	mv configure.in configure.ac || die
 	AT_M4DIR="m4" eautoreconf
 }
 
 src_configure() {
+	tc-export AR
+
 	econf \
 		--enable-gtk2 \
 		$(use_enable nls) \
@@ -76,15 +72,13 @@ src_install() {
 
 	# link xsane so it is seen as a plugin in gimp
 	if use gimp; then
-		local plugindir
-		local gimptool=( "${EPREFIX}"/usr/bin/gimptool* )
+		local plugindir gimptool=( "${ESYSROOT}"/usr/bin/gimptool* )
 		if [[ ${#gimptool[@]} -gt 0 ]]; then
 			plugindir="$("${gimptool[0]}" --gimpplugindir)/plug-ins"
 		else
 			die "Can't find GIMP plugin directory."
 		fi
-		mkdir -p "${D}${plugindir}" || die
-		ln -s ../../../../bin/xsane "${D}${plugindir}"/xsane || die
+		dosym -r /usr/bin/xsane "${plugindir}"/xsane
 	fi
 
 	newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-06-23 20:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-30 10:15 [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2022-06-23 20:12 David Seifert
2020-11-15 10:12 Michał Górny
2020-11-08 12:50 Sam James
2020-11-08 12:02 Sam James
2020-10-11 19:21 Sam James
2020-07-23  5:15 Kent Fredric
2019-02-07 13:31 Miroslav Šulc
2017-02-21 19:57 Pacho Ramos
2017-02-18 18:50 Pacho Ramos
2017-02-11 12:03 Pacho Ramos
2015-11-22  8:15 Markus Meier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox