[packages/gimp-help] - updated to 2.10.34; now builds with all languages, but requires a lot of RAM
qboosh
qboosh at pld-linux.org
Sat Sep 2 14:25:02 CEST 2023
commit ea0af3f71cede6b7e6fcba70cbbaef9021c159f5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 2 13:35:23 2023 +0200
- updated to 2.10.34; now builds with all languages, but requires a lot of RAM
gimp-help-langs.patch | 18 ------------------
gimp-help-missing.patch | 23 -----------------------
gimp-help.spec | 26 +++++++++++++++-----------
3 files changed, 15 insertions(+), 52 deletions(-)
---
diff --git a/gimp-help.spec b/gimp-help.spec
index 4c77739..9ff5312 100644
--- a/gimp-help.spec
+++ b/gimp-help.spec
@@ -1,20 +1,26 @@
-# NOTE: python xml2po crashes with memory fault inside libxml2mod on two files from Greek (el) translation
+# NOTE: xsltproc consumes lots of memory
Summary: Help files for the GIMP
Summary(pl.UTF-8): Pliki pomocy dla GIMP-a
Name: gimp-help
-Version: 2.8.1
+Version: 2.10.34
Release: 1
License: FDL
Group: Documentation
-Source0: ftp://ftp.gimp.org/pub/gimp/help/%{name}-%{version}.tar.bz2
-# Source0-md5: 7f48c64bcadab9611ce8d3d89d990bb4
+Source0: https://download.gimp.org/pub/gimp/help/%{name}-%{version}.tar.bz2
+# Source0-md5: 5e393d61c802e73ffe6c550759ed0853
Source1: %{name}-lang-files.rb
-Patch0: %{name}-missing.patch
-Patch1: %{name}-langs.patch
-URL: http://wiki.gimp.org/gimp/GimpDocs
+URL: https://docs.gimp.org/
BuildRequires: autoconf >= 2.54
-BuildRequires: automake >= 1.6
+BuildRequires: automake >= 1:1.10
+BuildRequires: dblatex
BuildRequires: docbook-dtd43-xml
+BuildRequires: gettext-tools
+BuildRequires: intltool
+BuildRequires: librsvg
+BuildRequires: libxml2-progs >= 2
+BuildRequires: libxslt-progs
+BuildRequires: python3 >= 1:3.6.0
+BuildRequires: python3-libxml2
BuildRequires: ruby
BuildRequires: sed >= 4.0
BuildRequires: xhtml-dtd10-xml
@@ -34,8 +40,6 @@ ludzkimi gałkami ocznymi.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
%{__aclocal}
@@ -65,4 +69,4 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY
+%doc AUTHORS ChangeLog MAINTAINERS NEWS README TERMINOLOGY
diff --git a/gimp-help-langs.patch b/gimp-help-langs.patch
deleted file mode 100644
index 7500c83..0000000
--- a/gimp-help-langs.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Workaround: disable el locale (causes po2xml to crash in libpython)
---- gimp-help-2.8.1/configure.ac.orig 2013-11-27 00:28:26.000000000 +0100
-+++ gimp-help-2.8.1/configure.ac 2013-12-11 16:29:54.640977970 +0100
-@@ -57,12 +57,12 @@
- # QUICKREFERENCE_ALL_LINGUAS *and* (intersecton) ALL_LINGUAS
-
- if test "x$ALL_LINGUAS" = "x"; then
-- ALL_LINGUAS="ca da de el en en_GB es fr it ja ko nl nn pt_BR ru sl sv zh_CN"
-+ ALL_LINGUAS="ca da de en en_GB es fr it ja ko nl nn pt_BR ru sl sv zh_CN"
- else
- ALL_LINGUAS=`echo "$ALL_LINGUAS" | $SED -e 's/[,] */ /g'`
- fi
- if test "x$QUICKREFERENCE_ALL_LINGUAS" = "x"; then
-- QUICKREFERENCE_ALL_LINGUAS="ca de el en fi fr it ja ko ru sv zh_CN"
-+ QUICKREFERENCE_ALL_LINGUAS="ca de en fi fr it ja ko ru sv zh_CN"
- fi
-
- AC_SUBST(ALL_LINGUAS)
diff --git a/gimp-help-missing.patch b/gimp-help-missing.patch
deleted file mode 100644
index 04debb2..0000000
--- a/gimp-help-missing.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- gimp-help-2.8.1/stylesheets/languageVocab.xml.orig 1970-01-01 01:00:00.000000000 +0100
-+++ gimp-help-2.8.1/stylesheets/languageVocab.xml 2013-12-11 16:26:23.520986830 +0100
-@@ -0,0 +1,20 @@
-+<vocab>
-+ <item value="de">Deutsch</item>
-+ <item value="en">English</item>
-+ <item value="en_GB">British</item>
-+ <item value="fr">Français</item>
-+ <item value="it">Italiano</item>
-+ <item value="ja">日本語(Japanese)</item>
-+ <item value="nl">Nederlands</item>
-+ <item value="es">Español</item>
-+ <item value="ko">한국어(Korean)</item>
-+ <item value="nn">Norwegian</item>
-+ <item value="ru">Pусский</item>
-+ <item value="el">Ελληνικά</item>
-+ <item value="pt_BR">Português</item>
-+ <item value="ca">Català</item>
-+ <item value="da">Dansk</item>
-+ <item value="sl">Slovenščina</item>
-+ <item value="sv">Svenska</item>
-+ <item value="zh_CN">中文</item>
-+</vocab>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gimp-help.git/commitdiff/ea0af3f71cede6b7e6fcba70cbbaef9021c159f5
More information about the pld-cvs-commit
mailing list