diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-28 06:42:43 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-28 06:42:43 +0000 |
commit | 03b312ea8bf9e252992a888853a2752fcd822247 (patch) | |
tree | 129d1744d8b424c9b7f78e974cba4e706512409b /sci-astronomy | |
parent | amd64 stable, bug #299844 (diff) | |
download | historical-03b312ea8bf9e252992a888853a2752fcd822247.tar.gz historical-03b312ea8bf9e252992a888853a2752fcd822247.tar.bz2 historical-03b312ea8bf9e252992a888853a2752fcd822247.zip |
New ebuild for galaxy. Ebuild written by Juan Pablo Lassala. Fixes bug 321719
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/galaxy/ChangeLog | 11 | ||||
-rw-r--r-- | sci-astronomy/galaxy/Manifest | 5 | ||||
-rw-r--r-- | sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch | 65 | ||||
-rw-r--r-- | sci-astronomy/galaxy/galaxy-1.8.ebuild | 25 | ||||
-rw-r--r-- | sci-astronomy/galaxy/metadata.xml | 14 |
5 files changed, 120 insertions, 0 deletions
diff --git a/sci-astronomy/galaxy/ChangeLog b/sci-astronomy/galaxy/ChangeLog new file mode 100644 index 000000000000..d5a1c90175fb --- /dev/null +++ b/sci-astronomy/galaxy/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-astronomy/galaxy +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/galaxy/ChangeLog,v 1.1 2010/05/28 06:42:42 xarthisius Exp $ + +*galaxy-1.8 (28 May 2010) + + 28 May 2010; Kacper Kowalik <xarthisius@gentoo.org> +galaxy-1.8.ebuild, + +files/galaxy-1.8-gentoo.patch, +metadata.xml: + New ebuild for galaxy. Ebuild written by Juan Pablo Lassala. Fixes bug + 321719 + diff --git a/sci-astronomy/galaxy/Manifest b/sci-astronomy/galaxy/Manifest new file mode 100644 index 000000000000..a600e234b947 --- /dev/null +++ b/sci-astronomy/galaxy/Manifest @@ -0,0 +1,5 @@ +AUX galaxy-1.8-gentoo.patch 2088 RMD160 64e5fbcece425f119cd6e78ff168c209b6ad3bc7 SHA1 efc2ff75c48ed9d2f7968035e44b3c3aa39304b8 SHA256 2132300e7d189718479f7f1fdca08a4d68b10a659ed22ff4eec91c2d6f81cea9 +DIST galaxy-1.8.tar.gz 128782 RMD160 ac6a0747fe514081d96163716916ff9734d50700 SHA1 943466a0c4ee78b293b42011eb26a873daeeab27 SHA256 aef2646381bf63f513d0bb1d1ebbaff07417781e80b909676c154e5a58b20144 +EBUILD galaxy-1.8.ebuild 653 RMD160 c419a1449b394b937612e0484d810b2c1b45565c SHA1 4cad25824add753e266b0f2e1eb9851bdb26d67f SHA256 0616a7b62b9e9f84fb202edd2fcd8971df6a72918b06d3a27c43e189ed30a5d5 +MISC ChangeLog 450 RMD160 f23b3554d63b0fd77bd13e62b1d402381a43da64 SHA1 a4fa3298710eb3eb5b3a9a226d079efc985bfaba SHA256 aa3254cabcc8a266661043ea1ae6b22f294524ee420796b88bf0e0d8d1cee11a +MISC metadata.xml 487 RMD160 c474b47bab590fc46cdb8fa8e53f57a00e58a847 SHA1 43d9eabfd3697f4eefdbe3b1ec377ff03e65efaa SHA256 c58a11384f7f111080ce483a7a224da99b45c9e2ac9439fb5f108ceaaea951f3 diff --git a/sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch b/sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch new file mode 100644 index 000000000000..fae98f14669d --- /dev/null +++ b/sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch @@ -0,0 +1,65 @@ +--- desktop ++++ desktop +@@ -3,7 +3,7 @@ + Categories=Game + Type=Application + Terminal=false +-Exec=/usr/local/bin/galaxy +-Icon=/usr/local/share/galaxy/icons/galaxy.png ++Exec=/usr/bin/galaxy ++Icon=/usr/share/galaxy/icons/galaxy.png + GenericName=Stellar Simulation + Comment=Stars steered by gravity, galaxy evolution +--- Makefile ++++ Makefile +@@ -8,38 +8,39 @@ + # replace -O3 with -g for GDB debugging + CXXFLAGS ?= -O3 -Wall + LDFLAGS ?= -O3 -Wall -rdynamic +-PREFIX ?= /usr/local ++PREFIX = /usr + +-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0` +-LFLAGS = $(LDFLAGS) `pkg-config --libs gtk+-2.0 gthread-2.0` ++GTK_CFLAGS = `pkg-config --cflags gtk+-2.0` ++GTK_LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0` + + BINDIR = $(PREFIX)/bin + DATADIR = $(PREFIX)/share/$(PROGRAM) + ICONDIR = $(DATADIR)/icons +-DESKTOP = $(DATADIR)/kornelix-$(PROGRAM).desktop +-DOCDIR = $(PREFIX)/share/doc/$(PROGRAM) ++DESKDIR = $(PREFIX)/share/applications ++DESKTOP = $(DESKDIR)/$(PROGRAM).desktop ++DOCDIR = $(PREFIX)/share/doc/$(PROGRAM)-$(VERSION) + + $(PROGRAM): $(PROGRAM).o zfuncs.o +- $(CXX) $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o $(GTK_LIBS) + + $(PROGRAM).o: $(SOURCE) +- $(CXX) $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \ ++ $(CXX) $(CXXFLAGS) $(GTK_CFLAGS) -o $(PROGRAM).o -c $(SOURCE) \ + -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" + + zfuncs.o: zfuncs.cc +- $(CXX) $(CFLAGS) zfuncs.cc \ ++ $(CXX) $(CXXFLAGS) $(GTK_CFLAGS) -c zfuncs.cc \ + -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\"" + + install: $(PROGRAM) + mkdir -p $(DESTDIR)$(DOCDIR) + mkdir -p $(DESTDIR)$(BINDIR) +- mkdir -p $(DESTDIR)$(DATADIR) + mkdir -p $(DESTDIR)$(ICONDIR) +- cp -R doc/* $(DESTDIR)$(DOCDIR) ++ mkdir -p $(DESTDIR)$(DESKDIR) ++ cp -R doc/{images,userguide-en.html} $(DESTDIR)$(DOCDIR) + cp -R data/* $(DESTDIR)$(DATADIR) + cp icons/* $(DESTDIR)$(ICONDIR) ++ cp -f desktop $(DESTDIR)$(DESKTOP) + cp $(PROGRAM) $(DESTDIR)$(BINDIR) +- @ echo use make menu to install desktop menu + + menu: + cp -f desktop $(DESKTOP) diff --git a/sci-astronomy/galaxy/galaxy-1.8.ebuild b/sci-astronomy/galaxy/galaxy-1.8.ebuild new file mode 100644 index 000000000000..a460c09c59b9 --- /dev/null +++ b/sci-astronomy/galaxy/galaxy-1.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/galaxy/galaxy-1.8.ebuild,v 1.1 2010/05/28 06:42:42 xarthisius Exp $ + +inherit base toolchain-funcs + +DESCRIPTION="stellar simulation program" +HOMEPAGE="http://kornelix.squarespace.com/galaxy/" +SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/gtk+" +RDEPEND="${DEPEND} + x11-misc/xdg-utils" + +PATCHES=( "${FILESDIR}/${P}-gentoo.patch" ) +DOCS=( "doc/CHANGES" "doc/README" ) + +pkg_setup() { + tc-export CXX +} diff --git a/sci-astronomy/galaxy/metadata.xml b/sci-astronomy/galaxy/metadata.xml new file mode 100644 index 000000000000..c7f11b5929d7 --- /dev/null +++ b/sci-astronomy/galaxy/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <maintainer> + <email>xarthisius@gentoo.org</email> + <name>Kacper Kowalik</name> + </maintainer> + <longdescription lang="en"> + Stellar simulation program. Watch a few stars move around each-other, + accelerated by their mutual attractions, or watch thousands of random + stars evolve into a spiral galaxy. + </longdescription> +</pkgmetadata> |