From 451c3ddc4f8b99940b0e3d3f52bad6e40936d628 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sat, 12 Jun 2010 22:04:45 +0000 Subject: [PATCH] Version bump wrt #300537 by Jeroen Roovers. Fix automagic libXinerama depend wrt #285733 by Alexis Ballier. Use .xpm instead of .xbm for icon format to comply with f.d.o standard. Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- app-text/gv/ChangeLog | 12 ++++++-- app-text/gv/Manifest | 11 +++---- app-text/gv/files/gv_icon.xpm | 58 +++++++++++++++++++++++++++++++++++ app-text/gv/gv-3.6.4.ebuild | 50 ------------------------------ app-text/gv/gv-3.6.6.ebuild | 50 ------------------------------ app-text/gv/gv-3.6.7.ebuild | 50 ------------------------------ app-text/gv/gv-3.7.1.ebuild | 54 ++++++++++++++++++++++++++++++++ 7 files changed, 126 insertions(+), 159 deletions(-) create mode 100644 app-text/gv/files/gv_icon.xpm delete mode 100644 app-text/gv/gv-3.6.4.ebuild delete mode 100644 app-text/gv/gv-3.6.6.ebuild delete mode 100644 app-text/gv/gv-3.6.7.ebuild create mode 100644 app-text/gv/gv-3.7.1.ebuild diff --git a/app-text/gv/ChangeLog b/app-text/gv/ChangeLog index 569cf9153387..51bd7ab5c155 100644 --- a/app-text/gv/ChangeLog +++ b/app-text/gv/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-text/gv -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.79 2009/12/26 17:31:42 pva Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.80 2010/06/12 22:04:45 ssuominen Exp $ + +*gv-3.7.1 (12 Jun 2010) + + 12 Jun 2010; Samuli Suominen +gv-3.7.1.ebuild, + +files/gv_icon.xpm: + Version bump wrt #300537 by Jeroen Roovers. Fix automagic libXinerama + depend wrt #285733 by Alexis Ballier. Use .xpm instead of .xbm for icon + format to comply with f.d.o standard. 26 Dec 2009; Peter Volkov gv-3.6.3.ebuild, gv-3.6.4.ebuild, gv-3.6.6.ebuild, gv-3.6.7.ebuild: diff --git a/app-text/gv/Manifest b/app-text/gv/Manifest index d811e93b6af5..5431a804a49d 100644 --- a/app-text/gv/Manifest +++ b/app-text/gv/Manifest @@ -1,12 +1,9 @@ AUX gv-3.6.1-a0.patch 2429 RMD160 a5f563ed40cab27a2e512df15a12cb6b68156afd SHA1 e30eb826fc09109070756bab76e3c42d58a1250e SHA256 c63430027c130b10fb60a1f1a6268010cc20d371a6984b52e0762bedfda32479 AUX gv-3.6.1-setenv.patch 378 RMD160 c616fb1b0b50f14e2b3783755cbc87ade85f5541 SHA1 8b5c6b97edb5700c6301b840240c7cf6e70294ec SHA256 6456009404d6c0d75f314901dece2c0ee33a0c45ab451c68aec1e31e9601ab68 +AUX gv_icon.xpm 2837 RMD160 6e36ebc85003773e108524cb8229a806d07a817b SHA1 09c01bc36e53cc76320896089274b7cd6c29b758 SHA256 b1d29d7b1eaf618143334f3048bfbfed08e5bc399d2c1f9b785b04b2736bfc15 DIST gv-3.6.3.tar.gz 480724 RMD160 3c0fb1c252b305f25522abc8528dfe9489029ad3 SHA1 1eb09482a1b77f6db957840ba691b42947aeb364 SHA256 9486c25675719e986cbd77b48204025e825c46258b6750deeb64b3940685a033 -DIST gv-3.6.4.tar.gz 507008 RMD160 bb9f7f4c18de6ea0d170bd372c0e35910f840a5e SHA1 fe11736ba4a31c7d1f27e3829e6e6765eee6eb31 SHA256 82a1c4edb19597a4fbddb018622b0f357524e8629c9f655ae4e7ddea003c6827 -DIST gv-3.6.6.tar.gz 540968 RMD160 40f7654ffb799fb508dce077b49eb02982319e8b SHA1 01047040c0f6081609b51a6bdd6f9275293654a7 SHA256 0399a2a796fa22089157bb5ebf9652db88c56c420505ea84d533d768cb93b623 -DIST gv-3.6.7.tar.gz 545104 RMD160 a83400ac322ce4d3a00f21622870deda1eef184c SHA1 41a3a32f6d4dc1548237dbae831d2e557fbb197b SHA256 ee71a4f1604fe00388242c3f3c055aa067cd60bf72e6d5249897455d559fb3b1 +DIST gv-3.7.1.tar.gz 747166 RMD160 ddeef03ff83442379cd02d8ac4491a43c57eeddc SHA1 05fcf76f29de77e67379bae7e9ca1c8a26bbf6e1 SHA256 da87e10a4f3c4e9209077eab019ec71ad1bcfc8f19146146207cef4ee5b88114 EBUILD gv-3.6.3.ebuild 1309 RMD160 f98dea86f38c9d6ef43043c1015e5116a78c93f9 SHA1 5ecbbe50ebc2ab6e4451431c855d361a916eaa92 SHA256 a3a59e0193e5ca4039d3de6368c18f84310e83b337c15d1c9e04817451693a24 -EBUILD gv-3.6.4.ebuild 1299 RMD160 501df0c879a7603ddb4ce4d985a1e320fc0c88e5 SHA1 2670a5ec19b13b326e337f76d49480747f15eafe SHA256 3d5a01367267d3eb20efc1173842ac98b34a786e30aad5f763ea63d41499d844 -EBUILD gv-3.6.6.ebuild 1271 RMD160 4b2ea6388fd0036eb4a703299ddc0f3e78ddc1e0 SHA1 18a5feba8db76879974bb0d60ab077c23ebb8a4b SHA256 2dad50ccef499d088f36d9dbddc443346f4bf08ca7b3078d8e01708f8ad4c769 -EBUILD gv-3.6.7.ebuild 1271 RMD160 124cb7b3ecbaa9d4344543a98b35f32eba867d65 SHA1 19a438008831a1d6c23269a86337c8927bcd579b SHA256 bfc243d7b877d823978a0c636dabbc68c1965ef81efa1d8d3605c8bbe903d69a -MISC ChangeLog 10492 RMD160 9c607895e6b7ff858c47ff3262d2dc7b58c4ae4e SHA1 bc4006a21a8e1471911b534cb24bd14086735d6e SHA256 0fda2063169679a758c8f334a973985b99f88f8deaa2f47cbaec977f653a79ee +EBUILD gv-3.7.1.ebuild 1249 RMD160 986b460ff20594d8339257673efb11446eb5e9aa SHA1 f1949afa32b4d7bd41e5e27997d8e6b3919277a3 SHA256 567daccc5b814b48ef3de0952c72e53f0dcd766b5d6db81a4f590079928623d7 +MISC ChangeLog 10804 RMD160 3f2af66998b06978340e001e0462b7018d073403 SHA1 27e00b427f1809e92725a78456b86f5d5565e87d SHA256 32da9dc946024bade2ed75e4c4516e56936568cba05070acfff6c8d193affdac MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 diff --git a/app-text/gv/files/gv_icon.xpm b/app-text/gv/files/gv_icon.xpm new file mode 100644 index 000000000000..a4a8fb4693be --- /dev/null +++ b/app-text/gv/files/gv_icon.xpm @@ -0,0 +1,58 @@ +/* XPM */ +static char *gv_icon[] = { +/* columns rows colors chars-per-pixel */ +"50 50 2 1", +" c #FFFFFF", +". c #000000", +/* pixels */ +" . . . . . . . . . . . . . . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . .", +". . . . . . ...... . . . . . . ", +" . . . . . .. ... . . . . . .", +". . . . . .. .. . . . . . ", +" . . . . . .. . . . . . . . . .", +". . . . . .. . . . . ", +" . . . . . .. . . . . . . .", +". . . . . .. .. . . . . ", +" . . . ... .. . . . . . .", +". . . . .... .. .. . . . . ", +" . . . .. .. ... . .... . . . .", +". . . . ... . .. . .. .. . . . . ", +" . . . ... ... . . .. . . . . . .", +". . . ... ..... .. .. ... . . . . ", +" . . . ... .... .. . . . . .", +". . . . .... .. . . . . ", +" . . . ... .. . . . . .", +". . . . .. . ... .. . . . . ", +" . . . ... .. . . . .", +". . . . .. .. . . . . . ", +" . . . . . . ... .. . . . .", +". . . . . ... .. . . . . . ", +" . . . . .. . . . . .", +". . . . . ... .. . . . . . ", +" . . . . . ... . . . . . . .", +". . . . . .. .. . . . . . ", +" . . . . . ... .. . . . . . .", +". . . ... . . . . . ", +" . . . . . . ... .. .. . . . . . .", +". . . . . ... ....... . . . . ", +" . . . . . . ... .... . . . . . .", +". . . . . ... .. . . . . . ", +" . . . . . . . .... .. . . . .", +". . . . . . .......... . . . . . . ", +" . . . . . . . ....... . . . .", +". . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . . . . . . . . . .", +". . . . . . . . . . . . . . . . . . . . . . . . . " +}; diff --git a/app-text/gv/gv-3.6.4.ebuild b/app-text/gv/gv-3.6.4.ebuild deleted file mode 100644 index deadf318ad1e..000000000000 --- a/app-text/gv/gv-3.6.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.6.4.ebuild,v 1.2 2009/12/26 17:31:42 pva Exp $ - -inherit autotools eutils - -DESCRIPTION="gv is used to view PostScript and PDF documents using Ghostscript" -HOMEPAGE="http://www.gnu.org/software/gv/" -SRC_URI="mirror://gnu/gv/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -DEPEND="x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXmu - x11-libs/libXpm - x11-libs/Xaw3d - app-text/ghostscript-gpl - x11-libs/libXt" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/gv-3.6.1-a0.patch - - # Make font render nicely even with gs-8, bug 135354 - sed -i \ - -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" \ - src/{gv_{class,user,system}.ad,Makefile.am} || die "sed failed." - - eautoreconf -} - -src_compile() { - econf --disable-dependency-tracking \ - --enable-scrollbar-code || die "econf failed." - emake || die "emake failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - doicon src/gv_icon.xbm - make_desktop_entry gv "GhostView" /usr/share/pixmaps/gv_icon.xbm "Graphics;Viewer;" - dodoc AUTHORS ChangeLog README -} diff --git a/app-text/gv/gv-3.6.6.ebuild b/app-text/gv/gv-3.6.6.ebuild deleted file mode 100644 index ec925689a936..000000000000 --- a/app-text/gv/gv-3.6.6.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.6.6.ebuild,v 1.2 2009/12/26 17:31:42 pva Exp $ - -inherit autotools eutils - -DESCRIPTION="gv is used to view PostScript and PDF documents using Ghostscript" -HOMEPAGE="http://www.gnu.org/software/gv/" -SRC_URI="mirror://gnu/gv/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -DEPEND="x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXmu - x11-libs/libXpm - x11-libs/Xaw3d - app-text/ghostscript-gpl - x11-libs/libXt" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/gv-3.6.1-a0.patch - - # Make font render nicely even with gs-8, bug 135354 - sed -i \ - -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" \ - src/Makefile.am || die "sed failed." - - eautoreconf -} - -src_compile() { - econf --disable-dependency-tracking \ - --enable-scrollbar-code || die "econf failed." - emake || die "emake failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - doicon src/gv_icon.xbm - make_desktop_entry gv "GhostView" /usr/share/pixmaps/gv_icon.xbm "Graphics;Viewer;" - dodoc AUTHORS ChangeLog README -} diff --git a/app-text/gv/gv-3.6.7.ebuild b/app-text/gv/gv-3.6.7.ebuild deleted file mode 100644 index 1c0a75cecafb..000000000000 --- a/app-text/gv/gv-3.6.7.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.6.7.ebuild,v 1.2 2009/12/26 17:31:42 pva Exp $ - -inherit autotools eutils - -DESCRIPTION="gv is used to view PostScript and PDF documents using Ghostscript" -HOMEPAGE="http://www.gnu.org/software/gv/" -SRC_URI="mirror://gnu/gv/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -DEPEND="x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXmu - x11-libs/libXpm - x11-libs/Xaw3d - app-text/ghostscript-gpl - x11-libs/libXt" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/gv-3.6.1-a0.patch - - # Make font render nicely even with gs-8, bug 135354 - sed -i \ - -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" \ - src/Makefile.am || die "sed failed." - - eautoreconf -} - -src_compile() { - econf --disable-dependency-tracking \ - --enable-scrollbar-code || die "econf failed." - emake || die "emake failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - doicon src/gv_icon.xbm - make_desktop_entry gv "GhostView" /usr/share/pixmaps/gv_icon.xbm "Graphics;Viewer;" - dodoc AUTHORS ChangeLog README -} diff --git a/app-text/gv/gv-3.7.1.ebuild b/app-text/gv/gv-3.7.1.ebuild new file mode 100644 index 000000000000..08d4c08b012d --- /dev/null +++ b/app-text/gv/gv-3.7.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.7.1.ebuild,v 1.1 2010/06/12 22:04:45 ssuominen Exp $ + +EAPI=2 +inherit autotools eutils + +DESCRIPTION="gv is used to view PostScript and PDF documents using Ghostscript" +HOMEPAGE="http://www.gnu.org/software/gv/" +SRC_URI="mirror://gnu/gv/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="xinerama" + +DEPEND="x11-libs/libX11 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXt + x11-libs/libXmu + x11-libs/libXpm + x11-libs/Xaw3d + app-text/ghostscript-gpl + xinerama? ( x11-libs/libXinerama )" + +src_prepare() { + epatch "${FILESDIR}"/gv-3.6.1-a0.patch + + if ! use xinerama; then + sed -i -e 's:Xinerama:dIsAbLe&:' configure.ac || die + fi + + sed -i \ + -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" \ + src/Makefile.am || die #135354 + + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + --enable-scrollbar-code +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README + + doicon "${FILESDIR}"/gv_icon.xpm + make_desktop_entry gv GhostView gv_icon "Graphics;Viewer" +} -- 2.26.2