Merge lp:~noskcaj/gnome-user-share/3.8 into lp:~ubuntu-desktop/gnome-user-share/ubuntu

Proposed by Jackson Doak
Status: Needs review
Proposed branch: lp:~noskcaj/gnome-user-share/3.8
Merge into: lp:~ubuntu-desktop/gnome-user-share/ubuntu
Diff against target: 944 lines (+562/-193)
14 files modified
debian/changelog (+90/-0)
debian/control (+9/-8)
debian/control.in (+8/-7)
debian/copyright (+0/-11)
debian/patches/01_notification.patch (+3/-1)
debian/patches/02_bluetooth_optional.patch (+318/-0)
debian/patches/04_webdav_optional.patch (+1/-137)
debian/patches/05_autostart_delay.patch (+22/-4)
debian/patches/06_nodisplay_autostart.patch (+23/-5)
debian/patches/07_onlyshowin_unity.patch (+29/-18)
debian/patches/10_apache_2.4.patch (+14/-0)
debian/patches/11_apache_noauth.patch (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+2/-2)
To merge this branch: bzr merge lp:~noskcaj/gnome-user-share/3.8
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Needs Information
Review via email: mp+266657@code.launchpad.net

Description of the change

Merge 3.8.0-2 from debian, newer versions require bluez5, but this fixes some bugs and gives apache2.4 support

To post a comment you must log in.
lp:~noskcaj/gnome-user-share/3.8 updated
18. By Jackson Doak

* New upstream release.
* Refresh 02_bluetooth_optional.patch.
* Bump Standards-Version to 3.9.4. No further changes.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Debian seems to have 3.14.2-1 now. Do you have a link to the 3.8.0-2 source package? Do you know what the state is of having bluez5 in main?

review: Needs Information
Revision history for this message
Jackson Doak (noskcaj) wrote :

the link to the 3.8.3 source is https://download.gnome.org/sources/gnome-user-share/3.8/gnome-user-share-3.8.3.tar.xz , i got the debian source from pkg-gnome svn. bluez5 will be in ubuntu later this cycle hopefully, but we can't be sure.

Unmerged revisions

18. By Jackson Doak

* New upstream release.
* Refresh 02_bluetooth_optional.patch.
* Bump Standards-Version to 3.9.4. No further changes.

17. By Jackson Doak

* Merge with old debian release. Remaining changes:
* debian/control:
  - Suggests the apache2-bin and libapache2-mod-dnssd binaries rather than
    depends on those, we want obex push to work out of the box but we don't
    really need webdav and the apache binaries on the default installation.
* debian/dirs: Dropped, we don't need to create /usr/share/gnome.
* debian/gconf-defaults: Enable notifications on receipt of files by default
* debian/patches/01_notification.patch: Display an alert box instead
  of a notification for files received.
* debian/patches/02_bluetooth_optional.patch: Dropped, it's enables
  Bluetooth support to be configurable at build-time. We don't
  actually use it, it adds a lot of #ifdef's to the code, and requires
  some effort to port it to the new version.
* debian/patches/04_webdav_optional.patch:
  - De-senstize the WebDAV UI components if the suggested packages are
    not available for WebDAV sharing. Display a notice explaining why sharing
    cannot be enabled.
* debian/patches/05_autostart_delay.patch:
  - set X-GNOME-Autostart-Delay key to delay starting by 15 seconds.
* debian/patches/06_nodisplay_autostart.patch:
  - Don't show in "Startup Applications"
* debian/patches/07_onlyshowin_unity.patch:
  - Add Unity to OnlyShowIn
* debian/rules:
  - don't move autostart file from etc to usr
  - don't install the Nautilus bar. It's not that useful to people who don't
    have bluetooth hardware and is not easily disabled.
* debian/control.in:
  + Remove obsolete build dependency on scrollkeeper.
  + Switch apache2.2-bin dependency to apache2-bin for the Apache 2.4
    transition. Closes: #669729.
  + Bump minimum dependency on libapache2-mod-dnssd to 0.6-3.1~
    to get Apache 2.4 support.
* debian/patches/10_apache_2.4.patch:
  + Don't load mod_unixd.so as it is statically linked.
    Thanks Arno Töll for the insights.
* 11_apache_noauth.patch: fix the configuration with
  require_password=never. Thanks Arno Töll.
* New upstream release.
  + debian/control.in:
    - Update build dependencies.
  + debian/patches/02_bluetooth_optional.patch:
    - Updated.
  + debian/rules:
    - Pass --disable-bluetooth to configure on !linux.
* debian/rules: disable scrollkeeper
* New upstream release
* debian/patches/02_bluetooth_optional.patch
  + Updated
