diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-08-06 02:12:03 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-08-06 02:12:03 +0000 |
commit | 6d803ad284262b0d4b27b955c306119d10969643 (patch) | |
tree | aea4a547e916ec381260106a2fa85a24622442b3 /app-misc | |
parent | version bump. added cjk and emacs USE flag. (diff) | |
download | gentoo-2-6d803ad284262b0d4b27b955c306119d10969643.tar.gz gentoo-2-6d803ad284262b0d4b27b955c306119d10969643.tar.bz2 gentoo-2-6d803ad284262b0d4b27b955c306119d10969643.zip |
version bump. added cjk and emacs USE flag.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/magicpoint/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/magicpoint/Manifest | 4 | ||||
-rw-r--r-- | app-misc/magicpoint/files/50mgp-mode-gentoo.el | 4 | ||||
-rw-r--r-- | app-misc/magicpoint/files/digest-magicpoint-1.10a | 1 | ||||
-rw-r--r-- | app-misc/magicpoint/files/magicpoint-1.10a-gentoo.diff | 46 | ||||
-rw-r--r-- | app-misc/magicpoint/magicpoint-1.10a.ebuild | 109 |
6 files changed, 172 insertions, 3 deletions
diff --git a/app-misc/magicpoint/ChangeLog b/app-misc/magicpoint/ChangeLog index 7e1af7613751..f53d692ae402 100644 --- a/app-misc/magicpoint/ChangeLog +++ b/app-misc/magicpoint/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-misc/magicpoint # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/magicpoint/ChangeLog,v 1.6 2003/02/12 05:04:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/magicpoint/ChangeLog,v 1.7 2003/08/06 02:11:54 usata Exp $ + +*magicpoint-1.10a (06 Aug 2003) + + 06 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.10a.ebuild, + files/50mgp-mode-gentoo.el, files/magicpoint-1.10a-gentoo.diff: + Version bump. Added cjk and emacs USE flags. Upstream now supports + Xft2 rendering engine. However, it is not enabled because there is + some problem with Xft2. Included default font configuration file. + Added support scripts and sample presentation files. *magicpoint-1.09a-r1 (12 Apr 2002) diff --git a/app-misc/magicpoint/Manifest b/app-misc/magicpoint/Manifest index 7b8660019940..5b60f5877fb9 100644 --- a/app-misc/magicpoint/Manifest +++ b/app-misc/magicpoint/Manifest @@ -1,6 +1,6 @@ -MD5 5e5c917aebbfcbcf79e936583b70d0d6 ChangeLog 2063 +MD5 adba3ae7aecd27e4c6c50e0a755ba1ae ChangeLog 2062 MD5 675d07d2b8b0762dd32a125c9b974dee magicpoint-1.09a-r1.ebuild 1591 -MD5 892b3a629544277e0de25f284346a12d magicpoint-1.10a.ebuild 2316 +MD5 f14a5b43327f9d008ef155dfdc460631 magicpoint-1.10a.ebuild 2316 MD5 67c776708a4de3107f171f72100bd27e files/digest-magicpoint-1.09a-r1 68 MD5 63a502fcee80a92007cd49e113116b04 files/50mgp-mode-gentoo.el 167 MD5 21ae8d72d1c351d19bc611f80ec31b63 files/magicpoint-1.10a-gentoo.diff 1668 diff --git a/app-misc/magicpoint/files/50mgp-mode-gentoo.el b/app-misc/magicpoint/files/50mgp-mode-gentoo.el new file mode 100644 index 000000000000..638c3c44aa85 --- /dev/null +++ b/app-misc/magicpoint/files/50mgp-mode-gentoo.el @@ -0,0 +1,4 @@ +;;; mgp-mode site-lisp configuration + +(autoload 'mgp-mode "mgp-mode" "MagicPoint editor mode" t) +(setq auto-mode-alist (cons '("\\.mgp$" . mgp-mode) auto-mode-alist)) diff --git a/app-misc/magicpoint/files/digest-magicpoint-1.10a b/app-misc/magicpoint/files/digest-magicpoint-1.10a new file mode 100644 index 000000000000..1af775f78bc4 --- /dev/null +++ b/app-misc/magicpoint/files/digest-magicpoint-1.10a @@ -0,0 +1 @@ +MD5 7a5d91b2b3bdabea704ee3cb6505d772 magicpoint-1.10a.tar.gz 843657 diff --git a/app-misc/magicpoint/files/magicpoint-1.10a-gentoo.diff b/app-misc/magicpoint/files/magicpoint-1.10a-gentoo.diff new file mode 100644 index 000000000000..6dea916b490b --- /dev/null +++ b/app-misc/magicpoint/files/magicpoint-1.10a-gentoo.diff @@ -0,0 +1,46 @@ +diff -urN magicpoint-1.10a.ORIG/mgp.h magicpoint-1.10a/mgp.h +--- magicpoint-1.10a.ORIG/mgp.h 2003-06-06 16:18:25.000000000 +0900 ++++ magicpoint-1.10a/mgp.h 2003-08-06 09:19:53.000000000 +0900 +@@ -84,7 +84,7 @@ + #define VFONT "minsl" + + #ifndef VFCAP +-#define VFCAP "/usr/local/lib/VFlib/vfontcap" ++#define VFCAP "/usr/share/VFlib/2.25.6/vfontcap" + #endif + + #endif /* end of VFLIB */ +@@ -93,7 +93,7 @@ + #include "freetype.h" + + #ifndef FREETYPEFONTDIR +-#define FREETYPEFONTDIR "/usr/local/share/fonts/ttf" ++#define FREETYPEFONTDIR "/usr/X11R6/lib/X11/fonts/truetype" + #endif + #endif /*FREETYPE*/ + +@@ -130,7 +130,7 @@ + #define UUDECODE "/usr/bin/uudecode" + #endif + #ifndef GUNZIP +-#define GUNZIP "/usr/contrib/bin/gunzip" ++#define GUNZIP "/bin/gunzip" + #endif + + #define MAXPAGE 512 +diff -urN magicpoint-1.10a.ORIG/sample/default.mgp magicpoint-1.10a/sample/default.mgp +--- magicpoint-1.10a.ORIG/sample/default.mgp 2001-08-11 01:40:54.000000000 +0900 ++++ magicpoint-1.10a/sample/default.mgp 2003-08-06 09:22:42.000000000 +0900 +@@ -12,9 +12,9 @@ + %% into the "tfdir" directory above: + %% ftp://ftp.mew.org/pub/mgp/ttf-jp.tar.gz + %% +-%deffont "standard" tfont "standard.ttf", tmfont "kochi-mincho.ttf" +-%deffont "thick" tfont "thick.ttf", tmfont "goth.ttf" +-%deffont "typewriter" tfont "typewriter.ttf", tmfont "goth.ttf" ++%deffont "standard" tfont "times.ttf", tmfont "kochi-mincho.ttf" ++%deffont "thick" tfont "ariel.ttf", tmfont "kochi-gothic.ttf" ++%deffont "typewriter" tfont "cour.ttf", tmfont "kochi-gothic.ttf" + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %% + %% Default settings per each line numbers. diff --git a/app-misc/magicpoint/magicpoint-1.10a.ebuild b/app-misc/magicpoint/magicpoint-1.10a.ebuild new file mode 100644 index 000000000000..2447c71bb47f --- /dev/null +++ b/app-misc/magicpoint/magicpoint-1.10a.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/magicpoint/magicpoint-1.10a.ebuild,v 1.1 2003/08/06 02:11:54 usata Exp $ + +use emacs && inherit elisp + +IUSE="cjk emacs truetype gif nls imlib" + +DESCRIPTION="an X11 based presentation tool" +SRC_URI="ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz" +HOMEPAGE="http://www.mew.org/mgp/" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~x86" + +DEPEND="virtual/x11 + gif? ( >=media-libs/libungif-4.0.1 ) + imlib? ( media-libs/imlib ) + cjk? ( truetype? ( >=media-libs/vflib-2.25.6-r1 ) + : ( =media-libs/freetype-1* ) ) + truetype? ( =media-libs/freetype-1* )" + +RDEPEND="${DEPEND} + nls? ( sys-devel/gettext )" + +SLOT="0" +LICENSE="Sleepycat" +KEYWORDS="~x86" + +S=${WORKDIR}/${P} +SITEFILE=50mgp-mode-gentoo.el + +src_unpack() { + + unpack ${A} + epatch ${FILESDIR}/${P}-gentoo.diff +} + +src_compile() { + + local myconf + + if [ -n "`use cjk`" -a -n "`use truetype`" ] ; then + myconf="${myconf} + --enable-vflib + --with-vfontcap=/usr/share/VFlib/2.25.6/vfontcap.mgp" + else + myconf="${myconf} --disable-vflib" + + if [ -n "`use cjk`" ] ; then + myconf="${myconf} --enable-freetype-charset16" + elif [ -n "`use truetype`" ] ; then + myconf="${myconf} --enable-freetype" + else + myconf="${myconf} --disable-freetype" + fi + fi + + + if [ -n "`use nls`" ] ; then + myconf="${myconf} --enable-locale" + else + myconf="${myconf} --disable-locale" + fi + + econf \ + `use_enable gif` \ + `use_enable imlib` \ + --disable-xft2 \ + ${myconf} || die + + xmkmf || die + make Makefiles || die + make clean || die + make || die +} + +src_install() { + + make \ + DESTDIR=${D} \ + install || die + + make \ + DESTDIR=${D} \ + DOCHTMLDIR=/usr/share/doc/${P} \ + MANPATH=/usr/share/man \ + MANSUFFIX=1 \ + install.man || die + + exeinto /usr/bin + doexe contrib/{mgp2html.pl,mgp2latex.pl} + + if [ -n "`use emacs`" ] ; then + elisp-site-file-install contrib/mgp-mode.el + elisp-site-file-install ${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* +} |