diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2006-03-15 04:54:13 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2006-03-15 04:54:13 +0000 |
commit | 3c032ccbcfaad51a77d8aac2ee37b5f5a1f9f806 (patch) | |
tree | 47029aeb41fb6140750727478c3f4d4f69b00f06 /sci-calculators/tilp | |
parent | New version (diff) | |
download | gentoo-2-3c032ccbcfaad51a77d8aac2ee37b5f5a1f9f806.tar.gz gentoo-2-3c032ccbcfaad51a77d8aac2ee37b5f5a1f9f806.tar.bz2 gentoo-2-3c032ccbcfaad51a77d8aac2ee37b5f5a1f9f806.zip |
New version
(Portage version: 2.0.54)
Diffstat (limited to 'sci-calculators/tilp')
-rw-r--r-- | sci-calculators/tilp/ChangeLog | 15 | ||||
-rw-r--r-- | sci-calculators/tilp/Manifest | 20 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-Makefile.am.patch | 12 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-Makefile.in.patch | 12 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-makefile-desktop.patch | 16 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-makefile.patch | 62 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-plugins-Makefile.am.patch | 12 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-plugins-Makefile.in.patch | 11 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-registry-Makefile.am.patch | 8 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.79-registry-Makefile.in.patch | 11 | ||||
-rw-r--r-- | sci-calculators/tilp/files/digest-tilp-6.79 | 1 | ||||
-rw-r--r-- | sci-calculators/tilp/tilp-6.79.ebuild | 65 |
12 files changed, 229 insertions, 16 deletions
diff --git a/sci-calculators/tilp/ChangeLog b/sci-calculators/tilp/ChangeLog index e379a92745bf..3a935179582e 100644 --- a/sci-calculators/tilp/ChangeLog +++ b/sci-calculators/tilp/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for sci-calculators/tilp -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/tilp/ChangeLog,v 1.7 2005/03/11 11:49:37 sekretarz Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/tilp/ChangeLog,v 1.8 2006/03/15 04:54:13 ribosome Exp $ + +*tilp-6.79 (15 Mar 2006) + + 15 Mar 2006; Olivier Fisette <ribosome@gentoo.org> + +files/6.79-Makefile.am.patch, +files/6.79-Makefile.in.patch, + +files/6.79-makefile.patch, +files/6.79-makefile-desktop.patch, + +files/6.79-plugins-Makefile.am.patch, + +files/6.79-plugins-Makefile.in.patch, + +files/6.79-registry-Makefile.am.patch, + +files/6.79-registry-Makefile.in.patch, +tilp-6.79.ebuild: + New version. 11 Mar 2005; Karol Wojtaszek <sekretarz@gentoo.org> tilp-6.76.ebuild: Added to ~amd64, bug #84461 diff --git a/sci-calculators/tilp/Manifest b/sci-calculators/tilp/Manifest index c80e18a2191d..e74fb13da6c7 100644 --- a/sci-calculators/tilp/Manifest +++ b/sci-calculators/tilp/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 54b26d8fc24dc14b17f16a5948dbee1c tilp-6.76.ebuild 1421 MD5 aad750930cf4020a7a0fb0871fbb3560 ChangeLog 3448 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -MD5 19f22f6cd7f216bca36431149033c082 files/6.76-makefile.patch 2495 -MD5 06d7047c0e38a61469e836701cd8e0e4 files/keepdir.patch 384 MD5 bc48a68d03eb437fcd76f7bd8993fac8 files/6.76-makefile-desktop.patch 706 +MD5 19f22f6cd7f216bca36431149033c082 files/6.76-makefile.patch 2495 MD5 708836f6ae250add32825e8e7595d9b1 files/digest-tilp-6.76 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFCMZP1Z/iYVBmujdURAuS2AKDm0HdlBOFPp8ckQUVaprG249HZPgCg+Rzs -fvx5ONEdcBv2uXGSwV85+2s= -=PCuN ------END PGP SIGNATURE----- +MD5 c2274fc507f9bffa6eb4f350e2d28a32 files/digest-tilp-6.79 62 +MD5 06d7047c0e38a61469e836701cd8e0e4 files/keepdir.patch 384 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 54b26d8fc24dc14b17f16a5948dbee1c tilp-6.76.ebuild 1421 +MD5 21f3d58e4960e671180239639d53f1a8 tilp-6.79.ebuild 1888 diff --git a/sci-calculators/tilp/files/6.79-Makefile.am.patch b/sci-calculators/tilp/files/6.79-Makefile.am.patch new file mode 100644 index 000000000000..0d896ba761f1 --- /dev/null +++ b/sci-calculators/tilp/files/6.79-Makefile.am.patch @@ -0,0 +1,12 @@ +--- plugins/Makefile.am 2005/02/28 11:57:59 871 ++++ plugins/Makefile.am 2005/06/02 17:12:58 1152 +@@ -1,7 +1,7 @@ + ## Process this file with automake to produce Makefile.in + + SUBDIRS = #test nv82 gfv +-PLUGINS = test nv82 gfv ++PLUGINS = #test nv82 gfv + + .PHONY: files + + diff --git a/sci-calculators/tilp/files/6.79-Makefile.in.patch b/sci-calculators/tilp/files/6.79-Makefile.in.patch new file mode 100644 index 000000000000..666854f6c944 --- /dev/null +++ b/sci-calculators/tilp/files/6.79-Makefile.in.patch @@ -0,0 +1,12 @@ +--- plugins/Makefile.in 2005/05/26 15:00:53 1132 ++++ plugins/Makefile.in 2005/06/02 17:12:58 1152 +@@ -188,7 +188,7 @@ + tilp_plugin_dir = @tilp_plugin_dir@ + + SUBDIRS = #test nv82 gfv +-PLUGINS = test nv82 gfv ++PLUGINS = #test nv82 gfv + subdir = plugins + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + diff --git a/sci-calculators/tilp/files/6.79-makefile-desktop.patch b/sci-calculators/tilp/files/6.79-makefile-desktop.patch new file mode 100644 index 000000000000..ce7c30cd64ec --- /dev/null +++ b/sci-calculators/tilp/files/6.79-makefile-desktop.patch @@ -0,0 +1,16 @@ +--- desktop/Makefile.in 2004-06-29 17:02:14.000000000 -0400 ++++ desktop/Makefile.in.new 2004-08-22 00:25:48.029609736 -0400 +@@ -340,8 +340,11 @@ + @echo "---"; + + @echo Installing Gnome VFS MIME magic patterns... +- @if ! grep "\*\*TI" /etc/gnome-vfs-mime-magic; then \ +- cat gnome/gnome-vfs-mime-magic >> /etc/gnome-vfs-mime-magic; \ ++ @if ! grep "\*\*TI" $(sysconfdir)/gnome-vfs-mime-magic; then \ ++ cp $(sysconfdir)/gnome-vfs-mime-magic .; \ ++ cat gnome/gnome-vfs-mime-magic >> gnome-vfs-mime-magic; \ ++ cp gnome-vfs-mime-magic $(DESTDIR)$(sysconfdir)/gnome-vfs-mime-magic; \ ++ cp gnome-vfs-mime-magic $(DESTDIR)$(sysconfdir)/pokpok; \ + fi; + + @echo Installing application registry in Gnome... diff --git a/sci-calculators/tilp/files/6.79-makefile.patch b/sci-calculators/tilp/files/6.79-makefile.patch new file mode 100644 index 000000000000..af44d7deca95 --- /dev/null +++ b/sci-calculators/tilp/files/6.79-makefile.patch @@ -0,0 +1,62 @@ +--- desktop/Makefile.in.orig 2005-03-17 02:18:47.000000000 -0600 ++++ desktop/Makefile.in 2005-04-27 00:36:29.000000000 -0500 +@@ -336,9 +336,15 @@ + + + install: $(FILES) ++ @mkdir $(DESTDIR)$(sysconfdir); + @echo Installing magic local data for file\(1\) command... +- @if ! grep "\*\*TI85\*\*" /etc/magic; then \ +- cat others/magic >> /etc/magic; \ ++ @if ! grep "\*\*TI85\*\*" $(sysconfdir)/magic; \ ++ then \ ++ mkdir etc; \ ++ rm etc/magic; \ ++ cp $(sysconfdir)/magic etc/; \ ++ cat others/magic >> etc/magic; \ ++ $(INSTALL_DATA) etc/magic $(DESTDIR)$(sysconfdir)/magic; \ + fi; + @echo Done. + +@@ -350,29 +356,33 @@ + fi; + + @echo Installing application registry in Gnome... +- @$(INSTALL) -m644 gnome/tilp.applications /usr/share/application-registry ++ @mkdir -p $(DESTDIR)/usr/share/application-registry/ ++ @$(INSTALL) -m644 gnome/tilp.applications $(DESTDIR)/usr/share/application-registry + + @echo Installing file and icons handling in Gnome... +- @$(INSTALL) -m644 gnome/tilp.keys /usr/share/mime-info +- @$(INSTALL) -m644 gnome/tilp.mime /usr/share/mime-info ++ @mkdir -p $(DESTDIR)/usr/share/mime-info; ++ @$(INSTALL) -m644 gnome/tilp.keys $(DESTDIR)/usr/share/mime-info ++ @$(INSTALL) -m644 gnome/tilp.mime $(DESTDIR)/usr/share/mime-info + + @echo Installing TiLP menu entry in Gnome... +- @$(INSTALL) -m644 gnome/TiLP.desktop /usr/share/applications ++ @mkdir -p $(DESTDIR)/usr/share/applications ++ @$(INSTALL) -m644 gnome/TiLP.desktop $(DESTDIR)/usr/share/applications + @echo Done. + + @echo "---"; + + # @echo Installing KMimeMagic local data... + # @if ! grep "\*\*TI85" /usr/share/mimelnk/magic; then \ +-# cat kde/magic >> /usr/share/mimelnk/magic; \ ++# cat kde/magic >> $(DESTDIR)/usr/share/mimelnk/magic; \ + # fi; + + # @echo Installing TiLP menu entry in KDE... +-# @$(INSTALL) -d /usr/share/applnk/Edutainment/Mathematics +-# @$(INSTALL) -m644 kde/tilp.desktop /usr/share/applnk/Edutainment/Mathematics/ ++# @$(INSTALL) -d $(DESTDIR)/usr/share/applnk/Edutainment/Mathematics ++# @$(INSTALL) -m644 kde/tilp.desktop $(DESTDIR)/usr/share/applnk/Edutainment/Mathematics/ + + # @echo Installing file and icons handling in KDE... +-# @$(INSTALL) -m644 kde/x-tilp.desktop /usr/share/mimelnk/application ++# @mkdir -p $(DESTDIR)/usr/share/mimelnk/application ++# @$(INSTALL) -m644 kde/x-tilp.desktop $(DESTDIR)/usr/share/mimelnk/application + # @echo Done. + + uninstall: $(FILES) diff --git a/sci-calculators/tilp/files/6.79-plugins-Makefile.am.patch b/sci-calculators/tilp/files/6.79-plugins-Makefile.am.patch new file mode 100644 index 000000000000..d2ae0f6ba293 --- /dev/null +++ b/sci-calculators/tilp/files/6.79-plugins-Makefile.am.patch @@ -0,0 +1,12 @@ +--- plugins/Makefile.am 2005-06-26 18:22:26.000000000 +0000 ++++ plugins/Makefile.am.new 2005-06-26 18:27:04.000000000 +0000 +@@ -18,7 +18,7 @@ + + install: $(PLUGINS) + @echo Clean-up in plug-ins directory... +- @$(INSTALL) -d $(tilp_plugin_dir) ++ @$(INSTALL) -d $(DESTDIR)$(tilp_plugin_dir) + $(RM) $(DESTDIR)$(tilp_plugin_dir)/*.a + $(RM) $(DESTDIR)$(tilp_plugin_dir)/*.la + $(RM) $(DESTDIR)$(tilp_plugin_dir)/*.so + diff --git a/sci-calculators/tilp/files/6.79-plugins-Makefile.in.patch b/sci-calculators/tilp/files/6.79-plugins-Makefile.in.patch new file mode 100644 index 000000000000..f2e13cea2ff2 --- /dev/null +++ b/sci-calculators/tilp/files/6.79-plugins-Makefile.in.patch @@ -0,0 +1,11 @@ +--- plugins/Makefile.in 2005-06-26 18:22:26.000000000 +0000 ++++ plugins/Makefile.in.new 2005-06-26 18:27:22.000000000 +0000 +@@ -497,7 +497,7 @@ + + install: $(PLUGINS) + @echo Clean-up in plug-ins directory... +- @$(INSTALL) -d $(tilp_plugin_dir) ++ @$(INSTALL) -d $(DESTDIR)$(tilp_plugin_dir) + $(RM) $(DESTDIR)$(tilp_plugin_dir)/*.a + $(RM) $(DESTDIR)$(tilp_plugin_dir)/*.la + $(RM) $(DESTDIR)$(tilp_plugin_dir)/*.so diff --git a/sci-calculators/tilp/files/6.79-registry-Makefile.am.patch b/sci-calculators/tilp/files/6.79-registry-Makefile.am.patch new file mode 100644 index 000000000000..43658bc9ec00 --- /dev/null +++ b/sci-calculators/tilp/files/6.79-registry-Makefile.am.patch @@ -0,0 +1,8 @@ +--- registry/Makefile.am 2005-03-17 08:18:47.000000000 +0000 ++++ registry/Makefile.am.new 2005-06-26 18:19:23.000000000 +0000 +@@ -11,4 +11,4 @@ + dist_registry_DATA = tilp.registry + + install: +- @$(INSTALL) -d $(tilp_plugin_dir) ++ @$(INSTALL) -d $(DESTDIR)$(tilp_plugin_dir) diff --git a/sci-calculators/tilp/files/6.79-registry-Makefile.in.patch b/sci-calculators/tilp/files/6.79-registry-Makefile.in.patch new file mode 100644 index 000000000000..f45d366fab0b --- /dev/null +++ b/sci-calculators/tilp/files/6.79-registry-Makefile.in.patch @@ -0,0 +1,11 @@ +--- registry/Makefile.in 2005-05-26 15:00:53.000000000 +0000 ++++ registry/Makefile.in.new 2005-06-26 18:19:04.000000000 +0000 +@@ -493,7 +493,7 @@ + + + install: +- @$(INSTALL) -d $(tilp_plugin_dir) ++ @$(INSTALL) -d $(DESTDIR)$(tilp_plugin_dir) + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/sci-calculators/tilp/files/digest-tilp-6.79 b/sci-calculators/tilp/files/digest-tilp-6.79 new file mode 100644 index 000000000000..cd5d3a3b3c47 --- /dev/null +++ b/sci-calculators/tilp/files/digest-tilp-6.79 @@ -0,0 +1 @@ +MD5 859811ee87e0615e8370c71f8e3ba4ea tilp-6.79.tar.gz 1195282 diff --git a/sci-calculators/tilp/tilp-6.79.ebuild b/sci-calculators/tilp/tilp-6.79.ebuild new file mode 100644 index 000000000000..b9f64151dd5c --- /dev/null +++ b/sci-calculators/tilp/tilp-6.79.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/tilp/tilp-6.79.ebuild,v 1.1 2006/03/15 04:54:13 ribosome Exp $ + +inherit eutils + +DESCRIPTION="TiLP - A linking program for Texas Instruments' graphing +calculators" +HOMEPAGE="http://tilp.info/" +SRC_URI="mirror://sourceforge/tilp/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nls" + +DEPEND=">=sci-libs/libticables-3.8.0 + >=sci-libs/libticalcs-4.5.4 + >=sci-libs/libtifiles-0.6.1 + app-text/dos2unix + >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-makefile.patch + epatch "${FILESDIR}"/${PV}-makefile-desktop.patch + epatch "${FILESDIR}"/keepdir.patch + epatch "${FILESDIR}"/${PV}-Makefile.in.patch + epatch "${FILESDIR}"/${PV}-Makefile.am.patch + epatch "${FILESDIR}"/${PV}-registry-Makefile.in.patch + epatch "${FILESDIR}"/${PV}-registry-Makefile.am.patch + epatch "${FILESDIR}"/${PV}-plugins-Makefile.in.patch + epatch "${FILESDIR}"/${PV}-plugins-Makefile.am.patch + + # Install "registry" files in ${D} rather than to the root dir. + cd "${S}"/registry + sed -i -e 's:prefix = /usr:prefix = $(D)/usr:' Makefile + cd "${S}" +} + +src_compile() { + # Note the special option --with-fontpath-prefix below. + cd ${WORKDIR}/${P}/ + LDFLAGS='-export-dynamic' ./configure \ + $(use_enable nls) \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --with-fontpath-prefix=${D}/usr/share/fonts \ + --enable-exit-homedir || die + + emake || die +} + +src_install() { + # The SHARE_DIR is required since it isn't set properly in a makefile. + make DESTDIR=${D} install || die + dodoc AUTHORS NEWS README README.linux RELEASE THANKS TODO + keepdir /usr/lib/tilp +} |