summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-12-28 12:14:11 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-12-28 12:14:11 +0000
commitc0366bdd7026d70d2432c63fc07ab72adf7a4c5d (patch)
tree60acb82eb17171047bfe601e5a10b684a97a4c3c /sci-astronomy
parentAdd back jruby support as well. (diff)
downloadhistorical-c0366bdd7026d70d2432c63fc07ab72adf7a4c5d.tar.gz
historical-c0366bdd7026d70d2432c63fc07ab72adf7a4c5d.tar.bz2
historical-c0366bdd7026d70d2432c63fc07ab72adf7a4c5d.zip
Version bump, drop old
Package-Manager: portage-2.2.0_alpha83/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/galaxy/ChangeLog8
-rw-r--r--sci-astronomy/galaxy/Manifest27
-rw-r--r--sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch65
-rw-r--r--sci-astronomy/galaxy/galaxy-2.0.ebuild (renamed from sci-astronomy/galaxy/galaxy-1.8.ebuild)18
4 files changed, 35 insertions, 83 deletions
diff --git a/sci-astronomy/galaxy/ChangeLog b/sci-astronomy/galaxy/ChangeLog
index 28b5769c3a55..b4b81cbaa733 100644
--- a/sci-astronomy/galaxy/ChangeLog
+++ b/sci-astronomy/galaxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/galaxy
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/galaxy/ChangeLog,v 1.3 2011/08/04 18:30:46 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/galaxy/ChangeLog,v 1.4 2011/12/28 12:14:11 xarthisius Exp $
+
+*galaxy-2.0 (28 Dec 2011)
+
+ 28 Dec 2011; Kacper Kowalik <xarthisius@gentoo.org> -galaxy-1.8.ebuild,
+ -files/galaxy-1.8-gentoo.patch, +galaxy-2.0.ebuild:
+ Version bump, drop old
04 Aug 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> metadata.xml:
Switched herd to sci-astronomy
diff --git a/sci-astronomy/galaxy/Manifest b/sci-astronomy/galaxy/Manifest
index d8d701816cf6..05bfa21e0c35 100644
--- a/sci-astronomy/galaxy/Manifest
+++ b/sci-astronomy/galaxy/Manifest
@@ -1,15 +1,24 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-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 659 RMD160 459c26c56b05bea2e51070f31c8c24de3af5fc64 SHA1 2958ace03a6054043f192bf553c86f84273c254d SHA256 bc868cff1a295f91adc616a2f27e554bee51e13b6fe955361e1d690efb5c4e92
-MISC ChangeLog 665 RMD160 34c2b0fd34b64db1b1e6be316a4fba246dc132a9 SHA1 78fc706f5943a2205485edf1f03253c6ea3c6b8b SHA256 eb2ce12cacd59bc05639cd90d0fdf60f88eb8548c523aee50277f5cda8a49dd5
+DIST galaxy-2.0.tar.gz 282568 RMD160 4d057517772aa618824837813ea5aa888a7a6908 SHA1 992baa1db9051fb1a7b746ff35c17176a1997cba SHA256 4542cbb3dad338df31b6af3857f80f03ebb99f261fd82fd5d0d2f6dc82e6c1e9
+EBUILD galaxy-2.0.ebuild 665 RMD160 a0fd09a9e33215d4381af9028bf15e9e55c40858 SHA1 7843506dc631b572832e8cf72da92a7cd773522a SHA256 13efb6b71259bff56b93c094729738b780042950141432491ab7b811288fa798
+MISC ChangeLog 848 RMD160 a7379e4dc554d24331eccdf6778f8999b323c225 SHA1 b01e66d1439926969a1d1e3e33bbc973d8fdf143 SHA256 dff568240524755f688bf6f4e6834cd0de7fc77552fb5cdc657111008de3fc89
MISC metadata.xml 497 RMD160 fcf64f30cabffcb83fb24f4a7d9c857a59f936b3 SHA1 aea3d3736d01ba7a9d6ab3f2096c483076eb9b76 SHA256 adb332823b5415d6a23edabad9cc75bf56214da487955beed9c2d51826cd36f4
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk465V4ACgkQ1ycZbhPLE2CF8gCeMCqQLhHzPJ7gYRz6qqwM7l4o
-hXkAnjUwilwgDlmx3MvO4DmAT3/HmTpk
-=/4Fk
+iQIcBAEBCAAGBQJO+wgcAAoJEF0huFKJUZL5zZcQAIUyN3f82PLRwDgj519wzZIt
+5w0wc2fF1j2EhQ2GIS2kqN9aO1pZ3xupCqXojXA0pCub/IDbheypJPlAY5ycOY79
+lwBoVtuEroAB70b3bGa4pGzWhFjkY+7H+CAm0KTW+HMhk6eCk9GVlHTkhyVBBsdX
+FmhoYBTI35cJXG8Kkqd+EmXSe44M0LHmWIX49rixOVs16pd1vNiMUtNttxLykaeR
+cPrziGfeyJpi1Qm3WS7EPAkd+OAKSOISPDCym5vnYy+sND1mM5cLTqtU3ARg6FeL
+HFMjNrZcPfWPdJHcbQ4HwqtwrDPgUE42nMGzthO/bnHa22Vp1d7bkIVZ1tqPo1Fq
+KeFxosglzpyfYVNejq6IeTqEjpkugqn370Z8YFz680AVk0SzOouZX0hm/FwjFgXy
+xkggtJ1hNT+L+PSTTAaHKIL0xd0VrVOe+L2/5pAmuVAHqo5TcBFshrx0eNYxHeYr
+xSpS7pRoX3nH8ybF86//b2ogquL4LPYCHcnL9MdYEPcagmpMkLx+cFPB2EgvfvyX
+WSJKxC602IQmHWgqkZNJ7Is5UnXQGlGqSbccjsr0gLHS9H5akA+PBVCGeXSICCKO
+qFobxUWpb/dyjwpXaL+4nYrmCO9WCMy7WlG6nShZgC2G4AmQCziqchf6Uys/oDJA
+Pg9/fgGo7aaDaowhJqxb
+=fb+I
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch b/sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch
deleted file mode 100644
index fae98f14669d..000000000000
--- a/sci-astronomy/galaxy/files/galaxy-1.8-gentoo.patch
+++ /dev/null
@@ -1,65 +0,0 @@
---- 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-2.0.ebuild
index 5760ea23b62b..4f5057028064 100644
--- a/sci-astronomy/galaxy/galaxy-1.8.ebuild
+++ b/sci-astronomy/galaxy/galaxy-2.0.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 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.2 2011/03/02 21:35:23 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/galaxy/galaxy-2.0.ebuild,v 1.1 2011/12/28 12:14:11 xarthisius Exp $
-EAPI="1"
+EAPI=4
-inherit base toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="stellar simulation program"
HOMEPAGE="http://kornelix.squarespace.com/galaxy/"
@@ -15,13 +15,15 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="x11-libs/gtk+:2"
-RDEPEND="${DEPEND}
+DEPEND="x11-libs/gtk+:2
x11-misc/xdg-utils"
-
-PATCHES=( "${FILESDIR}/${P}-gentoo.patch" )
-DOCS=( "doc/CHANGES" "doc/README" )
+RDEPEND="${DEPEND}"
pkg_setup() {
tc-export CXX
}
+
+src_prepare() {
+ sed -e '/DOCDIR/ s/PROGRAM)/&-\$(VERSION)/g' \
+ -i Makefile || die
+}