]> git.pld-linux.org Git - packages/inkscape.git/blobdiff - inkscape.spec
- fix building with poppler 0.83
[packages/inkscape.git] / inkscape.spec
index 53d7c056995795baf5382142754bd471eb85539c..b278cbfc4cb48263e37fa072c99a529c48086253 100644 (file)
@@ -9,15 +9,21 @@
 Summary:       Scalable vector graphics editor
 Summary(pl.UTF-8):     Edytor skalowalnej grafiki wektorowej
 Name:          inkscape
-Version:       0.92.1
+Version:       0.92.4
 Release:       1
 License:       GPL v2+, LGPL v2.1+
 Group:         X11/Applications/Graphics
-Source0:       https://media.inkscape.org/dl/resources/file/%{name}-%{version}.tar_XlpI7qT.bz2?forcefilenamehack/%{name}-%{version}.tar.bz2
-# Source0-md5: db2eb2a566cf35ff949fc9ccb172889a
+# download: follow https://inkscape.org/release/
+Source0:       https://media.inkscape.org/dl/resources/file/%{name}-%{version}.tar.bz2
+# Source0-md5: ac30f6d5747fd9c620c00dad500f414f
 Patch0:                %{name}-man.patch
 Patch1:                %{name}-gtk3.patch
-URL:           http://www.inkscape.org/
+# https://gitlab.com/inkscape/inkscape/commit/e831b034746f8dc3c3c1b88372751f6dcb974831.patch
+Patch2:                %{name}-poppler0.76.patch
+# https://gitlab.com/inkscape/inkscape/merge_requests/986.patch
+Patch3:                %{name}-poppler0.82.patch
+Patch4:                %{name}-poppler0.83.patch
+URL:           https://inkscape.org/
 BuildRequires: ImageMagick-c++-devel
 BuildRequires: aspell-devel
 BuildRequires: autoconf >= 2.64
@@ -106,6 +112,9 @@ dwuwymiarowej grafiki wektorowej.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %{__sed} -i -e 's,po/Makefile.in,,' configure.ac
 
@@ -117,11 +126,13 @@ dwuwymiarowej grafiki wektorowej.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# deprecated TimeVal API is used, so --disable-strict-build is needed
 %configure \
        %{?with_relocation:--enable-binreloc} \
        %{?with_dbus:--enable-dbusapi} \
        %{?with_gtk3:--enable-gtk3-experimental} \
        --disable-silent-rules \
+       --disable-strict-build \
        %{!?with_gnomevfs:--without-gnome-vfs}
 
 %{__make}
This page took 0.037326 seconds and 4 git commands to generate.