[arch-commits] Commit in libindi/trunk (PKGBUILD missing-config.patch)

Andrea Scarpino andrea at archlinux.org
Mon Nov 8 17:25:58 UTC 2010


    Date: Monday, November 8, 2010 @ 12:25:58
  Author: andrea
Revision: 98367

upgpkg: libindi 0.7-1
upstream release

Added:
  libindi/trunk/missing-config.patch
Modified:
  libindi/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   19 ++++++++++++-------
 missing-config.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-08 15:52:39 UTC (rev 98366)
+++ PKGBUILD	2010-11-08 17:25:58 UTC (rev 98367)
@@ -3,10 +3,10 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=libindi
-pkgver=0.6.2
+pkgver=0.7
 pkgrel=1
-pkgdesc="An instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc)"
-url="http://www.indilib.org"
+pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
+url="http://www.indilib.org/index.php?title=Main_Page"
 license=('GPL2')
 arch=('i686' 'x86_64')
 depends=('gcc-libs' 'zlib' 'libnova' 'cfitsio')
@@ -14,11 +14,17 @@
 provides=('indilib')
 replaces=('indilib')
 conflicts=('indilib')
-options=(!libtool)
-source=("http://downloads.sourceforge.net/indi/${pkgname}_${pkgver}.tar.gz")
-md5sums=('1751815adb1787543b9eca439bf0552c')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/indi/${pkgname}_${pkgver}.tar.gz"
+	'missing-config.patch')
+md5sums=('948b5f6401c860d09ebc90b9a1e83819'
+	'ec9964cfb3b2f29348f6445e26fb6a5c')
 
 build() {
+  # fixed upstream
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i ${srcdir}/missing-config.patch
+
   cd ${srcdir}
   mkdir build
   cd build
@@ -32,4 +38,3 @@
   cd ${srcdir}/build
   make DESTDIR=${pkgdir} install
 }
-

Added: missing-config.patch
===================================================================
--- missing-config.patch	                        (rev 0)
+++ missing-config.patch	2010-11-08 17:25:58 UTC (rev 98367)
@@ -0,0 +1,29 @@
+--- libindi-0.7/CMakeLists.txt~	2010-11-08 12:48:00.680005642 +0100
++++ libindi-0.7/CMakeLists.txt	2010-11-08 12:48:18.430005641 +0100
+@@ -56,6 +56,8 @@
+ check_include_files(termios.h TERMIOS_FOUND)
+ macro_bool_to_01(TERMIOS_FOUND HAVE_TERMIOS_H)
+ 
++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
++
+ include_directories( ${CMAKE_CURRENT_BINARY_DIR})
+ include_directories( ${CMAKE_SOURCE_DIR})
+ include_directories( ${CMAKE_SOURCE_DIR}/libs)
+--- /dev/null	2010-11-08 00:05:37.466666667 +0100
++++ libindi-0.7/config.h.cmake	2010-11-08 12:48:38.693338976 +0100
+@@ -0,0 +1,15 @@
++/* Define to 1 if you have the <linux/videodev2.h> header file. */
++#cmakedefine HAVE_LINUX_VIDEODEV2_H 1
++
++/* The symbol timezone is an int, not a function */
++#define TIMEZONE_IS_INT 1
++
++/* Define if you have termios.h */
++#cmakedefine   HAVE_TERMIOS_H 1
++
++/* Define if you have fitsio.h */
++#cmakedefine   HAVE_CFITSIO_H 1
++
++/* Define if you have libnova.h */
++#cmakedefine   HAVE_NOVA_H 1
++




More information about the arch-commits mailing list