Package Details: shutter 0.93.1-11

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: 39
Popularity: 6.775616
First Submitted: 2017-01-24 12:16
Last Updated: 2017-02-16 13:20

Required by (1)

Sources (7)

Pinned Comments

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

Ralf_Mardorf commented on 2017-07-16 11:40

Your argument is just one argument, also consider that even if shutter would be completely broken under wayland, it wouldn't conflict with wayland, a user e.g. could switch between X and wayland, then it would become an issue, if the shutter package would conflict with the wayland package, while actually the shutter package doesn't break wayland. An example for a valid conflict would be "e.g. for fluxbox-git: conflicts=('fluxbox') and provides=('fluxbox')" - https://wiki.archlinux.org/index.php/VCS_package_guidelines#Guidelines
Simplified, so to say, if the packages don't share files, they don't conflict with each other.

PhotonX commented on 2017-07-16 11:00

@Ralf_Mardorf: Actually yeah, in principle it is still possible to use Shutter for editing and uploading screenshots, even if capture is broken.

Ralf_Mardorf commented on 2017-07-16 08:42

No, it's a bad idea. It might not work, but doesn't conflict. Think the wrong usage of "Conflicts With" through to the end! ;)

PhotonX commented on 2017-07-16 08:20

@siliconmeadow: Unfortunately, there is nothing that can be done on packaging level. It looks like Shutter will never support Wayland, unless somebody continues its development.

Is it a good idea to add a conflict to wayland?

siliconmeadow commented on 2017-07-15 14:27

@PhotonX - I think you're right.

PhotonX commented on 2017-07-14 13:59

Do you use Wayland? If so, it looks like this bug: https://bugs.launchpad.net/shutter/+bug/1502263

siliconmeadow commented on 2017-07-14 13:54

All the screenshots I take look like this:

https://www.dropbox.com/s/p3fhfqrgnniin45/Minecraft%201.12_067.png?dl=0

I'm using Gnome 3.24.2. Any ideas as to the troubleshooting steps I should take would be greatly appreciated.

Ralf_Mardorf commented on 2017-06-14 18:12

As a general note, usually you never should delete a comment, but before posting read all related comments. There are exceptions when deleting a comment could be ok, but it's completely wrong, if there are already replies to a comment. Those using AUR helpers to upgrade also should take a look, if a package by lexical order is build before a required dependency is build by the same upgrade. To ensure that I don't miss such possible build order issues, I set some packages from AUR to the IgnorePkg list, so I get informed that I need to build those packages, but I have to do this manually, IOW I get remembered to care about the correct order.

chron commented on 2017-06-14 17:43

@PhotonX: Yeah, I noticed that as well 5 minutes after I posted.

I had a long list of packages to compile today, and perl-goo-canvas scrolled by right after I fixed it for shutter :)

Do you want me to delete the posts?

PhotonX commented on 2017-06-14 17:05

@chron: perl-goo-canvas has been bumped for a perl 5.26 rebuild 5 days ago: https://aur.archlinux.org/cgit/aur.git/log/?h=perl-goo-canvas If you use an AUR helper you should have got an update for it.

chron commented on 2017-06-14 16:45

~/ # shutter
xs/goocanvas.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)

Needed to rebuild perl-goo-canvas to fix it after the perl update yesterday (13. Jun).

Just in case someone else runs into the problem.

PhotonX commented on 2017-06-09 06:15

@schaap137: Thanks, missed this one (Xfce user).

schaap137 commented on 2017-06-08 21:39

perl-gtk2-appindicator needed a rebuild with PERL_USE_UNSAFE_INC=1 here as well

PhotonX commented on 2017-06-08 09:00

@arash-m: If I knew of one I would probably not maintain this package. :) Shutter seems to be unique, at least in the GTK part of the world.

arash-m commented on 2017-06-08 07:44

The number of dependencies one has to install for this package is a lot. Is there any alternative application that provides the same functionality?

PhotonX commented on 2017-06-07 17:48

@akawaka: Yep, this is one of the dependencies not maintained by me, but I already flagged it out of date yesterday.

akawaka commented on 2017-06-07 16:55

I had to rebuild perl-gtk2-imageview using PERL_USE_UNSAFE_INC=1 as well.

PhotonX commented on 2017-06-07 06:53

@erikdubois: Please read the previous comments. ;)

PhotonX commented on 2017-06-07 05:26

I wonder why for some people gnomecanvas-perl still leads to errors, though I bumped its pkgrev... In any case: Reinstall gnomecanvas-perl to force a rebuild.

Ralf_Mardorf commented on 2017-06-07 01:54

