Package Details: shutter 0.94-2

Git Clone URL: https://aur.archlinux.org/shutter.git (read-only)
Package Base: shutter
Description: A featureful screenshot tool (formerly gscrot)
Upstream URL: http://shutter-project.org/
Licenses: GPL3
Submitter: City-busz
Maintainer: PhotonX
Last Packager: PhotonX
Votes: 68
Popularity: 2.925023
First Submitted: 2017-01-24 12:16
Last Updated: 2017-08-17 13:58

Pinned Comments

Ralf_Mardorf commented on 2017-09-03 13:25

Follow the announcement to "get a list of affected packages":

[rocketmouse@archlinux ~]$ pacman -Qqo '/usr/lib/perl5/vendor_perl'
gnome-perl
gnome-vfs-perl
gnomecanvas-perl
perl-gnome2-wnck
perl-goo-canvas
perl-gtk2-imageview
perl-gtk2-unique

Check dependencies:

[rocketmouse@archlinux ~]$ pacman -Qi gnome-perl | grep Depends\ On
Depends On : gnomecanvas-perl gnome-vfs-perl libgnomeui perl

Proper would be to check build dependencies.

Build after increasing the pkgrel of the PKGBUILDs:

[rocketmouse@archlinux ~]$ yaourt -S gnomecanvas-perl gnome-vfs-perl
[snip]
[rocketmouse@archlinux ~]$ yaourt -S gnome-perl perl-gnome2-wnck perl-goo-canvas perl-gtk2-imageview perl-gtk2-unique
[snip]

Then launch shutter:

[rocketmouse@archlinux ~]$ shutter >/dev/null 2>&1

Take a screenshot and edit the screenshot.

PhotonX commented on 2017-01-28 15:32

A note for shutter-bzr users: Shutter's latest release (0.93.1) exactly corresponds its latest bzr revision (1278), and since the development is dead for over two years the shutter-bzr package is obsolete. I requested its deletion, please switch to this package.

Current status concerning Shutter bugs:

FS#41357 - [shutter] 0.91-2 Launching a second instance causes first instance to crash
https://bugs.archlinux.org/task/41357
-> Fixed!

FS#47237 - [shutter] segfault when trying make screenshot
https://bugs.archlinux.org/task/47237
-> Not reproducible, please give more details in the comments!

FS#50419 - [shutter] 0.93.1-2 Cannot take screenshot of a window, when shutter is already started
https://bugs.archlinux.org/task/50419
-> Not reproducible, please give more details in the comments!

FS#50735 - [shutter] Please apply patches fixing CVE 2015-0854 and other bugs
https://bugs.archlinux.org/task/50735
-> Fixed!

FS#51936 - [shutter] wrong encode
https://bugs.archlinux.org/task/51936
-> Not looked at yet, might be fixed...

Latest Comments

PhotonX commented on 2018-05-07 06:12

@FadeMind: Sure, it's an optional dependency.

FadeMind commented on 2018-05-07 05:16

For editor working shutter required: perl-goo-canvas

PhotonX commented on 2018-04-04 12:30

Good news: The second instance crash should now be fixed (with the update of perl-gtk2-unique to revision 22).

PhotonX commented on 2018-03-03 22:02

@wox: Sourceforge is down so the files are not available right now. Please retry building the packages later.

Concerning the question why gnome-vfs-nosmb instead of gnome-vfs, have a look at the comments of https://aur.archlinux.org/packages/gnome-vfs-perl/?comments=all One year ago, when I reuploaded all the missing perl dependencies of Shutter to the AUR there was no gnome-vfs (without -nosmb) package. But now that gnome-vfs exists, I have changed back to gnome-vfs.

wox commented on 2018-03-03 20:45

I get this:

:: failed to verify gnome-vfs-perl integrity

:: failed to verify gnomecanvas-perl integrity

:: failed to verify gnome-perl integrity

... and shutter has not been installed.

Besides, it wishes to replace gnome-vfs by gnome-vfs-nosmb. Does not seem to make much sense, maybe?

PhotonX commented on 2018-02-12 12:50

@Pastafarianist: Is it possibly this issue: https://rt.cpan.org/Public/Bug/Display.html?id=120115 If so, I will ask bidulock to include this patch into his perl-gtk2-unique package!

I tested it myself and the patch actually fixes the issue!

PhotonX commented on 2017-12-26 14:31

@Pastafarianist: Thanks a lot for trying to track it down! Unfortunately, I'm not experienced enough in this level of debugging to be of any help, but if you can pin it down to something which can be reported against libunique or perl-gtk2-unique, it would be great!

Pastafarianist commented on 2017-12-25 18:25

I've taken a look at the segfault that manifests when a second instance is launched. This is most likely a problem somewhere in C code, either in perl-gtk2-unique or in libunique itself. Here is the backtrace of the crash:

#0  0x00007ffff7773461 in __strlen_avx2 () at /usr/lib/libc.so.6
#1  0x00007ffff7acbcce in Perl_newSVpv () at /usr/lib/perl5/5.26/core_perl/CORE/libperl.so
#2  0x00007fffe46db064 in perl_unique_app_marshall_message_received ()
    at /usr/lib/perl5/5.26/vendor_perl/auto/Gtk2/Unique/Unique.so
#3  0x00007ffff630c6f5 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#4  0x00007ffff63200b0 in  () at /usr/lib/libgobject-2.0.so.0
#5  0x00007ffff6323efe in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#6  0x00007ffff6325920 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#7  0x00007fffe44d0e55 in unique_app_emit_message_received () at /usr/lib/libunique-1.0.so.0
#8  0x00007fffe44d3f8e in  () at /usr/lib/libunique-1.0.so.0
#9  0x00007ffff081a17a in  () at /usr/lib/libgio-2.0.so.0
#10 0x00007ffff603c0be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#11 0x00007ffff603df69 in  () at /usr/lib/libglib-2.0.so.0
#12 0x00007ffff603ef42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#13 0x00007ffff17153a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007ffff1cc3059 in XS_Gtk2_main () at /usr/lib/perl5/5.26/vendor_perl/auto/Gtk2/Gtk2.so
#15 0x00007ffff7ab4289 in Perl_pp_entersub () at /usr/lib/perl5/5.26/core_perl/CORE/libperl.so
#16 0x00007ffff7aabef6 in Perl_runops_standard () at /usr/lib/perl5/5.26/core_perl/CORE/libperl.so
#17 0x00007ffff7a2d0cf in perl_run () at /usr/lib/perl5/5.26/core_perl/CORE/libperl.so
#18 0x0000555555554de7 in main ()

The source of perl_unique_app_marshall_message_received can be found here. If you set a breakpoint right before the line I linked to is executed, you will see that command_name contains an invalid pointer. That pointer comes from unique_command_to_string, whose source is here. I haven't figured out what exactly goes wrong there though.

nepda commented on 2017-11-14 11:51

Maybe this helps after a shutter update:

yaourt -S --noconfirm gnomecanvas-perl && \
yaourt -S --noconfirm gnome-vfs-perl && \
yaourt -S --noconfirm gnome-perl && \
yaourt -S --noconfirm perl-gnome2-wnck && \
yaourt -S --noconfirm perl-gtk2-imageview && \
yaourt -S --noconfirm perl-gtk2-unique && \
yaourt -S --noconfirm goocanvas1 && \
yaourt -S --noconfirm perl-goo-canvas

PhotonX commented on 2017-10-27 04:38

@topher1kenobe: Could you please describe what exactly you did and what errors you got? The order of packages is important when rebuilding the dependencies, you need to install them from the bottom of the dependency tree.

All comments