summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-09-07 10:56:35 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-09-07 10:56:35 +0000
commit26f5092f28df23f2162fc6f281fa776c6bb365b5 (patch)
treee2d2e3623215dd56cb3a99e1f5ad33249c677e78 /sci-libs/indilib
parentversion bump (diff)
downloadhistorical-26f5092f28df23f2162fc6f281fa776c6bb365b5.tar.gz
historical-26f5092f28df23f2162fc6f281fa776c6bb365b5.tar.bz2
historical-26f5092f28df23f2162fc6f281fa776c6bb365b5.zip
Version bump. Needed for kstars.
Package-Manager: portage-2.2_rc38/cvs/Linux i686
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r--sci-libs/indilib/ChangeLog10
-rw-r--r--sci-libs/indilib/Manifest15
-rw-r--r--sci-libs/indilib/files/0.6-fix_symlink.patch39
-rw-r--r--sci-libs/indilib/indilib-0.6.ebuild43
-rw-r--r--sci-libs/indilib/metadata.xml4
5 files changed, 103 insertions, 8 deletions
diff --git a/sci-libs/indilib/ChangeLog b/sci-libs/indilib/ChangeLog
index 48f4e0416ba7..00e83e3811eb 100644
--- a/sci-libs/indilib/ChangeLog
+++ b/sci-libs/indilib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/indilib
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.3 2008/11/02 08:38:03 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.4 2009/09/07 10:56:34 scarabeus Exp $
+
+*indilib-0.6 (07 Sep 2009)
+
+ 07 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.6-fix_symlink.patch, +indilib-0.6.ebuild, metadata.xml:
+ Version bump. Needed for kstars.
02 Nov 2008; Mike Frysinger <vapier@gentoo.org> indilib-0.5.ebuild:
Cleanup ebuild and add ppc/ppc64 love for KDE 4.
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest
index 4ebedf949640..cec4b1f4dce6 100644
--- a/sci-libs/indilib/Manifest
+++ b/sci-libs/indilib/Manifest
@@ -1,15 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX 0.6-fix_symlink.patch 3035 RMD160 e28792ac0c04fb993ce746fc66cd0b8cf9472073 SHA1 225e19fc422dd0ac2aff178fca6cc9ad3ba47566 SHA256 180a1fd4b0939efbedb675f90d6b9f96bcd2516c59bea0f87be79083bd83b87a
AUX indilib-0.5+gcc-4.3.patch 322 RMD160 51ce6689714883480f72b77db74d13636dba1756 SHA1 4c9f407f4c5017965afd9dffb1f7dee17ce5d247 SHA256 f6fb023ad635f81159966e3f3811b206f61a43cf77b06dd5831615f446ac4124
DIST indilib-0.5.tar.gz 3237136 RMD160 484787aaff79ef01c8288baf0419cc69983c2053 SHA1 b5ff00359b2de80c2cc7b253d278cff3be20b150 SHA256 4d9d233287737c52a1242752e5044474283345fd442c657962888a36ea19750a
+DIST libindi0_0.6.tar.gz 295657 RMD160 1ec9fd8daa04db458b80ab2e153a6025faa0406f SHA1 70b6a4cf4447874a0cf65dd8ece2d77dc397826d SHA256 65e44107326f04fd868deb5441eaee26d43626c8fffec92cbbd4a07d1c860292
EBUILD indilib-0.5.ebuild 966 RMD160 18504f2a5b27647d91c7a55f3517f6be41bdacc4 SHA1 44ae7583197e46a659cda8f33df4a534d96d153f SHA256 a09b50e3a24a8cc06b5681e56189ca779a1212441bbe961b1c9fb41f1fd2eae2
-MISC ChangeLog 681 RMD160 167a877612b0505b2188797bdcb202ea15f9f815 SHA1 ccfc48235e3343a1e35d123c23b1fcf6a6b03fa0 SHA256 e839b17503f616a84dedbd28319ae5a128beb758dafdcc2ca5210100526b8c79
-MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
+EBUILD indilib-0.6.ebuild 1024 RMD160 a7a53c022fa498683b264ddeaf5144432ea93dc1 SHA1 cbcec3be1f88c6b0a25c5baf6ca8780cdd1390f7 SHA256 a6b44920b703fd3631787723860f9167e6f1a14cba4d5c5a95187fa8622a05b5
+MISC ChangeLog 870 RMD160 31f1f823950fec11fdef7ac3d2cd237cc8ef9ac5 SHA1 9bbac30ee9c0e5d40d8fe071c9f11915da31f796 SHA256 5481ee0a6d2cd61492d04fa89199b6f99c204a4a913fcf83d4b47b9494b76c91
+MISC metadata.xml 320 RMD160 094de1bbce599aaa9b5ba9f86b73222b766f0007 SHA1 8e41f329b4534ca31aa7d42a0166740602b85200 SHA256 fd1a47f1a554039b3853d1fbb2b01ecd0bef281e02bbbccacd451f9399b31046
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEUEARECAAYFAkkNZvMACgkQ67wieSYcaxdunwCUD3+PvSq3l2idESCvbv49sX7l
-zgCg2oHlFywmdq8OCfG4Q3OkOHbdU/w=
-=pb7Z
+iEYEARECAAYFAkqk5wYACgkQHB6c3gNBRYedEwCfaPy5UGXdwT8saWsjgMqevUv1
+ZCgAn0qnLoDjGjdyG+ZJhcI9ZfD918C0
+=U5vo
-----END PGP SIGNATURE-----
diff --git a/sci-libs/indilib/files/0.6-fix_symlink.patch b/sci-libs/indilib/files/0.6-fix_symlink.patch
new file mode 100644
index 000000000000..cf447c029da1
--- /dev/null
+++ b/sci-libs/indilib/files/0.6-fix_symlink.patch
@@ -0,0 +1,39 @@
+diff -urN libindi0-0.6.old/CMakeLists.txt libindi0-0.6/CMakeLists.txt
+--- libindi0-0.6.old/CMakeLists.txt 2008-11-18 10:45:06.000000000 +0100
++++ libindi0-0.6/CMakeLists.txt 2009-09-07 12:49:21.000000000 +0200
+@@ -146,7 +146,7 @@
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200gps.cpp
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200generic.cpp
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200classic.cpp
+- ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200apdriver.c
++ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200apdriver.c
+ ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200ap.cpp )
+
+ add_executable(indi_lx200generic ${lx200generic_SRCS} ${liblilxml_SRCS} ${libindicom_SRCS})
+@@ -159,14 +159,11 @@
+
+ install(TARGETS indi_lx200generic RUNTIME DESTINATION bin )
+
+-file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake
+-"exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps)\n
+-exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap)\n
+-")
+-set_target_properties(indi_lx200generic PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake)
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap\" )" )
+ #################################################################################
+
+ ########### Celestron GPS ############
+@@ -521,4 +518,4 @@
+
+ install( FILES indiapi.h indidevapi.h base64.h eventloop.h ${CMAKE_SOURCE_DIR}/libs/lilxml.h
+ ${CMAKE_SOURCE_DIR}/libs/indicom.h DESTINATION ${INCLUDE_INSTALL_DIR}/libindi COMPONENT Devel)
+-
+\ Chybí znak konce řádku na konci souboru
++
diff --git a/sci-libs/indilib/indilib-0.6.ebuild b/sci-libs/indilib/indilib-0.6.ebuild
new file mode 100644
index 000000000000..c7e3a165670c
--- /dev/null
+++ b/sci-libs/indilib/indilib-0.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.6.ebuild,v 1.1 2009/09/07 10:56:34 scarabeus Exp $
+
+EAPI="2"
+
+MY_P="lib${PN/lib/}0_${PV}"
+
+inherit cmake-utils eutils
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="http://indi.sourceforge.net/index.php/Main_Page"
+SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="cfitsio nova usb v4l2"
+
+# libfli: not in portage
+# fli? ( >=sci-libs/fli-1.71 )
+RDEPEND="
+ sys-libs/zlib
+ cfitsio? ( >=sci-libs/cfitsio-3.140 )
+ nova? ( >=sci-libs/libnova-0.12.1 )
+ usb? ( dev-libs/libusb )
+ v4l2? ( >=sys-kernel/linux-headers-2.6 )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P/_/-}"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-fix_symlink.patch
+)
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with usb)
+ $(cmake-utils_use_with cfitsio)
+ "
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml
index 8d1e86a9cefb..f89628df673d 100644
--- a/sci-libs/indilib/metadata.xml
+++ b/sci-libs/indilib/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
+<use>
+ <flag name="cfitsio">Allow indilib to manipulate FITS files</flag>
+ <flag name="nova">Enable support for nova celestial mechanics calculations</flag>
+</use>
</pkgmetadata>