This commit is contained in:
commit
fdb77e7943
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
7
gc6.4.dif
Normal file
7
gc6.4.dif
Normal file
@ -0,0 +1,7 @@
|
||||
--- acinclude.m4
|
||||
+++ acinclude.m4
|
||||
@@ -46,4 +46,3 @@
|
||||
${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION)
|
||||
])
|
||||
|
||||
-sinclude(libtool.m4)
|
3
gc6.4.tar.bz2
Normal file
3
gc6.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d73a84ec25c90010836f027cee7a85f6a35295f600771daa99a47535762a4d3
|
||||
size 586767
|
3
inkscape-0.44.1.tar.bz2
Normal file
3
inkscape-0.44.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eab952a73f5fe2e19425ef988de21e4d1bd91b277842934f6027ef7aad60ec7e
|
||||
size 7184912
|
89
inkscape-boehm-gc.patch
Normal file
89
inkscape-boehm-gc.patch
Normal file
@ -0,0 +1,89 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -91,6 +91,13 @@
|
||||
])
|
||||
])
|
||||
|
||||
+AC_ARG_WITH(gc, "where is gc install located", [test x"$with_gc" = xno && AC_MSG_ERROR([You can not build inkscape without gc])],
|
||||
+ [with_gc="yes"])
|
||||
+test x"$with_gc" = xyes && with_gc="/usr"
|
||||
+SAVE_CPPFLAGS="$CPPFLAGS"
|
||||
+CPPFLAGS="$CPPFLAGS -I$with_gc/include"
|
||||
+SAVE_LDFLAGS="$LDFLAGS"
|
||||
+LDFLAGS="$LDFLAGS -L$with_gc/lib"
|
||||
AC_CHECK_HEADERS([gc.h gc/gc.h],
|
||||
[
|
||||
# To test for the different required libs, I have to
|
||||
@@ -98,12 +105,12 @@
|
||||
# desired function name. They're all in libgc.
|
||||
# The "break" will exit from the top level
|
||||
# AC_CHECK_HEADERS.
|
||||
- gc_libs=""
|
||||
+ gc_libs="-ldl"
|
||||
AC_CHECK_LIB(gc, GC_init,
|
||||
[gc_ok=yes;
|
||||
- LIBS="-lgc $gc_libs $LIBS";
|
||||
+ LIBS="-lgc $gc_libs $LIBS -L$with_gc/lib";
|
||||
break], [gc_ok=no], [$gc_libs])
|
||||
- gc_libs="-lpthread"
|
||||
+ gc_libs="-lpthread -ldl"
|
||||
AC_CHECK_LIB(gc, GC_malloc,
|
||||
[gc_ok=yes;
|
||||
LIBS="-lgc $gc_libs $LIBS";
|
||||
@@ -120,31 +127,31 @@
|
||||
break], [gc_ok=no], [$gc_libs])
|
||||
break],
|
||||
[gc_ok=no])
|
||||
-if test "x$gc_ok" = "xyes"; then
|
||||
- AC_MSG_CHECKING([libgc version 6.4+])
|
||||
- AC_RUN_IFELSE(
|
||||
- [AC_LANG_SOURCE([[
|
||||
- #ifdef HAVE_GC_GC_H
|
||||
- # include <gc/gc.h>
|
||||
- #else
|
||||
- # include <gc.h>
|
||||
- #endif
|
||||
- #include <stdio.h>
|
||||
- extern unsigned GC_version;
|
||||
- int main(void){
|
||||
- unsigned min = ((6 << 16) | (4 << 8) | 0);
|
||||
- printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF);
|
||||
- if (GC_version>=min) return 0;
|
||||
- return 1;
|
||||
- }]])],
|
||||
- [gc_ok=yes],
|
||||
- [gc_ok=no]
|
||||
- )
|
||||
- AC_MSG_RESULT([$gc_ok])
|
||||
-fi
|
||||
-if test "x$gc_ok" != "xyes"; then
|
||||
- AC_MSG_ERROR([libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc])
|
||||
-fi
|
||||
+dnl if test "x$gc_ok" = "xyes"; then
|
||||
+dnl AC_MSG_CHECKING([libgc version 6.4+])
|
||||
+dnl AC_RUN_IFELSE(
|
||||
+dnl [AC_LANG_SOURCE([[
|
||||
+dnl #ifdef HAVE_GC_GC_H
|
||||
+dnl # include <gc/gc.h>
|
||||
+dnl #else
|
||||
+dnl # include <gc.h>
|
||||
+dnl #endif
|
||||
+dnl #include <stdio.h>
|
||||
+dnl extern unsigned GC_version;
|
||||
+dnl int main(void){
|
||||
+dnl unsigned min = ((6 << 16) | (4 << 8) | 0);
|
||||
+dnl printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF);
|
||||
+dnl if (GC_version>=min) return 0;
|
||||
+dnl return 1;
|
||||
+dnl }]])],
|
||||
+dnl [gc_ok=yes],
|
||||
+dnl [gc_ok=no]
|
||||
+dnl )
|
||||
+dnl AC_MSG_RESULT([$gc_ok])
|
||||
+dnl fi
|
||||
+dnl if test "x$gc_ok" != "xyes"; then
|
||||
+dnl AC_MSG_ERROR([libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc])
|
||||
+dnl fi
|
||||
|
||||
AC_CHECK_HEADERS([malloc.h])
|
||||
AC_CHECK_FUNCS([mallinfo], [
|
11
inkscape-bug-189159.patch
Normal file
11
inkscape-bug-189159.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/desktop-style.cpp
|
||||
+++ src/desktop-style.cpp
|
||||
@@ -474,7 +474,7 @@
|
||||
|
||||
if (paint_res->set && paint_effectively_set && paint->type == SP_PAINT_TYPE_COLOR) {
|
||||
|
||||
- gfloat d[3];
|
||||
+ gfloat d[4];
|
||||
sp_color_get_rgb_floatv (&paint->value.color, d);
|
||||
|
||||
// Check if this color is the same as previous
|
10
inkscape-configure.patch
Normal file
10
inkscape-configure.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -33,7 +33,6 @@
|
||||
AC_LANG(C++)
|
||||
AC_ISC_POSIX
|
||||
AC_PROG_CXX
|
||||
-AM_PROG_CC_STDC
|
||||
AM_PROG_AS
|
||||
AC_HEADER_STDC
|
||||
|
11
inkscape-enable-perl.patch
Normal file
11
inkscape-enable-perl.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/Makefile_insert
|
||||
+++ src/Makefile_insert
|
||||
@@ -290,7 +290,7 @@
|
||||
$(FREETYPE_LIBS) \
|
||||
$(kdeldadd) \
|
||||
$(win32ldflags) \
|
||||
- $(PERL_LIBS) \
|
||||
+ $(PERL_LDFLAGS) \
|
||||
$(PYTHON_LIBS) \
|
||||
$(LIBLOUDMOUTH_LIBS)
|
||||
|
25
inkscape-invalid-conversion.patch
Normal file
25
inkscape-invalid-conversion.patch
Normal file
@ -0,0 +1,25 @@
|
||||
--- src/extension/script/inkscape_py_wrap.cpp
|
||||
+++ src/extension/script/inkscape_py_wrap.cpp
|
||||
@@ -802,7 +802,7 @@
|
||||
obj = pyobj;
|
||||
if (PyCFunction_Check(obj)) {
|
||||
/* here we get the method pointer for callbacks */
|
||||
- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
|
||||
+ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
|
||||
c = doc ? strstr(doc, "swig_ptr: ") : 0;
|
||||
if (c) {
|
||||
c += 10;
|
||||
@@ -977,11 +977,11 @@
|
||||
swig_type_info **types_initial) {
|
||||
int i;
|
||||
for (i = 0; methods[i].ml_name; ++i) {
|
||||
- char *c = methods[i].ml_doc;
|
||||
+ const char *c = methods[i].ml_doc;
|
||||
if (c && (c = strstr(c, "swig_ptr: "))) {
|
||||
int j;
|
||||
swig_const_info *ci = 0;
|
||||
- char *name = c + 10;
|
||||
+ const char *name = c + 10;
|
||||
for (j = 0; const_table[j].type; j++) {
|
||||
if (strncmp(const_table[j].name, name,
|
||||
strlen(const_table[j].name)) == 0) {
|
11
inkscape-siox-max.patch
Normal file
11
inkscape-siox-max.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/trace/siox.cpp
|
||||
+++ src/trace/siox.cpp
|
||||
@@ -1632,7 +1632,7 @@
|
||||
{
|
||||
float max= -1000000.0f;
|
||||
for (int i=0; i<cmSize; i++)
|
||||
- if (max<cm[i] > max)
|
||||
+ if (cm[i] > max)
|
||||
max=cm[i];
|
||||
|
||||
if (max<=0.0 || max==1.0)
|
26
inkscape-swigfix.patch
Normal file
26
inkscape-swigfix.patch
Normal file
@ -0,0 +1,26 @@
|
||||
--- src/extension/script/inkscape_perl_wrap.cpp
|
||||
+++ src/extension/script/inkscape_perl_wrap.cpp
|
||||
@@ -776,14 +776,17 @@
|
||||
static void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *)) {
|
||||
#endif
|
||||
MAGIC *mg;
|
||||
+ MGVTBL *mgvtbl;
|
||||
sv_magic(sv,sv,'U',(char *) name,strlen(name));
|
||||
mg = mg_find(sv,'U');
|
||||
- mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
|
||||
- mg->mg_virtual->svt_get = (SwigMagicFuncHack) get;
|
||||
- mg->mg_virtual->svt_set = (SwigMagicFuncHack) set;
|
||||
- mg->mg_virtual->svt_len = 0;
|
||||
- mg->mg_virtual->svt_clear = 0;
|
||||
- mg->mg_virtual->svt_free = 0;
|
||||
+ mgvtbl = (MGVTBL *) malloc(sizeof(MGVTBL));
|
||||
+ memcpy((void*)mgvtbl, (const void*)mg, sizeof(MGVTBL));
|
||||
+ mgvtbl->svt_get = (SwigMagicFuncHack) get;
|
||||
+ mgvtbl->svt_set = (SwigMagicFuncHack) set;
|
||||
+ mgvtbl->svt_len = 0;
|
||||
+ mgvtbl->svt_clear = 0;
|
||||
+ mgvtbl->svt_free = 0;
|
||||
+ mg->mg_virtual = mgvtbl;
|
||||
}
|
||||
|
||||
|
180
inkscape.changes
Normal file
180
inkscape.changes
Normal file
@ -0,0 +1,180 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 4 12:46:30 CET 2007 - prusnak@suse.cz
|
||||
|
||||
- fixed illegal comparison (siox-max.patch) [#231224]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 6 17:11:05 CET 2006 - jhargadon@suse.de
|
||||
|
||||
- applied a patch that fixes a problem where the package would not
|
||||
compile with the --with-perl option.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 21 14:06:26 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Don't use obsolete macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 22:24:29 CEST 2006 - danw@suse.de
|
||||
|
||||
- Remove dead patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 5 17:47:54 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- added --datadir=%prefix/share as a configuration option. This
|
||||
is a work around for bug #204719
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 29 23:04:34 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- update to version 0.44.1
|
||||
- Layers dialog
|
||||
- Outline mode, many performance improvements
|
||||
- Native PDF export with transparency
|
||||
- Clipping and masking support
|
||||
- Configurable keyboard shortcuts
|
||||
- Docked color palette in the editing window
|
||||
- Interactive indicator of the style of selection in the statusbar
|
||||
- Innovative "node sculpting" and other improvements in Node tool
|
||||
- Better SVG support: <switch> element, ICC color profiles for images
|
||||
- Persistent rotation centers, Paste Size command
|
||||
- many bug fixes
|
||||
- removed the --with-perl option from configuration in the specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 9 20:34:07 CEST 2006 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 16:26:35 CEST 2006 - cthiel@suse.de
|
||||
|
||||
- buildrequire python-gtk-devel instead of python-gtk
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 7 22:15:04 CEST 2006 - jpr@suse.de
|
||||
|
||||
- add patch to not use freetype2 internals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 18 08:36:44 CET 2006 - stbinner@suse.de
|
||||
|
||||
- fix typo .desktop file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 18 01:19:27 CET 2006 - gekker@suse.de
|
||||
|
||||
- fixup .desktop file for UI team
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 01:13:40 CET 2006 - ro@suse.de
|
||||
|
||||
- take fix from swig to swig-generated source file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:32:15 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 16:23:29 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.43 (#134655).
|
||||
- Enabled Inkboard Collaborative Editing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 18:18:03 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Fixed qualification and type conversion errors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 15:37:14 CEST 2005 - nadvornik@suse.cz
|
||||
|
||||
- updated to bugfix release 0.42.2 [#112918]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 18:54:39 CEST 2005 - ro@suse.de
|
||||
|
||||
- added dir to filelist /usr/share/man/fr/man1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 17:29:35 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.42.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 17:04:28 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Fix more invalid casts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 18 18:27:40 CEST 2005 - ro@suse.de
|
||||
|
||||
- fix build with current pkgconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 13:10:17 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Build boehm-gc with -fPIC and -fno-strict-aliasing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 27 17:32:44 CEST 2005 - ro@suse.de
|
||||
|
||||
- remove boehm-gc from nfb (dropped)
|
||||
- use private copy of gc6.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 26 16:57:05 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Install missing translation files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 18:48:04 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Fixed invalid casts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 17:29:00 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Bi-arch fix (#66780).
|
||||
- Require skencil needed for PS/EPS input (#66780).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 28 17:34:41 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Added needed Requires and triggers for optional extensions
|
||||
(#66780).
|
||||
- Turned on perl, python and gnome-print support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 21 17:04:21 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.41.
|
||||
- Worked around problems with boehm-gc detection.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 11 12:38:36 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.40.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 11 01:55:21 CET 2005 - ro@suse.de
|
||||
|
||||
- change to libsigc++12 in neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 21:24:58 CET 2004 - mmj@suse.de
|
||||
|
||||
- Locale rename: no -> nb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 12 13:27:48 CEST 2004 - hhetter@suse.de
|
||||
|
||||
- Obsolete and Provide sodipodi
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 2 13:49:10 CEST 2004 - hhetter@suse.de
|
||||
|
||||
- initial SuSE package
|
||||
|
259
inkscape.spec
Normal file
259
inkscape.spec
Normal file
@ -0,0 +1,259 @@
|
||||
#
|
||||
# spec file for package inkscape (Version 0.44.1)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: inkscape
|
||||
BuildRequires: cairomm docbook-toys gcc-c++ gtkmm24-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel liblcms-devel libwnck-devel libxslt-devel loudmouth-devel mDNSResponder-devel perl-XML-Parser python-devel python-gtk-devel sgml-skel update-desktop-files
|
||||
%define prefix /opt/gnome
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Graphics/Vector Editors
|
||||
Requires: cairomm ghostscript-fonts-std python-gtk python-numeric pstoedit libwmf gzip skencil /usr/bin/gs
|
||||
Autoreqprov: on
|
||||
Summary: Inkscape Vector Illustration Program
|
||||
Version: 0.44.1
|
||||
Release: 35
|
||||
Provides: sodipodi
|
||||
Obsoletes: sodipodi
|
||||
PreReq: /bin/rm /bin/ln /bin/sh /usr/bin/perl
|
||||
Source: inkscape-%{version}.tar.bz2
|
||||
Source1: gc6.4.tar.bz2
|
||||
Patch: inkscape-boehm-gc.patch
|
||||
Patch4: inkscape-swigfix.patch
|
||||
Patch6: inkscape-invalid-conversion.patch
|
||||
Patch7: inkscape-bug-189159.patch
|
||||
Patch8: inkscape-configure.patch
|
||||
Patch9: inkscape-siox-max.patch
|
||||
Patch10: gc6.4.dif
|
||||
Patch11: inkscape-enable-perl.patch
|
||||
URL: http://www.inkscape.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Inkscape is a vector illustration program for the GNOME desktop.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Alexander Clausen
|
||||
John Bintz
|
||||
Arpad Biro
|
||||
Daniel Borgmann
|
||||
Hans Breuer
|
||||
Bulia Byak
|
||||
Chema Celorio
|
||||
Johan Ceuppens
|
||||
Zbigniew Chyla
|
||||
John Cliff
|
||||
Kees Cook
|
||||
Robert Crosbie
|
||||
Jon Cruz
|
||||
Danilo Egan
|
||||
Frank Felfe
|
||||
Fred
|
||||
Ted Gould
|
||||
Bryce Harrington
|
||||
Carl Hetherington
|
||||
Nathan Hurst
|
||||
Thomas Ingham
|
||||
Bob Jamison
|
||||
Lauris Kaplinski
|
||||
Lynn Kerby
|
||||
Petr Kovar
|
||||
Raph Levien
|
||||
Vitaly Lipatov
|
||||
Dmitry G. Mastrukov
|
||||
Michael Meeks
|
||||
Federico Mena
|
||||
MenTaLguY
|
||||
Peter Moulder
|
||||
Yukihiro Nakai
|
||||
Christian Neumair
|
||||
Mitsuru Oka
|
||||
Jon Phillips
|
||||
Christian Schaller
|
||||
Tom von Schwerdtner
|
||||
Pat Suwalski
|
||||
Adib Taraben
|
||||
Daniel Yacob
|
||||
Masatake Yamato
|
||||
|
||||
%prep
|
||||
%setup -b 1
|
||||
%patch
|
||||
%patch4
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch11
|
||||
pushd ../gc*
|
||||
%patch10
|
||||
popd
|
||||
patch <<EOF
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -612,1 +612,1 @@
|
||||
-AC_DEFINE_UNQUOTED([INKSCAPE_LIBDIR], "\${prefix}/lib",
|
||||
+AC_DEFINE_UNQUOTED([INKSCAPE_LIBDIR], "\${prefix}/%_lib",
|
||||
EOF
|
||||
chmod -x README.ca.txt
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
pushd ../gc*
|
||||
autoreconf --force --install
|
||||
export CFLAGS="$CFLAGS -fPIC -fno-strict-aliasing"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
./configure --prefix=/usr --disable-shared
|
||||
make
|
||||
make install DESTDIR=$RPM_BUILD_DIR/gc_install
|
||||
popd
|
||||
aclocal
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=%prefix \
|
||||
--mandir=%_mandir \
|
||||
--libdir=%prefix/%_lib \
|
||||
--datadir=%prefix/share \
|
||||
--enable-db2html \
|
||||
--enable-gnome \
|
||||
--with-python \
|
||||
--with-perl \
|
||||
--with-gnome-print \
|
||||
--enable-inkboard \
|
||||
--with-gc=$RPM_BUILD_DIR/gc_install/usr
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%suse_update_desktop_file -N "Inkscape" -G "SVG Vector Illustrator" inkscape Office FlowChart
|
||||
%find_lang %{name}
|
||||
mkdir -p $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions-optional
|
||||
cp $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions/dia.inx $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions-optional
|
||||
|
||||
%triggerin -- dia
|
||||
ln -f opt/gnome/share/inkscape/extensions-optional/dia.inx opt/gnome/share/inkscape/extensions/dia.inx
|
||||
|
||||
%triggerpostun -- dia
|
||||
if [ ! -x /opt/gnome/bin/dia ] ; then
|
||||
rm opt/gnome/share/inkscape/extensions/dia.inx
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING COPYING.LIB ChangeLog HACKING* INSTALL NEWS README* TRANSLATORS
|
||||
/opt/gnome/bin/*
|
||||
/opt/gnome/share/applications/inkscape.desktop
|
||||
%doc /usr/share/man/man?/*.*
|
||||
%doc /usr/share/man/??/man?/*.*
|
||||
%dir /opt/gnome/share/inkscape
|
||||
/opt/gnome/share/inkscape/[a-df-z]*
|
||||
/opt/gnome/share/inkscape/exa*
|
||||
/opt/gnome/share/inkscape/extensions-optional
|
||||
%dir /opt/gnome/share/inkscape/extensions
|
||||
/opt/gnome/share/inkscape/extensions/[a-ce-zA-Z]*
|
||||
/opt/gnome/share/inkscape/extensions/dia2*
|
||||
/opt/gnome/share/inkscape/extensions/dots*
|
||||
#/opt/gnome/share/inkscape/extensions/dr*
|
||||
/opt/gnome/share/inkscape/extensions/dx*
|
||||
%ghost /opt/gnome/share/inkscape/extensions/dia.inx
|
||||
/opt/gnome/share/pixmaps/inkscape.png
|
||||
%dir /usr/share/man/fr/man1
|
||||
|
||||
%changelog -n inkscape
|
||||
* Thu Jan 04 2007 - prusnak@suse.cz
|
||||
- fixed illegal comparison (siox-max.patch) [#231224]
|
||||
* Mon Nov 06 2006 - jhargadon@suse.de
|
||||
- applied a patch that fixes a problem where the package would not
|
||||
compile with the --with-perl option.
|
||||
* Sat Oct 21 2006 - schwab@suse.de
|
||||
- Don't use obsolete macro.
|
||||
* Fri Oct 13 2006 - danw@suse.de
|
||||
- Remove dead patches
|
||||
* Thu Oct 05 2006 - jhargadon@suse.de
|
||||
- added --datadir=%%prefix/share as a configuration option. This
|
||||
is a work around for bug #204719
|
||||
* Fri Sep 29 2006 - jhargadon@suse.de
|
||||
- update to version 0.44.1
|
||||
- Layers dialog
|
||||
- Outline mode, many performance improvements
|
||||
- Native PDF export with transparency
|
||||
- Clipping and masking support
|
||||
- Configurable keyboard shortcuts
|
||||
- Docked color palette in the editing window
|
||||
- Interactive indicator of the style of selection in the statusbar
|
||||
- Innovative "node sculpting" and other improvements in Node tool
|
||||
- Better SVG support: <switch> element, ICC color profiles for images
|
||||
- Persistent rotation centers, Paste Size command
|
||||
- many bug fixes
|
||||
- removed the --with-perl option from configuration in the specfile
|
||||
* Sat Sep 09 2006 - meissner@suse.de
|
||||
- use RPM_OPT_FLAGS.
|
||||
* Wed Aug 16 2006 - cthiel@suse.de
|
||||
- buildrequire python-gtk-devel instead of python-gtk
|
||||
* Fri Jul 07 2006 - jpr@suse.de
|
||||
- add patch to not use freetype2 internals
|
||||
* Sat Feb 18 2006 - stbinner@suse.de
|
||||
- fix typo .desktop file
|
||||
* Sat Feb 18 2006 - gekker@suse.de
|
||||
- fixup .desktop file for UI team
|
||||
* Tue Jan 31 2006 - ro@suse.de
|
||||
- take fix from swig to swig-generated source file
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Nov 23 2005 - sbrabec@suse.cz
|
||||
- Updated to version 0.43 (#134655).
|
||||
- Enabled Inkboard Collaborative Editing.
|
||||
* Mon Nov 07 2005 - sbrabec@suse.cz
|
||||
- Fixed qualification and type conversion errors.
|
||||
* Thu Aug 25 2005 - nadvornik@suse.cz
|
||||
- updated to bugfix release 0.42.2 [#112918]
|
||||
* Mon Aug 01 2005 - ro@suse.de
|
||||
- added dir to filelist /usr/share/man/fr/man1
|
||||
* Fri Jul 29 2005 - sbrabec@suse.cz
|
||||
- Updated to version 0.42.
|
||||
* Tue May 31 2005 - schwab@suse.de
|
||||
- Fix more invalid casts.
|
||||
* Wed May 18 2005 - ro@suse.de
|
||||
- fix build with current pkgconfig
|
||||
* Thu Apr 28 2005 - sbrabec@suse.cz
|
||||
- Build boehm-gc with -fPIC and -fno-strict-aliasing.
|
||||
* Wed Apr 27 2005 - ro@suse.de
|
||||
- remove boehm-gc from nfb (dropped)
|
||||
- use private copy of gc6.4
|
||||
* Tue Apr 26 2005 - sbrabec@suse.cz
|
||||
- Install missing translation files.
|
||||
* Mon Apr 11 2005 - sbrabec@suse.cz
|
||||
- Fixed invalid casts.
|
||||
* Mon Mar 21 2005 - sbrabec@suse.cz
|
||||
- Bi-arch fix (#66780).
|
||||
- Require skencil needed for PS/EPS input (#66780).
|
||||
* Mon Feb 28 2005 - sbrabec@suse.cz
|
||||
- Added needed Requires and triggers for optional extensions
|
||||
(#66780).
|
||||
- Turned on perl, python and gnome-print support.
|
||||
* Mon Feb 21 2005 - sbrabec@suse.cz
|
||||
- Updated to version 0.41.
|
||||
- Worked around problems with boehm-gc detection.
|
||||
* Fri Feb 11 2005 - sbrabec@suse.cz
|
||||
- Updated to version 0.40.
|
||||
* Fri Feb 11 2005 - ro@suse.de
|
||||
- change to libsigc++12 in neededforbuild
|
||||
* Tue Nov 02 2004 - mmj@suse.de
|
||||
- Locale rename: no -> nb
|
||||
* Thu Aug 12 2004 - hhetter@suse.de
|
||||
- Obsolete and Provide sodipodi
|
||||
* Mon Aug 02 2004 - hhetter@suse.de
|
||||
- initial SuSE package
|
Loading…
Reference in New Issue
Block a user