Date: Tuesday, February 28, 2023 @ 09:55:51
  Author: alerque
Revision: 1405591

archrelease: copy trunk to community-x86_64

Added:
  scribus/repos/community-x86_64/PKGBUILD
    (from rev 1405590, scribus/trunk/PKGBUILD)
  scribus/repos/community-x86_64/harfbuzz-3.0.0.patch
    (from rev 1405590, scribus/trunk/harfbuzz-3.0.0.patch)
  scribus/repos/community-x86_64/keys/
  scribus/repos/community-x86_64/scribus-1.5.8-poppler-22.09.0.patch
    (from rev 1405590, scribus/trunk/scribus-1.5.8-poppler-22.09.0.patch)
Deleted:
  scribus/repos/community-x86_64/PKGBUILD
  scribus/repos/community-x86_64/harfbuzz-3.0.0.patch
  scribus/repos/community-x86_64/keys/
  scribus/repos/community-x86_64/scribus-1.5.8-poppler-22.09.0.patch

-------------------------------------+
 PKGBUILD                            |  155 ++++++++++++++++------------------
 harfbuzz-3.0.0.patch                |  136 ++++++++++++++---------------
 scribus-1.5.8-poppler-22.09.0.patch |   40 ++++----
 3 files changed, 165 insertions(+), 166 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-28 09:52:46 UTC (rev 1405590)
+++ PKGBUILD    2023-02-28 09:55:51 UTC (rev 1405591)
@@ -1,78 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Gaetan Bisson <[email protected]>
-# Contributor: Daniel J Griffiths <[email protected]>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: tobias <[email protected]>
-# Contributor: Ben <[email protected]>
-
-pkgname=scribus
-pkgver=1.5.8
-pkgrel=13
-pkgdesc="Desktop publishing software"
-arch=(x86_64)
-url="https://www.scribus.net/";
-license=(GPL)
-depends=(boost-libs cairo fontconfig freetype2 harfbuzz-icu
-         hunspell lcms2 libcdr libcups libfreehand libicuuc.so libjpeg libmspub
-         libpagemaker libpng libqxp librevenge libtiff libvisio libxml2 libzmf
-         openscenegraph openssl podofo poppler python3 qt5-base zlib) 
#graphicsmagick
-makedepends=(cmake boost mesa qt5-tools)
-optdepends=('tk: scripts based on tkinter'
-            'hyphen-lang: hyphenation patterns for desired languages')
-options=(!lto)
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc}
-        
$pkgname-poppler-22.02.0.patch::https://github.com/scribusproject/scribus/commit/85c0dff3422f.patch
-        
$pkgname-poppler-22.02.0-fixup.patch::https://github.com/scribusproject/scribus/commit/f75c1613db67.patch
-        
$pkgname-poppler-22.03.0.patch::https://github.com/scribusproject/scribus/commit/f19410ac3b27.patch
-        
$pkgname-poppler-22.04.0.patch::https://github.com/scribusproject/scribus/commit/f2237b8f0b5c.patch
-       scribus-1.5.8-poppler-22.09.0.patch)
-sha256sums=('47816e8fcf6d05788ff16aa4499f97ff22431c777a7789149b0a88b451e16b74'
-            'SKIP'
-            '718ae9c882889b56919ab9718185b915a75e75e193a028539722b537f528c3dd'
-            '2b57c0c6dbc93037b83e392d4721523efbccd8af1fe6fc11a26f1d2933b14a85'
-            '986717d7c99a418d765e6b3d8b37165067548e62b6febb9c31f8831689f3540e'
-            '1649ca7476fc2f548b64e72773aa94933a3993f3fd2cbb54a30486dc49575816'
-            'd1712c200f7be2eb4f791cc046379747af39a1f9a262a090ae2de990b939b9b3')
-validpgpkeys=(5086B8D68E70FDDF4C40045AEF7B95E7F60166DA  # Peter Linnell 
<[email protected]>
-              757F5E9B13DD648887AD50092D47C099E782504E  # The Scribus Team 
(www.scribus.net) <[email protected]>
-              6558BE84D27273A438A151198BEA48118AEBEE64) # Craig Bradney 
<[email protected]>
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../$pkgname-poppler-22.02.0.patch
-  patch -Np1 -i ../$pkgname-poppler-22.02.0-fixup.patch
-  patch -Np1 -i ../$pkgname-poppler-22.03.0.patch
-  patch -Np1 -i ../$pkgname-poppler-22.04.0.patch
-  patch -Np1 -i ../scribus-1.5.8-poppler-22.09.0.patch
-}
-
-build() {
-  cmake -B build -S ${pkgname}-${pkgver} \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DCMAKE_SKIP_RPATH=ON \
-    -DWANT_CPP17=ON \
-    -DWANT_HUNSPELL=ON \
-    -DWITH_BOOST=ON \
-    -DWITH_PODOFO=ON \
-    -DWANT_GRAPHICSMAGICK=ON
-  make -C build
-}
-
-package() {
-  make -C build DESTDIR="${pkgdir}" install
-
-  cd ${pkgname}-${pkgver}
-
-  install -Dm644 scribus.desktop -t "${pkgdir}"/usr/share/applications
-
-  for i in 16x16 32x32 128x128 256x256 512x512 1024x1024
-  do
-    install -Dm644 resources/iconsets/artwork/icon_${i}.png 
"${pkgdir}"/usr/share/icons/hicolor/${i}/apps/scribus.png
-  done
-
-  # Use system hyphen
-  rm -rf "${pkgdir}"/usr/share/scribus/dicts/hyph
-  ln -sf /usr/share/hyphen "${pkgdir}"/usr/share/scribus/dicts/hyph
-}

