tags 733122 patch
thanks

Here's a patch.

On Thu, Dec 26, 2013 at 12:32:22AM +0100, Robert Millan wrote:
> Package: gnome-shell-common
> Version: 3.8.4-5
> Severity: grave
> 
> gnome-shell aborts on GNU/kFreeBSD because of Linux-specific settings
> in config.js:
> 
> /usr/share/gnome-shell/js/misc/config.js:const HAVE_BLUETOOTH = 1;
> /usr/share/gnome-shell/js/misc/config.js:const HAVE_NETWORKMANAGER = 1;
> 
> The cause of this problem is that, although config.js is correcly built
> without these options, the binary-all version of this file is used, since
> it is obtained from gnome-shell-common rather than gnome-shell.
> 
> I recommend moving it to gnome-shell as the easiest solution.
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: kfreebsd-amd64 (x86_64)
> Foreign Architectures: kfreebsd-i386
> 
> Kernel: kFreeBSD 9.0-2-amd64
> Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
diff -ur gnome-shell-3.8.4.old/debian/control gnome-shell-3.8.4/debian/control
--- gnome-shell-3.8.4.old/debian/control	2013-12-29 03:01:40.000000000 +0100
+++ gnome-shell-3.8.4/debian/control	2013-12-29 03:17:00.000000000 +0100
@@ -98,6 +98,7 @@
             gnome-control-center,
             gnome-user-guide,
             unzip
+Replaces: gnome-shell-common (<< 3.8.4-6)
 Breaks: fglrx-driver (<< 1:11-10),
         gdm3 (<< 3.5.90),
         gnome-control-center (<< 1:3.0),
diff -ur gnome-shell-3.8.4.old/debian/control.in gnome-shell-3.8.4/debian/control.in
--- gnome-shell-3.8.4.old/debian/control.in	2013-10-12 16:54:00.000000000 +0200
+++ gnome-shell-3.8.4/debian/control.in	2013-12-29 03:16:49.000000000 +0100
@@ -93,6 +93,7 @@
             gnome-control-center,
             gnome-user-guide,
             unzip
+Replaces: gnome-shell-common (<< 3.8.4-6)
 Breaks: fglrx-driver (<< 1:11-10),
         gdm3 (<< 3.5.90),
         gnome-control-center (<< 1:3.0),
diff -ur gnome-shell-3.8.4.old/debian/gnome-shell.install gnome-shell-3.8.4/debian/gnome-shell.install
--- gnome-shell-3.8.4.old/debian/gnome-shell.install	2011-12-13 22:49:10.000000000 +0100
+++ gnome-shell-3.8.4/debian/gnome-shell.install	2013-12-29 02:43:10.000000000 +0100
@@ -4,3 +4,4 @@
 usr/share/applications
 usr/share/dbus-1
 usr/share/man
+usr/share/gnome-shell/js/misc/config.js
diff -ur gnome-shell-3.8.4.old/debian/rules gnome-shell-3.8.4/debian/rules
--- gnome-shell-3.8.4.old/debian/rules	2013-10-08 17:43:26.000000000 +0200
+++ gnome-shell-3.8.4/debian/rules	2013-12-29 03:11:29.000000000 +0100
@@ -26,5 +26,8 @@
 		/usr/lib/gnome-shell
 	find debian/$(cdbs_curpkg) -name '*.la' -exec rm -f '{}' ';'
 
+binary-predeb/gnome-shell-common::
+	rm -f debian/gnome-shell-common/usr/share/gnome-shell/js/misc/config.js
+
 # List any files which are not installed
 common-binary-post-install-arch:: list-missing

Reply via email to