public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Peter Volkov (pva)" <pva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/xfig: ChangeLog xfig-3.2.5-r3.ebuild
Date: Wed, 13 Aug 2008 14:37:20 +0000	[thread overview]
Message-ID: <E1KTHTU-0004xJ-7j@stork.gentoo.org> (raw)

pva         08/08/13 14:37:20

  Modified:             ChangeLog
  Added:                xfig-3.2.5-r3.ebuild
  Log:
  Add desktop menu entry, bug #233824, thank Simon Zilliken for work.
  (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 x86_64)

Revision  Changes    Path
1.52                 media-gfx/xfig/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xfig/ChangeLog?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xfig/ChangeLog?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xfig/ChangeLog?r1=1.51&r2=1.52

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ChangeLog	11 May 2008 12:09:54 -0000	1.51
+++ ChangeLog	13 Aug 2008 14:37:19 -0000	1.52
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/xfig
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v 1.51 2008/05/11 12:09:54 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v 1.52 2008/08/13 14:37:19 pva Exp $
+
+*xfig-3.2.5-r3 (13 Aug 2008)
+
+  13 Aug 2008; Peter Volkov <pva@gentoo.org> +xfig-3.2.5-r3.ebuild:
+  Add desktop menu entry, bug #233824, thank Simon Zilliken for work.
 
 *xfig-3.2.5-r2 (11 May 2008)
 



1.1                  media-gfx/xfig/xfig-3.2.5-r3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xfig/xfig-3.2.5-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xfig/xfig-3.2.5-r3.ebuild?rev=1.1&content-type=text/plain

Index: xfig-3.2.5-r3.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/xfig-3.2.5-r3.ebuild,v 1.1 2008/08/13 14:37:19 pva Exp $

inherit eutils multilib

MY_P=${PN}.${PV}
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/software/xfig/3.2.5/${MY_P}.full.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

RDEPEND="x11-libs/libXaw
		x11-libs/libXp
		x11-libs/Xaw3d
		media-libs/jpeg
		media-libs/libpng
		>=media-gfx/transfig-3.2.5-r1
		media-libs/netpbm"
DEPEND="${RDEPEND}
		x11-misc/imake
		app-text/rman
		x11-proto/xproto
		x11-proto/inputproto
		x11-libs/libXi"

S="${WORKDIR}"/${MY_P}

src_unpack() {
	unpack ${A}
	cd "${S}"

	# We do not have nescape. Let's use firefox instead...
	sed -i "s+netscape+firefox+g" Fig.ad
	find "${S}" -type f -exec chmod -x \{\} \;
}

sed_Imakefile() {
	# see Imakefile for details
	vars2subs="BINDIR=/usr/bin
		PNGINC=-I/usr/include
		JPEGLIBDIR=/usr/$(get_libdir)
		JPEGINC=-I/usr/include
		XPMLIBDIR=/usr/$(get_libdir)
		XPMINC=-I/usr/include/X11
		USEINLINE=-DUSE_INLINE
		XFIGLIBDIR=/usr/share/xfig
		XFIGDOCDIR=/usr/share/doc/${P}
		MANDIR=/usr/share/man/man\$\(MANSUFFIX\)
		CC=$(tc-getCC)"

	for variable in ${vars2subs} ; do
		varname=${variable%%=*}
		varval=${variable##*=}
		sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@"
	done
}

src_compile() {
	sed_Imakefile Imakefile

	xmkmf || die
	emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \
	USRLIBDIR=/usr/$(get_libdir) || die
}

src_install() {
	emake -j1 DESTDIR="${D}" install.all || die

	insinto /usr/share/doc/${P}
	doins README FIGAPPS CHANGES LATEX.AND.XFIG

	doicon xfig.png
	make_desktop_entry xfig Xfig xfig
}






             reply	other threads:[~2008-08-13 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13 14:37 Peter Volkov (pva) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-30 20:08 [gentoo-commits] gentoo-x86 commit in media-gfx/xfig: ChangeLog xfig-3.2.5-r3.ebuild Jeroen Roovers (jer)
2008-11-01 18:19 Gysbert Wassenaar (nixnut)
2008-11-02 14:58 Markus Meier (maekke)
2008-11-03 11:24 Raul Porcel (armin76)
2008-12-02 22:59 Brent Baude (ranger)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KTHTU-0004xJ-7j@stork.gentoo.org \
    --to=pva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox