From 56051b2a7d5aca0f7d18b43b874023cbade03405 Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Fri, 23 Dec 2016 17:11:24 +0100 Subject: media-libs/openjpeg: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/3224 --- .../openjpeg/files/openjpeg-2.0.0-build.patch | 14 -------- .../files/openjpeg-2.0.0-pkgconfig-static.patch | 10 ------ .../openjpeg/files/openjpeg-2.0.0-pkgconfig.patch | 37 ---------------------- 3 files changed, 61 deletions(-) delete mode 100644 media-libs/openjpeg/files/openjpeg-2.0.0-build.patch delete mode 100644 media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig-static.patch delete mode 100644 media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig.patch (limited to 'media-libs/openjpeg') diff --git a/media-libs/openjpeg/files/openjpeg-2.0.0-build.patch b/media-libs/openjpeg/files/openjpeg-2.0.0-build.patch deleted file mode 100644 index 31ae12f213cb..000000000000 --- a/media-libs/openjpeg/files/openjpeg-2.0.0-build.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- openjpeg-2.0.0/CMakeLists.txt -+++ openjpeg-2.0.0/CMakeLists.txt -@@ -279,11 +279,4 @@ - DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR} - ) - --#----------------------------------------------------------------------------- --# install CHANGES and LICENSE --if(EXISTS ${OPENJPEG_SOURCE_DIR}/CHANGES) -- install(FILES CHANGES DESTINATION ${OPENJPEG_INSTALL_DOC_DIR}) --endif() --install(FILES LICENSE DESTINATION ${OPENJPEG_INSTALL_DOC_DIR}) -- - include (cmake/OpenJPEGCPack.cmake) diff --git a/media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig-static.patch b/media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig-static.patch deleted file mode 100644 index 60a5a47adbda..000000000000 --- a/media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig-static.patch +++ /dev/null @@ -1,10 +0,0 @@ -Upstream issue 223, http://code.google.com/p/openjpeg/issues/detail?id=223 - ---- openjpeg-2.0.0/src/lib/openjp2/libopenjp2.pc.cmake.in -+++ openjpeg-2.0.0/src/lib/openjp2/libopenjp2.pc.cmake.in -@@ -10,4 +10,5 @@ - URL: http://www.openjpeg.org/ - Version: @OPENJPEG_VERSION@ - Libs: -L${libdir} -lopenjp2 -+Libs.private: -L${libdir} -lopenjp2 -lm - Cflags: -I${includedir} diff --git a/media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig.patch b/media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig.patch deleted file mode 100644 index 656f4c20acd3..000000000000 --- a/media-libs/openjpeg/files/openjpeg-2.0.0-pkgconfig.patch +++ /dev/null @@ -1,37 +0,0 @@ -Pkgconfig support http://code.google.com/p/openjpeg/source/detail?r=2250 - ---- openjpeg-2.0.0/CMakeLists.txt -+++ openjpeg-2.0.0/CMakeLists.txt -@@ -171,6 +171,16 @@ - endif() - - #----------------------------------------------------------------------------- -+# pkgconfig support -+if(UNIX) -+ # install in lib and not share (see multi-arch note above) -+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/openjp2/libopenjp2.pc.cmake.in -+ ${CMAKE_CURRENT_BINARY_DIR}/libopenjp2.pc @ONLY) -+ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjp2.pc DESTINATION -+ ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig ) -+endif() -+ -+#----------------------------------------------------------------------------- - # Compiler specific flags: - if(CMAKE_COMPILER_IS_GNUCC) - # For all builds, make sure openjpeg is std99 compliant: ---- /dev/null -+++ openjpeg-2.0.0/src/lib/openjp2/libopenjp2.pc.cmake.in -@@ -0,0 +1,13 @@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@ -+mandir=${prefix}/@OPENJPEG_INSTALL_MAN_DIR@ -+docdir=${prefix}/@OPENJPEG_INSTALL_DOC_DIR@ -+libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@ -+includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@ -+ -+Name: openjp2 -+Description: JPEG2000 library (Part 1 and 2) -+URL: http://www.openjpeg.org/ -+Version: @OPENJPEG_VERSION@ -+Libs: -L${libdir} -lopenjp2 -+Cflags: -I${includedir} -- cgit v1.2.3-65-gdbad