[SCM] inkscape/experimental: Add patch to install the localized manpages in the correct path

mattia at users.alioth.debian.org mattia at users.alioth.debian.org
Sat Jan 7 22:08:00 UTC 2017


The following commit has been merged in the experimental branch:
commit 8bcbd32e82cd7ed836e4741c9b1e67856fef735a
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Jan 7 21:43:58 2017 +0100

    Add patch to install the localized manpages in the correct path

diff --git a/debian/patches/0003-Install-the-localized-manpages-in-the-correct-path.patch b/debian/patches/0003-Install-the-localized-manpages-in-the-correct-path.patch
new file mode 100644
index 0000000..0fa5183
--- /dev/null
+++ b/debian/patches/0003-Install-the-localized-manpages-in-the-correct-path.patch
@@ -0,0 +1,38 @@
+From: Mattia Rizzolo <mattia at debian.org>
+Date: Sat, 7 Jan 2017 21:00:00 +0100
+Subject: Install the localized manpages in the correct path
+
+Also fixes (hides?) a bunch of manpage related lintian.
+
+Forwarded: https://code.launchpad.net/~mapreri/inkscape/correct-manpage-path/+merge/314284
+---
+ CMakeScripts/Pod2man.cmake | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeScripts/Pod2man.cmake b/CMakeScripts/Pod2man.cmake
+index 3189192..21010fb 100644
+--- a/CMakeScripts/Pod2man.cmake
++++ b/CMakeScripts/Pod2man.cmake
+@@ -28,10 +28,12 @@ macro(pod2man PODFILE_FULL RELEASE SECTION CENTER)
+             set(MANPAGE_TARGET "man-${NAME}-${LANG}")
+             set(MANFILE_TEMP "${CMAKE_CURRENT_BINARY_DIR}/man/${NAME}.${LANG}.tmp")
+             set(MANFILE_FULL "${CMAKE_CURRENT_BINARY_DIR}/man/${NAME}.${LANG}.${SECTION}")
++            set(MANFILE_DEST "${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/man/${LANG}/man${SECTION}")
+         else()
+             set(MANPAGE_TARGET "man-${NAME}")
+             set(MANFILE_TEMP "${CMAKE_CURRENT_BINARY_DIR}/man/${NAME}.tmp")
+             set(MANFILE_FULL "${CMAKE_CURRENT_BINARY_DIR}/man/${NAME}.${SECTION}")
++            set(MANFILE_DEST "${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/man/man${SECTION}")
+         endif()
+         add_custom_command(
+             OUTPUT ${MANFILE_TEMP}
+@@ -48,7 +50,8 @@ macro(pod2man PODFILE_FULL RELEASE SECTION CENTER)
+         )
+         install(
+             FILES ${MANFILE_FULL}
+-            DESTINATION ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/man/man${SECTION}
++            RENAME ${NAME}.${SECTION}
++            DESTINATION ${MANFILE_DEST}
+         )
+     endif()
+ endmacro(pod2man PODFILE NAME SECTION CENTER)
diff --git a/debian/patches/series b/debian/patches/series
index d8448f1..d8e3c77 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Drop_PS_and_PDF_support_in_MimeType.patch
 0002-Fix-lintian-s-executable-not-elf-or-script.patch
+0003-Install-the-localized-manpages-in-the-correct-path.patch

-- 
inkscape packaging



More information about the pkg-multimedia-commits mailing list