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
=== modified file 'debian/changelog'
--- debian/changelog 2013-03-03 13:51:13 +0000
+++ debian/changelog 2015-08-02 08:27:18 +0000
@@ -1,3 +1,74 @@
1gnome-user-share (3.8.3-1ubuntu1) wily; urgency=medium
2
3 * Merge with old debian release. Remaining changes:
4 * debian/control:
5 - Suggests the apache2-bin and libapache2-mod-dnssd binaries rather than
6 depends on those, we want obex push to work out of the box but we don't
7 really need webdav and the apache binaries on the default installation.
8 * debian/dirs: Dropped, we don't need to create /usr/share/gnome.
9 * debian/gconf-defaults: Enable notifications on receipt of files by default
10 * debian/patches/01_notification.patch: Display an alert box instead
11 of a notification for files received.
12 * debian/patches/02_bluetooth_optional.patch: Dropped, it's enables
13 Bluetooth support to be configurable at build-time. We don't
14 actually use it, it adds a lot of #ifdef's to the code, and requires
15 some effort to port it to the new version.
16 * debian/patches/04_webdav_optional.patch:
17 - De-senstize the WebDAV UI components if the suggested packages are
18 not available for WebDAV sharing. Display a notice explaining why sharing
19 cannot be enabled.
20 * debian/patches/05_autostart_delay.patch:
21 - set X-GNOME-Autostart-Delay key to delay starting by 15 seconds.
22 * debian/patches/06_nodisplay_autostart.patch:
23 - Don't show in "Startup Applications"
24 * debian/patches/07_onlyshowin_unity.patch:
25 - Add Unity to OnlyShowIn
26 * debian/rules:
27 - don't move autostart file from etc to usr
28 - don't install the Nautilus bar. It's not that useful to people who don't
29 have bluetooth hardware and is not easily disabled.
30
31 -- Jackson Doak <noskcaj@ubuntu.com> Sun, 02 Aug 2015 16:45:58 +1000
32
33gnome-user-share (3.8.3-1) unstable; urgency=low
34
35 * New upstream release.
36 * Refresh 02_bluetooth_optional.patch.
37 * Bump Standards-Version to 3.9.4. No further changes.
38
39 -- Michael Biebl <biebl@debian.org> Fri, 23 Aug 2013 23:35:21 +0200
40
41gnome-user-share (3.8.0-2) unstable; urgency=low
42
43 [ Emilio Pozuelo Monfort ]
44 * debian/control.in:
45 + Remove obsolete build dependency on scrollkeeper.
46 + Switch apache2.2-bin dependency to apache2-bin for the Apache 2.4
47 transition. Closes: #669729.
48 + Bump minimum dependency on libapache2-mod-dnssd to 0.6-3.1~
49 to get Apache 2.4 support.
50 * debian/patches/10_apache_2.4.patch:
51 + Don't load mod_unixd.so as it is statically linked.
52 Thanks Arno Töll for the insights.
53
54 [ Josselin Mouette ]
55 * 11_apache_noauth.patch: fix the configuration with
56 require_password=never. Thanks Arno Töll.
57
58 -- Emilio Pozuelo Monfort <pochu@debian.org> Fri, 07 Jun 2013 01:16:38 +0200
59
60gnome-user-share (3.8.0-1) experimental; urgency=low
61
62 * New upstream release.
63 + debian/control.in:
64 - Update build dependencies.
65 + debian/patches/02_bluetooth_optional.patch:
66 - Updated.
67 + debian/rules:
68 - Pass --disable-bluetooth to configure on !linux.
69
70 -- Emilio Pozuelo Monfort <pochu@debian.org> Sun, 31 Mar 2013 18:29:51 +0200
71
1gnome-user-share (3.0.4-0ubuntu1) quantal; urgency=low72gnome-user-share (3.0.4-0ubuntu1) quantal; urgency=low
273
3 * New upstream bugfix release74 * New upstream bugfix release
@@ -15,6 +86,25 @@
1586
16 -- Robert Ancell <robert.ancell@canonical.com> Sat, 25 Aug 2012 16:59:00 +120087 -- Robert Ancell <robert.ancell@canonical.com> Sat, 25 Aug 2012 16:59:00 +1200
1788
89gnome-user-share (3.0.2-1) unstable; urgency=low
90
91 [ Sebastien Bacher ]
92 * debian/rules: disable scrollkeeper
93
94 [ Sjoerd Simons ]
95 * New upstream release
96 * debian/patches/02_bluetooth_optional.patch
97 + Updated
98
99 [ Michael Biebl ]
100 * Drop Build-Depends on libunique-3.0-dev.
101 * Bump Build-Depends on libglib2.0-dev to (>= 2.28.0).
102 * Update debian/copyright, drop outdated section about md5.[ch].
103 * Update Vcs-* URLs.
104 * Bump Standards-Version to 3.9.3.
105
106 -- Michael Biebl <biebl@debian.org> Tue, 29 May 2012 19:09:09 +0200
107
18gnome-user-share (3.0.2-0ubuntu3) quantal; urgency=low108gnome-user-share (3.0.2-0ubuntu3) quantal; urgency=low
19109
20 * Rebuild with the new libgnome-bluetooth110 * Rebuild with the new libgnome-bluetooth
21111
=== modified file 'debian/control'
--- debian/control 2013-03-03 13:51:13 +0000
+++ debian/control 2015-08-02 08:27:18 +0000
@@ -5,9 +5,9 @@
5Source: gnome-user-share5Source: gnome-user-share
6Section: gnome6Section: gnome
7Priority: optional7Priority: optional
8Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>8Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
9XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>9XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
10Uploaders: 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>10Uploaders: 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>
11Build-Depends: cdbs,11Build-Depends: cdbs,
12 debhelper (>= 8),12 debhelper (>= 8),
13 dh-autoreconf,13 dh-autoreconf,
@@ -17,16 +17,17 @@
17 libxt-dev,17 libxt-dev,
18 pkg-config,18 pkg-config,
19 libdbus-1-dev (>= 1.1.1),19 libdbus-1-dev (>= 1.1.1),
20 libglib2.0-dev (>= 2.15.2),20 libdbus-glib-1-dev,
21 libglib2.0-dev (>= 2.28.0),
21 libgtk-3-dev,22 libgtk-3-dev,
22 libdbus-glib-1-dev,
23 libnotify-dev (>= 0.7),23 libnotify-dev (>= 0.7),
24 libcanberra-gtk3-dev,24 libcanberra-gtk3-dev,
25 libselinux1-dev [linux-any],25 libselinux1-dev [linux-any],
26 libgnome-bluetooth-dev (>= 2.91.5) [linux-any],26 libgnome-bluetooth-dev (>= 2.91.5) [linux-any],
27 libnautilus-extension-dev (>= 2.91.7)27 libnautilus-extension-dev (>= 2.91.7)
28Standards-Version: 3.9.328Standards-Version: 3.9.4
29Vcs-Bzr: http://code.launchpad.net/~ubuntu-desktop/gnome-user-share/ubuntu29Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gnome-user-share
30Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gnome-user-share
3031
31Package: gnome-user-share32Package: gnome-user-share
32Architecture: any33Architecture: any
@@ -34,8 +35,8 @@
34 ${misc:Depends},35 ${misc:Depends},
35 obex-data-server [linux-any],36 obex-data-server [linux-any],
36 gnome-bluetooth [linux-any]37 gnome-bluetooth [linux-any]
37Suggests: apache2.2-bin,38Suggests: apache2-bin (>= 2.4),
38 libapache2-mod-dnssd (>= 0.6)39 libapache2-mod-dnssd (>= 0.6-3.1~),
39Description: User level public file sharing via WebDAV or ObexFTP40Description: User level public file sharing via WebDAV or ObexFTP
40 gnome-user-share is a small package that allows easy user-level file sharing41 gnome-user-share is a small package that allows easy user-level file sharing
41 via WebDAV or ObexFTP. The shared files are announced on the network42 via WebDAV or ObexFTP. The shared files are announced on the network
4243
=== modified file 'debian/control.in'
--- debian/control.in 2013-03-03 13:51:13 +0000
+++ debian/control.in 2015-08-02 08:27:18 +0000
@@ -1,7 +1,7 @@
1Source: gnome-user-share1Source: gnome-user-share
2Section: gnome2Section: gnome
3Priority: optional3Priority: optional
4Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>5XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
6Uploaders: @GNOME_TEAM@6Uploaders: @GNOME_TEAM@
7Build-Depends: cdbs,7Build-Depends: cdbs,
@@ -13,16 +13,17 @@
13 libxt-dev,13 libxt-dev,
14 pkg-config,14 pkg-config,
15 libdbus-1-dev (>= 1.1.1),15 libdbus-1-dev (>= 1.1.1),
16 libglib2.0-dev (>= 2.15.2),16 libdbus-glib-1-dev,
17 libglib2.0-dev (>= 2.28.0),
17 libgtk-3-dev,18 libgtk-3-dev,
18 libdbus-glib-1-dev,
19 libnotify-dev (>= 0.7),19 libnotify-dev (>= 0.7),
20 libcanberra-gtk3-dev,20 libcanberra-gtk3-dev,
21 libselinux1-dev [linux-any],21 libselinux1-dev [linux-any],
22 libgnome-bluetooth-dev (>= 2.91.5) [linux-any],22 libgnome-bluetooth-dev (>= 2.91.5) [linux-any],
23 libnautilus-extension-dev (>= 2.91.7)23 libnautilus-extension-dev (>= 2.91.7)
24Standards-Version: 3.9.324Standards-Version: 3.9.4
25Vcs-Bzr: http://code.launchpad.net/~ubuntu-desktop/gnome-user-share/ubuntu25Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gnome-user-share
26Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gnome-user-share
2627
27Package: gnome-user-share28Package: gnome-user-share
28Architecture: any29Architecture: any
@@ -30,8 +31,8 @@
30 ${misc:Depends},31 ${misc:Depends},
31 obex-data-server [linux-any],32 obex-data-server [linux-any],
32 gnome-bluetooth [linux-any]33 gnome-bluetooth [linux-any]
33Suggests: apache2.2-bin,34Suggests: apache2-bin (>= 2.4),
34 libapache2-mod-dnssd (>= 0.6)35 libapache2-mod-dnssd (>= 0.6-3.1~),
35Description: User level public file sharing via WebDAV or ObexFTP36Description: User level public file sharing via WebDAV or ObexFTP
36 gnome-user-share is a small package that allows easy user-level file sharing37 gnome-user-share is a small package that allows easy user-level file sharing
37 via WebDAV or ObexFTP. The shared files are announced on the network38 via WebDAV or ObexFTP. The shared files are announced on the network
3839
=== modified file 'debian/copyright'
--- debian/copyright 2011-03-11 04:39:02 +0000
+++ debian/copyright 2015-08-02 08:27:18 +0000
@@ -30,14 +30,3 @@
30On Debian systems, the complete text of the GNU General30On Debian systems, the complete text of the GNU General
31Public License can be found in `/usr/share/common-licenses/GPL-2'.31Public License can be found in `/usr/share/common-licenses/GPL-2'.
3232
33For md5.[ch]:
34 This code implements the MD5 message-digest algorithm.
35 The algorithm is due to Ron Rivest. This code was
36 written by Colin Plumb in 1993, no copyright is claimed.
37 This code is in the public domain; do with it what you wish.
38
39 Equivalent code is available from RSA Data Security, Inc.
40 This code has been tested against that, and is equivalent,
41 except that you don't need to include two pages of legalese
42 with every copy.
43
4433
=== modified file 'debian/patches/01_notification.patch'
--- debian/patches/01_notification.patch 2012-08-25 04:58:51 +0000
+++ debian/patches/01_notification.patch 2015-08-02 08:27:18 +0000
@@ -184,7 +184,7 @@
184 184
185 file_uri = g_filename_to_uri (filename, NULL, NULL);185 file_uri = g_filename_to_uri (filename, NULL, NULL);
186 if (file_uri == NULL) {186 if (file_uri == NULL) {
187@@ -128,36 +219,65 @@187@@ -128,37 +219,66 @@
188 return;188 return;
189 }189 }
190 190
@@ -197,6 +197,7 @@
197- "dialog-information");197- "dialog-information");
198-198-
199- notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);199- notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
200- notify_notification_set_hint_string (notification, "desktop-entry", "gnome-user-share-properties");
200-201-
201 mime_type = g_content_type_guess (filename, NULL, 0, NULL);202 mime_type = g_content_type_guess (filename, NULL, 0, NULL);
202 app = g_app_info_get_default_for_type (mime_type, FALSE);203 app = g_app_info_get_default_for_type (mime_type, FALSE);
@@ -215,6 +216,7 @@
215+ "dialog-information");216+ "dialog-information");
216+217+
217+ notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);218+ notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
219+ notify_notification_set_hint_string (notification, "desktop-entry", "gnome-user-share-properties");
218+220+
219+ if (app != NULL) {221+ if (app != NULL) {
220+ notify_notification_add_action (notification, "display", _("Open File"),222+ notify_notification_add_action (notification, "display", _("Open File"),
221223
=== added file 'debian/patches/02_bluetooth_optional.patch'
--- debian/patches/02_bluetooth_optional.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/02_bluetooth_optional.patch 2015-08-02 08:27:18 +0000
@@ -0,0 +1,318 @@
1From cc71d396069c036643eec8038377d233e2f8f303 Mon Sep 17 00:00:00 2001
2From: Emilio Pozuelo Monfort <pochu27@gmail.com>
3Date: Sun, 31 Mar 2013 17:56:49 +0200
4Subject: [PATCH] Make bluetooth support optional
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9As gnome-bluetooth doesn’t build on non-Linux architectures, bluetooth
10support in gnome-user-share needs to be optional to allow it to build on
11non-linux.
12
13Based on a patch by Josselin Mouette.
14
15https://bugzilla.gnome.org/show_bug.cgi?id=601890
16---
17 configure.ac | 13 +++++++++++--
18 src/Makefile.am | 18 ++++++++++++++----
19 src/share-extension.c | 15 ++++++++++++++-
20 src/user_share.c | 31 ++++++++++++++++++++++++++++++-
21 4 files changed, 69 insertions(+), 8 deletions(-)
22
23Index: gnome-user-share-3.8.3/configure.ac
24===================================================================
25--- gnome-user-share-3.8.3.orig/configure.ac 2013-08-23 23:28:14.302349546 +0200
26+++ gnome-user-share-3.8.3/configure.ac 2013-08-23 23:28:14.290349391 +0200
27@@ -54,10 +54,19 @@
28
29 AC_SUBST(HTTPD)
30
31-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)
32+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)
33 AC_SUBST(USER_SHARE_CFLAGS)
34 AC_SUBST(USER_SHARE_LIBS)
35
36+AC_ARG_ENABLE(bluetooth, AS_HELP_STRING([--disable-bluetooth],[compile without bluetooth support]),,enable_bluetooth=yes)
37+if test "x$enable_bluetooth" = "xyes"; then
38+ PKG_CHECK_MODULES(BLUETOOTH, gnome-bluetooth-1.0 >= 2.91.5)
39+ AC_DEFINE(HAVE_BLUETOOTH, 1, [Set to true if gnome-bluetooth support is available])
40+else
41+ AC_MSG_WARN([Bluetooth support is disabled.])
42+fi
43+AM_CONDITIONAL(USE_BLUETOOTH, [test "$enable_bluetooth" = "yes"])
44+
45 AC_CHECK_LIB(socket, socket)
46
47 have_socket=no
48@@ -124,7 +133,7 @@
49 [ac_with_nautilusdir=""])
50
51 PKG_CHECK_MODULES(EXTENSION,
52- libnautilus-extension >= 2.91.7 gnome-bluetooth-1.0)
53+ libnautilus-extension >= 2.91.7)
54 if test "${ac_with_nautilusdir}" = ""; then
55 ac_with_nautilusdir=`pkg-config --variable=extensiondir libnautilus-extension`
56 fi
57Index: gnome-user-share-3.8.3/src/Makefile.am
58===================================================================
59--- gnome-user-share-3.8.3.orig/src/Makefile.am 2013-08-23 23:28:14.302349546 +0200
60+++ gnome-user-share-3.8.3/src/Makefile.am 2013-08-23 23:28:14.294349441 +0200
61@@ -27,6 +27,7 @@
62 -I$(top_builddir) \
63 $(EXTENSION_CFLAGS) \
64 $(USER_SHARE_CFLAGS) \
65+ $(BLUETOOTH_CFLAGS) \
66 $(X_CFLAGS)
67
68 gnome_user_share_SOURCES = \
69@@ -36,10 +37,6 @@
70 user_share-private.c \
71 http.c \
72 http.h \
73- obexftp.c \
74- obexftp.h \
75- obexpush.c \
76- obexpush.h \
77 $(MARSHALFILES)
78
79 gnome_user_share_LDADD = \
80@@ -48,6 +45,15 @@
81 $(SELINUX_LIBS) \
82 $(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
83
84+if USE_BLUETOOTH
85+gnome_user_share_SOURCES += \
86+ obexftp.c \
87+ obexftp.h \
88+ obexpush.c \
89+ obexpush.h
90+gnome_user_share_LDADD += $(BLUETOOTH_LIBS)
91+endif
92+
93 nautilus_extensiondir = $(NAUTILUSDIR)
94 nautilus_extension_LTLIBRARIES = libnautilus-share-extension.la
95
96@@ -60,6 +66,10 @@
97 libnautilus_share_extension_la_LIBADD = libuser-share-common.la $(EXTENSION_LIBS)
98 libnautilus_share_extension_la_LDFLAGS = -avoid-version -module -no-undefined
99
100+if USE_BLUETOOTH
101+libnautilus_share_extension_la_LIBADD += $(BLUETOOTH_LIBS)
102+endif
103+
104 EXTRA_DIST = marshal.list
105
106 CLEANFILES = $(BUILT_SOURCES)
107Index: gnome-user-share-3.8.3/src/share-extension.c
108===================================================================
109--- gnome-user-share-3.8.3.orig/src/share-extension.c 2013-08-23 23:28:14.302349546 +0200
110+++ gnome-user-share-3.8.3/src/share-extension.c 2013-08-23 23:28:14.294349441 +0200
111@@ -28,10 +28,13 @@
112 #include <glib/gi18n-lib.h>
113 #include <gio/gdesktopappinfo.h>
114 #include <gtk/gtk.h>
115-#include <bluetooth-client.h>
116 #include <libnautilus-extension/nautilus-menu-provider.h>
117 #include <libnautilus-extension/nautilus-location-widget-provider.h>
118
119+#ifdef HAVE_BLUETOOTH
120+#include <bluetooth-client.h>
121+#endif /* HAVE_BLUETOOTH */
122+
123 #include "nautilus-share-bar.h"
124 #include "user_share-common.h"
125
126@@ -89,6 +92,7 @@
127 launch_prefs_on_window ();
128 }
129
130+#ifdef HAVE_BLUETOOTH
131 static void
132 downloads_bar_set_from_bluetooth_status (GtkWidget *bar)
133 {
134@@ -109,6 +113,7 @@
135 {
136 downloads_bar_set_from_bluetooth_status (bar);
137 }
138+#endif /* HAVE_BLUETOOTH */
139
140 static GtkWidget *
141 nautilus_user_share_get_location_widget (NautilusLocationWidgetProvider *iface,
142@@ -151,8 +156,13 @@
143 if (is_dir[0] != FALSE && is_dir[1] != FALSE) {
144 bar = nautilus_share_bar_new (_("May be used to share or receive files"));
145 } else if (is_dir[0] != FALSE) {
146+#ifdef HAVE_BLUETOOTH
147 bar = nautilus_share_bar_new (_("May be shared over the network or Bluetooth"));
148+#else
149+ bar = nautilus_share_bar_new (_("May be shared over the network"));
150+#endif /* HAVE_BLUETOOTH */
151 } else {
152+#ifdef HAVE_BLUETOOTH
153 BluetoothClient *client;
154
155 bar = nautilus_share_bar_new (_("May be used to receive files over Bluetooth"));
156@@ -162,6 +172,9 @@
157 g_signal_connect (G_OBJECT (client), "notify::default-adapter-powered",
158 G_CALLBACK (default_adapter_powered_cb), bar);
159 downloads_bar_set_from_bluetooth_status (bar);
160+#else
161+ return NULL;
162+#endif /* HAVE_BLUETOOTH */
163 }
164
165 g_signal_connect (bar, "response",
166Index: gnome-user-share-3.8.3/src/user_share.c
167===================================================================
168--- gnome-user-share-3.8.3.orig/src/user_share.c 2013-08-23 23:28:14.302349546 +0200
169+++ gnome-user-share-3.8.3/src/user_share.c 2013-08-23 23:29:50.479583807 +0200
170@@ -27,7 +27,6 @@
171 #include <gtk/gtk.h>
172 #include <glib/gi18n.h>
173 #include <glib/gstdio.h>
174-#include <bluetooth-client.h>
175 #include <gio/gio.h>
176 #include <X11/Xlib.h>
177
178@@ -35,8 +34,13 @@
179 #include "user_share-private.h"
180 #include "user_share-common.h"
181 #include "http.h"
182+
183+#ifdef HAVE_BLUETOOTH
184+#include <bluetooth-client.h>
185+
186 #include "obexftp.h"
187 #include "obexpush.h"
188+#endif /* HAVE_BLUETOOTH */
189
190 #include <stdarg.h>
191 #include <string.h>
192@@ -53,6 +57,8 @@
193 static GSettings *settings = NULL;
194
195 static guint disabled_timeout_tag = 0;
196+
197+#ifdef HAVE_BLUETOOTH
198 static GDBusProxy *session_proxy = NULL;
199 static gboolean has_console = TRUE;
200
201@@ -182,6 +188,7 @@
202 g_signal_connect (G_OBJECT (client), "notify::default-adapter-powered",
203 G_CALLBACK (default_adapter_changed), NULL);
204 }
205+#endif /* HAVE_BLUETOOTH */
206
207 static void
208 migrate_old_configuration (void)
209@@ -213,9 +220,13 @@
210 {
211 http_down ();
212
213+#ifdef HAVE_BLUETOOTH
214 if (g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_ENABLED) == FALSE &&
215 g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_OBEXPUSH_ENABLED) == FALSE)
216 _exit (0);
217+#else
218+ _exit (0);
219+#endif /* HAVE_BLUETOOTH */
220 return FALSE;
221 }
222
223@@ -243,6 +254,7 @@
224 }
225 }
226
227+#ifdef HAVE_BLUETOOTH
228 static void
229 file_sharing_bluetooth_allow_write_changed (void)
230 {
231@@ -309,6 +321,7 @@
232 {
233 obexpush_set_notify (g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_OBEXPUSH_NOTIFY));
234 }
235+#endif /* HAVE_BLUETOOTH */
236
237 static void
238 setttings_changed (GSettings *settings,
239@@ -321,6 +334,7 @@
240 else if (g_strcmp0 (FILE_SHARING_REQUIRE_PASSWORD, path) == 0)
241 require_password_changed ();
242
243+#ifdef HAVE_BLUETOOTH
244 else if (g_strcmp0 (FILE_SHARING_BLUETOOTH_ENABLED, path) == 0)
245 file_sharing_bluetooth_enabled_changed ();
246
247@@ -338,14 +352,17 @@
248
249 else if (g_strcmp0 (FILE_SHARING_BLUETOOTH_OBEXPUSH_NOTIFY, path) == 0)
250 file_sharing_bluetooth_obexpush_notify_changed ();
251+#endif /* HAVE_BLUETOOTH */
252 }
253
254 static void
255 cleanup_handler (int sig)
256 {
257 http_down ();
258+#ifdef HAVE_BLUETOOTH
259 obexftp_down ();
260 obexpush_down ();
261+#endif /* HAVE_BLUETOOTH */
262 _exit (2);
263 }
264
265@@ -353,7 +370,9 @@
266 x_io_error_handler (Display *xdisplay)
267 {
268 http_down ();
269+#ifdef HAVE_BLUETOOTH
270 obexftp_down ();
271+#endif /* HAVE_BLUETOOTH */
272 _exit (2);
273 }
274
275@@ -408,10 +427,14 @@
276
277 migrate_old_configuration ();
278
279+#ifdef HAVE_BLUETOOTH
280 settings = g_settings_new (GNOME_USER_SHARE_SCHEMAS);
281 if (g_settings_get_boolean (settings, FILE_SHARING_ENABLED) == FALSE &&
282 g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_ENABLED) == FALSE &&
283 g_settings_get_boolean (settings, FILE_SHARING_BLUETOOTH_OBEXPUSH_ENABLED) == FALSE)
284+#else
285+ if (g_settings_get_boolean (settings, FILE_SHARING_ENABLED) == FALSE)
286+#endif /* HAVE_BLUETOOTH */
287 return 1;
288
289 x_fd = ConnectionNumber (xdisplay);
290@@ -419,22 +442,28 @@
291
292 if (http_init () == FALSE)
293 return 1;
294+#ifdef HAVE_BLUETOOTH
295 if (obexftp_init () == FALSE)
296 return 1;
297 if (obexpush_init () == FALSE)
298 return 1;
299+#endif /* HAVE_BLUETOOTH */
300
301 g_signal_connect (settings, "changed", G_CALLBACK(setttings_changed), NULL);
302
303+#ifdef HAVE_BLUETOOTH
304 bluez_init ();
305 session_init ();
306+#endif /* HAVE_BLUETOOTH */
307
308 /* Initial setting */
309 file_sharing_enabled_changed ();
310+#ifdef HAVE_BLUETOOTH
311 file_sharing_bluetooth_enabled_changed ();
312 file_sharing_bluetooth_obexpush_accept_files_changed ();
313 file_sharing_bluetooth_obexpush_notify_changed ();
314 file_sharing_bluetooth_obexpush_enabled_changed ();
315+#endif /* HAVE_BLUETOOTH */
316
317 gtk_main ();
318 g_object_unref (settings);
0319
=== modified file 'debian/patches/04_webdav_optional.patch'
--- debian/patches/04_webdav_optional.patch 2012-08-25 04:58:51 +0000
+++ debian/patches/04_webdav_optional.patch 2015-08-02 08:27:18 +0000
@@ -94,140 +94,4 @@
94 static const char *known_httpd_modules_locations [] = {94 static const char *known_httpd_modules_locations [] = {
95 HTTPD_MODULES_PATH,95 HTTPD_MODULES_PATH,
96 "/etc/httpd/modules",96 "/etc/httpd/modules",
97Index: gnome-user-share-3.0.3/data/file-share-properties.ui97
98===================================================================
99--- gnome-user-share-3.0.3.orig/data/file-share-properties.ui 2012-08-24 23:25:14.000000000 +1200
100+++ gnome-user-share-3.0.3/data/file-share-properties.ui 2012-08-25 16:54:53.053074352 +1200
101@@ -43,7 +43,7 @@
102 <child>
103 <object class="GtkTable" id="table2">
104 <property name="visible">True</property>
105- <property name="n_rows">3</property>
106+ <property name="n_rows">4</property>
107 <property name="n_columns">2</property>
108 <property name="column_spacing">12</property>
109 <property name="row_spacing">6</property>
110@@ -54,8 +54,8 @@
111 <packing>
112 <property name="left_attach">1</property>
113 <property name="right_attach">2</property>
114- <property name="top_attach">1</property>
115- <property name="bottom_attach">2</property>
116+ <property name="top_attach">2</property>
117+ <property name="bottom_attach">3</property>
118 <property name="y_options">GTK_FILL</property>
119 </packing>
120 </child>
121@@ -68,8 +68,8 @@
122 <packing>
123 <property name="left_attach">1</property>
124 <property name="right_attach">2</property>
125- <property name="top_attach">2</property>
126- <property name="bottom_attach">3</property>
127+ <property name="top_attach">3</property>
128+ <property name="bottom_attach">4</property>
129 <property name="y_options"></property>
130 </packing>
131 </child>
132@@ -83,6 +83,8 @@
133 <property name="draw_indicator">True</property>
134 </object>
135 <packing>
136+ <property name="top_attach">1</property>
137+ <property name="bottom_attach">2</property>
138 <property name="right_attach">2</property>
139 <property name="x_options">GTK_FILL</property>
140 <property name="y_options"></property>
141@@ -97,8 +99,8 @@
142 <property name="mnemonic_widget">password_entry</property>
143 </object>
144 <packing>
145- <property name="top_attach">2</property>
146- <property name="bottom_attach">3</property>
147+ <property name="top_attach">3</property>
148+ <property name="bottom_attach">4</property>
149 <property name="x_options">GTK_SHRINK | GTK_FILL</property>
150 <property name="y_options"></property>
151 </packing>
152@@ -111,8 +113,19 @@
153 <property name="mnemonic_widget">password_combo</property>
154 </object>
155 <packing>
156- <property name="top_attach">1</property>
157- <property name="bottom_attach">2</property>
158+ <property name="top_attach">2</property>
159+ <property name="bottom_attach">3</property>
160+ <property name="x_options">GTK_SHRINK | GTK_FILL</property>
161+ <property name="y_options"></property>
162+ </packing>
163+ </child>
164+ <child>
165+ <object class="GtkLabel" id="webdav_info">
166+ <property name="visible">False</property>
167+ <property name="wrap">True</property>
168+ </object>
169+ <packing>
170+ <property name="right_attach">2</property>
171 <property name="x_options">GTK_SHRINK | GTK_FILL</property>
172 <property name="y_options"></property>
173 </packing>
174Index: gnome-user-share-3.0.3/src/file-share-properties.c
175===================================================================
176--- gnome-user-share-3.0.3.orig/src/file-share-properties.c 2012-08-25 03:25:59.000000000 +1200
177+++ gnome-user-share-3.0.3/src/file-share-properties.c 2012-08-25 16:54:53.053074352 +1200
178@@ -85,12 +85,16 @@
179 {
180 gboolean enabled, bluetooth_enabled, bluetooth_write_enabled, require_pairing_enabled;
181 gboolean bluetooth_obexpush_enabled, bluetooth_obexpush_notify;
182+ gboolean have_share;
183 char *str;
184 PasswordSetting password_setting;
185 AcceptSetting accept_setting;
186 GtkWidget *check;
187 GtkWidget *password_combo;
188 GtkWidget *password_entry;
189+ GtkWidget *password_combo_label;
190+ GtkWidget *password_entry_label;
191+ GtkWidget *webdav_info;
192 GtkWidget *bluetooth_check;
193 GtkWidget *allow_write_bluetooth_check;
194 GtkWidget *require_pairing_check;
195@@ -119,9 +123,16 @@
196 accept_setting = accept_setting_from_string (str);
197 g_free (str);
198
199+ str = get_httpd_program ();
200+ have_share = (str ? TRUE : FALSE);
201+ g_free (str);
202+
203 check = GTK_WIDGET (gtk_builder_get_object (builder, "enable_check"));
204 password_combo = GTK_WIDGET (gtk_builder_get_object (builder, "password_combo"));
205 password_entry = GTK_WIDGET (gtk_builder_get_object (builder, "password_entry"));
206+ password_combo_label = GTK_WIDGET (gtk_builder_get_object (builder, "label5"));
207+ password_entry_label = GTK_WIDGET (gtk_builder_get_object (builder, "label4"));
208+ webdav_info = GTK_WIDGET (gtk_builder_get_object (builder, "webdav_info"));
209 bluetooth_check = GTK_WIDGET (gtk_builder_get_object (builder, "enable_bluetooth_check"));
210 allow_write_bluetooth_check = GTK_WIDGET (gtk_builder_get_object (builder, "allow_write_bluetooth_check"));
211 require_pairing_check = GTK_WIDGET (gtk_builder_get_object (builder, "require_pairing_check"));
212@@ -131,8 +142,19 @@
213
214 /* Network */
215 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), enabled);
216- gtk_widget_set_sensitive (password_combo, enabled);
217- gtk_widget_set_sensitive (password_entry, enabled && password_setting != PASSWORD_NEVER);
218+ gtk_widget_set_sensitive (check, have_share);
219+ gtk_widget_set_sensitive (password_combo_label, have_share);
220+ gtk_widget_set_sensitive (password_entry_label, have_share);
221+ if (have_share) {
222+ gtk_widget_hide (webdav_info);
223+ } else {
224+ str = g_strdup_printf ("<i>%s</i>", _("This feature cannot be enabled because the required packages are not installed on your system"));
225+ gtk_label_set_markup (GTK_LABEL (webdav_info), str);
226+ gtk_widget_show (webdav_info);
227+ g_free (str);
228+ }
229+ gtk_widget_set_sensitive (password_combo, enabled && have_share);
230+ gtk_widget_set_sensitive (password_entry, enabled && password_setting != PASSWORD_NEVER && have_share);
231
232 gtk_combo_box_set_active (GTK_COMBO_BOX (password_combo),
233 password_setting);
23498
=== modified file 'debian/patches/05_autostart_delay.patch'
--- debian/patches/05_autostart_delay.patch 2011-03-11 04:39:02 +0000
+++ debian/patches/05_autostart_delay.patch 2015-08-02 08:27:18 +0000
@@ -1,10 +1,28 @@
1From: Chris Coulson <chrisccoulson@ubuntu.com>1From: Chris Coulson <chrisccoulson@ubuntu.com>
2Description: Add X-GNOME-Autostart-Delay key to autostart file to delay starting by 15 seconds.2Description: Add X-GNOME-Autostart-Delay key to autostart file to delay starting by 15 seconds.
33
4Index: gnome-user-share-2.28.2/data/gnome-user-share.desktop.in.in4Index: gnome-user-share-2.28.2/data/gnome-user-share-obexftp.desktop.in.in
5===================================================================5===================================================================
6--- gnome-user-share-2.28.2.orig/data/gnome-user-share.desktop.in.in 2010-02-18 00:55:06.700536092 +00006--- gnome-user-share-2.28.2.orig/data/gnome-user-share-obexftp.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
7+++ gnome-user-share-2.28.2/data/gnome-user-share.desktop.in.in 2010-02-18 00:55:53.930513505 +00007+++ gnome-user-share-2.28.2/data/gnome-user-share-obexftp.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
8@@ -7,3 +7,4 @@
9 Type=Application
10 Categories=
11 OnlyShowIn=GNOME;
12+X-GNOME-Autostart-Delay=15
13Index: gnome-user-share-2.28.2/data/gnome-user-share-obexpush.desktop.in.in
14===================================================================
15--- gnome-user-share-2.28.2.orig/data/gnome-user-share-obexpush.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
16+++ gnome-user-share-2.28.2/data/gnome-user-share-obexpush.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
17@@ -7,3 +7,4 @@
18 Type=Application
19 Categories=
20 OnlyShowIn=GNOME;
21+X-GNOME-Autostart-Delay=15
22Index: gnome-user-share-2.28.2/data/gnome-user-share-webdav.desktop.in.in
23===================================================================
24--- gnome-user-share-2.28.2.orig/data/gnome-user-share-webdav.desktop.in.in 2010-02-18 00:55:06.700536092 +0000
25+++ gnome-user-share-2.28.2/data/gnome-user-share-webdav.desktop.in.in 2010-02-18 00:55:53.930513505 +0000
8@@ -7,3 +7,4 @@26@@ -7,3 +7,4 @@
9 Type=Application27 Type=Application
10 Categories=28 Categories=
1129
=== modified file 'debian/patches/06_nodisplay_autostart.patch'
--- debian/patches/06_nodisplay_autostart.patch 2011-07-01 11:37:27 +0000
+++ debian/patches/06_nodisplay_autostart.patch 2015-08-02 08:27:18 +0000
@@ -3,11 +3,29 @@
3Bug-Ubuntu: https://launchpad.net/bugs/8039173Bug-Ubuntu: https://launchpad.net/bugs/803917
4Forwarded: not-needed4Forwarded: not-needed
55
6Index: gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in6---
7===================================================================7 data/gnome-user-share-obexftp.desktop.in.in | 1 +
8--- gnome-user-share-3.0.0.orig/data/gnome-user-share.desktop.in.in 2011-07-01 11:32:13.353773779 +01008 data/gnome-user-share-obexpush.desktop.in.in | 1 +
9+++ gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in 2011-07-01 11:32:35.057774009 +01009 data/gnome-user-share-webdav.desktop.in.in | 1 +
10@@ -8,3 +8,4 @@10 3 files changed, 3 insertions(+)
11
12--- a/data/gnome-user-share-obexftp.desktop.in.in
13+++ b/data/gnome-user-share-obexftp.desktop.in.in
14@@ -10,3 +10,4 @@ Type=Application
15 Categories=
16 OnlyShowIn=GNOME;
17 X-GNOME-Autostart-Delay=15
18+NoDisplay=true
19--- a/data/gnome-user-share-obexpush.desktop.in.in
20+++ b/data/gnome-user-share-obexpush.desktop.in.in
21@@ -10,3 +10,4 @@ Type=Application
22 Categories=
23 OnlyShowIn=GNOME;
24 X-GNOME-Autostart-Delay=15
25+NoDisplay=true
26--- a/data/gnome-user-share-webdav.desktop.in.in
27+++ b/data/gnome-user-share-webdav.desktop.in.in
28@@ -10,3 +10,4 @@ Type=Application
11 Categories=29 Categories=
12 OnlyShowIn=GNOME;30 OnlyShowIn=GNOME;
13 X-GNOME-Autostart-Delay=1531 X-GNOME-Autostart-Delay=15
1432
=== modified file 'debian/patches/07_onlyshowin_unity.patch'
--- debian/patches/07_onlyshowin_unity.patch 2011-07-01 11:37:27 +0000
+++ debian/patches/07_onlyshowin_unity.patch 2015-08-02 08:27:18 +0000
@@ -3,24 +3,35 @@
3Bug-Ubuntu: https://launchpad.net/bugs/8035193Bug-Ubuntu: https://launchpad.net/bugs/803519
4Bug: https://bugzilla.gnome.org/show_bug.cgi?id=6538114Bug: https://bugzilla.gnome.org/show_bug.cgi?id=653811
55
6Index: gnome-user-share-3.0.0/data/gnome-user-share-properties.desktop.in6---
7===================================================================7 data/gnome-user-share-obexftp.desktop.in.in | 2 +-
8--- gnome-user-share-3.0.0.orig/data/gnome-user-share-properties.desktop.in 2011-07-01 12:22:32.833805737 +01008 data/gnome-user-share-obexpush.desktop.in.in | 2 +-
9+++ gnome-user-share-3.0.0/data/gnome-user-share-properties.desktop.in 2011-07-01 12:22:42.525805840 +01009 data/gnome-user-share-webdav.desktop.in.in | 2 +-
10@@ -7,7 +7,7 @@10 3 files changed, 3 insertions(+), 3 deletions(-)
11 Terminal=false11
12 Type=Application12--- a/data/gnome-user-share-obexftp.desktop.in.in
13 Categories=GNOME;Settings;X-GNOME-NetworkSettings;13+++ b/data/gnome-user-share-obexftp.desktop.in.in
14-OnlyShowIn=GNOME;14@@ -8,6 +8,6 @@ Exec=@installdir@/gnome-user-share
15+OnlyShowIn=GNOME;Unity;15 Terminal=false
16 X-GNOME-Bugzilla-Bugzilla=GNOME16 Type=Application
17 X-GNOME-Bugzilla-Product=gnome-user-share17 Categories=
18 X-GNOME-Bugzilla-Component=general18-OnlyShowIn=GNOME;
19Index: gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in19+OnlyShowIn=GNOME;Unity;
20===================================================================20 X-GNOME-Autostart-Delay=15
21--- gnome-user-share-3.0.0.orig/data/gnome-user-share.desktop.in.in 2011-07-01 12:22:32.801805737 +010021 NoDisplay=true
22+++ gnome-user-share-3.0.0/data/gnome-user-share.desktop.in.in 2011-07-01 12:22:38.413805796 +010022--- a/data/gnome-user-share-obexpush.desktop.in.in
23@@ -6,6 +6,6 @@23+++ b/data/gnome-user-share-obexpush.desktop.in.in
24@@ -8,6 +8,6 @@ Exec=@installdir@/gnome-user-share
25 Terminal=false
26 Type=Application
27 Categories=
28-OnlyShowIn=GNOME;
29+OnlyShowIn=GNOME;Unity;
30 X-GNOME-Autostart-Delay=15
31 NoDisplay=true
32--- a/data/gnome-user-share-webdav.desktop.in.in
33+++ b/data/gnome-user-share-webdav.desktop.in.in
34@@ -8,6 +8,6 @@ Exec=@installdir@/gnome-user-share
24 Terminal=false35 Terminal=false
25 Type=Application36 Type=Application
26 Categories=37 Categories=
2738
=== added file 'debian/patches/10_apache_2.4.patch'
--- debian/patches/10_apache_2.4.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/10_apache_2.4.patch 2015-08-02 08:27:18 +0000
@@ -0,0 +1,14 @@
1Author: Emilio Pozuelo Monfort <pochu@debian.org>
2Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669729
3
4--- a/data/dav_user_2.4.conf
5+++ b/data/dav_user_2.4.conf
6@@ -8,7 +8,7 @@
7
8 LimitXMLRequestBody 100000
9
10-LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so
11+#LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so
12 LoadModule mpm_prefork_module ${HTTP_MODULES_PATH}/mod_mpm_prefork.so
13 LoadModule dav_module ${HTTP_MODULES_PATH}/mod_dav.so
14 LoadModule dav_fs_module ${HTTP_MODULES_PATH}/mod_dav_fs.so
015
=== added file 'debian/patches/11_apache_noauth.patch'
--- debian/patches/11_apache_noauth.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/11_apache_noauth.patch 2015-08-02 08:27:18 +0000
@@ -0,0 +1,41 @@
1Index: gnome-user-share-3.8.0/data/dav_user_2.4.conf
2===================================================================
3--- gnome-user-share-3.8.0.orig/data/dav_user_2.4.conf 2013-06-02 17:55:50.539019664 +0200
4+++ gnome-user-share-3.8.0/data/dav_user_2.4.conf 2013-06-02 17:59:00.863950116 +0200
5@@ -30,20 +30,28 @@ DNSSDAutoRegisterUserDir Off
6 <Location />
7 DAV On
8
9- AuthType Digest
10- AuthName "${GUS_LOGIN_LABEL}"
11- AuthDigestDomain /
12-
13- AuthDigestProvider file
14- AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
15- AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
16-
17 <IfDefine RequirePasswordAlways>
18+ AuthType Digest
19+ AuthName "${GUS_LOGIN_LABEL}"
20+ AuthDigestDomain /
21+
22+ AuthDigestProvider file
23+ AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
24+ AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
25+
26 Require user guest
27 Require group guest
28 </IfDefine>
29
30 <IfDefine RequirePasswordOnWrite>
31+ AuthType Digest
32+ AuthName "${GUS_LOGIN_LABEL}"
33+ AuthDigestDomain /
34+
35+ AuthDigestProvider file
36+ AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
37+ AuthGroupFile /usr/share/gnome-user-share/dav_groupfile
38+
39 <LimitExcept GET OPTIONS PROPFIND>
40 Require user guest
41 Require group guest
042
=== modified file 'debian/patches/series'
--- debian/patches/series 2011-07-01 11:37:27 +0000
+++ debian/patches/series 2015-08-02 08:27:18 +0000
@@ -4,3 +4,5 @@
405_autostart_delay.patch405_autostart_delay.patch
506_nodisplay_autostart.patch506_nodisplay_autostart.patch
607_onlyshowin_unity.patch607_onlyshowin_unity.patch
710_apache_2.4.patch
811_apache_noauth.patch
79
=== modified file 'debian/rules'
--- debian/rules 2011-06-07 10:38:56 +0000
+++ debian/rules 2015-08-02 08:27:18 +0000
@@ -8,12 +8,12 @@
88
9LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed9LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
10DEB_DH_MAKESHLIBS_ARGS += --exclude=libnautilus-share-extension.so10DEB_DH_MAKESHLIBS_ARGS += --exclude=libnautilus-share-extension.so
11DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper \11DEB_CONFIGURE_EXTRA_FLAGS += \
12 --with-httpd=/usr/lib/apache2/mpm-worker/apache2 \12 --with-httpd=/usr/lib/apache2/mpm-worker/apache2 \
13 --with-modules-path=/usr/lib/apache2/modules/13 --with-modules-path=/usr/lib/apache2/modules/
1414
15install/gnome-user-share::15install/gnome-user-share::
16 rm -f debian/gnome-user-share/usr/share/gnome-user-share/dav_user_2.0.conf16 rm -f debian/gnome-user-share/usr/share/gnome-user-share/dav_user_2.0.conf
17 rmdir -p --ignore-fail-on-non-empty debian/gnome-user-share/etc/xdg
17 find debian/gnome-user-share -name "*.la" -delete18 find debian/gnome-user-share -name "*.la" -delete
18 rm -rf debian/gnome-user-share/usr/lib/nautilus19 rm -rf debian/gnome-user-share/usr/lib/nautilus
19

Subscribers

People subscribed via source and target branches

to all changes: