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/gabedit
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/gabedit')
-rw-r--r--sci-chemistry/gabedit/Manifest3
-rw-r--r--sci-chemistry/gabedit/files/CONFIG.Gentoo14
-rw-r--r--sci-chemistry/gabedit/files/gabedit-2.4.2-gold.patch16
-rw-r--r--sci-chemistry/gabedit/gabedit-2.4.6.ebuild68
-rw-r--r--sci-chemistry/gabedit/gabedit-2.4.7.ebuild68
-rw-r--r--sci-chemistry/gabedit/gabedit-2.4.8.ebuild68
-rw-r--r--sci-chemistry/gabedit/metadata.xml12
7 files changed, 249 insertions, 0 deletions
diff --git a/sci-chemistry/gabedit/Manifest b/sci-chemistry/gabedit/Manifest
new file mode 100644
index 000000000000..545d0a84c3ae
--- /dev/null
+++ b/sci-chemistry/gabedit/Manifest
@@ -0,0 +1,3 @@
+DIST GabeditSrc246.tar.gz 1964406 SHA256 3881df1f2d4788d4b3660e7d8af0f7318223dd50194fd9ed0072dd58a6beaa12 SHA512 fbd92ff532ce21e97dcc2d012927fb0d19f4634956e88122a8e9a41e9484592ede455c3a88670cbd1c6387a4d0916425f897d2ade1957ebf4b25b89c7365a076 WHIRLPOOL 12be8d5299e6adcb63e4c989542f2fae02136a18bf515ded7ce8f7b3ab4e69f9fb085778be0bd5589b9ae42b7fd80c5ea7fa451a24377e5feedeb09ddff7a6b7
+DIST GabeditSrc247.tar.gz 1990187 SHA256 e9f84aae6751146f72e5cd8d3f33ec68f057f720edc68e3a89d53c5a2c3c9020 SHA512 a562dd650f9dc90a3c28a6d6b45212dc1d945548c9021f84e25a96022e67f95309030ded30bc20c052526783d0613f328830c640955822237828fcbac6d91b95 WHIRLPOOL f6a69e8e6a60fb48ef23849538a8718f507abc4e09de97abe10016ecf7b4ae101c09135f2762d7db7d764c4a66f9a268bd194ece9f05d6162b94a70b36ccec7a
+DIST GabeditSrc248.tar.gz 1992373 SHA256 38d6437a18280387b46fd136f2201a73b33e45abde13fa802c64806b6b64e4d3 SHA512 d06b54693c4887e3cecb6bb20b98307db8aeb7f32ff87b85af536a4034f2d6af04f30809c04e29ed6fb4744e6290dcd276c9f85b2940daa71a595f6bd5f154da WHIRLPOOL c47cf238b7080dbeddb3992162e6bb31f17a33623299a0bc4608aa86d2d4ff71f18159f3ca952d71251b039ace9bca0d3736a56af3e1dc8305200395c2a422e3
diff --git a/sci-chemistry/gabedit/files/CONFIG.Gentoo b/sci-chemistry/gabedit/files/CONFIG.Gentoo
new file mode 100644
index 000000000000..9cf387c752eb
--- /dev/null
+++ b/sci-chemistry/gabedit/files/CONFIG.Gentoo
@@ -0,0 +1,14 @@
+GTKLIB = `pkg-config --libs gtk+-2.0 gtkglext-1.0`
+GTKCFLAGS = `pkg-config --cflags gtk+-2.0 gtkglext-1.0`
+OGLLIB = `pkg-config --libs glu`
+OGLCFLAGS = `pkg-config --cflags glu`
+X11LIB = `pkg-config --libs x11`
+LIBPTHREAD = -lpthread
+RM = rm -f
+MAKE = make
+MKDIR = mkdir -p
+WIN32LIB =
+
+#DRAWGEOMGL=
+DRAWGEOMGL=-DDRAWGEOMGL
+
diff --git a/sci-chemistry/gabedit/files/gabedit-2.4.2-gold.patch b/sci-chemistry/gabedit/files/gabedit-2.4.2-gold.patch
new file mode 100644
index 000000000000..68823d0d7663
--- /dev/null
+++ b/sci-chemistry/gabedit/files/gabedit-2.4.2-gold.patch
@@ -0,0 +1,16 @@
+ Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index ae08e60..eee2b46 100644
+--- a/Makefile
++++ b/Makefile
+@@ -62,7 +62,7 @@ all: gabedit
+ gabedit: $(SUBDIRS)
+ $(MKDIR) tmp
+ cp $(OBJECTS) tmp
+- $(CC) $(LDFLAGS) tmp/*.o -o gabedit $(GLTOPS) $(X11LIB) $(GTKLIB) $(OGLLIB) $(JPEGLIB) $(LIBPTHREAD) $(WIN32LIB) $(OMPLIB) -g
++ $(CC) $(LDFLAGS) tmp/*.o -o gabedit $(GLTOPS) $(X11LIB) $(GTKLIB) $(OGLLIB) $(JPEGLIB) $(LIBPTHREAD) $(WIN32LIB) $(OMPLIB) -g -lm
+ @$(RMTMP) > ptmp
+ rmdir tmp
+ @$(RM) ptmp
diff --git a/sci-chemistry/gabedit/gabedit-2.4.6.ebuild b/sci-chemistry/gabedit/gabedit-2.4.6.ebuild
new file mode 100644
index 000000000000..2b6d8659c53c
--- /dev/null
+++ b/sci-chemistry/gabedit/gabedit-2.4.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs versionator
+
+MY_PN=${PN/g/G}
+MY_PV=$(delete_all_version_separators)
+MY_P="${MY_PN}Src${MY_PV}"
+
+DESCRIPTION="GUI for computational chemistry packages"
+HOMEPAGE="http://gabedit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="openmp"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+ x11-libs/gl2ps
+ x11-libs/pango
+ virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i "/rmdir tmp/d" "${S}"/Makefile || die
+ sed \
+ -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \
+ -i "${S}/Config.h" || die
+ sed -e 's:-g::g' -i Makefile || die
+ cp "${FILESDIR}"/CONFIG.Gentoo "${S}"/CONFIG
+
+ if use openmp && tc-has-openmp; then
+ cat <<- EOF >> "${S}/CONFIG"
+ OMPLIB=-fopenmp
+ OMPCFLAGS=-DENABLE_OMP -fopenmp
+ EOF
+ fi
+ echo "COMMONCFLAGS = ${CFLAGS} -DENABLE_DEPRECATED \$(OMPCFLAGS) \$(DRAWGEOMGL)" >> CONFIG
+
+ tc-export CC
+}
+
+src_compile() {
+ emake clean
+ emake external_gl2ps=1
+}
+
+src_install() {
+ local size
+ dobin ${PN}
+ dodoc ChangeLog
+ for size in 16 24 32 48; do
+ doicon -s ${size} icons/Gabedit${size}.*
+ done
+}
diff --git a/sci-chemistry/gabedit/gabedit-2.4.7.ebuild b/sci-chemistry/gabedit/gabedit-2.4.7.ebuild
new file mode 100644
index 000000000000..bdfd10250b7d
--- /dev/null
+++ b/sci-chemistry/gabedit/gabedit-2.4.7.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs versionator
+
+MY_PN=${PN/g/G}
+MY_PV=$(delete_all_version_separators)
+MY_P="${MY_PN}Src${MY_PV}"
+
+DESCRIPTION="GUI for computational chemistry packages"
+HOMEPAGE="http://gabedit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="openmp"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+ x11-libs/gl2ps
+ x11-libs/pango
+ virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i "/rmdir tmp/d" "${S}"/Makefile || die
+ sed \
+ -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \
+ -i "${S}/Config.h" || die
+ sed -e 's:-g::g' -i Makefile || die
+ cp "${FILESDIR}"/CONFIG.Gentoo "${S}"/CONFIG
+
+ if use openmp && tc-has-openmp; then
+ cat <<- EOF >> "${S}/CONFIG"
+ OMPLIB=-fopenmp
+ OMPCFLAGS=-DENABLE_OMP -fopenmp
+ EOF
+ fi
+ echo "COMMONCFLAGS = ${CFLAGS} -DENABLE_DEPRECATED \$(OMPCFLAGS) \$(DRAWGEOMGL)" >> CONFIG
+
+ tc-export CC
+}
+
+src_compile() {
+ emake clean
+ emake external_gl2ps=1
+}
+
+src_install() {
+ local size
+ dobin ${PN}
+ dodoc ChangeLog
+ for size in 16 24 32 48; do
+ doicon -s ${size} icons/Gabedit${size}.*
+ done
+}
diff --git a/sci-chemistry/gabedit/gabedit-2.4.8.ebuild b/sci-chemistry/gabedit/gabedit-2.4.8.ebuild
new file mode 100644
index 000000000000..9d3e7d191505
--- /dev/null
+++ b/sci-chemistry/gabedit/gabedit-2.4.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs versionator
+
+MY_PN=${PN/g/G}
+MY_PV=$(delete_all_version_separators)
+MY_P="${MY_PN}Src${MY_PV}"
+
+DESCRIPTION="GUI for computational chemistry packages"
+HOMEPAGE="http://gabedit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="openmp"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+ x11-libs/gl2ps
+ x11-libs/pango
+ virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i "/rmdir tmp/d" "${S}"/Makefile || die
+ sed \
+ -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \
+ -i "${S}/Config.h" || die
+ sed -e 's:-g::g' -i Makefile || die
+ cp "${FILESDIR}"/CONFIG.Gentoo "${S}"/CONFIG
+
+ if use openmp && tc-has-openmp; then
+ cat <<- EOF >> "${S}/CONFIG"
+ OMPLIB=-fopenmp
+ OMPCFLAGS=-DENABLE_OMP -fopenmp
+ EOF
+ fi
+ echo "COMMONCFLAGS = ${CFLAGS} -DENABLE_DEPRECATED \$(OMPCFLAGS) \$(DRAWGEOMGL)" >> CONFIG
+
+ tc-export CC
+}
+
+src_compile() {
+ emake clean
+ emake external_gl2ps=1
+}
+
+src_install() {
+ local size
+ dobin ${PN}
+ dodoc ChangeLog
+ for size in 16 24 32 48; do
+ doicon -s ${size} icons/Gabedit${size}.*
+ done
+}
diff --git a/sci-chemistry/gabedit/metadata.xml b/sci-chemistry/gabedit/metadata.xml
new file mode 100644
index 000000000000..574871e7938f
--- /dev/null
+++ b/sci-chemistry/gabedit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ <description>Tree Proxy for Max</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gabedit</remote-id>
+ </upstream>
+</pkgmetadata>