Add Caja extension data
authorYaakov Selkowitz <yselkowi@redhat.com>
Thu, 19 Nov 2015 02:25:13 +0000 (20:25 -0600)
committerYaakov Selkowitz <yselkowi@redhat.com>
Thu, 19 Nov 2015 02:25:13 +0000 (20:25 -0600)
03-caja-extension.patch
deja-dup.cygport

index d4918b59646ab858522349098976c3734a4b419f..919cf2574a448705388c8a830c0daa48e8cca57a 100644 (file)
  add_subdirectory(preferences)
  add_subdirectory(tests)
  add_subdirectory(widgets)
  add_subdirectory(preferences)
  add_subdirectory(tests)
  add_subdirectory(widgets)
+--- origsrc/deja-dup-34.0/deja-dup/caja/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
++++ src/deja-dup-34.0/deja-dup/caja/CMakeLists.txt     2015-11-18 19:17:15.888685200 -0600
+@@ -0,0 +1,12 @@
++if(ENABLE_CAJA)
++add_library(caja-deja-dup MODULE CajaExtension.c)
++target_link_libraries(caja-deja-dup ${GLIB_LDFLAGS} ${CAJA_LDFLAGS})
++set_target_properties(caja-deja-dup PROPERTIES
++                      INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}/libdeja"
++                      COMPILE_FLAGS "${GLIB_CFLAGS} ${CAJA_CFLAGS} ${COMMON_CFLAGS}")
++install(TARGETS caja-deja-dup DESTINATION "${CAJA_EXTENSIONDIR}")
++configure_file(libcaja-deja-dup.caja-extension.in
++              libcaja-deja-dup.caja-extension @ONLY)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcaja-deja-dup.caja-extension
++              DESTINATION share/caja/extensions)
++endif()
+--- origsrc/deja-dup-34.0/deja-dup/caja/libcaja-deja-dup.caja-extension.in     1969-12-31 18:00:00.000000000 -0600
++++ src/deja-dup-34.0/deja-dup/caja/libcaja-deja-dup.caja-extension.in 2015-11-18 19:05:52.960464300 -0600
+@@ -0,0 +1,7 @@
++[Caja Extension]
++Icon=deja-dup
++Name=Deja-Dup
++Description=Restore or revert files from backups
++Version=@VERSION@
++Author=Michael Terry <mike@mterry.name>
++Copyright=Copyright (C) 2004–2005 Free Software Foundation, Inc.\nCopyright (C) 2009–2011 Michael Terry <mike@mterry.name>
index 6165c1174f422f66a0ffd351575c52df88bef9ca..f3211866740e040061b738e4f07d803cf9f6ab5d 100644 (file)
@@ -18,7 +18,7 @@ PATCH_URI="01-cmake-install.patch
 
 PKG_NAMES="deja-dup nautilus-deja-dup caja-deja-dup"
 deja_dup_REQUIRES="duplicity"
 
 PKG_NAMES="deja-dup nautilus-deja-dup caja-deja-dup"
 deja_dup_REQUIRES="duplicity"
-deja_dup_CONTENTS="--exclude=*.dll.a etc/ usr/bin/ usr/libexec/ usr/share/"
+deja_dup_CONTENTS="--exclude=*.dll.a --exclude=caja etc/ usr/bin/ usr/libexec/ usr/share/"
 nautilus_deja_dup_SUMMARY="Nautilus Deja-Dup backup plugin"
 nautilus_deja_dup_REQUIRES=${NAME}
 nautilus_deja_dup_CONTENTS="usr/lib/nautilus/"
 nautilus_deja_dup_SUMMARY="Nautilus Deja-Dup backup plugin"
 nautilus_deja_dup_REQUIRES=${NAME}
 nautilus_deja_dup_CONTENTS="usr/lib/nautilus/"
@@ -26,7 +26,7 @@ caja_deja_dup_CATEGORY="MATE"
 caja_deja_dup_SUMMARY="Caja Deja-Dup backup plugin"
 caja_deja_dup_OBSOLETES="mate-file-manager-deja-dup"
 caja_deja_dup_REQUIRES=${NAME}
 caja_deja_dup_SUMMARY="Caja Deja-Dup backup plugin"
 caja_deja_dup_OBSOLETES="mate-file-manager-deja-dup"
 caja_deja_dup_REQUIRES=${NAME}
-caja_deja_dup_CONTENTS="usr/lib/caja/"
+caja_deja_dup_CONTENTS="usr/lib/caja/ usr/share/caja/"
 
 # generated by valac
 DIFF_EXCLUDES="*.c *.h *.stamp *.vapi"
 
 # generated by valac
 DIFF_EXCLUDES="*.c *.h *.stamp *.vapi"
@@ -34,8 +34,7 @@ DIFF_EXCLUDES="*.c *.h *.stamp *.vapi"
 CYGPORT_USE_UNSTABLE_API=1
 src_patch_hook() {
        inform "Creating Caja extension"
 CYGPORT_USE_UNSTABLE_API=1
 src_patch_hook() {
        inform "Creating Caja extension"
-       mkdir -p deja-dup/caja
-       for f in CMakeLists.txt NautilusExtension.c NautilusExtension.h
+       for f in NautilusExtension.c NautilusExtension.h
        do
                sed -e 's/NAUTILUS/CAJA/g;s/Nautilus/Caja/g;s/nautilus/caja/g' \
                        deja-dup/nautilus/$f > deja-dup/caja/${f/Nautilus/Caja}
        do
                sed -e 's/NAUTILUS/CAJA/g;s/Nautilus/Caja/g;s/nautilus/caja/g' \
                        deja-dup/nautilus/$f > deja-dup/caja/${f/Nautilus/Caja}
This page took 0.052412 seconds and 5 git commands to generate.