From 690033ba0a7e29a5a23630bb0020a911d164133b Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Sun, 3 Jul 2016 16:09:34 +0200 Subject: app-backup/deja-dup: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/1826 Signed-off-by: Patrice Clement --- .../files/deja-dup-29.1-cmake-backport-1.patch | 11 ------ .../files/deja-dup-29.1-cmake-backport-2.patch | 32 ----------------- .../deja-dup/files/deja-dup-29.5-cmake.patch | 16 --------- .../files/deja-dup-32.0-duplicity-0.6.25.patch | 41 ---------------------- 4 files changed, 100 deletions(-) delete mode 100644 app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-1.patch delete mode 100644 app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-2.patch delete mode 100644 app-backup/deja-dup/files/deja-dup-29.5-cmake.patch delete mode 100644 app-backup/deja-dup/files/deja-dup-32.0-duplicity-0.6.25.patch (limited to 'app-backup/deja-dup') diff --git a/app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-1.patch b/app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-1.patch deleted file mode 100644 index 1c122d1723d0..000000000000 --- a/app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-1.patch +++ /dev/null @@ -1,11 +0,0 @@ -=== modified file 'deja-dup/nautilus/CMakeLists.txt' ---- deja-dup/nautilus/CMakeLists.txt 2013-10-11 19:57:03 +0000 -+++ deja-dup/nautilus/CMakeLists.txt 2013-11-08 03:32:53 +0000 -@@ -23,5 +23,6 @@ - OUTPUT_NAME deja-dup - INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}/libdeja" - COMPILE_FLAGS "${GLIB_CFLAGS} ${NAUTILUS_CFLAGS} ${COMMON_CFLAGS}") -+add_dependencies(deja-dup-nautilus deja) # needs DirHandling.c - install(TARGETS deja-dup-nautilus DESTINATION "${NAUTILUS_EXTENSIONDIR}") - endif() - diff --git a/app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-2.patch b/app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-2.patch deleted file mode 100644 index 7411d1927ff5..000000000000 --- a/app-backup/deja-dup/files/deja-dup-29.1-cmake-backport-2.patch +++ /dev/null @@ -1,32 +0,0 @@ -=== modified file 'cmake/DejaDupMacros.cmake' ---- cmake/DejaDupMacros.cmake 2013-10-11 19:57:03 +0000 -+++ cmake/DejaDupMacros.cmake 2013-11-09 05:59:00 +0000 -@@ -34,19 +34,15 @@ - endmacro() - - macro(deja_enable_option) -- if(NOT ENABLE_${ARGV0}) -- return() # nothing to do -- endif() -- -- deja_check_modules(${ARGV}) -- -- if(NOT ${ARGV0}_FOUND) -- if(ENABLE_${ARGV0} STREQUAL "CHECK") -- set(ENABLE_${ARGV0} OFF) -- else() -- message(FATAL_ERROR "You enabled ${ARGV0}, but required dependencies could not be found") -+ if(ENABLE_${ARGV0}) -+ deja_check_modules(${ARGV}) -+ if(NOT ${ARGV0}_FOUND) -+ if(ENABLE_${ARGV0} STREQUAL "CHECK") -+ set(ENABLE_${ARGV0} OFF) -+ else() -+ message(FATAL_ERROR "You enabled ${ARGV0}, but required dependencies could not be found") -+ endif() - endif() -- return() - endif() - endmacro() - - diff --git a/app-backup/deja-dup/files/deja-dup-29.5-cmake.patch b/app-backup/deja-dup/files/deja-dup-29.5-cmake.patch deleted file mode 100644 index 6b364d4ef736..000000000000 --- a/app-backup/deja-dup/files/deja-dup-29.5-cmake.patch +++ /dev/null @@ -1,16 +0,0 @@ - deja-dup/widgets/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/deja-dup/widgets/CMakeLists.txt b/deja-dup/widgets/CMakeLists.txt -index 78f0e21..e885ac8 100644 ---- a/deja-dup/widgets/CMakeLists.txt -+++ b/deja-dup/widgets/CMakeLists.txt -@@ -52,7 +52,7 @@ vala_precompile(VALA_C ConfigBool.vala - GENERATE_VAPI widgets - GENERATE_HEADER widgets) - add_library(widgets SHARED ${VALA_C}) --target_link_libraries(widgets deja "${GTK_LDFLAGS} ${NOTIFY_LDFLAGS} ${PEAS_LDFLAGS} ${SECRET_LDFLAGS} ${UNITY_LDFLAGS}") -+target_link_libraries(widgets deja ${GTK_LDFLAGS} ${NOTIFY_LDFLAGS} ${PEAS_LDFLAGS} ${SECRET_LDFLAGS} ${UNITY_LDFLAGS}) - set_target_properties(widgets PROPERTIES - INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}/libdeja;${CMAKE_SOURCE_DIR}/libdeja" - COMPILE_FLAGS "${GTK_CFLAGS} ${NOTIFY_CFLAGS} ${PEAS_CFLAGS} ${SECRET_CFLAGS} ${UNITY_CFLAGS} ${COMMON_CFLAGS}") diff --git a/app-backup/deja-dup/files/deja-dup-32.0-duplicity-0.6.25.patch b/app-backup/deja-dup/files/deja-dup-32.0-duplicity-0.6.25.patch deleted file mode 100644 index 016e67829fd5..000000000000 --- a/app-backup/deja-dup/files/deja-dup-32.0-duplicity-0.6.25.patch +++ /dev/null @@ -1,41 +0,0 @@ -=== modified file 'AUTHORS' ---- AUTHORS 2014-04-29 02:38:47 +0000 -+++ AUTHORS 2014-10-23 06:41:44 +0000 -@@ -12,6 +12,10 @@ - Comment: For specific author information, see the bzr logs - License: GPL-3+ - -+Files: libdeja/tools/duplicity/DuplicityPlugin.vala -+Copyright: 2014 Adrien Bak -+Licence: GPL-3+ -+ - Files: po/*.po - Copyright: 2008ā€“2013 Rosetta Contributors and Canonical Ltd - License: GPL-3+ - -=== modified file 'libdeja/tools/duplicity/DuplicityPlugin.vala' ---- libdeja/tools/duplicity/DuplicityPlugin.vala 2014-01-24 16:07:59 +0000 -+++ libdeja/tools/duplicity/DuplicityPlugin.vala 2014-10-23 06:41:44 +0000 -@@ -35,13 +35,17 @@ - { - string output; - Process.spawn_command_line_sync("duplicity --version", out output, null, null); -+ var tokens = output.split(" "); - -- var tokens = output.split(" ", 2); -- if (tokens == null || tokens[0] == null || tokens[1] == null) -+ if (tokens == null || tokens.length < 2 ) - throw new SpawnError.FAILED(_("Could not understand duplicity version.")); - -- // First token is 'duplicity' and is ignorable. Second looks like '0.5.03' -- var version_string = tokens[1].strip(); -+ // in version 0.6.25, the output fro duplicity --version changed and the string -+ // "duplicity major.minor.micro" is not preceded by a deprecation warning -+ // as a consequence, the substring "major.minor.micro" is now -+ // always the penultimate token (the last one always being null) -+ -+ var version_string = tokens[tokens.length - 1].strip(); - int major, minor, micro; - if (!DejaDup.parse_version(version_string, out major, out minor, out micro)) - throw new SpawnError.FAILED(_("Could not understand duplicity version ā€˜%sā€™.").printf(version_string)); - -- cgit v1.2.3-65-gdbad