Date: Monday, December 13, 2010 @ 15:00:08 Author: andrea Revision: 102978
upgpkg: libindi 0.7.2-1 upstream release Added: libindi/trunk/linking-pthread.patch Modified: libindi/trunk/PKGBUILD Deleted: libindi/trunk/missing-config.patch -----------------------+ PKGBUILD | 10 +++++----- linking-pthread.patch | 11 +++++++++++ missing-config.patch | 29 ----------------------------- 3 files changed, 16 insertions(+), 34 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-12-13 19:45:24 UTC (rev 102977) +++ PKGBUILD 2010-12-13 20:00:08 UTC (rev 102978) @@ -3,7 +3,7 @@ # Contributor: Tobias Powalowski <[email protected]> pkgname=libindi -pkgver=0.7 +pkgver=0.7.2 pkgrel=1 pkgdesc="A distributed control protocol designed to operate astronomical instrumentation" url="http://www.indilib.org/index.php?title=Main_Page" @@ -16,14 +16,14 @@ conflicts=('indilib') options=('!libtool') source=("http://downloads.sourceforge.net/indi/${pkgname}_${pkgver}.tar.gz" - 'missing-config.patch') -md5sums=('948b5f6401c860d09ebc90b9a1e83819' - 'ec9964cfb3b2f29348f6445e26fb6a5c') + 'linking-pthread.patch') +md5sums=('a78a77dc2322a46f5bf4c5d75380e8b0' + '1ebc282e259cb0c9c52cad3dadd5e044') build() { # fixed upstream cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/missing-config.patch + patch -Np2 -i ${srcdir}/linking-pthread.patch cd ${srcdir} mkdir build Added: linking-pthread.patch =================================================================== --- linking-pthread.patch (rev 0) +++ linking-pthread.patch 2010-12-13 20:00:08 UTC (rev 102978) @@ -0,0 +1,11 @@ +--- trunk/libindi/CMakeLists.txt 2010/11/20 11:45:07 397 ++++ trunk/libindi/CMakeLists.txt 2010/12/01 08:36:20 412 +@@ -164,7 +164,7 @@ + ############# INDI Client Library ################ + ################################################## + add_library(indiclient STATIC ${indibase_SRCS}) +-target_link_libraries(indiclient indi) ++target_link_libraries(indiclient indi pthread) + install(TARGETS indiclient ARCHIVE DESTINATION lib${LIB_POSTFIX}) + + ##################################### Deleted: missing-config.patch =================================================================== --- missing-config.patch 2010-12-13 19:45:24 UTC (rev 102977) +++ missing-config.patch 2010-12-13 20:00:08 UTC (rev 102978) @@ -1,29 +0,0 @@ ---- 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 -+
