Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14245 - media-gfx/xfig-3.2.4 (update)
Summary: media-gfx/xfig-3.2.4 (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
: 13835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-20 13:03 UTC by sunscan
Modified: 2003-02-12 06:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xfig-3.2.4-r1 (xfig-3.2.4-r1.ebuild,739 bytes, text/plain)
2003-01-20 13:04 UTC, sunscan
Details
patch for xfig-3.2.4 (xfig-3.2.4.patch,2.09 KB, patch)
2003-01-20 13:05 UTC, sunscan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sunscan 2003-01-20 13:03:14 UTC
xfig-3.2.4-r1.ebuild
--------------------

IUSE=""

MY_P=${P/xfig-/xfig.}
S=${WORKDIR}/${MY_P}
DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in
an X window."
SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz"
HOMEPAGE="http://www.xfig.org"

SLOT="0"
LICENSE="BSD"
KEYWORDS="~x86 ~ppc"

DEPEND="virtual/x11
        x11-libs/Xaw3d
        media-libs/jpeg
        media-libs/libpng"

RDEPEND="${DEPEND}
        media-gfx/transfig
        media-libs/netpbm"

src_unpack() {
        unpack ${A}
        cd ${S}
        patch -p1 < ${FILESDIR}/${P}.patch
}

src_compile() {
        xmkmf || die
        make || die
}

src_install () {
        make \
                DESTDIR=${D} \
                install || die

        make \
                DESTDIR=${D} \
                MANDIR=/usr/share/man/man1 \
                MANSUFFIX=1 \
                install.all || die

        dodoc README FIGAPPS CHANGES LATEX.AND.XFIG
}

-----------

xfig-3.2.4.patch

-----------
--- xfig.3.2.4.orig/Imakefile   2003-01-20 17:13:38.000000000 +0100
+++ xfig.3.2.4/Imakefile        2003-01-20 18:54:04.000000000 +0100
@@ -41,9 +41,9 @@
 XCOMM different tree than the "correct" tree that your X system expects. The usual
 XCOMM purpose of DESTDIR is to test an install process by installing in a
benign area.
 
-XCOMM BINDIR = /usr/bin/X11
+XCOMM BINDIR = /usr/X11/bin
 XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
-XCOMM XAPPLOADDIR = /home/user/xfig
+XAPPLOADDIR = /etc/X11/app-defaults
 
 XCOMM Redefine the following if your PNG library and/or include file
 XCOMM are in different places
@@ -68,8 +68,8 @@
 
 #ifdef USEJPEG
 #ifdef USEINSTALLEDJPEG
-JPEGLIBDIR = /usr/local/lib
-JPEGINC = -I/usr/include/X11
+JPEGLIBDIR = /usr/lib
+JPEGINC = -I/usr/include
 #else
 JPEGLIBDIR = ../jpeg
 JPEGINC = -I$(JPEGLIBDIR)
@@ -87,8 +87,8 @@
 XCOMM Change XPMLIBDIR if necessary to point to the xpm library (libXpm)
 XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
 
-XCOMM #define USEXPM
-XCOMM #define USEXPM_ICON
+#define USEXPM
+#define USEXPM_ICON
 
 #ifdef USEXPM
 XPMLIBDIR = $(USRLIBDIR)
@@ -154,19 +154,19 @@
 XCOMM inline functions. With the "INLINE" keyword, you should notice that
 XCOMM the display will be a bit faster in complex figures
 
-XCOMM USEINLINE = -DUSE_INLINE
+USEINLINE = -DUSE_INLINE
 
 XCOMM use (and change) the following if you want the multi-key data base file
 XCOMM somewhere other than the standard X11 library directory
 XCOMM be sure to comment out the second copy of XFIGLIBDIR if you use this one
-XCOMM XFIGLIBDIR = /usr/local/lib/xfig
+XFIGLIBDIR = /usr/X11R6/lib/xfig
 
 XCOMM use this if you want the multi-key data base file in the standard X11 tree
-XFIGLIBDIR = $(LIBDIR)/xfig
+XCOMM XFIGLIBDIR = $(LIBDIR)/xfig
 
 XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
 XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
-XFIGDOCDIR = /usr/share/doc/xfig
+XFIGDOCDIR = /usr/share/doc/xfig-3.2.4
 
 XCOMM MANDIR tells where the standard man pages should go (no need to change it
 XCOMM if you want the man pages installed in the standard place on your system
Comment 1 sunscan 2003-01-20 13:04:59 UTC
Created attachment 7473 [details]
xfig-3.2.4-r1
Comment 2 sunscan 2003-01-20 13:05:32 UTC
Created attachment 7474 [details, diff]
patch for xfig-3.2.4
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-28 07:47:50 UTC
*** Bug 13835 has been marked as a duplicate of this bug. ***
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-12 06:51:13 UTC
thanks daniele. added to portage.