diff options
author | Michael Weber <xmw@gentoo.org> | 2012-07-05 08:16:54 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-07-05 08:16:54 +0000 |
commit | 93113aa6286862748258fe00d80272a520df40f8 (patch) | |
tree | b49d3ee07bf8195212bcb48dd93bd27e1ba47114 /sci-electronics | |
parent | Change manifest for new hashes. (diff) | |
download | gentoo-2-93113aa6286862748258fe00d80272a520df40f8.tar.gz gentoo-2-93113aa6286862748258fe00d80272a520df40f8.tar.bz2 gentoo-2-93113aa6286862748258fe00d80272a520df40f8.zip |
Version bump (thanks euscan), EAPI-4, scons->automake, HOMEPAGE and SRC_URI relocated to github.com.
(Portage version: 2.1.11.4/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
4 files changed, 104 insertions, 1 deletions
diff --git a/sci-electronics/oregano/ChangeLog b/sci-electronics/oregano/ChangeLog index 261cd747e2d8..2a663bda9add 100644 --- a/sci-electronics/oregano/ChangeLog +++ b/sci-electronics/oregano/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-electronics/oregano # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.52 2012/05/04 07:10:19 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.53 2012/07/05 08:16:54 xmw Exp $ + +*oregano-0.82 (05 Jul 2012) + + 05 Jul 2012; Michael Weber <xmw@gentoo.org> + +files/oregano-0.82-format-security.patch, + +files/oregano-0.82-remove.unneeded.docs.patch, +oregano-0.82.ebuild: + Version bump (thanks euscan), EAPI-4, scons->automake, HOMEPAGE and SRC_URI + relocated to github.com. 04 May 2012; Jeff Horelick <jdhore@gentoo.org> oregano-0.69.1.ebuild, oregano-0.69.1-r1.ebuild: diff --git a/sci-electronics/oregano/files/oregano-0.82-format-security.patch b/sci-electronics/oregano/files/oregano-0.82-format-security.patch new file mode 100644 index 000000000000..6242a1c71c14 --- /dev/null +++ b/sci-electronics/oregano/files/oregano-0.82-format-security.patch @@ -0,0 +1,35 @@ +From http://patch-tracker.debian.org/package/oregano/0.70-1 + +## Description: Avoid format-security errors +## Origin/Author: Maximiliano Curia <maxy@debian.org> +Index: oregano-0.70/src/dialogs.c +=================================================================== +--- oregano-0.70.orig/src/dialogs.c 2012-01-07 18:57:09.000000000 -0300 ++++ oregano-0.70/src/dialogs.c 2012-01-07 19:26:46.000000000 -0300 +@@ -61,7 +61,7 @@ + GTK_DIALOG_MODAL, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, +- span_msg->str); ++ "%s", span_msg->str); + + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); + +@@ -100,7 +100,7 @@ + GTK_DIALOG_MODAL, + GTK_MESSAGE_WARNING, + GTK_BUTTONS_OK, +- span_msg->str); ++ "%s", span_msg->str); + + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); + +@@ -120,7 +120,7 @@ + GTK_MESSAGE_QUESTION, + GTK_BUTTONS_OK, + GTK_BUTTONS_CANCEL, +- msg); ++ "%s", msg); + + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL); + diff --git a/sci-electronics/oregano/files/oregano-0.82-remove.unneeded.docs.patch b/sci-electronics/oregano/files/oregano-0.82-remove.unneeded.docs.patch new file mode 100644 index 000000000000..df0d930dee23 --- /dev/null +++ b/sci-electronics/oregano/files/oregano-0.82-remove.unneeded.docs.patch @@ -0,0 +1,13 @@ +--- oregano-0.82/Makefile.am ++++ oregano-0.82/Makefile.am +@@ -7,10 +7,8 @@ + oreganodocdir = $(datadir)/doc/oregano + oreganodoc_DATA = \ + README\ +- COPYING\ + AUTHORS\ + ChangeLog\ +- INSTALL\ + NEWS\ + TODO + diff --git a/sci-electronics/oregano/oregano-0.82.ebuild b/sci-electronics/oregano/oregano-0.82.ebuild new file mode 100644 index 000000000000..9eb1239c86ee --- /dev/null +++ b/sci-electronics/oregano/oregano-0.82.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/oregano-0.82.ebuild,v 1.1 2012/07/05 08:16:54 xmw Exp $ + +EAPI="4" + +inherit autotools eutils fdo-mime vcs-snapshot + +DESCRIPTION="Oregano is an application for schematic capture and simulation of electrical circuits." +HOMEPAGE="https://github.com/marc-lorber/oregano" +SRC_URI="https://github.com/marc-lorber/${PN}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +CDEPEND="dev-libs/libxml2:2 + x11-libs/goocanvas:2.0 + x11-libs/gtk+:3 + x11-libs/gtksourceview:3.0" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + sci-electronics/electronics-menu" + +src_prepare() { + epatch "${FILESDIR}"/${P}-format-security.patch + epatch "${FILESDIR}"/${P}-remove.unneeded.docs.patch + eautoreconf +} + +src_configure() { + econf --disable-update-mimedb +} + +src_install() { + emake DESTDIR="${D}" oreganodocdir=/usr/share/doc/${PF} install +} + +pkg_postinst() { + fdo-mime_desktop_database_update + elog "You'll need to emerge your prefered simulation backend" + elog "such ngspice or gnucap for simulation to work." + elog "As an alternative generate a netlist and use sci-electronics/spice" + elog "from the command line for simulation." +} |