|
@@ -1,21 +1,22 @@
|
|
|
-%define verdir v2.8
|
|
|
-%define binver 2.8
|
|
|
+%define verdir v2.10
|
|
|
+%define binver 2.10
|
|
|
%define subver 2.0
|
|
|
|
|
|
Summary: The GNU Image Manipulation Program
|
|
|
Summary(ja): GNU 画像加工プログラム
|
|
|
Name: gimp
|
|
|
-Version: 2.8.22
|
|
|
+Version: 2.10.6
|
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
License: GPL, LGPL
|
|
|
Group: Applications/Graphics
|
|
|
URL: http://www.gimp.org/
|
|
|
Source: ftp://ftp.gimp.org/pub/gimp/%{verdir}/%{name}-%{version}.tar.bz2
|
|
|
+# Patch10: gimp-2.0-desktopfile-no-gimp-remote.patch
|
|
|
+# Patch100: gimp-2.8.0-gimprc-vine.patch
|
|
|
|
|
|
-Patch10: gimp-2.0-desktopfile-no-gimp-remote.patch
|
|
|
-
|
|
|
-Patch100: gimp-2.8.0-gimprc-vine.patch
|
|
|
+# https://github.com/aferrero2707/gimp-appimage/blob/master/gimp-glib-splash.patch
|
|
|
+Patch1: gimp-glib-splash.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
@@ -24,28 +25,40 @@ Obsoletes: gimp-libgimp
|
|
|
|
|
|
Requires: xdg-utils
|
|
|
|
|
|
+BuildRequires: glib2-devel >= 2.54.2
|
|
|
BuildRequires: gtk2-devel >= 2.24.10
|
|
|
BuildRequires: libpng-devel
|
|
|
BuildRequires: libtiff-devel
|
|
|
BuildRequires: libjpeg-devel
|
|
|
-BUildRequires: lcms-devel
|
|
|
BuildRequires: librsvg2-devel
|
|
|
+BuildRequires: ghostscript-devel
|
|
|
BuildRequires: aalib-devel
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
BuildRequires: libexif-devel
|
|
|
-BuildRequires: gegl-devel >= 0.2.0
|
|
|
-BuildRequires: poppler-devel >= 0.14.2
|
|
|
+BuildRequires: poppler-devel
|
|
|
+BuildRequires: poppler-data-devel >= 0.4.7
|
|
|
BuildRequires: curl-devel
|
|
|
BuildRequires: libwmf-devel
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
BuildRequires: gvfs-devel
|
|
|
-BuildRequires: alsa-lib-devel
|
|
|
BuildRequires: python-devel
|
|
|
BuildRequires: libXpm-devel
|
|
|
BuildRequires: libXmu-devel
|
|
|
BuildRequires: pygtk2-devel
|
|
|
BuildRequires: libxslt
|
|
|
BuildRequires: gtk-doc
|
|
|
+BuildRequires: harfbuzz-devel >= 0.9.19
|
|
|
+BuildRequires: xz-devel >= 5.0.0
|
|
|
+BuildRequires: libmng-devel
|
|
|
+BuildRequires: lcms2-devel >= 2.8
|
|
|
+BuildRequires: pycairo-devel >= 1.0.2
|
|
|
+BuildRequires: babl-devel >= 0.1.56
|
|
|
+BuildRequires: gegl
|
|
|
+BuildRequires: gegl04-devel >= 0.4.6
|
|
|
+BuildRequires: libmypaint-devel >= 1.3.0
|
|
|
+BuildRequires: mypaint-brushes-devel >= 1.3.0
|
|
|
+BuildRequires: OpenEXR-devel >= 1.6.1
|
|
|
+BuildRequires: libgexiv2-devel >= 0.10.6
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -77,8 +90,8 @@ Install the GIMP if you need a powerful image manipulation
|
|
|
program. You may also want to install other GIMP packages:
|
|
|
gimp-libgimp if you're going to use any GIMP plug-ins and
|
|
|
gimp-data-extras, which includes various extra files for the GIMP.
|
|
|
-
|
|
|
#'
|
|
|
+
|
|
|
%description -l ja
|
|
|
GIMP (GNU 画像処理プログラム)は、ウェブページ用のロゴやその他の画像を
|
|
|
作る際に役立つ、強力な描画・編集プログラムです。GIMPには、同様の商用
|
|
@@ -110,7 +123,8 @@ Summary: GIMP plugin and extension development kit
|
|
|
Summary(ja): GIMP プラグイン・拡張機能開発キット
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
-Requires: gtk2-devel >= 2.4.4, glib2-devel >= 2.4.5
|
|
|
+Requires: gtk2-devel >= 2.24.10
|
|
|
+Requires: glib2-devel >= 2.54.2
|
|
|
|
|
|
%description devel
|
|
|
The gimp-devel package contains the static libraries and header files
|
|
@@ -124,19 +138,11 @@ and gimp, and you may want to install gimp-data-extras.
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
-%patch100 -p1 -b .gimprc
|
|
|
+%patch1 -b .splash
|
|
|
+# %patch100 -p1 -b .gimprc
|
|
|
|
|
|
%build
|
|
|
-autoreconf -if
|
|
|
-%{configure} \
|
|
|
- --without-print \
|
|
|
- --without-libmng \
|
|
|
- --without-webkit \
|
|
|
- --without-hal \
|
|
|
- --with-libexif \
|
|
|
- --with-gvfs \
|
|
|
- --enable-mp
|
|
|
-
|
|
|
+%{configure}
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
@@ -144,26 +150,25 @@ autoreconf -if
|
|
|
%{make_install}
|
|
|
|
|
|
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_datadir}/applications
|
|
|
-cp ./desktop/%{name}.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
|
|
-desktop-file-install --vendor gnome \
|
|
|
- --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
- --delete-original \
|
|
|
- --remove-category RasterGraphics \
|
|
|
- --add-category GNOME \
|
|
|
- --add-category Application \
|
|
|
- --add-category Graphics \
|
|
|
- ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
|
|
-
|
|
|
-# %{__ln_s} -f gimp-%{binver} ${RPM_BUILD_ROOT}%{_bindir}/gimp
|
|
|
-# %{__ln_s} -f gimp-remote-%{binver} ${RPM_BUILD_ROOT}%{_bindir}/gimp-remote
|
|
|
+%{__cp} ./desktop/%{name}.desktop \
|
|
|
+ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
|
|
+
|
|
|
+desktop-file-install \
|
|
|
+ --vendor gnome \
|
|
|
+ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
+ --delete-original \
|
|
|
+ --remove-category RasterGraphics \
|
|
|
+ --add-category GNOME \
|
|
|
+ --add-category Application \
|
|
|
+ --add-category Graphics \
|
|
|
+ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
|
|
+
|
|
|
%{__ln_s} -f gimptool-%{subver} ${RPM_BUILD_ROOT}%{_bindir}/gimptool
|
|
|
|
|
|
## removed unpacked files
|
|
|
%{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
|
%{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/%{name}/%{subver}/modules/*.la
|
|
|
%{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/%{name}/%{subver}/python/*.la
|
|
|
-# conflict to gimp-print package
|
|
|
-#rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/%{subver}/plug-ins/print
|
|
|
|
|
|
%post
|
|
|
%{_syssbindir}/ldconfig
|
|
@@ -174,7 +179,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
|
|
|
%clean
|
|
|
-%{__rm} -rf %{buildroot}
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
%files
|
|
@@ -190,6 +195,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
%{_sysconfdir}/%{name}/%{subver}/templaterc
|
|
|
%{_sysconfdir}/%{name}/%{subver}/unitrc
|
|
|
%{_bindir}/*
|
|
|
+%{_libexecdir}/gimp-debug-tool-%{subver}
|
|
|
%dir %{_libdir}/%{name}/%{subver}/environ
|
|
|
%dir %{_libdir}/%{name}/%{subver}/modules
|
|
|
%dir %{_libdir}/%{name}/%{subver}/plug-ins
|
|
@@ -200,18 +206,22 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
%{_libdir}/%{name}/%{subver}/plug-ins/*
|
|
|
%{_libdir}/%{name}/%{subver}/python/*
|
|
|
%{_libdir}/lib*.so.*
|
|
|
-%{_datadir}/appdata/gimp.appdata.xml
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
%{_datadir}/icons/hicolor/*/*/%{name}.png
|
|
|
+%{_datadir}/metainfo/*.appdata.xml
|
|
|
+%{_datadir}/metainfo/*.metainfo.xml
|
|
|
+%dir %{_datadir}/%{name}
|
|
|
%dir %{_datadir}/%{name}/%{subver}/
|
|
|
%{_datadir}/%{name}/%{subver}/brushes
|
|
|
%{_datadir}/%{name}/%{subver}/dynamics
|
|
|
+%{_datadir}/%{name}/%{subver}/file-raw
|
|
|
%{_datadir}/%{name}/%{subver}/fonts
|
|
|
%{_datadir}/%{name}/%{subver}/fractalexplorer
|
|
|
%{_datadir}/%{name}/%{subver}/gfig
|
|
|
%{_datadir}/%{name}/%{subver}/gflare
|
|
|
%{_datadir}/%{name}/%{subver}/gimpressionist
|
|
|
%{_datadir}/%{name}/%{subver}/gradients
|
|
|
+%{_datadir}/%{name}/%{subver}/icons
|
|
|
%{_datadir}/%{name}/%{subver}/images/*.png
|
|
|
%{_datadir}/%{name}/%{subver}/menus
|
|
|
%{_datadir}/%{name}/%{subver}/palettes
|
|
@@ -245,6 +255,12 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 2.10.6-1
|
|
|
+- update to 2.10.6
|
|
|
+- add Patch1
|
|
|
+- drop old Patches10 and 100
|
|
|
+- add several BuildRequires
|
|
|
+
|
|
|
* Sat Jun 30 2018 Toshiaki Ara <ara_t@384.jp> 2.8.22-1
|
|
|
- update to 2.8.22
|
|
|
|