Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Anybody able to compile Kuickshow for 15.1?

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,525
    Blog Entries
    15

    Default Re: Anybody able to compile Kuickshow for 15.1?

    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....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  2. #12
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,889

    Default AW: Anybody able to compile Kuickshow for 15.1?

    Dirty Hack:

    Download giflib:
    ftp://ftp5.gwdg.de/pub/opensuse/disc...1.1.x86_64.rpm
    ftp://ftp5.gwdg.de/pub/opensuse/disc...1.1.x86_64.rpm

    Download imlib:
    http://download.opensuse.org/reposit...5.1.x86_64.rpm
    http://download.opensuse.org/reposit...5.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/~sauer....0.1-0.src.rpm

    Code:
    rpmbuild --rebuild kuickshow-0.10.0.1-0.src.rpm
    But its dirty.

  3. #13

    Default Re: AW: Anybody able to compile Kuickshow for 15.1?

    Quote Originally Posted by Sauerland View Post
    Dirty Hack:
    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"...

  4. #14
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,889

    Default AW: Anybody able to compile Kuickshow for 15.1?

    That are all devel-packages.
    Search for:
    Code:
    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:
    Code:
    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:
    Code:
    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:
    Code:
    zypper in kdoctools-devel

  5. #15
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,889

    Default AW: Anybody able to compile Kuickshow for 15.1?

    And please use Code-Tags for Output from Terminal.....

    The small # in the Editor.

  6. #16

    Default Re: Anybody able to compile Kuickshow for 15.1?

    Quote Originally Posted by malcolmlewis View Post
    Switch to using Gwenview....
    :-)

    I'd need some more screens and another two or three lives plus clients willing to wait :-)

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

  7. #17

    Default Re: Anybody able to compile Kuickshow for 15.1?

    That's how it looks here:

    Code:
    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
    Code:
    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.
    Code:
    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
    Code:
    sudo zypper in kdoctools-devel
    done:
    Code:
    ( 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:
    Code:
    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

  8. #18
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,889

    Default AW: Anybody able to compile Kuickshow for 15.1?

    Yes and now the next dependencies for build.....

  9. #19

    Thumbs up Re: AW: Anybody able to compile Kuickshow for 15.1?

    Quote Originally Posted by Sauerland View Post
    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

    Code:
    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)?

  10. #20
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,651

    Default Re: Anybody able to compile Kuickshow for 15.1?

    You could add
    XLIB_SKIP_ARGB_VISUALS=1

    to your environment

    Add
    expot XLIB_SKIP_ARGB_VISUALS=1

    TO
    ~/.profile
    file

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •