[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:41:23 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=30b5224

The following commit has been merged in the master branch:
commit 30b5224751ed48efe3b44bd010e58c2beda227be
Author: HumanDynamo <caulier.gilles at gmail.com>
Date:   Tue Apr 20 09:28:57 2010 +0000

    added CMake uninstall rules
---
 TODO-CMAKE                   | 4 ++--
 config/ConfigureChecks.cmake | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/TODO-CMAKE b/TODO-CMAKE
index 4af7ba0..764be47 100644
--- a/TODO-CMAKE
+++ b/TODO-CMAKE
@@ -26,8 +26,6 @@
 
 * emacs M-c command to (re-)compile
 
-* added cmake target to uninstall Exiv2. On UNIX-like systems, use "$ xargs rm < install_manifest.txt"
-
 * migrate the whole README-CMAKE to README.
 
 -------------------------------------------------------------------------------------
@@ -81,5 +79,7 @@ DONE * Manage eviv2.pc file with CMake, like it's do with kdegraphics/libs .pc f
    http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/CMakeLists.txt#59
    http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2.pc.cmake
 
+DONE * added cmake target to uninstall Exiv2, based on KDE4 cmake script.
+
 INFO * check How does cmake handle RPATH? (I'll read up on this).
 
diff --git a/config/ConfigureChecks.cmake b/config/ConfigureChecks.cmake
index ca0cadb..84d3126 100644
--- a/config/ConfigureChecks.cmake
+++ b/config/ConfigureChecks.cmake
@@ -238,6 +238,9 @@ CONFIGURE_FILE( config/exv_msvc.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/exv_msvc.h C
 INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exv_conf.h DESTINATION include/exiv2 )
 INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exv_msvc.h DESTINATION include/exiv2 )
 
+CONFIGURE_FILE(config/exiv2_cmake_uninstall.cmake.in ${CMAKE_BINARY_DIR}/cmake_uninstall.cmake COPYONLY)
+ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake")
+
 IF( NOT MSVC )
     CONFIGURE_FILE( config/exiv2.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc )
     INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc DESTINATION lib/pkgconfig )

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list