#---------------------------------------------------------------------------- # build_libtiff.txt - how to build the libjpeg binaries # # Creation : 2008-05-05 hbfl # Last update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 ### download the source code from the internet, e.g. # ftp://ftp.remotesensing.org/pub/libtiff/ Die Version 3.9.0 kamm direkt aus dem CVS 2008-05-04 update CVS 2009-08-09 und wurde mit jbig-kit gebaut, vorher installieren export CVSROOT=:pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot cvs login (use empty password) cvs checkout -r branch-3-9 libtiff to get stable libtiff branch Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.0beta C compiler: i486-pc-linux-gnu-gcc -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no 2009-087-21 libtiff-3.9.0 stable release Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.0 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no 2009-08-28 libtiff-3.9.1 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.1 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no 2009-11-22 libtiff-3.9.2 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.2 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no # 2010-06-12 tiff-3.9.3 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.3 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no # 2010-06-15 tiff-3.9.4 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.4 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no # 2010-10-01 build libtiff with jpeg-8b # als 3-9-4-2 # 2011-05-01 -> tiff-3.9.5 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.5 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no # # 2012-05-17 -> tiff-3.9.6 # Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.6 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Enable linker symbol versioning: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no # # 2012-09-23 -> tiff 3.9.7 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-3.9.7 C compiler: i486-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Enable linker symbol versioning: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes ISO JBIG support: yes C++ support: yes OpenGL support: no # # # 2012-12-03 -> tiff-4.0.3 # 2013-07-06 -> tiff-4.0.3 # patched with rpm factory # build by hand # 2013-08-07 -> tiff-4.0.3 rebuild with ld-2.22 Libtiff is now configured for i486-pc-linux-gnu Installation directory: /usr Documentation directory: ${prefix}/share/doc/tiff-4.0.3 C compiler: i486-pc-linux-gnu-gcc -O2 -march=i486 -Wall -W C++ compiler: i486-pc-linux-gnu-g++ -O2 -march=i486 Enable runtime linker paths: no Enable linker symbol versioning: no Support Microsoft Document Imaging: yes Use win32 IO: no Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes JPEG 8/12 bit dual mode: no ISO JBIG support: yes LZMA2 support: yes C++ support: yes OpenGL support: no # 2015-04-15 -> tiff-4.0.3 # build with rpm Suse # tiff-4.0.3-13.1.src.rpm # 2015-08-14 -> tiff 4.0.4 # build with rpm Suse # tiff-4.0.4-2.1.src.rpm # 2016-05-05 -> tiff-4.0.6 # build with rpm Suse # tiff-4.0.6-4.2.src.rpm # hbfl # 2016-08-21 -> tiff-4.0.6 # build with rpm Suse # tiff-4.0.6-5.1.src.rpm # hbfl # 2017-01-14 -> tiff-4.0.7-2.1 # build with rpm Suse # included upstream patch for HylaFAX # tiff-4.0.7-2.1.src.rpm # hbfl # 2017-06-18 -> tiff-4.0.7-5.2 # build with rpm Suse # tiff-4.0.7-5.2.src.rpm # hbfl # 2018-01-21 -> tiff-4.0.9 # build with rpm Suse # tiff-4.0.9-17.9.1.src.rpm # hbfl # 2018-05-21 -> tiff-4.0.9 # build withrpm Suse # tiff-4.0.9-5.1.src.rpm # hbfl # 2018-06-29 -> tiff-4.0.9 # build with rpm Suse # tiff-4.0.9-6.1.src.rpm # hbfl # 2018-09-14 -> tiff-4.0.9 # build with rpm Suse # tiff-4.0.9-7.1.src.rpm # hbfl # 2019-01-03 -> tiff-4.0.10 # build with rpm Suse # tiff-4.0.10-1.1.src.rpm # hbfl # 2019-05-12 -> tiff-4.0.10 # build with rpm Suse # tiff-4.0.10-2.1.src.rpm # hbfl # 2019-05-20 -> tiff-4.0.10 # rebuild with rpm Suse # tiff-4.0.10-2.2.src.rpm # without webp # hbfl # 2019-12-19 -> tiff-4.1.0 # rebuild with rpm Suse # tiff-4.1.0-1.1.src.rpm # without webp # hbfl # 2020-04-04 -> tiff-4.1.0 # rebuild with rpm Suse -> gcc-9.2.1 -> glibc-2.31 # tiff-4.1.0-1.2.src.rpm # without webp # without zstd # hbfl # 2020-11-24 -> tiff-4.1.0 # rebuild with rpm Suse # tiff-4.1.0-2.4.src.rpm # without webp # hbfl # 2021-01-09 -> tiff-4.2.0 # rebuild with rpm Suse # tiff-4.2.0-1.1.src.rpm # without webp # hbfl # 2021-01-28 -> tiff-4.2.0 # rebuild with rpm Suse # tiff-4.2.0-1.2.src.rpm # without webp # with libdeflate # hbfl # 2021-04-08 -> tiff-4.3.0 # build with rpm Suse # tiff-4.3.0-1.1.src.rpm # without webp # with libdeflate # hbfl # 2021-06-11 -> tiff-4.3.0 # rebuild with rpm Suse -> gcc-10 -> glibc-2.33 # tiff-4.3.0-1.2.src.rpm # without webp # with libdeflate # hbfl # 2023-04-26 -> tiff-4.5.0 # build with rpm Suse -> gcc-12 -> glibc-2.37 # tiff-4.5.0-3.2.src.rpm # with libdeflate # hbfl # 2023-06-28 -> tiff-4.5.1 # build with rpm Suse # tiff-4.5.1-1.1.src.rpm # with libdeflate # hbfl # 2024-09-28 -> tiff-4.7.0 # build with rpm Suse # tiff-4.7.0-1.1.src.rpm # without webp # with libdeflate # hbfl # 2024-10-02 -> tiff-4.7.0 # rebuild with rpm Suse # tiff-4.7.0-1.2.src.rpm # without webp # with libdeflate # 2025-13-25 -> tiff-4.7.0 # rebuild with rpm Suse -> gcc-14 - glibc-2.41 # tiff-4.7.0-5.3src.rpm # with libdeflate cd libtiff ### build export CFLAGS='-O2 -march=i486' export CXXFLAGS="${CFLAGS}" ./configure \ --prefix=/usr \ --build=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu make make check make DESTDIR=/public/lib/tiff/4.0.3 install # strip files for filename in `find /public/lib/tiff/4.0.3/usr/{bin/*,lib/*.so.*} -type f` do echo $filename strip -R .note -R .comment "$filename" done #------------------------------------------------------------------------------- create folder Um die Folder im Hauptverszeichnis zu erstellen gibt es das Script 'libtiff-folder.sh' unter libtiff/_ADMIN/ mit libgif-folder.sh -v 4.1.4 -w create wird die folder Struktur fuer die lib Version 4.1.4 erstellt nun koennen die files aus dem compilat eingefuegt werden. mit libgif-folder.sh -v 4.1.4 -w add wird ein svn add auf die erzeugten Folder durchgefuehrt. mit libgif-folder.sh -v 4.1.4 -w list wird fuer jeden Folder die files-list.txt erzeugt, add muss zwingend vorher ausgefuehrt worden sein mit libgif-folder.sh -v 4.1.4 -w ci erfolgt der commit der erzeugten Folder In den eis und eis_dev Foldern muessen keine Anpassungen vorgenommen werden. Diese Anpassungen erfolgen beim packen der packages durch mktarball.sh mit den _do_ Scripten unter _ADMIN automatisch. In den Pack-Scripten unter _ADMIN muss dann noch die Pfadangabe geaendert werden, auf den soeben erzeugten Pfad und ein commit ausgefuehrt werden. Nach dem checkout auf eisler koennen nun die packages erzeugt werden. die wichtigsten Parameter fuer mktarball.sh sind dann -setdate now -setversion Version mktarball.sh - home -setdate now -setversion [version angeben] libgif libgif-dev duch die Angabe von -home werden die packages in die Folder Struktur /home/user/public_html/packages/ kopiert und koennen von da direkt auf Pack-Eis geladen werden. wichtig ist noch, dass unbedingt die 'lib' Version zuerst gebaut werden muss, da fuer die 'dev' Version Informationen aus der 'lib' Info Datei gelesen werden.