Hello community, here is the log from the commit of package sushi for openSUSE:Factory checked in at Fri Jul 8 11:18:13 CEST 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/sushi/sushi.changes 2011-07-06 10:43:55.000000000 +0200 @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Sun Jul 3 18:11:14 CEST 2011 - vuntz@opensuse.org + +- Initial package (version 0.0.3). +- sushi-fix-warnings.patch fixes build warnings that break the + build. + calling whatdependson for head-i586 New: ---- sushi-0.0.3.tar.bz2 sushi-fix-warnings.patch sushi.changes sushi.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sushi.spec ++++++ # # spec file for package sushi # # Copyright (c) 2011 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: sushi Version: 0.0.3 Release: 1 License: GPLv3 Summary: Quick Previewer for Nautilus Url: http://www.gnome.org Group: Productivity/File utilities Source0: http://download.gnome.org/sources/sushi/0.3/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM sushi-fix-warnings.patch vuntz@opensuse.org -- Fix build warnings breaking the build; sent upstream by mail Patch0: sushi-fix-warnings.patch BuildRequires: gobject-introspection-devel BuildRequires: intltool BuildRequires: unoconv BuildRequires: pkgconfig(clutter-1.0) BuildRequires: pkgconfig(clutter-gst-1.0) BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(evince-document-3.0) BuildRequires: pkgconfig(evince-view-3.0) BuildRequires: pkgconfig(gjs-1.0) BuildRequires: pkgconfig(gjs-dbus-1.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gstreamer-pbutils-0.10) BuildRequires: pkgconfig(gstreamer-tag-0.10) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(libmusicbrainz3) BuildRequires: pkgconfig(webkitgtk-3.0) Recommends: %{name}-lang Supplements: nautilus BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Sushi is a quick previewer for Nautilus, the GNOME desktop file manager. %package -n libsushi-1_0-0 License: GPLv3 Summary: Quick Previewer for Nautilus -- Library Group: System/Libraries # When built with unoconv support, the library will use unoconv to # read LibreOffice files Recommends: unoconv %description -n libsushi-1_0-0 Sushi is a quick previewer for Nautilus, the GNOME desktop file manager. %lang_package %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} %install %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %find_lang %{name} %{?no_lang_C} %clean rm -rf %{buildroot} %post -n libsushi-1_0-0 -p /sbin/ldconfig %postun -n libsushi-1_0-0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_bindir}/sushi %{_libexecdir}/sushi-start %{_datadir}/dbus-1/services/org.gnome.Sushi.service %{_datadir}/sushi/ %files -n libsushi-1_0-0 %defattr(-,root,root) %{_libdir}/libsushi-1.0.so.* %{_libdir}/girepository-1.0/Sushi-1.0.typelib # devel files, but we really have no need for a devel subpackage %{_libdir}/libsushi-1.0.so %{_datadir}/gir-1.0/Sushi-1.0.gir %files lang -f %{name}.lang %changelog ++++++ sushi-fix-warnings.patch ++++++ diff --git a/src/libsushi/sushi-sound-player.c b/src/libsushi/sushi-sound-player.c index d275ac8..6406cee 100644 --- a/src/libsushi/sushi-sound-player.c +++ b/src/libsushi/sushi-sound-player.c @@ -131,6 +131,8 @@ sushi_sound_player_ensure_discoverer (SushiSoundPlayer *player) G_CALLBACK (discoverer_discovered_cb), player); gst_discoverer_start (priv->discoverer); gst_discoverer_discover_uri_async (priv->discoverer, priv->uri); + + return TRUE; } static void @@ -143,8 +145,7 @@ sushi_sound_player_set_uri (SushiSoundPlayer *player, priv = SUSHI_SOUND_PLAYER_GET_PRIVATE (player); - if (priv->uri && - !strcmp (priv->uri, uri)) + if (!g_strcmp0 (priv->uri, uri)) return; g_free (priv->uri); @@ -588,7 +589,7 @@ sushi_sound_player_get_playing (SushiSoundPlayer *player) GstState state, pending; gboolean playing; - g_return_if_fail (SUSHI_IS_SOUND_PLAYER (player)); + g_return_val_if_fail (SUSHI_IS_SOUND_PLAYER (player), FALSE); priv = SUSHI_SOUND_PLAYER_GET_PRIVATE (player); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org