skanlite doesn’t save settings 600 dpi *_*


Skanlite doesn’t save settings at least until now, because after i have report the bug…and i have doen my own application ….

we get a git version that saves settings!!!

well my application include a printing menu but at least now skanlite has the base feature requested from a scanner gui.

How to compile

AS ALWAYS… THIS ARTICLE IS NOT MADE FOR NOOBS.. Please don’t try this at home😀

Today i am on kubuntu with kde 4.6.1 so … i have fresh stuff …. you have to install dependeces

sudo apt-get build-dep skanlite

get the source

 git clone git://anongit.kde.org/skanlite.git 

now compile with NOTE DUAL CORE CAN USE make -j3 instead only core computer must use : make

 mkdir build ; cd build ; cmake .. ; make -j3 

then if you want test :

 src/./skanlite 

if you prefer create deb package : *NOTE dependeces are not so right xD but it works here on my computer.. with kde 4.6.1 and version 11.04 alpha3*

 git clone git://anongit.kde.org/skanlite.git   

Now you have to add these lines to cmakelist.txt

  
SET(MAJOR_VERSION 0)
SET(MINOR_VERSION 8 )
SET(PATCH_VERSION 0)

IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
INCLUDE(InstallRequiredSystemLibraries)

SET(CPACK_SET_DESTDIR "on")
SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp")
SET(CPACK_GENERATOR "DEB")

SET(CPACK_PACKAGE_DESCRIPTION "scanner interface for kde4")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Skanlite is an image scanner application for KDE 4.")
SET(CPACK_PACKAGE_VENDOR "Vendor")
SET(CPACK_PACKAGE_CONTACT "Kåre Särs")
SET(CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")

SET(CPACK_DEBIAN_PACKAGE_DEPENDS "kdebase-runtime (>= 4:4.2.1), kdelibs5 (>= 4:4.2.1), libc6 (>= 2.1.3), libgcc1 (>= 1:4.1.1), libplasma3, libqt4-dbus (>= 4.5.0), libqtcore4 (>= 4.5.0), libqtgui4 (>= 4.5.0), libstdc++6 (>= 4.2.1)")

SET(CPACK_DEBIAN_PACKAGE_PRIORITY "extra")
SET(CPACK_DEBIAN_PACKAGE_SECTION "kde")
SET(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})

SET(CPACK_COMPONENTS_ALL Libraries ApplicationData)
INCLUDE(CPack)

ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")

now with the mo

 

you should get this message


kanlite/build$ cpack ..
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: skanlite
CPack: - Install project: skanlite
CPack: Create package
CPack: - package: /tmp/skanlite/build/skanlite_0.8.0.deb generated.

now to install the package:

sudo  dpkg -i skanlite_0.8*

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: