summarylogtreecommitdiffstats
path: root/far2l.patch
diff options
context:
space:
mode:
Diffstat (limited to 'far2l.patch')
-rw-r--r--far2l.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/far2l.patch b/far2l.patch
new file mode 100644
index 000000000000..bfc628ebdfe1
--- /dev/null
+++ b/far2l.patch
@@ -0,0 +1,38 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5f3f133..08463ec 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -6,9 +6,9 @@ if(NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE "Release")
+ endif()
+
+-#if(NOT CMAKE_INSTALL_PREFIX)
++if(NOT CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr")
+-#endif()
++endif()
+
+
+
+@@ -53,6 +53,7 @@ add_subdirectory (editcase)
+ add_subdirectory (align)
+ add_subdirectory (autowrap)
+ add_subdirectory (drawline)
++add_subdirectory (far-gvfs)
+
+ install(PROGRAMS "${INSTALL_DIR}/far2l" DESTINATION "bin" )
+
+diff --git a/far2l/CMakeLists.txt b/far2l/CMakeLists.txt
+index 7213211..b894d7d 100644
+--- a/far2l/CMakeLists.txt
++++ b/far2l/CMakeLists.txt
+@@ -187,6 +187,6 @@ add_custom_command(TARGET far2l POST_BUILD
+ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+ #TODO
+ else()
+- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/DE/icons" DESTINATION "/usr/share" USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN "*")
+- install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/DE/far2l.desktop" DESTINATION "/usr/share/applications")
++ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/DE/icons" DESTINATION "${CMAKE_INSTALL_PREFIX}/share" USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN "*")
++ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/DE/far2l.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
+ endif()
+