Package Details: asbru-cm-git 6.2.1.r3.g9f10b16-1

Git Clone URL: https://aur.archlinux.org/asbru-cm-git.git (read-only, click to copy)
Package Base: asbru-cm-git
Description: A free and open-source connection manager. master branch
Upstream URL: https://github.com/asbru-cm/asbru-cm
Licenses: GPL3
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figuepluto
Votes: 7
Popularity: 0.48
First Submitted: 2017-11-20 20:44
Last Updated: 2020-06-08 08:58

Pinned Comments

figue commented on 2020-02-22 14:47

There is a known bug that broke Ásbrú after recent system upgrade. There are 2 workarounds for now:

  • Apply this patch in GTK3 Perl module:
--- a/usr/share/perl5/vendor_perl/Gtk3.pm   2019-07-08 01:01:02.000000000 +0200
+++ b/usr/share/perl5/vendor_perl/Gtk3.pm   2020-02-22 15:53:20.268974674 +0100
@@ -1744,9 +1744,16 @@
 # Not needed anymore once <https://bugzilla.gnome.org/show_bug.cgi?id=646742>
 # is fixed.
 sub Gtk3::TreeModelSort::new_with_model {
-  my ($class, $child_model) = @_;
-  Glib::Object::Introspection->invoke (
-    $_GTK_BASENAME, 'TreeModel', 'sort_new_with_model', $child_model);
+   my ($class, $child_model) = @_;
+   if (Gtk3::get_major_version() > 3 || Gtk3::get_minor_version() > 24
+|| Gtk3::get_micro_version() >= 14) {
+     Glib::Object::Introspection->invoke (
+       $_GTK_BASENAME, 'TreeModelSort', 'new_with_model', $class,
+$child_model);
+   } else {
+     Glib::Object::Introspection->invoke (
+       $_GTK_BASENAME, 'TreeModel', 'sort_new_with_model', $child_model);
+   }
 }

 =item * Gtk3::TreeModelSort has a C<get> method that calls
  • Or directly comment Gtk3::TreeModelSort:
sudo sed -e '1742,1753s/^/#/' -i /usr/share/perl5/vendor_perl/Gtk3.pm

To remove workaround, simply reinstall perl-gtk3 package from [extra].

Latest Comments

1 2 3 4 5 Next › Last »

figue commented on 2020-06-13 14:22

@PapuaXXL original package sources are here:

https://www.archlinux.org/packages/extra/x86_64/glib-perl/

I've just updated version and removed an included patch.

PapuaXXL commented on 2020-06-13 13:38

Very thanks! It's work.

I need to study how to make the packages for ArchLinux

Best Regards,

figue commented on 2020-06-13 12:40

It's easier to build update official package. I've uploaded PKGBUILD here:

https://gist.github.com/figue/78dd2224546d0e2a0219bdf1e54f37d0

Download and build it manually with "makepkg -sic --asdeps"

PapuaXXL commented on 2020-06-13 12:06

I tried the workaround, but, I wasn't a successful. Log of operation:

▶perl Makefile.PL PREFIX=/home/papuaxxl/Software/archlinux/packages/perl-glib/bin
Including generated API documentation... Unrecognized argument in LIBS ignored: '-pthread' Generating a Unix-style Makefile Writing Makefile for Glib Writing MYMETA.yml and MYMETA.json

▶ make Skip blib/lib/Glib.pm (unchanged) Skip blib/arch/Glib/Install/gperl_marshal.h (unchanged) Skip blib/arch/Glib/Install/Files.pm (unchanged) Skip blib/arch/Glib/Install/typemap (unchanged)

...

[ CC gperl-gtypes.c ] rm -f blib/arch/auto/Glib/Glib.so [ LD blib/arch/auto/Glib/Glib.so ] chmod 755 blib/arch/auto/Glib/Glib.so Parsing XS files... Generating POD... Loaded 8 extra types from doctypes Creating POD index... Creating XS API documentation... Manifying 37 pod documents Manifying 3 pod documents

▶ make install "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Glib.bs blib/arch/auto/Glib/Glib.bs 644 Manifying 37 pod documents Manifying 3 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Appending installation info to /home/papuaxxl/Software/archlinux/packages/perl-glib/bin/lib/perl5/5.30/core_perl/perllocal.pod

