summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/gonvert/ChangeLog10
-rw-r--r--sci-calculators/gonvert/files/0.2.23-paths.patch64
-rw-r--r--sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild10
-rw-r--r--sci-calculators/gonvert/gonvert-0.2.19.ebuild8
-rw-r--r--sci-calculators/gonvert/gonvert-0.2.23.ebuild28
5 files changed, 109 insertions, 11 deletions
diff --git a/sci-calculators/gonvert/ChangeLog b/sci-calculators/gonvert/ChangeLog
index 076877c63db8..0790e22655ce 100644
--- a/sci-calculators/gonvert/ChangeLog
+++ b/sci-calculators/gonvert/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-calculators/gonvert
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.8 2007/09/14 16:16:10 chainsaw Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/ChangeLog,v 1.9 2010/05/02 15:02:40 chainsaw Exp $
+
+*gonvert-0.2.23 (02 May 2010)
+
+ 02 May 2010; <chainsaw@gentoo.org> +files/0.2.23-paths.patch,
+ +gonvert-0.2.23.ebuild:
+ Version bump, as requested by "Hitachi" in bug #315451.
*gonvert-0.2.19 (14 Sep 2007)
diff --git a/sci-calculators/gonvert/files/0.2.23-paths.patch b/sci-calculators/gonvert/files/0.2.23-paths.patch
new file mode 100644
index 000000000000..72a39758236a
--- /dev/null
+++ b/sci-calculators/gonvert/files/0.2.23-paths.patch
@@ -0,0 +1,64 @@
+diff -uNr gonvert-0.2.23.ORIG//gonvert gonvert-0.2.23/gonvert
+--- gonvert-0.2.23.ORIG//gonvert 2010-05-02 15:56:46.807041971 +0100
++++ gonvert-0.2.23/gonvert 2010-05-02 15:57:06.840166944 +0100
+@@ -739,9 +739,9 @@
+ if os.path.exists('gonvert.glade'):
+ homepath=''
+ pixmapspath='pixmaps/'
+-elif os.path.exists('/usr/local/share/gonvert/gonvert.glade'):
+- homepath='/usr/local/share/gonvert/'
+- pixmapspath='/usr/local/share/pixmaps/'
++elif os.path.exists('/usr/share/gonvert/gonvert.glade'):
++ homepath='/usr/share/gonvert/'
++ pixmapspath='/usr/share/pixmaps/'
+ else:
+ #look for it in the installed directory
+ homepath=sys.path[0] + '/../share/gonvert/'
+diff -uNr gonvert-0.2.23.ORIG//Makefile gonvert-0.2.23/Makefile
+--- gonvert-0.2.23.ORIG//Makefile 2010-05-02 15:56:46.808041940 +0100
++++ gonvert-0.2.23/Makefile 2010-05-02 15:57:06.840166944 +0100
+@@ -4,7 +4,7 @@
+ VERSION=$(shell head -3 $(NAME) | grep version | cut -d\" -f2)
+
+ #DESTDIR can be defined when calling make ie. make install DESTDIR=$RPM_BUILD_ROOT
+-prefix = /usr/local
++prefix = /usr
+ bindir = $(prefix)/bin
+ datadir = $(prefix)/share
+ docdir = $(datadir)/doc
+@@ -18,7 +18,7 @@
+ install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade
+ install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/
+ install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/
+- install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop
++ install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop
+ install -d -m0755 $(DESTDIR)$(docdir)/gonvert/
+ install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/
+
+@@ -27,7 +27,7 @@
+ install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade
+ install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/
+ install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/
+- install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop
++ install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop
+ install -d -m0755 $(DESTDIR)$(docdir)/gonvert/
+ install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/
+ install -m0644 i18n/pl_messages.gmo /usr/share/locale/pl/LC_MESSAGES/gonvert.mo
+@@ -37,7 +37,7 @@
+ rm -f $(bindir)/gonvert
+ rm -rf $(datadir)/gonvert*
+ rm -rf $(docdir)/gonvert*
+- rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop
++ rm -f /usr/share/applications/$(NAME).desktop
+ rm -f /usr/share/pixmaps/$(NAME).png
+
+ uninstall_pl:
+@@ -45,7 +45,7 @@
+ rm -f $(bindir)/gonvert
+ rm -rf $(datadir)/gonvert*
+ rm -rf $(docdir)/gonvert*
+- rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop
++ rm -f /usr/share/applications/$(NAME).desktop
+ rm -f /usr/share/pixmaps/$(NAME).png
+ rm -f /usr/share/locale/pl/LC_MESSAGES/gonvert.mo
+
diff --git a/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild b/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild
index f01b5cf967f5..12e1ffe51d23 100644
--- a/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild
+++ b/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild,v 1.1 2006/04/30 23:07:46 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.15-r1.ebuild,v 1.2 2010/05/02 15:02:40 chainsaw Exp $
inherit eutils
@@ -17,9 +17,9 @@ DEPEND=">=dev-python/pygtk-2.8.2"
src_unpack () {
unpack ${A}
- cd ${S}
- epatch "${FILESDIR}"/0.2.12-about.patch
- epatch "${FILESDIR}"/0.2.15-glade.patch
+ cd "${S}"
+ epatch "${FILESDIR}/0.2.12-about.patch"
+ epatch "${FILESDIR}/0.2.15-glade.patch"
}
src_install () {
diff --git a/sci-calculators/gonvert/gonvert-0.2.19.ebuild b/sci-calculators/gonvert/gonvert-0.2.19.ebuild
index 928401d433da..726e603dda4d 100644
--- a/sci-calculators/gonvert/gonvert-0.2.19.ebuild
+++ b/sci-calculators/gonvert/gonvert-0.2.19.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.19.ebuild,v 1.1 2007/09/14 16:16:10 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.19.ebuild,v 1.2 2010/05/02 15:02:40 chainsaw Exp $
inherit eutils
@@ -17,8 +17,8 @@ DEPEND=">=dev-python/pygtk-2.8.2"
src_unpack () {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-paths.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-paths.patch"
}
src_install () {
diff --git a/sci-calculators/gonvert/gonvert-0.2.23.ebuild b/sci-calculators/gonvert/gonvert-0.2.23.ebuild
new file mode 100644
index 000000000000..547931079d04
--- /dev/null
+++ b/sci-calculators/gonvert/gonvert-0.2.23.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/gonvert/gonvert-0.2.23.ebuild,v 1.1 2010/05/02 15:02:40 chainsaw Exp $
+
+inherit eutils
+
+DESCRIPTION="Unit conversion utility written in PyGTK"
+HOMEPAGE="http://unihedron.com/projects/gonvert/gonvert.php"
+SRC_URI="http://unihedron.com/projects/gonvert/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE=""
+
+DEPEND=">=dev-python/pygtk-2.8.2"
+
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-paths.patch"
+}
+
+src_install () {
+ make install DESTDIR="${D}" prefix=/usr || die
+ rm -fr "${D}/usr/share/doc/${PN}"
+ dodoc doc/CHANGELOG doc/FAQ doc/README doc/THANKS doc/TODO
+}