[neon/neon-packaging/glaxnimate/Neon/unstable] debian/patches: more patching

Carlos De Maine null at kde.org
Fri Sep 29 08:23:06 BST 2023


Git commit 55d87e9387df96996fd2f22e848ade5a2528a1da by Carlos De Maine.
Committed on 29/09/2023 at 09:23.
Pushed by carlosdem into branch 'Neon/unstable'.

more patching

M  +66   -0    debian/patches/0001_patch

https://invent.kde.org/neon/neon-packaging/glaxnimate/-/commit/55d87e9387df96996fd2f22e848ade5a2528a1da

diff --git a/debian/patches/0001_patch b/debian/patches/0001_patch
index ac6a5e1..ee23186 100644
--- a/debian/patches/0001_patch
+++ b/debian/patches/0001_patch
@@ -1,4 +1,70 @@
 --- /dev/null
++++ b/cmake/FindPotrace.cmake
+@@ -0,0 +1,63 @@
++#  POTRACE_FOUND - system has Potrace
++#  POTRACE_INCLUDE_DIRS - the Potrace include directory
++#  POTRACE_LIBRARIES - The libraries needed to use Potrace
++
++IF (POTRACE_LIBRARIES AND POTRACE_INCLUDE_DIRS)
++   # in cache already
++   SET(POTRACE_FOUND TRUE)
++ELSE (POTRACE_LIBRARIES AND POTRACE_INCLUDE_DIRS)
++   FIND_PATH (POTRACE_INCLUDE_DIR
++      NAMES
++         potracelib.h
++      PATHS
++         /usr/include
++         /usr/local/include
++	 $ENV{DEVLIBS_PATH}/include
++      PATH_SUFFIXES
++         potrace
++   )
++
++   FIND_LIBRARY (POTRACE_LIBRARY
++      NAMES
++        potrace
++        libpotrace
++      PATHS
++         /usr/lib
++         /usr/local/lib
++         $ENV{DEVLIBS_PATH}/lib
++   )
++
++   if (POTRACE_LIBRARY)
++      set (POTRACE_FOUND TRUE)
++   endif (POTRACE_LIBRARY)
++
++   set (POTRACE_INCLUDE_DIRS
++      ${POTRACE_INCLUDE_DIR}
++   )
++
++   if (POTRACE_FOUND)
++      set(POTRACE_LIBRARIES
++        ${POTRACE_LIBRARIES}
++        ${POTRACE_LIBRARY}
++      )
++   endif (POTRACE_FOUND)
++
++   if (POTRACE_INCLUDE_DIRS AND POTRACE_LIBRARIES)
++      set(POTRACE_FOUND TRUE)
++   endif (POTRACE_INCLUDE_DIRS AND POTRACE_LIBRARIES)
++
++   if (POTRACE_FOUND)
++      if (NOT Potrace_FIND_QUIETLY)
++         message(STATUS "Found Potrace: ${POTRACE_LIBRARIES}")
++      endif (NOT Potrace_FIND_QUIETLY)
++   else (POTRACE_FOUND)
++      if (Potrace_FIND_REQUIRED)
++	      message(FATAL_ERROR "Could not find potrace")
++      endif (Potrace_FIND_REQUIRED)
++   endif (POTRACE_FOUND)
++
++   # show the POTRACE_INCLUDE_DIRS and POTRACE_LIBRARIES variables only in the advanced view
++   MARK_AS_ADVANCED(POTRACE_INCLUDE_DIRS POTRACE_LIBRARIES)
++
++endif (POTRACE_LIBRARIES AND POTRACE_INCLUDE_DIRS)
++
+--- /dev/null
 +++ b/cmake/GetGitRevisionDescription.cmake
 @@ -0,0 +1,285 @@
 +# - Returns a version string from Git


More information about the Neon-commits mailing list