diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-04-21 18:00:58 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-04-21 18:00:58 +0000 |
commit | d76014a9af4e3d07f07281c80c125c5417c16323 (patch) | |
tree | e05a842aa3b4bb5066daedb955d0242f9af221d8 /sci-astronomy | |
parent | Bump to 0.0.8 (diff) | |
download | gentoo-2-d76014a9af4e3d07f07281c80c125c5417c16323.tar.gz gentoo-2-d76014a9af4e3d07f07281c80c125c5417c16323.tar.bz2 gentoo-2-d76014a9af4e3d07f07281c80c125c5417c16323.zip |
initial import wrt #346699
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/skychart/ChangeLog | 10 | ||||
-rw-r--r-- | sci-astronomy/skychart/Manifest | 17 | ||||
-rw-r--r-- | sci-astronomy/skychart/files/skychart-3.8.2450-QA.patch | 107 | ||||
-rw-r--r-- | sci-astronomy/skychart/metadata.xml | 9 | ||||
-rw-r--r-- | sci-astronomy/skychart/skychart-3.8.2450.ebuild | 117 |
5 files changed, 260 insertions, 0 deletions
diff --git a/sci-astronomy/skychart/ChangeLog b/sci-astronomy/skychart/ChangeLog new file mode 100644 index 000000000000..19af0e448a9b --- /dev/null +++ b/sci-astronomy/skychart/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-astronomy/skychart +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/skychart/ChangeLog,v 1.1 2013/04/21 18:00:57 hasufell Exp $ + +*skychart-3.8.2450 (21 Apr 2013) + + 21 Apr 2013; Julian Ospald <hasufell@gentoo.org> +skychart-3.8.2450.ebuild, + +files/skychart-3.8.2450-QA.patch, +metadata.xml: + initial import wrt #346699 + diff --git a/sci-astronomy/skychart/Manifest b/sci-astronomy/skychart/Manifest new file mode 100644 index 000000000000..253fa7f8a07d --- /dev/null +++ b/sci-astronomy/skychart/Manifest @@ -0,0 +1,17 @@ +AUX skychart-3.8.2450-QA.patch 3391 SHA256 a3c703dc41fb8124850c88cb07a0af8ebdf6224749ca4ccc7634f68ca7f407dd SHA512 57105f1375f80cea556947fc5b1d31ea1869221b601e36b4c47e0f8f12c0ec9ac19fa44bae3ae21659123344e4a86ecf9bfd2cd27cd951720a31981cb88eef2d WHIRLPOOL be16c2c7675db18e134a796254f252bd2cf96233627891be0da1820255015dd479d651e1de3f84127e86fcf180623ab57bb093f1b38e1112147dc0a7d5d322ec +DIST catalog_gcm.tgz 4088 SHA256 6a71a6d424b4718eaa700009e5ea904117b93807a0d50d0e495ca11373948af7 SHA512 957e87b81a23b64b5e40a6f3a55908637e86b01bba0fc36c9dd293966a9870faf7de22d548b324bf9a6c15641cd09d10f76a7200b52eab48fa4c7836115518ce WHIRLPOOL 51c66ce8c027892cdc317fd74ec99178086ae430aca657fe38bda4403866c11b39cbf2fff90bba44494e34944178c015b1c337d7d376b5290ed2486286175ff5 +DIST catalog_gcvs.tgz 1152229 SHA256 3d7319422a051e6bc1a87b524191a0f36f8ae344a2a3e01e35db3345733b7dd2 SHA512 3ef3b2ee296e967c0465731b80784a06c955820d64055fd3bd499afb8b0baf01f3a7e5eb0a2c33ec8c9c7fdb81bf4d260166f92c9c4478a781cc9c5376523915 WHIRLPOOL 4fbe29a0e3cd3cb46fe82191627c990935ac22b0d3abf0f8614ce6033828ff97c0fc427dd6a458c473371d67ec55212a23ed99822542cd4fdccc299bec6b89c4 +DIST catalog_gpn.tgz 32123 SHA256 e9f7ec688ba2213d381361d3459694933db21801e54463bc0cdb42a5d51ca0d9 SHA512 71a38e07d01f250e8fc208220e858704eaa065b8638b99ba3932e23d2e17763b0a8c06cd930b466de5909497a56d9e0dbabae59d5ac2a177c60fcb4a8efcfa03 WHIRLPOOL e86cc4470132b5dc405ec27a82d01f878b39dc6ca47f496fb024f0bd865cdbb6dd878f6375bf377296f063deb14a7280191c11610b7bf0f009ac2215c0a85a57 +DIST catalog_idx.tgz 19005851 SHA256 fcf3475da1469e060d6126f14adad230d77c8829730477569f50ce0ddc7b96cc SHA512 3b144993de14b73edaffd43a35b8404adb166c5b4edc223dd78e8db361ca9a61da2e9c3d29a0af97960c1cdcb94b307ce0824f1fda3b74b518f611666d1e362e WHIRLPOOL d9f24c9ca85ba4e0412518391928b17ab3c69221de62a4a619d53b2c101d2c0b1c14126ce1837d5783eab44c96d4d4e58a94ad0244d4f109346d0571b50d8add +DIST catalog_lbn.tgz 21272 SHA256 4f3c944dd18a814a48720d064362eb4065153acef3a90c3750e365b89cec7e75 SHA512 bddc2cf48c2e575440ed114bb447187e2f30c87312a552ff63d40e88a08e05c31da1d45cb96a5bb0216093a07e4d16336a0a664a66d6e586221217ae45d803da WHIRLPOOL f39f2759d1b47f3dd6ffd3949504ff17ad962d1d3abecefa92b72dd0332369cec7e5068cb287fd22e87e26a015cfa8dfe4522a899433681dc45e64297b43cf5b +DIST catalog_ngc.tgz 264663 SHA256 ec6fb47415b1a43ea3b75f0dbf837efeb2fc105ea1415dc39f91b1b670bb35ca SHA512 444a3bb6ed9ed7c510ab4e593601d0b9a4b1a35b70fb43738db16e536f92f8b9a64bb238f29f685665f60b857f74c0745c4777c2f7b0be9bca0e9746e7275610 WHIRLPOOL affe66f02252af0c39c37cf7268bbc0eb83437d2b233870d5bffe70d1db7d4c75353e6eaf14bc98a647062ecc3e3975e8e72d6539759c9f50e286e72b391b8e5 +DIST catalog_ocl.tgz 24031 SHA256 1123be350a193a7b3209625ef1cb56868884af4f594e89150819743ddc9610f7 SHA512 7d94a7b9981fef9f02609f10195f181c27ca7b8d6af0b12749b13e0e86cf09e4a2ff3d915e5618940e9d8b2ab4a4198b59cd05302322a5862f53535449f343e7 WHIRLPOOL ca43db7dc73d983cb4fdcf27230d5a752c6cd3e354c1c94883d1079b2857a098d2d6361bf1b9fabc10050cc97d1fcd689febbc33fdd79ab784dbfc44b5a58a66 +DIST catalog_pgc.tgz 77747054 SHA256 9336f8f45fc2a5b038d7b6f7427e1d6ed745abce08983904027180be078bb96b SHA512 10afdf72e6503c82b4b2376a5fdf7993b3074fc731d006d8515cfe84b1a2eb69f12dc9b5f6b43e0b92654fb4a62c3d80d820f3d2e545df97c54fd250b7005b95 WHIRLPOOL 7c93a581b71262e0e024fffa9ebb04c7a7c200410d42839d1d7a5f5be68cfa27a56e81e4d34c3ac7fc046d09d543a9614f033ce34e187e653c02fe707485b401 +DIST catalog_tycho2.tgz 43237839 SHA256 1591660c87eeec7ea3f34c24727c9a2958aa1493cb877d4c89c6101f60c0550e SHA512 722b542f09752353eab621fdd6559a9e28a9558500f550e63ed10111c29b578a49356bd6d548c4b9b4355e3b3bd5d46f311de71946689fcb949e85c3948d7b67 WHIRLPOOL 72fb06d745fed884be00bc4f0873611fb416424e474efd7424131133400442731a7ff3abba9c29e9b5d3d1463b6ff3a05b62767ef3a23b8ab42f1811f83d1582 +DIST catalog_wds.tgz 3659028 SHA256 b8d57f5ca4dd778c8396ea31919c2978f28aa3e42826139e50058747b4735531 SHA512 3021f2e528ede7dc43744710b9b6c1188120cd2d5e8731641dcc2aed68f83ee4b8f0c8ece743befd3e35a2e771e3931ceead1da34dadae4dc3948f59a6e96f7f WHIRLPOOL 6ffcebffdb1042965ef5f86b89ce17d3ec03229ca803243c14ebfaa664e94c9e466243afd5601bbb225adb298a7ee1b87aeafe65b684c38416fb4a8b2ba1fd71 +DIST data_jpleph.tgz 4576073 SHA256 cf375015f32cff79243699df023d9838e2599c59f477322dedf0c4da25831eb1 SHA512 06cd3c740c29cdb62b874de4afbbcb481ef757016dc828244f601382500400eac0af7b2f14086de327e12ec03b284b42c6bc5a2d98d8e678cd6b81f624bcb4bd WHIRLPOOL cb7d4363171d742812bc16ed3433d85bc3a235b78f00882a977882817089996255be2d8c69392c6cfa209eca96c3cef672b50ad576d1e05aa7450d8666db0aa2 +DIST pictures_sac.tgz 38540724 SHA256 0257083278cad3e7fd28651f329af136149a65e3c655dcd0923ec691c470de44 SHA512 c477f8458505675be94a890caae0799223f667fb9cef9d27e7b03761659cb2951006c9514884e39d6af307886264c03fd0aac11951c38a72ef7dac2ed3388af6 WHIRLPOOL 707826c8c8ed8fef55441946b326543f1ff581b17bfaefce418a60fa4ad0a9ee5f3c600fccb1f1ca179c436d544821d156831baf5839173a9de3b4fe38c588df +DIST skychart-3.8-2450-src.tar.bz2 57002014 SHA256 61efa6f65cf81ea5ebdc35cb84e2be4b559202b0f3ff8b6a266eb0f2022527e5 SHA512 7d3275b8af6a3bcf4bec53dec5faa33fe4866eac8b55c63c68a8883764840ad373d23a2f86b68ec12d0c7e540d7e07dce0072fa713b6519b3fe3ed9dfb431461 WHIRLPOOL bdaa978e62781d3a4170559d07ff663c9f9c3f4eebe83d57bc5df98f3e554a0dd1b071f58ad21a3d64c188ea0808ac28b79a13f21a0bf27766fb3ac2c8467aa0 +EBUILD skychart-3.8.2450.ebuild 2422 SHA256 ff9390fac907b7011d4bb29cae0d13521a13abdd330b45bdaeeb28067c7ca413 SHA512 cf68bc74e07876bc9dd70a2550583100f2cf8e4d2ad24242f066f10fe3822345f2c22f5211ee045d135f01084a2656fbeaf962d4777a658acc95934fa5345ed0 WHIRLPOOL 60529f2d59b8b31611a999e685d868bf4341b1d33b8fafb889a3ab21bd0dbfc3529b410fdcd3343e027643e633e6ee1e3e4ccaf04720b40531f67815aaee45a7 +MISC ChangeLog 317 SHA256 acd79e25ac376b34d3a125910687d92f7e50ab3deba27a40d5fecf87173c5c76 SHA512 1d3de0cb60f230d1594753c4b6341ef612eb318130d358b77b3d3252e58624b4f3d4cac52d58493796a1093aa228f7da3950659cbe6099cb832cb47615fccf0f WHIRLPOOL 84b9c1bf5dc3de67474de2da33df2c104d924ced318223cc38688f56c9322541ac0ccea569e26dc42e3757fd3cac64dc9ba24b90c5e691f324e0b08981c98ac7 +MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858 diff --git a/sci-astronomy/skychart/files/skychart-3.8.2450-QA.patch b/sci-astronomy/skychart/files/skychart-3.8.2450-QA.patch new file mode 100644 index 000000000000..10d116a7f007 --- /dev/null +++ b/sci-astronomy/skychart/files/skychart-3.8.2450-QA.patch @@ -0,0 +1,107 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Apr 21 16:14:18 UTC 2013 +Subject: build system + +respect CFLAGS, LDFLAGS and don't do other silly stuff + +--- skychart-3.8-2450-src/skychart/library/getdss/Makefile ++++ skychart-3.8-2450-src/skychart/library/getdss/Makefile +@@ -1,21 +1,21 @@ + CPPFLAGS=-I. -DUNIX -D_CONSOLE -fPIC $(arch_flags) + #### For Suns and similar wrong-endian computers, add -DWRONG_WAY_BYTE_ORDER. +-CC = gcc ++CC ?= gcc + OSTYPE = $(shell uname) + ifneq ($(findstring Darwin,$(OSTYPE)),) + SO_Name = libgetdss.dylib +-LDFLAGS= -Wl,-single_module -dynamiclib -lc -lm -lstdc++ ++LDFLAGS += -Wl,-single_module -dynamiclib -lc -lm -lstdc++ + else + SO_Name = libgetdss.so +-LDFLAGS= -shared -Wl,-soname,$(SO_Name) $(arch_flags) ++LDFLAGS += -shared -Wl,-soname,$(SO_Name) $(arch_flags) + endif + ifneq ($(findstring W32,$(OSTYPE)),) + SO_Name = libgetdss.dll +-LDFLAGS= -shared -Wl,-soname,$(SO_Name) ++LDFLAGS += -shared -Wl,-soname,$(SO_Name) + endif + ifneq ($(findstring MINGW,$(OSTYPE)),) + SO_Name = libgetdss.dll +-LDFLAGS= -shared -Wl,-soname,$(SO_Name) ++LDFLAGS += -shared -Wl,-soname,$(SO_Name) + endif + OBJS = getdss_lib.o dss.o extr_fit.o getpiece.o \ + hdcmprss.o bitinput.o decode.o dodecode.o hinv.o \ +@@ -25,7 +25,7 @@ + all: $(SO_Name) + + $(SO_Name): $(OBJS) +- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + clean: + rm -f $(OBJS) $(SO_Name) +--- skychart-3.8-2450-src/skychart/library/plan404/Makefile ++++ skychart-3.8-2450-src/skychart/library/plan404/Makefile +@@ -1,7 +1,7 @@ + # Common flags +-CC = gcc ++CC ?= gcc + #CFLAGS = -O3 -ffast-math (fast-math removed for better compatibility ) +-CFLAGS = -O3 -fPIC $(arch_flags) ++CFLAGS += -fPIC $(arch_flags) + OSTYPE = $(shell uname) + ifneq ($(findstring Darwin,$(OSTYPE)),) + SO_Name = libplan404.dylib +@@ -35,7 +35,7 @@ + $(CC) $(CFLAGS) -c $< -o $@ + + $(SO_Name): $(OBJ) +- $(CC) $(CFLAGS) $(LIBFLAGS) -o $@ $(OBJ) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBFLAGS) -o $@ $(OBJ) + + clean: + rm -f $(OBJ) $(SO_Name) +--- skychart-3.8-2450-src/skychart/library/wcs/Makefile ++++ skychart-3.8-2450-src/skychart/library/wcs/Makefile +@@ -1,5 +1,5 @@ +-CFLAGS= -g -w -fPIC $(arch_flags) +-CC= gcc ++CFLAGS += -w -fPIC $(arch_flags) ++CC ?= gcc + + OSTYPE = $(shell uname) + ifneq ($(findstring Darwin,$(OSTYPE)),) +@@ -29,7 +29,7 @@ + all: $(SO_Name) + + $(SO_Name): $(OBJS) +- $(CC) $(CFLAGS) $(LIBFLAGS) -o $@ $(OBJS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBFLAGS) -o $@ $(OBJS) + + cdcwcs.o: fitsfile.h wcs.h + actread.o: fitsfile.h wcscat.h wcs.h fitshead.h wcslib.h +--- skychart-3.8-2450-src/skychart/library/Makefile.in ++++ skychart-3.8-2450-src/skychart/library/Makefile.in +@@ -23,14 +23,14 @@ + $(MAKE) -C wcs -f Makefile.win64 all + else + ifeq ($(CPU_TARGET),i386) +- $(MAKE) -C getdss all arch_flags=-m32 +- $(MAKE) -C plan404 all arch_flags=-m32 +- $(MAKE) -C wcs all arch_flags=-m32 ++ $(MAKE) -C getdss all ++ $(MAKE) -C plan404 all ++ $(MAKE) -C wcs all + else + ifeq ($(CPU_TARGET),x86_64) +- $(MAKE) -C getdss all arch_flags=-m64 +- $(MAKE) -C plan404 all arch_flags=-m64 +- $(MAKE) -C wcs all arch_flags=-m64 ++ $(MAKE) -C getdss all ++ $(MAKE) -C plan404 all ++ $(MAKE) -C wcs all + else + $(MAKE) -C getdss all + $(MAKE) -C plan404 all diff --git a/sci-astronomy/skychart/metadata.xml b/sci-astronomy/skychart/metadata.xml new file mode 100644 index 000000000000..bfabcd0164b9 --- /dev/null +++ b/sci-astronomy/skychart/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + diff --git a/sci-astronomy/skychart/skychart-3.8.2450.ebuild b/sci-astronomy/skychart/skychart-3.8.2450.ebuild new file mode 100644 index 000000000000..a269d6b984ce --- /dev/null +++ b/sci-astronomy/skychart/skychart-3.8.2450.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/skychart/skychart-3.8.2450.ebuild,v 1.1 2013/04/21 18:00:57 hasufell Exp $ + +EAPI=5 + +inherit toolchain-funcs gnome2-utils eutils + +DESCRIPTION="Planetarium for amauter astronomers" +HOMEPAGE="http://www.ap-i.net/skychart/" + +MY_PV=${PV:0:3}-${PV:4:4} +DATA_PKG="data_jpleph.tgz + catalog_gcvs.tgz + catalog_idx.tgz + catalog_tycho2.tgz + catalog_wds.tgz + catalog_gcm.tgz + catalog_gpn.tgz + catalog_lbn.tgz + catalog_ngc.tgz + catalog_ocl.tgz + catalog_pgc.tgz + pictures_sac.tgz" +SRC_URI="${DATA_SRC_URI} + mirror://sourceforge/skychart/1-%20cdc-skychart/version_${PV:0:3}/skychart-${MY_PV}-src.tar.bz2" +for i in ${DATA_PKG} ; do + SRC_URI="${SRC_URI} mirror://sourceforge/skychart/4-source_data/${i}" +done +unset i + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# pascal +QA_FLAGS_IGNORED="usr/bin/cdcicon + usr/bin/skychart + usr/bin/varobs + usr/bin/varobs_lpv_bulletin" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + dev-lang/lazarus + dev-lang/fpc" + +S=${WORKDIR}/${PN}-${MY_PV}-src + +src_unpack() { + unpack skychart-${MY_PV}-src.tar.bz2 + + local i + for i in ${DATA_PKG} ; do + mkdir ${i} || die + cd ${i} || die + unpack ${i} + cd .. + done +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-QA.patch +} + +src_configure() { + tc-export CC CXX + + ./configure \ + fpcbin="/usr/bin" \ + fpc="/usr/lib/fpc/$(fpc -iV)/source" \ + lazarus="/usr/share/lazarus" \ + prefix="/usr" +} + +src_compile() { + # this is ugly, but the build system sux, so don't bother me + UNITDIR="/usr/share/lazarus/components/printers:/usr/share/lazarus/components/printers/unix" \ + INCDIR="/usr/share/lazarus/components/printers/unix:/usr/share/lazarus/components/printers" \ + emake -j1 +} + +src_install() { + # use build system install rules on version bump + # to check for new files + dobin varobs/{varobs,varobs_lpv_bulletin} + dobin skychart/cdcicon + newbin skychart/cdc skychart + + dolib.so skychart/library/plan404/libplan404.so + dolib.so skychart/library/getdss/libgetdss.so + dolib.so skychart/library/wcs/libcdcwcs.so + + insinto /usr/share + doins -r system_integration/Linux/share/{applications,icons,pixmaps} + + dodoc system_integration/Linux/share/doc/skychart/* + + insinto /usr/share/skychart + doins -r tools/{cat,data} + for i in ${DATA_PKG} ; do + cd "${WORKDIR}/${i}" || die + doins -r . + done +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |