[arch-commits] Commit in libharu/trunk (PKGBUILD)

2020-08-20 Thread Bruno Pagani via arch-commits
Date: Thursday, August 20, 2020 @ 10:08:17
  Author: archange
Revision: 685364

Merge two upstream patches

The project is dead, and the feature PR is required by VTK/ParaView

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |   35 ++-
 1 file changed, 22 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-20 09:55:33 UTC (rev 685363)
+++ PKGBUILD2020-08-20 10:08:17 UTC (rev 685364)
@@ -1,21 +1,30 @@
-# Maintainer: Sergej Pupykin 
-# Maintainer : SpepS 
+# Maintainer: Sven-Hendrik Haase 
 # Contributor: Auguste 
 # Contributor: Jose Negron 
 
 pkgname=libharu
 pkgver=2.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="C library for generating PDF documents"
+arch=(x86_64)
 url="https://github.com/libharu/libharu";
-arch=('x86_64')
-license=('custom:ZLIB')
-depends=('libpng' 'gcc-libs')
-source=("https://github.com/libharu/libharu/archive/RELEASE_${pkgver//./_}.tar.gz";)
-sha512sums=('ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41')
+license=(custom:ZLIB)
+depends=(libpng gcc-libs)
+source=(${url}/archive/RELEASE_${pkgver//./_}/${pkgname}-${pkgver}.tar.gz
+${pkgname}-157.patch::${url}/pull/157.patch
+${pkgname}-158.patch::${url}/pull/158.patch)
+sha512sums=('ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41'
+
'3b9474c0dad5e8903cea6af1403d28ce405d33cc7086e116ac5b2f6d9c4274e9c4dcf85c5719b7cae95fe72511bc3c79d65dd6ef440c4b951367f7b8a409386a'
+
'babf974b91e2b4c1abc8bdcf2a46f6a4b663fad8ff9af995c68a0a85a263c19cb4e13a9b90a058eba4f6a5c11a04e9ac1d43e223384652f3d398041a67fd9cb0')
 
+prepare() {
+  cd ${pkgname}-RELEASE_${pkgver//./_}
+  patch -p1 -i ../${pkgname}-157.patch
+  patch -p1 -i ../${pkgname}-158.patch
+}
+
 build() {
-  cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"
+  cd ${pkgname}-RELEASE_${pkgver//./_}
   touch include/config.h.in
   aclocal
   libtoolize
@@ -26,9 +35,9 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"
-  make DESTDIR="$pkgdir/" install
+  cd ${pkgname}-RELEASE_${pkgver//./_}
+  make DESTDIR="${pkgdir}" install
   # license
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  sed -n '102,120p' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  sed -n '102,120p' README > "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }


[arch-commits] Commit in libharu/trunk (PKGBUILD)

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 12:43:06
  Author: felixonmars
Revision: 658203

upgpkg: libharu 2.3.0-3: reproducibility rebuild

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-07 12:43:00 UTC (rev 658202)
+++ PKGBUILD2020-07-07 12:43:06 UTC (rev 658203)
@@ -5,7 +5,7 @@
 
 pkgname=libharu
 pkgver=2.3.0
-pkgrel=2
+pkgrel=3
 pkgdesc="C library for generating PDF documents"
 url="https://github.com/libharu/libharu";
 arch=('x86_64')


[arch-commits] Commit in libharu/trunk (PKGBUILD)

2018-06-04 Thread Felix Yan via arch-commits
Date: Monday, June 4, 2018 @ 13:35:39
  Author: felixonmars
Revision: 340306

upgpkg: libharu 2.3.0-2

BUILDINFO Rebuild

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-04 13:35:16 UTC (rev 340305)
+++ PKGBUILD2018-06-04 13:35:39 UTC (rev 340306)
@@ -6,7 +6,7 @@
 
 pkgname=libharu
 pkgver=2.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="C library for generating PDF documents"
 url="https://github.com/libharu/libharu";
 arch=('x86_64')
@@ -13,7 +13,7 @@
 license=('custom:ZLIB')
 depends=('libpng' 'gcc-libs')
 
source=("https://github.com/libharu/libharu/archive/RELEASE_${pkgver//./_}.tar.gz";)
-md5sums=('4f916aa49c3069b3a10850013c507460')
+sha512sums=('ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41')
 
 build() {
   cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"


[arch-commits] Commit in libharu/trunk (PKGBUILD)

2014-09-08 Thread Sergej Pupykin
Date: Monday, September 8, 2014 @ 15:26:46
  Author: spupykin
Revision: 118659

upgpkg: libharu 2.3.0-1

upd

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |   22 --
 1 file changed, 12 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-08 13:13:56 UTC (rev 118658)
+++ PKGBUILD2014-09-08 13:26:46 UTC (rev 118659)
@@ -5,27 +5,29 @@
 # Contributor: Jose Negron 
 
 pkgname=libharu
-pkgver=2.2.1
-pkgrel=5
+pkgver=2.3.0
+pkgrel=1
 pkgdesc="C library for generating PDF documents"
-url="http://libharu.org/";
+url="https://github.com/libharu/libharu";
 arch=('i686' 'x86_64')
 license=('custom:ZLIB')
 depends=('libpng' 'gcc-libs')
-source=("http://libharu.org/files/$pkgname-$pkgver.tar.gz";
-   libpng15.patch)
-md5sums=('63da8e087744f1d6cf16f9501b1cb766'
- '01ead345fba55e6374fe2dbf9be0db3e')
+source=("https://github.com/libharu/libharu/archive/RELEASE_${pkgver//./_}.tar.gz";)
+md5sums=('4f916aa49c3069b3a10850013c507460')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  patch -p1 <$srcdir/libpng15.patch
+  cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"
+  touch include/config.h.in
+  aclocal
+  libtoolize
+  automake --add-missing
+  autoconf
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-RELEASE_${pkgver//./_}"
   make DESTDIR="$pkgdir/" install
   # license
   install -d "$pkgdir/usr/share/licenses/$pkgname"



[arch-commits] Commit in libharu/trunk (PKGBUILD)

2014-03-25 Thread Sergej Pupykin
Date: Tuesday, March 25, 2014 @ 13:36:32
  Author: spupykin
Revision: 108258

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-25 12:06:50 UTC (rev 108257)
+++ PKGBUILD2014-03-25 12:36:32 UTC (rev 108258)
@@ -7,8 +7,8 @@
 pkgname=libharu
 pkgver=2.2.1
 pkgrel=5
-pkgdesc="C/C++ library for generating PDF documents"
-url="http://libharu.org/wiki/Main_Page";
+pkgdesc="C library for generating PDF documents"
+url="http://libharu.org/";
 arch=('i686' 'x86_64')
 license=('custom:ZLIB')
 depends=('libpng' 'gcc-libs')



[arch-commits] Commit in libharu/trunk (PKGBUILD)

2013-11-01 Thread Sergej Pupykin
Date: Friday, November 1, 2013 @ 22:08:46
  Author: spupykin
Revision: 100195

upgpkg: libharu 2.2.1-5

upd

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-01 21:08:42 UTC (rev 100194)
+++ PKGBUILD2013-11-01 21:08:46 UTC (rev 100195)
@@ -6,7 +6,7 @@
 
 pkgname=libharu
 pkgver=2.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="C/C++ library for generating PDF documents"
 url="http://libharu.org/wiki/Main_Page";
 arch=('i686' 'x86_64')



[arch-commits] Commit in libharu/trunk (PKGBUILD)

2013-04-29 Thread Sergej Pupykin
Date: Monday, April 29, 2013 @ 16:37:10
  Author: spupykin
Revision: 89485

upgpkg: libharu 2.2.1-4

upd

Modified:
  libharu/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-29 14:37:04 UTC (rev 89484)
+++ PKGBUILD2013-04-29 14:37:10 UTC (rev 89485)
@@ -6,7 +6,7 @@
 
 pkgname=libharu
 pkgver=2.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc="C/C++ library for generating PDF documents"
 url="http://libharu.org/wiki/Main_Page";
 arch=('i686' 'x86_64')