Index: SOURCES/inkscape-0.91-ScopedPtr.patch =================================================================== --- SOURCES/inkscape-0.91-ScopedPtr.patch (revision 1018671) +++ SOURCES/inkscape-0.91-ScopedPtr.patch (nonexistent) @@ -1,11 +0,0 @@ ---- inkscape-0.91/src/ui/clipboard.cpp~ 2015-01-28 03:32:28.162676000 +0000 -+++ inkscape-0.91/src/ui/clipboard.cpp 2016-03-12 22:15:19.950949345 +0000 -@@ -1402,7 +1402,7 @@ - - Glib::ustring target; - if (atom_name) { -- target = Glib::ScopedPtr(atom_name).get(); //This frees the gchar*. -+ target = Glib::make_unique_ptr_gfree(atom_name).get(); - } - - listTargets.push_back(target); Index: SOURCES/sha1.lst =================================================================== --- SOURCES/sha1.lst (revision 1018671) +++ SOURCES/sha1.lst (working copy) @@ -1 +1 @@ -9941ee467af570ac71a70f965cd9c48d4993b8f3 inkscape-0.91.tar.bz2 +a25332fec4f61be3956d1c5aa44a84d087125dcc inkscape-0.92pre1.tar.bz2 Index: SPECS/inkscape.spec =================================================================== --- SPECS/inkscape.spec (revision 1018671) +++ SPECS/inkscape.spec (working copy) @@ -1,15 +1,16 @@ %define Werror_cflags %nil -Name: inkscape -Summary: A vector-based drawing program using SVG -Version: 0.91 -Release: %mkrel 9 -License: GPLv2+ -Group: Graphics/Editors and Converters -URL: http://inkscape.sourceforge.net/ -# Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 -Source: https://inkscape.global.ssl.fastly.net/media/resources/file/%{name}-%{version}.tar.bz2 -Patch0: inkscape-0.91-ScopedPtr.patch +Name: inkscape +Summary: A vector-based drawing program using SVG +Version: 0.92 +Release: %mkrel 0.pre1 +License: GPLv2+ +Group: Graphics/Editors and Converters +URL: http://inkscape.sourceforge.net/ +# Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +# Source: https://inkscape.global.ssl.fastly.net/media/resources/file/%{name}-%{version}.tar.bz2 +Source: https://inkscape.org/en/gallery/item/9633/inkscape-0.92pre1.tar.bz2 +BuildRequires: cmake BuildRequires: pkgconfig(cairo) > 1.7.6 BuildRequires: pkgconfig(cairo-pdf) BuildRequires: pkgconfig(cairo-svg) @@ -34,18 +35,18 @@ BuildRequires: pkgconfig(poppler-cairo) >= 0.5.9 BuildRequires: pkgconfig(poppler-glib) >= 0.5.9 BuildRequires: pkgconfig(sigc++-2.0) >= 2.0.12 -BuildRequires: boost-devel -BuildRequires: libgc-devel >= 6.4 -BuildRequires: perl-XML-Parser -BuildRequires: python-devel -BuildRequires: perl -BuildRequires: perl-devel -BuildRequires: popt-devel -BuildRequires: desktop-file-utils -BuildRequires: intltool -BuildRequires: gettext-devel -Requires: python-lxml -Recommends: uniconvertor +BuildRequires: boost-devel +BuildRequires: libgc-devel >= 6.4 +BuildRequires: perl-XML-Parser +BuildRequires: python-devel +BuildRequires: perl +BuildRequires: perl-devel +BuildRequires: popt-devel +BuildRequires: desktop-file-utils +BuildRequires: intltool +BuildRequires: gettext-devel +Requires: python-lxml +Recommends: uniconvertor %description Inkscape is a generic SVG-based vector-drawing program. @@ -55,20 +56,20 @@ and can be used as an interchange format for desktop publishing. %prep -%setup -q +%setup -q -n inkscape-0.92pre1 %autopatch -p1 +%define _disable_ld_no_undefined 1 + %build -autopoint --force -AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose -export CXXFLAGS="%optflags -fpermissive -std=gnu++11" -%configure2_5x \ - --with-python \ - --with-perl -%make +# export CXXFLAGS="%optflags -fpermissive -std=gnu++11" +# TODO : possibly add with perl and python. +%cmake +%make_build %install -%makeinstall_std +cd build +%make_install perl -i -lne 'print unless m{^\[Drawing Shortcut Group\]}..1' %{buildroot}%{_datadir}/applications/* @@ -78,11 +79,12 @@ %find_lang %{name} -%files -f %{name}.lang +%files -f build/%{name}.lang %doc AUTHORS ChangeLog NEWS README %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/inkscape %{_mandir}/man1/* -%{_mandir}/*/man1/* %{_iconsdir}/hicolor/*/apps/* +/usr/lib/inkscape/libinkscape_base.so +/usr/lib/inkscape/lib*_LIB.so