* [gentoo-commits] gentoo-x86 commit in app-text/libgxps/files: libgxps-0.2.0-libm.patch libgxps-0.2.0-libpng15.patch
@ 2011-11-23 20:25 Alexandre Rostovtsev (tetromino)
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Rostovtsev (tetromino) @ 2011-11-23 20:25 UTC (permalink / raw
To: gentoo-commits
tetromino 11/11/23 20:25:51
Added: libgxps-0.2.0-libm.patch
libgxps-0.2.0-libpng15.patch
Log:
Bump. Improves support for bezier curves and opacity, and adds utilities for converting XPS to other formats.
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Revision Changes Path
1.1 app-text/libgxps/files/libgxps-0.2.0-libm.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libgxps/files/libgxps-0.2.0-libm.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libgxps/files/libgxps-0.2.0-libm.patch?rev=1.1&content-type=text/plain
Index: libgxps-0.2.0-libm.patch
===================================================================
From 7bc33181d7e44aab35db01d4ac1560dcf408d5d9 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Mon, 21 Nov 2011 08:51:54 +0100
Subject: [PATCH] Build: link with libm. Fixes bgo#664439.
---
configure.ac | 1 +
tools/Makefile.am | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index b7d38c6..7ef4310 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ AC_ISC_POSIX
AC_PROG_CC_STDC
AC_STDC_HEADERS
AC_C_BIGENDIAN
+LT_LIB_M
GNOME_MAINTAINER_MODE_DEFINES
GNOME_COMPILE_WARNINGS
diff --git a/tools/Makefile.am b/tools/Makefile.am
index ccb7e05..0bf1538 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -54,6 +54,7 @@ xpstopng_CFLAGS = \
xpstopng_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(LIBPNG_LIBS)
endif # HAVE_LIBPNG
@@ -77,6 +78,7 @@ xpstojpeg_CFLAGS = \
xpstojpeg_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(LIBJPEG)
endif # HAVE_LIBJPEG
@@ -99,6 +101,7 @@ xpstopdf_CFLAGS = \
xpstopdf_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(CAIRO_PDF_LIBS)
endif # HAVE_CAIRO_PDF
@@ -121,6 +124,7 @@ xpstops_CFLAGS = \
xpstops_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(CAIRO_PS_LIBS)
endif # HAVE_CAIRO_PS
@@ -143,5 +147,6 @@ xpstosvg_CFLAGS = \
xpstosvg_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(CAIRO_SVG_LIBS)
-endif # HAVE_CAIRO_SVG
\ No newline at end of file
+endif # HAVE_CAIRO_SVG
--
1.7.8.rc3
1.1 app-text/libgxps/files/libgxps-0.2.0-libpng15.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libgxps/files/libgxps-0.2.0-libpng15.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/libgxps/files/libgxps-0.2.0-libpng15.patch?rev=1.1&content-type=text/plain
Index: libgxps-0.2.0-libpng15.patch
===================================================================
From 1b8587d4abe24a4416628638f54e58d52287551a Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Wed, 23 Nov 2011 13:24:50 -0500
Subject: [PATCH] Fix building with libpng15
https://bugzilla.gnome.org/show_bug.cgi?id=664666
---
tools/gxps-png-writer.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tools/gxps-png-writer.c b/tools/gxps-png-writer.c
index 7d78ec9..369e0e0 100644
--- a/tools/gxps-png-writer.c
+++ b/tools/gxps-png-writer.c
@@ -23,6 +23,11 @@
#include <png.h>
#include <stdint.h>
+/* starting with libpng15, png.h no longer #includes zlib.h */
+#ifndef Z_BEST_COMPRESSION
+#define Z_BEST_COMPRESSION 9
+#endif
+
struct _GXPSPngWriter {
GObject parent;
--
1.7.8.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-text/libgxps/files: libgxps-0.2.0-libm.patch libgxps-0.2.0-libpng15.patch
@ 2013-03-05 23:05 Gilles Dartiguelongue (eva)
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Dartiguelongue (eva) @ 2013-03-05 23:05 UTC (permalink / raw
To: gentoo-commits
eva 13/03/05 23:05:35
Removed: libgxps-0.2.0-libm.patch
libgxps-0.2.0-libpng15.patch
Log:
Clean up old revision.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key C6085806)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-05 23:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 23:05 [gentoo-commits] gentoo-x86 commit in app-text/libgxps/files: libgxps-0.2.0-libm.patch libgxps-0.2.0-libpng15.patch Gilles Dartiguelongue (eva)
-- strict thread matches above, loose matches on Subject: below --
2011-11-23 20:25 Alexandre Rostovtsev (tetromino)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox