public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
@ 2011-03-07 12:01 Justin Lecher
  0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2011-03-07 12:01 UTC (permalink / raw
  To: gentoo-commits

commit:     11be4fb8199e8cb6229576d2697228e9583b040b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 11:04:48 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 11:04:48 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=11be4fb8

Correct Slots for gtk 3 introduction to tree

(Portage version: 2.2.0_alpha26/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-visualization/v_sim/ChangeLog          |    5 +++-
 sci-visualization/v_sim/v_sim-3.5.1.ebuild |   41 ++++++++++++---------------
 2 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/sci-visualization/v_sim/ChangeLog b/sci-visualization/v_sim/ChangeLog
index b54f322..ef07543 100644
--- a/sci-visualization/v_sim/ChangeLog
+++ b/sci-visualization/v_sim/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-visualization/v_sim
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  07 Mar 2011; Justin Lecher <jlec@gentoo.org> v_sim-3.5.1.ebuild:
+  Correct Slots for gtk 3 introduction to tree
+
   19 Sep 2010; Justin Lecher <jlec@gentoo.org> v_sim-3.5.1.ebuild:
   virtual/glut -> media-libs/freeglut & virtual/glu -> virtual/opengl
   Correction

diff --git a/sci-visualization/v_sim/v_sim-3.5.1.ebuild b/sci-visualization/v_sim/v_sim-3.5.1.ebuild
index 6c18756..1ce6e6e 100644
--- a/sci-visualization/v_sim/v_sim-3.5.1.ebuild
+++ b/sci-visualization/v_sim/v_sim-3.5.1.ebuild
@@ -1,12 +1,15 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI="4"
+
 inherit eutils
 
 DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
 HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
 SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
+
 LICENSE="CeCILL-1.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~alpha"
@@ -16,28 +19,17 @@ KEYWORDS="~amd64 ~x86 ~alpha"
 # debug: Adds console debug messages. This is really verbose.
 IUSE="doc debug"
 
-# V_sim should work with gtk 2.4, but has been tested with gtk 2.6.
-RDEPEND=">=x11-libs/gtk+-2.6.8
-	>=dev-libs/glib-2.4.5
-	>=x11-libs/pango-1.8.1-r1
-	>=media-libs/libpng-1.2
-	virtual/opengl
-	virtual/opengl
-"
+RDEPEND="
+	x11-libs/gtk+:2
+	dev-libs/glib:2
+	x11-libs/pango
+	media-libs/libpng
+	virtual/opengl"
 DEPEND="${RDEPEND}
 	sys-apps/sed
-	doc?  ( >=dev-util/gtk-doc-1.4-r1 )
-"
-
-pkg_setup() {
-	# Required
-	check_license
-}
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
+	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
 
+src_prepare() {
 	# The author follows Debian conventions, hence the example files and docs
 	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
 	# correct this here.
@@ -49,7 +41,7 @@ src_unpack() {
 	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
 }
 
-src_compile() {
+src_configure() {
 	if use doc ; then
 		gtkdocize
 	fi
@@ -57,11 +49,14 @@ src_compile() {
 	econf \
 		$(use_enable doc gtk-doc) \
 		$(use_enable debug debug-messages)
-	HOME="${S}" make || die "emake failed"
+}
+
+src_compile() {
+	HOME="${S}" emake
 }
 
 src_install() {
-	make DESTDIR="${D}" install || die "make install failed"
+	emake DESTDIR="${D}" install
 }
 
 pkg_postinst() {



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
@ 2011-04-09 21:46 Dongxu Li
  0 siblings, 0 replies; 6+ messages in thread
From: Dongxu Li @ 2011-04-09 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     16a8aa8e8f7d9eaeb909f04bb8be2d94ba3f5cbf
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Sat Apr  9 17:45:24 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Sat Apr  9 17:45:24 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=16a8aa8e

v_sim: version bump to 3.5.2

---
 sci-visualization/v_sim/metadata.xml       |    4 +
 sci-visualization/v_sim/v_sim-3.5.2.ebuild |   87 ++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 0 deletions(-)

diff --git a/sci-visualization/v_sim/metadata.xml b/sci-visualization/v_sim/metadata.xml
index efb490d..3fbb2de 100644
--- a/sci-visualization/v_sim/metadata.xml
+++ b/sci-visualization/v_sim/metadata.xml
@@ -5,4 +5,8 @@
 <maintainer>
   <email>sci@gentoo.org</email>
 </maintainer>
+<use>
+	<flag name='abinit'>Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
+	<flag name='openbabel'>Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
+</use>
 </pkgmetadata>

diff --git a/sci-visualization/v_sim/v_sim-3.5.2.ebuild b/sci-visualization/v_sim/v_sim-3.5.2.ebuild
new file mode 100644
index 0000000..cbcd0c4
--- /dev/null
+++ b/sci-visualization/v_sim/v_sim-3.5.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
+HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
+SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
+
+LICENSE="CeCILL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
+#        Example files are copied even when USE='-doc'
+# debug: Adds console debug messages. This is really verbose.
+IUSE="abinit blas doc debug netcdf openbabel"
+
+RDEPEND="
+	x11-libs/gtk+:2
+	dev-libs/glib:2
+	x11-libs/pango
+	media-libs/libpng
+	virtual/opengl"
+DEPEND="${RDEPEND}
+	abinit? ( sci-physics/abinit )
+	blas? ( virtual/blas )
+	sys-apps/sed
+	netcdf? ( sci-libs/netcdf )
+	openbabel? ( sci-chemistry/openbabel )
+	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
+
+src_prepare() {
+	# The author follows Debian conventions, hence the example files and docs
+	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
+	# correct this here.
+	sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
+		|| die "sed failed on tweaking configure file"
+	# TODO: test if this can be done via --docdir
+
+	# The /share/ directories are #define in the code and must be adapted.
+	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
+}
+
+src_configure() {
+	if use doc ; then
+		gtkdocize
+	fi
+
+	econf \
+		$(use_with blas) \
+		$(use_with netcdf) \
+		$(use_with openbabel) \
+		$(use_enable doc gtk-doc) \
+		$(use_enable debug debug-messages)
+}
+
+src_compile() {
+	HOME="${S}" emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+	einfo "Example files are in /usr/share/doc/${PF}/examples"
+	einfo "(even with USE='-doc')"
+	einfo ""
+	einfo "The global v_sim config files are in /usr/share/${PN}/"
+	einfo "There are a few options which can only be configured in these files"
+	einfo "and not through the UI. For example, one can specify different"
+	einfo "colors for the box and the axes in the files, but in the UI one can"
+	einfo "only change them together."
+	einfo ""
+	einfo "V_sim uses by default its own weird gtk skin. You can edit the"
+	einfo "skin settings in /usr/share/${PN}/v_sim.rc"
+	einfo "You can change the skin file used in the config file v_sim.par:"
+	einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
+	einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
+	einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
+	einfo "If you choose 'none' or if you comment the line, your current"
+	einfo "gtk skin will be used."
+}



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
@ 2011-06-08  5:27 Dongxu Li
  0 siblings, 0 replies; 6+ messages in thread
From: Dongxu Li @ 2011-06-08  5:27 UTC (permalink / raw
  To: gentoo-commits

commit:     fd20d68c669c843f878f8f5c35102fc0da011fa7
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Wed Jun  8 05:27:14 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Wed Jun  8 05:27:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fd20d68c

sci-visualization/v_sim: version bump to 3.6.0

---
 sci-visualization/v_sim/ChangeLog          |    4 +
 sci-visualization/v_sim/metadata.xml       |    2 +
 sci-visualization/v_sim/v_sim-3.6.0.ebuild |   90 ++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+), 0 deletions(-)

diff --git a/sci-visualization/v_sim/ChangeLog b/sci-visualization/v_sim/ChangeLog
index ef07543..4559b70 100644
--- a/sci-visualization/v_sim/ChangeLog
+++ b/sci-visualization/v_sim/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  08 Jun 2011; Dongxu Li <dongxuli2011@gmail.com> +v_sim-3.6.0.ebuild:
+  Version bump to 3.6.0, added USE flags: cube xsf. Added dependency of 
+  sci-libs/etsf_io for USE=abinit, still need to fix sci-physics/abinit for proper abinit plugin support
+
   07 Mar 2011; Justin Lecher <jlec@gentoo.org> v_sim-3.5.1.ebuild:
   Correct Slots for gtk 3 introduction to tree
 

diff --git a/sci-visualization/v_sim/metadata.xml b/sci-visualization/v_sim/metadata.xml
index 3fbb2de..b771a05 100644
--- a/sci-visualization/v_sim/metadata.xml
+++ b/sci-visualization/v_sim/metadata.xml
@@ -7,6 +7,8 @@
 </maintainer>
 <use>
 	<flag name='abinit'>Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
+	<flag name='cube'>Add support plug-in support for Cube files (densities and structures)</flag>
 	<flag name='openbabel'>Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
+	<flag name='xsf'>plug-in support for files that follow the XCrysDen format for structural positions and densities</flag>
 </use>
 </pkgmetadata>

diff --git a/sci-visualization/v_sim/v_sim-3.6.0.ebuild b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
new file mode 100644
index 0000000..cf3db75
--- /dev/null
+++ b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
+HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
+SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
+
+LICENSE="CeCILL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
+#        Example files are copied even when USE='-doc'
+# debug: Adds console debug messages. This is really verbose.
+IUSE="abinit blas doc cube debug netcdf openbabel xsf"
+
+RDEPEND="
+	x11-libs/gtk+:2
+	dev-libs/glib:2
+	x11-libs/pango
+	media-libs/libpng
+	virtual/opengl"
+DEPEND="${RDEPEND}
+	abinit? ( sci-physics/abinit sci-libs/etsf_io )
+	blas? ( virtual/blas )
+	sys-apps/sed
+	netcdf? ( sci-libs/netcdf )
+	openbabel? ( sci-chemistry/openbabel )
+	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
+
+src_prepare() {
+	# The author follows Debian conventions, hence the example files and docs
+	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
+	# correct this here.
+	sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
+		|| die "sed failed on tweaking configure file"
+	# TODO: test if this can be done via --docdir
+
+	# The /share/ directories are #define in the code and must be adapted.
+	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
+}
+
+src_configure() {
+	if use doc ; then
+		gtkdocize
+	fi
+	local MY_CONF="--without-etsf-io"
+	use abinit && MY_CONF="--with-etsf-io=/usr --with-etsf-io-include=/usr/lib/finclude --with-etsf-io-libdir=/usr/$(get_libdir)"
+	econf "${MY_CONF}" \
+		$(use_with blas) \
+		$(use_with cube) \
+		$(use_with netcdf) \
+		$(use_with openbabel) \
+		$(use_with xsf) \
+		$(use_enable doc gtk-doc) \
+		$(use_enable debug debug-messages)
+}
+
+src_compile() {
+	HOME="${S}" emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+	einfo "Example files are in /usr/share/doc/${PF}/examples"
+	einfo "(even with USE='-doc')"
+	einfo ""
+	einfo "The global v_sim config files are in /usr/share/${PN}/"
+	einfo "There are a few options which can only be configured in these files"
+	einfo "and not through the UI. For example, one can specify different"
+	einfo "colors for the box and the axes in the files, but in the UI one can"
+	einfo "only change them together."
+	einfo ""
+	einfo "V_sim uses by default its own weird gtk skin. You can edit the"
+	einfo "skin settings in /usr/share/${PN}/v_sim.rc"
+	einfo "You can change the skin file used in the config file v_sim.par:"
+	einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
+	einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
+	einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
+	einfo "If you choose 'none' or if you comment the line, your current"
+	einfo "gtk skin will be used."
+}



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
@ 2011-06-08 12:22 Dongxu Li
  0 siblings, 0 replies; 6+ messages in thread
From: Dongxu Li @ 2011-06-08 12:22 UTC (permalink / raw
  To: gentoo-commits

commit:     774db8b7003d6d81e4a47cea5742d3c452c8ec93
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Wed Jun  8 12:20:24 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Wed Jun  8 12:20:24 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=774db8b7

sci-visualization/v_sim: added maintainer email

---
 sci-visualization/v_sim/metadata.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sci-visualization/v_sim/metadata.xml b/sci-visualization/v_sim/metadata.xml
index b771a05..03c243c 100644
--- a/sci-visualization/v_sim/metadata.xml
+++ b/sci-visualization/v_sim/metadata.xml
@@ -5,6 +5,9 @@
 <maintainer>
   <email>sci@gentoo.org</email>
 </maintainer>
+<maintainer>
+  <email>dongxuli2011@gmail.com</email>
+</maintainer>
 <use>
 	<flag name='abinit'>Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
 	<flag name='cube'>Add support plug-in support for Cube files (densities and structures)</flag>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
@ 2011-06-24 17:09 Justin Lecher
  0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2011-06-24 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     625bc06f1676e071723a3a7de7fbf8cdb4a765c3
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 15:41:52 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 15:41:52 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=625bc06f

Sort inherit and/or USE

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-visualization/v_sim/v_sim-3.5.1.ebuild |    2 +-
 sci-visualization/v_sim/v_sim-3.5.2.ebuild |    2 +-
 sci-visualization/v_sim/v_sim-3.6.0.ebuild |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/v_sim/v_sim-3.5.1.ebuild b/sci-visualization/v_sim/v_sim-3.5.1.ebuild
index 1ce6e6e..ee8253a 100644
--- a/sci-visualization/v_sim/v_sim-3.5.1.ebuild
+++ b/sci-visualization/v_sim/v_sim-3.5.1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86 ~alpha"
 # doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
 #        Example files are copied even when USE='-doc'
 # debug: Adds console debug messages. This is really verbose.
-IUSE="doc debug"
+IUSE="debug doc"
 
 RDEPEND="
 	x11-libs/gtk+:2

diff --git a/sci-visualization/v_sim/v_sim-3.5.2.ebuild b/sci-visualization/v_sim/v_sim-3.5.2.ebuild
index cbcd0c4..478cacb 100644
--- a/sci-visualization/v_sim/v_sim-3.5.2.ebuild
+++ b/sci-visualization/v_sim/v_sim-3.5.2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
 # doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
 #        Example files are copied even when USE='-doc'
 # debug: Adds console debug messages. This is really verbose.
-IUSE="abinit blas doc debug netcdf openbabel"
+IUSE="abinit blas debug doc netcdf openbabel"
 
 RDEPEND="
 	x11-libs/gtk+:2

diff --git a/sci-visualization/v_sim/v_sim-3.6.0.ebuild b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
index cf3db75..2386617 100644
--- a/sci-visualization/v_sim/v_sim-3.6.0.ebuild
+++ b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
 # doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
 #        Example files are copied even when USE='-doc'
 # debug: Adds console debug messages. This is really verbose.
-IUSE="abinit blas doc cube debug netcdf openbabel xsf"
+IUSE="abinit blas cube debug doc netcdf openbabel xsf"
 
 RDEPEND="
 	x11-libs/gtk+:2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
@ 2013-02-22 15:46 Justin Lecher
  0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2013-02-22 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 15:25:13 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 15:25:13 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee5f32f4

sci-visualization/v_sim: Drop old; add missing multilib.eclass

Package-Manager: portage-2.2.0_alpha163

---
 sci-visualization/v_sim/ChangeLog          |    6 ++-
 sci-visualization/v_sim/metadata.xml       |   26 ++++----
 sci-visualization/v_sim/v_sim-3.5.1.ebuild |   80 -------------------------
 sci-visualization/v_sim/v_sim-3.5.2.ebuild |   87 ----------------------------
 sci-visualization/v_sim/v_sim-3.6.0.ebuild |    4 +-
 5 files changed, 20 insertions(+), 183 deletions(-)

diff --git a/sci-visualization/v_sim/ChangeLog b/sci-visualization/v_sim/ChangeLog
index 4559b70..1a2d7c0 100644
--- a/sci-visualization/v_sim/ChangeLog
+++ b/sci-visualization/v_sim/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-visualization/v_sim
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Feb 2013; Justin Lecher <jlec@gentoo.org> -v_sim-3.5.1.ebuild,
+  -v_sim-3.5.2.ebuild, v_sim-3.6.0.ebuild, metadata.xml:
+  Drop old; add missing multilib.eclass
+
   08 Jun 2011; Dongxu Li <dongxuli2011@gmail.com> +v_sim-3.6.0.ebuild:
   Version bump to 3.6.0, added USE flags: cube xsf. Added dependency of 
   sci-libs/etsf_io for USE=abinit, still need to fix sci-physics/abinit for proper abinit plugin support

diff --git a/sci-visualization/v_sim/metadata.xml b/sci-visualization/v_sim/metadata.xml
index 03c243c..7064fe1 100644
--- a/sci-visualization/v_sim/metadata.xml
+++ b/sci-visualization/v_sim/metadata.xml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<maintainer>
-  <email>sci@gentoo.org</email>
-</maintainer>
-<maintainer>
-  <email>dongxuli2011@gmail.com</email>
-</maintainer>
-<use>
-	<flag name='abinit'>Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
-	<flag name='cube'>Add support plug-in support for Cube files (densities and structures)</flag>
-	<flag name='openbabel'>Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
-	<flag name='xsf'>plug-in support for files that follow the XCrysDen format for structural positions and densities</flag>
-</use>
+  <herd>sci</herd>
+  <maintainer>
+    <email>sci@gentoo.org</email>
+  </maintainer>
+  <maintainer>
+    <email>dongxuli2011@gmail.com</email>
+  </maintainer>
+  <use>
+    <flag name="abinit">Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
+    <flag name="cube">Add support plug-in support for Cube files (densities and structures)</flag>
+    <flag name="openbabel">Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
+    <flag name="xsf">plug-in support for files that follow the XCrysDen format for structural positions and densities</flag>
+  </use>
 </pkgmetadata>

diff --git a/sci-visualization/v_sim/v_sim-3.5.1.ebuild b/sci-visualization/v_sim/v_sim-3.5.1.ebuild
deleted file mode 100644
index ee8253a..0000000
--- a/sci-visualization/v_sim/v_sim-3.5.1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
-HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
-SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
-
-LICENSE="CeCILL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~alpha"
-
-# doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
-#        Example files are copied even when USE='-doc'
-# debug: Adds console debug messages. This is really verbose.
-IUSE="debug doc"
-
-RDEPEND="
-	x11-libs/gtk+:2
-	dev-libs/glib:2
-	x11-libs/pango
-	media-libs/libpng
-	virtual/opengl"
-DEPEND="${RDEPEND}
-	sys-apps/sed
-	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
-
-src_prepare() {
-	# The author follows Debian conventions, hence the example files and docs
-	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
-	# correct this here.
-	sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
-		|| die "sed failed on tweaking configure file"
-	# TODO: test if this can be done via --docdir
-
-	# The /share/ directories are #define in the code and must be adapted.
-	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
-}
-
-src_configure() {
-	if use doc ; then
-		gtkdocize
-	fi
-
-	econf \
-		$(use_enable doc gtk-doc) \
-		$(use_enable debug debug-messages)
-}
-
-src_compile() {
-	HOME="${S}" emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-}
-
-pkg_postinst() {
-	einfo "Example files are in /usr/share/doc/${PF}/examples"
-	einfo "(even with USE='-doc')"
-	einfo ""
-	einfo "The global v_sim config files are in /usr/share/${PN}/"
-	einfo "There are a few options which can only be configured in these files"
-	einfo "and not through the UI. For example, one can specify different"
-	einfo "colors for the box and the axes in the files, but in the UI one can"
-	einfo "only change them together."
-	einfo ""
-	einfo "V_sim uses by default its own weird gtk skin. You can edit the"
-	einfo "skin settings in /usr/share/${PN}/v_sim.rc"
-	einfo "You can change the skin file used in the config file v_sim.par:"
-	einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
-	einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
-	einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
-	einfo "If you choose 'none' or if you comment the line, your current"
-	einfo "gtk skin will be used."
-}

diff --git a/sci-visualization/v_sim/v_sim-3.5.2.ebuild b/sci-visualization/v_sim/v_sim-3.5.2.ebuild
deleted file mode 100644
index 478cacb..0000000
--- a/sci-visualization/v_sim/v_sim-3.5.2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
-HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
-SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
-
-LICENSE="CeCILL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
-#        Example files are copied even when USE='-doc'
-# debug: Adds console debug messages. This is really verbose.
-IUSE="abinit blas debug doc netcdf openbabel"
-
-RDEPEND="
-	x11-libs/gtk+:2
-	dev-libs/glib:2
-	x11-libs/pango
-	media-libs/libpng
-	virtual/opengl"
-DEPEND="${RDEPEND}
-	abinit? ( sci-physics/abinit )
-	blas? ( virtual/blas )
-	sys-apps/sed
-	netcdf? ( sci-libs/netcdf )
-	openbabel? ( sci-chemistry/openbabel )
-	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
-
-src_prepare() {
-	# The author follows Debian conventions, hence the example files and docs
-	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
-	# correct this here.
-	sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
-		|| die "sed failed on tweaking configure file"
-	# TODO: test if this can be done via --docdir
-
-	# The /share/ directories are #define in the code and must be adapted.
-	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
-}
-
-src_configure() {
-	if use doc ; then
-		gtkdocize
-	fi
-
-	econf \
-		$(use_with blas) \
-		$(use_with netcdf) \
-		$(use_with openbabel) \
-		$(use_enable doc gtk-doc) \
-		$(use_enable debug debug-messages)
-}
-
-src_compile() {
-	HOME="${S}" emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-}
-
-pkg_postinst() {
-	einfo "Example files are in /usr/share/doc/${PF}/examples"
-	einfo "(even with USE='-doc')"
-	einfo ""
-	einfo "The global v_sim config files are in /usr/share/${PN}/"
-	einfo "There are a few options which can only be configured in these files"
-	einfo "and not through the UI. For example, one can specify different"
-	einfo "colors for the box and the axes in the files, but in the UI one can"
-	einfo "only change them together."
-	einfo ""
-	einfo "V_sim uses by default its own weird gtk skin. You can edit the"
-	einfo "skin settings in /usr/share/${PN}/v_sim.rc"
-	einfo "You can change the skin file used in the config file v_sim.par:"
-	einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
-	einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
-	einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
-	einfo "If you choose 'none' or if you comment the line, your current"
-	einfo "gtk skin will be used."
-}

diff --git a/sci-visualization/v_sim/v_sim-3.6.0.ebuild b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
index 2386617..9e74775 100644
--- a/sci-visualization/v_sim/v_sim-3.6.0.ebuild
+++ b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI="4"
 
-inherit eutils
+inherit eutils multilib
 
 DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
 HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-22 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 15:46 [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2011-06-24 17:09 Justin Lecher
2011-06-08 12:22 Dongxu Li
2011-06-08  5:27 Dongxu Li
2011-04-09 21:46 Dongxu Li
2011-03-07 12:01 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox