[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:26 UTC 2017


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

The following commit has been merged in the master branch:
commit 86eb1cbccffcd90d4a41da44ae5bd02d8b415db8
Author: HumanDynamo <caulier.gilles at gmail.com>
Date:   Wed Apr 21 09:27:07 2010 +0000

    polish
---
 config/FindMSGFMT.cmake | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/config/FindMSGFMT.cmake b/config/FindMSGFMT.cmake
index 5a226f4..ee9ea08 100644
--- a/config/FindMSGFMT.cmake
+++ b/config/FindMSGFMT.cmake
@@ -19,17 +19,16 @@
 IF(MSGFMT_EXECUTABLE)
     SET(MSGFMT_FOUND TRUE)
 ELSE(MSGFMT_EXECUTABLE)
-    FIND_PROGRAM(MSGFMT_EXECUTABLE
-	NAMES msgfmt gmsgfmt msgfmt.exe
-	PATHS /bin /usr/bin /usr/local/bin c:/MinGW/bin ${SOURCE_BASE_DIR}/gettext/bin)
+    FIND_PROGRAM(MSGFMT_EXECUTABLE NAMES msgfmt gmsgfmt msgfmt.exe
+                                   PATHS /bin /usr/bin /usr/local/bin c:/MinGW/bin ${SOURCE_BASE_DIR}/gettext/bin)
     IF(MSGFMT_EXECUTABLE)
         SET(MSGFMT_FOUND TRUE)
     ELSE(MSGFMT_EXECUTABLE)
-	IF(NOT MSGFMT_FIND_QUIETLY)
-	    IF(MSGFMT_FIND_REQUIRED)
-		MESSAGE(FATAL_ERROR "msgfmt program couldn't be found")
-	    ENDIF(MSGFMT_FIND_REQUIRED)
-	ENDIF(NOT MSGFMT_FIND_QUIETLY)
+        IF(NOT MSGFMT_FIND_QUIETLY)
+            IF(MSGFMT_FIND_REQUIRED)
+                MESSAGE(FATAL_ERROR "msgfmt program couldn't be found")
+            ENDIF(MSGFMT_FIND_REQUIRED)
+        ENDIF(NOT MSGFMT_FIND_QUIETLY)
     ENDIF(MSGFMT_EXECUTABLE)
     MARK_AS_ADVANCED(MSGFMT_EXECUTABLE)
 ENDIF (MSGFMT_EXECUTABLE)
@@ -37,17 +36,16 @@ ENDIF (MSGFMT_EXECUTABLE)
 MACRO(ADD_TRANSLATIONS _baseName)
     SET(_outputs)
     FOREACH(_file ${ARGN})
-		GET_FILENAME_COMPONENT(_file_we ${_file} NAME_WE)
-		SET(_out "${CMAKE_CURRENT_BINARY_DIR}/${_file_we}.gmo")
-		SET(_in  "${CMAKE_CURRENT_SOURCE_DIR}/${_file_we}.po")
-		ADD_CUSTOM_COMMAND(
-		    OUTPUT ${_out}
-		    COMMAND ${MSGFMT_EXECUTABLE} -o ${_out} ${_in}
-		    DEPENDS ${_in} )
-		INSTALL(FILES ${_out}
-		    DESTINATION ${LOCALEDIR}/${_file_we}/LC_MESSAGES/
-		    RENAME ${_baseName}.mo )
-		SET(_outputs ${_outputs} ${_out})
+        GET_FILENAME_COMPONENT(_file_we ${_file} NAME_WE)
+        SET(_out "${CMAKE_CURRENT_BINARY_DIR}/${_file_we}.gmo")
+        SET(_in  "${CMAKE_CURRENT_SOURCE_DIR}/${_file_we}.po")
+        ADD_CUSTOM_COMMAND(OUTPUT ${_out}
+                           COMMAND ${MSGFMT_EXECUTABLE} -o ${_out} ${_in}
+                           DEPENDS ${_in})
+        INSTALL(FILES ${_out}
+                DESTINATION ${LOCALEDIR}/${_file_we}/LC_MESSAGES/
+                RENAME ${_baseName}.mo)
+        SET(_outputs ${_outputs} ${_out})
     ENDFOREACH(_file)
     SET(MSGFMT_TARGET translations${_baseName})
     ADD_CUSTOM_TARGET(${MSGFMT_TARGET} ALL DEPENDS ${_outputs})

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list