summaryrefslogtreecommitdiffstats
path: root/office/apvlv/use_dist_manpdf.patch
diff options
context:
space:
mode:
author isaackwy <isaacyu@protonmail.com>2024-04-10 15:19:54 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-13 22:03:41 +0700
commiteb20f808dc6f5b095f929f1c0d3cb919301c59cb (patch)
tree7066c3c9b688b8c08ae096b94d42362086be9036 /office/apvlv/use_dist_manpdf.patch
parent32eb869e32f0db877df91751aca9020f63a4020f (diff)
downloadslackbuilds-eb20f808dc6f5b095f929f1c0d3cb919301c59cb.tar.gz
slackbuilds-eb20f808dc6f5b095f929f1c0d3cb919301c59cb.tar.xz
office/apvlv: Updated for version 0.5.0 (+new maintainer).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--office/apvlv/use_dist_manpdf.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/office/apvlv/use_dist_manpdf.patch b/office/apvlv/use_dist_manpdf.patch
new file mode 100644
index 0000000000..45e047df30
--- /dev/null
+++ b/office/apvlv/use_dist_manpdf.patch
@@ -0,0 +1,18 @@
+An up-to-date Startup.pdf is shipped with the dist, so just use that.
+Patch taken from Void Linux:
+https://github.com/void-linux/void-packages/blob/master/srcpkgs/apvlv/patches/use_dist_manpdf.patch
+
+diff -rup CMakeLists.txt.orig CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -76,10 +76,6 @@ IF (WIN32)
+ INSTALL(DIRECTORY icons DESTINATION ".")
+ INSTALL(DIRECTORY ${CMAKE_HOME_DIRECTORY}/win32/poppler-data DESTINATION ".")
+ ELSE (WIN32)
+- ADD_CUSTOM_TARGET(Startup.pdf
+- ALL
+- COMMAND "man" "-t" "${CMAKE_SOURCE_DIR}/apvlv.1" "|" "ps2pdf" "-" "${CMAKE_SOURCE_DIR}/Startup.pdf"
+- DEPENDS apvlv.1)
+ INSTALL(FILES apvlvrc.example DESTINATION ${SYSCONFDIR}
+ RENAME apvlvrc)
+ INSTALL(FILES apvlvrc.example Startup.pdf main_menubar.glade DESTINATION ${DOCDIR})