The reason for the mismatch was explained by now deleted comments from 14:55 and 16:03. However, the new comment from 20:38 mentions that the dependencies that still need an edited PKGBUILD are already flagged out-of-date. Seemingly some packages, at least one perl related package are still missing "PERL_USE_UNSAFE_INC=1 make", see https://aur.archlinux.org/packages/perl-goo-canvas/ . "Shutter itself needs no rebuild", so the out-of-date flag was already deleted.

Batou commented on 2017-06-06 23:38

Shutter stopped working after all the new Perl libraries were updated.

xs/GnomeCanvas.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)

PhotonX commented on 2017-06-06 20:38

@HackerCow: I bumped all dependencies which needed a rebuild and are maintained by me and flagged further dependencies which are maintained by other people. Shutter itself needs no rebuild so I am removing the out of date flag. Thanks for reporting!

PhotonX commented on 2017-04-15 08:21

@lockheed: Please report this problem here: https://aur.archlinux.org/packages/gnome-vfs-nosmb/

lockheed commented on 2017-04-14 20:49

Since months it has been impossible to install shutter because gnome-vfs-nosmb does not compile:

make[3]: *** [Makefile:1040: install-libgnomevfsincludeHEADERS] Error 127
make[3]: *** Waiting for unfinished jobs....
../0 -m 644 gnome-vfs-cancellable-ops.h gnome-vfs-inet-connection.h gnome-vfs-method.h gnome-vfs-mime-info.h gnome-vfs-module-callback-module-api.h gnome-vfs-module-shared.h gnome-vfs-module.h gnome-vfs-parse-ls.h gnome-vfs-ssl.h gnome-vfs-transform.h gnome-vfs-socket-buffer.h gnome-vfs-socket.h gnome-vfs-pty.h '/tmp/yaourt-tmp-juha/aur-gnome-vfs-nosmb/pkg/gnome-vfs-nosmb/usr/include/gnome-vfs-module-2.0/libgnomevfs'
/bin/sh: line 11: ../0: No such file or directory
make[3]: *** [Makefile:1061: install-libgnomevfsmoduleincludeHEADERS] Error 127
libtool: install: ../0 .libs/libgnomevfs-2.so.0.2400.4 /tmp/yaourt-tmp-juha/aur-gnome-vfs-nosmb/pkg/gnome-vfs-nosmb/usr/lib/libgnomevfs-2.so.0.2400.4
../libtool: line 1723: ../0: No such file or directory
make[3]: *** [Makefile:884: install-libLTLIBRARIES] Error 127
make[3]: Leaving directory '/tmp/yaourt-tmp-juha/aur-gnome-vfs-nosmb/src/gnome-vfs-2.24.4/libgnomevfs'
make[2]: *** [Makefile:1199: install-am] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-juha/aur-gnome-vfs-nosmb/src/gnome-vfs-2.24.4/libgnomevfs'
make[1]: *** [Makefile:1193: install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-juha/aur-gnome-vfs-nosmb/src/gnome-vfs-2.24.4/libgnomevfs'
make: *** [Makefile:615: install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...

PhotonX commented on 2017-03-05 19:37

@FadeMind: Looks like a problem with the XServer. Could you give more details on your video card and driver? See here, for example: https://bbs.archlinux.org/viewtopic.php?id=123176

FadeMind commented on 2017-03-05 17:42

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!
Full log: https://pastebin.com/raw/47L6qMnr

Lastest lines:

screenshot successfully saved to /home/fademind/Obrazy/Pulpit 1_004.png!

fct_update_tray_menu was called by Gnome2::Wnck::Screen=HASH(0x3ea0d38)
The program 'shutter' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 5152 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

PhotonX commented on 2017-03-03 07:26

@charlesarch: Glad that it worked, welcome to Arch and have a good journey! :)

charlesarch commented on 2017-03-03 05:47

@PhotonX Installed with pacaur. It went ok. Not sure why it worked this time, but I did used yaourt to install a few dependencies before giving pacaur another try.

New to Arch, (Fresh install last Sunday), (after a long time with Ubuntu/Mint). Thanks for helping.

PhotonX commented on 2017-03-02 17:45

@shahinism: Cool, thanks for clarifying!

@charlesarch, kodiak: Can you confirm this?

@Spyhawk: Seems like a false alarm, sorry for disturbing. :)

shahinism commented on 2017-03-02 17:35

@Photonx Just installed it using Pacaur with no more problem.

PhotonX commented on 2017-03-02 10:45

@Spyhawk: But I checked all involved packages (gnome-perl, gnome-vfs-perl and gnomecanvas-perl), both the .SRCINFO and the PKGBUILD, there is nowhere a reference to "perl<"...