* Drop Build-Depends on libunique-3.0-dev.
* Bump Build-Depends on libglib2.0-dev to (>= 2.28.0).
* Update debian/copyright, drop outdated section about md5.[ch].
* Update Vcs-* URLs.
* Bump Standards-Version to 3.9.3.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-03-03 13:51:13 +0000
3+++ debian/changelog 2015-08-02 08:27:18 +0000
4@@ -1,3 +1,74 @@
5+gnome-user-share (3.8.3-1ubuntu1) wily; urgency=medium
6+
7+ * Merge with old debian release. Remaining changes:
8+ * debian/control:
9+ - Suggests the apache2-bin and libapache2-mod-dnssd binaries rather than
10+ depends on those, we want obex push to work out of the box but we don't
11+ really need webdav and the apache binaries on the default installation.
12+ * debian/dirs: Dropped, we don't need to create /usr/share/gnome.
13+ * debian/gconf-defaults: Enable notifications on receipt of files by default
14+ * debian/patches/01_notification.patch: Display an alert box instead
15+ of a notification for files received.
16+ * debian/patches/02_bluetooth_optional.patch: Dropped, it's enables
17+ Bluetooth support to be configurable at build-time. We don't
18+ actually use it, it adds a lot of #ifdef's to the code, and requires
19+ some effort to port it to the new version.
20+ * debian/patches/04_webdav_optional.patch:
21+ - De-senstize the WebDAV UI components if the suggested packages are
22+ not available for WebDAV sharing. Display a notice explaining why sharing
23+ cannot be enabled.
24+ * debian/patches/05_autostart_delay.patch:
25+ - set X-GNOME-Autostart-Delay key to delay starting by 15 seconds.
26+ * debian/patches/06_nodisplay_autostart.patch:
27+ - Don't show in "Startup Applications"
28+ * debian/patches/07_onlyshowin_unity.patch:
29+ - Add Unity to OnlyShowIn
30+ * debian/rules:
31+ - don't move autostart file from etc to usr
32+ - don't install the Nautilus bar. It's not that useful to people who don't
33+ have bluetooth hardware and is not easily disabled.
34+
35+ -- Jackson Doak <noskcaj@ubuntu.com> Sun, 02 Aug 2015 16:45:58 +1000
36+
37+gnome-user-share (3.8.3-1) unstable; urgency=low
38+
39+ * New upstream release.
40+ * Refresh 02_bluetooth_optional.patch.
41+ * Bump Standards-Version to 3.9.4. No further changes.
42+
43+ -- Michael Biebl <biebl@debian.org> Fri, 23 Aug 2013 23:35:21 +0200
44+
45+gnome-user-share (3.8.0-2) unstable; urgency=low
46+
47+ [ Emilio Pozuelo Monfort ]
48+ * debian/control.in:
49+ + Remove obsolete build dependency on scrollkeeper.
50+ + Switch apache2.2-bin dependency to apache2-bin for the Apache 2.4
51+ transition. Closes: #669729.
52+ + Bump minimum dependency on libapache2-mod-dnssd to 0.6-3.1~
53+ to get Apache 2.4 support.
54+ * debian/patches/10_apache_2.4.patch:
55+ + Don't load mod_unixd.so as it is statically linked.
56+ Thanks Arno Töll for the insights.
57+
58+ [ Josselin Mouette ]
59+ * 11_apache_noauth.patch: fix the configuration with
60+ require_password=never. Thanks Arno Töll.
61+
62+ -- Emilio Pozuelo Monfort <pochu@debian.org> Fri, 07 Jun 2013 01:16:38 +0200
63+
64+gnome-user-share (3.8.0-1) experimental; urgency=low
65+
66+ * New upstream release.
67+ + debian/control.in:
68+ - Update build dependencies.
69+ + debian/patches/02_bluetooth_optional.patch:
70+ - Updated.
71+ + debian/rules:
72+ - Pass --disable-bluetooth to configure on !linux.
73+
74+ -- Emilio Pozuelo Monfort <pochu@debian.org> Sun, 31 Mar 2013 18:29:51 +0200
75+
76 gnome-user-share (3.0.4-0ubuntu1) quantal; urgency=low
77
78 * New upstream bugfix release
79@@ -15,6 +86,25 @@
80
81 -- Robert Ancell <robert.ancell@canonical.com> Sat, 25 Aug 2012 16:59:00 +1200
82
83+gnome-user-share (3.0.2-1) unstable; urgency=low
84+
85+ [ Sebastien Bacher ]
86+ * debian/rules: disable scrollkeeper
87+
88+ [ Sjoerd Simons ]
89+ * New upstream release
90+ * debian/patches/02_bluetooth_optional.patch
91+ + Updated
92+
93+ [ Michael Biebl ]
94+ * Drop Build-Depends on libunique-3.0-dev.
95+ * Bump Build-Depends on libglib2.0-dev to (>= 2.28.0).
96+ * Update debian/copyright, drop outdated section about md5.[ch].
97+ * Update Vcs-* URLs.
98+ * Bump Standards-Version to 3.9.3.
99+
100+ -- Michael Biebl <biebl@debian.org> Tue, 29 May 2012 19:09:09 +0200
101+
102 gnome-user-share (3.0.2-0ubuntu3) quantal; urgency=low
103
104 * Rebuild with the new libgnome-bluetooth
105
106=== modified file 'debian/control'
107--- debian/control 2013-03-03 13:51:13 +0000
108+++ debian/control 2015-08-02 08:27:18 +0000
109@@ -5,9 +5,9 @@
110 Source: gnome-user-share
111 Section: gnome
112 Priority: optional
113-Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
114+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
115 XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
116-Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Jeremy Bicha <jbicha@ubuntu.com>, Josselin Mouette <joss@debian.org>, Michael Biebl <biebl@debian.org>
117+Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu@debian.org>, Jeremy Bicha <jbicha@ubuntu.com>, Michael Biebl <biebl@debian.org>
118 Build-Depends: cdbs,
119 debhelper (>= 8),
120 dh-autoreconf,
121@@ -17,16 +17,17 @@
122 libxt-dev,
123 pkg-config,
124 libdbus-1-dev (>= 1.1.1),
125- libglib2.0-dev (>= 2.15.2),
126+ libdbus-glib-1-dev,
127+ libglib2.0-dev (>= 2.28.0),
128 libgtk-3-dev,
129- libdbus-glib-1-dev,
130 libnotify-dev (>= 0.7),
131 libcanberra-gtk3-dev,
132 libselinux1-dev [linux-any],
133 libgnome-bluetooth-dev (>= 2.91.5) [linux-any],
134 libnautilus-extension-dev (>= 2.91.7)
135-Standards-Version: 3.9.3
136-Vcs-Bzr: http://code.launchpad.net/~ubuntu-desktop/gnome-user-share/ubuntu
137+Standards-Version: 3.9.4
138+Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gnome-user-share
139+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gnome-user-share
140
141 Package: gnome-user-share
142 Architecture: any
143@@ -34,8 +35,8 @@
144 ${misc:Depends},
145 obex-data-server [linux-any],
146 gnome-bluetooth [linux-any]
147-Suggests: apache2.2-bin,
148- libapache2-mod-dnssd (>= 0.6)
149+Suggests: apache2-bin (>= 2.4),
150+ libapache2-mod-dnssd (>= 0.6-3.1~),
151 Description: User level public file sharing via WebDAV or ObexFTP
152 gnome-user-share is a small package that allows easy user-level file sharing
153 via WebDAV or ObexFTP. The shared files are announced on the network
154
155=== modified file 'debian/control.in'
156--- debian/control.in 2013-03-03 13:51:13 +0000
157+++ debian/control.in 2015-08-02 08:27:18 +0000
158@@ -1,7 +1,7 @@
159 Source: gnome-user-share
160 Section: gnome
161 Priority: optional
162-Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
163+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
164 XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
165 Uploaders: @GNOME_TEAM@
166 Build-Depends: cdbs,
167@@ -13,16 +13,17 @@
168 libxt-dev,
169 pkg-config,
170 libdbus-1-dev (>= 1.1.1),
171- libglib2.0-dev (>= 2.15.2),
172+ libdbus-glib-1-dev,
173+ libglib2.0-dev (>= 2.28.0),
174 libgtk-3-dev,
175- libdbus-glib-1-dev,
176 libnotify-dev (>= 0.7),
177 libcanberra-gtk3-dev,
178 libselinux1-dev [linux-any],
179 libgnome-bluetooth-dev (>= 2.91.5) [linux-any],
180 libnautilus-extension-dev (>= 2.91.7)
181-Standards-Version: 3.9.3
182-Vcs-Bzr: http://code.launchpad.net/~ubuntu-desktop/gnome-user-share/ubuntu
183+Standards-Version: 3.9.4
184+Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gnome-user-share
185+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gnome-user-share
186
187 Package: gnome-user-share
188 Architecture: any
189@@ -30,8 +31,8 @@
190 ${misc:Depends},
191 obex-data-server [linux-any],
192 gnome-bluetooth [linux-any]
193-Suggests: apache2.2-bin,
194- libapache2-mod-dnssd (>= 0.6)
195+Suggests: apache2-bin (>= 2.4),
196+ libapache2-mod-dnssd (>= 0.6-3.1~),
197 Description: User level public file sharing via WebDAV or ObexFTP
198 gnome-user-share is a small package that allows easy user-level file sharing
199 via WebDAV or ObexFTP. The shared files are announced on the network
200
201=== modified file 'debian/copyright'
202--- debian/copyright 2011-03-11 04:39:02 +0000
203+++ debian/copyright 2015-08-02 08:27:18 +0000
204@@ -30,14 +30,3 @@
205 On Debian systems, the complete text of the GNU General
206 Public License can be found in `/usr/share/common-licenses/GPL-2'.
207
208-For md5.[ch]:
209- This code implements the MD5 message-digest algorithm.
210- The algorithm is due to Ron Rivest. This code was
211- written by Colin Plumb in 1993, no copyright is claimed.
212- This code is in the public domain; do with it what you wish.
213-
214- Equivalent code is available from RSA Data Security, Inc.
215- This code has been tested against that, and is equivalent,
216- except that you don't need to include two pages of legalese
217- with every copy.
218-
219
220=== modified file 'debian/patches/01_notification.patch'
221--- debian/patches/01_notification.patch 2012-08-25 04:58:51 +0000
222+++ debian/patches/01_notification.patch 2015-08-02 08:27:18 +0000
223@@ -184,7 +184,7 @@
224
225 file_uri = g_filename_to_uri (filename, NULL, NULL);
226 if (file_uri == NULL) {
227-@@ -128,36 +219,65 @@
228+@@ -128,37 +219,66 @@
229 return;
230 }
231
232@@ -197,6 +197,7 @@
233 - "dialog-information");
234 -
235 - notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
236+- notify_notification_set_hint_string (notification, "desktop-entry", "gnome-user-share-properties");
237 -
238 mime_type = g_content_type_guess (filename, NULL, 0, NULL);
239 app = g_app_info_get_default_for_type (mime_type, FALSE);
240@@ -215,6 +216,7 @@
241 + "dialog-information");
242 +
243 + notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
244++ notify_notification_set_hint_string (notification, "desktop-entry", "gnome-user-share-properties");
245 +
246 + if (app != NULL) {
247 + notify_notification_add_action (notification, "display", _("Open File"),
248
249=== added file 'debian/patches/02_bluetooth_optional.patch'
250--- debian/patches/02_bluetooth_optional.patch 1970-01-01 00:00:00 +0000
251+++ debian/patches/02_bluetooth_optional.patch 2015-08-02 08:27:18 +0000
252@@ -0,0 +1,318 @@
253+From cc71d396069c036643eec8038377d233e2f8f303 Mon Sep 17 00:00:00 2001
254+From: Emilio Pozuelo Monfort <pochu27@gmail.com>
255+Date: Sun, 31 Mar 2013 17:56:49 +0200
256+Subject: [PATCH] Make bluetooth support optional
257+MIME-Version: 1.0
258+Content-Type: text/plain; charset=UTF-8
259+Content-Transfer-Encoding: 8bit
260+
261+As gnome-bluetooth doesn’t build on non-Linux architectures, bluetooth
262+support in gnome-user-share needs to be optional to allow it to build on
263+non-linux.
264+
265+Based on a patch by Josselin Mouette.
266+
267+https://bugzilla.gnome.org/show_bug.cgi?id=601890
268+---
269+ configure.ac | 13 +++++++++++--
270+ src/Makefile.am | 18 ++++++++++++++----
271+ src/share-extension.c | 15 ++++++++++++++-
272+ src/user_share.c | 31 ++++++++++++++++++++++++++++++-
273+ 4 files changed, 69 insertions(+), 8 deletions(-)
274+
275+Index: gnome-user-share-3.8.3/configure.ac
276+===================================================================
277+--- gnome-user-share-3.8.3.orig/configure.ac 2013-08-23 23:28:14.302349546 +0200
278++++ gnome-user-share-3.8.3/configure.ac 2013-08-23 23:28:14.290349391 +0200
279+@@ -54,10 +54,19 @@
280+
281+ AC_SUBST(HTTPD)
282+
283+-PKG_CHECK_MODULES(USER_SHARE, glib-2.0 >= 2.28 gio-2.0 >= 2.26 gtk+-3.0 dbus-1 >= 1.1.1 dbus-glib-1 libnotify libcanberra-gtk3 gnome-bluetooth-1.0 >= 2.91.5)
284++PKG_CHECK_MODULES(USER_SHARE, glib-2.0 >= 2.28 gio-2.0 >= 2.26 gtk+-3.0 dbus-1 >= 1.1.1 dbus-glib-1 libnotify libcanberra-gtk3)
285+ AC_SUBST(USER_SHARE_CFLAGS)
286+ AC_SUBST(USER_SHARE_LIBS)
287+
288++AC_ARG_ENABLE(bluetooth, AS_HELP_STRING([--disable-bluetooth],[compile without bluetooth support]),,enable_bluetooth=yes)
289++if test "x$enable_bluetooth" = "xyes"; then
290++ PKG_CHECK_MODULES(BLUETOOTH, gnome-bluetooth-1.0 >= 2.91.5)
291++ AC_DEFINE(HAVE_BLUETOOTH, 1, [Set to true if gnome-bluetooth support is available])
292++else
293++ AC_MSG_WARN([Bluetooth support is disabled.])
294++fi
295++AM_CONDITIONAL(USE_BLUETOOTH, [test "$enable_bluetooth" = "yes"])
296++
297+ AC_CHECK_LIB(socket, socket)
298+
299+ have_socket=no
300+@@ -124,7 +133,7 @@
301+ [ac_with_nautilusdir=""])
302+
303+ PKG_CHECK_MODULES(EXTENSION,
304+- libnautilus-extension >= 2.91.7 gnome-bluetooth-1.0)
305++ libnautilus-extension >= 2.91.7)
306+ if test "${ac_with_nautilusdir}" = ""; then
307+ ac_with_nautilusdir=`pkg-config --variable=extensiondir libnautilus-extension`
308+ fi
309+Index: gnome-user-share-3.8.3/src/Makefile.am
310+===================================================================
311+--- gnome-user-share-3.8.3.orig/src/Makefile.am 2013-08-23 23:28:14.302349546 +0200
312++++ gnome-user-share-3.8.3/src/Makefile.am 2013-08-23 23:28:14.294349441 +0200
313+@@ -27,6 +27,7 @@
314+ -I$(top_builddir) \
315+ $(EXTENSION_CFLAGS) \
316+ $(USER_SHARE_CFLAGS) \
317++ $(BLUETOOTH_CFLAGS) \
318+ $(X_CFLAGS)
319+
320+ gnome_user_share_SOURCES = \
321+@@ -36,10 +37,6 @@
322+ user_share-private.c \
323+ http.c \
324+ http.h \
325+- obexftp.c \
326+- obexftp.h \
327+- obexpush.c \
328+- obexpush.h \
329+ $(MARSHALFILES)
330+
331+ gnome_user_share_LDADD = \
332+@@ -48,6 +45,15 @@
333+ $(SELINUX_LIBS) \
334+ $(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
335+
336++if USE_BLUETOOTH
337++gnome_user_share_SOURCES += \
338++ obexftp.c \
339++ obexftp.h \
340++ obexpush.c \
341++ obexpush.h
342++gnome_user_share_LDADD += $(BLUETOOTH_LIBS)
343++endif
344++
345+ nautilus_extensiondir = $(NAUTILUSDIR)
346+ nautilus_extension_LTLIBRARIES = libnautilus-share-extension.la
347+
348+@@ -60,6 +66,10 @@
349+ libnautilus_share_extension_la_LIBADD = libuser-share-common.la $(EXTENSION_LIBS)
350+ libnautilus_share_extension_la_LDFLAGS = -avoid-version -module -no-undefined
351+
352++if USE_BLUETOOTH
353++libnautilus_share_extension_la_LIBADD += $(BLUETOOTH_LIBS)
354++endif
355++
356+ EXTRA_DIST = marshal.list
357+
358+ CLEANFILES = $(BUILT_SOURCES)
359+Index: gnome-user-share-3.8.3/src/share-extension.c
360+===================================================================
361+--- gnome-user-share-3.8.3.orig/src/share-extension.c 2013-08-23 23:28:14.302349546 +0200
362++++ gnome-user-share-3.8.3/src/share-extension.c 2013-08-23 23:28:14.294349441 +0200
363+@@ -28,10 +28,13 @@
364+ #include <glib/gi18n-lib.h>
365+ #include <gio/gdesktopappinfo.h>
366+ #include <gtk/gtk.h>
367+-#include <bluetooth-client.h>
368+ #include <libnautilus-extension/nautilus-menu-provider.h>
369+ #include <libnautilus-extension/nautilus-location-widget-provider.h>
370+
371++#ifdef HAVE_BLUETOOTH
372++#include <bluetooth-client.h>
373++#endif /* HAVE_BLUETOOTH */
374++
375+ #include "nautilus-share-bar.h"
376+ #include "user_share-common.h"
377+
378+@@ -89,6 +92,7 @@
379+ launch_prefs_on_window ();
380+ }
381+
382++#ifdef HAVE_BLUETOOTH
383+ static void
384+ downloads_bar_set_from_bluetooth_status (GtkWidget *bar)
385+ {
386+@@ -109,6 +113,7 @@
387+ {
388+ downloads_bar_set_from_bluetooth_status (bar);
389+ }
390++#endif /* HAVE_BLUETOOTH */
391+
392+ static GtkWidget *
393+ nautilus_user_share_get_location_widget (NautilusLocationWidgetProvider *iface,
394+@@ -151,8 +156,13 @@
395+ if (is_dir[0] != FALSE && is_dir[1] != FALSE) {
396+ bar = nautilus_share_bar_new (_("May be used to share or receive files"));
397+ } else if (is_dir[0] != FALSE) {
398++#ifdef HAVE_BLUETOOTH
399+ bar = nautilus_share_bar_new (_("May be shared over the network or Bluetooth"));
400++#else
401++ bar = nautilus_share_bar_new (_("May be shared over the network"));
402++#endif /* HAVE_BLUETOOTH */
403+ } else {
404++#ifdef HAVE_BLUETOOTH
405+ BluetoothClient *client;
406+
407+ bar = nautilus_share_bar_new (_("May be used to receive files over Bluetooth"));
408+@@ -162,6 +172,9 @@
409+ g_signal_connect (G_OBJECT (client), "notify::default-adapter-powered",
410+ G_CALLBACK (default_adapter_powered_cb), bar);
411+ downloads_bar_set_from_bluetooth_status (bar);
412++#else
413++ return NULL;
414++#endif /* HAVE_BLUETOOTH */
415+ }
416+
417+ g_signal_connect (bar, "response",
418+Index: gnome-user-share-3.8.3/src/user_share.c
419+===================================================================
420+--- gnome-user-share-3.8.3.orig/src/user_share.c 2013-08-23 23:28:14.302349546 +0200
421++++ gnome-user-share-3.8.3/src/user_share.c 2013-08-23 23:29:50.479583807 +0200
422+@@ -27,7 +27,6 @@
423+ #include <gtk/gtk.h>
424+ #include <glib/gi18n.h>
425+ #include <glib/gstdio.h>
426+-#include <bluetooth-client.h>
427+ #include <gio/gio.h>
428+ #include <X11/Xlib.h>
429+
430+@@ -35,8 +34,13 @@
431+ #include "user_share-private.h"
432+ #include "user_share-common.h"
433+ #include "http.h"
434++
435++#ifdef HAVE_BLUETOOTH
436++#include <bluetooth-client.h>
437++
438+ #include "obexftp.h"
439+ #include "obexpush.h"
440++#endif /* HAVE_BLUETOOTH */
441+
442+ #include <stdarg.h>
443+ #include <string.h>
444+@@ -53,6 +57,8 @@
445+ static GSettings *settings = NULL;
446+
447+ static guint disabled_timeout_tag = 0;
448++
449++#ifdef HAVE_BLUETOOTH
450+ static GDBusProxy *session_proxy = NULL;
451+ static gboolean has_console = TRUE;
452+
453+@@ -182,6 +188,7 @@
454+ g_signal_connect (G_OBJECT (client), "notify::default-adapter-powered",
455+ G_CALLBACK (default_adapter_changed), NULL);
456+ }
457++#endif /* HAVE_BLUETOOTH */
458+
459+ static void
460+ migrate_old_configuration (void)
461+@@ -213,9 +220,13 @@
462+ {
463+ http_down ();
464+
465++#ifdef HAVE_BLUETOOTH
466+ if (g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_ENABLED) == FALSE &&
467+ g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_OBEXPUSH_ENABLED) == FALSE)
468+ _exit (0);
469++#else
470++ _exit (0);
471++#endif /* HAVE_BLUETOOTH */
472+ return FALSE;
473+ }
474+
475+@@ -243,6 +254,7 @@
476+ }
477+ }
478+
479++#ifdef HAVE_BLUETOOTH
480+ static void
481+ file_sharing_bluetooth_allow_write_changed (void)
482+ {
483+@@ -309,6 +321,7 @@
484+ {
485+ obexpush_set_notify (g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_OBEXPUSH_NOTIFY));
486+ }
487++#endif /* HAVE_BLUETOOTH */
488+
489+ static void
490+ setttings_changed (GSettings *settings,
491+@@ -321,6 +334,7 @@
492+ else if (g_strcmp0 (FILE_SHARING_REQUIRE_PASSWORD, path) == 0)
493+ require_password_changed ();
494+
495++#ifdef HAVE_BLUETOOTH
496+ else if (g_strcmp0 (FILE_SHARING_BLUETOOTH_ENABLED, path) == 0)
497+ file_sharing_bluetooth_enabled_changed ();
498+
499+@@ -338,14 +352,17 @@
500+
501+ else if (g_strcmp0 (FILE_SHARING_BLUETOOTH_OBEXPUSH_NOTIFY, path) == 0)
502+ file_sharing_bluetooth_obexpush_notify_changed ();
503++#endif /* HAVE_BLUETOOTH */
504+ }
505+
506+ static void
507+ cleanup_handler (int sig)
508+ {
509+ http_down ();
510++#ifdef HAVE_BLUETOOTH
511+ obexftp_down ();
512+ obexpush_down ();
513++#endif /* HAVE_BLUETOOTH */
514+ _exit (2);
515+ }
516+
517+@@ -353,7 +370,9 @@
518+ x_io_error_handler (Display *xdisplay)
519+ {
520+ http_down ();
521++#ifdef HAVE_BLUETOOTH
522+ obexftp_down ();
523++#endif /* HAVE_BLUETOOTH */
524+ _exit (2);
525+ }
526+
527+@@ -408,10 +427,14 @@
528+
529+ migrate_old_configuration ();
530+
531++#ifdef HAVE_BLUETOOTH
532+ settings = g_settings_new (GNOME_USER_SHARE_SCHEMAS);
533+ if (g_settings_get_boolean (settings, FILE_SHARING_ENABLED) == FALSE &&
534+ g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_ENABLED) == FALSE &&
535+ g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_OBEXPUSH_ENABLED) == FALSE)
536++#else
537++ if (g_settings_get_boolean (settings, FILE_SHARING_ENABLED) == FALSE)
538++#endif /* HAVE_BLUETOOTH */
539+ return 1;
540+
541+ x_fd = ConnectionNumber (xdisplay);
542+@@ -419,22 +442,28 @@
543+
544+ if (http_init () == FALSE)
545+ return 1;
546++#ifdef HAVE_BLUETOOTH
547+ if (obexftp_init () == FALSE)
548+ return 1;
549+ if (obexpush_init () == FALSE)
550+ return 1;
551++#endif /* HAVE_BLUETOOTH */
552+
553+ g_signal_connect (settings, "changed", G_CALLBACK(setttings_changed), NULL);
554+
555++#ifdef HAVE_BLUETOOTH
556+ bluez_init ();
557+ session_init ();
558++#endif /* HAVE_BLUETOOTH */
559+
560+ /* Initial setting */
561+ file_sharing_enabled_changed ();
562++#ifdef HAVE_BLUETOOTH
563+ file_sharing_bluetooth_enabled_changed ();
564+ file_sharing_bluetooth_obexpush_accept_files_changed ();
565+ file_sharing_bluetooth_obexpush_notify_changed ();
566+ file_sharing_bluetooth_obexpush_enabled_changed ();
567++#endif /* HAVE_BLUETOOTH */
568+
569+ gtk_main ();
570+ g_object_unref (settings);
571
572=== modified file 'debian/patches/04_webdav_optional.patch'
573--- debian/patches/04_webdav_optional.patch 2012-08-25 04:58:51 +0000
574+++ debian/patches/04_webdav_optional.patch 2015-08-02 08:27:18 +0000
575@@ -94,140 +94,4 @@
576 static const char *known_httpd_modules_locations [] = {
577 HTTPD_MODULES_PATH,
578 "/etc/httpd/modules",
579-Index: gnome-user-share-3.0.3/data/file-share-properties.ui
580-===================================================================
581---- gnome-user-share-3.0.3.orig/data/file-share-properties.ui 2012-08-24 23:25:14.000000000 +1200
582-+++ gnome-user-share-3.0.3/data/file-share-properties.ui 2012-08-25 16:54:53.053074352 +1200
583-@@ -43,7 +43,7 @@
584- <child>
585- <object class="GtkTable" id="table2">
586- <property name="visible">True</property>
587-- <property name="n_rows">3</property>
588-+ <property name="n_rows">4</property>
589- <property name="n_columns">2</property>
590- <property name="column_spacing">12</property>
591- <property name="row_spacing">6</property>
592-@@ -54,8 +54,8 @@
593- <packing>
594- <property name="left_attach">1</property>
595- <property name="right_attach">2</property>
596-- <property name="top_attach">1</property>
597-- <property name="bottom_attach">2</property>
598-+ <property name="top_attach">2</property>
599-+ <property name="bottom_attach">3</property>
600- <property name="y_options">GTK_FILL</property>
601- </packing>
602- </child>
603-@@ -68,8 +68,8 @@
604- <packing>
605- <property name="left_attach">1</property>
606- <property name="right_attach">2</property>
607-- <property name="top_attach">2</property>
608-- <property name="bottom_attach">3</property>
609-+ <property name="top_attach">3</property>
610-+ <property name="bottom_attach">4</property>
611- <property name="y_options"></property>
612- </packing>
613- </child>
614-@@ -83,6 +83,8 @@
615- <property name="draw_indicator">True</property>
616- </object>
617- <packing>
618-+ <property name="top_attach">1</property>
619-+ <property name="bottom_attach">2</property>
620- <property name="right_attach">2</property>
621- <property name="x_options">GTK_FILL</property>
622- <property name="y_options"></property>
623-@@ -97,8 +99,8 @@
624- <property name="mnemonic_widget">password_entry</property>
625- </object>
626- <packing>
627-- <property name="top_attach">2</property>
628-- <property name="bottom_attach">3</property>
629-+ <property name="top_attach">3</property>
630-+ <property name="bottom_attach">4</property>
631- <property name="x_options">GTK_SHRINK | GTK_FILL</property>
632- <property name="y_options"></property>
633- </packing>
634-@@ -111,8 +113,19 @@
635- <property name="mnemonic_widget">password_combo</property>
636- </object>
637- <packing>
638-- <property name="top_attach">1</property>
639-- <property name="bottom_attach">2</property>
640-+ <property name="top_attach">2</property>
641-+ <property name="bottom_attach">3</property>
642-+ <property name="x_options">GTK_SHRINK | GTK_FILL</property>
643-+ <property name="y_options"></property>
644-+ </packing>
645-+ </child>
646-+ <child>
647-+ <object class="GtkLabel" id="webdav_info">
648-+ <property name="visible">False</property>
649-+ <property name="wrap">True</property>
650-+ </object>
651-+ <packing>
652-+ <property name="right_attach">2</property>
653- <property name="x_options">GTK_SHRINK | GTK_FILL</property>
654- <property name="y_options"></property>
655- </packing>
656-Index: gnome-user-share-3.0.3/src/file-share-properties.c
657-===================================================================
658---- gnome-user-share-3.0.3.orig/src/file-share-properties.c 2012-08-25 03:25:59.000000000 +1200
659-+++ gnome-user-share-3.0.3/src/file-share-properties.c 2012-08-25 16:54:53.053074352 +1200
660-@@ -85,12 +85,16 @@
661- {
662- gboolean enabled, bluetooth_enabled, bluetooth_write_enabled, require_pairing_enabled;
663- gboolean bluetooth_obexpush_enabled, bluetooth_obexpush_notify;
664-+ gboolean have_share;
665- char *str;
666- PasswordSetting password_setting;
667- AcceptSetting accept_setting;
668- GtkWidget *check;
669- GtkWidget *password_combo;
670- GtkWidget *password_entry;
671-+ GtkWidget *password_combo_label;
672-+ GtkWidget *password_entry_label;
673-+ GtkWidget *webdav_info;
674- GtkWidget *bluetooth_check;
675- GtkWidget *allow_write_bluetooth_check;
676- GtkWidget *require_pairing_check;
677-@@ -119,9 +123,16 @@
678- accept_setting = accept_setting_from_string (str);
679- g_free (str);
680-
681-+ str = get_httpd_program ();
682-+ have_share = (str ? TRUE : FALSE);
683-+ g_free (str);
684-+
685- check = GTK_WIDGET (gtk_builder_get_object (builder, "enable_check"));
686- password_combo = GTK_WIDGET (gtk_builder_get_object (builder, "password_combo"));
687- password_entry = GTK_WIDGET (gtk_builder_get_object (builder, "password_entry"));
688-+ password_combo_label = GTK_WIDGET (gtk_builder_get_object (builder, "label5"));
689-+ password_entry_label = GTK_WIDGET (gtk_builder_get_object (builder, "label4"));
690-+ webdav_info = GTK_WIDGET (gtk_builder_get_object (builder, "webdav_info"));
691- bluetooth_check = GTK_WIDGET (gtk_builder_get_object (builder, "enable_bluetooth_check"));
692- allow_write_bluetooth_check = GTK_WIDGET (gtk_builder_get_object (builder, "allow_write_bluetooth_check"));
693- require_pairing_check = GTK_WIDGET (gtk_builder_get_object (builder, "require_pairing_check"));
694-@@ -131,8 +142,19 @@
695-
696- /* Network */
697- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), enabled);
698-- gtk_widget_set_sensitive (password_combo, enabled);
699-- gtk_widget_set_sensitive (password_entry, enabled && password_setting != PASSWORD_NEVER);
700-+ gtk_widget_set_sensitive (check, have_share);
701-+ gtk_widget_set_sensitive (password_combo_label, have_share);
702-+ gtk_widget_set_sensitive (password_entry_label, have_share);
703-+ if (have_share) {
704-+ gtk_widget_hide (webdav_info);
705-+ } else {
706-+ str = g_strdup_printf ("<i>%s</i>", _("This feature cannot be enabled because the required packages are not installed on your system"));
707-+ gtk_label_set_markup (GTK_LABEL (webdav_info), str);
708-+ gtk_widget_show (webdav_info);
709-+ g_free (str);
710-+ }
711-+ gtk_widget_set_sensitive (password_combo, enabled && have_share);
712-+ gtk_widget_set_sensitive (password_entry, enabled && password_setting != PASSWORD_NEVER && have_share);
713-
714- gtk_combo_box_set_active (GTK_COMBO_BOX (password_combo),
715- password_setting);
716+
717
718=== modified file 'debian/patches/05_autostart_delay.patch'
719--- debian/patches/05_autostart_delay.patch 2011-03-11 04:39:02 +0000
720+++ debian/patches/05_autostart_delay.patch 2015-08-02 08:27:18 +0000
721@@ -1,10 +1,28 @@
722 From: Chris Coulson <chrisccoulson@ubuntu.com>
723 Description: Add X-GNOME-Autostart-Delay key to autostart file to delay starting by 15 seconds.
724
725-Index: gnome-user-share-2.28.2/data/gnome-user-share.desktop.in.in
726-===================================================================
727---- gnome-user-share-2.28.2.orig/data/gnome-user-share.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
728-+++ gnome-user-share-2.28.2/data/gnome-user-share.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
729+Index: gnome-user-share-2.28.2/data/gnome-user-share-obexftp.desktop.in.in
730+===================================================================
731+--- gnome-user-share-2.28.2.orig/data/gnome-user-share-obexftp.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
732++++ gnome-user-share-2.28.2/data/gnome-user-share-obexftp.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
733+@@ -7,3 +7,4 @@
734+ Type=Application
735+ Categories=
736+ OnlyShowIn=GNOME;
737++X-GNOME-Autostart-Delay=15
738+Index: gnome-user-share-2.28.2/data/gnome-user-share-obexpush.desktop.in.in
739+===================================================================
740+--- gnome-user-share-2.28.2.orig/data/gnome-user-share-obexpush.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
741++++ gnome-user-share-2.28.2/data/gnome-user-share-obexpush.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
742+@@ -7,3 +7,4 @@
743+ Type=Application
744+ Categories=
745+ OnlyShowIn=GNOME;
746++X-GNOME-Autostart-Delay=15
747+Index: gnome-user-share-2.28.2/data/gnome-user-share-webdav.desktop.in.in
748+===================================================================
749+--- gnome-user-share-2.28.2.orig/data/gnome-user-share-webdav.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
750++++ gnome-user-share-2.28.2/data/gnome-user-share-webdav.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
751 @@ -7,3 +7,4 @@
752 Type=Application
753 Categories=
754
755=== modified file 'debian/patches/06_nodisplay_autostart.patch'
756--- debian/patches/06_nodisplay_autostart.patch 2011-07-01 11:37:27 +0000
757+++ debian/patches/06_nodisplay_autostart.patch 2015-08-02 08:27:18 +0000
758@@ -3,11 +3,29 @@
759 Bug-Ubuntu: https://launchpad.net/bugs/803917
760 Forwarded: not-needed
761
762-Index: gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in
763-===================================================================
764---- gnome-user-share-3.0.0.orig/data/gnome-user-share.desktop.in.in 2011-07-01 11:32:13.353773779 +0100
765-+++ gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in 2011-07-01 11:32:35.057774009 +0100
766-@@ -8,3 +8,4 @@
767+---
768+ data/gnome-user-share-obexftp.desktop.in.in | 1 +
769+ data/gnome-user-share-obexpush.desktop.in.in | 1 +
770+ data/gnome-user-share-webdav.desktop.in.in | 1 +
771+ 3 files changed, 3 insertions(+)
772+
773+--- a/data/gnome-user-share-obexftp.desktop.in.in
774++++ b/data/gnome-user-share-obexftp.desktop.in.in
775+@@ -10,3 +10,4 @@ Type=Application
776+ Categories=
777+ OnlyShowIn=GNOME;
778+ X-GNOME-Autostart-Delay=15
779++NoDisplay=true
780+--- a/data/gnome-user-share-obexpush.desktop.in.in
781++++ b/data/gnome-user-share-obexpush.desktop.in.in
782+@@ -10,3 +10,4 @@ Type=Application
783+ Categories=
784+ OnlyShowIn=GNOME;
785+ X-GNOME-Autostart-Delay=15
786++NoDisplay=true
787+--- a/data/gnome-user-share-webdav.desktop.in.in
788++++ b/data/gnome-user-share-webdav.desktop.in.in
789+@@ -10,3 +10,4 @@ Type=Application
790 Categories=
791 OnlyShowIn=GNOME;
792 X-GNOME-Autostart-Delay=15
793
794=== modified file 'debian/patches/07_onlyshowin_unity.patch'
795--- debian/patches/07_onlyshowin_unity.patch 2011-07-01 11:37:27 +0000
796+++ debian/patches/07_onlyshowin_unity.patch 2015-08-02 08:27:18 +0000
797@@ -3,24 +3,35 @@
798 Bug-Ubuntu: https://launchpad.net/bugs/803519
799 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=653811
800
801-Index: gnome-user-share-3.0.0/data/gnome-user-share-properties.desktop.in
802-===================================================================
803---- gnome-user-share-3.0.0.orig/data/gnome-user-share-properties.desktop.in 2011-07-01 12:22:32.833805737 +0100
804-+++ gnome-user-share-3.0.0/data/gnome-user-share-properties.desktop.in 2011-07-01 12:22:42.525805840 +0100
805-@@ -7,7 +7,7 @@
806- Terminal=false
807- Type=Application
808- Categories=GNOME;Settings;X-GNOME-NetworkSettings;
809--OnlyShowIn=GNOME;
810-+OnlyShowIn=GNOME;Unity;
811- X-GNOME-Bugzilla-Bugzilla=GNOME
812- X-GNOME-Bugzilla-Product=gnome-user-share
813- X-GNOME-Bugzilla-Component=general
814-Index: gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in
815-===================================================================
816---- gnome-user-share-3.0.0.orig/data/gnome-user-share.desktop.in.in 2011-07-01 12:22:32.801805737 +0100
817-+++ gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in 2011-07-01 12:22:38.413805796 +0100
818-@@ -6,6 +6,6 @@
819+---
820+ data/gnome-user-share-obexftp.desktop.in.in | 2 +-
821+ data/gnome-user-share-obexpush.desktop.in.in | 2 +-
822+ data/gnome-user-share-webdav.desktop.in.in | 2 +-
823+ 3 files changed, 3 insertions(+), 3 deletions(-)
824+
825+--- a/data/gnome-user-share-obexftp.desktop.in.in
826++++ b/data/gnome-user-share-obexftp.desktop.in.in
827+@@ -8,6 +8,6 @@ Exec=@installdir@/gnome-user-share
828+ Terminal=false
829+ Type=Application
830+ Categories=
831+-OnlyShowIn=GNOME;
832++OnlyShowIn=GNOME;Unity;
833+ X-GNOME-Autostart-Delay=15
834+ NoDisplay=true
835+--- a/data/gnome-user-share-obexpush.desktop.in.in
836++++ b/data/gnome-user-share-obexpush.desktop.in.in
837+@@ -8,6 +8,6 @@ Exec=@installdir@/gnome-user-share
838+ Terminal=false
839+ Type=Application
840+ Categories=
841+-OnlyShowIn=GNOME;
842++OnlyShowIn=GNOME;Unity;
843+ X-GNOME-Autostart-Delay=15
844+ NoDisplay=true
845+--- a/data/gnome-user-share-webdav.desktop.in.in
846++++ b/data/gnome-user-share-webdav.desktop.in.in
847+@@ -8,6 +8,6 @@ Exec=@installdir@/gnome-user-share
848 Terminal=false
849 Type=Application
850 Categories=
851
852=== added file 'debian/patches/10_apache_2.4.patch'
853--- debian/patches/10_apache_2.4.patch 1970-01-01 00:00:00 +0000
854+++ debian/patches/10_apache_2.4.patch 2015-08-02 08:27:18 +0000
855@@ -0,0 +1,14 @@
856+Author: Emilio Pozuelo Monfort <pochu@debian.org>
857+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669729
858+
859+--- a/data/dav_user_2.4.conf
860++++ b/data/dav_user_2.4.conf
861+@@ -8,7 +8,7 @@
862+
863+ LimitXMLRequestBody 100000
864+
865+-LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so
866++#LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so
867+ LoadModule mpm_prefork_module ${HTTP_MODULES_PATH}/mod_mpm_prefork.so
868+ LoadModule dav_module ${HTTP_MODULES_PATH}/mod_dav.so
869+ LoadModule dav_fs_module ${HTTP_MODULES_PATH}/mod_dav_fs.so
870
871=== added file 'debian/patches/11_apache_noauth.patch'
872--- debian/patches/11_apache_noauth.patch 1970-01-01 00:00:00 +0000
873+++ debian/patches/11_apache_noauth.patch 2015-08-02 08:27:18 +0000
874@@ -0,0 +1,41 @@
875+Index: gnome-user-share-3.8.0/data/dav_user_2.4.conf
876+===================================================================
877+--- gnome-user-share-3.8.0.orig/data/dav_user_2.4.conf 2013-06-02 17:55:50.539019664 +0200
878++++ gnome-user-share-3.8.0/data/dav_user_2.4.conf 2013-06-02 17:59:00.863950116 +0200
879+@@ -30,20 +30,28 @@ DNSSDAutoRegisterUserDir Off
880+ <Location />
881+ DAV On
882+
883+- AuthType Digest
884+- AuthName "${GUS_LOGIN_LABEL}"
885+- AuthDigestDomain /
886+-
887+- AuthDigestProvider file
888+- AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
889+- AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
890+-
891+ <IfDefine RequirePasswordAlways>
892++ AuthType Digest
893++ AuthName "${GUS_LOGIN_LABEL}"
894++ AuthDigestDomain /
895++
896++ AuthDigestProvider file
897++ AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
898++ AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
899++
900+ Require user guest
901+ Require group guest
902+ </IfDefine>
903+
904+ <IfDefine RequirePasswordOnWrite>
905++ AuthType Digest
906++ AuthName "${GUS_LOGIN_LABEL}"
907++ AuthDigestDomain /
908++
909++ AuthDigestProvider file
910++ AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
911++ AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
912++
913+ <LimitExcept GET OPTIONS PROPFIND>
914+ Require user guest
915+ Require group guest
916
917=== modified file 'debian/patches/series'
918--- debian/patches/series 2011-07-01 11:37:27 +0000
919+++ debian/patches/series 2015-08-02 08:27:18 +0000
920@@ -4,3 +4,5 @@
921 05_autostart_delay.patch
922 06_nodisplay_autostart.patch
923 07_onlyshowin_unity.patch
924+10_apache_2.4.patch
925+11_apache_noauth.patch
926
927=== modified file 'debian/rules'
928--- debian/rules 2011-06-07 10:38:56 +0000
929+++ debian/rules 2015-08-02 08:27:18 +0000
930@@ -8,12 +8,12 @@
931
932 LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
933 DEB_DH_MAKESHLIBS_ARGS += --exclude=libnautilus-share-extension.so
934-DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper \
935+DEB_CONFIGURE_EXTRA_FLAGS += \
936 --with-httpd=/usr/lib/apache2/mpm-worker/apache2 \
937 --with-modules-path=/usr/lib/apache2/modules/
938
939 install/gnome-user-share::
940 rm -f debian/gnome-user-share/usr/share/gnome-user-share/dav_user_2.0.conf
941+ rmdir -p --ignore-fail-on-non-empty debian/gnome-user-share/etc/xdg
942 find debian/gnome-user-share -name "*.la" -delete
943 rm -rf debian/gnome-user-share/usr/lib/nautilus
944-

Subscribers

People subscribed via source and target branches

to all changes: