Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 172227

Summary: [bump] media-gfx/xfig to 3.2.5
Product: Gentoo Linux Reporter: Thilo Bangert (RETIRED) (RETIRED) <bangert>
Component: New packagesAssignee: Anant Narayanan (RETIRED) <anant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2007-03-25 20:13:42 UTC
i bumped xfig to 3.2.5 locally using the following patch.

if you give your OK i'll put it in.....

--- xfig-3.2.4-r3.ebuild        2007-03-09 21:58:15.000000000 +0100
+++ xfig-3.2.5.ebuild   2007-03-25 22:05:29.000000000 +0200
@@ -6,13 +6,10 @@

 MY_P=${PN}.${PV}
 S=${WORKDIR}/${MY_P}
-SHAPE_P=shape-patch.${PV}-shape-1.1

 DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window."
 HOMEPAGE="http://www.xfig.org"
-SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz
-       http://www.ctan.org/tex-archive/graphics/transfig-shapepatch/${SHAPE_P}.tar.gz
-       mirror://gentoo/${P}-gentoo.diff.bz2"
+SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz"

 LICENSE="BSD"
 SLOT="0"
@@ -35,15 +32,6 @@
                        x11-libs/libXi )
                virtual/x11 )"

-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       epatch ${WORKDIR}/${P}-gentoo.diff
-       epatch ${FILESDIR}/${P}-xaw3d.diff
-       epatch ../${SHAPE_P}/${PN}.${SHAPE_P#*.}.patch  # bug #20877
-       epatch ${FILESDIR}/${P}-gcc4.patch
-}
-
 src_compile() {
        xmkmf || die
        emake BINDIR=/usr/bin XFIGLIBDIR=/usr/$(get_libdir)/xfig || die
@@ -61,5 +49,4 @@

        insinto /usr/share/doc/${P}
        doins README FIGAPPS CHANGES LATEX.AND.XFIG
-       doins ../${SHAPE_P}/shapepatch.README
 }
Comment 1 Anant Narayanan (RETIRED) gentoo-dev 2007-03-29 17:37:21 UTC
Looks good, please put it in. Thanks!
Comment 2 Peter Gantner (a.k.a. nephros) 2007-04-01 20:38:01 UTC
It seems the SRC_URI has changed upsteam. Package is now at
http://xfig.org/software/xfig/3.2.5/xfig.3.2.5.full.tar.gz

or

SRC_URI="http://xfig.org/software/${PN}/${PV}/${MY_P}.full.tar.gz"
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2007-04-02 15:40:38 UTC
Anant, please take a look at my comment #6 in bug 173009.

And the version is in cvs, thus this bug is fixed.