rpms/inkscape/devel inkscape-0.46-cxxinclude.patch, NONE, 1.1 inkscape-0.46-desktop.patch, NONE, 1.1 inkscape-0.46-uniconv.patch, NONE, 1.1 inkscape.spec, 1.55, 1.56 inkscape-0.45.1-desktop.patch, 1.2, NONE inkscape-16571-cxxinclude.patch, 1.1, NONE

Lubomir Rintel (lkundrak) fedora-extras-commits at redhat.com
Wed Aug 13 21:39:09 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/inkscape/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22417

Modified Files:
	inkscape.spec 
Added Files:
	inkscape-0.46-cxxinclude.patch inkscape-0.46-desktop.patch 
	inkscape-0.46-uniconv.patch 
Removed Files:
	inkscape-0.45.1-desktop.patch inkscape-16571-cxxinclude.patch 
Log Message:
* Wed Aug 13 2008 Lubomir Rintel <lkundrak at v3.sk> - 0.46-5
- Rediff patches for zero fuzz
- Use uniconvertor to handle CDR and WMF (#458845)


inkscape-0.46-cxxinclude.patch:

--- NEW FILE inkscape-0.46-cxxinclude.patch ---
diff -up inkscape-0.46/src/Makefile.in.cxxinclude inkscape-0.46/src/Makefile.in
--- inkscape-0.46/src/Makefile.in.cxxinclude	2008-03-11 05:47:10.000000000 +0100
+++ inkscape-0.46/src/Makefile.in	2008-08-13 23:26:52.000000000 +0200
@@ -1487,7 +1487,8 @@ INCLUDES = \
 	$(POPPLER_GLIB_CFLAGS)	\
 	-DPOTRACE=\"potrace\"	\
 	$(INKSCAPE_CFLAGS) \
-	-I$(top_srcdir)/cxxtest
+	-I$(top_srcdir)/cxxtest \
+	-I$(top_srcdir)/src/extension/script
 
 @PLATFORM_WIN32_TRUE at win32_sources = winmain.cpp registrytool.cpp registrytool.h
 @PLATFORM_WIN32_TRUE at win32ldflags = -lcomdlg32

inkscape-0.46-desktop.patch:

--- NEW FILE inkscape-0.46-desktop.patch ---
Make desktop-file-validate and rpmlint happy, handle compressed svgs (#245413)
and let it conform enough not to break the build in Rawhide.

(Lubomir Kundrak <lkundrak at redhat.com>)
https://bugs.launchpad.net/inkscape/+bug/190420

diff -up inkscape-0.46/inkscape.desktop.in.desktop inkscape-0.46/inkscape.desktop.in
--- inkscape-0.46/inkscape.desktop.in.desktop	2008-03-11 05:21:19.000000000 +0100
+++ inkscape-0.46/inkscape.desktop.in	2008-08-13 23:29:56.000000000 +0200
@@ -2,18 +2,16 @@
 _Name=Inkscape Vector Graphics Editor
 _Comment=Create and edit Scalable Vector Graphics images
 
-Encoding=UTF-8
 Version=1.0
 
 Type=Application
-Categories=Application;Graphics;VectorGraphics;GTK;
+Categories=Graphics;VectorGraphics;GTK;
 
-MimeType=image/svg+xml
+MimeType=image/svg+xml;image/svg+xml-compressed;
 
-FilePattern=inkscape
 Exec=inkscape %F
 TryExec=inkscape
 Terminal=false
 StartupNotify=true
 
-Icon=inkscape.png
+Icon=inkscape

inkscape-0.46-uniconv.patch:

--- NEW FILE inkscape-0.46-uniconv.patch ---
See https://bugs.launchpad.net/inkscape/+bug/226383
https://bugzilla.redhat.com/show_bug.cgi?id=458845

Lubomir Rintel <lkundrak at v3.sk>

diff -up inkscape-0.46/inkscape.desktop.in.uniconv inkscape-0.46/inkscape.desktop.in
diff -up inkscape-0.46/inkscape.desktop.in.uniconv inkscape-0.46/inkscape.desktop.in
--- inkscape-0.46/inkscape.desktop.in.uniconv	2008-08-13 23:31:17.000000000 +0200
+++ inkscape-0.46/inkscape.desktop.in	2008-08-13 23:32:35.000000000 +0200
@@ -7,7 +7,7 @@ Version=1.0
 Type=Application
 Categories=Graphics;VectorGraphics;GTK;
 
-MimeType=image/svg+xml;image/svg+xml-compressed;
+MimeType=image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;image/x-wmf;
 
 Exec=inkscape %F
 TryExec=inkscape
diff -up inkscape-0.46/share/extensions/cdr2svg.sh.uniconv inkscape-0.46/share/extensions/cdr2svg.sh
--- inkscape-0.46/share/extensions/cdr2svg.sh.uniconv	2008-03-11 05:21:10.000000000 +0100
+++ inkscape-0.46/share/extensions/cdr2svg.sh	2008-08-13 23:31:17.000000000 +0200
@@ -4,7 +4,7 @@ TMPDIR="${TMPDIR-/tmp}"
 TEMPFILENAME=`mktemp 2>/dev/null || echo "$TMPDIR/$$"`
 TEMPFILENAME=${TEMPFILENAME}.svg
 
-uniconv "$1" "${TEMPFILENAME}" > /dev/null 2>&1 || rc=1
+unviconvertor "$1" "${TEMPFILENAME}" > /dev/null 2>&1 || rc=1
 
 cat < "${TEMPFILENAME}" || rc=1
 rm -f "${TEMPFILENAME}"
diff -up inkscape-0.46/share/extensions/cdr_input.inx.uniconv inkscape-0.46/share/extensions/cdr_input.inx
--- inkscape-0.46/share/extensions/cdr_input.inx.uniconv	2008-03-11 05:21:07.000000000 +0100
+++ inkscape-0.46/share/extensions/cdr_input.inx	2008-08-13 23:31:17.000000000 +0200
@@ -1,7 +1,7 @@
 <inkscape-extension>
     <_name>Corel DRAW Input</_name>
     <id>org.inkscape.input.cdr</id>
-    <dependency type="executable" location="path">uniconv</dependency>
+    <dependency type="executable" location="path">unviconvertor</dependency>
     <dependency type="executable" location="extensions">cdr2svg.sh</dependency>
     <input>
         <extension>.cdr</extension>
diff -up inkscape-0.46/share/extensions/wmf_input.inx.uniconv inkscape-0.46/share/extensions/wmf_input.inx
--- inkscape-0.46/share/extensions/wmf_input.inx.uniconv	2008-03-11 05:21:10.000000000 +0100
+++ inkscape-0.46/share/extensions/wmf_input.inx	2008-08-13 23:31:17.000000000 +0200
@@ -1,7 +1,7 @@
 <inkscape-extension>
     <_name>Windows Metafile Input</_name>
     <id>org.inkscape.input.wmf</id>
-    <dependency type="executable" location="path">uniconv</dependency>
+    <dependency type="executable" location="path">unviconvertor</dependency>
     <dependency type="executable" location="extensions">cdr2svg.sh</dependency>
     <input>
         <extension>.wmf</extension>


Index: inkscape.spec
===================================================================
RCS file: /cvs/pkgs/rpms/inkscape/devel/inkscape.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- inkscape.spec	9 Jul 2008 09:54:35 -0000	1.55
+++ inkscape.spec	13 Aug 2008 21:38:38 -0000	1.56
@@ -1,19 +1,20 @@
 Name:           inkscape
 Version:        0.46
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Vector-based drawing program using SVG
 
 Group:          Applications/Productivity
 License:        GPLv2+
 URL:            http://inkscape.sourceforge.net/
 Source0:        http://download.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
-Patch0:         inkscape-16571-cxxinclude.patch
-Patch1:         inkscape-0.45.1-desktop.patch
+Patch0:         inkscape-0.46-cxxinclude.patch
+Patch1:         inkscape-0.46-desktop.patch
 Patch2:         inkscape-0.46pre2-icons.patch
 Patch3:         inkscape-0.46-fixlatex.patch
 Patch4:         inkscape-0.46-gtkopen.patch
 Patch5:         inkscape-0.46-gtk2.13.3.patch
 Patch6:         inkscape-0.46-poppler-0.8.3.patch
+Patch7:         inkscape-0.46-uniconv.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -53,6 +54,7 @@
 Requires:       numpy
 Requires:       PyXML
 Requires:       python-lxml
+Requires:       uniconvertor
 
 Requires(post):   desktop-file-utils
 Requires(postun): desktop-file-utils
@@ -80,6 +82,7 @@
 %patch4 -p0 -b .gtkopen
 %patch5 -p1 -b .gtk2.13.3
 %patch6 -p1 -b .poppler-0.8.3
+%patch7 -p1 -b .uniconv
 find -type f -regex '.*\.\(cpp\|h\)' -perm +111 -exec chmod -x {} ';'
 find share/extensions/ -type f -regex '.*\.py' -perm +111 -exec chmod -x {} ';'
 dos2unix -k -q share/extensions/*.py
@@ -139,6 +142,10 @@
 
 
 %changelog
+* Wed Aug 13 2008 Lubomir Rintel <lkundrak at v3.sk> - 0.46-5
+- Rediff patches for zero fuzz
+- Use uniconvertor to handle CDR and WMF (#458845)
+
 * Wed Jul 09 2008 Lubomir Rintel <lkundrak at v3.sk> - 0.46-4
 - Fix compile issues with newer gtk and poppler
 


--- inkscape-0.45.1-desktop.patch DELETED ---


--- inkscape-16571-cxxinclude.patch DELETED ---




More information about the fedora-extras-commits mailing list