SHA256
1
0
forked from pool/gvfs

Accepting request 136729 from GNOME:Factory

Pushing GNOME:Factory towards openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/136729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gvfs?expand=0&rev=87
This commit is contained in:
Stephan Kulow 2012-10-05 11:37:11 +00:00 committed by Git OBS Bridge
commit 49e24671e8
5 changed files with 206 additions and 54 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38f69ec92083f86a51e7814e98d2861151f16dfb3abe4b3b39488408e12fd9c2
size 1361968

3
gvfs-1.14.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71ab8cf60070025d1aff9bee1f514fdb45682ffad01b6856cabab1bc3791bfb4
size 1463400

View File

@ -1,34 +0,0 @@
diff --git a/daemon/gvfsbackendcdda.c b/daemon/gvfsbackendcdda.c
index 6f009c7..5abbbf1 100644
--- a/daemon/gvfsbackendcdda.c
+++ b/daemon/gvfsbackendcdda.c
@@ -169,11 +169,11 @@ fetch_metadata (GVfsBackendCdda *cdda_backend)
if (!cdio)
return;
- cdtext = cdio_get_cdtext(cdio, 0);
+ cdtext = cdio_get_cdtext(cdio);
if (cdtext) {
- cdda_backend->album_title = g_strdup (cdtext_get (CDTEXT_TITLE, cdtext));
- cdda_backend->album_artist = g_strdup (cdtext_get (CDTEXT_PERFORMER, cdtext));
- cdda_backend->genre = g_strdup (cdtext_get (CDTEXT_GENRE, cdtext));
+ cdda_backend->album_title = g_strdup (cdtext_get (cdtext, CDTEXT_FIELD_TITLE, 0));
+ cdda_backend->album_artist = g_strdup (cdtext_get (cdtext, CDTEXT_FIELD_PERFORMER, 0));
+ cdda_backend->genre = g_strdup (cdtext_get (cdtext, CDTEXT_FIELD_GENRE, 0));
}
cdtrack = cdio_get_first_track_num(cdio);
@@ -182,10 +182,10 @@ fetch_metadata (GVfsBackendCdda *cdda_backend)
for ( ; cdtrack < last_cdtrack; cdtrack++ ) {
GVfsBackendCddaTrack *track;
track = g_new0 (GVfsBackendCddaTrack, 1);
- cdtext = cdio_get_cdtext(cdio, cdtrack);
+ cdtext = cdio_get_cdtext(cdio);
if (cdtext) {
- track->title = g_strdup (cdtext_get (CDTEXT_TITLE, cdtext));
- track->artist = g_strdup (cdtext_get (CDTEXT_PERFORMER, cdtext));
+ track->title = g_strdup (cdtext_get (cdtext, CDTEXT_FIELD_TITLE, cdtrack));
+ track->artist = g_strdup (cdtext_get (cdtext, CDTEXT_FIELD_PERFORMER, cdtrack));
}
track->duration = cdio_get_track_sec_count (cdio, cdtrack) / CDIO_CD_FRAMES_PER_SEC;

View File

@ -1,3 +1,178 @@
-------------------------------------------------------------------
Mon Sep 24 14:30:15 UTC 2012 - dimstar@opensuse.org
- Update to version 1.14.0:
+ Updated translations.
-------------------------------------------------------------------
Mon Sep 17 15:41:44 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.9:
+ build: Use tar-ustar instead of tar-pax
+ daemon: Fix some memory leaks
+ file monitor: Try to unsubscribe from the proxy used for
subscription
+ hal volume monitor: Fix compilation
+ gdu volume monitor: Handle gdu_pool_new() returning NULL
gracefully
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 4 19:23:53 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.8:
+ Added support for symbolic icons
+ Removed favicon support
+ Various build fixes and cleanup
+ afc:
- Improve idevice error handling
- Unpair an idevice if it was already paired and refuses to
connect
- Use the correct choice index for "Cancel"
+ afp:
- fix g_vfs_afp_connection_get_max_request() not returning any
value
- Use human friendly error messages
+ daemon:
- Return correct error for invalid backends
- Fix races when mounting the same mount in parallel
- Don't warn when running against an older gvfs-daemon
+ gdbus: Don't g_warn about getting the dbus name
+ gmountspec: Make sure to free the GVariantIter
+ network:
- Don't set a file size for the network:// shortcuts
- Append the service name when needed to help differentiate
+ recent: Honor the private hint
+ Don't use the display name to make the unique mount point
+ Don't include jargon in mount display names and messages
+ Added more hints for translators
+ Updated translations.
- Drop upstream fixed patches:
+ gvfs-afp-return.patch
+ gvfs-gphoto2.patch
-------------------------------------------------------------------
Mon Aug 20 17:30:48 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.7:
+ Use libsecret instead of gnome-keyring
+ afp: Lots of robustness work
+ cdda: Support libcdio >= 0.84
+ Updated translations.
- Replace gnome-keyring-devel BuildRequires with
pkgconfig(libsecret-unstable), following upstreams switch.
- Drop gvfs-cdda.patch: fixed upstream.
- Add gvfs-afp-return.patch: fix
g_vfs_afp_connection_get_max_request() not returning any value.
-------------------------------------------------------------------
Wed Aug 8 12:27:03 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.6:
+ gphoto: suppor libgphoto 2.5 API.
- Add gvfs-gphoto2.patch: Support, but do not require gphoto 2.5.
-------------------------------------------------------------------
Wed Aug 8 11:44:52 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.5:
+ cdda: Fix abort with non-ASCII text
+ Add more man pages
+ Upadted translations.
- Rebase gvfs-cdda.patch.
-------------------------------------------------------------------
Tue Aug 7 13:55:25 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.4:
+ Core daemon and backends GDBus port
+ FSF Address has been updated
+ gvfs-fuse-daemon has been renamed to gvfsd-fuse
+ Spelling correction "filesystem" -> "file system"
+ programs: Return proper exit value when something fails
+ afc: Use consistent debug env var
+ computer: Mark items as not renamable
+ proxyvolumemonitor: Use GDBusProxy's name owner change
notification
+ udisks2:
- Work around Linux bug for lingering partitions of cleared
loop device
- set should_automount to TRUE for loop devices set up by the
user
- ensure that encrypted loop devices also get padlock emblem
+ Updated translations.
- Rebase gvfs-cdda.patch.
-------------------------------------------------------------------
Tue Aug 7 12:51:08 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.3:
+ Added man pages for all gvfs utilities
+ Added a recent files backend (using GtkRecentManager)
+ Support for new GMountOperation::show-unmount-progress signal
+ daemon: Updated to use XDG Cache Home for thumbnails
+ daemon/sftp: Support allocating PTYs through openpty on BSD
+ trash: Make it possible to get to real URI
+ udisks2: Plug a memory leak
+ Updated translations.
- Add pkgconfig(gtk+-3.0) BuildRequires: new dependency.
- Add xsltproc and docbook-xsl-stylesheets BuildRequires: new
dependencies for building the man pages.
-------------------------------------------------------------------
Tue Aug 7 11:54:24 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.2:
+ dav:
- Ignore empty tags in multistatus responses
- Abort finding the root on error or auth info change
+ fuse: Support ftruncate() where requested size > current size
+ gdbus: Use stable metadata proxy
+ gvfs-open: Use g_app_info_launch_default_for_uri()
+ build: Install bash completion files in /usr/share/
+ Some more build fixes
+ Updated translations.
-------------------------------------------------------------------
Tue Aug 7 10:40:55 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.1:
+ Volume monitoring and metadata GDBus port
+ gvfs-mount: Add new -e option to eject a mount
+ udisks2:
- Couple of multiseat fixes
- Don't call g_simple_async_result_take_error() twice
- Also check for umount(8) saying "target is busy"
- Set timeout to INTMAX when unmounting a filesystem
- Show "Eject Anyway" (not "Unmount Anyway") if ejecting
+ Updated translations.
-------------------------------------------------------------------
Tue Aug 7 09:58:12 UTC 2012 - dimstar@opensuse.org
- Update to version 1.13.0:
+ afp:
- Convert pascal strings into utf-8
- Use the UTF-8 server name for password dialogs when it's
available
+ udisks2:
- Don't set should_automount to TRUE for devices on other seats
- Set should_automount correctly when starting up
- Don't show drives from other seats and special-case seat
"all"
- Don't automount if drive is shared across all seats
- Support getting/storing LUKS encryption passphrase from
keyring
+ build:
- Include udisks2/what-is-shown.txt in the tarball
- Bail if gphoto support is requested but not available
+ Updated translations.
- Add pkgconfig(libsystemd-login) BuildRequires for the new seat
based comparisons.
- Change dbus-1-glib-devel and glib2-devel BuildRequires to
pkgconfig() BuildRequires: dbus-glib-1, glib-2.0, gobject-2.0,
gio-unix-2.0, gio-2.0.
-------------------------------------------------------------------
Mon Aug 6 19:30:09 UTC 2012 - dimstar@opensuse.org

View File

@ -20,24 +20,21 @@
%define with_cdda 1
Name: gvfs
Version: 1.12.3
Version: 1.14.0
Release: 0
Summary: VFS functionality for GLib
License: LGPL-2.0+
Group: Development/Libraries/C and C++
Url: http://www.gnome.org
Source0: http://download.gnome.org/sources/gvfs/1.12/%{name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/gvfs/1.14/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FEATURE-OPENSUSE gvfs-nvvfs.patch ksamrat@novell.com -- Provides gvfs backend for novell nautilus plugin
Patch5: gvfs-nvvfs.patch
# PATCH-FEATURE-OPENSUSE gvfs-nds.patch ksamrat@novell.com -- Provides NDS browsing for nautilus
Patch6: gvfs-nds.patch
# PATCH-FIX-UPSTREAM gvfs-cdda.patch bgo#678257 dimstar@opensuse.org -- Fix build with libcdio 0.83, where the CDText API changed.
Patch7: gvfs-cdda.patch
BuildRequires: bluez-devel
BuildRequires: dbus-1-glib-devel
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fuse-devel
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: intltool
BuildRequires: libarchive-devel
BuildRequires: libavahi-glib-devel
@ -49,18 +46,26 @@ BuildRequires: libgcrypt-devel
%if !%{with_udisks2}
BuildRequires: libgdu-devel
%endif
BuildRequires: libgnome-keyring-devel
BuildRequires: libgphoto2-devel
BuildRequires: libgudev-1_0-devel
BuildRequires: libimobiledevice-devel >= 1.1.0
BuildRequires: libsmbclient-devel
BuildRequires: libsoup-devel
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: translation-update-upstream
BuildRequires: xsltproc
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.33.12
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gtk+-3.0) => 3.0
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libsecret-unstable)
BuildRequires: pkgconfig(libsystemd-login) >= 44
%if %{with_udisks2}
BuildRequires: pkgconfig(udisks2) >= 1.90
BuildRequires: pkgconfig(udisks2) >= 1.97
%endif
Requires: libgvfscommon0 = %{version}
Recommends: %{name}-lang
@ -131,7 +136,6 @@ VFS functionality for GLib.
translation-update-upstream
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
autoreconf -f
@ -146,14 +150,12 @@ libtoolize -c -f
--enable-gdu \
%endif
--disable-static
%__make
make
%install
%makeinstall
%make_install
rm %{buildroot}%{_libdir}/*.*a
rm %{buildroot}%{_libdir}/gio/modules/*.*a
# We can drop the chmod when bgo523420 is fixed.
chmod -x %{buildroot}%{_sysconfdir}/profile.d/*
%find_lang %{name}
%post
@ -178,7 +180,7 @@ rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README TODO
%{_bindir}/*
%{_bindir}/gvfs-*
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/mounts
%dir %{_datadir}/%{name}/remote-volume-monitors
@ -188,11 +190,18 @@ rm -rf %{buildroot}
%{_datadir}/dbus-1/services/gvfs-daemon.service
%{_libexecdir}/%{name}/gvfsd-metadata
%{_datadir}/dbus-1/services/gvfs-metadata.service
%{_sysconfdir}/profile.d/*
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/gvfs
%{_mandir}/man1/gvfs-*.1%{?ext_man}
%{_mandir}/man1/gvfsd.1%{?ext_man}
%{_mandir}/man1/gvfsd-metadata.1%{?ext_man}
%{_mandir}/man7/gvfs.7%{?ext_man}
%files fuse
%defattr(-, root, root)
%{_libexecdir}/%{name}/gvfs-fuse-daemon
%{_libexecdir}/%{name}/gvfsd-fuse
%{_mandir}/man1/gvfsd-fuse.1%{?ext_man}
%files backend-afc
%defattr(-, root, root)
@ -252,6 +261,8 @@ rm -rf %{buildroot}
%{_datadir}/%{name}/mounts/nvvfs.mount
%{_libexecdir}/%{name}/gvfsd-obexftp
%{_datadir}/%{name}/mounts/obexftp.mount
%{_libexecdir}/%{name}/gvfsd-recent
%{_datadir}/%{name}/mounts/recent.mount
%{_libexecdir}/%{name}/gvfsd-sftp
%{_datadir}/%{name}/mounts/sftp.mount
%{_libexecdir}/%{name}/gvfsd-smb