[packages/latexila] - up to 3.20.0

baggins baggins at pld-linux.org
Wed Apr 6 15:27:46 CEST 2016


commit 6b9926bf67ebc9ca4dc784aff401a653c30fcb07
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Apr 6 22:27:32 2016 +0900

    - up to 3.20.0

 latexila-gspell.patch | 63 ---------------------------------------------------
 latexila.spec         | 14 ++++++------
 2 files changed, 7 insertions(+), 70 deletions(-)
---
diff --git a/latexila.spec b/latexila.spec
index 57b3352..2624f52 100644
--- a/latexila.spec
+++ b/latexila.spec
@@ -1,13 +1,12 @@
 Summary:	Integrated LaTeX Environment for the GNOME desktop
 Summary(pl.UTF-8):	Zintegrowane środowisko LaTeXowe dla GNOME
 Name:		latexila
-Version:	3.18.2
+Version:	3.20.0
 Release:	1
 License:	GPL v3+
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/latexila/3.18/%{name}-%{version}.tar.xz
-# Source0-md5:	9fe44a13d9a574a07dd70a9cd5cf5d6a
-Patch0:		%{name}-gspell.patch
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/latexila/3.20/%{name}-%{version}.tar.xz
+# Source0-md5:	e90dd71931b35a14867554d2d9042bb3
 URL:		https://wiki.gnome.org/Apps/LaTeXila
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.12.5
@@ -28,6 +27,7 @@ BuildRequires:	rpmbuild(macros) >= 1.581
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	vala >= 2:0.26
 BuildRequires:	vala-gspell >= 0.2
+BuildRequires:	vala-libgee
 BuildRequires:	xz
 BuildRequires:	yelp-tools
 Requires(post,postun):	desktop-file-utils
@@ -50,7 +50,6 @@ LaTeXila to zintegrowane środowisko LaTeXowe dla GNOME.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -90,11 +89,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS MAINTAINERS NEWS README
 %attr(755,root,root) %{_bindir}/latexila
-%{_datadir}/appdata/latexila.appdata.xml
+%{_datadir}/appdata/org.gnome.latexila.appdata.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.latexila.gschema.xml
 %{_datadir}/latexila
-%{_desktopdir}/latexila.desktop
+%{_desktopdir}/org.gnome.latexila.desktop
 %{_iconsdir}/hicolor/*x*/apps/latexila.png
 %{_iconsdir}/hicolor/scalable/apps/latexila.svg
 %{_mandir}/man1/latexila.1*
 %{_gtkdocdir}/latexila
+%{_datadir}/dbus-1/services/org.gnome.latexila.service
diff --git a/latexila-gspell.patch b/latexila-gspell.patch
deleted file mode 100644
index 5fcc18d..0000000
--- a/latexila-gspell.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- latexila-3.18.2/configure.ac.orig	2015-12-19 17:38:19.000000000 +0100
-+++ latexila-3.18.2/configure.ac	2015-12-27 10:52:50.120826126 +0100
-@@ -102,10 +102,6 @@
- 	AC_MSG_ERROR([gspell-1 ${GSPELL_REQUIRED_VERSION} required.])
- fi
- 
--if ! pkg-config --max-version=0.1.99 gspell-1; then
--	AC_MSG_ERROR([gspell-1 ${GSPELL_REQUIRED_VERSION} required.])
--fi
--
- if ! pkg-config gsettings-desktop-schemas; then
- 	AC_MSG_ERROR([gsettings-desktop-schemas required.])
- fi
---- latexila-3.18.2/src/document_view.vala.orig	2015-12-19 17:37:05.000000000 +0100
-+++ latexila-3.18.2/src/document_view.vala	2015-12-27 12:57:40.387178476 +0100
-@@ -258,7 +258,7 @@
-         if (lang_key[0] == '\0')
-             return null;
- 
--        return Gspell.Language.from_key (lang_key);
-+        return Gspell.Language.lookup (lang_key);
-     }
- 
-     public void setup_inline_spell_checker ()
-@@ -299,7 +299,8 @@
- 
-         Gspell.LanguageChooserDialog dialog =
-             new Gspell.LanguageChooserDialog (this.get_toplevel () as Window,
--                _spell_checker.get_language ());
-+                _spell_checker.get_language (),
-+                DialogFlags.MODAL | DialogFlags.DESTROY_WITH_PARENT);
- 
-         dialog.run ();
- 
-@@ -317,7 +318,7 @@
- 
-         unowned Gspell.Language? lang = _spell_checker.get_language ();
-         if (lang != null)
--            doc.set_metadata (METADATA_ATTRIBUTE_SPELL_LANGUAGE, lang.to_key ());
-+            doc.set_metadata (METADATA_ATTRIBUTE_SPELL_LANGUAGE, lang.get_code ());
-         else
-             doc.set_metadata (METADATA_ATTRIBUTE_SPELL_LANGUAGE, null);
-     }
---- latexila-3.18.2/src/preferences_dialog.vala.orig	2015-12-19 17:37:05.000000000 +0100
-+++ latexila-3.18.2/src/preferences_dialog.vala	2015-12-27 13:05:46.810491380 +0100
-@@ -309,7 +309,7 @@
-             if (selected_lang != null)
-             {
-                 editor_settings.set_string ("spell-checking-language",
--                    selected_lang.to_key ());
-+                    selected_lang.get_code ());
-             }
-             else
-                 editor_settings.set_string ("spell-checking-language", "");
-@@ -333,7 +333,7 @@
-         unowned Gspell.Language? lang = null;
-         string lang_key = editor_settings.get_string ("spell-checking-language");
-         if (lang_key[0] != '\0')
--            lang = Gspell.Language.from_key (lang_key);
-+            lang = Gspell.Language.lookup (lang_key);
- 
-         Gspell.Checker checker = new Gspell.Checker (lang);
-         spell_language_button.set_language (checker.get_language ());
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/latexila.git/commitdiff/6b9926bf67ebc9ca4dc784aff401a653c30fcb07



More information about the pld-cvs-commit mailing list