▶ perl -I /home/papuaxxl/Software/archlinux/packages/perl-glib/bin/lib/perl5/5.30 /usr/bin/asbru-cm INFO: Ásbrú Connection Manager 6.2.2 (asbru-cm) started with PID 355114 INFO: Desktop environment detected : gnome-shell:i3 INFO: Config directory is '/home/papuaxxl/.config/asbru' GLib-LOG **: unsetenv() is not thread-safe and should not be used after threads are created at /usr/lib/perl5/5.30/vendor_perl/Glib/Object/Introspection.pm line 67. INFO: Used config file '/home/papuaxxl/.config/asbru/asbru.nfreeze' INFO: Virtual terminal emulator (VTE) version is 0.60 INFO: Theme directory is '/opt/asbru-cm/res/themes/default' INFO: No tray available

CONNECTING WITH Local (Sat Jun 13 13:04:22 2020)

GLib-LOG : setenv()/putenv() are not thread-safe and should not be used after threads are created at /usr/lib/perl5/5.30/vendor_perl/Glib/Object/Introspection.pm line 67. GLib-LOG : setenv()/putenv() are not thread-safe and should not be used after threads are created at /usr/lib/perl5/5.30/vendor_perl/Glib/Object/Introspection.pm line 67. GLib-LOG **: unsetenv() is not thread-safe and should not be used after threads are created at /usr/share/perl5/vendor_perl/Gtk3.pm line 555.

~

Did I do something wrong ?

Best Regards,

figue commented on 2020-06-13 09:40

Hi PapuaXXL! Welcome to Arch :)

Yes, it's a known bug. See upstream issue:

https://github.com/asbru-cm/asbru-cm/issues/432

Hope it can be fixed soon in perl-glib.

Edit: confirmed. glib-perl 1.3293 solves the issue.

PapuaXXL commented on 2020-06-12 15:24

Hi !

I'm a new on Arch Linux, and try to install de asbru-cm, every thing is ok but when I open the local connection, we recibe the flowing message:

GLib-LOG : setenv()/putenv() are not thread-safe and should not be used after threads are created at /usr/lib/perl5/5.30/vendor_perl/Glib/Object/Introspection.pm line 67. GLib-LOG : setenv()/putenv() are not thread-safe and should not be used after threads are created at /usr/lib/perl5/5.30/vendor_perl/Glib/Object/Introspection.pm line 67. GLib-LOG **: unsetenv() is not thread-safe and should not be used after threads are created at /usr/share/perl5/vendor_perl/Gtk3.pm line 555.

Is it normal ?

Best Regards.

figue commented on 2020-05-16 14:41

@g4c sorry, I'm always using loki branch and forgot to set those permissions. It's fixed now.

g4c commented on 2020-05-16 02:18

The latest update breaks opening the application because the scripts in /opt/asbru-cm/utils need to be executable to run the auto-update script that migrates ~/.config/pac to ~/.config/asbru.

figue commented on 2020-02-22 14:47

There is a known bug that broke Ásbrú after recent system upgrade. There are 2 workarounds for now:

  • Apply this patch in GTK3 Perl module:
--- a/usr/share/perl5/vendor_perl/Gtk3.pm   2019-07-08 01:01:02.000000000 +0200
+++ b/usr/share/perl5/vendor_perl/Gtk3.pm   2020-02-22 15:53:20.268974674 +0100
@@ -1744,9 +1744,16 @@
 # Not needed anymore once <https://bugzilla.gnome.org/show_bug.cgi?id=646742>
 # is fixed.
 sub Gtk3::TreeModelSort::new_with_model {
-  my ($class, $child_model) = @_;
-  Glib::Object::Introspection->invoke (
-    $_GTK_BASENAME, 'TreeModel', 'sort_new_with_model', $child_model);
+   my ($class, $child_model) = @_;
+   if (Gtk3::get_major_version() > 3 || Gtk3::get_minor_version() > 24
+|| Gtk3::get_micro_version() >= 14) {
+     Glib::Object::Introspection->invoke (
+       $_GTK_BASENAME, 'TreeModelSort', 'new_with_model', $class,
+$child_model);
+   } else {
+     Glib::Object::Introspection->invoke (
+       $_GTK_BASENAME, 'TreeModel', 'sort_new_with_model', $child_model);
+   }
 }

 =item * Gtk3::TreeModelSort has a C<get> method that calls
  • Or directly comment Gtk3::TreeModelSort:
sudo sed -e '1742,1753s/^/#/' -i /usr/share/perl5/vendor_perl/Gtk3.pm

To remove workaround, simply reinstall perl-gtk3 package from [extra].

figue commented on 2020-01-05 15:06

@wcasanova could you tell me in what situation this module is needed? I can't find in sources...

Also, thanks to remember that I need to bump to 6.0.2.