Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/magicpoint: ChangeLog magicpoint-1.13a.ebuild
Date: Sun, 29 Jun 2008 16:57:40
Message-Id: E1KD0DW-0003gt-AR@stork.gentoo.org
1 darkside 08/06/29 16:57:34
2
3 Modified: ChangeLog
4 Added: magicpoint-1.13a.ebuild
5 Log:
6 Version bump with re-worked implicit declerations patch. bug #220563
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686)
8
9 Revision Changes Path
10 1.38 app-office/magicpoint/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/magicpoint/ChangeLog?rev=1.38&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/magicpoint/ChangeLog?rev=1.38&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/magicpoint/ChangeLog?r1=1.37&r2=1.38
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v
19 retrieving revision 1.37
20 retrieving revision 1.38
21 diff -u -r1.37 -r1.38
22 --- ChangeLog 25 Dec 2007 16:51:56 -0000 1.37
23 +++ ChangeLog 29 Jun 2008 16:57:33 -0000 1.38
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-office/magicpoint
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.37 2007/12/25 16:51:56 phreak Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.38 2008/06/29 16:57:33 darkside Exp $
30 +
31 +*magicpoint-1.13a (29 Jun 2008)
32 +
33 + 29 Jun 2008; Jeremy Olexa <darkside@g.o>
34 + +files/magicpoint-1.13a-implicit-declaration.patch,
35 + +magicpoint-1.13a.ebuild:
36 + Version bump with re-worked implicit declerations patch. bug #220563
37
38 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
39 Removing usata from metadata.xml as per #22931. Assigning to maintainer-needed.
40
41
42
43 1.1 app-office/magicpoint/magicpoint-1.13a.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/magicpoint/magicpoint-1.13a.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/magicpoint/magicpoint-1.13a.ebuild?rev=1.1&content-type=text/plain
47
48 Index: magicpoint-1.13a.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.13a.ebuild,v 1.1 2008/06/29 16:57:33 darkside Exp $
53
54 inherit autotools elisp-common eutils fixheadtails
55
56 DESCRIPTION="An X11 based presentation tool"
57 SRC_URI="ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/${P}.tar.gz
58 ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz"
59 HOMEPAGE="http://member.wide.ad.jp/wg/mgp/"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
64 IUSE="cjk doc emacs examples gif imlib m17n-lib mng nls truetype"
65
66 MY_DEPEND="x11-libs/libICE
67 x11-libs/libSM
68 x11-libs/libXrender
69 x11-libs/libXmu
70 gif? ( >=media-libs/giflib-4.0.1 )
71 imlib? ( media-libs/imlib )
72 truetype? ( virtual/xft )
73 emacs? ( virtual/emacs )
74 m17n-lib? ( dev-libs/m17n-lib )
75 mng? ( media-libs/libmng )"
76 DEPEND="${MY_DEPEND}
77 sys-devel/autoconf
78 x11-proto/xextproto
79 x11-libs/libxkbfile
80 app-text/rman
81 x11-misc/imake"
82 RDEPEND="${MY_DEPEND}
83 nls? ( sys-devel/gettext )
84 truetype? ( cjk? ( media-fonts/sazanami ) )"
85
86 SITEFILE=50${PN}-gentoo.el
87
88 src_unpack() {
89 unpack ${A}
90 cd "${S}"
91 epatch "${FILESDIR}/${PN}-1.11b-gentoo.diff"
92 epatch "${FILESDIR}/${P}-implicit-declaration.patch"
93
94 # bug #85720
95 sed -i -e "s/ungif/gif/g" configure.in || die "sed failed"
96 ht_fix_file configure.in
97 eautoreconf
98 }
99
100 src_compile() {
101 econf \
102 $(use_enable gif) \
103 $(use_enable imlib) \
104 $(use_enable nls locale) \
105 $(use_enable truetype xft2) \
106 $(use_with m17n-lib) \
107 --disable-vflib \
108 --disable-freetype \
109 --x-libraries=/usr/lib/X11 \
110 --x-includes=/usr/include/X11 || die "econf failed"
111
112 xmkmf || die "xmkmf failed"
113 # no parallel build possibly, anywhere
114 emake -j1 Makefiles || die "emake Makefiles failed"
115 emake -j1 clean || die "emake clean failed"
116 emake -j1 BINDIR=/usr/bin LIBDIR=/etc/X11 || die "emake failed"
117 if use emacs; then
118 cd contrib/
119 elisp-compile *.el || die "elisp-compile failed"
120 fi
121 }
122
123 src_install() {
124 emake -j1 \
125 DESTDIR="${D}" \
126 BINDIR=/usr/bin \
127 LIBDIR=/etc/X11 \
128 install || die "emake install failed"
129
130 emake -j1 \
131 DESTDIR="${D}" \
132 DOCHTMLDIR=/usr/share/doc/${PF} \
133 MANPATH=/usr/share/man \
134 MANSUFFIX=1 \
135 install.man || die "emake install.man failed"
136
137 dobin contrib/{mgp2html.pl,mgp2latex.pl}
138
139 if use emacs ; then
140 cd contrib/
141 elisp-install ${PN} *.el *.elc || die "elisp-install failed"
142 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
143 cd -
144 fi
145
146 use doc && dodoc FAQ README* RELNOTES SYNTAX TODO* USAGE*
147
148 if use examples; then
149 cd sample
150 insinto /usr/share/${PF}/sample
151 doins README* cloud.jpg dad.* embed*.mgp gradation*.mgp \
152 mgp-old*.jpg mgp.mng mgp3.xbm mgprc-sample \
153 multilingual.mgp sample*.mgp sendmail6*.mgp \
154 tutorial*.mgp v6*.mgp v6header.* || \
155 die "example installation failed"
156 fi
157 }
158
159 pkg_postinst() {
160 elog
161 elog "If you enabled xft2 support (default) you may specify xfont directive by"
162 elog "font name and font registry."
163 elog "e.g.)"
164 elog '%deffont "standard" xfont "sazanami mincho" "jisx0208.1983"'
165 elog
166 use emacs && elisp-site-regen
167 }
168
169 pkg_postrm() {
170 use emacs && elisp-site-regen
171 }
172
173
174
175 --
176 gentoo-commits@l.g.o mailing list