Copied: scribus/repos/community-x86_64/PKGBUILD (from rev 1405590, 
scribus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-28 09:55:51 UTC (rev 1405591)
@@ -0,0 +1,77 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: tobias <[email protected]>
+# Contributor: Ben <[email protected]>
+
+pkgname=scribus
+pkgver=1.5.8
+pkgrel=14
+pkgdesc="Desktop publishing software"
+arch=(x86_64)
+url="https://www.scribus.net/";
+license=(GPL)
+depends=(cairo fontconfig freetype2 harfbuzz-icu
+         hunspell lcms2 libcdr libcups libfreehand libicuuc.so libjpeg libmspub
+         libpagemaker libpng libqxp librevenge libtiff libvisio libxml2 libzmf
+         openscenegraph openssl podofo poppler python3 qt5-base zlib) 
#graphicsmagick
+makedepends=(cmake mesa qt5-tools)
+optdepends=('tk: scripts based on tkinter'
+            'hyphen-lang: hyphenation patterns for desired languages')
+options=(!lto)
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc}
+        
$pkgname-poppler-22.02.0.patch::https://github.com/scribusproject/scribus/commit/85c0dff3422f.patch
+        
$pkgname-poppler-22.02.0-fixup.patch::https://github.com/scribusproject/scribus/commit/f75c1613db67.patch
+        
$pkgname-poppler-22.03.0.patch::https://github.com/scribusproject/scribus/commit/f19410ac3b27.patch
+        
$pkgname-poppler-22.04.0.patch::https://github.com/scribusproject/scribus/commit/f2237b8f0b5c.patch
+       scribus-1.5.8-poppler-22.09.0.patch)
+sha256sums=('47816e8fcf6d05788ff16aa4499f97ff22431c777a7789149b0a88b451e16b74'
+            'SKIP'
+            '718ae9c882889b56919ab9718185b915a75e75e193a028539722b537f528c3dd'
+            '2b57c0c6dbc93037b83e392d4721523efbccd8af1fe6fc11a26f1d2933b14a85'
+            '986717d7c99a418d765e6b3d8b37165067548e62b6febb9c31f8831689f3540e'
+            '1649ca7476fc2f548b64e72773aa94933a3993f3fd2cbb54a30486dc49575816'
+            'd1712c200f7be2eb4f791cc046379747af39a1f9a262a090ae2de990b939b9b3')
+validpgpkeys=(5086B8D68E70FDDF4C40045AEF7B95E7F60166DA  # Peter Linnell 
<[email protected]>
+              757F5E9B13DD648887AD50092D47C099E782504E  # The Scribus Team 
(www.scribus.net) <[email protected]>
+              6558BE84D27273A438A151198BEA48118AEBEE64) # Craig Bradney 
<[email protected]>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../$pkgname-poppler-22.02.0.patch
+  patch -Np1 -i ../$pkgname-poppler-22.02.0-fixup.patch
+  patch -Np1 -i ../$pkgname-poppler-22.03.0.patch
+  patch -Np1 -i ../$pkgname-poppler-22.04.0.patch
+  patch -Np1 -i ../scribus-1.5.8-poppler-22.09.0.patch
+}
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DWANT_CPP17=ON \
+    -DWANT_HUNSPELL=ON \
+    -DWITH_PODOFO=ON \
+    -DWANT_GRAPHICSMAGICK=ON
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+
+  cd ${pkgname}-${pkgver}
+
+  install -Dm644 scribus.desktop -t "${pkgdir}"/usr/share/applications
+
+  for i in 16x16 32x32 128x128 256x256 512x512 1024x1024
+  do
+    install -Dm644 resources/iconsets/artwork/icon_${i}.png 
"${pkgdir}"/usr/share/icons/hicolor/${i}/apps/scribus.png
+  done
+
+  # Use system hyphen
+  rm -rf "${pkgdir}"/usr/share/scribus/dicts/hyph
+  ln -sf /usr/share/hyphen "${pkgdir}"/usr/share/scribus/dicts/hyph
+}

