New version
authorOlivier Fisette <ribosome@gentoo.org>
Wed, 15 Mar 2006 04:54:13 +0000 (04:54 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Wed, 15 Mar 2006 04:54:13 +0000 (04:54 +0000)
Package-Manager: portage-2.0.54

12 files changed:
sci-calculators/tilp/ChangeLog
sci-calculators/tilp/Manifest
sci-calculators/tilp/files/6.79-Makefile.am.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-Makefile.in.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-makefile-desktop.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-makefile.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-plugins-Makefile.am.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-plugins-Makefile.in.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-registry-Makefile.am.patch [new file with mode: 0644]
sci-calculators/tilp/files/6.79-registry-Makefile.in.patch [new file with mode: 0644]
sci-calculators/tilp/files/digest-tilp-6.79 [new file with mode: 0644]
sci-calculators/tilp/tilp-6.79.ebuild [new file with mode: 0644]

index e379a92745bfc6afcc48ea70d8a97b24219cfff7..3a935179582e32a8ef2474554748b0b96d75a1b7 100644 (file)
@@ -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
index c80e18a2191d6208e5a4b9678e43da9dab679616..0b5ea7f8009158933ffdb74c93c092f512b8914d 100644 (file)
@@ -1,17 +1,17 @@
------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 3439c4791709aeec9891b0c4c97dfc96 ChangeLog 3857
 MD5 bc48a68d03eb437fcd76f7bd8993fac8 files/6.76-makefile-desktop.patch 706
+MD5 19f22f6cd7f216bca36431149033c082 files/6.76-makefile.patch 2495
+MD5 a8ed1b80bb7feac8670299818c8cfe17 files/6.79-Makefile.am.patch 271
+MD5 d10acf6a847c4e3d35c54588b441d2fe files/6.79-Makefile.in.patch 346
+MD5 bc48a68d03eb437fcd76f7bd8993fac8 files/6.79-makefile-desktop.patch 706
+MD5 2d3a08660eeedd4f6e4cfa66c228c8e2 files/6.79-makefile.patch 2397
+MD5 4b385789e9bf1af873c2524d10e4a0ae files/6.79-plugins-Makefile.am.patch 416
+MD5 05e34e1112be8b9b433d08097f27e451 files/6.79-plugins-Makefile.in.patch 417
+MD5 4cc0a17886e30c2497e830762379d321 files/6.79-registry-Makefile.am.patch 274
+MD5 30502ce98dee0daaab7547b23b33109a files/6.79-registry-Makefile.in.patch 389
 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 779c5fe3f9a9bc59bb05040537effec2 tilp-6.79.ebuild 1873
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 (file)
index 0000000..0d896ba
--- /dev/null
@@ -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 (file)
index 0000000..666854f
--- /dev/null
@@ -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 (file)
index 0000000..ce7c30c
--- /dev/null
@@ -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 (file)
index 0000000..af44d7d
--- /dev/null
@@ -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 (file)
index 0000000..d2ae0f6
--- /dev/null
@@ -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 (file)
index 0000000..f2e13ce
--- /dev/null
@@ -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 (file)
index 0000000..43658bc
--- /dev/null
@@ -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 (file)
index 0000000..f45d366
--- /dev/null
@@ -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 (file)
index 0000000..cd5d3a3
--- /dev/null
@@ -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 (file)
index 0000000..b9f6415
--- /dev/null
@@ -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
+}