Accepting request 134191 from GNOME:Apps

Add inkscape-apply-invert-transform.patch: Apply invert transform to all image tags (bnc#779560 lp#840625). (forwarded request 134189 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/134191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=63
This commit is contained in:
Ismail Dönmez 2012-09-14 10:26:41 +00:00 committed by Git OBS Bridge
parent 226873e619
commit d74ef13ddd
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff -Naur a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
--- a/src/extension/internal/pdfinput/svg-builder.cpp 2011-07-08 13:25:09.468790000 -0500
+++ b/src/extension/internal/pdfinput/svg-builder.cpp 2012-09-12 09:10:28.477790373 -0500
@@ -1600,9 +1600,7 @@
sp_repr_set_svg_double(image_node, "width", 1);
sp_repr_set_svg_double(image_node, "height", 1);
// Set transformation
- if (_is_top_level) {
- svgSetTransform(image_node, 1.0, 0.0, 0.0, -1.0, 0.0, 1.0);
- }
+ svgSetTransform(image_node, 1.0, 0.0, 0.0, -1.0, 0.0, 1.0);
// Create href
if (embed_image) {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 12 15:40:36 UTC 2012 - malcolmlewis@opensuse.org
- Add inkscape-apply-invert-transform.patch: Apply invert
transform to all image tags (bnc#779560 lp#840625).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 18 17:51:12 UTC 2012 - dimstar@opensuse.org Wed Jul 18 17:51:12 UTC 2012 - dimstar@opensuse.org

View File

@ -35,6 +35,8 @@ Patch1: inkscape-packages.patch
Patch2: inkscape-return-on-exit.patch Patch2: inkscape-return-on-exit.patch
# PATCH-FIX-UPSTREAM inkscape-poppler20.patch rh#822413 lp#1005565 badshah400@gmail.com -- Fix building with poppler 0.20.0 # PATCH-FIX-UPSTREAM inkscape-poppler20.patch rh#822413 lp#1005565 badshah400@gmail.com -- Fix building with poppler 0.20.0
Patch3: inkscape-poppler20.patch Patch3: inkscape-poppler20.patch
# PATCH-FIX-UPSTREAM inkscape-apply-invert-transform.patch bnc#779560 lp#840625 malcolmlewis@opensuse.org -- Apply invert transform to all image tags.
Patch4: inkscape-apply-invert-transform.patch
BuildRequires: boost-devel BuildRequires: boost-devel
BuildRequires: docbook-toys BuildRequires: docbook-toys
BuildRequires: fdupes BuildRequires: fdupes
@ -160,6 +162,7 @@ Inkscape is a vector illustration program for the GNOME desktop.
%if 0%{?suse_version} > 1210 %if 0%{?suse_version} > 1210
%patch3 -p1 %patch3 -p1
%endif %endif
%patch4 -p1
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"