- updated patches auto/th/scribus-1.5.5-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 1 Aug 2020 12:00:32 +0000 (14:00 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 1 Aug 2020 12:00:32 +0000 (14:00 +0200)
scribus-docs.patch
scribus-standard-font-paths.patch

index a85b2338263ac6db80c4160448da491db6830336..2635059d0819db3eab8367c101dd1196572145e5 100644 (file)
@@ -1,18 +1,17 @@
---- scribus-1.3.8/CMakeLists.txt~      2010-07-20 00:51:20.000000000 +0200
-+++ scribus-1.3.8/CMakeLists.txt       2010-08-16 08:32:12.760862255 +0200
-@@ -283,12 +283,12 @@
-   SET(DOCDIR "share/doc/")
- ELSE (WIN32 OR OS2)
-   IF(TAG_VERSION OR BUILD_OSX_BUNDLE)
--    SET(DOCDIR "share/doc/${MAIN_DIR_NAME}${TAG_VERSION}/")
-+    SET(DOCDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/doc/")
-   ELSE(TAG_VERSION OR BUILD_OSX_BUNDLE)
-         IF(NOT WANT_VERSIONING)
--            SET(DOCDIR "share/doc/${MAIN_DIR_NAME}/")
-+            SET(DOCDIR "share/${MAIN_DIR_NAME}/doc/")
-         ELSE(NOT WANT_VERSIONING)
--            SET(DOCDIR "share/doc/${MAIN_DIR_NAME}-${VERSION}/")
-+            SET(DOCDIR "share/${MAIN_DIR_NAME}/doc/")
-         ENDIF(NOT WANT_VERSIONING)
-   ENDIF (TAG_VERSION OR BUILD_OSX_BUNDLE)
- ENDIF (WIN32 OR OS2)
+--- scribus-1.5.5/CMakeLists.txt~      2019-07-31 00:34:43.000000000 +0200
++++ scribus-1.5.5/CMakeLists.txt       2020-08-01 11:43:01.688045033 +0200
+@@ -316,11 +316,11 @@
+ if(WIN32 OR OS2)
+       set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/")
+ elseif(TAG_VERSION OR BUILD_OSX_BUNDLE)
+-      set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}${TAG_VERSION}/")
++      set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/${MAIN_DIR_NAME}${TAG_VERSION}/doc/")
+ elseif(NOT WANT_VERSIONING)
+-      set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}/")
++      set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/${MAIN_DIR_NAME}/doc/")
+ else()
+-      set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}-${VERSION}/")
++      set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/${MAIN_DIR_NAME}-${VERSION}/doc/")
+ endif()
+ if(IS_ABSOLUTE ${DOCDIR} AND WANT_RELOCATABLE)
index 0a3e345247af6cce7a264b88631ef138e07baf55..bc1742ae64c7cb07536ed486a6dcb10bd6c8d8f9 100644 (file)
@@ -1,11 +1,11 @@
 --- scribus-0.8/scribus/scfonts.cpp.orig       Sun Sep 22 10:54:38 2002
 +++ scribus-0.8/scribus/scfonts.cpp    Thu Oct 24 11:53:26 2002
-@@ -463,6 +463,8 @@
+@@ -1048,6 +1048,8 @@
        char **fontpath=XGetFontPath(display,&pathcount);
-       for(i=0; i<pathcount; ++i)
-               AddPath(fontpath[i]);
-+      AddPath("/usr/share/fonts/Type1");
-+      AddPath("/usr/share/fonts/TTF");
+       for (i=0; i<pathcount; ++i)
+               addPath(fontpath[i]);
++      addPath("/usr/share/fonts/Type1");
++      addPath("/usr/share/fonts/TTF");
        XFreeFontPath(fontpath);
  }
  
This page took 0.335565 seconds and 4 git commands to generate.