Spyhawk commented on 2017-03-02 10:34

@PhotonX > Still the same Perl hack that fails to populate the .SRCINFO...

PhotonX commented on 2017-03-02 08:03

Asked the pacaur developer for support, I'm really out of ideas.

charlesarch commented on 2017-03-02 04:38

Thanks @PhotonX, It seems pacaur still has the parse error.

$ pacaur -S shutter
:: Package shutter not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for perl< (dependency tree: shutter gnome-perl gnomecanvas-perl perl)

However, I did try build from PKGBUILD directly, and see the following:

$ makepkg -si
==> Making package: shutter 0.93.1-11 (Wed Mar 1 20:37:44 PST 2017)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: gnome-perl
error: target not found: perl-gnome2-wnck
error: target not found: perl-gtk2-imageview
error: target not found: perl-gtk2-unique
warning: skipping target: perl-xml-simple
==> ERROR: 'pacman' failed to install missing dependencies.

My system is up to date.

$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do


PhotonX commented on 2017-03-01 15:02

Actually, I hope that it should work with pacaur as well now (from the time of my previous comment on), please test! Or is the problem still present with pacaur now?

shahinism commented on 2017-03-01 14:57

@PhotonX Indeed, no results found for perl< (dependency tree: shutter gnome-perl gnomecanvas-perl perl) error is happening on pacaur only, using yauort or manual installation, works with shutter without any problem

PhotonX commented on 2017-03-01 10:20

@charlesarch: Did the same in gnome-vfs-perl, please try again!

charlesarch commented on 2017-03-01 09:35

@PhotonX Similar issue persists.

$ pacaur -S shutter
:: Package shutter not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for perl< (dependency tree: shutter gnome-perl gnome-vfs-perl perl)

PhotonX commented on 2017-02-27 21:57

@kodiak: This looks like a problem with pacaur. It says, that it cannot find "perl<" which is a dependency of gnomecanvas-perl. But gnomecanvas-perl has a dependency on perl, not "perl<" so I don't know what the problem is, unless pacaur doesn't parse comments properly. I pushed a silent update for gnomecanvas-perl to test this hypothesis, please try building shutter again and let me know if it works now.

kodiak commented on 2017-02-27 16:38

pacaur -S shutter
:: Package shutter not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for perl< (dependency tree: shutter gnome-perl gnomecanvas-perl perl)

PhotonX commented on 2017-02-16 09:03

@zpalmtree: Thanks for the information! perl-lwp-protocol-https is an optional dependency but its description was wrong. I updated it now (as well as some other descriptions).

zpalmtree commented on 2017-02-15 21:40

Imgur upload didn't work for me with an error message as follows:

malformed JSON string, neither array, object, number, string or atom, at character offset 0
(before "LWP will support htt...")

After searching the error message, I found I just needed to install perl-lwp-protocol-https, and upload worked perfectly. I guess it needs to be added to the dependencies? Thanks.

PhotonX commented on 2017-02-03 17:50

Sorry, forgot to test build it. Thanks for reporting! Should be fixed in -8.

mpuzirew commented on 2017-02-03 17:14

Build fails on last update. It seems like error applying fix-unicode.patch

Building paused asking me to specify file to patch. I can't fix this mannually, because I'm not sure what file path I should enter there.

The output was the folllowing:

Проверка файлов source с использованием sha512sums...
shutter-0.93.1.tar.gz ... Готово
CVE-2015-0854.patch ... Готово
fix-dropbox.patch ... Готово
fix-unicode.patch ... Готово
fix-second-instance-crash.patch ... Готово
fix-imgur.patch ... Готово
==> Распаковка исходных файлов...
-> Распаковка 'shutter-0.93.1.tar.gz' с помощью bsdtar
==> Запускается prepare()...
patching file share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
patching file share/shutter/resources/system/upload_plugins/upload/Dropbox.pm
can't find file to patch at input line 20
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From: Boyuan Yang <073plan@gmail.com>
|Date: Mon, 5 Dec 2016 16:21:51 +0800
|Subject: Force utf8 for retrieved window name from Gtk2.
|
|Transform the window name retrieved from Gtk2 to utf8
|to prevent messy encoding problem. Otherwise latin-1
|would be used and cause mess.
|
|This should work on most contemporary systems.
|
|Signed-off-by: Boyuan Yang <073plan@gmail.com>
|---
| bin/shutter | 7 ++++++-
| 1 file changed, 6 insertions(+), 1 deletion(-)
|
|diff --git a/bin/shutter b/bin/shutter
|index a0495d4..38eeedd 100755
|--- a/bin/shutter
|+++ b/bin/shutter
--------------------------
File to patch:

