summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-chemistry/povscript+
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-chemistry/povscript+')
-rw-r--r--sci-chemistry/povscript+/Manifest2
-rw-r--r--sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch19
-rw-r--r--sci-chemistry/povscript+/metadata.xml5
-rw-r--r--sci-chemistry/povscript+/povscript+-2.1.2.2.19.ebuild55
-rw-r--r--sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild56
5 files changed, 137 insertions, 0 deletions
diff --git a/sci-chemistry/povscript+/Manifest b/sci-chemistry/povscript+/Manifest
new file mode 100644
index 000000000000..86635b8f451c
--- /dev/null
+++ b/sci-chemistry/povscript+/Manifest
@@ -0,0 +1,2 @@
+DIST molscript-2.1.2pov2.19.tar.gz 845101 SHA256 4d35ed30898508df85c1db6e18385b56f8aed1f79db65195be6fdb23d3c49b68 SHA512 11796552a889ae309ebac31047440732921cd300d89ad284beb3655e2797fe1a68adf9a5a7e54e6668ea240c5b0897c22f65d839870ee43591854976000ab05f WHIRLPOOL cf19cf28304f49a1de6a1d787de18c939b4dcd5ae2d813ac48e8d5f2a572de4cee6bafdd8613e47ca7a5b5b3891108308c808687162deb23d39dcd07a69dcd35
+DIST molscript-2.1.2pov2.20.tar.gz 822930 SHA256 a3a9ae8792fbfba1df6e279c913db3ee4a89612c94b6088be874ed69372ab7a6 SHA512 f7cae4d9b583a05962742ee36ec717f0ecac6bb88086bcfa484b51b0d2e16a15920bc7c09d9d777453d7ef7b81be444924d15a889e4725bfca7bf517d4e52db2 WHIRLPOOL 8c12ea5ebc234f2277e04e502a314cb0065cb717e1cff067d9ad8d306395972f2b6d7589f3a7e58dfa019dc3eb0cf11582ee9b92f1bb3b17c8f9cfc5c4b57a2a
diff --git a/sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch b/sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch
new file mode 100644
index 000000000000..054967d6555c
--- /dev/null
+++ b/sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch
@@ -0,0 +1,19 @@
+--- src/png_img.c
++++ src/png_img.c
+@@ -18,6 +18,7 @@
+
+ #include MS_GL_H
+
++#include <zlib.h>
+ #include <png.h>
+
+ #include "clib/str_utils.h"
+@@ -69,7 +70,7 @@
+ info_ptr = png_create_info_struct (png_ptr);
+ if (info_ptr == NULL)
+ yyerror ("png_img: could not create PNG info structure");
+- if (setjmp (png_ptr->jmpbuf)) yyerror ("png_img: could not setjmp");
++ if (setjmp (png_jmpbuf(png_ptr))) yyerror ("png_img: could not setjmp");
+
+ png_init_io (png_ptr, outfile);
+ png_set_compression_level (png_ptr, compression_level);
diff --git a/sci-chemistry/povscript+/metadata.xml b/sci-chemistry/povscript+/metadata.xml
new file mode 100644
index 000000000000..51fdedab1b38
--- /dev/null
+++ b/sci-chemistry/povscript+/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+</pkgmetadata>
diff --git a/sci-chemistry/povscript+/povscript+-2.1.2.2.19.ebuild b/sci-chemistry/povscript+/povscript+-2.1.2.2.19.ebuild
new file mode 100644
index 000000000000..a36a07a34519
--- /dev/null
+++ b/sci-chemistry/povscript+/povscript+-2.1.2.2.19.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils versionator
+
+V1=$(get_version_component_range 1 ${PV})
+V2=$(get_version_component_range 2 ${PV})
+V3=$(get_version_component_range 3 ${PV})
+V4=$(get_version_component_range 4 ${PV})
+V5=$(get_version_component_range 5 ${PV})
+
+MY_P=molscript-${V1}.${V2}.${V3}pov${V4}.${V5}
+
+DESCRIPTION="Modified molscript that uses POV-Ray, does thermal ellipsoids, and more"
+HOMEPAGE="https://sites.google.com/site/timfenn/povscript"
+SRC_URI="https://sites.google.com/site/timfenn/povscript/${MY_P}.tar.gz"
+
+LICENSE="glut molscript"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/freeglut
+ media-libs/giflib
+ >=media-libs/libpng-1.4
+ sci-libs/gts
+ sys-libs/zlib
+ virtual/glu
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libpng15.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ cd "${D}"/usr/bin
+ mv molscript povscript+
+ mv molauto povauto+
+}
+
+pkg_postinst() {
+ elog "You must install media-gfx/povray to use the POV backend,"
+ elog "which is one of the main features of this over molscript."
+}
diff --git a/sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild b/sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild
new file mode 100644
index 000000000000..fb12cea4396a
--- /dev/null
+++ b/sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils versionator
+
+V1=$(get_version_component_range 1 ${PV})
+V2=$(get_version_component_range 2 ${PV})
+V3=$(get_version_component_range 3 ${PV})
+V4=$(get_version_component_range 4 ${PV})
+V5=$(get_version_component_range 5 ${PV})
+
+MY_P=molscript-${V1}.${V2}.${V3}pov${V4}.${V5}
+
+DESCRIPTION="Modified molscript that uses POV-Ray, does thermal ellipsoids, and more"
+HOMEPAGE="https://sites.google.com/site/timfenn/povscript"
+SRC_URI="https://sites.google.com/site/timfenn/povscript/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="glut molscript"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/freeglut
+ media-libs/giflib
+ >=media-libs/libpng-1.4
+ sci-libs/gts
+ sys-libs/zlib
+ virtual/glu
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.1.2.2.19-libpng15.patch
+}
+
+src_install() {
+ default
+
+ cd "${ED}"/usr/bin || die
+ mv molscript povscript+ || die
+ mv molauto povauto+ || die
+}
+
+pkg_postinst() {
+ elog "You must install media-gfx/povray to use the POV backend,"
+ elog "which is one of the main features of this over molscript."
+}