summaryrefslogtreecommitdiff
path: root/app-office/gnucash/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-20 13:16:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-20 13:16:21 +0100
commit332b9eb4903f99b0e65722058ce481fdc21b93d3 (patch)
treefef4ca14ec13f6bc1b3f532a6b2c19f7db4f3921 /app-office/gnucash/files
parent7d1fc8f13082082c2539f20beadcf37089543b8e (diff)
gentoo auto-resync : 20:06:2023 - 13:16:21
Diffstat (limited to 'app-office/gnucash/files')
-rw-r--r--app-office/gnucash/files/gnucash-5.0-exclude-license.patch32
-rw-r--r--app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch14
2 files changed, 46 insertions, 0 deletions
diff --git a/app-office/gnucash/files/gnucash-5.0-exclude-license.patch b/app-office/gnucash/files/gnucash-5.0-exclude-license.patch
new file mode 100644
index 000000000000..4a1fd9944fad
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.0-exclude-license.patch
@@ -0,0 +1,32 @@
+diff -Naruw gnucash-5.0.orig/CMakeLists.txt gnucash-5.0/CMakeLists.txt
+--- gnucash-5.0.orig/CMakeLists.txt 2023-04-13 10:23:18.271128349 -0400
++++ gnucash-5.0/CMakeLists.txt 2023-04-13 10:25:38.531172952 -0400
+@@ -665,7 +665,6 @@
+ ChangeLog.2022
+ DOCUMENTERS
+ HACKING
+- LICENSE
+ NEWS
+ README.dependencies
+ )
+@@ -928,20 +927,7 @@
+ )
+ endif()
+
+-#Link LICENSE to COPYING so that people expecting to find it,
+-#will. COPYING is normally linked by autogen.sh to the latest
+-#automake-provided version.
+-set (_CMD create_symlink)
+-if (WIN32)
+- set(_CMD copy)
+-endif()
+
+-install(CODE
+-" execute_process(
+- COMMAND ${CMAKE_COMMAND} -E ${_CMD} LICENSE COPYING
+- WORKING_DIRECTORY ${CMAKE_INSTALL_DOCDIR}
+- )"
+-)
+
+ #For windows, copy in some DLLs from Mingw
+
diff --git a/app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch b/app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch
new file mode 100644
index 000000000000..e2312f531825
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-5.0-webkit2gtk-4.1.patch
@@ -0,0 +1,14 @@
+diff -Naruw a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -210,10 +210,7 @@
+ pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkitgtk-3.0)
+ set(WEBKIT1 1 CACHE INTERNAL "WebKitGtk")
+ else()
+- pkg_check_modules (WEBKIT IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
+- if (NOT WEBKIT_FOUND)
+ pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.1)
+- endif()
+ set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4")
+ endif()
+