PhotonX commented on 2017-02-02 22:58

gnome-vfs is provided by gnome-vfs-smb. gnome-vfs has been removed from the official repositories and I didn't reupload it to the AUR because it is already provided by gnome-vfs-smb. I know that several people have a problem with this who are using AUR helpers like pacaur but I don't know what to do about it. Everything is fine if you use yaourt or makepkg+pacman. I asked the developer of pacaur what to do here: https://aur.archlinux.org/packages/gnome-perl/#news

Tazmain commented on 2017-02-02 22:36

I am using pacaur and also getting the gnome-vfs dependency error. I use to have a gnome-vfs package installed. But that no longer exists. pacaur cannot find a gnome-vfs package since it's called gnome-vfs-nosmb.

Kayshi commented on 2017-01-31 14:22

@PhotonX okay, gonna try to recreate what happend to me when I get VMWare Player working

PhotonX commented on 2017-01-29 15:12

@Kayshi: Please post the errors if you want to pursue this problem. You might also want to comment about it at gnome-vfs-nosmb's page.

Kayshi commented on 2017-01-29 14:07

@PhotonX I'm using packer and I had to install gnome-vsf-nosmb's dependencies manually because I was getting some unknown errors

PhotonX commented on 2017-01-28 19:33

gnome-vfs should be provided by gnome-vfs-nosmb: https://aur.archlinux.org/packages/gnome-vfs-nosmb/ If it doesn't work for you, which AUR helper are you using?

Kayshi commented on 2017-01-28 19:13

can't install this package, getting "Dependency `gnome-vfs' of `shutter' does not exist."

PhotonX commented on 2017-01-28 17:47

@Haron_Prime: Thanks for the hint, I was playing around with the dependencies locally and forgot to revert the changes. Fixed.

Haron_Prime commented on 2017-01-28 17:36

After update shutter package gnome-perl indicates no longer necessary.
However, it is not.
Trying to run ends with the following errors:

Use of the encoding pragma is deprecated at /bin/shutter line 30.
Can't locate Gnome2.pm in @INC (you may need to install the Gnome2 module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /bin/shutter line 35.
BEGIN failed--compilation aborted at /bin/shutter line 35.

The shutter does not start.
Recovery package gnome-perl problem is solved.

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...

PhotonX commented on 2017-01-26 07:50

Yep, it has been kicked out after my last comment. With it a number of its dependencies. I have restored all of them (I hope) but the total number of Shutter's gnome2 dependencies is now 9 - not sure how much longer we can keep it alive... I just hope for some help from Mate devs, maybe they will take care of all these packages (with a new name obviously).

Eriner commented on 2017-01-26 00:14

still missing libgnomeui.

PhotonX commented on 2017-01-25 19:17

I added all necessary packages (hopefully all) to the AUR, please try it out and let me know if everything works!

PhotonX commented on 2017-01-25 17:53

Waiting for a reply here: https://bbs.archlinux.org/viewtopic.php?pid=1686274#p1686274 Looks like a whole bunch of packages (at least two of gnome-pearl dependencies and maybe further dependencies) are gone from the repos and need to be reuploaded to the AUR...

bendavis78 commented on 2017-01-25 17:03

gnome-perl dependency is nowhere to be found. Any suggestions?

PhotonX commented on 2017-01-25 06:48

Thanks for the hints! I already included the patch fixing FS#41357 in -4, will have a look at the imgur upload problem asap.

edit: User intervention seems to be required to make the imgur fix from comment 20 to work, I asked for a solution here: https://code.launchpad.net/~systemdisc/shutter/imgur-fix/+merge/313977

Rhinoceros commented on 2017-01-24 21:30

Just to let you know, @PhotonX, FS#41357 has a patch, as linked in the comments to the bug [a]. I can confirm that this works perfectly. Also, there's a few other patches linked in the other bugs.

In addition, imgur upload has been broken for a while. There is a fix here in comment 14 [b], which I can confirm works. There is also apparently another fix at comment 20, but I've not checked that one.

And thanks for picking this up!!

[a] https://bugs.archlinux.org/task/41357
[b] https://bugs.launchpad.net/shutter/+bug/1565048

City-busz commented on 2017-01-24 12:23

Moved from the [community] repository due to depending on deprecated libraries, especially on gnome-vfs.

This package is still affected by the following bugs:

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

FS#47237 - [shutter] segfault when trying make screenshot
https://bugs.archlinux.org/task/47237

FS#50419 - [shutter] 0.93.1-2 Cannot take screenshot of a window, when shutter is already started
https://bugs.archlinux.org/task/50419

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

FS#51936 - [shutter] wrong encode
https://bugs.archlinux.org/task/51936