lximage-qt-0.4.0

Introduction to lximage-qt

The lximage-qt package contains a lightweight image viewer and screenshot program.

This package is known to build and work properly using an LFS-7.10 platform.

Package Information

lximage-qt Dependencies

Required

libexif-0.6.21 and pcmanfm-qt-0.10.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lximage-qt

Installation of lximage-qt

Install lximage-qt by running the following commands:

sed -i 's/1%/%1/' src/translations/lximage-qt_pt_BR.ts &&

sed -i 's/Utility;//' data/lximage-qt.desktop.in       &&

mkdir -v build &&
cd       build &&

cmake -DCMAKE_BUILD_TYPE=Release          \
      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
      ..       &&

LIBRARY_PATH=/opt/qt5/lib:$LXQT_PREFIX/lib make

This package does not come with a test suite.

Now, as the root user:

make install &&

ln -svf $LXQT_PREFIX/share/applications/lximage-qt.desktop \
        /usr/share/applications &&

ln -svf $LXQT_PREFIX/share/applications/lximage-qt-screenshot.desktop \
        /usr/share/applications

If you have xdg-utils-1.1.1 installed, as the root user, run xdg-icon-resource forceupdate --theme hicolor.

Command Explanations

sed -i ... src/translations/lximage-qt_pt_BR.t: Fixes a bug introduced by the translation. If you will never use pt_BR as the prefix of your locale, this fix can be safely ignored.

sed -i ... data/lximage-qt.desktop.in: Fixes submenu for lximage-qt.

LIBRARY_PATH=/opt/qt5/lib:$LXQT_PREFIX/lib: Fixes for the linker to find three libraries.

Contents

Installed Program: lximage-qt
Installed Libraries: None
Installed Directory: $LXQT_PREFIX/share/lximage-qt

Short Descriptions

lximage-qt

is a lightweight image viewer and screenshot program. There is a menu entry at Utilities for the screenshot program. From command line, obtain a full screen or window shot by running lximage-qt --screenshot.

Last updated on 2016-08-27 13:19:14 -0700