Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit gobby
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 03 Aug 2007 21:39:42 +0200
  • Message-id: <20070803193942.A9902678180@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package gobby
checked in at Fri Aug 3 21:39:42 CEST 2007.

--------
--- GNOME/gobby/gobby.changes   2007-06-07 13:34:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/gobby/gobby.changes    2007-08-03 20:54:02.037560000 +0200
@@ -1,0 +2,25 @@
+Fri Aug  3 18:09:02 CEST 2007 - maw@xxxxxxx
+
+- Update to versino 0.4.4:
+  + opens absolute file names passed via command line
+  + view is kept when remote ops affect the current position
+  + documents can be subscribed by doubleclicking on them in the
+    list
+  + local files aren't flagged as modified
+  + urgency hint is configurable
+  + tab bar only shown when more than one doc is being edited
+  + find and goto dialogs are focused on invocation
+  + prefence option added to subscribe automagically to all docs
+    in a session
+  + window highlights itself only if the chat window is open
+  + zeroconf failures are only printed in the console, not in a
+    dialog
+  + use GtkSourceView's C API directly
+  + document list is now sorted alphabetically
+  + Misc. fixes
+  + Updated translations
+- Build against gtksourceview2
+- Add gtksourceview.patch
+- Use %fdupes.
+
+-------------------------------------------------------------------

Old:
----
  gobby-0.4.1.tar.bz2

New:
----
  gobby-0.4.4.tar.bz2
  gtksourceview.patch

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

Other differences:
------------------
++++++ gobby.spec ++++++
--- /var/tmp/diff_new_pack.B19160/_old  2007-08-03 21:38:08.000000000 +0200
+++ /var/tmp/diff_new_pack.B19160/_new  2007-08-03 21:38:08.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package gobby (Version 0.4.1)
+# spec file for package gobby (Version 0.4.4)
 #
 # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
@@ -11,15 +11,16 @@
 # norootforbuild
 
 Name:           gobby
-BuildRequires:  gcc-c++ gmp-devel gnutls-devel gtkmm24-devel gtksourceview-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel libxml++-devel mDNSResponder-devel obby-devel update-desktop-files
-License:        GNU General Public License (GPL)
+BuildRequires:  avahi-devel fdupes gcc-c++ gmp-devel gnutls-devel gtkmm24-devel gtksourceview-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel libxml++-devel mDNSResponder-devel obby-devel update-desktop-files
+License:        GPL v2 or later
 Group:          System/GUI/GNOME
 Autoreqprov:    on
-Version:        0.4.1
-Release:        75
+Version:        0.4.4
+Release:        1
 Summary:        Gobby collaborative editor
 Source:         %{name}-%{version}.tar.bz2
-Patch:          %{name}-desktop.patch
+Patch0:         %{name}-desktop.patch
+Patch1:         gtksourceview.patch
 URL:            http://gobby.0x539.de/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       obby >= %{version}
@@ -40,12 +41,14 @@
 
 %prep
 %setup -q
-%patch
+%patch0
+%patch1 -p1
 
 %build
 autoreconf -f -i
-%configure\
-       --with-gnome
+%configure \
+    --with-gnome \
+    --with-gtksourceview2
 make %{?jobs:-j%jobs}
 
 %install
@@ -53,6 +56,8 @@
 %find_lang %{name}
 %suse_update_desktop_file %{name}
 
