Closed LinuxGod777 closed 1 month ago
The Makefile should be fine since Shutter works if you use it directly (sudo make install) rather than building a .deb packge. :smiley: Looks like something goes wrong with building the package. Unfortunately, I have no experience with Debian packaging so I cannot really help. The relevant line is
Can't locate Shutter/App/AboutDialog.pm in @INC (you may need to install the Shutter::App::AboutDialog module) (@INC contains: /usr/share/shutter/resources/modules /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/shutter line 205.
Could you please check if /usr/share/shutter/resources/modules/Shutter/App/AboutDialog.pm
is present in your file system?
Could you please check if /usr/share/shutter/resources/modules/Shutter/App/AboutDialog.pm is present in your file system?
Nope. It's not there. I couldn't find anything related to shutter except the binary under /usr/bin/
Also, I couldn't find .desktop
file.
Probably you need to set the correct prefix: make prefix=/path/to/your/prefix install
when building the package.
Problem: Everything is working perfectly when I do install via sudo make install
but when I install it via created deb file. It's throwing error.
When I run sudo make install
It's creating a directory called /shutter/resources
with all the files under /usr/local/
since it's the prefix mentioned in Makefile#L1
But when I install it via deb file created with the above mentioned steps. It's not copying those files mentioned here on Makefile#L14
Except below mentioned files, Everything is same as this repo
Here is my DEBIAN/control
file
Package: shutter
Version: 0.97-1~linuxGod
Architecture: all
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Installed-Size: 17923
Depends: libgtk3-perl, libglib-perl, gir1.2-wnck-3.0, liblocale-gettext-perl, libxml-simple-perl, libwww-mechanize-perl, libwww-perl, libimage-magick-perl, libx11-protocol-perl, librsvg2-common, libfile-basedir-perl, libfile-copy-recursive-perl, libproc-simple-perl, libfile-which-perl, libsort-naturally-perl, libgtk3-imageview-perl (>= 9), libnet-dbus-perl, imagemagick, libproc-processtable-perl, procps, xdg-utils, libpath-class-perl, libjson-perl, libjson-xs-perl, libnet-dropbox-api-perl, libx11-protocol-other-perl, libgoocanvas2-perl, libnet-oauth-perl, libjson-maybexs-perl, liblwp-protocol-https-perl, libnumber-bytes-human-perl, desktop-file-utils, libglib-object-introspection-perl, libcarp-always-perl, libreadonly-perl, libpango-perl, libgoocanvas2-cairotypes-perl
Suggests: gnome-web-photo, nautilus-sendto, libimage-exiftool-perl, libnet-dbus-glib-perl, bc
Section: graphics
Priority: optional
Homepage: http://shutter-project.org/
Description: feature-rich screenshot program
Shutter is a feature-rich screenshot program. You can take a
screenshot of a specific area, window, your whole screen, or even of
a website - apply different effects to it, draw on it to highlight
points, and then upload to an image hosting site, all within one
window.
.
Features:
* take a screenshot of your complete desktop, a rectangular area
or capture a website
* take screenshot directly or with a specified delay time
* save the screenshots to a specified directory and name them in a
convenient way (using special wild-cards)
* Shutter is fully integrated into the GNOME Desktop (TrayIcon etc.)
* generate thumbnails directly when you are taking a screenshot
and set a size level in %
* Shutter session collection
o keep track of all screenshots during session
o copy screeners to clipboard
o print screenshots
o delete screenshots
o rename your file
* upload your files directly to Image-Hosters (e.g. imgur.com), retrieve
all the needed links and share them with others
* edit your screenshots directly using the embedded drawing tool
DEBIAN/postinst
file
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if which update-icon-caches >/dev/null 2>&1 ; then
update-icon-caches /usr/share/icons/HighContrast
fi
fi
DEBIAN/postrm
file
#!/bin/sh
set -e
if which update-icon-caches >/dev/null 2>&1 ; then
update-icon-caches /usr/share/icons/HighContrast
fi
As I said, I have no experience with Debian packaging. In Arch Linux you can (and have to) provide the commands which are to be executed to build and install an app in your PKGBUILD file. Here I cannot see any commands...
@Logix2 Any input on this, Please :smile:
Closing due to inactivity. Nothing we can do about it, I guess...
Brief summary of issue
I tried to clone this repo and create a
.deb
file myself. Everything went well. But After Installation, Shutter isn't opening and displaying error. Nothing is modified in the cloned repo.Steps to reproduce the issue
make
wait till it gets completecd ..
dpkg-deb --build shutter .
to start building debshutter
in TerminalShutter works well, When I perform install via
sudo make install
Complete error attached below
Error output
Extra information, such as Shutter version, operating system and ideas for how to solve:
I guess the Makefile has some issues. Please include the documentation for Building it from Scratch (for Learning Purpose)
Operating System: Ubuntu 20.04LTS Shutter Version: 0.97