Hello community,
here is the log from the commit of package libgnomedb
checked in at Wed Oct 17 15:05:24 CEST 2007.
--------
--- GNOME/libgnomedb/libgnomedb.changes 2007-08-07 23:59:00.000000000 +0200
+++ /mounts/work_src_done/STABLE/libgnomedb/libgnomedb.changes 2007-10-17 14:29:14.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Oct 17 14:28:47 CEST 2007 - sbrabec@suse.cz
+
+- Updated to version 3.1.1:
+ * New major version, new API. See NEWS for details.
+
+-------------------------------------------------------------------
Old:
----
libgnomedb-1.3.91.patch
libgnomedb-1.3.91.tar.bz2
libgnomedb-155286.patch
libgnomedb-64bit.patch
libgnomedb-fhs.patch
libgnomedb-optflags.patch
libgnomedb-random.patch
New:
----
libgnomedb-3.1.1.tar.bz2
libgnomedb-desktop.patch
libgnomedb-strict-aliasing.patch
libgnomedb-uninitialized.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgnomedb.spec ++++++
--- /var/tmp/diff_new_pack.B27744/_old 2007-10-17 15:03:43.000000000 +0200
+++ /var/tmp/diff_new_pack.B27744/_new 2007-10-17 15:03:43.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libgnomedb (Version 1.3.91)
+# spec file for package libgnomedb (Version 3.1.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,24 +11,22 @@
# norootforbuild
Name: libgnomedb
-BuildRequires: evolution-data-server-devel fdupes gcc-c++ gnome-common gtk-doc gtksourceview-devel intltool libgda-devel libgnomeui-devel scrollkeeper sgml-skel shared-mime-info update-desktop-files
+BuildRequires: evolution-data-server-devel fdupes gcc-c++ gnome-common graphviz-devel gtk-doc intltool libgda-devel libgnomeui-devel scrollkeeper sgml-skel shared-mime-info update-desktop-files
+# NOTE: Only old version of gtksourceview is supported.
+# FIXME: db-devel is required for libgda db bindings. Should be fixed by libgda splitting:
+BuildRequires: db-devel
License: GPL v2 or later
Group: System/GUI/GNOME
-Version: 1.3.91
-Release: 118
+Version: 3.1.1
+Release: 1
Summary: Library for Writing GNOME Database Programs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-URL: http://www.gnome-db.org/
-Source: ftp://ftp.gnome.org/pub/gnome/sources/libgnomedb/1.3/%{name}-%{version}.tar.bz2
-Patch2: libgnomedb-fhs.patch
-Patch3: libgnomedb-64bit.patch
-Patch4: libgnomedb-random.patch
-Patch5: libgnomedb-1.3.91.patch
-Patch6: libgnomedb-155286.patch
-Patch7: libgnomedb-optflags.patch
-Autoreqprov: on
+Url: http://www.gnome-db.org/
+Source: ftp://ftp.gnome.org/pub/gnome/sources/libgnomedb/3.1/%{name}-%{version}.tar.bz2
+Patch: libgnomedb-strict-aliasing.patch
+Patch2: libgnomedb-desktop.patch
+Patch3: libgnomedb-uninitialized.patch
Requires: %{name}-lang = %{version}
-
%gconf_schemas_prereq
%description
@@ -41,11 +39,12 @@
--------
Rodrigo Moya
Vivien Malerba
+ Daniel Espinosa
%package devel
Summary: Include Files and Libraries mandatory for Development.
-Group: System/GUI/GNOME
-Requires: %{name} = %{version} glib2-devel gtk2-devel libgda-devel libgnomeui-devel libbonobo-devel libbonoboui-devel libglade2-devel gtksourceview-devel libxml2-devel
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version} glib2-devel graphviz-devel gtk2-devel libgda-devel libglade2-devel libgnomecanvas-devel
%description devel
This package contains all necessary include files and libraries needed
@@ -57,10 +56,11 @@
--------
Rodrigo Moya
Vivien Malerba
+ Daniel Espinosa
%package doc
Summary: Additional Package Documentation.
-Group: System/GUI/GNOME
+Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description doc
@@ -73,27 +73,20 @@
--------
Rodrigo Moya
Vivien Malerba
+ Daniel Espinosa
%lang_package
%prep
%setup -q
+%patch
%patch2
%patch3
-%patch4
-%patch5
-%patch6
-%patch7
-rm po/no.*
-sed -i "/^ALL_LINGUAS/s/ no / /" configure.in
%build
autoreconf -f -i
-# needed for libgnomedb-1.3.91:
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# FIXME: Build as root modifies system!
-# libgnomedb-1.3.91: --disable-scrollkeeper does not work properly.
+# libgnomedb-3.1.1: --disable-scrollkeeper does not work properly.
%configure\
- --libexecdir=%{_prefix}/lib/libgnomedb-3\
--disable-static\
--disable-schemas-install\
--disable-scrollkeeper
@@ -101,21 +94,10 @@
%install
%makeinstall
-DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime
-mkdir $RPM_BUILD_ROOT%{_datadir}/applications/
-mv $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets/*.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
-rmdir $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets
-rmdir $RPM_BUILD_ROOT%{_datadir}/control-center-2.0
-cd $RPM_BUILD_ROOT%{_datadir}/pixmaps ; ln -s libgnomedb/gnome-db.png . ; cd -
-sed -i s:libgnomedb/gnome-db.png:gnome-db: $RPM_BUILD_ROOT%{_datadir}/applications/database-properties.desktop
-%suse_update_desktop_file database-properties SystemSetup
-%find_lang %{name}-3
+%suse_update_desktop_file -G "GNOME Database Access Properties" database-properties-3.0
+%find_lang %{name}-3.0
%find_gconf_schemas
-cat %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a
-rm $RPM_BUILD_ROOT%{_datadir}/mime-info/*.*
-rmdir $RPM_BUILD_ROOT%{_datadir}/mime-info
-
%fdupes $RPM_BUILD_ROOT
%clean
@@ -123,42 +105,31 @@
%pre -f %{name}.schemas_pre
-%post
-/sbin/ldconfig
-if test -x usr/bin/update-mime-database ; then
- usr/bin/update-mime-database usr/share/mime >/dev/null
-fi
-
+%post -p /sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
-%postun
-/sbin/ldconfig
-if test -x usr/bin/update-mime-database ; then
- usr/bin/update-mime-database usr/share/mime >/dev/null
-fi
+%postun -p /sbin/ldconfig
-%files -f %{name}.lst
+%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/applications/*.desktop
-%{_datadir}/libgnomedb
-%{_datadir}/mime/packages/*.xml
-%{_datadir}/pixmaps/*.png
-%{_datadir}/pixmaps/libgnomedb
+%{_datadir}/gnome-db-3.0
+%exclude %{_datadir}/gnome-db-3.0/demo
+%{_datadir}/pixmaps/gnome-db-3.0
+%{_datadir}/pixmaps/libgnomedb-3.0
+%{_libdir}/gnome-db-3.0
%{_libdir}/*.so.*
%{_libdir}/libglade/2.0/*.so
-%dir %{_libdir}/libgnomedb
-%dir %{_libdir}/libgnomedb/plugins
-# FIXME: Should not be versioned.
-%{_libdir}/libgnomedb/plugins/*.so*
-%files lang -f %{name}-3.lang
+%files lang -f %{name}-3.0.lang
%files devel
%defattr(-, root, root)
+%{_datadir}/gnome-db-3.0/demo
%{_datadir}/omf/*
%{_includedir}/*
%{_libdir}/*.so
@@ -168,8 +139,10 @@
%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/*
-
%changelog
+* Wed Oct 17 2007 - sbrabec@suse.cz
+- Updated to version 3.1.1:
+ * New major version, new API. See NEWS for details.
* Tue Aug 07 2007 - maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
++++++ libgnomedb-1.3.91.tar.bz2 -> libgnomedb-3.1.1.tar.bz2 ++++++
++++ 559127 lines of diff (skipped)
++++++ libgnomedb-desktop.patch ++++++
--- control-center/database-properties-3.0.desktop.in
+++ control-center/database-properties-3.0.desktop.in
@@ -5,5 +5,5 @@
Exec=gnome-database-properties-3.0
Terminal=0
Type=Application
-Categories=Application;Settings;AdvancedSettings;
+Categories=Settings;DesktopSettings;
StartupNotify=true
++++++ libgnomedb-strict-aliasing.patch ++++++
gnome-db-tools.c: In function 'init_plugins_hash':
gnome-db-tools.c:385: warning: dereferencing type-punned pointer will break strict-aliasing rules
================================================================================
--- libgnomedb/gnome-db-tools.c
+++ libgnomedb/gnome-db-tools.c
@@ -382,7 +382,7 @@
continue;
}
- g_module_symbol (handle, "plugin_init", (gpointer *) &plugin_init);
+ g_module_symbol (handle, "plugin_init", &plugin_init);
if (plugin_init) {
g_print (_("Loading file %s...\n"), path);
plugins = plugin_init (&err);
++++++ libgnomedb-uninitialized.patch ++++++
Program is using uninitialized variables:
libgnomedb uninitialized-variable gnome-db-error-dialog.c: 128
libgnomedb uninitialized-variable utility.c: 249
gnome-db-data-cell-renderer-combo.c: In function 'gnome_db_data_cell_renderer_combo_get_size':
gnome-db-data-cell-renderer-combo.c:473: warning: 'calc_height' may be used uninitialized in this function
gnome-db-data-cell-renderer-combo.c:472: warning: 'calc_width' may be used uninitialized in this function
gnome-db-format-entry.c: In function 'test_text_validity':
gnome-db-format-entry.c:1348: warning: 'negative' may be used uninitialized in this function
gnome-db-format-entry.c: In function 'insert_text_cb':
gnome-db-format-entry.c:1598: warning: 'fi' may be used uninitialized in this function
gnome-db-format-entry.c: In function 'delete_text_cb':
gnome-db-format-entry.c:1157: warning: 'fs' may be used uninitialized in this function
gnome-db-data-widget-info.c: In function 'row_spin_changed_cb':
gnome-db-data-widget-info.c:472: warning: 'row' may be used uninitialized in this function
gnome-db-data-widget-info.c: In function 'modif_buttons_update':
gnome-db-data-widget-info.c:491: warning: 'has_selection' may be used uninitialized in this function
utility.c: In function 'create_data_error_dialog':
utility.c:401: warning: 'msg' may be used uninitialized in this function
utility.c: In function 'gnome_db_utility_proxy_compute_attributes_for_group':
utility.c:249: warning: 'row' is used uninitialized in this function
gnome-db-error-dialog.c: In function 'gnome_db_error_dialog_init':
gnome-db-error-dialog.c:128: warning: 'str' is used uninitialized in this function
================================================================================
--- libgnomedb-extra/gnome-db-error-dialog.c
+++ libgnomedb-extra/gnome-db-error-dialog.c
@@ -124,7 +124,7 @@
GTK_WIDGET (dialog->priv->error_widget),
TRUE, TRUE, 0);
- gnome_db_gbr_get_icon_path ("gnome-db.png");
+ str = gnome_db_gbr_get_icon_path ("gnome-db.png");
icon = gdk_pixbuf_new_from_file (str, NULL);
g_free (str);
if (icon) {
--- libgnomedb/utility.c
+++ libgnomedb/utility.c
@@ -223,13 +223,11 @@
GDA_VALUE_ATTR_IS_DEFAULT | GDA_VALUE_ATTR_CAN_BE_DEFAULT |
GDA_VALUE_ATTR_IS_UNCHANGED | GDA_VALUE_ATTR_HAS_VALUE_ORIG;
gboolean to_del = TRUE, local_to_del;
- gboolean new_row = FALSE;
GSList *list;
gint col;
gint offset;
guint localattr;
GdaDataProxy *proxy;
- gint row;
proxy = gnome_db_data_store_get_proxy (store);
offset = gda_data_proxy_get_proxied_model_n_cols (proxy);
@@ -246,7 +244,6 @@
else
attributes &= localattr;
to_del = to_del && local_to_del;
- new_row = (row < 0) ? TRUE : FALSE;
}
if (to_be_deleted)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org