summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-04-12 02:49:03 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-04-12 02:49:03 +0000
commit8e92ffb95a9bf325a6337bfe08e4c0a6f123a9e7 (patch)
treedd7ad437650b708e6678491cc3220f05b7eab1c5 /gnome-base/librsvg/files
parentVersion bump, adds supports for new default background in gnome-themes-standa... (diff)
downloadgentoo-2-8e92ffb95a9bf325a6337bfe08e4c0a6f123a9e7.tar.gz
gentoo-2-8e92ffb95a9bf325a6337bfe08e4c0a6f123a9e7.tar.bz2
gentoo-2-8e92ffb95a9bf325a6337bfe08e4c0a6f123a9e7.zip
Version bump with numerous bugfixes. Deprecated /usr/bin/rsvg utility was removed. The rsvg-view-3 utility is now built only when USE="gtk tools".
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/librsvg/files')
-rw-r--r--gnome-base/librsvg/files/librsvg-2.36.0-rsvg-convert.1.patch85
-rw-r--r--gnome-base/librsvg/files/librsvg-2.36.0-rsvg-view-automagic.patch60
2 files changed, 145 insertions, 0 deletions
diff --git a/gnome-base/librsvg/files/librsvg-2.36.0-rsvg-convert.1.patch b/gnome-base/librsvg/files/librsvg-2.36.0-rsvg-convert.1.patch
new file mode 100644
index 000000000000..f4b9a0011250
--- /dev/null
+++ b/gnome-base/librsvg/files/librsvg-2.36.0-rsvg-convert.1.patch
@@ -0,0 +1,85 @@
+From 3b246c8cf907b0f2ed491b4fe452bb7f3ee55cfc Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Sun, 8 Apr 2012 14:18:24 -0400
+Subject: [PATCH] Rename rsvg.1 to rsvg-convert.1 and update for
+ rsvg-convert's options
+
+https://bugzilla.gnome.org/show_bug.cgi?id=673748
+---
+ Makefile.am | 4 +---
+ rsvg-convert.1 | 28 ++++++++++++++++++++--------
+ 2 files changed, 21 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 8e2732b..1adb278 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -105,9 +105,7 @@ librsvginc_HEADERS = \
+ librsvg-features.h \
+ librsvg-enum-types.h
+
+-if HAVE_GTK_2
+-dist_man_MANS = rsvg.1
+-endif
++dist_man_MANS = rsvg-convert.1
+
+ rsvg_convert_SOURCES = \
+ rsvg-convert.c \
+diff --git a/rsvg-convert.1 b/rsvg-convert.1
+index 51a478d..6af32fd 100644
+--- a/rsvg.1
++++ b/rsvg-convert.1
+@@ -1,12 +1,12 @@
+-.TH rsvg 1
++.TH rsvg-convert 1
+ .SH NAME
+-rsvg \- Turn SVG files into raster images.
++rsvg-convert \- turn SVG files into raster images.
+ .SH SYNOPSIS
+-.B rsvg
+-[options] in.svg out.png
++.B rsvg-convert
++[options] in.svg > out.png
+ .I ""
+ .SH DESCRIPTION
+-RSVG converts SVG images into PNG, JPEG, and ICO raster images.
++Converts SVG images into PNG raster images, PDF, PS, or SVG vector images, or dumps of Cairo XML or recording surfaces.
+ .SS OPTIONS
+ .TP
+ .I "\-d \-\-dpi-x number"
+@@ -21,17 +21,29 @@ X Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
+ .I "\-y \-\-y\-zoom number"
+ Y Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
+ .TP
++.I "\-z \-\-\-zoom number"
++Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
++.TP
+ .I "\-w \-\-width integer"
+ Specify how wide you wish the image to be. If unspecified, the natural width of the image is used as the default.
+ .TP
+ .I "\-h \-\-height integer"
+ Specify how tall you wish the image to be. If unspecified, the natural height of the image is used as the default.
+ .TP
+-.I "\-f \-\-format [png, jpeg, ico]"
++.I "\-f \-\-format [png, pdf, ps, svg, xml, recording]"
+ Specify the output format you wish the image to be saved in. If unspecified, PNG is used as the default.
+ .TP
+-.I "\-q \-\-quality integer"
+-Specify JPEG compression factor. Number must be between 1 and 100, inclusive.
++.I "\-o \-\-output filename"
++Specify the output filename. If unspecified, outputs to stdout.
++.TP
++.I "\-a \-\-keep-aspect-ratio"
++Specify that the aspect ratio is to be preserved. If unspecified, aspect ratio will not be preserved.
++.TP
++.I "\-b \-\-background-color [black, white, #abccee, #aaa...]"
++Specify the background color. If unspecified, none is used as the default.
++.TP
++.I "\-\-base-uri uri"
++Specify the base URI for SVG files. If unspecified, none is used as the default.
+ .TP
+ .I "\-v \-\-version"
+ Display what version of rsvg this is.
+--
+1.7.8.5
+
diff --git a/gnome-base/librsvg/files/librsvg-2.36.0-rsvg-view-automagic.patch b/gnome-base/librsvg/files/librsvg-2.36.0-rsvg-view-automagic.patch
new file mode 100644
index 000000000000..854a554536cd
--- /dev/null
+++ b/gnome-base/librsvg/files/librsvg-2.36.0-rsvg-view-automagic.patch
@@ -0,0 +1,60 @@
+From 5858b0b859c9a5fbdfb05f3dc93b47d672443d7a Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Wed, 11 Apr 2012 20:22:49 -0400
+Subject: [PATCH] Make choice of whether to build rsvg-view-3 non-automagic
+
+---
+ Makefile.am | 2 +-
+ configure.in | 17 +++++++++++++++++
+ 2 files changed, 18 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 1adb278..77c2ad1 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -11,7 +11,7 @@ endif
+ lib_LTLIBRARIES = librsvg-@RSVG_API_MAJOR_VERSION@.la
+
+ bin_PROGRAMS = rsvg-convert
+-if HAVE_GTK_3
++if ENABLE_RSVG_VIEW
+ bin_PROGRAMS += rsvg-view-3
+ endif
+
+diff --git a/configure.in b/configure.in
+index 005aff4..68b522c 100644
+--- a/configure.in
++++ b/configure.in
+@@ -154,6 +154,22 @@ fi
+
+ AM_CONDITIONAL([ENABLE_GTK2_ENGINE],[test "$enable_gtk_theme" = "yes"])
+
++# ===========================================================================
++# rsvg-view-3 application
++# ===========================================================================
++
++if test "have_gtk_3"; then
++ AC_MSG_CHECKING([whether to build the rsvg-view-3 application])
++ AC_ARG_ENABLE([rsvg-view],
++ [AS_HELP_STRING([--disable-rsvg-view],[Disable the rsvg-view-3 application (default=yes)])],
++ [],[enable_rsvg_view=yes])
++ AC_MSG_RESULT([$enable_rsvg_view])
++else
++ enable_rsvg_view=no
++fi
++
++AM_CONDITIONAL([ENABLE_RSVG_VIEW],[test "$enable_rsvg_view" = "yes"])
++
+ dnl ===========================================================================
+ dnl GDK-Pixbuf SVG loader
+ dnl ===========================================================================
+@@ -339,5 +355,6 @@ librsvg-$VERSION
+ GTK 2.0: ${have_gtk_2}
+ GTK 3.0: ${have_gtk_3}
+ Build GTK 2.0 theme engine: ${enable_gtk_theme}
++ Build rsvg-view-3 application: ${enable_rsvg_view}
+ Build miscellaenous tools: ${build_misc_tools}
+ "
+--
+1.7.8.5
+