Gentoo Archives: gentoo-commits

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