Deleted: harfbuzz-3.0.0.patch
===================================================================
--- harfbuzz-3.0.0.patch        2023-02-28 09:52:46 UTC (rev 1405590)
+++ harfbuzz-3.0.0.patch        2023-02-28 09:55:51 UTC (rev 1405591)
@@ -1,68 +0,0 @@
-From 1b546978bc4ea0b2a73fbe4d7cf947887e865162 Mon Sep 17 00:00:00 2001
-From: Jean Ghali <[email protected]>
-Date: Sat, 21 Aug 2021 20:05:43 +0000
-Subject: [PATCH] Use new hb-subset api with harfbuzz >= 2.9.0 in order to
- prepeare for removal of legacy API in 3.0
-
-git-svn-id: svn://scribus.net/trunk/Scribus@24696 
11d20701-8431-0410-a711-e3c959e3b870
----
- scribus/fonts/sfnt.cpp | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/scribus/fonts/sfnt.cpp b/scribus/fonts/sfnt.cpp
-index 50777f66e3..fca8b39158 100644
---- a/scribus/fonts/sfnt.cpp
-+++ b/scribus/fonts/sfnt.cpp
-@@ -1256,11 +1256,19 @@ namespace sfnt {
- 
-               for (int i = 0; i < cids.count(); ++i)
-                       hb_set_add(glyphSet, cids.at(i));
--      
-+
-+#if HB_VERSION_ATLEAST(2, 9, 0)
-+              uint32_t subsetFlags = (uint32_t) 
hb_subset_input_get_flags(hbSubsetInput.get());
-+              subsetFlags |= HB_SUBSET_FLAGS_RETAIN_GIDS;
-+              subsetFlags &= ~HB_SUBSET_FLAGS_NO_HINTING;
-+              subsetFlags |= HB_SUBSET_FLAGS_NAME_LEGACY;
-+              hb_subset_input_set_flags(hbSubsetInput.get(), subsetFlags);
-+#else
-               hb_subset_input_set_retain_gids(hbSubsetInput.get(), true);
-               hb_subset_input_set_drop_hints(hbSubsetInput.get(), false);
- #if HB_VERSION_ATLEAST(2, 6, 5)
-               hb_subset_input_set_name_legacy(hbSubsetInput.get(), true);
-+#endif
- #endif
- 
-               QScopedPointer<hb_face_t, HbFaceDeleter> 
hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
-
-From 68ec41169eaceea4a6e1d6f359762a191c7e61d5 Mon Sep 17 00:00:00 2001
-From: Jean Ghali <[email protected]>
-Date: Sun, 19 Sep 2021 11:59:50 +0000
-Subject: [PATCH] #16635: Replace hb_subset, removed in harfbuzz 3.0, by
- hb_subset_or_fail
-
-git-svn-id: svn://scribus.net/trunk/Scribus@24707 
11d20701-8431-0410-a711-e3c959e3b870
----
- scribus/fonts/sfnt.cpp | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/scribus/fonts/sfnt.cpp b/scribus/fonts/sfnt.cpp
-index fca8b39158..b3dfa50dc6 100644
---- a/scribus/fonts/sfnt.cpp
-+++ b/scribus/fonts/sfnt.cpp
-@@ -1271,9 +1271,15 @@ namespace sfnt {
- #endif
- #endif
- 
-+#if HB_VERSION_ATLEAST(2, 9, 0)
-+              QScopedPointer<hb_face_t, HbFaceDeleter> 
hbSubsetFace(hb_subset_or_fail(hbFullFace.get(), hbSubsetInput.get()));
-+              if (hbSubsetFace.isNull())
-+                      return QByteArray();
-+#else
-               QScopedPointer<hb_face_t, HbFaceDeleter> 
hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
-               if (hbSubsetFace.isNull())
-                       return QByteArray();
-+#endif
- 
-               QScopedPointer<hb_blob_t, HbBlobDeleter> 
hbSubsetBlob(hb_face_reference_blob(hbSubsetFace.get()));
-               if (hbSubsetBlob.isNull())

Copied: scribus/repos/community-x86_64/harfbuzz-3.0.0.patch (from rev 1405590, 
scribus/trunk/harfbuzz-3.0.0.patch)
===================================================================
--- harfbuzz-3.0.0.patch                                (rev 0)
+++ harfbuzz-3.0.0.patch        2023-02-28 09:55:51 UTC (rev 1405591)
@@ -0,0 +1,68 @@
+From 1b546978bc4ea0b2a73fbe4d7cf947887e865162 Mon Sep 17 00:00:00 2001
+From: Jean Ghali <[email protected]>
+Date: Sat, 21 Aug 2021 20:05:43 +0000
+Subject: [PATCH] Use new hb-subset api with harfbuzz >= 2.9.0 in order to
+ prepeare for removal of legacy API in 3.0
+
+git-svn-id: svn://scribus.net/trunk/Scribus@24696 
11d20701-8431-0410-a711-e3c959e3b870
+---
+ scribus/fonts/sfnt.cpp | 10 +++++++++-
+ 1 file changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/scribus/fonts/sfnt.cpp b/scribus/fonts/sfnt.cpp
+index 50777f66e3..fca8b39158 100644
+--- a/scribus/fonts/sfnt.cpp
++++ b/scribus/fonts/sfnt.cpp
+@@ -1256,11 +1256,19 @@ namespace sfnt {
+ 
+               for (int i = 0; i < cids.count(); ++i)
+                       hb_set_add(glyphSet, cids.at(i));
+-      
++
++#if HB_VERSION_ATLEAST(2, 9, 0)
++              uint32_t subsetFlags = (uint32_t) 
hb_subset_input_get_flags(hbSubsetInput.get());
++              subsetFlags |= HB_SUBSET_FLAGS_RETAIN_GIDS;
++              subsetFlags &= ~HB_SUBSET_FLAGS_NO_HINTING;
++              subsetFlags |= HB_SUBSET_FLAGS_NAME_LEGACY;
++              hb_subset_input_set_flags(hbSubsetInput.get(), subsetFlags);
++#else
+               hb_subset_input_set_retain_gids(hbSubsetInput.get(), true);
+               hb_subset_input_set_drop_hints(hbSubsetInput.get(), false);
+ #if HB_VERSION_ATLEAST(2, 6, 5)
+               hb_subset_input_set_name_legacy(hbSubsetInput.get(), true);
++#endif
+ #endif
+ 
+               QScopedPointer<hb_face_t, HbFaceDeleter> 
hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
+
+From 68ec41169eaceea4a6e1d6f359762a191c7e61d5 Mon Sep 17 00:00:00 2001
+From: Jean Ghali <[email protected]>
+Date: Sun, 19 Sep 2021 11:59:50 +0000
+Subject: [PATCH] #16635: Replace hb_subset, removed in harfbuzz 3.0, by
+ hb_subset_or_fail
+
+git-svn-id: svn://scribus.net/trunk/Scribus@24707 
11d20701-8431-0410-a711-e3c959e3b870
+---
+ scribus/fonts/sfnt.cpp | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/scribus/fonts/sfnt.cpp b/scribus/fonts/sfnt.cpp
+index fca8b39158..b3dfa50dc6 100644
+--- a/scribus/fonts/sfnt.cpp
++++ b/scribus/fonts/sfnt.cpp
+@@ -1271,9 +1271,15 @@ namespace sfnt {
+ #endif
+ #endif
+ 
++#if HB_VERSION_ATLEAST(2, 9, 0)
++              QScopedPointer<hb_face_t, HbFaceDeleter> 
hbSubsetFace(hb_subset_or_fail(hbFullFace.get(), hbSubsetInput.get()));
++              if (hbSubsetFace.isNull())
++                      return QByteArray();
++#else
+               QScopedPointer<hb_face_t, HbFaceDeleter> 
hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
+               if (hbSubsetFace.isNull())
+                       return QByteArray();
++#endif
+ 
+               QScopedPointer<hb_blob_t, HbBlobDeleter> 
hbSubsetBlob(hb_face_reference_blob(hbSubsetFace.get()));
+               if (hbSubsetBlob.isNull())

Deleted: scribus-1.5.8-poppler-22.09.0.patch
===================================================================
--- scribus-1.5.8-poppler-22.09.0.patch 2023-02-28 09:52:46 UTC (rev 1405590)
+++ scribus-1.5.8-poppler-22.09.0.patch 2023-02-28 09:55:51 UTC (rev 1405591)
@@ -1,20 +0,0 @@
---- a/scribus/plugins/import/pdf/slaoutput.cpp
-+++ b/scribus/plugins/import/pdf/slaoutput.cpp
-@@ -3741,9 +3741,16 @@ void SlaOutputDev::getPenState(GfxState *state)
-                       break;
-       }
-       double lw = state->getLineWidth();
--      double *dashPattern;
-       int dashLength;
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(22, 9, 0)
-+      const double *dashPattern;
-+      const std::vector<double> &dash = state->getLineDash(&DashOffset);
-+      dashPattern = dash.data();
-+      dashLength = dash.size();
-+#else
-+      double *dashPattern;
-       state->getLineDash(&dashPattern, &dashLength, &DashOffset);
-+#endif
-       QVector<double> pattern(dashLength);
-       for (int i = 0; i < dashLength; ++i)
-       {

Copied: scribus/repos/community-x86_64/scribus-1.5.8-poppler-22.09.0.patch 
(from rev 1405590, scribus/trunk/scribus-1.5.8-poppler-22.09.0.patch)
===================================================================
--- scribus-1.5.8-poppler-22.09.0.patch                         (rev 0)
+++ scribus-1.5.8-poppler-22.09.0.patch 2023-02-28 09:55:51 UTC (rev 1405591)
@@ -0,0 +1,20 @@
+--- a/scribus/plugins/import/pdf/slaoutput.cpp
++++ b/scribus/plugins/import/pdf/slaoutput.cpp
+@@ -3741,9 +3741,16 @@ void SlaOutputDev::getPenState(GfxState *state)
+                       break;
+       }
+       double lw = state->getLineWidth();
+-      double *dashPattern;
+       int dashLength;
++#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(22, 9, 0)
++      const double *dashPattern;
++      const std::vector<double> &dash = state->getLineDash(&DashOffset);
++      dashPattern = dash.data();
++      dashLength = dash.size();
++#else
++      double *dashPattern;
+       state->getLineDash(&dashPattern, &dashLength, &DashOffset);
++#endif
+       QVector<double> pattern(dashLength);
+       for (int i = 0; i < dashLength; ++i)
+       {

Reply via email to