diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-11-20 12:53:02 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-11-20 12:53:02 +0000 |
commit | 8e8d7347d8263d6c481f649e64a4ede63d9f55ee (patch) | |
tree | 5bc250387cdf5647be92a2c6a8bd89060a02231e /app-office/magicpoint | |
parent | Added a patch to fix a problem with the XF86Audio* key handlers not working w... (diff) | |
download | gentoo-2-8e8d7347d8263d6c481f649e64a4ede63d9f55ee.tar.gz gentoo-2-8e8d7347d8263d6c481f649e64a4ede63d9f55ee.tar.bz2 gentoo-2-8e8d7347d8263d6c481f649e64a4ede63d9f55ee.zip |
clean up
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-office/magicpoint')
-rw-r--r-- | app-office/magicpoint/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/magicpoint/files/digest-magicpoint-1.11b | 3 | ||||
-rw-r--r-- | app-office/magicpoint/files/magicpoint-1.11b-mng_optional.patch | 61 | ||||
-rw-r--r-- | app-office/magicpoint/magicpoint-1.11b.ebuild | 116 |
4 files changed, 5 insertions, 181 deletions
diff --git a/app-office/magicpoint/ChangeLog b/app-office/magicpoint/ChangeLog index 6cf6ed5676f1..eb3980cef206 100644 --- a/app-office/magicpoint/ChangeLog +++ b/app-office/magicpoint/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/magicpoint # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.35 2007/11/02 22:52:50 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.36 2007/11/20 12:53:02 opfer Exp $ + + 20 Nov 2007; Christian Faulhammer <opfer@gentoo.org> + -files/magicpoint-1.11b-mng_optional.patch, -magicpoint-1.11b.ebuild: + clean up 02 Nov 2007; Lars Weiler <pylon@gentoo.org> magicpoint-1.12a-r1.ebuild: stable ppc, bug #196885 diff --git a/app-office/magicpoint/files/digest-magicpoint-1.11b b/app-office/magicpoint/files/digest-magicpoint-1.11b deleted file mode 100644 index 2ef3b59addce..000000000000 --- a/app-office/magicpoint/files/digest-magicpoint-1.11b +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2b627f17443842eb5009304864577a4c magicpoint-1.11b.tar.gz 871618 -RMD160 788acfde864e3a2e5d66af947a733aa6cea5a8c9 magicpoint-1.11b.tar.gz 871618 -SHA256 c06972988789402d2530cd7c55a46fd5c44ac0696f8477f563489d9ebc8a26d1 magicpoint-1.11b.tar.gz 871618 diff --git a/app-office/magicpoint/files/magicpoint-1.11b-mng_optional.patch b/app-office/magicpoint/files/magicpoint-1.11b-mng_optional.patch deleted file mode 100644 index f7ad9b402830..000000000000 --- a/app-office/magicpoint/files/magicpoint-1.11b-mng_optional.patch +++ /dev/null @@ -1,61 +0,0 @@ -Index: magicpoint-1.11b/configure.in -=================================================================== ---- magicpoint-1.11b/configure.in {cset b4d3ff90-24b8-4cde-9052-f5859b9ff17a} -+++ magicpoint-1.11b/configure.in {local clone} -@@ -292,27 +292,35 @@ - done - fi - --for i in /usr/pkg /usr/local /usr; do -- if test -f $i/include/libmng.h; then -- if test -f $i/lib/libmng.a ; then -- DEPLIBS="$DEPLIBS $i/lib/libmng.a" -- elif test -f $i/lib/libmng.so ; then -- DEPLIBS="$DEPLIBS $i/lib/libmng.so" -- else -- break; -- fi -- LIBS="$LIBS -L$i/lib" -- OPTFLAGS="$OPTFLAGS -I$i/include" -- AC_CHECK_LIB(mng, mng_initialize, -- [LIBS="$LIBS -Wl,-rpath,$i/lib -lmng" -- AC_DEFINE(MNG)], -- [AC_CHECK_LIB(mng, mng_readdisplay, -- [LIBS="$LIBS -lmng -ljpeg" -- AC_DEFINE(MNG)], -- [], [-ljpeg])]) -- break -- fi --done -+AC_MSG_CHECKING(if mng handling is enabled) -+AC_ARG_ENABLE(mng, -+ [ --enable-mng compile mng support in.], -+ [mgp_mng="$enableval"], -+ [mgp_mng="no"]) -+AC_MSG_RESULT($mgp_mng) -+if test $mgp_mng = "yes"; then -+ for i in /usr/pkg /usr/local /usr; do -+ if test -f $i/include/libmng.h; then -+ if test -f $i/lib/libmng.a ; then -+ DEPLIBS="$DEPLIBS $i/lib/libmng.a" -+ elif test -f $i/lib/libmng.so ; then -+ DEPLIBS="$DEPLIBS $i/lib/libmng.so" -+ else -+ break; -+ fi -+ LIBS="$LIBS -L$i/lib" -+ OPTFLAGS="$OPTFLAGS -I$i/include" -+ AC_CHECK_LIB(mng, mng_initialize, -+ [LIBS="$LIBS -Wl,-rpath,$i/lib -lmng" -+ AC_DEFINE(MNG)], -+ [AC_CHECK_LIB(mng, mng_readdisplay, -+ [LIBS="$LIBS -lmng -ljpeg" -+ AC_DEFINE(MNG)], -+ [], [-ljpeg])]) -+ break -+ fi -+ done -+fi - - dnl Checks for header files. - AC_PATH_X diff --git a/app-office/magicpoint/magicpoint-1.11b.ebuild b/app-office/magicpoint/magicpoint-1.11b.ebuild deleted file mode 100644 index 51b46c5dc6bd..000000000000 --- a/app-office/magicpoint/magicpoint-1.11b.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.11b.ebuild,v 1.15 2007/07/22 09:58:40 calchan Exp $ - -inherit elisp-common eutils fixheadtails - -DESCRIPTION="an X11 based presentation tool" -SRC_URI="ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/${P}.tar.gz - ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz" -HOMEPAGE="http://member.wide.ad.jp/wg/mgp/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="x86 alpha sparc ppc amd64" -IUSE="cjk nls m17n-lib emacs truetype gif imlib mng" - -MY_DEPEND="x11-libs/libICE - x11-libs/libSM - x11-libs/libXrender - x11-libs/libXmu - gif? ( >=media-libs/giflib-4.0.1 ) - imlib? ( media-libs/imlib ) - truetype? ( virtual/xft ) - emacs? ( virtual/emacs ) - m17n-lib? ( dev-libs/m17n-lib ) - mng? ( media-libs/libmng )" -DEPEND="${MY_DEPEND} - sys-devel/autoconf - x11-proto/xextproto - x11-libs/libxkbfile - app-text/rman - x11-misc/imake" -RDEPEND="${MY_DEPEND} - nls? ( sys-devel/gettext ) - truetype? ( cjk? ( media-fonts/sazanami ) )" - -SITELISP=/usr/share/emacs/site-lisp -SITEFILE=50mgp-mode-gentoo.el - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.diff - epatch ${FILESDIR}/${P}-mng_optional.patch - - # bug #85720 - sed -i -e "s/ungif/gif/g" configure.in || die - ht_fix_file configure.in - autoreconf -} - -src_compile() { - econf \ - $(use_enable gif) \ - $(use_enable imlib) \ - $(use_enable mng) \ - $(use_enable nls locale) \ - $(use_enable truetype xft2) \ - $(use_with m17n-lib) \ - --disable-vflib \ - --disable-freetype \ - --x-libraries=/usr/X11R6/lib \ - --x-includes=/usr/X11R6/include || die - - xmkmf || die - make Makefiles || die - make clean || die - make BINDIR=/usr/bin LIBDIR=/etc/X11 || die -} - -src_install() { - make \ - DESTDIR=${D} \ - BINDIR=/usr/bin \ - LIBDIR=/etc/X11 \ - install || die - - make \ - DESTDIR=${D} \ - DOCHTMLDIR=/usr/share/doc/${PF} \ - MANPATH=/usr/share/man \ - MANSUFFIX=1 \ - install.man || die - - exeinto /usr/bin - doexe contrib/{mgp2html.pl,mgp2latex.pl} - - if use emacs ; then - insinto ${SITELISP} - doins contrib/mgp-mode.el ${FILESDIR}/${SITEFILE} - fi - - insinto /usr/share/${PF}/sample - cd sample - doins README* cloud.jpg dad.* embed*.mgp gradation*.mgp \ - mgp-old*.jpg mgp.mng mgp3.xbm mgprc-sample \ - multilingual.mgp sample*.mgp sendmail6*.mgp \ - tutorial*.mgp v6*.mgp v6header.* || die - cd - - - dodoc COPYRIGHT* FAQ README* RELNOTES SYNTAX TODO* USAGE* -} - -pkg_postinst() { - use emacs && elisp-site-regen - elog - elog "If you enabled xft2 support (default) you may specify xfont directive by" - elog "font name and font registry." - elog "e.g.)" - elog '%deffont "standard" xfont "sazanami mincho" "jisx0208.1983"' - elog -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |