Re: Bug#733122: fatal error: Typelib file for namespace 'GnomeBluetoothApplet' (any version) not found

2014-01-12 Thread Robert Millan
On 12/01/2014 17:55, Michael Biebl wrote:
> Am 12.01.2014 17:47, schrieb Michael Biebl:
>> In summary, the patch is not quite ready yet imho.
> 
> Hm, looking more closely, instead of moving the files around, it might
> be better to use a try {} catch {} statement like we do for NM.
> 
> Robert, can you try the following patch:

This successfully takes care of the bluetooth part.

NM, however, is still a problem since not all its instances are protected
by try-catch. I.e. the one in ui/sessionMode.js would need a similar hack.

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52d31b82.1040...@debian.org



Re: Bug#733122: fatal error: Typelib file for namespace 'GnomeBluetoothApplet' (any version) not found

2013-12-28 Thread Robert Millan
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.0 +0100
+++ gnome-shell-3.8.4/debian/control	2013-12-29 03:17:00.0 +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.0 +0200
+++ gnome-shell-3.8.4/debian/control.in	2013-12-29 03:16:49.0 +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.0 +0100
+++ gnome-shell-3.8.4/debian/gnome-shell.install	2013-12-29 02:43:10.0 +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.0 +0200
+++ gnome-shell-3.8.4/debian/rules	2013-12-29 03:11:29.0 +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


fatal error: Typelib file for namespace 'GnomeBluetoothApplet' (any version) not found

2013-12-25 Thread Robert Millan
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


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52bb6b06.6000...@debian.org