Hello community,

here is the log from the commit of package gummi for openSUSE:Factory checked 
in at 2015-01-20 12:34:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gummi (Old)
 and      /work/SRC/openSUSE:Factory/.gummi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gummi"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gummi/gummi.changes      2013-09-28 
13:39:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gummi.new/gummi.changes 2015-01-20 
12:36:19.000000000 +0100
@@ -1,0 +2,15 @@
+Fri Jan 16 17:37:25 UTC 2015 - [email protected]
+
+- Update to version 0.7.1
+  + No changelog entry
+- Move to GTK3
+  + Replace pkgconfig(gtk+-2.0) with pkgconfig(gtk+-3.0)
+  + Replace pkgconfig(gtksourceview-2.0) with pkgconfig(gtksourceview-3.0)
+  + Replace pkgconfig(gtkspell-2.0) with pkgconfig(gtkspell3-3.0)
+- Update Url; point to new home of the project
+- Remove gummi-deprecated-g_thread_init.patch; fixed on upstream
+- Adapt gummi-fix-crash-on-opening-file.patch to upstream changes
+- Use download Url as source
+- Split out translation files into a -lang subpackage
+
+-------------------------------------------------------------------

Old:
----
  gummi-0.6.5.tar.gz
  gummi-deprecated-g_thread_init.patch

New:
----
  gummi-gtk3_0.7.1.orig.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gummi.spec ++++++
--- /var/tmp/diff_new_pack.wPk9cM/_old  2015-01-20 12:36:21.000000000 +0100
+++ /var/tmp/diff_new_pack.wPk9cM/_new  2015-01-20 12:36:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gummi
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,27 @@
 
 
 Name:           gummi
-Version:        0.6.5
+Version:        0.7.1
 Release:        0
 Summary:        Simple LaTeX editor
 License:        MIT
 Group:          Productivity/Publishing/TeX/Frontends
-Url:            http://gummi.midnightcoding.org/
-Source0:        
http://dev.midnightcoding.org/attachments/download/301/%{name}-%{version}.tar.gz
-%if 0%{?suse_version} > 1210
-# PATCH-FIX-UPSTREAM gummi-deprecated-g_thread_init.patch [email protected] 
-- Remove usage of deprecated g_thread_init().
-Patch0:         gummi-deprecated-g_thread_init.patch
-%endif
+Url:            https://github.com/aitjcize/Gummi
+# Upstream only provide tarballs from launchpad
+Source0:        
https://launchpad.net/~gummi/+archive/ubuntu/gummi/+files/%{name}-gtk3_%{version}.orig.tar.gz
 # PATCH-FIX-UPSTREAM gummi-fix-crash-on-opening-file.patch bnc#840589 
[email protected] -- Fix crash on opening file from the GUI.
 Patch1:         gummi-fix-crash-on-opening-file.patch
 BuildRequires:  fdupes
 BuildRequires:  intltool
 BuildRequires:  pkg-config
 BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(gtk+-2.0) >= 2.20.0
-BuildRequires:  pkgconfig(gtksourceview-2.0) >= 2.2.1
-BuildRequires:  pkgconfig(gtkspell-2.0)
+BuildRequires:  pkgconfig(gtk+-3.0)
+BuildRequires:  pkgconfig(gtksourceview-3.0)
+BuildRequires:  pkgconfig(gtkspell3-3.0)
 BuildRequires:  pkgconfig(poppler-glib)
 Requires:       gtkspell
 Requires:       texlive-latex
+Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -50,12 +48,11 @@
 LaTeX writers. Gummi is still under active development and is
 released under the opensource MIT license.
 
+%lang_package
+
 %prep
-%setup -q
-%if 0%{?suse_version} > 1210
-%patch0 -p1
+%setup -q -n %{name}-gtk3-%{version}
 %patch1 -p1
-%endif
 
 %build
 %configure
@@ -67,7 +64,7 @@
 %suse_update_desktop_file %{name} Office WordProcessor
 %fdupes %{buildroot}%{_datadir}/
 
-%files -f %{name}.lang
+%files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
 %{_mandir}/man*/*.1*
@@ -77,4 +74,6 @@
 %{_datadir}/%{name}/
 %{_libdir}/%{name}/
 
+%files lang -f %{name}.lang
+
 %changelog

++++++ gummi-fix-crash-on-opening-file.patch ++++++
--- /var/tmp/diff_new_pack.wPk9cM/_old  2015-01-20 12:36:21.000000000 +0100
+++ /var/tmp/diff_new_pack.wPk9cM/_new  2015-01-20 12:36:21.000000000 +0100
@@ -3,20 +3,19 @@
 index 4056faf..c7b7c09 100644
 --- a/src/gui/gui-tabmanager.c
 +++ b/src/gui/gui-tabmanager.c
-@@ -145,12 +145,13 @@ gchar* tabmanagergui_get_labeltext (GuTabPage* tp) {
- }
+@@ -165,12 +165,13 @@
  
- gint tabmanagergui_replace_page (GuTabContext* tc, GuEditor* newec) {
--    
-+    GtkWidget *scrolled_view = GTK_WIDGET (g_active_editor->view);
-+
-     gummi->tabmanager->active_tab->editor = newec;
-     
--    gtk_container_remove (GTK_CONTAINER (tc->page->scrollw),
--                          GTK_WIDGET (g_active_editor->view));
-     editor_destroy (g_active_editor);
-+    gtk_container_remove (GTK_CONTAINER (tc->page->scrollw),
-+                          scrolled_view);
-     gtk_container_add (GTK_CONTAINER (tc->page->scrollw),
-                        GTK_WIDGET (newec->view));
-     gtk_widget_show (GTK_WIDGET(newec->view));
+ gint tabmanagergui_replace_page(GuTabContext* tc, GuEditor* newec)
+ {
++  GtkWidget *scrolled_view = GTK_WIDGET (g_active_editor->view);
+ 
+   gummi->tabmanager->active_tab->editor = newec;
+ 
+-  gtk_container_remove(GTK_CONTAINER(tc->page->scrollw),
+-                       GTK_WIDGET(g_active_editor->view));
+   editor_destroy(g_active_editor);
++  gtk_container_remove (GTK_CONTAINER (tc->page->scrollw),
++                        scrolled_view);
+   gtk_container_add(GTK_CONTAINER(tc->page->scrollw),
+                     GTK_WIDGET(newec->view));
+   gtk_widget_show(GTK_WIDGET(newec->view));

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to