- update libspectre to 0.2.3
* bugfixes and enhancements ok ajacoutot@
This commit is contained in:
parent
2d68aec190
commit
104a083fec
@ -1,15 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2009/09/11 10:40:11 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2009/10/25 16:01:09 jasper Exp $
|
||||
|
||||
# libgs from ghostscript is only provided on shared libs archs
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= library for rendering Postscript documents
|
||||
|
||||
DISTNAME= libspectre-0.2.2
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
DISTNAME= libspectre-0.2.3
|
||||
CATEGORIES= print
|
||||
|
||||
SHARED_LIBS= spectre 0.0 # .2.2
|
||||
SHARED_LIBS= spectre 0.1 # .2.3
|
||||
|
||||
HOMEPAGE= http://libspectre.freedesktop.org/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (libspectre-0.2.2.tar.gz) = BgBlNlPZMT474TWyIX6n/Q==
|
||||
RMD160 (libspectre-0.2.2.tar.gz) = rKPse5/7UhxOOM8yoUy5rwfS8Ak=
|
||||
SHA1 (libspectre-0.2.2.tar.gz) = 1ZaNNMS8k80oDqNdjbU89B+BHtw=
|
||||
SHA256 (libspectre-0.2.2.tar.gz) = lNTntZFvkl+ZI4Aje8askicpFTG0zRiiHfVMrvFH9wQ=
|
||||
SIZE (libspectre-0.2.2.tar.gz) = 391727
|
||||
MD5 (libspectre-0.2.3.tar.gz) = nFhn6XDRutX4CAm/20MGwQ==
|
||||
RMD160 (libspectre-0.2.3.tar.gz) = 50n2e/bOTM+Z4A9SbVCuOEbV7K4=
|
||||
SHA1 (libspectre-0.2.3.tar.gz) = PPNKjN+fpQq8evgGmASryBcxUh4=
|
||||
SHA256 (libspectre-0.2.3.tar.gz) = DMTjC5N5o4OJTiVZxeISXdkPgUEGtGKEWdkNubWsi0E=
|
||||
SIZE (libspectre-0.2.3.tar.gz) = 352308
|
||||
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2009/08/18 12:12:46 ajacoutot Exp $
|
||||
|
||||
Use system ghostscript headers.
|
||||
|
||||
--- configure.orig Tue Aug 18 14:03:31 2009
|
||||
+++ configure Tue Aug 18 14:03:46 2009
|
||||
@@ -21754,7 +21754,7 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
-ac_config_files="$ac_config_files Makefile Doxyfile libspectre/Makefile libspectre/spectre-version.h libspectre/ghostscript/Makefile test/Makefile libspectre.pc"
|
||||
+ac_config_files="$ac_config_files Makefile Doxyfile libspectre/Makefile libspectre/spectre-version.h test/Makefile libspectre.pc"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@@ -22367,7 +22367,6 @@ do
|
||||
"Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
|
||||
"libspectre/Makefile") CONFIG_FILES="$CONFIG_FILES libspectre/Makefile" ;;
|
||||
"libspectre/spectre-version.h") CONFIG_FILES="$CONFIG_FILES libspectre/spectre-version.h" ;;
|
||||
- "libspectre/ghostscript/Makefile") CONFIG_FILES="$CONFIG_FILES libspectre/ghostscript/Makefile" ;;
|
||||
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
|
||||
"libspectre.pc") CONFIG_FILES="$CONFIG_FILES libspectre.pc" ;;
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-libspectre_Makefile_in,v 1.1 2009/08/18 12:12:46 ajacoutot Exp $
|
||||
|
||||
Use system ghostscript headers.
|
||||
|
||||
--- libspectre/Makefile.in.orig Tue Aug 18 14:03:58 2009
|
||||
+++ libspectre/Makefile.in Tue Aug 18 14:04:05 2009
|
||||
@@ -213,7 +213,7 @@ sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-SUBDIRS = ghostscript
|
||||
+SUBDIRS =
|
||||
INCLUDES = \
|
||||
-I$(top_builddir) \
|
||||
-I$(srcdir) \
|
@ -1,33 +0,0 @@
|
||||
$OpenBSD: patch-libspectre_spectre-exporter-pdf_c,v 1.1 2009/09/11 10:40:11 ajacoutot Exp $
|
||||
|
||||
Add missing first argument in exporter pdf.
|
||||
from upstream git 077182e1fe53131d7c88cc1a0f278403e60bdc32
|
||||
|
||||
--- libspectre/spectre-exporter-pdf.c.orig Fri Sep 11 11:57:42 2009
|
||||
+++ libspectre/spectre-exporter-pdf.c Fri Sep 11 11:58:24 2009
|
||||
@@ -27,7 +27,7 @@ static SpectreStatus
|
||||
spectre_exporter_pdf_begin (SpectreExporter *exporter,
|
||||
const char *filename)
|
||||
{
|
||||
- char *args[8];
|
||||
+ char *args[9];
|
||||
int arg = 0;
|
||||
char *output_file;
|
||||
|
||||
@@ -40,6 +40,7 @@ spectre_exporter_pdf_begin (SpectreExporter *exporter,
|
||||
return SPECTRE_STATUS_EXPORTER_ERROR;
|
||||
}
|
||||
|
||||
+ args[arg++] = "libspectre"; /* This value doesn't really matter */
|
||||
args[arg++] = "-dMaxBitmap=10000000";
|
||||
args[arg++] = "-dBATCH";
|
||||
args[arg++] = "-dNOPAUSE";
|
||||
@@ -50,7 +51,7 @@ spectre_exporter_pdf_begin (SpectreExporter *exporter,
|
||||
args[arg++] = "-c";
|
||||
args[arg++] = ".setpdfwrite";
|
||||
|
||||
- if (!spectre_gs_run (exporter->gs, 8, args)) {
|
||||
+ if (!spectre_gs_run (exporter->gs, 9, args)) {
|
||||
free (output_file);
|
||||
spectre_gs_free (exporter->gs);
|
||||
exporter->gs = NULL;
|
Loading…
Reference in New Issue
Block a user