+%fdupes $RPM_BUILD_ROOT
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,6 +71,28 @@
 %doc %{_mandir}/man1/*.*
 
 %changelog
+* Fri Aug 03 2007 - maw@xxxxxxx
+- Update to versino 0.4.4:
+  + opens absolute file names passed via command line
+  + view is kept when remote ops affect the current position
+  + documents can be subscribed by doubleclicking on them in the
+  list
+  + local files aren't flagged as modified
+  + urgency hint is configurable
+  + tab bar only shown when more than one doc is being edited
+  + find and goto dialogs are focused on invocation
+  + prefence option added to subscribe automagically to all docs
+  in a session
+  + window highlights itself only if the chat window is open
+  + zeroconf failures are only printed in the console, not in a
+  dialog
+  + use GtkSourceView's C API directly
+  + document list is now sorted alphabetically
+  + Misc. fixes
+  + Updated translations
+- Build against gtksourceview2
+- Add gtksourceview.patch
+- Use %%fdupes.
 * Thu Jun 07 2007 - sbrabec@xxxxxxx
 - Fixed desktop file translation.
 - Removed invalid desktop Category "Application" (#254654).

++++++ gobby-0.4.1.tar.bz2 -> gobby-0.4.4.tar.bz2 ++++++
++++ 26831 lines of diff (skipped)

++++++ gtksourceview.patch ++++++
Index: gobby-0.4.4/src/preferences.cpp
===================================================================
--- gobby-0.4.4.orig/src/preferences.cpp
+++ gobby-0.4.4/src/preferences.cpp
@@ -16,17 +16,34 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#define WITH_GTKSOURCEVIEW2
+
 #include "preferences.hpp"
+#include "header.hpp"
+
+
+
+// #ifdef WITH_GTKSOURCEVIEW2
+#include <gtksourceview/gtksourcelanguagemanager.h>
+// #else
+// # include <gtksourceview/gtksourcelanguagesmanager.h>
+// #endif
+
+// #ifndef WITH_GTKSOURCEVIEW2
+// typedef GtkSourceLanguagesManager GtkSourceLanguageManager;
+// #endif
 
 namespace
 {
+#include <gtksourceview/gtksourcelanguagemanager.h>
        GtkSourceLanguage*
        get_language_from_mime_type(GtkSourceLanguageManager* manager,
                                    const gchar* mime_type)
        {
 #ifdef WITH_GTKSOURCEVIEW2
                const GSList* list =
-                       gtk_source_language_manager_get_available_languages(
+                       // gtk_source_language_manager_get_available_languages(
+            gtk_source_language_manager_list_languages(
                                manager
                                );
 
@@ -246,7 +263,7 @@ Gobby::Preferences::FileList::FileList(C
        else
        {
 #ifdef WITH_GTKSOURCEVIEW2
-               const GSList* list = gtk_source_language_manager_get_available_languages(
+               const GSList* list = gtk_source_language_manager_list_languages(
                        lang_mgr);
 
                for(; list != NULL; list = list->next)
Index: gobby-0.4.4/src/header.cpp
===================================================================
--- gobby-0.4.4.orig/src/header.cpp
+++ gobby-0.4.4/src/header.cpp
@@ -610,7 +610,7 @@ Gobby::Header::Header(const ApplicationS
 
        // Get available languages
 #ifdef WITH_GTKSOURCEVIEW2
-       const GSList* list = gtk_source_language_manager_get_available_languages(
+       const GSList* list = gtk_source_language_manager_list_languages(
                lang_mgr);
 #else
        const GSList* list = gtk_source_languages_manager_get_available_languages(
Index: gobby-0.4.4/src/preferencesdialog.cpp
===================================================================
--- gobby-0.4.4.orig/src/preferencesdialog.cpp
+++ gobby-0.4.4/src/preferencesdialog.cpp
@@ -350,7 +350,7 @@ Gobby::PreferencesDialog::FileList::File
 {
 #ifdef WITH_GTKSOURCEVIEW2
        const GSList* list =
-               gtk_source_language_manager_get_available_languages(lang_mgr);
+               gtk_source_language_manager_list_languages(lang_mgr);
 #else
        const GSList* list =
                gtk_source_languages_manager_get_available_languages(lang_mgr);
@@ -521,7 +521,7 @@ void Gobby::PreferencesDialog::FileList:
 {
 #ifdef WITH_GTKSOURCEVIEW2
        const GSList* list =
-               gtk_source_language_manager_get_available_languages(m_lang_mgr);
+               gtk_source_language_manager_list_languages(m_lang_mgr);
 
        GtkSourceLanguage* lang = NULL;
        for(; list != NULL; list = list->next)
Index: gobby-0.4.4/src/docwindow.cpp
===================================================================
--- gobby-0.4.4.orig/src/docwindow.cpp
+++ gobby-0.4.4/src/docwindow.cpp
@@ -22,6 +22,7 @@
 #include "features.hpp"
 #ifdef WITH_GTKSOURCEVIEW2
 # include <gtksourceview/gtksourcestylemanager.h>
+# include <gtksourceview/gtksourceview.h>
 #endif
 
 #include "preferences.hpp"
@@ -351,8 +352,8 @@ void Gobby::DocWindow::apply_preferences
 #ifdef WITH_GTKSOURCEVIEW2
        gtk_source_view_set_smart_home_end(GTK_SOURCE_VIEW(m_view),
                m_preferences.editor.homeend_smart ?
-               GTKSOURCEVIEW_SMART_HOME_END_ALWAYS :
-               GTKSOURCEVIEW_SMART_HOME_END_DISABLED);
+               GTK_SOURCE_SMART_HOME_END_ALWAYS :
+               GTK_SOURCE_SMART_HOME_END_DISABLED);
 #else
        gtk_source_view_set_smart_home_end(GTK_SOURCE_VIEW(m_view),
                m_preferences.editor.homeend_smart);
Index: gobby-0.4.4/src/window.cpp
===================================================================
--- gobby-0.4.4.orig/src/window.cpp
+++ gobby-0.4.4/src/window.cpp
@@ -186,7 +186,7 @@ Gobby::Window::Window(const IconManager&
 #else
                m_zeroconf.reset(new obby::zeroconf);
                // Periodically check for events when not using Avahi Glib Poll
-               Glib::signal_timeout().connect(sigc::bind(sigc::mem_fun(*m_zeroconf.get(), &zeroconf_base::select), 0), 1500);
+               Glib::signal_timeout().connect(sigc::bind(sigc::mem_fun(*m_zeroconf.get(), &obby::zeroconf_base::select), 0), 1500);
 #endif
        }
        catch(std::runtime_error&)

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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread