- up to 2.10.0 auto/th/gimp-2.10.0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 29 Apr 2018 12:32:20 +0000 (14:32 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 29 Apr 2018 12:32:20 +0000 (14:32 +0200)
bump_Babl-GEGL_versions.patch [deleted file]
fix_GEGL_missing_symbol.patch [deleted file]
gimp-home_etc.patch
gimp.spec

diff --git a/bump_Babl-GEGL_versions.patch b/bump_Babl-GEGL_versions.patch
deleted file mode 100644 (file)
index 41c5134..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/app/sanity.c b/app/sanity.c
-index febddfb..85fea55 100644
---- a/app/sanity.c
-+++ b/app/sanity.c
-@@ -351,7 +351,7 @@ sanity_check_babl (void)
- #define BABL_REQUIRED_MAJOR 0
- #define BABL_REQUIRED_MINOR 1
--#define BABL_REQUIRED_MICRO 10
-+#define BABL_REQUIRED_MICRO 12
-   babl_get_version (&babl_major_version,
-                     &babl_minor_version,
-@@ -388,7 +388,7 @@ sanity_check_gegl (void)
-   gint gegl_micro_version;
- #define GEGL_REQUIRED_MAJOR 0
--#define GEGL_REQUIRED_MINOR 2
-+#define GEGL_REQUIRED_MINOR 3
- #define GEGL_REQUIRED_MICRO 0
-   gegl_get_version (&gegl_major_version,
-diff --git a/configure.ac b/configure.ac
-index 26812b6..4252fe9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -40,8 +40,8 @@ m4_define([gimp_stable],
- m4_define([gimp_full_name], [GNU Image Manipulation Program])
- # required versions of other packages
--m4_define([babl_required_version], [0.1.10])
--m4_define([gegl_required_version], [0.2.0])
-+m4_define([babl_required_version], [0.1.12])
-+m4_define([gegl_required_version], [0.3.0])
- m4_define([glib_required_version], [2.30.2])
- m4_define([atk_required_version], [2.2.0])
- m4_define([gtk_required_version], [2.24.10])
-@@ -519,7 +519,7 @@ AC_SUBST(ISO_CODES_LOCALEDIR)
- ###############################
- PKG_CHECK_MODULES(BABL, babl >= babl_required_version)
--PKG_CHECK_MODULES(GEGL, gegl-0.2 >= gegl_required_version)
-+PKG_CHECK_MODULES(GEGL, gegl-0.3 >= gegl_required_version)
- PKG_CHECK_MODULES(ATK, atk >= atk_required_version)
- AM_PATH_GLIB_2_0(glib_required_version, :,
diff --git a/fix_GEGL_missing_symbol.patch b/fix_GEGL_missing_symbol.patch
deleted file mode 100644 (file)
index 1e5034a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./app/core/gimpparamspecs-duplicate.c      2016-07-04 10:33:22.449542700 +0200
-+++ ./app/core/gimpparamspecs-duplicate.c      2016-07-04 10:34:54.505304400 +0200
-@@ -67,7 +67,7 @@
-                                      spec->default_value,
-                                      pspec->flags);
--          if (GEGL_IS_PARAM_SPEC_MULTILINE (pspec))
-+          if (gegl_param_spec_get_property_key(pspec, "multiline"))
-             {
-               g_param_spec_set_qdata (new, multiline_quark,
-                                       GINT_TO_POINTER (TRUE));
index bc87752..a9d2195 100644 (file)
@@ -1,20 +1,14 @@
 --- gimp-2.7.1/libgimpbase/gimpenv.c~  2010-06-13 21:15:08.000000000 +0200
 +++ gimp-2.7.1/libgimpbase/gimpenv.c   2010-07-19 10:30:13.787427066 +0200
-@@ -155,7 +155,7 @@
-   static gchar *last_env_gimp_dir = NULL;
-   const gchar  *env_gimp_dir;
--  const gchar  *home_dir;
-+  const gchar  *home_dir = g_getenv("HOME_ETC");;
-   env_gimp_dir = g_getenv ("GIMP2_DIRECTORY");
-@@ -194,7 +194,7 @@
-   g_free (last_env_gimp_dir);
-   last_env_gimp_dir = g_strdup (env_gimp_dir);
--  home_dir = g_get_home_dir ();
-+  if (!home_dir) home_dir = g_get_home_dir ();
-   if (env_gimp_dir)
-     {
+@@ -259,7 +259,9 @@ gimp_directory (void)
+         }
+       else
+         {
+-          const gchar *home_dir = g_get_home_dir ();
++          const gchar *home_dir = g_getenv("HOME_ETC");
++          if (!home_dir)
++            home_dir = g_get_home_dir ();
+           if (home_dir)
+             gimp_dir = g_build_filename (home_dir, env_gimp_dir, NULL);
+    {
index e03fdf7..22b48ea 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -18,32 +18,30 @@ Summary(uk.UTF-8):  The GNU Image Manipulation Program
 Summary(zh_CN.UTF-8):  [图像]GNU图象处理工具
 Summary(zh_TW.UTF-8):  [圖像]GNU圖象處理工具
 Name:          gimp
-Version:       2.8.22
+Version:       2.10.0
 Release:       1
 Epoch:         1
 License:       GPL v3+
 Group:         X11/Applications/Graphics
-Source0:       http://ftp.gimp.org/pub/gimp/v2.8/%{name}-%{version}.tar.bz2
-# Source0-md5: 7e4fd7a53b1d3c32dff642ab1a94b44d
+Source0:       http://ftp.gimp.org/pub/gimp/v2.10/%{name}-%{version}.tar.bz2
+# Source0-md5: 5e91357ede5a5d5cb0db981ff8f9726c
 Patch0:                %{name}-home_etc.patch
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-gcc4.patch
-Patch3:                bump_Babl-GEGL_versions.patch
-Patch4:                fix_GEGL_missing_symbol.patch
 URL:           http://www.gimp.org/
 %{?with_aalib:BuildRequires:   aalib-devel}
 BuildRequires: alsa-lib-devel >= 1.0.11
 BuildRequires: atk-devel >= 1:2.2.0
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
-BuildRequires: babl-devel >= 0.1.10
+BuildRequires: babl-devel >= 0.1.46
 BuildRequires: cairo-devel >= 1.10.2
 BuildRequires: curl-devel >= 7.15.1
 BuildRequires: dbus-glib-devel >= 0.70
 BuildRequires: docbook-dtd412-xml
 BuildRequires: fontconfig-devel >= 2.2.0
 BuildRequires: gdk-pixbuf2-devel >= 2.24.1
-BuildRequires: gegl-devel >= 0.3.0
+BuildRequires: gegl-devel >= 0.4.0
 BuildRequires: gettext-tools
 BuildRequires: ghostscript-devel
 BuildRequires: giflib-devel
@@ -58,6 +56,7 @@ BuildRequires:        lcms2-devel >= 2.2
 BuildRequires: libexif-devel >= 0.6.15
 BuildRequires: libjpeg-devel
 BuildRequires: libmng-devel
+BuildRequires: libmypaint-devel >= 1.3.0
 BuildRequires: libpng-devel >= 1.2.37
 BuildRequires: librsvg-devel >= 1:2.36.0
 BuildRequires: libtiff-devel
@@ -65,9 +64,10 @@ BuildRequires:       libtool >= 2:2.2
 BuildRequires: libwmf-devel >= 2:0.2.8
 BuildRequires: pango-devel >= 1:1.29.4
 BuildRequires: pkgconfig >= 1:0.16
+BuildRequires: poppler-data >= 0.4.7
 BuildRequires: poppler-devel >= 0.17
-%{?with_python:BuildRequires:  python >= 1:2.5.0}
 %{?with_python:BuildRequires:  python-pygtk-devel >= 1:2.10.4}
+%{?with_python:BuildRequires:  python >= 1:2.5.0}
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: udev-glib-devel >= 1:167
@@ -79,14 +79,15 @@ BuildRequires:      xorg-lib-libXpm-devel
 Requires(post,postun): gtk+2 >= 2:2.24.10
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      atk >= 1:2.2.0
-Requires:      babl >= 0.1.10
+Requires:      babl >= 0.1.46
 Requires:      curl >= 7.15.1
 Requires:      dbus-glib >= 0.70
 Requires:      fontconfig-libs >= 2.2.0
-Requires:      gegl >= 0.3.0
+Requires:      gegl >= 0.4.0
 Requires:      hicolor-icon-theme
 Requires:      lcms2 >= 2.2
 Requires:      libexif >= 0.6.15
+Requires:      mypaint-brushes
 %{?with_python:Requires:       python-pygtk-gtk >= 1:2.10.4}
 Obsoletes:     gimp-data-min
 Obsoletes:     gimp-libgimp
@@ -327,8 +328,6 @@ Wtyczka SVG dla GIMPa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
 %{__rm} acinclude.m4
@@ -347,7 +346,8 @@ Wtyczka SVG dla GIMPa.
        --with-html-dir=%{_gtkdocdir} \
        --with-lcms=2 \
        %{?with_posix_shm:--with-shm=posix} \
-       %{!?with_webkit:--without-webkit}
+       %{!?with_webkit:--without-webkit} \
+       --without-appdata-test
 
 %{__make}
 
@@ -374,12 +374,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 umask 022
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+[ ! -x %{_bindir}/update-desktop-database ] || %{_bindir}/update-desktop-database >/dev/null 2>&1 ||:
 %update_icon_cache hicolor
 
 %postun
 umask 022
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+[ ! -x %{_bindir}/update-desktop-database ] || %{_bindir}/update-desktop-database >/dev/null 2>&1
 %update_icon_cache hicolor
 
 %post  libs -p /sbin/ldconfig
@@ -390,17 +390,19 @@ umask 022
 %doc AUTHORS ChangeLog LICENSE NEWS README
 %doc docs/Wilber*
 
-%attr(755,root,root) %{_bindir}/gimp-2.8
+%attr(755,root,root) %{_bindir}/gimp-2.10
 %attr(755,root,root) %{_bindir}/gimp
-%attr(755,root,root) %{_bindir}/gimp-console-2.8
+%attr(755,root,root) %{_bindir}/gimp-console-2.10
 %attr(755,root,root) %{_bindir}/gimp-console
-%{_datadir}/appdata/gimp.appdata.xml
+%attr(755,root,root) %{_libexecdir}/gimp-debug-tool-2.0
+%{_datadir}/metainfo/gimp-data-extras.metainfo.xml
+%{_datadir}/metainfo/org.gimp.GIMP.appdata.xml
 %{_desktopdir}/gimp.desktop
-%{_mandir}/man1/gimp-2.8.1*
+%{_mandir}/man1/gimp-2.10.1*
 %{_mandir}/man1/gimp.1*
-%{_mandir}/man1/gimp-console-2.8.1*
+%{_mandir}/man1/gimp-console-2.10.1*
 %{_mandir}/man1/gimp-console.1*
-%{_mandir}/man5/gimprc-2.8.5*
+%{_mandir}/man5/gimprc-2.10.5*
 %{_mandir}/man5/gimprc.5*
 
 %dir %{_libdir}/gimp
@@ -426,11 +428,13 @@ umask 022
 %dir %{_datadir}/gimp/%{mver}
 %{_datadir}/gimp/%{mver}/brushes
 %{_datadir}/gimp/%{mver}/dynamics
+%{_datadir}/gimp/%{mver}/file-raw
 %{_datadir}/gimp/%{mver}/fractalexplorer
 %{_datadir}/gimp/%{mver}/gfig
 %{_datadir}/gimp/%{mver}/gflare
 %{_datadir}/gimp/%{mver}/gimpressionist
 %{_datadir}/gimp/%{mver}/gradients
+%{_datadir}/gimp/%{mver}/icons
 %{_datadir}/gimp/%{mver}/images
 %{_datadir}/gimp/%{mver}/menus
 %{_datadir}/gimp/%{mver}/palettes
This page took 0.281398 seconds and 4 git commands to generate.