Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/xfig: metadata.xml xfig-3.2.5c.ebuild ChangeLog
Date: Mon, 09 Jun 2014 14:12:21
Message-Id: 20140609141216.6E9412004E@flycatcher.gentoo.org
1 pva 14/06/09 14:12:16
2
3 Modified: metadata.xml ChangeLog
4 Added: xfig-3.2.5c.ebuild
5 Log:
6 Version bump, bug 487712 wrt Martin Walch. Took back ebuild.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F1989B07)
9
10 Revision Changes Path
11 1.6 media-gfx/xfig/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/metadata.xml?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/metadata.xml?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/metadata.xml?r1=1.5&r2=1.6
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/xfig/metadata.xml,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- metadata.xml 16 Feb 2013 12:44:03 -0000 1.5
24 +++ metadata.xml 9 Jun 2014 14:12:16 -0000 1.6
25 @@ -2,6 +2,7 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <maintainer>
29 - <email>maintainer-needed@g.o</email>
30 + <email>pva@g.o</email>
31 + <name>Peter Volkov</name>
32 </maintainer>
33 </pkgmetadata>
34
35
36
37 1.90 media-gfx/xfig/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/ChangeLog?rev=1.90&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/ChangeLog?rev=1.90&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/ChangeLog?r1=1.89&r2=1.90
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v
46 retrieving revision 1.89
47 retrieving revision 1.90
48 diff -u -r1.89 -r1.90
49 --- ChangeLog 13 Mar 2014 20:02:20 -0000 1.89
50 +++ ChangeLog 9 Jun 2014 14:12:16 -0000 1.90
51 @@ -1,6 +1,14 @@
52 # ChangeLog for media-gfx/xfig
53 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v 1.89 2014/03/13 20:02:20 ottxor Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v 1.90 2014/06/09 14:12:16 pva Exp $
56 +
57 +*xfig-3.2.5c (09 Jun 2014)
58 +
59 + 09 Jun 2014; Peter Volkov <pva@g.o> +xfig-3.2.5c.ebuild,
60 + +files/xfig-3.2.5c-XAW3D1_5E_notlocal.patch,
61 + +files/xfig-3.2.5c-crash-on-exit.patch, +files/xfig-3.2.5c-darwin.patch,
62 + +files/xfig-3.2.5c-spelling.patch, metadata.xml:
63 + Version bump, bug 487712 wrt Martin Walch. Took back ebuild.
64
65 13 Mar 2014; Christoph Junghans <ottxor@g.o> xfig-3.2.5b-r3.ebuild:
66 added ~x64-macos (tested by me)
67
68
69
70 1.1 media-gfx/xfig/xfig-3.2.5c.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/xfig-3.2.5c.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/xfig/xfig-3.2.5c.ebuild?rev=1.1&content-type=text/plain
74
75 Index: xfig-3.2.5c.ebuild
76 ===================================================================
77 # Copyright 1999-2014 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/xfig-3.2.5c.ebuild,v 1.1 2014/06/09 14:12:16 pva Exp $
80
81 EAPI=5
82
83 inherit eutils multilib
84
85 MY_P=${PN}.${PV}
86
87 DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window."
88 HOMEPAGE="http://www.xfig.org"
89 SRC_URI="mirror://sourceforge/mcj/${MY_P}.full.tar.gz"
90
91 LICENSE="BSD"
92 SLOT="0"
93 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
94 IUSE="nls"
95
96 RDEPEND="x11-libs/libXaw
97 x11-libs/libXp
98 x11-libs/libXaw3d
99 nls? ( x11-libs/libXaw3d[unicode] )
100 x11-libs/libXi
101 x11-libs/libXt
102 virtual/jpeg
103 media-libs/libpng
104 media-fonts/font-misc-misc
105 media-fonts/urw-fonts
106 >=media-gfx/transfig-3.2.5-r1
107 media-libs/netpbm"
108 DEPEND="${RDEPEND}
109 x11-misc/imake
110 x11-proto/xproto
111 x11-proto/inputproto"
112
113 S=${WORKDIR}/${MY_P}
114
115 sed_Imakefile() {
116 # see Imakefile for details
117 vars2subs=( BINDIR="${EPREFIX}"/usr/bin
118 PNGINC=-I"${EPREFIX}"/usr/include
119 JPEGLIBDIR="${EPREFIX}"/usr/$(get_libdir)
120 JPEGINC=-I"${EPREFIX}"/usr/include
121 XPMLIBDIR="${EPREFIX}"/usr/$(get_libdir)
122 XPMINC=-I"${EPREFIX}"/usr/include/X11
123 USEINLINE=-DUSE_INLINE
124 XFIGLIBDIR="${EPREFIX}"/usr/share/xfig
125 XFIGDOCDIR="${EPREFIX}/usr/share/doc/${PF}"
126 MANDIR="${EPREFIX}/usr/share/man/man\$\(MANSUFFIX\)"
127 "CC=$(tc-getCC)" )
128
129 for variable in "${vars2subs[@]}" ; do
130 varname=${variable%%=*}
131 varval=${variable##*=}
132 sed -i \
133 -e "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" \
134 "$@" || die
135 done
136 if use nls; then
137 # XAW_INTERNATIONALIZATION fixes #405475 (comment 17) and #426780 by Markus Peloquin
138 sed -i \
139 -e "s:^\(XCOMM\)*[[:space:]]*\(#define I18N\).*$:\2:" \
140 -e "s:^\(XCOMM\)*[[:space:]]*\(XAW_INTERN = -DXAW_INTERNATIONALIZATION\).*$:\2:" \
141 "$@" || die
142 fi
143 sed -i -e "s:^\(XCOMM\)*[[:space:]]*\(#define XAW3D1_5E\).*$:\2:" "$@" || die
144 }
145
146 src_prepare() {
147 # Permissions are really crazy here
148 chmod -R go+rX . || die
149 find . -type f -exec chmod a-x '{}' \; || die
150 epatch "${FILESDIR}/${PN}-3.2.5c-spelling.patch"
151 epatch "${FILESDIR}/${PN}-3.2.5b-papersize_b1.patch"
152 epatch "${FILESDIR}/${PN}-3.2.5b-pdfimport_mediabox.patch"
153 epatch "${FILESDIR}/${PN}-3.2.5b-network_images.patch"
154 epatch "${FILESDIR}/${PN}-3.2.5b-app-defaults.patch"
155 epatch "${FILESDIR}/${PN}-3.2.5b-urwfonts.patch"
156 epatch "${FILESDIR}/${PN}-3.2.5b-mkstemp.patch" #264575
157 epatch "${FILESDIR}/${PN}-3.2.5c-darwin.patch"
158 epatch "${FILESDIR}/${PN}-3.2.5b-solaris.patch"
159 epatch "${FILESDIR}/${PN}-3.2.5c-XAW3D1_5E_notlocal.patch"
160 epatch "${FILESDIR}/${PN}-3.2.5c-crash-on-exit.patch"
161
162 sed_Imakefile Imakefile
163 sed -e "s:/usr/lib/X11/xfig:${EPREFIX}/usr/share/doc/${PF}:" \
164 -i Doc/xfig.man || die
165 }
166
167 src_compile() {
168 local EXTCFLAGS=${CFLAGS}
169 xmkmf || die
170 [[ ${CHOST} == *-solaris* ]] && EXTCFLAGS="${EXTCFLAGS} -D_POSIX_SOURCE"
171 emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${EXTCFLAGS}" \
172 USRLIBDIR="${EPREFIX}"/usr/$(get_libdir)
173 }
174
175 src_install() {
176 emake -j1 DESTDIR="${D}" install install.libs install.man
177
178 dodoc README FIGAPPS CHANGES LATEX.AND.XFIG
179
180 doicon xfig.png
181 make_desktop_entry xfig Xfig xfig
182 }
183
184 pkg_postinst() {
185 einfo "Don't forget to update xserver's font path for media-fonts/urw-fonts."
186 }