summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2006-10-05 21:02:32 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2006-10-05 21:02:32 +0000
commit3a7ed83d994a5dabbe16a19269e58543a1c55a8e (patch)
tree4c0d035966517dafa7193891e57df4ab657d5dda /sci-electronics
parentFix gettext dependency (diff)
downloadgentoo-2-3a7ed83d994a5dabbe16a19269e58543a1c55a8e.tar.gz
gentoo-2-3a7ed83d994a5dabbe16a19269e58543a1c55a8e.tar.bz2
gentoo-2-3a7ed83d994a5dabbe16a19269e58543a1c55a8e.zip
Revbump and minor cleanup
(Portage version: 2.1.1)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/oregano/ChangeLog11
-rw-r--r--sci-electronics/oregano/files/digest-oregano-0.60.03
-rw-r--r--sci-electronics/oregano/files/oregano-0.60.0-dont-run-update-mime-database.patch11
-rw-r--r--sci-electronics/oregano/files/oregano-0.60.0-install-icon.patch27
-rw-r--r--sci-electronics/oregano/oregano-0.60.0.ebuild52
5 files changed, 103 insertions, 1 deletions
diff --git a/sci-electronics/oregano/ChangeLog b/sci-electronics/oregano/ChangeLog
index bc13fd7f3fa4..d3dbca4f1304 100644
--- a/sci-electronics/oregano/ChangeLog
+++ b/sci-electronics/oregano/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sci-electronics/oregano
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.21 2006/07/26 13:59:55 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.22 2006/10/05 21:02:32 gustavoz Exp $
+
+*oregano-0.60.0 (05 Oct 2006)
+
+ 05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ -files/oregano-0.50.1-dont-run-update-mime-database.patch,
+ +files/oregano-0.60.0-dont-run-update-mime-database.patch,
+ +files/oregano-0.60.0-install-icon.patch, -oregano-0.50.1.ebuild,
+ +oregano-0.60.0.ebuild:
+ Revbump and minor cleanup
*oregano-0.50.1 (26 Jul 2006)
diff --git a/sci-electronics/oregano/files/digest-oregano-0.60.0 b/sci-electronics/oregano/files/digest-oregano-0.60.0
new file mode 100644
index 000000000000..c0ec948daf7d
--- /dev/null
+++ b/sci-electronics/oregano/files/digest-oregano-0.60.0
@@ -0,0 +1,3 @@
+MD5 576942f1b6d3348f16d2eff085eb03f4 oregano-0.60.0.tar.bz2 525514
+RMD160 80f8b8201fa7b4cb468798db28ab96d4fc568609 oregano-0.60.0.tar.bz2 525514
+SHA256 1c6ee75a5b8d5926064ad8a953dc70bf858b8a47a951e9998dcde3233680a6d2 oregano-0.60.0.tar.bz2 525514
diff --git a/sci-electronics/oregano/files/oregano-0.60.0-dont-run-update-mime-database.patch b/sci-electronics/oregano/files/oregano-0.60.0-dont-run-update-mime-database.patch
new file mode 100644
index 000000000000..4fb2b6536dde
--- /dev/null
+++ b/sci-electronics/oregano/files/oregano-0.60.0-dont-run-update-mime-database.patch
@@ -0,0 +1,11 @@
+diff -Nura oregano-0.60.0/SConstruct oregano-0.60.0-nomime/SConstruct
+--- oregano-0.60.0/SConstruct 2006-09-30 01:47:23.000000000 -0300
++++ oregano-0.60.0-nomime/SConstruct 2006-10-05 16:02:50.000000000 -0300
+@@ -120,7 +120,3 @@
+ CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/mime/packages'), Split('oregano.xml')))
+ CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/mime-info'), Split('oregano.mime oregano.keys')))
+ CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/applications'), Split('oregano.desktop')))
+-
+-# Update mime database #
+-if CEnv['RunUpdateMimeDatabase'] and ('install' in COMMAND_LINE_TARGETS):
+- CEnv.Alias ('install', CEnv.Command ('update-mime-database', 'oregano.xml', "update-mime-database "+os.path.join (CEnv['INSTALL_DIR'], 'share/mime')))
diff --git a/sci-electronics/oregano/files/oregano-0.60.0-install-icon.patch b/sci-electronics/oregano/files/oregano-0.60.0-install-icon.patch
new file mode 100644
index 000000000000..f71ab4e1f606
--- /dev/null
+++ b/sci-electronics/oregano/files/oregano-0.60.0-install-icon.patch
@@ -0,0 +1,27 @@
+Mon Oct 2 15:52:52 ART 2006 Ricardo Markiewicz <rmarkie@fi.uba.ar>
+ * Install missing icon.
+ Also, use the SVG version of the icon.
+diff -rN -u old-oregano-stable/SConstruct new-oregano-stable/SConstruct
+--- old-oregano-stable/SConstruct 2006-10-02 15:53:55.000000000 -0300
++++ new-oregano-stable/SConstruct 2006-10-02 15:53:55.000000000 -0300
+@@ -115,8 +115,9 @@
+ SConscript ('po/SConscript');
+
+ # Install Target #
+-CEnv.Alias ('install', CEnv.Command ('oregano.keys', 'oregano.keys.in', "sed 's/@icondir@/"+os.path.join (CEnv['PREFIX'], CEnv['DATADIR'],"mine-info").replace ("/", "\\/")+"/' < $SOURCE > $TARGET"))
++CEnv.Alias ('install', CEnv.Command ('oregano.keys', 'oregano.keys.in', "sed 's/@icondir@/"+os.path.join (CEnv['DATADIR'], "pixmaps").replace ("/", "\\/")+"/' < $SOURCE > $TARGET"))
+ CEnv.Alias ('install', CEnv.Command ('oregano.xml', 'oregano.xml.in', "cp $SOURCE $TARGET"))
++CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/pixmaps'), Split('gnome-oregano.svg')))
+ CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/mime/packages'), Split('oregano.xml')))
+ CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/mime-info'), Split('oregano.mime oregano.keys')))
+ CEnv.Alias ('install', CEnv.Install (os.path.join (CEnv['INSTALL_DIR'], 'share/applications'), Split('oregano.desktop')))
+diff -rN -u old-oregano-stable/oregano.keys.in new-oregano-stable/oregano.keys.in
+--- old-oregano-stable/oregano.keys.in 2006-10-02 15:53:55.000000000 -0300
++++ new-oregano-stable/oregano.keys.in 2006-10-02 15:53:55.000000000 -0300
+@@ -1,4 +1,4 @@
+ application/x-oregano:
+ open=oregano %f
+ view=oregano %f
+- icon-filename=@icondir@/gnome-oregano.png
++ icon-filename=@icondir@/gnome-oregano.svg
+
diff --git a/sci-electronics/oregano/oregano-0.60.0.ebuild b/sci-electronics/oregano/oregano-0.60.0.ebuild
new file mode 100644
index 000000000000..f7298721b1f1
--- /dev/null
+++ b/sci-electronics/oregano/oregano-0.60.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/oregano-0.60.0.ebuild,v 1.1 2006/10/05 21:02:32 gustavoz Exp $
+
+inherit eutils fdo-mime
+
+DESCRIPTION="Oregano is an application for schematic capture and simulation of electrical circuits."
+SRC_URI="http://gforge.lug.fi.uba.ar/frs/download.php/84/${P}.tar.bz2"
+HOMEPAGE="http://oregano.gforge.lug.fi.uba.ar/"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=dev-libs/libxml2-2.6.20
+ >=app-text/scrollkeeper-0.3.14
+ >=x11-libs/gtk+-2.8
+ >=gnome-base/libglade-2.5
+ >=gnome-base/libgnome-2.12
+ >=gnome-base/libgnomeui-2.12
+ >=gnome-base/libgnomecanvas-2.12
+ >=gnome-base/libgnomeprint-2.12
+ >=gnome-base/libgnomeprintui-2.12
+ >=x11-libs/cairo-1.0.0
+ >=x11-libs/gtksourceview-1.2
+ >=dev-util/scons-0.96.1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-dont-run-update-mime-database.patch
+ epatch ${FILESDIR}/${P}-install-icon.patch
+}
+
+src_compile() {
+ scons --cache-disable \
+ PREFIX=/usr \
+ || die "scons make failed"
+}
+
+src_install() {
+ scons --cache-disable DESTDIR=${D} PREFIX=/usr install \
+ || die "scons install failed"
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ elog "You'll need to emerge your prefered simulation backend"
+ elog "such as spice, ng-spice-rework or gnucap for simulation"
+ elog "to work."
+}