Anybody able to compile Kuickshow for 15.1?

Hello,

I am looking for somebody who can make an installable rpm for Kuickshow für OS 15.1. I am willing to pay something (via paypal).
Anybody?

Kuickshow is crucial to my daily work, but unfortunately it doesn’t exist for 15.1 (last version 42.3) and I am not able to compile it (I looked ab OBS but this is from another universe to which my brain doesn’t have access :slight_smile: )

This weekend I install 15.1 plus some new hardware, so in case I get a positive answer here it might take a while until I am able again to answer, but I will. It is very important to me…

Thanks for your help!

I have tried to build it, but too old…

Hi
This one? https://github.com/KDE/kuickshow it needs fixing for imlib2…

What about: https://bitbucket.org/andreyu/simple-viewer-gl/src/master/

I found it for 42.3 here: download.opensuse.org/repositories/home:/mad_soft/
but unfortunately there is none for 15.1. I don’t know who is “mad-soft” and how to contact him or her…

I believe the sources are here: https://github.com/KDE/kuickshow/releases

What about: https://bitbucket.org/andreyu/simple-viewer-gl/src/master/

Looking at the screenshots this program also uses a background eating up screen space, and puts information below the image. Kuickshow simply just shows the image, and doesn’t need any additional space…

Hi
Yes, that one, but like I indicated, the reason it’s really failing is the move to imlib2, so the cmake bits need fixing…

https://build.opensuse.org/package/show/home:mad_soft/kuickshow

I donwloaded the source kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/src/
I installed imlib-nogdk-devel-1.9.15 from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/x86_64/
I installed the kde4-devel packages

but rpmbuild exists with error
(complete output: https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt )

imlib should be there now, how to fix cmake is something I don’t understand not even a little bit. But looking at the rpmbuild output I believe it came quite close to a solution, I just don’t have any idea what is still missing or fails or what I could do…

Any ideas?

Hi
Not sure I would want to build with old and likely unsupported libraries (imlib/kde4) which I suspect is the error.

If you really want the application, then would suggest raising an upstream bug with https://github.com/KDE/kuickshow ask them if they will port to imlib2, since the rest has been ported to kde/plasma5…

make[2]: *** No rule to make target ‘/usr/lib64/libImlib.so’, needed by ‘lib/libkdeinit4_kuickshow.so’. Stop.

It does not build…

/home/stephan/rpmbuild/BUILD/kuickshow/src/imlibwidget.cpp:652: undefined reference to `Imlib_load_image'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/stephan/rpmbuild/BUILD/kuickshow/src/imlibwidget.cpp:669: undefined reference to `Imlib_set_image_modifier'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/kdeinit_kuickshow.dir/build.make:661: src/libkdeinit5_kuickshow.so] Error 1
make[2]: Leaving directory '/home/stephan/rpmbuild/BUILD/kuickshow/build'
make[1]: *** [CMakeFiles/Makefile2:192: src/CMakeFiles/kdeinit_kuickshow.dir/all] Error 2
make[1]: Leaving directory '/home/stephan/rpmbuild/BUILD/kuickshow/build'
make: *** [Makefile:130: all] Error 2
error: Bad exit status from /home/stephan/rpmbuild/tmp/rpm-tmp.NTyhrl (%build)

Same as yesterday…

raising an upstream bug

Sorry for the stupid question, but how do you raise an upstream bug? I’ve been on the github page but see no possibility to enter bugs or wishes…

Hi
Ahh it’s dropped package… I see this “I have switched to Gwenview from Kuickshow, since Kuickshow is discontinued” in a KDE forum thread.

Maybe the Author (email at the bottom of the github page) may offer insights? I see there was a commit last month…

Hi
So just to summarize…

