[arch-commits] Commit in paps/trunk (PKGBUILD freetype2.patch)

Gaëtan Bisson bisson at archlinux.org
Sun Nov 5 00:35:31 UTC 2017


    Date: Sunday, November 5, 2017 @ 00:35:30
  Author: bisson
Revision: 265416

upstream update

Modified:
  paps/trunk/PKGBUILD
Deleted:
  paps/trunk/freetype2.patch

-----------------+
 PKGBUILD        |   25 +++++++++----------------
 freetype2.patch |   15 ---------------
 2 files changed, 9 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-04 21:02:21 UTC (rev 265415)
+++ PKGBUILD	2017-11-05 00:35:30 UTC (rev 265416)
@@ -4,27 +4,20 @@
 # Contributor: Tim Yang <tdy at gmx.com>
 
 pkgname=paps
-pkgver=0.6.8
-pkgrel=6
-pkgdesc='UTF-8 to PostScript converter via Pango'
-url='http://paps.sourceforge.net/'
+pkgver=0.7.0
+pkgrel=1
+pkgdesc='Converts Unicode text to postscript and pdf using pango'
+url='https://github.com/dov/paps'
+arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('pango')
-arch=('i686' 'x86_64')
-source=("https://downloads.sourceforge.net/paps/paps-${pkgver}.tar.gz"
-        'freetype2.patch')
-sha256sums=('db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20'
-            '67b182e7f42d6ccad3c33c1d6f64187cd7ec5b60581d1f4b1fed2f458271d94a')
+source=("https://github.com/dov/paps/archive/${pkgver}.tar.gz")
+sha256sums=('7a18e8096944a21e0d9fcfb389770d1e7672ba90569180cb5d45984914cedb13')
 
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	export LDFLAGS=${LDFLAGS/,--as-needed/}
-	patch -p1 -i ../freetype2.patch
-}
-
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure --prefix=/usr --mandir=/usr/share/man
+	./autogen.sh
+	./configure --prefix=/usr
 	make
 }
 

Deleted: freetype2.patch
===================================================================
--- freetype2.patch	2017-11-04 21:02:21 UTC (rev 265415)
+++ freetype2.patch	2017-11-05 00:35:30 UTC (rev 265416)
@@ -1,15 +0,0 @@
-diff -Naur old/src/libpaps.c new/src/libpaps.c
---- old/src/libpaps.c	2014-03-19 19:11:54.491351129 -1000
-+++ new/src/libpaps.c	2014-03-19 19:14:37.795623928 -1000
-@@ -25,8 +25,9 @@
- 
- #include <pango/pango.h>
- #include <pango/pangoft2.h>
--#include <freetype/ftglyph.h>
--#include <freetype/ftoutln.h>
-+#include <ft2build.h>
-+#include FT_GLYPH_H
-+#include FT_OUTLINE_H
- #include <errno.h>
- #include <stdlib.h>
- #include <stdio.h>


More information about the arch-commits mailing list