Changes

Created page with 'Welcome to Simone Giustetti's wiki pages. Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=iscan_per_Slackware_14.0 Italiano] ---- Slackware 14.0 was…'
Welcome to Simone Giustetti's wiki pages.


Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=iscan_per_Slackware_14.0 Italiano]

----

Slackware 14.0 was officially released 19th September 2012. Among the many new features and updates for the major release is an '''update to the PNG library header file path'''. Sadly this particular update breaks the *.Slackbuild files i distributed with older articles: [[en/iscan_software]] and [[en/iscan_software_64_bit]], preventing the build procedure to successfully conclude. The issue arises during '''iscan''' package source code compilation resulting in the following error message:
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: ../lib/.libs/libimage-
stream.a(libimage_stream_la-pngstream.o): undefined reference to symbol 'png_set_longjmp_fn@@PNG14_0'
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'png_set_longjmp
_fn@@PNG14_0' is defined in DSO /usr/lib/libpng14.so.14 so try adding it to the linker command line

The problem can be solved updating the package source code and more specifically file '''/lib/pngstream.hh'''. Line 45: '' #include <png.h>'' should be replaced with the right header path: '' #include <libpng12/png.h>'' (Thanks to Mario P. for the tip).
A patch for the file can be downloaded from address: [[http://www.giustetti.net/resource/patch/14.0/iscan/iscan_png.patch Iscan PNG patch]]. The patch can be applied following some easy steps:
* Move to the directory '''/tmp/iscan''' where package build takes place.
* Copy previously downloaded file iscan_png.patch.
* Run command: '''patch''' ''-p01 -i'' iscan_png.patch .
Then rerun command '''make''' to start source code compiling.

A '''Slackbuild file updated for automatic patch apply''' during package build can be downloaded from link: [[http://www.giustetti.net/resource/slackbuild/iscan-2.28.1/iscan.tar.gz Iscan per Slackware 14.0]]. The build script is based on Iscan release 2.28.1, the latest available at present. A build script for the related '''iscan-data''' package updated for the latest stable release is available from link: [[http://www.giustetti.net/resource/slackbuild/iscan-2.28.1/iscan-data.tar.gz Iscan Data 1.13.0]].

The links to the Image Scan 2.28.1 and Image Scan Data 1.13.0 slackware packages follow. The packages are distributed in the hope they could be helpful:
* 32 bit.
** [http://www.giustetti.net/resource/pkg/i486/iscan-2.28.1-i486-1_sg.txz Image Scan 2.28.1]
** [http://www.giustetti.net/resource/pkg/i486/iscan-2.28.1-i486-1_sg.txz.md5 Image Scan 2.28.1 md5 checksum]
** [http://www.giustetti.net/resource/pkg/i486/iscan-data-1.13.0-i486-1_sg.txz Image Scan Data 1.13.0]
** [http://www.giustetti.net/resource/pkg/i486/iscan-data-1.13.0-i486-1_sg.txz.md5 Image Scan Data 1.13.0 md5 checksum]
* 64 bit.
** [http://www.giustetti.net/resource/pkg/x86_64/iscan-2.28.1-x86_64-1_sg.txz Image Scan 2.28.1]
** [http://www.giustetti.net/resource/pkg/x86_64/iscan-2.28.1-x86_64-1_sg.txz.md5 Image Scan 2.28.1 md5 checksum]
** [http://www.giustetti.net/resource/pkg/x86_64/iscan-data-1.13.0-x86_64-1_sg.txz Image Scan Data 1.13.0]
** [http://www.giustetti.net/resource/pkg/x86_64/iscan-data-1.13.0-x86_64-1_sg.txz.md5 Image Scan Data 1.13.0 md5 checksum]

Were you willing to try and build your own packages, please refer to my previous articles [[en/iscan_software]] and [[en/iscan_software_64_bit]] where step to step instructions are provided.


For any feedback, questions, errors and such, please e-mail me at ''studiosg [at] giustetti [dot] net''


External links

----

[http://avasys.jp/eng/ Avasys Corporation]

[http://www.avasys.jp/lx-bin2/linux_e/scan/DL1.do Avasys Corporation download page]

[http://www.gimp.org Gimp home page]

[http://www.slackware.org/ Slackware home page]


----

Languages: [http://www.giustetti.net/wiki/index.php?title=En/iscan_per_Slackware_14.0 English] - '''Italiano'''