Current version of kuickshow (0.10.0.1) using kdf5 libs and imlib-nogdk errors out with /usr/lib64/libImlib.so: undefined reference to `PrintGifError’. This is due to as the function was dropped in libgif around version 4.2.0. To hack this you would need to build an older version of libgif that supports, then rebuild imlib-nogdk, then rebuild kuickshow.

Current version of kuickshow (0.10.0.1) using kdf5 libs and imlib2 errors out (a) because it wants the older version of imlib, this can be fixed via skipping the check (but really needs to be ported to a FindIMLIB2.cmake), (b) but then headers need updating to point at Imlib2.h etc and compiling errors occur because the code needs to be ported to imlib2…

Switch to using Gwenview…

Dirty Hack:

Download giflib:
ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/12.3/repo/oss/suse/x86_64/libgif4-4.1.6-34.1.1.x86_64.rpm
ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/12.3/repo/oss/suse/x86_64/giflib-devel-4.1.6-34.1.1.x86_64.rpm

Download imlib:
http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/x86_64/imlib-nogdk-1.9.15-lp151.25.1.x86_64.rpm
http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/x86_64/imlib-nogdk-devel-1.9.15-lp151.25.1.x86_64.rpm

Install these pacakges and see, that giflib-devel Version 7 is not installed, only Version 4 above should be installed.

Download:
https://www.krauttranslate.de/~sauerland/RPMS/src/kuickshow-0.10.0.1-0.src.rpm

rpmbuild --rebuild kuickshow-0.10.0.1-0.src.rpm

But its dirty.

What does dirty mean?

Anyway I gave it a try:

daniel@venus:~/downloads/Kuickshow10> rpmbuild --rebuild kuickshow-0.10.0.1-0.src.rpm
Installing kuickshow-0.10.0.1-0.src.rpm
warning: user stephan does not exist - using root
warning: user stephan does not exist - using root
warning: user stephan does not exist - using root
warning: Macro expanded in comment on line 61: %lang_package

warning: Macro expanded in comment on line 86: %{name}.lang

error: Failed build dependencies:
cmake(KF5DocTools) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(KF5I18n) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(KF5IconThemes) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(KF5Init) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(KF5KIO) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(KF5WindowSystem) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(KF5XmlGui) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(Qt5Core) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(Qt5Gui) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(Qt5PrintSupport) is needed by kuickshow-0.10.0.1-0.x86_64
cmake(Qt5X11Extras) is needed by kuickshow-0.10.0.1-0.x86_64
extra-cmake-modules is needed by kuickshow-0.10.0.1-0.x86_64

I looked about the failed dependencies and there are installed packages, but all with a “5” at the end (KF5DocTools5 etc). I dont find them without the “5”…

That are all devel-packages.
Search for:

zypper se -s KF5Doc
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version          | Arch   | Repository            
---+-----------------------+---------+------------------+--------+-----------------------
i+ | libKF5DocTools5       | package | 5.45.0-lp150.1.8 | x86_64 | openSUSE-Leap-15.0-Oss
i+ | libKF5DocTools5-32bit | package | 5.45.0-lp150.1.8 | x86_64 | openSUSE-Leap-15.0-Oss

Now you can see for the Source:

zypper if libKF5DocTools5 
Loading repository data...
Reading installed packages...


Information for package libKF5DocTools5:
----------------------------------------
Repository     : openSUSE-Leap-15.0-Oss           
Name           : libKF5DocTools5                  
Version        : 5.45.0-lp150.1.8                 
Arch           : x86_64                           
Vendor         : openSUSE                         
Installed Size : 61.2 KiB                         
Installed      : Yes                              
Status         : up-to-date                       
Source package : kdoctools-5.45.0-lp150.1.8.src   
Summary        : Create documentation from DocBook
Description    :                                  
    Provides tools to generate documentation in various format from DocBook files.


And now for the devel:

zypper se -s kdoctools
Loading repository data...
Reading installed packages...

S  | Name                  | Type       | Version          | Arch   | Repository                
---+-----------------------+------------+------------------+--------+---------------------------
i+ | kdoctools             | package    | 5.45.0-lp150.1.8 | x86_64 | openSUSE-Leap-15.0-Oss    
   | kdoctools             | srcpackage | 5.45.0-lp150.1.8 | noarch | Haupt-Repository (Quellen)
i+ | kdoctools-devel       | package    | 5.45.0-lp150.1.8 | x86_64 | openSUSE-Leap-15.0-Oss    
   | kdoctools-devel-32bit | package    | 5.45.0-lp150.1.8 | x86_64 | openSUSE-Leap-15.0-Oss    
i+ | kdoctools-lang        | package    | 5.45.0-lp150.1.8 | noarch | openSUSE-Leap-15.0-Oss

So you have to install:

zypper in kdoctools-devel

And please use Code-Tags for Output from Terminal…

The small # in the Editor.

:slight_smile:

I’d need some more screens and another two or three lives plus clients willing to wait :slight_smile:

I use kuickshow to select images. I often have several very similar images to compare. I can open them in kuickshow. Each one is in a separate, independent window without any other things, just the photo. The images open and scale to max possible size on the screen (or to 100% if they are smaller). Window size is image display size (or max screen size). I can easily enlarge or make the image smaller: Window will get smaller if I make the display size of the photo smaller and vice versa. I can move the images around, put different ones side by side, look at details in one or the other, move the image within the window, resize the window without resizing the image… enhance/lover brightness or contrast via keyboard to check a detail… etc.

In Gwenview I have to resize the window if I change the display size (image gets smaller, but window stays the same, still occupying space on my screen for nothing). Half the time I’d be resizing windows instead of working productively. Its much slower. I have to be careful not to save changes…

“Lighttable”-programs also cannot offer the same fastness and comfort, apart of that they themselves use a lot of screen space for things I am not interested in during that work… And they all have their rules according to the idea of workflow that the programmers have. They might not be bad at all, but kuickshow lets me just do what I want without telling me how I have to do it…

That’s how it looks here:

zypper se -s KF5Doc
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name                  | Typ   | Version          | Arch   | Repository      
--+-----------------------+-------+------------------+--------+-----------------
i | libKF5DocTools5       | Paket | 5.55.0-lp151.1.2 | x86_64 | Haupt-Repository
  | libKF5DocTools5-32bit | Paket | 5.55.0-lp151.1.2 | x86_64 | Haupt-Repository

zypper if libKF5DocTools5
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...


Informationen zu Paket libKF5DocTools5:
---------------------------------------
Repository         : Haupt-Repository                            
Name               : libKF5DocTools5                             
Version            : 5.55.0-lp151.1.2                            
Arch               : x86_64                                      
Anbieter           : openSUSE                                    
Installierte Größe : 61.2 KiB                                    
Installiert        : Ja (automatisch)                            
Status             : aktuell                                     
Quellpaket         : kdoctools-5.55.0-lp151.1.2.src              
Zusammenfassung    : Library to create documentation from DocBook
Beschreibung       :                                             
    Provides tools to generate documentation in various format from DocBook files.

zypper se -s kdoctools
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name                  | Typ        | Version          | Arch   | Repository      
--+-----------------------+------------+------------------+--------+-----------------
i | kdoctools             | Paket      | 5.55.0-lp151.1.2 | x86_64 | Haupt-Repository
  | kdoctools             | Quellpaket | 5.55.0-lp151.1.2 | noarch | Quell-Repository
  | kdoctools-devel       | Paket      | 5.55.0-lp151.1.2 | x86_64 | Haupt-Repository
  | kdoctools-devel-32bit | Paket      | 5.55.0-lp151.1.2 | x86_64 | Haupt-Repository
i | kdoctools-lang        | Paket      | 5.55.0-lp151.1.2 | noarch | Haupt-Repository

sudo zypper in kdoctools-devel

done:

( 1/11) Installieren: extra-cmake-modules-5.55.0-lp151.1.2.x86_64 ..................................[fertig]
( 2/11) Installieren: libgpg-error-devel-1.29-lp151.2.4.x86_64 .....................................[fertig]
( 3/11) Installieren: libqt5-qtbase-common-devel-5.9.7-lp151.3.1.x86_64 ............................[fertig]
( 4/11) Installieren: readline-devel-7.0-lp151.9.53.x86_64 .........................................[fertig]
( 5/11) Installieren: extra-cmake-modules-doc-5.55.0-lp151.1.2.noarch ..............................[fertig]
( 6/11) Installieren: libgcrypt-devel-1.8.2-lp151.8.1.x86_64 .......................................[fertig]
( 7/11) Installieren: libQt5Core-devel-5.9.7-lp151.3.1.x86_64 ......................................[fertig]
( 8/11) Installieren: xz-devel-5.2.3-lp151.4.3.1.x86_64 ............................................[fertig]
( 9/11) Installieren: libxml2-devel-2.9.7-lp151.4.2.x86_64 .........................................[fertig]
(10/11) Installieren: libxslt-devel-1.1.32-lp151.3.3.1.x86_64 ......................................[fertig]
(11/11) Installieren: kdoctools-devel-5.55.0-lp151.1.2.x86_64 ......................................ferti

still I get:

daniel@venus:~/downloads/Kuickshow10> rpmbuild --rebuild kuickshow-0.10.0.1-0.src.rpm
Installing kuickshow-0.10.0.1-0.src.rpm
warning: user stephan does not exist - using root
warning: user stephan does not exist - using root
warning: user stephan does not exist - using root
warning: Macro expanded in comment on line 61: %lang_package

warning: Macro expanded in comment on line 86: %{name}.lang

error: Failed build dependencies:
        cmake(KF5I18n) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(KF5IconThemes) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(KF5Init) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(KF5KIO) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(KF5WindowSystem) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(KF5XmlGui) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(Qt5Gui) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(Qt5PrintSupport) is needed by kuickshow-0.10.0.1-0.x86_64
        cmake(Qt5X11Extras) is needed by kuickshow-0.10.0.1-0.x86_64

Yes and now the next dependencies for build…

Ha! I was confused because when I looked it Yast I have seen all those missing packages. Only then (when searching for “contains” instead of just the name) I saw that there are devel-packages. Stupid me. So I installed them. Run the rpm command… and SUCESS!

Just a little thing: the program, when just started with “kuickshow image.jpg” only shows a black filled window. I must start it with

XLIB_SKIP_ARGB_VISUALS=1 kuickshow image.jpg

and then it works perfectly. Thanks a lot!!!

Question: Can I put this “XLIB_SKIP_ARGB_VISUALS=1” somewhere so it is used everytime I type “kuickshow” (or even when I use it with “open with…” in an application, like digikam)?

You could add
XLIB_SKIP_ARGB_VISUALS=1

to your environment

Add
expot XLIB_SKIP_ARGB_VISUALS=1

TO
~/.profile
file