diff options
Diffstat (limited to 'sci-calculators/tilp')
-rw-r--r-- | sci-calculators/tilp/ChangeLog | 77 | ||||
-rw-r--r-- | sci-calculators/tilp/Manifest | 7 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.76-makefile-desktop.patch | 16 | ||||
-rw-r--r-- | sci-calculators/tilp/files/6.76-makefile.patch | 65 | ||||
-rw-r--r-- | sci-calculators/tilp/files/digest-tilp-6.76 | 1 | ||||
-rw-r--r-- | sci-calculators/tilp/files/keepdir.patch | 12 | ||||
-rw-r--r-- | sci-calculators/tilp/metadata.xml | 5 | ||||
-rw-r--r-- | sci-calculators/tilp/tilp-6.76.ebuild | 54 |
8 files changed, 237 insertions, 0 deletions
diff --git a/sci-calculators/tilp/ChangeLog b/sci-calculators/tilp/ChangeLog new file mode 100644 index 000000000000..1f42ce35a176 --- /dev/null +++ b/sci-calculators/tilp/ChangeLog @@ -0,0 +1,77 @@ +# ChangeLog for app-sci/tilp +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/tilp/ChangeLog,v 1.1 2004/12/24 15:08:13 ribosome Exp $ + +*tilp-6.76 (24 Dec 2004) + + 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/6.76-makefile-desktop.patch, +files/6.76-makefile.patch, + +files/keepdir.patch, +tilp-6.76.ebuild: + Moved from app-sci/tilp to sci-calculators/tilp. + + 03 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> + -files/6.74-makefile-desktop.patch, -files/6.74-makefile.patch, + -files/formatbug.patch, -tilp-6.68-r2.ebuild, -tilp-6.74.ebuild: + Removing insecure older versions + + 02 Dec 2004; Lars Weiler <pylon@gentoo.org> tilp-6.76.ebuild: + Stable on ppc. See bug #68712. + +*tilp-6.76 (02 Dec 2004) + + 02 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> + +files/6.76-makefile-desktop.patch, +files/6.76-makefile.patch, + +tilp-6.76.ebuild: + Version bump. Fixes a security problem of older versions (temporary file with + fixed name in /tmp) + + 03 Sep 2004; David Holm <dholm@gentoo.org> tilp-6.74.ebuild: + Added to ~ppc. + +*tilp-6.74 (22 Aug 2004) + + 22 Aug 2004; Olivier Fisette <ribosome@gentoo.org> -files/6.68-keepdir.patch, + +files/6.74-makefile-desktop.patch, +files/6.74-makefile.patch, + +files/keepdir.patch, -tilp-6.09.ebuild, tilp-6.68-r2.ebuild, + +tilp-6.74.ebuild: + Version bump (6.74) (formatbug patch is no longer needed). Removed old ebuild. + Removed version from the keepdir patch's file name, since it is now shared + with 6.74 (and changed ebuild for 6.68 accordingly). + + 10 May 2004; Patrick Kursawe <phosphan@gentoo.org> tilp-6.68-r2.ebuild: + Adding missing libglade dependency (see bug #50451) + +*tilp-6.68-r2 (13 Apr 2004) + + 13 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> tilp-6.68-r1.ebuild, + tilp-6.68-r2.ebuild, files/formatbug.patch: + Traced bug #40263 to a buffer overflow, provided patch. + + 31 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> tilp-6.06.ebuild, + tilp-6.68.ebuild: + Cleanup + + 30 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> tilp-6.68-r1.ebuild: + Fixing for gtk 2.4, see bug #45599 + +*tilp-6.68-r1 (29 Mar 2004) + + 29 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> tilp-6.68-r1.ebuild, + files/6.68-keepdir.patch: + Some changes because of bug #40263 + +*tilp-6.68 (04 Nov 2003) + + 04 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> tilp-6.06.ebuild, + tilp-6.09.ebuild, tilp-6.68.ebuild: + Version bump, see bug 28325 + +*tilp-6.09 (19 Jul 2003) + + 19 Jul 2003; Ryan Phillips <rphillips@gentoo.org> ChangeLog : + Submitted by Brent Redeker and Jonathan Rogers. Fixes #18234 + +*tilp-6.06 (19 Jul 2003) + + 19 Jul 2003; Ryan Phillips <rphillips@gentoo.org> ChangeLog : + Submitted by Brent Redeker and Jonathan Rogers. Fixes #18234 diff --git a/sci-calculators/tilp/Manifest b/sci-calculators/tilp/Manifest new file mode 100644 index 000000000000..9712ac70ec2b --- /dev/null +++ b/sci-calculators/tilp/Manifest @@ -0,0 +1,7 @@ +MD5 e052047db28160e93c40cb970c8dbb37 tilp-6.76.ebuild 1398 +MD5 fe9cedbc0aed55f076f916c37a970f17 ChangeLog 2536 +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 708836f6ae250add32825e8e7595d9b1 files/digest-tilp-6.76 62 diff --git a/sci-calculators/tilp/files/6.76-makefile-desktop.patch b/sci-calculators/tilp/files/6.76-makefile-desktop.patch new file mode 100644 index 000000000000..ce7c30cd64ec --- /dev/null +++ b/sci-calculators/tilp/files/6.76-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.76-makefile.patch b/sci-calculators/tilp/files/6.76-makefile.patch new file mode 100644 index 000000000000..e13924980428 --- /dev/null +++ b/sci-calculators/tilp/files/6.76-makefile.patch @@ -0,0 +1,65 @@ +--- /tmp/tilp-6.74/desktop/Makefile.in 2004-06-29 23:02:14.000000000 +0200 ++++ ./desktop/Makefile.in 2004-08-14 14:20:51.929766560 +0200 +@@ -331,9 +331,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. + +@@ -345,29 +351,35 @@ + 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; \ ++ ++#confusing kde mime type resolution ++# @if ! grep "\*\*TI85" /usr/share/mimelnk/magic; then \ ++ 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/digest-tilp-6.76 b/sci-calculators/tilp/files/digest-tilp-6.76 new file mode 100644 index 000000000000..b21a644d6754 --- /dev/null +++ b/sci-calculators/tilp/files/digest-tilp-6.76 @@ -0,0 +1 @@ +MD5 8519462a9d9b21c1bc9e76116ccd276f tilp-6.76.tar.gz 1187328 diff --git a/sci-calculators/tilp/files/keepdir.patch b/sci-calculators/tilp/files/keepdir.patch new file mode 100644 index 000000000000..e0444106649c --- /dev/null +++ b/sci-calculators/tilp/files/keepdir.patch @@ -0,0 +1,12 @@ +diff -ruN src/tilp_plugin.c src2/tilp_plugin.c +--- src/tilp_plugin.c 2003-08-27 14:07:23.000000000 +0200 ++++ src2/tilp_plugin.c 2004-03-24 20:56:40.000000000 +0100 +@@ -157,6 +157,8 @@ + continue; + if (!strcmp(dirname, "..")) + continue; ++ if (!strcmp(dirname, ".keep")) ++ continue; + + plugin_info = query_plugin(inst_paths.plugin_dir, dirname); + if (plugin_info == NULL) diff --git a/sci-calculators/tilp/metadata.xml b/sci-calculators/tilp/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-calculators/tilp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> diff --git a/sci-calculators/tilp/tilp-6.76.ebuild b/sci-calculators/tilp/tilp-6.76.ebuild new file mode 100644 index 000000000000..50b98f04ac89 --- /dev/null +++ b/sci-calculators/tilp/tilp-6.76.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/tilp/tilp-6.76.ebuild,v 1.1 2004/12/24 15:08: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 + mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="x86 ppc" +IUSE="nls" + +DEPEND=">=dev-libs/libticables-3.8.6 + >=dev-libs/libticalcs-4.5.5 + >=dev-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 +} + +src_compile() { + # Note the special option --with-fontpath-prefix below. + cd ${WORKDIR}/${P}/ + ./configure \ + $(use_enable nls) \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --with-fontpath-prefix=${D}/usr/X11R6/lib/X11/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 ChangeLog NEWS README README.linux RELEASE THANKS TODO + keepdir /usr/lib/tilp +} |