[SCM] QJson library packaging branch, master, updated. debian/0.7.1-7-4-g178333b

Lisandro Damián Nicanor Pérez lisandro at alioth.debian.org
Thu Nov 22 23:24:14 UTC 2012


Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/qjson.git;a=commitdiff;h=c55d4b8

The following commit has been merged in the master branch:
commit c55d4b816a946c5b672f072fe362f033374c53a4
Author: Lisandro Damián Nicanor Pérez Meyer <perezmeyer at gmail.com>
Date:   Thu Nov 22 20:13:07 2012 -0300

    Remove fix_cmake_variables.patch, not necessary anymore.
---
 debian/changelog                         |    1 +
 debian/patches/fix_cmake_variables.patch |  130 ------------------------------
 debian/patches/series                    |    1 -
 3 files changed, 1 insertions(+), 131 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6b80234..359b282 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 qjson (0.8.0-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Remove fix_cmake_variables.patch, not necessary anymore.
 
  -- Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>  Thu, 22 Nov 2012 19:58:21 -0300
 
diff --git a/debian/patches/fix_cmake_variables.patch b/debian/patches/fix_cmake_variables.patch
deleted file mode 100644
index 03fb0a3..0000000
--- a/debian/patches/fix_cmake_variables.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-Subject: installs QJSONConfigVersion.cmake with correct naming.
-Author: Ralf Jung <post at ralfj.de>
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687537
-Forwarded: not-needed
-Last-Update: 2012-11-07
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -39,7 +39,7 @@ SET( QT_DONT_USE_QTGUI TRUE )
- SET (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
- SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Directory where lib will install")
- SET (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
--SET (CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/apps/cmake/modules" CACHE PATH "The directory to install FindQRpc.cmake to")
-+SET (CMAKECONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}" CACHE PATH "Directory where to install QJSONConfig.cmake")
- 
- 
- set(QJSON_LIB_MAJOR_VERSION "0")
-@@ -69,13 +69,24 @@ IF (KDE4_BUILD_TESTS OR QJSON_BUILD_TEST
-   ADD_SUBDIRECTORY(tests)
- ENDIF (KDE4_BUILD_TESTS OR QJSON_BUILD_TESTS)
- 
--add_subdirectory(cmake/modules)
--
- 
- #CONFIGURE_FILE(
- #  "${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in"
- #  "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
- #  IMMEDIATE @ONLY)
- 
-+INSTALL(EXPORT qjson-export DESTINATION ${CMAKECONFIG_INSTALL_DIR} FILE QJSONTargets.cmake)
-+
-+# cmake-modules
-+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/QJSONConfig.cmake.in
-+               ${CMAKE_CURRENT_BINARY_DIR}/QJSONConfig.cmake
-+               @ONLY)
-+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/QJSONConfigVersion.cmake.in
-+               ${CMAKE_CURRENT_BINARY_DIR}/QJSONConfigVersion.cmake
-+               @ONLY)
-+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/QJSONConfig.cmake
-+              ${CMAKE_CURRENT_BINARY_DIR}/QJSONConfigVersion.cmake
-+        DESTINATION "${CMAKECONFIG_INSTALL_DIR}")
-+
- #ADD_CUSTOM_TARGET(uninstall
- #  "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
---- /dev/null
-+++ b/QJSONConfig.cmake.in
-@@ -0,0 +1,6 @@
-+GET_FILENAME_COMPONENT(myDir ${CMAKE_CURRENT_LIST_FILE} PATH)
-+
-+SET(QJSON_LIBRARIES qjson)
-+SET(QJSON_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@")
-+
-+include(${myDir}/QJSONTargets.cmake)
---- /dev/null
-+++ b/QJSONConfigVersion.cmake.in
-@@ -0,0 +1,9 @@
-+SET(PACKAGE_VERSION "@QJSON_LIB_VERSION_STRING@")
-+IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
-+  SET(PACKAGE_VERSION_EXACT TRUE)
-+ENDIF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
-+IF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
-+  SET(PACKAGE_VERSION_COMPATIBLE TRUE)
-+ELSE (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
-+  SET(PACKAGE_VERSION_UNSUITABLE TRUE)
-+ENDIF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
---- a/cmake/modules/CMakeLists.txt
-+++ /dev/null
-@@ -1,2 +0,0 @@
--set(cmakeFiles FindQJSON.cmake)
--install(FILES ${cmakeFiles} DESTINATION ${CMAKE_MODULES_INSTALL_DIR})
---- a/cmake/modules/FindQJSON.cmake
-+++ /dev/null
-@@ -1,46 +0,0 @@
--# Find QJSON - JSON handling library for Qt
--#
--# This module defines
--#  QJSON_FOUND - whether the qsjon library was found
--#  QJSON_LIBRARIES - the qjson library
--#  QJSON_INCLUDE_DIR - the include path of the qjson library
--#
--
--if (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
--
--  # Already in cache
--  set (QJSON_FOUND TRUE)
--
--else (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
--
--  if (NOT WIN32)
--    # use pkg-config to get the values of QJSON_INCLUDE_DIRS
--    # and QJSON_LIBRARY_DIRS to add as hints to the find commands.
--    include (FindPkgConfig)
--    pkg_check_modules (QJSON REQUIRED QJson>=0.5)
--  endif (NOT WIN32)
--
--  find_library (QJSON_LIBRARIES
--    NAMES
--    qjson
--    PATHS
--    ${QJSON_LIBRARY_DIRS}
--    ${LIB_INSTALL_DIR}
--    ${KDE4_LIB_DIR}
--  )
--
--  find_path (QJSON_INCLUDE_DIR
--    NAMES
--    parser.h
--    PATH_SUFFIXES
--    qjson
--    PATHS
--    ${QJSON_INCLUDE_DIRS}
--    ${INCLUDE_INSTALL_DIR}
--    ${KDE4_INCLUDE_DIR}
--  )
--
--  include(FindPackageHandleStandardArgs)
--  find_package_handle_standard_args(QJSON DEFAULT_MSG QJSON_LIBRARIES QJSON_INCLUDE_DIR)
--
--endif (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -35,7 +35,7 @@ set_target_properties(qjson PROPERTIES
-                       DEFINE_SYMBOL QJSON_MAKEDLL
-                       )
- 
--INSTALL(TARGETS qjson
-+INSTALL(TARGETS qjson EXPORT qjson-export
-    LIBRARY DESTINATION ${LIB_INSTALL_DIR}
-    RUNTIME DESTINATION bin
-    ARCHIVE DESTINATION  ${LIB_INSTALL_DIR}
diff --git a/debian/patches/series b/debian/patches/series
index b185685..213051c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-fix_cmake_variables.patch
 enable_multiarch.patch

-- 
QJson library packaging



More information about the pkg-kde-commits mailing list