gammu: Updated to version 1.26.1.
authorStanislav Brabec <utx@penguin.cz>
Sun, 18 Oct 2009 13:09:05 +0000 (13:09 +0000)
committerutx@penguin.cz <utx@penguin.cz>
Sun, 18 Oct 2009 13:09:05 +0000 (13:09 +0000)
recipes/gammu/gammu-1.24.0/findmysql.patch [deleted file]
recipes/gammu/gammu_1.20.0.bb [deleted file]
recipes/gammu/gammu_1.26.1.bb [moved from recipes/gammu/gammu_1.24.0.bb with 96% similarity]

diff --git a/recipes/gammu/gammu-1.24.0/findmysql.patch b/recipes/gammu/gammu-1.24.0/findmysql.patch
deleted file mode 100644 (file)
index b6345b1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: gammu-1.24.0/cmake/FindMySQL.cmake
-===================================================================
---- gammu-1.24.0.orig/cmake/FindMySQL.cmake    2008-11-20 15:37:28.000000000 +0000
-+++ gammu-1.24.0/cmake/FindMySQL.cmake 2009-06-12 12:18:06.000000000 +0000
-@@ -30,7 +30,7 @@
-             ARGS --include
-             OUTPUT_VARIABLE MY_TMP)
--        string(REGEX REPLACE "-I([^ ]*)( .*)?" "\\1" MY_TMP "${MY_TMP}")
-+        string(REGEX REPLACE "-I([^ ]+)( .*)?" "\\1" MY_TMP "${MY_TMP}")
-         set(MYSQL_ADD_INCLUDE_DIR ${MY_TMP} CACHE FILEPATH INTERNAL)
-@@ -41,17 +41,19 @@
-         set(MYSQL_ADD_LIBRARIES "")
--        string(REGEX MATCHALL "-l[^ ]*" MYSQL_LIB_LIST "${MY_TMP}")
-+        string(REGEX MATCHALL "(^| )-l[^ ]+" MYSQL_LIB_LIST "${MY_TMP}")
-         foreach(LIB ${MYSQL_LIB_LIST})
-             string(REGEX REPLACE "[ ]*-l([^ ]*)" "\\1" LIB "${LIB}")
-+            message("${LIB}")
-             list(APPEND MYSQL_ADD_LIBRARIES "${LIB}")
-         endforeach(LIB ${MYSQL_LIBS})
-         set(MYSQL_ADD_LIBRARY_PATH "")
--        string(REGEX MATCHALL "-L[^ ]*" MYSQL_LIBDIR_LIST "${MY_TMP}")
-+        string(REGEX MATCHALL "-L[^ ]+" MYSQL_LIBDIR_LIST "${MY_TMP}")
-         foreach(LIB ${MYSQL_LIBDIR_LIST})
-             string(REGEX REPLACE "[ ]*-L([^ ]*)" "\\1" LIB "${LIB}")
-+            message("${LIB}")
-             list(APPEND MYSQL_ADD_LIBRARY_PATH "${LIB}")
-         endforeach(LIB ${MYSQL_LIBS})
diff --git a/recipes/gammu/gammu_1.20.0.bb b/recipes/gammu/gammu_1.20.0.bb
deleted file mode 100644 (file)
index 6cc8644..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-DESCRIPTION = "GNU All Mobile Managment Utilities"
-SECTION = "console/network"
-DEPENDS = "bluez-libs cmake-native"
-LICENSE = "GPL"
-HOMEPAGE = "http://www.gammu.org/"
-PR = "r1"
-
-SRC_URI = "http://dl.cihar.com/gammu/releases/gammu-${PV}.tar.bz2 "
-
-# it is CMake based but when inherit cmake it builds static binary/library
-inherit autotools pkgconfig
-
-do_configure() {
-    cd ${S} && CMAKE_C_COMPILER=${TARGET_OS}-gcc ./configure --prefix=${prefix} --enable-shared --enable-backup
-}
-
-do_stage() {
-    autotools_stage_all
-}
-
-# gammu has a non-standard uninstalled .pc file, which confuses pkgconfig.bbclass.
-# Replace it by custom do_stage_append():
-do_stage_append () {
-       install -d ${PKG_CONFIG_DIR}
-       cat build-configure/cfg/gammu.pc > ${PKG_CONFIG_DIR}/gammu.pc
-}
-
-PACKAGES =+ "libgammu"
-
-FILES_${PN} = "${bindir}/gammu ${bindir}/jadmaker"
-FILES_${PN}-dev += "${bindir}/gammu-config"
-FILES_libgammu = "${libdir}/libGammu.so.*"
similarity index 96%
rename from recipes/gammu/gammu_1.24.0.bb
rename to recipes/gammu/gammu_1.26.1.bb
index 56a1a91..ec8ef74 100644 (file)
@@ -6,8 +6,7 @@ LICENSE = "GPL"
 HOMEPAGE = "http://www.gammu.org/"
 PR = "r0"
 
-SRC_URI = "http://dl.cihar.com/gammu/releases/gammu-${PV}.tar.bz2 \
-           file://findmysql.patch;patch=1"
+SRC_URI = "http://dl.cihar.com/gammu/releases/gammu-${PV}.tar.bz2"
 
 inherit distutils-common-base cmake