diff --git a/ChangeLog.rss b/ChangeLog.rss
index 693935fd0..508fa4c53 100644
--- a/ChangeLog.rss
+++ b/ChangeLog.rss
@@ -11,9 +11,68 @@
Tracking Slackware development in git.en-usurn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f
- Wed, 28 Oct 2020 20:19:37 GMT
- Thu, 29 Oct 2020 07:59:38 GMT
+ Thu, 29 Oct 2020 21:55:56 GMT
+ Fri, 30 Oct 2020 07:59:42 GMTmaintain_current_git.sh v 1.12
+
+ Thu, 29 Oct 2020 21:55:56 GMT
+ Thu, 29 Oct 2020 21:55:56 GMT
+ https://git.slackware.nl/current/tag/?h=20201029215556
+ 20201029215556
+
+
+a/aaa_elflibs-15.0-x86_64-26.txz: Rebuilt.
+ Upgraded: liblber-2.4.so.2.11.3, libldap-2.4.so.2.11.3, libmpc.so.3.2.1.
+ Added temporarily to allow for third-party packages to be recompiled:
+ libHalf.so.12.0.0, libIex-2_2.so.12.0.0, libIexMath-2_2.so.12.0.0,
+ libIlmImf-2_2.so.22.0.0, libIlmImfUtil-2_2.so.22.0.0,
+ libIlmThread-2_2.so.12.0.0, libImath-2_2.so.12.0.0,
+ libpoppler-qt4.so.4.11.0, libpoppler.so.79.0.0.
+a/kernel-generic-5.4.73-x86_64-1.txz: Upgraded.
+a/kernel-huge-5.4.73-x86_64-1.txz: Upgraded.
+a/kernel-modules-5.4.73-x86_64-1.txz: Upgraded.
+d/kernel-headers-5.4.73-x86-1.txz: Upgraded.
+k/kernel-source-5.4.73-noarch-1.txz: Upgraded.
+l/LibRaw-0.20.2-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+l/exiv2-0.27.3-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+l/gegl-0.4.26-x86_64-2.txz: Rebuilt.
+ Recompiled against openexr-2.5.3.
+l/gexiv2-0.12.1-x86_64-1.txz: Upgraded.
+ Compiled against exiv2-0.27.3.
+l/graphene-1.10.2-x86_64-1.txz: Added.
+l/gst-plugins-base-1.18.1-x86_64-2.txz: Rebuilt.
+ Recompiled against system libgraphene.
+l/ilmbase-2.2.0-x86_64-2.txz: Removed.
+ These libraries are now part of openexr.
+l/imagemagick-7.0.10_34-x86_64-2.txz: Rebuilt.
+ Recompiled against LibRaw-0.20.2 and openexr-2.5.3.
+l/openexr-2.5.3-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+l/poppler-20.10.0-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+ Qt4 support dropped.
+n/samba-4.13.1-x86_64-1.txz: Upgraded.
+ This update fixes security issues:
+ Missing handle permissions check in SMB1/2/3 ChangeNotify.
+ Denial-of-service vulnerabilities.
+ For more information, see:
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14318
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14323
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14383
+ (* Security fix *)
+xap/geeqie-1.5.1-x86_64-2.txz: Rebuilt.
+ Recompiled against exiv2-0.27.3.
+xap/gimp-2.10.22-x86_64-2.txz: Rebuilt.
+ Recompiled against openexr-2.5.3.
+xap/xlockmore-5.66-x86_64-1.txz: Upgraded.
+isolinux/initrd.img: Rebuilt.
+kernels/*: Upgraded.
+usb-and-pxe-installers/usbboot.img: Rebuilt.
+ ]]>
+
+ Wed, 28 Oct 2020 20:19:37 GMTWed, 28 Oct 2020 20:19:37 GMT
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 276a713a7..77a71757d 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,54 @@
+Thu Oct 29 21:55:56 UTC 2020
+a/aaa_elflibs-15.0-x86_64-26.txz: Rebuilt.
+ Upgraded: liblber-2.4.so.2.11.3, libldap-2.4.so.2.11.3, libmpc.so.3.2.1.
+ Added temporarily to allow for third-party packages to be recompiled:
+ libHalf.so.12.0.0, libIex-2_2.so.12.0.0, libIexMath-2_2.so.12.0.0,
+ libIlmImf-2_2.so.22.0.0, libIlmImfUtil-2_2.so.22.0.0,
+ libIlmThread-2_2.so.12.0.0, libImath-2_2.so.12.0.0,
+ libpoppler-qt4.so.4.11.0, libpoppler.so.79.0.0.
+a/kernel-generic-5.4.73-x86_64-1.txz: Upgraded.
+a/kernel-huge-5.4.73-x86_64-1.txz: Upgraded.
+a/kernel-modules-5.4.73-x86_64-1.txz: Upgraded.
+d/kernel-headers-5.4.73-x86-1.txz: Upgraded.
+k/kernel-source-5.4.73-noarch-1.txz: Upgraded.
+l/LibRaw-0.20.2-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+l/exiv2-0.27.3-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+l/gegl-0.4.26-x86_64-2.txz: Rebuilt.
+ Recompiled against openexr-2.5.3.
+l/gexiv2-0.12.1-x86_64-1.txz: Upgraded.
+ Compiled against exiv2-0.27.3.
+l/graphene-1.10.2-x86_64-1.txz: Added.
+l/gst-plugins-base-1.18.1-x86_64-2.txz: Rebuilt.
+ Recompiled against system libgraphene.
+l/ilmbase-2.2.0-x86_64-2.txz: Removed.
+ These libraries are now part of openexr.
+l/imagemagick-7.0.10_34-x86_64-2.txz: Rebuilt.
+ Recompiled against LibRaw-0.20.2 and openexr-2.5.3.
+l/openexr-2.5.3-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+l/poppler-20.10.0-x86_64-1.txz: Upgraded.
+ Shared library .so-version bump.
+ Qt4 support dropped.
+n/samba-4.13.1-x86_64-1.txz: Upgraded.
+ This update fixes security issues:
+ Missing handle permissions check in SMB1/2/3 ChangeNotify.
+ Denial-of-service vulnerabilities.
+ For more information, see:
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14318
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14323
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14383
+ (* Security fix *)
+xap/geeqie-1.5.1-x86_64-2.txz: Rebuilt.
+ Recompiled against exiv2-0.27.3.
+xap/gimp-2.10.22-x86_64-2.txz: Rebuilt.
+ Recompiled against openexr-2.5.3.
+xap/xlockmore-5.66-x86_64-1.txz: Upgraded.
+isolinux/initrd.img: Rebuilt.
+kernels/*: Upgraded.
+usb-and-pxe-installers/usbboot.img: Rebuilt.
++--------------------------+
Wed Oct 28 20:19:37 UTC 2020
a/libblockdev-2.24-x86_64-1.txz: Added.
This is required by the new version of udisks2.
diff --git a/FILELIST.TXT b/FILELIST.TXT
index 19675ff5b..2df126551 100644
--- a/FILELIST.TXT
+++ b/FILELIST.TXT
@@ -1,35 +1,35 @@
-Wed Oct 28 20:22:15 UTC 2020
+Thu Oct 29 21:59:38 UTC 2020
Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh
the mirror.
-drwxr-xr-x 12 root root 4096 2020-10-28 20:19 .
+drwxr-xr-x 12 root root 4096 2020-10-29 21:55 .
-rw-r--r-- 1 root root 10064 2016-06-30 18:39 ./ANNOUNCE.14_2
-rw-r--r-- 1 root root 14975 2020-02-08 21:06 ./CHANGES_AND_HINTS.TXT
--rw-r--r-- 1 root root 972639 2020-10-27 18:35 ./CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2020-10-27 18:35 ./CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 974967 2020-10-28 20:22 ./CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2020-10-28 20:22 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
--rw-r--r-- 1 root root 979169 2020-10-28 20:19 ./ChangeLog.txt
+-rw-r--r-- 1 root root 981396 2020-10-29 21:55 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
-drwxr-xr-x 2 root root 4096 2020-10-17 19:55 ./EFI/BOOT
+drwxr-xr-x 2 root root 4096 2020-10-29 21:55 ./EFI/BOOT
-rw-r--r-- 1 root root 1417216 2019-07-05 18:54 ./EFI/BOOT/bootx64.efi
-rw-r--r-- 1 root root 78 2013-09-23 20:35 ./EFI/BOOT/grub-embedded.cfg
-rw-r--r-- 1 root root 893 2018-04-17 21:17 ./EFI/BOOT/grub.cfg
--rw-r--r-- 2 root root 10037632 2020-10-17 19:38 ./EFI/BOOT/huge.s
--rw-r--r-- 2 root root 44722484 2020-10-17 19:55 ./EFI/BOOT/initrd.img
+-rw-r--r-- 2 root root 10037632 2020-10-29 21:36 ./EFI/BOOT/huge.s
+-rw-r--r-- 2 root root 44692764 2020-10-29 21:54 ./EFI/BOOT/initrd.img
-rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh
-rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg
-rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
--rw-r--r-- 1 root root 1278698 2020-10-27 18:35 ./FILELIST.TXT
+-rw-r--r-- 1 root root 1281846 2020-10-28 20:22 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
--rw-r--r-- 1 root root 766541 2020-10-28 20:21 ./PACKAGES.TXT
+-rw-r--r-- 1 root root 766933 2020-10-29 21:59 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8564 2016-06-28 21:33 ./README.TXT
--rw-r--r-- 1 root root 3629 2020-10-17 19:45 ./README.initrd
+-rw-r--r-- 1 root root 3629 2020-10-29 21:41 ./README.initrd
-rw-r--r-- 1 root root 34412 2017-12-01 17:44 ./README_CRYPT.TXT
-rw-r--r-- 1 root root 8751 2016-06-28 21:44 ./README_LVM.TXT
-rw-r--r-- 1 root root 19658 2013-06-18 04:34 ./README_RAID.TXT
@@ -721,16 +721,16 @@ drwxr-xr-x 2 root root 4096 2019-10-18 18:28 ./extra/xv
-rw-r--r-- 1 root root 233 2018-04-13 18:00 ./extra/xv/xv-3.10a-x86_64-9.txt
-rw-r--r-- 1 root root 953308 2018-04-13 18:00 ./extra/xv/xv-3.10a-x86_64-9.txz
-rw-r--r-- 1 root root 163 2018-04-13 18:00 ./extra/xv/xv-3.10a-x86_64-9.txz.asc
-drwxr-xr-x 3 root root 4096 2020-10-17 19:55 ./isolinux
+drwxr-xr-x 3 root root 4096 2020-10-29 21:55 ./isolinux
-rw-r--r-- 1 root root 6183 2017-11-18 18:47 ./isolinux/README.TXT
-rw-r--r-- 1 root root 788 2007-03-17 19:50 ./isolinux/README_SPLIT.TXT
-rw-r--r-- 1 root root 1474560 2019-07-05 18:54 ./isolinux/efiboot.img
-rw-r--r-- 1 root root 574 2013-10-24 00:19 ./isolinux/f2.txt
--rw-r--r-- 2 root root 44722484 2020-10-17 19:55 ./isolinux/initrd.img
+-rw-r--r-- 2 root root 44692764 2020-10-29 21:54 ./isolinux/initrd.img
-rw-r--r-- 1 root root 50 2003-01-18 00:02 ./isolinux/iso.sort
-rw-r--r-- 1 root root 24576 2016-05-27 20:36 ./isolinux/isolinux.bin
-rw-r--r-- 1 root root 578 2013-03-27 03:29 ./isolinux/isolinux.cfg
--rw-r--r-- 1 root root 682 2020-10-17 19:45 ./isolinux/message.txt
+-rw-r--r-- 1 root root 682 2020-10-29 21:41 ./isolinux/message.txt
drwxr-xr-x 2 root root 4096 2003-03-17 07:31 ./isolinux/sbootmgr
-rwxr-xr-x 1 root root 36064 1995-05-12 01:23 ./isolinux/sbootmgr/RAWRITE.EXE
-rw-r--r-- 1 root root 2138 1997-12-01 01:21 ./isolinux/sbootmgr/RAWRITE12.DOC
@@ -741,12 +741,12 @@ lrwxrwxrwx 1 root root 11 2009-08-23 23:37 ./isolinux/sbootmgr/RAWRITE13
-rw-r--r-- 1 root root 1291 2003-03-17 07:31 ./isolinux/sbootmgr/README.TXT
-rw-r--r-- 1 root root 110592 2003-03-16 08:38 ./isolinux/sbootmgr/sbootmgr.dsk
-rw-r--r-- 1 root root 3024 2018-03-03 01:37 ./isolinux/setpkg
-drwxr-xr-x 5 root root 4096 2020-10-17 19:45 ./kernels
--rw-r--r-- 1 root root 36 2020-10-17 19:45 ./kernels/VERSIONS.TXT
-drwxr-xr-x 2 root root 4096 2020-10-17 19:38 ./kernels/huge.s
--rw-r--r-- 1 root root 1079964 2020-10-17 19:38 ./kernels/huge.s/System.map.gz
--rw-r--r-- 2 root root 10037632 2020-10-17 19:38 ./kernels/huge.s/bzImage
--rw-r--r-- 1 root root 217626 2020-10-17 18:39 ./kernels/huge.s/config
+drwxr-xr-x 5 root root 4096 2020-10-29 21:41 ./kernels
+-rw-r--r-- 1 root root 36 2020-10-29 21:41 ./kernels/VERSIONS.TXT
+drwxr-xr-x 2 root root 4096 2020-10-29 21:36 ./kernels/huge.s
+-rw-r--r-- 1 root root 1080003 2020-10-29 21:36 ./kernels/huge.s/System.map.gz
+-rw-r--r-- 2 root root 10037632 2020-10-29 21:36 ./kernels/huge.s/bzImage
+-rw-r--r-- 1 root root 217626 2020-10-29 20:23 ./kernels/huge.s/config
drwxr-xr-x 2 root root 4096 2011-03-25 03:15 ./kernels/memtest
-rw-r--r-- 1 root root 60 2011-03-24 00:19 ./kernels/memtest/README
-rw-r--r-- 1 root root 150024 2013-10-17 04:15 ./kernels/memtest/memtest
@@ -791,19 +791,19 @@ drwxr-xr-x 2 root root 4096 2012-09-20 18:06 ./patches
-rw-r--r-- 1 root root 575 2012-09-20 18:06 ./patches/FILE_LIST
-rw-r--r-- 1 root root 14 2012-09-20 18:06 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 224 2012-09-20 18:06 ./patches/PACKAGES.TXT
-drwxr-xr-x 18 root root 4096 2020-10-28 20:21 ./slackware64
--rw-r--r-- 1 root root 302011 2020-10-28 20:21 ./slackware64/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2020-10-28 20:21 ./slackware64/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 375834 2020-10-28 20:21 ./slackware64/FILE_LIST
--rw-r--r-- 1 root root 3867988 2020-10-28 20:21 ./slackware64/MANIFEST.bz2
+drwxr-xr-x 18 root root 4096 2020-10-29 21:59 ./slackware64
+-rw-r--r-- 1 root root 302023 2020-10-29 21:59 ./slackware64/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2020-10-29 21:59 ./slackware64/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 375846 2020-10-29 21:58 ./slackware64/FILE_LIST
+-rw-r--r-- 1 root root 3873943 2020-10-29 21:58 ./slackware64/MANIFEST.bz2
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
-drwxr-xr-x 2 root root 20480 2020-10-28 20:21 ./slackware64/a
+drwxr-xr-x 2 root root 20480 2020-10-29 21:58 ./slackware64/a
-rw-r--r-- 1 root root 327 2018-06-24 18:44 ./slackware64/a/aaa_base-14.2-x86_64-5.txt
-rw-r--r-- 1 root root 10820 2018-06-24 18:44 ./slackware64/a/aaa_base-14.2-x86_64-5.txz
-rw-r--r-- 1 root root 163 2018-06-24 18:44 ./slackware64/a/aaa_base-14.2-x86_64-5.txz.asc
--rw-r--r-- 1 root root 471 2020-10-22 19:17 ./slackware64/a/aaa_elflibs-15.0-x86_64-25.txt
--rw-r--r-- 1 root root 9710792 2020-10-22 19:17 ./slackware64/a/aaa_elflibs-15.0-x86_64-25.txz
--rw-r--r-- 1 root root 163 2020-10-22 19:17 ./slackware64/a/aaa_elflibs-15.0-x86_64-25.txz.asc
+-rw-r--r-- 1 root root 471 2020-10-29 04:29 ./slackware64/a/aaa_elflibs-15.0-x86_64-26.txt
+-rw-r--r-- 1 root root 11174656 2020-10-29 04:29 ./slackware64/a/aaa_elflibs-15.0-x86_64-26.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:29 ./slackware64/a/aaa_elflibs-15.0-x86_64-26.txz.asc
-rw-r--r-- 1 root root 503 2020-10-25 17:56 ./slackware64/a/aaa_terminfo-6.2_20201024-x86_64-1.txt
-rw-r--r-- 1 root root 50392 2020-10-25 17:56 ./slackware64/a/aaa_terminfo-6.2_20201024-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-10-25 17:56 ./slackware64/a/aaa_terminfo-6.2_20201024-x86_64-1.txz.asc
@@ -953,15 +953,15 @@ drwxr-xr-x 2 root root 20480 2020-10-28 20:21 ./slackware64/a
-rw-r--r-- 1 root root 422 2020-10-23 18:33 ./slackware64/a/kernel-firmware-20201023_dae4b4c-noarch-1.txt
-rw-r--r-- 1 root root 127930568 2020-10-23 18:33 ./slackware64/a/kernel-firmware-20201023_dae4b4c-noarch-1.txz
-rw-r--r-- 1 root root 163 2020-10-23 18:33 ./slackware64/a/kernel-firmware-20201023_dae4b4c-noarch-1.txz.asc
--rw-r--r-- 1 root root 624 2020-10-17 19:39 ./slackware64/a/kernel-generic-5.4.72-x86_64-1.txt
--rw-r--r-- 1 root root 6983080 2020-10-17 19:39 ./slackware64/a/kernel-generic-5.4.72-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-10-17 19:39 ./slackware64/a/kernel-generic-5.4.72-x86_64-1.txz.asc
--rw-r--r-- 1 root root 636 2020-10-17 19:38 ./slackware64/a/kernel-huge-5.4.72-x86_64-1.txt
--rw-r--r-- 1 root root 10650220 2020-10-17 19:38 ./slackware64/a/kernel-huge-5.4.72-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-10-17 19:38 ./slackware64/a/kernel-huge-5.4.72-x86_64-1.txz.asc
--rw-r--r-- 1 root root 567 2020-10-17 19:42 ./slackware64/a/kernel-modules-5.4.72-x86_64-1.txt
--rw-r--r-- 1 root root 43960616 2020-10-17 19:42 ./slackware64/a/kernel-modules-5.4.72-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-10-17 19:42 ./slackware64/a/kernel-modules-5.4.72-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 624 2020-10-29 21:37 ./slackware64/a/kernel-generic-5.4.73-x86_64-1.txt
+-rw-r--r-- 1 root root 6985540 2020-10-29 21:37 ./slackware64/a/kernel-generic-5.4.73-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 21:37 ./slackware64/a/kernel-generic-5.4.73-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 636 2020-10-29 21:36 ./slackware64/a/kernel-huge-5.4.73-x86_64-1.txt
+-rw-r--r-- 1 root root 10652376 2020-10-29 21:36 ./slackware64/a/kernel-huge-5.4.73-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 21:36 ./slackware64/a/kernel-huge-5.4.73-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 567 2020-10-29 21:41 ./slackware64/a/kernel-modules-5.4.73-x86_64-1.txt
+-rw-r--r-- 1 root root 43972096 2020-10-29 21:41 ./slackware64/a/kernel-modules-5.4.73-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 21:41 ./slackware64/a/kernel-modules-5.4.73-x86_64-1.txz.asc
-rw-r--r-- 1 root root 508 2020-03-05 07:03 ./slackware64/a/kmod-27-x86_64-1.txt
-rw-r--r-- 1 root root 112556 2020-03-05 07:03 ./slackware64/a/kmod-27-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-03-05 07:03 ./slackware64/a/kmod-27-x86_64-1.txz.asc
@@ -1007,8 +1007,8 @@ drwxr-xr-x 2 root root 20480 2020-10-28 20:21 ./slackware64/a
-rw-r--r-- 1 root root 405 2019-01-11 20:05 ./slackware64/a/lzlib-1.11-x86_64-1.txt
-rw-r--r-- 1 root root 56396 2019-01-11 20:05 ./slackware64/a/lzlib-1.11-x86_64-1.txz
-rw-r--r-- 1 root root 163 2019-01-11 20:05 ./slackware64/a/lzlib-1.11-x86_64-1.txz.asc
--rw-r--r-- 1 root root 9704 2020-10-28 20:16 ./slackware64/a/maketag
--rw-r--r-- 1 root root 9704 2020-10-28 20:16 ./slackware64/a/maketag.ez
+-rw-r--r-- 1 root root 9704 2020-10-29 21:41 ./slackware64/a/maketag
+-rw-r--r-- 1 root root 9704 2020-10-29 21:41 ./slackware64/a/maketag.ez
-rw-r--r-- 1 root root 591 2020-09-24 18:08 ./slackware64/a/mcelog-173-x86_64-1.txt
-rw-r--r-- 1 root root 344188 2020-09-24 18:08 ./slackware64/a/mcelog-173-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-09-24 18:08 ./slackware64/a/mcelog-173-x86_64-1.txz.asc
@@ -1117,7 +1117,7 @@ drwxr-xr-x 2 root root 20480 2020-10-28 20:21 ./slackware64/a
-rw-r--r-- 1 root root 378 2020-10-22 17:51 ./slackware64/a/sysvinit-scripts-2.1-noarch-36.txt
-rw-r--r-- 1 root root 22520 2020-10-22 17:51 ./slackware64/a/sysvinit-scripts-2.1-noarch-36.txz
-rw-r--r-- 1 root root 163 2020-10-22 17:51 ./slackware64/a/sysvinit-scripts-2.1-noarch-36.txz.asc
--rw-r--r-- 1 root root 1513 2020-10-28 20:16 ./slackware64/a/tagfile
+-rw-r--r-- 1 root root 1513 2020-10-29 21:41 ./slackware64/a/tagfile
-rw-r--r-- 1 root root 395 2019-02-23 18:03 ./slackware64/a/tar-1.32-x86_64-1.txt
-rw-r--r-- 1 root root 844396 2019-02-23 18:03 ./slackware64/a/tar-1.32-x86_64-1.txz
-rw-r--r-- 1 root root 163 2019-02-23 18:03 ./slackware64/a/tar-1.32-x86_64-1.txz.asc
@@ -1433,7 +1433,7 @@ drwxr-xr-x 2 root root 20480 2020-10-28 20:21 ./slackware64/ap
-rw-r--r-- 1 root root 506 2020-02-16 18:00 ./slackware64/ap/zsh-5.8-x86_64-1.txt
-rw-r--r-- 1 root root 3053312 2020-02-16 18:00 ./slackware64/ap/zsh-5.8-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-02-16 18:00 ./slackware64/ap/zsh-5.8-x86_64-1.txz.asc
-drwxr-xr-x 2 root root 16384 2020-10-25 18:08 ./slackware64/d
+drwxr-xr-x 2 root root 16384 2020-10-29 21:58 ./slackware64/d
-rw-r--r-- 1 root root 360 2020-10-24 22:39 ./slackware64/d/Cython-0.29.21-x86_64-2.txt
-rw-r--r-- 1 root root 2380688 2020-10-24 22:39 ./slackware64/d/Cython-0.29.21-x86_64-2.txz
-rw-r--r-- 1 root root 163 2020-10-24 22:39 ./slackware64/d/Cython-0.29.21-x86_64-2.txz.asc
@@ -1541,9 +1541,9 @@ drwxr-xr-x 2 root root 16384 2020-10-25 18:08 ./slackware64/d
-rw-r--r-- 1 root root 279 2018-04-13 13:53 ./slackware64/d/intltool-0.51.0-x86_64-4.txt
-rw-r--r-- 1 root root 48112 2018-04-13 13:53 ./slackware64/d/intltool-0.51.0-x86_64-4.txz
-rw-r--r-- 1 root root 163 2018-04-13 13:53 ./slackware64/d/intltool-0.51.0-x86_64-4.txz.asc
--rw-r--r-- 1 root root 332 2020-10-17 19:43 ./slackware64/d/kernel-headers-5.4.72-x86-1.txt
--rw-r--r-- 1 root root 964356 2020-10-17 19:43 ./slackware64/d/kernel-headers-5.4.72-x86-1.txz
--rw-r--r-- 1 root root 163 2020-10-17 19:43 ./slackware64/d/kernel-headers-5.4.72-x86-1.txz.asc
+-rw-r--r-- 1 root root 332 2020-10-29 21:41 ./slackware64/d/kernel-headers-5.4.73-x86-1.txt
+-rw-r--r-- 1 root root 964388 2020-10-29 21:41 ./slackware64/d/kernel-headers-5.4.73-x86-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 21:41 ./slackware64/d/kernel-headers-5.4.73-x86-1.txz.asc
-rw-r--r-- 1 root root 498 2020-03-12 20:59 ./slackware64/d/libtool-2.4.6-x86_64-13.txt
-rw-r--r-- 1 root root 428492 2020-03-12 20:59 ./slackware64/d/libtool-2.4.6-x86_64-13.txz
-rw-r--r-- 1 root root 163 2020-03-12 20:59 ./slackware64/d/libtool-2.4.6-x86_64-13.txz.asc
@@ -1664,15 +1664,15 @@ drwxr-xr-x 2 root root 4096 2016-04-01 21:41 ./slackware64/f
-rw-r--r-- 1 root root 1075 2018-03-01 07:54 ./slackware64/f/maketag
-rw-r--r-- 1 root root 1075 2018-03-01 07:54 ./slackware64/f/maketag.ez
-rw-r--r-- 1 root root 32 2018-03-01 07:54 ./slackware64/f/tagfile
-drwxr-xr-x 2 root root 4096 2020-10-17 19:58 ./slackware64/k
+drwxr-xr-x 2 root root 4096 2020-10-29 21:58 ./slackware64/k
-rwxr-xr-x 1 root root 2897 2009-06-24 22:06 ./slackware64/k/install-packages
-rw-r--r-- 1 root root 446 2006-09-18 10:41 ./slackware64/k/install.end
--rw-r--r-- 1 root root 317 2020-10-17 19:36 ./slackware64/k/kernel-source-5.4.72-noarch-1.txt
--rw-r--r-- 1 root root 110034428 2020-10-17 19:36 ./slackware64/k/kernel-source-5.4.72-noarch-1.txz
--rw-r--r-- 1 root root 163 2020-10-17 19:36 ./slackware64/k/kernel-source-5.4.72-noarch-1.txz.asc
--rw-r--r-- 1 root root 1170 2020-10-17 19:45 ./slackware64/k/maketag
--rw-r--r-- 1 root root 1170 2020-10-17 19:45 ./slackware64/k/maketag.ez
--rw-r--r-- 1 root root 18 2020-10-17 19:45 ./slackware64/k/tagfile
+-rw-r--r-- 1 root root 317 2020-10-29 21:34 ./slackware64/k/kernel-source-5.4.73-noarch-1.txt
+-rw-r--r-- 1 root root 110042864 2020-10-29 21:34 ./slackware64/k/kernel-source-5.4.73-noarch-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 21:34 ./slackware64/k/kernel-source-5.4.73-noarch-1.txz.asc
+-rw-r--r-- 1 root root 1170 2020-10-29 21:41 ./slackware64/k/maketag
+-rw-r--r-- 1 root root 1170 2020-10-29 21:41 ./slackware64/k/maketag.ez
+-rw-r--r-- 1 root root 18 2020-10-29 21:41 ./slackware64/k/tagfile
drwxr-xr-x 2 root root 36864 2020-10-25 18:08 ./slackware64/kde
-rw-r--r-- 1 root root 319 2018-06-02 22:05 ./slackware64/kde/amarok-2.9.0-x86_64-3.txt
-rw-r--r-- 1 root root 47003780 2018-06-02 22:05 ./slackware64/kde/amarok-2.9.0-x86_64-3.txz
@@ -2513,16 +2513,16 @@ drwxr-xr-x 2 root root 20480 2016-03-10 03:11 ./slackware64/kdei
-rw-r--r-- 1 root root 7544 2018-03-01 07:54 ./slackware64/kdei/maketag
-rw-r--r-- 1 root root 7544 2018-03-01 07:54 ./slackware64/kdei/maketag.ez
-rw-r--r-- 1 root root 1500 2018-03-01 07:54 ./slackware64/kdei/tagfile
-drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
+drwxr-xr-x 2 root root 69632 2020-10-29 21:58 ./slackware64/l
-rw-r--r-- 1 root root 338 2020-05-16 19:55 ./slackware64/l/ConsoleKit2-1.2.1-x86_64-4.txt
-rw-r--r-- 1 root root 193724 2020-05-16 19:55 ./slackware64/l/ConsoleKit2-1.2.1-x86_64-4.txz
-rw-r--r-- 1 root root 163 2020-05-16 19:55 ./slackware64/l/ConsoleKit2-1.2.1-x86_64-4.txz.asc
-rw-r--r-- 1 root root 329 2018-04-13 14:14 ./slackware64/l/GConf-3.2.6-x86_64-4.txt
-rw-r--r-- 1 root root 930172 2018-04-13 14:14 ./slackware64/l/GConf-3.2.6-x86_64-4.txz
-rw-r--r-- 1 root root 163 2018-04-13 14:14 ./slackware64/l/GConf-3.2.6-x86_64-4.txz.asc
--rw-r--r-- 1 root root 333 2018-06-11 17:52 ./slackware64/l/LibRaw-0.18.12-x86_64-1.txt
--rw-r--r-- 1 root root 366988 2018-06-11 17:52 ./slackware64/l/LibRaw-0.18.12-x86_64-1.txz
--rw-r--r-- 1 root root 163 2018-06-11 17:52 ./slackware64/l/LibRaw-0.18.12-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 551 2020-10-29 04:38 ./slackware64/l/LibRaw-0.20.2-x86_64-1.txt
+-rw-r--r-- 1 root root 395720 2020-10-29 04:38 ./slackware64/l/LibRaw-0.20.2-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:38 ./slackware64/l/LibRaw-0.20.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 569 2020-10-24 22:53 ./slackware64/l/M2Crypto-0.36.0-x86_64-2.txt
-rw-r--r-- 1 root root 1162516 2020-10-24 22:53 ./slackware64/l/M2Crypto-0.36.0-x86_64-2.txz
-rw-r--r-- 1 root root 163 2020-10-24 22:53 ./slackware64/l/M2Crypto-0.36.0-x86_64-2.txz.asc
@@ -2676,9 +2676,9 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 572 2020-07-29 02:36 ./slackware64/l/espeak-ng-1.50-x86_64-1.txt
-rw-r--r-- 1 root root 2452308 2020-07-29 02:36 ./slackware64/l/espeak-ng-1.50-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-07-29 02:36 ./slackware64/l/espeak-ng-1.50-x86_64-1.txz.asc
--rw-r--r-- 1 root root 256 2018-04-17 07:39 ./slackware64/l/exiv2-0.26-x86_64-3.txt
--rw-r--r-- 1 root root 1561208 2018-04-17 07:39 ./slackware64/l/exiv2-0.26-x86_64-3.txz
--rw-r--r-- 1 root root 163 2018-04-17 07:39 ./slackware64/l/exiv2-0.26-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 257 2020-10-29 04:37 ./slackware64/l/exiv2-0.27.3-x86_64-1.txt
+-rw-r--r-- 1 root root 1807720 2020-10-29 04:37 ./slackware64/l/exiv2-0.27.3-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:37 ./slackware64/l/exiv2-0.27.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 301 2020-10-03 20:28 ./slackware64/l/expat-2.2.10-x86_64-1.txt
-rw-r--r-- 1 root root 114116 2020-10-03 20:28 ./slackware64/l/expat-2.2.10-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-10-03 20:28 ./slackware64/l/expat-2.2.10-x86_64-1.txz.asc
@@ -2724,12 +2724,12 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 537 2019-10-08 18:28 ./slackware64/l/gdk-pixbuf2-2.40.0-x86_64-1.txt
-rw-r--r-- 1 root root 669440 2019-10-08 18:28 ./slackware64/l/gdk-pixbuf2-2.40.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2019-10-08 18:28 ./slackware64/l/gdk-pixbuf2-2.40.0-x86_64-1.txz.asc
--rw-r--r-- 1 root root 406 2020-08-04 17:33 ./slackware64/l/gegl-0.4.26-x86_64-1.txt
--rw-r--r-- 1 root root 1717072 2020-08-04 17:33 ./slackware64/l/gegl-0.4.26-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-08-04 17:33 ./slackware64/l/gegl-0.4.26-x86_64-1.txz.asc
--rw-r--r-- 1 root root 295 2020-10-24 22:44 ./slackware64/l/gexiv2-0.12.0-x86_64-3.txt
--rw-r--r-- 1 root root 480572 2020-10-24 22:44 ./slackware64/l/gexiv2-0.12.0-x86_64-3.txz
--rw-r--r-- 1 root root 163 2020-10-24 22:44 ./slackware64/l/gexiv2-0.12.0-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 406 2020-10-29 18:42 ./slackware64/l/gegl-0.4.26-x86_64-2.txt
+-rw-r--r-- 1 root root 1719272 2020-10-29 18:42 ./slackware64/l/gegl-0.4.26-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2020-10-29 18:42 ./slackware64/l/gegl-0.4.26-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 295 2020-10-29 18:41 ./slackware64/l/gexiv2-0.12.1-x86_64-1.txt
+-rw-r--r-- 1 root root 475684 2020-10-29 18:41 ./slackware64/l/gexiv2-0.12.1-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 18:41 ./slackware64/l/gexiv2-0.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 319 2019-06-26 19:35 ./slackware64/l/giflib-5.2.1-x86_64-2.txt
-rw-r--r-- 1 root root 254396 2019-06-26 19:35 ./slackware64/l/giflib-5.2.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2019-06-26 19:35 ./slackware64/l/giflib-5.2.1-x86_64-2.txz.asc
@@ -2781,6 +2781,9 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 439 2018-04-17 07:42 ./slackware64/l/grantlee-0.5.1-x86_64-2.txt
-rw-r--r-- 1 root root 285392 2018-04-17 07:42 ./slackware64/l/grantlee-0.5.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2018-04-17 07:42 ./slackware64/l/grantlee-0.5.1-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 523 2020-10-29 04:57 ./slackware64/l/graphene-1.10.2-x86_64-1.txt
+-rw-r--r-- 1 root root 99740 2020-10-29 04:57 ./slackware64/l/graphene-1.10.2-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:57 ./slackware64/l/graphene-1.10.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 482 2020-04-01 19:56 ./slackware64/l/graphite2-1.3.14-x86_64-1.txt
-rw-r--r-- 1 root root 99380 2020-04-01 19:56 ./slackware64/l/graphite2-1.3.14-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-04-01 19:56 ./slackware64/l/graphite2-1.3.14-x86_64-1.txz.asc
@@ -2790,9 +2793,9 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 414 2019-08-21 04:34 ./slackware64/l/gsl-2.6-x86_64-1.txt
-rw-r--r-- 1 root root 1575064 2019-08-21 04:34 ./slackware64/l/gsl-2.6-x86_64-1.txz
-rw-r--r-- 1 root root 163 2019-08-21 04:34 ./slackware64/l/gsl-2.6-x86_64-1.txz.asc
--rw-r--r-- 1 root root 607 2020-10-27 03:34 ./slackware64/l/gst-plugins-base-1.18.1-x86_64-1.txt
--rw-r--r-- 1 root root 2258616 2020-10-27 03:34 ./slackware64/l/gst-plugins-base-1.18.1-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-10-27 03:34 ./slackware64/l/gst-plugins-base-1.18.1-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 607 2020-10-29 04:58 ./slackware64/l/gst-plugins-base-1.18.1-x86_64-2.txt
+-rw-r--r-- 1 root root 2256992 2020-10-29 04:58 ./slackware64/l/gst-plugins-base-1.18.1-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:58 ./slackware64/l/gst-plugins-base-1.18.1-x86_64-2.txz.asc
-rw-r--r-- 1 root root 622 2018-04-14 22:32 ./slackware64/l/gst-plugins-base0-0.10.36-x86_64-3.txt
-rw-r--r-- 1 root root 1357928 2018-04-14 22:32 ./slackware64/l/gst-plugins-base0-0.10.36-x86_64-3.txz
-rw-r--r-- 1 root root 163 2018-04-14 22:32 ./slackware64/l/gst-plugins-base0-0.10.36-x86_64-3.txz.asc
@@ -2853,12 +2856,9 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 473 2018-04-13 14:50 ./slackware64/l/id3lib-3.8.3-x86_64-2.txt
-rw-r--r-- 1 root root 156996 2018-04-13 14:50 ./slackware64/l/id3lib-3.8.3-x86_64-2.txz
-rw-r--r-- 1 root root 163 2018-04-13 14:50 ./slackware64/l/id3lib-3.8.3-x86_64-2.txz.asc
--rw-r--r-- 1 root root 370 2018-04-17 07:49 ./slackware64/l/ilmbase-2.2.0-x86_64-2.txt
--rw-r--r-- 1 root root 138092 2018-04-17 07:49 ./slackware64/l/ilmbase-2.2.0-x86_64-2.txz
--rw-r--r-- 1 root root 163 2018-04-17 07:49 ./slackware64/l/ilmbase-2.2.0-x86_64-2.txz.asc
--rw-r--r-- 1 root root 537 2020-10-12 18:29 ./slackware64/l/imagemagick-7.0.10_34-x86_64-1.txt
--rw-r--r-- 1 root root 7896732 2020-10-12 18:29 ./slackware64/l/imagemagick-7.0.10_34-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-10-12 18:29 ./slackware64/l/imagemagick-7.0.10_34-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 537 2020-10-29 18:51 ./slackware64/l/imagemagick-7.0.10_34-x86_64-2.txt
+-rw-r--r-- 1 root root 7882192 2020-10-29 18:51 ./slackware64/l/imagemagick-7.0.10_34-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2020-10-29 18:51 ./slackware64/l/imagemagick-7.0.10_34-x86_64-2.txz.asc
-rwxr-xr-x 1 root root 2897 2009-06-24 22:06 ./slackware64/l/install-packages
-rw-r--r-- 1 root root 446 2006-09-18 10:41 ./slackware64/l/install.end
-rw-r--r-- 1 root root 417 2020-01-24 20:00 ./slackware64/l/isl-0.22.1-x86_64-1.txt
@@ -3224,8 +3224,8 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 272 2018-04-13 15:08 ./slackware64/l/lzo-2.10-x86_64-2.txt
-rw-r--r-- 1 root root 85468 2018-04-13 15:08 ./slackware64/l/lzo-2.10-x86_64-2.txz
-rw-r--r-- 1 root root 163 2018-04-13 15:08 ./slackware64/l/lzo-2.10-x86_64-2.txz.asc
--rw-r--r-- 1 root root 24934 2020-10-20 21:56 ./slackware64/l/maketag
--rw-r--r-- 1 root root 24934 2020-10-20 21:56 ./slackware64/l/maketag.ez
+-rw-r--r-- 1 root root 24941 2020-10-29 21:31 ./slackware64/l/maketag
+-rw-r--r-- 1 root root 24941 2020-10-29 21:31 ./slackware64/l/maketag.ez
-rw-r--r-- 1 root root 520 2018-09-12 19:31 ./slackware64/l/media-player-info-24-noarch-1.txt
-rw-r--r-- 1 root root 20680 2018-09-12 19:31 ./slackware64/l/media-player-info-24-noarch-1.txz
-rw-r--r-- 1 root root 163 2018-09-12 19:31 ./slackware64/l/media-player-info-24-noarch-1.txz.asc
@@ -3265,9 +3265,9 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 463 2020-02-16 05:22 ./slackware64/l/openal-soft-1.20.1-x86_64-1.txt
-rw-r--r-- 1 root root 748300 2020-02-16 05:22 ./slackware64/l/openal-soft-1.20.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-02-16 05:22 ./slackware64/l/openal-soft-1.20.1-x86_64-1.txz.asc
--rw-r--r-- 1 root root 456 2018-04-17 08:07 ./slackware64/l/openexr-2.2.0-x86_64-3.txt
--rw-r--r-- 1 root root 3001648 2018-04-17 08:07 ./slackware64/l/openexr-2.2.0-x86_64-3.txz
--rw-r--r-- 1 root root 163 2018-04-17 08:07 ./slackware64/l/openexr-2.2.0-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 456 2020-10-29 04:33 ./slackware64/l/openexr-2.5.3-x86_64-1.txt
+-rw-r--r-- 1 root root 8680216 2020-10-29 04:33 ./slackware64/l/openexr-2.5.3-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:33 ./slackware64/l/openexr-2.5.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 226 2019-04-05 19:40 ./slackware64/l/openjpeg-2.3.1-x86_64-1.txt
-rw-r--r-- 1 root root 507912 2019-04-05 19:40 ./slackware64/l/openjpeg-2.3.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2019-04-05 19:40 ./slackware64/l/openjpeg-2.3.1-x86_64-1.txz.asc
@@ -3316,9 +3316,9 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 441 2018-04-17 08:07 ./slackware64/l/polkit-qt-1-0.112.0-x86_64-2.txt
-rw-r--r-- 1 root root 69800 2018-04-17 08:07 ./slackware64/l/polkit-qt-1-0.112.0-x86_64-2.txz
-rw-r--r-- 1 root root 163 2018-04-17 08:07 ./slackware64/l/polkit-qt-1-0.112.0-x86_64-2.txz.asc
--rw-r--r-- 1 root root 533 2018-08-20 21:14 ./slackware64/l/poppler-0.68.0-x86_64-1.txt
--rw-r--r-- 1 root root 1463320 2018-08-20 21:14 ./slackware64/l/poppler-0.68.0-x86_64-1.txz
--rw-r--r-- 1 root root 163 2018-08-20 21:14 ./slackware64/l/poppler-0.68.0-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 533 2020-10-29 04:34 ./slackware64/l/poppler-20.10.0-x86_64-1.txt
+-rw-r--r-- 1 root root 1501988 2020-10-29 04:34 ./slackware64/l/poppler-20.10.0-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 04:34 ./slackware64/l/poppler-20.10.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 598 2018-04-25 18:29 ./slackware64/l/poppler-data-0.4.9-noarch-1.txt
-rw-r--r-- 1 root root 1474400 2018-04-25 18:29 ./slackware64/l/poppler-data-0.4.9-noarch-1.txz
-rw-r--r-- 1 root root 163 2018-04-25 18:29 ./slackware64/l/poppler-data-0.4.9-noarch-1.txz.asc
@@ -3496,7 +3496,7 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 356 2018-04-13 15:23 ./slackware64/l/t1lib-5.1.2-x86_64-4.txt
-rw-r--r-- 1 root root 515556 2018-04-13 15:23 ./slackware64/l/t1lib-5.1.2-x86_64-4.txz
-rw-r--r-- 1 root root 163 2018-04-13 15:23 ./slackware64/l/t1lib-5.1.2-x86_64-4.txz.asc
--rw-r--r-- 1 root root 4581 2020-10-20 21:56 ./slackware64/l/tagfile
+-rw-r--r-- 1 root root 4582 2020-10-29 21:31 ./slackware64/l/tagfile
-rw-r--r-- 1 root root 339 2018-04-17 09:07 ./slackware64/l/taglib-1.11.1-x86_64-3.txt
-rw-r--r-- 1 root root 355744 2018-04-17 09:07 ./slackware64/l/taglib-1.11.1-x86_64-3.txz
-rw-r--r-- 1 root root 163 2018-04-17 09:07 ./slackware64/l/taglib-1.11.1-x86_64-3.txz.asc
@@ -3548,7 +3548,7 @@ drwxr-xr-x 2 root root 69632 2020-10-27 18:34 ./slackware64/l
-rw-r--r-- 1 root root 463 2020-06-23 19:31 ./slackware64/l/zstd-1.4.5-x86_64-2.txt
-rw-r--r-- 1 root root 627360 2020-06-23 19:31 ./slackware64/l/zstd-1.4.5-x86_64-2.txz
-rw-r--r-- 1 root root 163 2020-06-23 19:31 ./slackware64/l/zstd-1.4.5-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 32768 2020-10-28 20:21 ./slackware64/n
+drwxr-xr-x 2 root root 32768 2020-10-29 21:58 ./slackware64/n
-rw-r--r-- 1 root root 357 2020-10-15 20:14 ./slackware64/n/ModemManager-1.14.6-x86_64-1.txt
-rw-r--r-- 1 root root 1865696 2020-10-15 20:14 ./slackware64/n/ModemManager-1.14.6-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-10-15 20:14 ./slackware64/n/ModemManager-1.14.6-x86_64-1.txz.asc
@@ -3931,9 +3931,9 @@ drwxr-xr-x 2 root root 32768 2020-10-28 20:21 ./slackware64/n
-rw-r--r-- 1 root root 443 2020-04-26 18:18 ./slackware64/n/s-nail-14.9.19-x86_64-1.txt
-rw-r--r-- 1 root root 540408 2020-04-26 18:18 ./slackware64/n/s-nail-14.9.19-x86_64-1.txz
-rw-r--r-- 1 root root 163 2020-04-26 18:18 ./slackware64/n/s-nail-14.9.19-x86_64-1.txz.asc
--rw-r--r-- 1 root root 507 2020-10-24 23:37 ./slackware64/n/samba-4.13.0-x86_64-3.txt
--rw-r--r-- 1 root root 12489200 2020-10-24 23:37 ./slackware64/n/samba-4.13.0-x86_64-3.txz
--rw-r--r-- 1 root root 163 2020-10-24 23:37 ./slackware64/n/samba-4.13.0-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 507 2020-10-29 19:11 ./slackware64/n/samba-4.13.1-x86_64-1.txt
+-rw-r--r-- 1 root root 12495316 2020-10-29 19:11 ./slackware64/n/samba-4.13.1-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 19:11 ./slackware64/n/samba-4.13.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 346 2018-11-08 00:52 ./slackware64/n/slrn-1.0.3a-x86_64-1.txt
-rw-r--r-- 1 root root 470008 2018-11-08 00:52 ./slackware64/n/slrn-1.0.3a-x86_64-1.txz
-rw-r--r-- 1 root root 163 2018-11-08 00:52 ./slackware64/n/slrn-1.0.3a-x86_64-1.txz.asc
@@ -4922,7 +4922,7 @@ drwxr-xr-x 2 root root 61440 2020-10-26 20:26 ./slackware64/x
-rw-r--r-- 1 root root 213 2018-04-13 06:10 ./slackware64/x/xwud-1.0.5-x86_64-2.txt
-rw-r--r-- 1 root root 25288 2018-04-13 06:10 ./slackware64/x/xwud-1.0.5-x86_64-2.txz
-rw-r--r-- 1 root root 163 2018-04-13 06:10 ./slackware64/x/xwud-1.0.5-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 12288 2020-10-27 18:34 ./slackware64/xap
+drwxr-xr-x 2 root root 12288 2020-10-29 21:58 ./slackware64/xap
-rw-r--r-- 1 root root 625 2020-04-05 20:17 ./slackware64/xap/MPlayer-20200103-x86_64-2.txt
-rw-r--r-- 1 root root 2733304 2020-04-05 20:17 ./slackware64/xap/MPlayer-20200103-x86_64-2.txz
-rw-r--r-- 1 root root 163 2020-04-05 20:17 ./slackware64/xap/MPlayer-20200103-x86_64-2.txz.asc
@@ -4959,15 +4959,15 @@ drwxr-xr-x 2 root root 12288 2020-10-27 18:34 ./slackware64/xap
-rw-r--r-- 1 root root 411 2019-10-25 04:24 ./slackware64/xap/fvwm-2.6.9-x86_64-2.txt
-rw-r--r-- 1 root root 2451980 2019-10-25 04:24 ./slackware64/xap/fvwm-2.6.9-x86_64-2.txz
-rw-r--r-- 1 root root 163 2019-10-25 04:24 ./slackware64/xap/fvwm-2.6.9-x86_64-2.txz.asc
--rw-r--r-- 1 root root 302 2019-08-22 18:09 ./slackware64/xap/geeqie-1.5.1-x86_64-1.txt
--rw-r--r-- 1 root root 1022456 2019-08-22 18:09 ./slackware64/xap/geeqie-1.5.1-x86_64-1.txz
--rw-r--r-- 1 root root 163 2019-08-22 18:09 ./slackware64/xap/geeqie-1.5.1-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 302 2020-10-29 18:42 ./slackware64/xap/geeqie-1.5.1-x86_64-2.txt
+-rw-r--r-- 1 root root 1023704 2020-10-29 18:42 ./slackware64/xap/geeqie-1.5.1-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2020-10-29 18:42 ./slackware64/xap/geeqie-1.5.1-x86_64-2.txz.asc
-rw-r--r-- 1 root root 443 2020-10-20 19:02 ./slackware64/xap/gftp-2.0.19-x86_64-9.txt
-rw-r--r-- 1 root root 583520 2020-10-20 19:02 ./slackware64/xap/gftp-2.0.19-x86_64-9.txz
-rw-r--r-- 1 root root 163 2020-10-20 19:02 ./slackware64/xap/gftp-2.0.19-x86_64-9.txz.asc
--rw-r--r-- 1 root root 471 2020-10-05 16:49 ./slackware64/xap/gimp-2.10.22-x86_64-1.txt
--rw-r--r-- 1 root root 19188044 2020-10-05 16:49 ./slackware64/xap/gimp-2.10.22-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-10-05 16:49 ./slackware64/xap/gimp-2.10.22-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 471 2020-10-29 18:48 ./slackware64/xap/gimp-2.10.22-x86_64-2.txt
+-rw-r--r-- 1 root root 19188192 2020-10-29 18:48 ./slackware64/xap/gimp-2.10.22-x86_64-2.txz
+-rw-r--r-- 1 root root 163 2020-10-29 18:48 ./slackware64/xap/gimp-2.10.22-x86_64-2.txz.asc
-rw-r--r-- 1 root root 513 2019-07-26 04:35 ./slackware64/xap/gkrellm-2.3.11-x86_64-1.txt
-rw-r--r-- 1 root root 568916 2019-07-26 04:35 ./slackware64/xap/gkrellm-2.3.11-x86_64-1.txz
-rw-r--r-- 1 root root 163 2019-07-26 04:35 ./slackware64/xap/gkrellm-2.3.11-x86_64-1.txz.asc
@@ -5057,9 +5057,9 @@ drwxr-xr-x 2 root root 12288 2020-10-27 18:34 ./slackware64/xap
-rw-r--r-- 1 root root 373 2020-10-20 19:01 ./slackware64/xap/xine-ui-0.99.12-x86_64-2.txt
-rw-r--r-- 1 root root 1502148 2020-10-20 19:01 ./slackware64/xap/xine-ui-0.99.12-x86_64-2.txz
-rw-r--r-- 1 root root 163 2020-10-20 19:01 ./slackware64/xap/xine-ui-0.99.12-x86_64-2.txz.asc
--rw-r--r-- 1 root root 508 2020-07-22 19:34 ./slackware64/xap/xlockmore-5.65-x86_64-1.txt
--rw-r--r-- 1 root root 1235468 2020-07-22 19:34 ./slackware64/xap/xlockmore-5.65-x86_64-1.txz
--rw-r--r-- 1 root root 163 2020-07-22 19:34 ./slackware64/xap/xlockmore-5.65-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 508 2020-10-29 19:11 ./slackware64/xap/xlockmore-5.66-x86_64-1.txt
+-rw-r--r-- 1 root root 1235096 2020-10-29 19:11 ./slackware64/xap/xlockmore-5.66-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2020-10-29 19:11 ./slackware64/xap/xlockmore-5.66-x86_64-1.txz.asc
-rw-r--r-- 1 root root 376 2018-04-13 17:58 ./slackware64/xap/xmms-1.2.11-x86_64-6.txt
-rw-r--r-- 1 root root 1132744 2018-04-13 17:58 ./slackware64/xap/xmms-1.2.11-x86_64-6.txz
-rw-r--r-- 1 root root 163 2018-04-13 17:58 ./slackware64/xap/xmms-1.2.11-x86_64-6.txz.asc
@@ -5168,11 +5168,11 @@ drwxr-xr-x 2 root root 4096 2019-02-17 23:51 ./slackware64/y
-rw-r--r-- 1 root root 1147 2018-03-01 07:55 ./slackware64/y/maketag
-rw-r--r-- 1 root root 1147 2018-03-01 07:55 ./slackware64/y/maketag.ez
-rw-r--r-- 1 root root 14 2018-03-01 07:55 ./slackware64/y/tagfile
-drwxr-xr-x 19 root root 4096 2020-10-28 20:22 ./source
--rw-r--r-- 1 root root 503222 2020-10-28 20:22 ./source/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2020-10-28 20:22 ./source/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 708798 2020-10-28 20:22 ./source/FILE_LIST
--rw-r--r-- 1 root root 21926745 2020-10-28 20:22 ./source/MANIFEST.bz2
+drwxr-xr-x 19 root root 4096 2020-10-29 21:59 ./source
+-rw-r--r-- 1 root root 502908 2020-10-29 21:59 ./source/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2020-10-29 21:59 ./source/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 708449 2020-10-29 21:59 ./source/FILE_LIST
+-rw-r--r-- 1 root root 21907104 2020-10-29 21:59 ./source/MANIFEST.bz2
-rw-r--r-- 1 root root 1314 2006-10-02 04:40 ./source/README.TXT
drwxr-xr-x 119 root root 4096 2020-10-28 19:36 ./source/a
-rw-r--r-- 1 root root 1034 2019-05-04 17:56 ./source/a/FTBFSlog
@@ -5184,11 +5184,11 @@ drwxr-xr-x 2 root root 4096 2018-06-24 18:43 ./source/a/aaa_base
-rw-r--r-- 1 root root 783 2018-02-27 06:13 ./source/a/aaa_base/slack-desc
-rw-r--r-- 1 root root 15 2015-12-28 19:27 ./source/a/aaa_base/slackware-version
drwxr-xr-x 2 root root 4096 2019-12-21 00:21 ./source/a/aaa_elflibs
--rwxr-xr-x 1 root root 4266 2020-10-22 19:07 ./source/a/aaa_elflibs/aaa_elflibs.SlackBuild
+-rwxr-xr-x 1 root root 4266 2020-10-29 04:03 ./source/a/aaa_elflibs/aaa_elflibs.SlackBuild
-rwxr-xr-x 1 root root 1630 2015-04-20 04:39 ./source/a/aaa_elflibs/display_orphans.sh
-rw-r--r-- 1 root root 930 2018-02-27 06:13 ./source/a/aaa_elflibs/slack-desc
-rw-r--r-- 1 root root 2062 2020-10-22 19:07 ./source/a/aaa_elflibs/symlinks-to-tracked-libs
--rw-r--r-- 1 root root 596 2020-10-21 19:16 ./source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp
+-rw-r--r-- 1 root root 942 2020-10-29 04:28 ./source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp
-rw-r--r-- 1 root root 312 2020-01-11 21:13 ./source/a/aaa_elflibs/tracked-files
-rw-r--r-- 1 root root 213 2015-04-20 04:40 ./source/a/aaa_elflibs/tracked-files-tmp
lrwxrwxrwx 1 root root 12 2018-04-16 17:31 ./source/a/aaa_terminfo -> ../l/ncurses
@@ -5769,7 +5769,7 @@ drwxr-xr-x 2 root root 4096 2020-04-26 23:53 ./source/a/mkinitrd
-rw-r--r-- 1 root root 2699 2012-07-06 04:14 ./source/a/mkinitrd/_initrd-tree.tar.gz
-rw-r--r-- 1 root root 7793781 2019-02-14 14:27 ./source/a/mkinitrd/busybox-1.30.1.tar.bz2
-rw-r--r-- 1 root root 72 2019-02-14 14:27 ./source/a/mkinitrd/busybox-1.30.1.tar.bz2.sig
--rw-r--r-- 1 root root 28651 2019-03-03 20:13 ./source/a/mkinitrd/busybox-dot-config
+-rw-r--r-- 1 root root 28662 2020-10-29 21:48 ./source/a/mkinitrd/busybox-dot-config
-rw-r--r-- 1 root root 1678 2019-01-23 20:47 ./source/a/mkinitrd/geninitrd
-rw-r--r-- 1 root root 12440 2018-04-18 18:55 ./source/a/mkinitrd/init
-rw-r--r-- 1 root root 29903 2009-12-18 05:10 ./source/a/mkinitrd/keymaps.tar.gz
@@ -7253,7 +7253,7 @@ drwxr-xr-x 2 root root 4096 2018-02-27 06:13 ./source/f
-rw-r--r-- 1 root root 960 2018-02-27 06:13 ./source/f/slack-desc.linux-faqs
-rw-r--r-- 1 root root 801 2018-02-27 06:13 ./source/f/slack-desc.linux-howtos
drwxr-xr-x 3 root root 4096 2020-08-20 05:22 ./source/installer
--rw-r--r-- 1 root root 35034 2020-08-20 05:23 ./source/installer/ChangeLog.txt
+-rw-r--r-- 1 root root 35132 2020-10-29 21:50 ./source/installer/ChangeLog.txt
-rw-r--r-- 1 root root 6849 2018-03-11 00:53 ./source/installer/README
-rwxr-xr-x 1 root root 75259 2020-08-20 05:21 ./source/installer/build_installer.sh
-rwxr-xr-x 1 root root 2244 2018-03-18 19:14 ./source/installer/installer.SlackBuild
@@ -7263,7 +7263,7 @@ drwxr-xr-x 8 root root 4096 2020-01-26 19:32 ./source/installer/sources
drwxr-xr-x 2 root root 4096 2019-03-03 19:15 ./source/installer/sources/busybox
-rw-r--r-- 1 root root 7793781 2019-02-14 14:27 ./source/installer/sources/busybox/busybox-1.30.1.tar.bz2
-rw-r--r-- 1 root root 72 2019-02-14 14:27 ./source/installer/sources/busybox/busybox-1.30.1.tar.bz2.sig
--rw-r--r-- 1 root root 28651 2019-03-03 20:13 ./source/installer/sources/busybox/busybox-dot-config
+-rw-r--r-- 1 root root 28662 2020-10-29 21:48 ./source/installer/sources/busybox/busybox-dot-config
drwxr-xr-x 2 root root 4096 2018-06-20 21:07 ./source/installer/sources/dropbear
-rw-r--r-- 1 root root 372 2008-03-13 13:43 ./source/installer/sources/dropbear/doinst.sh
-rw-r--r-- 1 root root 1407361 2018-01-14 04:51 ./source/installer/sources/dropbear/dropbear-20171018_fa3b0dd3.tar.lz
@@ -7290,21 +7290,21 @@ drwxr-xr-x 2 root root 4096 2020-10-07 19:36 ./source/installer/sources/n
-rw-r--r-- 1 root root 1400792 2020-10-07 09:07 ./source/installer/sources/nano/nano-5.3.tar.xz
-rw-r--r-- 1 root root 833 2020-10-07 09:07 ./source/installer/sources/nano/nano-5.3.tar.xz.sig
-rw-r--r-- 1 root root 16894 2012-09-03 20:53 ./source/installer/usbimg2disk.sh
-drwxr-xr-x 4 root root 4096 2020-10-17 18:17 ./source/k
+drwxr-xr-x 4 root root 4096 2020-10-29 19:53 ./source/k
-rwxr-xr-x 1 root root 7861 2019-12-27 22:39 ./source/k/build-all-kernels.sh
-drwxr-xr-x 2 root root 4096 2020-10-17 18:39 ./source/k/kernel-configs
--rw-r--r-- 1 root root 216026 2020-10-17 18:37 ./source/k/kernel-configs/config-generic-5.4.72
--rw-r--r-- 1 root root 217626 2020-10-17 18:39 ./source/k/kernel-configs/config-generic-5.4.72.x64
--rw-r--r-- 1 root root 217703 2020-10-17 18:37 ./source/k/kernel-configs/config-generic-smp-5.4.72-smp
--rw-r--r-- 1 root root 216026 2020-10-17 18:37 ./source/k/kernel-configs/config-huge-5.4.72
--rw-r--r-- 1 root root 217626 2020-10-17 18:39 ./source/k/kernel-configs/config-huge-5.4.72.x64
--rw-r--r-- 1 root root 217703 2020-10-17 18:37 ./source/k/kernel-configs/config-huge-smp-5.4.72-smp
+drwxr-xr-x 2 root root 4096 2020-10-29 20:23 ./source/k/kernel-configs
+-rw-r--r-- 1 root root 216026 2020-10-29 20:21 ./source/k/kernel-configs/config-generic-5.4.73
+-rw-r--r-- 1 root root 217626 2020-10-29 20:23 ./source/k/kernel-configs/config-generic-5.4.73.x64
+-rw-r--r-- 1 root root 217703 2020-10-29 20:21 ./source/k/kernel-configs/config-generic-smp-5.4.73-smp
+-rw-r--r-- 1 root root 216026 2020-10-29 20:21 ./source/k/kernel-configs/config-huge-5.4.73
+-rw-r--r-- 1 root root 217626 2020-10-29 20:23 ./source/k/kernel-configs/config-huge-5.4.73.x64
+-rw-r--r-- 1 root root 217703 2020-10-29 20:21 ./source/k/kernel-configs/config-huge-smp-5.4.73-smp
-rwxr-xr-x 1 root root 7441 2020-06-11 19:56 ./source/k/kernel-generic.SlackBuild
-rwxr-xr-x 1 root root 3779 2019-09-29 23:48 ./source/k/kernel-headers.SlackBuild
-rwxr-xr-x 1 root root 6004 2020-06-11 19:57 ./source/k/kernel-modules.SlackBuild
-rwxr-xr-x 1 root root 7977 2020-06-11 19:56 ./source/k/kernel-source.SlackBuild
--rw-r--r-- 1 root root 989 2020-10-17 08:18 ./source/k/linux-5.4.72.tar.sign
--rw-r--r-- 1 root root 109606972 2020-10-17 08:18 ./source/k/linux-5.4.72.tar.xz
+-rw-r--r-- 1 root root 989 2020-10-29 09:05 ./source/k/linux-5.4.73.tar.sign
+-rw-r--r-- 1 root root 109611940 2020-10-29 09:05 ./source/k/linux-5.4.73.tar.xz
drwxr-xr-x 2 root root 4096 2018-03-05 18:29 ./source/k/slack-desc
-rw-r--r-- 1 root root 1138 2018-02-27 06:16 ./source/k/slack-desc/slack-desc.kernel-generic-smp.i686
-rw-r--r-- 1 root root 1041 2018-02-27 06:16 ./source/k/slack-desc/slack-desc.kernel-generic.i586
@@ -8477,7 +8477,7 @@ drwxr-xr-x 2 root root 4096 2018-02-27 06:35 ./source/kdei/kde-l10n/slack
-rw-r--r-- 1 root root 648 2018-02-27 06:35 ./source/kdei/kde-l10n/slack-desc/slack-desc.kde-l10n-wa
-rw-r--r-- 1 root root 698 2018-02-27 06:37 ./source/kdei/kde-l10n/slack-desc/slack-desc.kde-l10n-zh_CN
-rw-r--r-- 1 root root 687 2018-02-27 06:37 ./source/kdei/kde-l10n/slack-desc/slack-desc.kde-l10n-zh_TW
-drwxr-xr-x 342 root root 12288 2020-10-22 19:11 ./source/l
+drwxr-xr-x 342 root root 12288 2020-10-29 18:55 ./source/l
drwxr-xr-x 2 root root 4096 2020-05-16 19:32 ./source/l/ConsoleKit2
-rw-r--r-- 1 root root 711364 2018-11-17 13:31 ./source/l/ConsoleKit2/ConsoleKit2-1.2.1.tar.xz
-rwxr-xr-x 1 root root 5606 2020-05-16 19:32 ./source/l/ConsoleKit2/ConsoleKit2.SlackBuild
@@ -8495,12 +8495,11 @@ drwxr-xr-x 2 root root 4096 2016-02-17 23:11 ./source/l/GConf/patches
-rw-r--r-- 1 root root 739 2016-02-17 23:10 ./source/l/GConf/patches/0003-gsettings-data-convert-Warn-and-fix-invalid-schema-p.patch.gz
-rw-r--r-- 1 root root 10435 2016-02-17 23:10 ./source/l/GConf/patches/0011-Fix-some-compiler-warnings.patch
-rw-r--r-- 1 root root 783 2018-02-27 06:12 ./source/l/GConf/slack-desc
-drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/LibRaw
--rw-r--r-- 1 root root 541926 2018-06-11 11:39 ./source/l/LibRaw/LibRaw-0.18.12.tar.lz
--rw-r--r-- 1 root root 25871 2018-02-24 11:20 ./source/l/LibRaw/LibRaw-demosaic-pack-GPL2-0.18.8.tar.lz
--rw-r--r-- 1 root root 31961 2018-02-24 11:20 ./source/l/LibRaw/LibRaw-demosaic-pack-GPL3-0.18.8.tar.lz
--rwxr-xr-x 1 root root 4350 2019-09-29 23:48 ./source/l/LibRaw/LibRaw.SlackBuild
--rw-r--r-- 1 root root 819 2018-02-27 06:12 ./source/l/LibRaw/slack-desc
+drwxr-xr-x 2 root root 4096 2020-10-22 01:54 ./source/l/LibRaw
+-rw-r--r-- 1 root root 675087 2020-10-15 05:18 ./source/l/LibRaw/LibRaw-0.20.2.tar.lz
+-rwxr-xr-x 1 root root 4123 2020-10-29 04:38 ./source/l/LibRaw/LibRaw.SlackBuild
+-rw-r--r-- 1 root root 32 2020-10-15 02:03 ./source/l/LibRaw/LibRaw.url
+-rw-r--r-- 1 root root 1037 2019-11-10 02:53 ./source/l/LibRaw/slack-desc
drwxr-xr-x 2 root root 4096 2020-10-24 20:38 ./source/l/M2Crypto
-rw-r--r-- 1 root root 689174 2020-07-13 21:05 ./source/l/M2Crypto/M2Crypto-0.36.0.tar.lz
-rwxr-xr-x 1 root root 2812 2020-10-24 20:38 ./source/l/M2Crypto/M2Crypto.SlackBuild
@@ -8739,10 +8738,11 @@ drwxr-xr-x 2 root root 4096 2020-09-10 01:07 ./source/l/elfutils
-rw-r--r-- 1 root root 8515779 2020-09-08 11:47 ./source/l/elfutils/elfutils-0.181.tar.lz
-rwxr-xr-x 1 root root 4678 2019-11-30 17:49 ./source/l/elfutils/elfutils.SlackBuild
-rw-r--r-- 1 root root 987 2018-02-27 06:12 ./source/l/elfutils/slack-desc
-drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/enchant
+drwxr-xr-x 2 root root 4096 2020-10-28 22:18 ./source/l/enchant
-rw-r--r-- 1 root root 367708 2017-04-04 21:26 ./source/l/enchant/enchant-1.6.1.tar.xz
-rwxr-xr-x 1 root root 3818 2019-09-29 23:48 ./source/l/enchant/enchant.SlackBuild
--rw-r--r-- 1 root root 796 2018-11-29 19:16 ./source/l/enchant/slack-desc
+-rw-r--r-- 1 root root 35 2020-10-28 22:18 ./source/l/enchant/enchant.url
+-rw-r--r-- 1 root root 798 2020-10-28 22:17 ./source/l/enchant/slack-desc
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/esound
-rw-r--r-- 1 root root 262 2009-03-23 15:57 ./source/l/esound/doinst.sh.gz
-rw-r--r-- 1 root root 237 2018-02-07 08:59 ./source/l/esound/esound-0.2.38-drain.patch.gz
@@ -8758,12 +8758,11 @@ drwxr-xr-x 2 root root 4096 2020-07-29 01:42 ./source/l/espeak-ng
-rwxr-xr-x 1 root root 3903 2020-07-29 01:35 ./source/l/espeak-ng/espeak-ng.SlackBuild
-rw-r--r-- 1 root root 39 2020-07-29 01:37 ./source/l/espeak-ng/espeak-ng.url
-rw-r--r-- 1 root root 1063 2020-07-29 02:35 ./source/l/espeak-ng/slack-desc
-drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/exiv2
--rw-r--r-- 1 root root 2880856 2017-07-07 06:41 ./source/l/exiv2/exiv2-0.26-trunk.tar.xz
--rwxr-xr-x 1 root root 4360 2019-09-29 23:48 ./source/l/exiv2/exiv2.SlackBuild
--rw-r--r-- 1 root root 52 2017-07-17 22:30 ./source/l/exiv2/exiv2.url
--rwxr-xr-x 1 root root 1909 2017-07-17 22:30 ./source/l/exiv2/paredown.sh
--rw-r--r-- 1 root root 709 2018-11-29 19:16 ./source/l/exiv2/slack-desc
+drwxr-xr-x 2 root root 4096 2020-09-29 00:01 ./source/l/exiv2
+-rw-r--r-- 1 root root 1703170 2020-06-30 13:33 ./source/l/exiv2/exiv2-0.27.3-Source.tar.lz
+-rwxr-xr-x 1 root root 4434 2020-10-29 04:37 ./source/l/exiv2/exiv2.SlackBuild
+-rwxr-xr-x 1 root root 1897 2020-09-29 00:01 ./source/l/exiv2/paredown.sh
+-rw-r--r-- 1 root root 710 2019-11-10 03:11 ./source/l/exiv2/slack-desc
drwxr-xr-x 2 root root 4096 2020-10-03 20:27 ./source/l/expat
-rw-r--r-- 1 root root 424091 2020-10-03 18:33 ./source/l/expat/expat-2.2.10.tar.lz
-rw-r--r-- 1 root root 833 2020-10-03 18:33 ./source/l/expat/expat-2.2.10.tar.lz.asc
@@ -8852,14 +8851,14 @@ drwxr-xr-x 2 root root 4096 2019-10-08 18:28 ./source/l/gdk-pixbuf2
-rwxr-xr-x 1 root root 5198 2019-09-29 23:48 ./source/l/gdk-pixbuf2/gdk-pixbuf2.SlackBuild
-rw-r--r-- 1 root root 996 2018-02-27 06:12 ./source/l/gdk-pixbuf2/slack-desc
-rw-r--r-- 1 root root 1653 2017-07-24 19:13 ./source/l/gdk-pixbuf2/update-gdk-pixbuf-loaders
-drwxr-xr-x 2 root root 4096 2020-08-04 17:32 ./source/l/gegl
+drwxr-xr-x 2 root root 4096 2020-10-29 18:42 ./source/l/gegl
-rw-r--r-- 1 root root 4942492 2020-08-02 20:25 ./source/l/gegl/gegl-0.4.26.tar.xz
--rwxr-xr-x 1 root root 3933 2019-10-27 20:06 ./source/l/gegl/gegl.SlackBuild
+-rwxr-xr-x 1 root root 3933 2020-10-29 18:36 ./source/l/gegl/gegl.SlackBuild
-rw-r--r-- 1 root root 36 2019-02-04 19:59 ./source/l/gegl/gegl.url
-rw-r--r-- 1 root root 860 2018-07-04 20:30 ./source/l/gegl/slack-desc
-drwxr-xr-x 2 root root 4096 2020-10-24 18:47 ./source/l/gexiv2
--rw-r--r-- 1 root root 370816 2019-03-11 21:47 ./source/l/gexiv2/gexiv2-0.12.0.tar.xz
--rwxr-xr-x 1 root root 3469 2020-10-24 18:47 ./source/l/gexiv2/gexiv2.SlackBuild
+drwxr-xr-x 2 root root 4096 2020-10-29 18:40 ./source/l/gexiv2
+-rw-r--r-- 1 root root 372104 2020-05-23 18:43 ./source/l/gexiv2/gexiv2-0.12.1.tar.xz
+-rwxr-xr-x 1 root root 3469 2020-10-29 18:41 ./source/l/gexiv2/gexiv2.SlackBuild
-rw-r--r-- 1 root root 781 2018-05-01 16:22 ./source/l/gexiv2/slack-desc
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/giflib
-rw-r--r-- 1 root root 343641 2019-06-24 16:24 ./source/l/giflib/giflib-5.2.1.tar.lz
@@ -8964,6 +8963,11 @@ drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/grantlee
-rw-r--r-- 1 root root 1057976 2014-09-22 11:04 ./source/l/grantlee/grantlee-0.5.1.tar.xz
-rwxr-xr-x 1 root root 3558 2019-09-29 23:48 ./source/l/grantlee/grantlee.SlackBuild
-rw-r--r-- 1 root root 896 2018-02-27 06:12 ./source/l/grantlee/slack-desc
+drwxr-xr-x 2 root root 4096 2020-10-29 04:52 ./source/l/graphene
+-rw-r--r-- 1 root root 292372 2020-06-22 14:55 ./source/l/graphene/graphene-1.10.2.tar.xz
+-rwxr-xr-x 1 root root 4355 2020-10-29 04:52 ./source/l/graphene/graphene.SlackBuild
+-rw-r--r-- 1 root root 35 2020-10-29 04:49 ./source/l/graphene/graphene.url
+-rw-r--r-- 1 root root 979 2020-10-29 04:57 ./source/l/graphene/slack-desc
drwxr-xr-x 2 root root 4096 2020-04-01 19:56 ./source/l/graphite2
-rw-r--r-- 1 root root 2220479 2020-04-01 03:04 ./source/l/graphite2/graphite2-1.3.14.tar.lz
-rwxr-xr-x 1 root root 3781 2019-09-29 23:48 ./source/l/graphite2/graphite2.SlackBuild
@@ -8982,7 +8986,7 @@ drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/gsl
drwxr-xr-x 2 root root 4096 2020-10-27 03:34 ./source/l/gst-plugins-base
-rw-r--r-- 1 root root 3157952 2020-10-26 11:39 ./source/l/gst-plugins-base/gst-plugins-base-1.18.1.tar.xz
-rw-r--r-- 1 root root 833 2020-10-26 11:39 ./source/l/gst-plugins-base/gst-plugins-base-1.18.1.tar.xz.asc
--rwxr-xr-x 1 root root 4455 2020-09-08 19:20 ./source/l/gst-plugins-base/gst-plugins-base.SlackBuild
+-rwxr-xr-x 1 root root 4455 2020-10-29 04:58 ./source/l/gst-plugins-base/gst-plugins-base.SlackBuild
-rw-r--r-- 1 root root 39 2018-05-17 18:59 ./source/l/gst-plugins-base/gst-plugins-base.url
-rw-r--r-- 1 root root 1062 2018-02-27 06:12 ./source/l/gst-plugins-base/slack-desc
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/gst-plugins-base0
@@ -9135,15 +9139,10 @@ drwxr-xr-x 2 root root 4096 2018-01-05 18:45 ./source/l/id3lib/patches
-rw-r--r-- 1 root root 629 2017-09-11 16:30 ./source/l/id3lib/patches/id3lib.utf8_writing.patch.gz
-rw-r--r-- 1 root root 517 2017-09-11 16:30 ./source/l/id3lib/patches/id3lib.vbr_stack_smash.patch.gz
-rw-r--r-- 1 root root 927 2018-02-27 06:12 ./source/l/id3lib/slack-desc
-drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/ilmbase
--rw-r--r-- 1 root root 473 2014-11-29 16:20 ./source/l/ilmbase/ilmbase-2.2.0-no_undefined.patch.gz
--rw-r--r-- 1 root root 326876 2014-11-29 16:17 ./source/l/ilmbase/ilmbase-2.2.0.tar.xz
--rwxr-xr-x 1 root root 3609 2019-09-29 23:48 ./source/l/ilmbase/ilmbase.SlackBuild
--rw-r--r-- 1 root root 825 2018-02-27 06:12 ./source/l/ilmbase/slack-desc
drwxr-xr-x 2 root root 4096 2020-10-12 18:27 ./source/l/imagemagick
-rw-r--r-- 1 root root 9664606 2020-10-08 13:23 ./source/l/imagemagick/ImageMagick-7.0.10-34.tar.lz
-rw-r--r-- 1 root root 309 2016-05-17 04:08 ./source/l/imagemagick/doinst.sh.gz
--rwxr-xr-x 1 root root 7092 2019-09-29 23:48 ./source/l/imagemagick/imagemagick.SlackBuild
+-rwxr-xr-x 1 root root 7092 2020-10-29 18:50 ./source/l/imagemagick/imagemagick.SlackBuild
-rw-r--r-- 1 root root 43 2020-09-30 21:13 ./source/l/imagemagick/imagemagick.url
-rw-r--r-- 1 root root 512 2017-07-18 01:14 ./source/l/imagemagick/policy.xml.diff.gz
-rw-r--r-- 1 root root 996 2018-02-27 06:12 ./source/l/imagemagick/slack-desc
@@ -9841,10 +9840,10 @@ drwxr-xr-x 2 root root 4096 2020-02-16 05:22 ./source/l/openal-soft
-rwxr-xr-- 1 root root 4478 2020-02-16 05:22 ./source/l/openal-soft/openal-soft.SlackBuild
-rw-r--r-- 1 root root 40 2020-02-15 19:19 ./source/l/openal-soft/openal-soft.url
-rw-r--r-- 1 root root 923 2020-02-12 22:30 ./source/l/openal-soft/slack-desc
-drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/openexr
--rw-r--r-- 1 root root 12388072 2014-11-29 16:18 ./source/l/openexr/openexr-2.2.0.tar.xz
--rw-r--r-- 1 root root 949 2017-10-01 18:38 ./source/l/openexr/openexr.CVE-2017-9110-to-9116.patch.gz
--rwxr-xr-x 1 root root 4046 2019-09-29 23:48 ./source/l/openexr/openexr.SlackBuild
+drwxr-xr-x 2 root root 4096 2020-10-29 04:13 ./source/l/openexr
+-rw-r--r-- 1 root root 19705900 2020-08-12 23:12 ./source/l/openexr/openexr-2.5.3.tar.lz
+-rwxr-xr-x 1 root root 4030 2020-10-29 04:33 ./source/l/openexr/openexr.SlackBuild
+-rw-r--r-- 1 root root 53 2020-10-29 04:09 ./source/l/openexr/openexr.url
-rw-r--r-- 1 root root 911 2018-02-27 06:12 ./source/l/openexr/slack-desc
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/openjpeg
-rw-r--r-- 1 root root 1456425 2019-04-02 12:45 ./source/l/openjpeg/openjpeg-2.3.1.tar.lz
@@ -9925,15 +9924,13 @@ drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/polkit-qt-1
-rw-r--r-- 1 root root 364183 2020-09-15 18:21 ./source/l/polkit/polkit-0.118.tar.lz
-rwxr-xr-x 1 root root 6032 2020-09-15 18:24 ./source/l/polkit/polkit.SlackBuild
-rw-r--r-- 1 root root 903 2018-11-17 07:07 ./source/l/polkit/slack-desc
-drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/poppler
+drwxr-xr-x 2 root root 4096 2020-10-14 19:08 ./source/l/poppler
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/l/poppler-data
-rw-r--r-- 1 root root 1517002 2018-04-24 17:57 ./source/l/poppler-data/poppler-data-0.4.9.tar.lz
-rwxr-xr-x 1 root root 2684 2019-09-29 23:48 ./source/l/poppler-data/poppler-data.SlackBuild
-rw-r--r-- 1 root root 1058 2018-02-27 06:12 ./source/l/poppler-data/slack-desc
--rw-r--r-- 1 root root 1461052 2018-08-19 21:40 ./source/l/poppler/poppler-0.68.0.tar.xz
--rwxr-xr-x 1 root root 4802 2019-09-29 23:48 ./source/l/poppler/poppler.SlackBuild
--rw-r--r-- 1 root root 128040 2017-12-05 01:55 ./source/l/poppler/poppler.remove.qt4.frontend.diff.xz
--rw-r--r-- 1 root root 229 2018-06-21 19:04 ./source/l/poppler/poppler.splashpath.h.revert.diff.gz
+-rw-r--r-- 1 root root 1644528 2020-10-07 22:10 ./source/l/poppler/poppler-20.10.0.tar.xz
+-rwxr-xr-x 1 root root 4462 2020-10-29 04:31 ./source/l/poppler/poppler.SlackBuild
-rw-r--r-- 1 root root 988 2018-02-27 06:12 ./source/l/poppler/slack-desc
drwxr-xr-x 2 root root 4096 2020-06-26 19:05 ./source/l/popt
-rw-r--r-- 1 root root 410937 2020-06-23 11:15 ./source/l/popt/popt-1.18.tar.lz
@@ -11365,14 +11362,14 @@ drwxr-xr-x 2 root root 4096 2020-04-26 18:18 ./source/n/s-nail
-rwxr-xr-x 1 root root 4203 2020-02-02 18:09 ./source/n/s-nail/s-nail.SlackBuild
-rw-r--r-- 1 root root 92 2020-04-26 18:17 ./source/n/s-nail/s-nail.url
-rw-r--r-- 1 root root 930 2018-11-24 18:35 ./source/n/s-nail/slack-desc
-drwxr-xr-x 2 root root 4096 2020-10-24 21:33 ./source/n/samba
+drwxr-xr-x 2 root root 4096 2020-10-29 19:07 ./source/n/samba
-rw-r--r-- 1 root root 703 2016-06-13 04:19 ./source/n/samba/doinst.sh.gz
-rw-r--r-- 1 root root 940 2016-06-04 17:50 ./source/n/samba/rc.samba
--rw-r--r-- 1 root root 224 2020-09-22 13:44 ./source/n/samba/samba-4.13.0.tar.asc
--rw-r--r-- 1 root root 11436341 2020-09-22 13:44 ./source/n/samba/samba-4.13.0.tar.lz
--rwxr-xr-x 1 root root 7620 2020-10-24 21:33 ./source/n/samba/samba.SlackBuild
+-rw-r--r-- 1 root root 224 2020-10-28 10:42 ./source/n/samba/samba-4.13.1.tar.asc
+-rw-r--r-- 1 root root 11439299 2020-10-28 10:42 ./source/n/samba/samba-4.13.1.tar.lz
+-rwxr-xr-x 1 root root 7620 2020-10-29 19:07 ./source/n/samba/samba.SlackBuild
-rw-r--r-- 1 root root 227 2019-02-06 20:36 ./source/n/samba/samba.libsmbclient.h.ffmpeg.compat.diff.gz
--rw-r--r-- 1 root root 129 2020-07-02 17:13 ./source/n/samba/samba.url
+-rw-r--r-- 1 root root 129 2020-10-29 19:06 ./source/n/samba/samba.url
-rw-r--r-- 1 root root 960 2018-02-27 06:13 ./source/n/samba/slack-desc
-rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./source/n/samba/smb.conf.default
-rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./source/n/samba/smb.conf.default.orig
@@ -12402,11 +12399,11 @@ drwxr-xr-x 2 root root 4096 2011-04-16 03:28 ./source/x/x11/post-install/
-rw-r--r-- 1 root root 1765 2009-06-08 19:45 ./source/x/x11/post-install/libXaw.post-install
-rw-r--r-- 1 root root 1246 2012-05-04 04:35 ./source/x/x11/post-install/libXaw3d.post-install
-rw-r--r-- 1 root root 183 2007-02-14 06:42 ./source/x/x11/post-install/libpthread-stubs.post-install
--rw-r--r-- 1 root root 1334 2020-02-23 17:58 ./source/x/x11/post-install/libxcb.post-install
-drwxr-xr-x 2 root root 4096 2007-03-24 04:12 ./source/x/x11/post-install/mkfontscale
--rw-r--r-- 1 root root 223 2019-10-28 20:09 ./source/x/x11/post-install/mkfontscale.post-install
--rw-r--r-- 1 root root 1012 2007-03-23 20:46 ./source/x/x11/post-install/mkfontscale/setup.04.mkfontdir
--rw-r--r-- 1 root root 286 2008-04-26 21:33 ./source/x/x11/post-install/pixman.post-install
+-rw-r--r-- 1 root root 1334 2020-02-23 17:58 ./source/x/x11/post-install/libxcb.post-install
+drwxr-xr-x 2 root root 4096 2007-03-24 04:12 ./source/x/x11/post-install/mkfontscale
+-rw-r--r-- 1 root root 223 2019-10-28 20:09 ./source/x/x11/post-install/mkfontscale.post-install
+-rw-r--r-- 1 root root 1012 2007-03-23 20:46 ./source/x/x11/post-install/mkfontscale/setup.04.mkfontdir
+-rw-r--r-- 1 root root 286 2008-04-26 21:33 ./source/x/x11/post-install/pixman.post-install
drwxr-xr-x 2 root root 4096 2007-02-22 01:03 ./source/x/x11/post-install/twm
-rw-r--r-- 1 root root 175 2007-02-22 01:05 ./source/x/x11/post-install/twm.post-install
-rw-r--r-- 1 root root 725 2009-12-01 07:39 ./source/x/x11/post-install/twm/xinitrc.twm
@@ -13094,7 +13091,7 @@ drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/xap/geeqie
-rw-r--r-- 1 root root 399 2018-01-02 08:20 ./source/xap/geeqie/fix-build-re-docs.diff.gz
-rw-r--r-- 1 root root 1587116 2019-08-20 19:05 ./source/xap/geeqie/geeqie-1.5.1.tar.xz
-rw-r--r-- 1 root root 688 2019-08-20 19:06 ./source/xap/geeqie/geeqie-1.5.1.tar.xz.asc
--rwxr-xr-x 1 root root 4629 2019-09-29 23:48 ./source/xap/geeqie/geeqie.SlackBuild
+-rwxr-xr-x 1 root root 4629 2020-10-29 18:35 ./source/xap/geeqie/geeqie.SlackBuild
-rw-r--r-- 1 root root 756 2018-02-27 06:13 ./source/xap/geeqie/slack-desc
drwxr-xr-x 2 root root 4096 2020-10-20 18:34 ./source/xap/gftp
-rw-r--r-- 1 root root 1687167 2008-12-02 14:07 ./source/xap/gftp/gftp-2.0.19.tar.bz2
@@ -13104,7 +13101,7 @@ drwxr-xr-x 2 root root 4096 2020-10-20 18:34 ./source/xap/gftp
-rw-r--r-- 1 root root 895 2018-02-27 06:13 ./source/xap/gftp/slack-desc
drwxr-xr-x 2 root root 4096 2020-10-05 16:46 ./source/xap/gimp
-rw-r--r-- 1 root root 25394988 2020-10-04 18:16 ./source/xap/gimp/gimp-2.10.22.tar.lz
--rwxr-xr-x 1 root root 4636 2020-10-05 16:46 ./source/xap/gimp/gimp.SlackBuild
+-rwxr-xr-x 1 root root 4636 2020-10-29 18:45 ./source/xap/gimp/gimp.SlackBuild
-rw-r--r-- 1 root root 923 2018-02-27 06:13 ./source/xap/gimp/slack-desc
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/xap/gkrellm
-rw-r--r-- 1 root root 651098 2019-07-25 14:06 ./source/xap/gkrellm/gkrellm-2.3.11.tar.lz
@@ -13340,7 +13337,7 @@ drwxr-xr-x 2 root root 4096 2020-10-20 18:34 ./source/xap/xine-ui
-rw-r--r-- 1 root root 828 2018-02-27 06:13 ./source/xap/xine-ui/slack-desc
-rw-r--r-- 1 root root 1976536 2019-12-10 09:08 ./source/xap/xine-ui/xine-ui-0.99.12.tar.lz
-rwxr-xr-x 1 root root 3385 2020-10-20 18:34 ./source/xap/xine-ui/xine-ui.SlackBuild
-drwxr-xr-x 2 root root 4096 2020-07-22 19:33 ./source/xap/xlockmore
+drwxr-xr-x 2 root root 4096 2020-10-29 19:11 ./source/xap/xlockmore
-rw-r--r-- 1 root root 277 2020-02-07 00:37 ./source/xap/xlockmore/doinst.sh.gz
-rw-r--r-- 1 root root 225 2002-02-23 22:23 ./source/xap/xlockmore/l-bob.README
-rw-r--r-- 1 root root 27870 1998-04-01 15:09 ./source/xap/xlockmore/l-bob.xbm
@@ -13348,8 +13345,8 @@ drwxr-xr-x 2 root root 4096 2020-07-22 19:33 ./source/xap/xlockmore
-rw-r--r-- 1 root root 7025 2002-02-23 21:40 ./source/xap/xlockmore/s-bob.xbm
-rw-r--r-- 1 root root 965 2018-02-27 06:13 ./source/xap/xlockmore/slack-desc
-rw-r--r-- 1 root root 154 2014-07-26 21:14 ./source/xap/xlockmore/xlock.pam
--rw-r--r-- 1 root root 1945636 2020-07-22 01:22 ./source/xap/xlockmore/xlockmore-5.65.tar.xz
--rw-r--r-- 1 root root 195 2020-07-22 01:22 ./source/xap/xlockmore/xlockmore-5.65.tar.xz.asc
+-rw-r--r-- 1 root root 1995064 2020-10-26 15:31 ./source/xap/xlockmore/xlockmore-5.66.tar.xz
+-rw-r--r-- 1 root root 195 2020-10-26 15:31 ./source/xap/xlockmore/xlockmore-5.66.tar.xz.asc
-rwxr-xr-x 1 root root 4373 2020-06-14 19:18 ./source/xap/xlockmore/xlockmore.SlackBuild
-rw-r--r-- 1 root root 371 2002-05-30 04:25 ./source/xap/xlockmore/xlockmore.bitmap.diff.gz
drwxr-xr-x 2 root root 4096 2019-09-29 23:48 ./source/xap/xmms
@@ -13651,9 +13648,9 @@ drwxr-xr-x 2 root root 4096 2020-04-02 02:44 ./testing/source/gcc10/patche
-rw-r--r-- 1 root root 870 2018-06-26 01:38 ./testing/source/gcc10/slack-desc.gcc-gnat
-rw-r--r-- 1 root root 1026 2020-05-09 18:56 ./testing/source/gcc10/slack-desc.gcc-go
-rw-r--r-- 1 root root 945 2019-05-07 21:16 ./testing/source/gcc10/slack-desc.gcc-objc
-drwxr-xr-x 2 root root 4096 2020-10-17 19:55 ./usb-and-pxe-installers
+drwxr-xr-x 2 root root 4096 2020-10-29 21:55 ./usb-and-pxe-installers
-rw-r--r-- 1 root root 31203 2011-03-21 21:21 ./usb-and-pxe-installers/README_PXE.TXT
-rw-r--r-- 1 root root 9197 2013-09-25 04:33 ./usb-and-pxe-installers/README_USB.TXT
-rw-r--r-- 1 root root 574 2013-03-27 04:59 ./usb-and-pxe-installers/pxelinux.cfg_default
--rw-r--r-- 1 root root 55821312 2020-10-17 19:55 ./usb-and-pxe-installers/usbboot.img
+-rw-r--r-- 1 root root 55792640 2020-10-29 21:54 ./usb-and-pxe-installers/usbboot.img
-rw-r--r-- 1 root root 16042 2019-08-05 07:08 ./usb-and-pxe-installers/usbimg2disk.sh
diff --git a/README.initrd b/README.initrd
index d8493d732..edf3ece6a 100644
--- a/README.initrd
+++ b/README.initrd
@@ -1,7 +1,7 @@
Slackware initrd mini HOWTO
by Patrick Volkerding, volkerdi@slackware.com
-Sat Oct 17 19:45:25 UTC 2020
+Thu Oct 29 21:41:43 UTC 2020
This document describes how to create and install an initrd, which may be
required to use the 4.x kernel. Also see "man mkinitrd".
@@ -33,15 +33,15 @@ flexible to ship a generic kernel and a set of kernel modules for it.
The easiest way to make the initrd is to use the mkinitrd script included
in Slackware's mkinitrd package. We'll walk through the process of
-upgrading to the generic 5.4.72 Linux kernel using the packages
+upgrading to the generic 5.4.73 Linux kernel using the packages
found in Slackware's slackware/a/ directory.
First, make sure the kernel, kernel modules, and mkinitrd package are
installed (the current version numbers might be a little different, so
this is just an example):
- installpkg kernel-generic-5.4.72-x86_64-1.txz
- installpkg kernel-modules-5.4.72-x86_64-1.txz
+ installpkg kernel-generic-5.4.73-x86_64-1.txz
+ installpkg kernel-modules-5.4.73-x86_64-1.txz
installpkg mkinitrd-1.4.11-x86_64-15.txz
Change into the /boot directory:
@@ -52,7 +52,7 @@ Now you'll want to run "mkinitrd". I'm using ext4 for my root filesystem,
and since the disk controller requires no special support the ext4 module
will be the only one I need to load:
- mkinitrd -c -k 5.4.72 -m ext4
+ mkinitrd -c -k 5.4.73 -m ext4
This should do two things. First, it will create a directory
/boot/initrd-tree containing the initrd's filesystem. Then it will
@@ -61,10 +61,10 @@ you could make some additional changes in /boot/initrd-tree/ and
then run mkinitrd again without options to rebuild the image. That's
optional, though, and only advanced users will need to think about that.
-Here's another example: Build an initrd image using Linux 5.4.72
+Here's another example: Build an initrd image using Linux 5.4.73
kernel modules for a system with an ext4 root partition on /dev/sdb3:
- mkinitrd -c -k 5.4.72 -m ext4 -f ext4 -r /dev/sdb3
+ mkinitrd -c -k 5.4.73 -m ext4 -f ext4 -r /dev/sdb3
4. Now that I've built an initrd, how do I use it?
diff --git a/isolinux/message.txt b/isolinux/message.txt
index 36de17fac..d7e50a475 100644
--- a/isolinux/message.txt
+++ b/isolinux/message.txt
@@ -1,5 +1,5 @@
-Welcome to 09Slackware6407 version 15.0 (Linux kernel 5.4.72)!
+Welcome to 09Slackware6407 version 15.0 (Linux kernel 5.4.73)!
If you need to pass extra parameters to the kernel, enter them at the prompt
below after the name of the kernel to boot (e.g., huge.s).
diff --git a/kernels/VERSIONS.TXT b/kernels/VERSIONS.TXT
index 96945656e..ff8bc15a1 100644
--- a/kernels/VERSIONS.TXT
+++ b/kernels/VERSIONS.TXT
@@ -1,3 +1,3 @@
-These kernels are version 5.4.72.
+These kernels are version 5.4.73.
diff --git a/recompress.sh b/recompress.sh
index 17a84700c..7c3b4952c 100755
--- a/recompress.sh
+++ b/recompress.sh
@@ -873,7 +873,6 @@ gzip ./source/l/libwmf/libwmf-0.2.8.4-CVE-2009-3546.patch
gzip ./source/l/QScintilla/QScintilla_qsciscintillabase_qurl.diff
gzip ./source/l/gvfs/doinst.sh
gzip ./source/l/openjpeg/openjpeg2_remove-thirdparty.patch
-gzip ./source/l/poppler/poppler.splashpath.h.revert.diff
gzip ./source/l/libxslt/libxslt.xsltMaxDepth.diff
gzip ./source/l/netpbm/netpbm-xwdfix.patch
gzip ./source/l/netpbm/netpbm-docfix.patch
@@ -970,7 +969,6 @@ gzip ./source/l/strigi/libstreamanalyzer-0005-use-rpath-only-when-needed.patch
gzip ./source/l/strigi/libstreams-0001-Generate-config.h-after-looking-for-dependencies.patch
gzip ./source/l/strigi/libstreams-0002-Reduce-noise-in-analysis-tools-complain-about-resour.patch
gzip ./source/l/libvisual/libvisual.glib.h.diff
-gzip ./source/l/openexr/openexr.CVE-2017-9110-to-9116.patch
gzip ./source/l/ConsoleKit2/doinst.sh
gzip ./source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff
gzip ./source/l/qt-gstreamer/doinst.sh
@@ -1022,7 +1020,6 @@ gzip ./source/l/svgalib/svgalib-1.9.25-quickmath-h-redefinitions.patch
gzip ./source/l/svgalib/svgalib-1.9.25-vga_getmodenumber.patch
gzip ./source/l/svgalib/svgalib.prefix.diff
gzip ./source/l/libexif/libexif.pc.diff
-gzip ./source/l/ilmbase/ilmbase-2.2.0-no_undefined.patch
gzip ./source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch
gzip ./source/l/farstream/farstream-0.2.8-configure-add-check-for-glib-mkenums.patch
gzip ./source/l/qtscriptgenerator/include-everything.patch
diff --git a/slackware64/a/maketag b/slackware64/a/maketag
index fe3180dc1..88149d0f2 100644
--- a/slackware64/a/maketag
+++ b/slackware64/a/maketag
@@ -62,9 +62,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
-"kernel-generic" "Generic 5.4.72 kernel (needs an initrd)" "on" \
-"kernel-huge" "Loaded 5.4.72 Linux kernel" "on" \
-"kernel-modules" "Linux 5.4.72 kernel modules -- REQUIRED" "on" \
+"kernel-generic" "Generic 5.4.73 kernel (needs an initrd)" "on" \
+"kernel-huge" "Loaded 5.4.73 Linux kernel" "on" \
+"kernel-modules" "Linux 5.4.73 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \
diff --git a/slackware64/a/maketag.ez b/slackware64/a/maketag.ez
index fe3180dc1..88149d0f2 100644
--- a/slackware64/a/maketag.ez
+++ b/slackware64/a/maketag.ez
@@ -62,9 +62,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
-"kernel-generic" "Generic 5.4.72 kernel (needs an initrd)" "on" \
-"kernel-huge" "Loaded 5.4.72 Linux kernel" "on" \
-"kernel-modules" "Linux 5.4.72 kernel modules -- REQUIRED" "on" \
+"kernel-generic" "Generic 5.4.73 kernel (needs an initrd)" "on" \
+"kernel-huge" "Loaded 5.4.73 Linux kernel" "on" \
+"kernel-modules" "Linux 5.4.73 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \
diff --git a/slackware64/k/maketag b/slackware64/k/maketag
index 005bb69de..f9718b8c5 100644
--- a/slackware64/k/maketag
+++ b/slackware64/k/maketag
@@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
-"kernel-source" "Linux 5.4.72 kernel source" "on" \
+"kernel-source" "Linux 5.4.73 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
diff --git a/slackware64/k/maketag.ez b/slackware64/k/maketag.ez
index 005bb69de..f9718b8c5 100644
--- a/slackware64/k/maketag.ez
+++ b/slackware64/k/maketag.ez
@@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
-"kernel-source" "Linux 5.4.72 kernel source" "on" \
+"kernel-source" "Linux 5.4.73 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
diff --git a/slackware64/l/maketag b/slackware64/l/maketag
index 2749f15b1..529824753 100644
--- a/slackware64/l/maketag
+++ b/slackware64/l/maketag
@@ -102,6 +102,7 @@ you are done." 22 74 10 \
"gnu-efi" "EFI Development files for the GNU toolchain" "on" \
"gobject-introspection" "GObject interface introspection library" "on" \
"grantlee" "String Template system based on Qt" "on" \
+"graphene" "a thin layer of types for graphic libraries" "on" \
"graphite2" "rendering engine for graphite fonts" "on" \
"gsettings-desktop-schemas" "GSettings schemas" "on" \
"gsl" "GNU Scientific Library" "on" \
@@ -126,7 +127,6 @@ you are done." 22 74 10 \
"icon-naming-utils" "Icon naming utilities" "on" \
"icu4c" "International Components for Unicode" "on" \
"id3lib" "ID3 tag manipulation library" "on" \
-"ilmbase" "Industrial Light & Magic base libraries" "on" \
"imagemagick" "ImageMagick image utilities" "on" \
"isl" "Integer Set Library" "on" \
"iso-codes" "ISO standard lists" "on" \
@@ -361,7 +361,7 @@ if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
-ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib ilmbase imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
+ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphene graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
@@ -369,7 +369,7 @@ ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
-ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib ilmbase imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
+ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphene graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
; do
if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
diff --git a/slackware64/l/maketag.ez b/slackware64/l/maketag.ez
index 2749f15b1..529824753 100644
--- a/slackware64/l/maketag.ez
+++ b/slackware64/l/maketag.ez
@@ -102,6 +102,7 @@ you are done." 22 74 10 \
"gnu-efi" "EFI Development files for the GNU toolchain" "on" \
"gobject-introspection" "GObject interface introspection library" "on" \
"grantlee" "String Template system based on Qt" "on" \
+"graphene" "a thin layer of types for graphic libraries" "on" \
"graphite2" "rendering engine for graphite fonts" "on" \
"gsettings-desktop-schemas" "GSettings schemas" "on" \
"gsl" "GNU Scientific Library" "on" \
@@ -126,7 +127,6 @@ you are done." 22 74 10 \
"icon-naming-utils" "Icon naming utilities" "on" \
"icu4c" "International Components for Unicode" "on" \
"id3lib" "ID3 tag manipulation library" "on" \
-"ilmbase" "Industrial Light & Magic base libraries" "on" \
"imagemagick" "ImageMagick image utilities" "on" \
"isl" "Integer Set Library" "on" \
"iso-codes" "ISO standard lists" "on" \
@@ -361,7 +361,7 @@ if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
-ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib ilmbase imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
+ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphene graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
@@ -369,7 +369,7 @@ ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
-ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib ilmbase imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
+ConsoleKit2 GConf LibRaw M2Crypto Mako PyQt PyQt5 QScintilla SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf a52dec aalib adwaita-icon-theme akonadi alsa-lib alsa-oss alsa-plugins apr apr-util argon2 aspell aspell-en at-spi2-atk at-spi2-core atk atkmm attica audiofile automoc4 babl boost brotli cairo cairomm chmlib clucene db48 dbus-glib dbus-python dconf dconf-editor desktop-file-utils djvulibre ebook-tools eigen2 eigen3 elfutils enchant esound espeak-ng exiv2 expat farstream ffmpeg fftw fluidsynth freetype fribidi fuse fuse3 gamin gc gcr gd gdbm gdk-pixbuf2 gegl gexiv2 giflib glade3 glib glib-networking glib2 glibc glibc-i18n glibc-profile glibmm gmime gmm gmp gnome-keyring gnome-themes-extra gnu-efi gobject-introspection grantlee graphene graphite2 gsettings-desktop-schemas gsl gst-plugins-base gst-plugins-base0 gst-plugins-good gst-plugins-good0 gst-plugins-libav gstreamer gstreamer0 gtk+ gtk+2 gtk+3 gtkmm2 gtkmm3 gtkspell gvfs harfbuzz hicolor-icon-theme hunspell hyphen icon-naming-utils icu4c id3lib imagemagick isl iso-codes jansson jasper jemalloc jmtpfs json-c json-glib judy keybinder3 keyutils lame lcms lcms2 libaio libao libarchive libasyncns libatasmart libbluedevil libbluray libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libclc libcue libdbusmenu-qt libdiscid libdvdnav libdvdread libedit libevent libexif libfakekey libffi libglade libgnome-keyring libgphoto2 libgpod libgsf libical libid3tag libidl libidn libidn2 libieee1284 libimobiledevice libiodbc libjpeg-turbo libkarma liblastfm libmad libmcrypt libmng libmpc libmtp libnice libnih libnjb libnl libnl3 libnotify libnsl libnss_nis libodfgen libogg liboggz liboil libopusenc libpcap libplist libpng libproxy libpsl libraw1394 librevenge librsvg libsamplerate libsecret libsigc++ libsigsegv libsndfile libsodium libsoup libspectre libssh libssh2 libtasn1 libtheora libtiff libunistring libunwind libusb libusb-compat libusbmuxd libuv libvisio libvisual libvisual-plugins libvncserver libvorbis libvpx libwebp libwmf libwnck libwpd libwpg libxkbcommon libxklavier libxml2 libxslt libyaml libzip lmdb loudmouth lz4 lzo media-player-info mhash mm mozilla-nss mozjs78 mpfr ncurses neon netpbm newt ocl-icd oniguruma openal-soft openexr openjpeg opus opusfile orc pango pangomm parted pcaudiolib pcre pcre2 phonon phonon-gstreamer pilot-link polkit polkit-gnome polkit-qt-1 poppler poppler-data popt pulseaudio pycairo pycups pycurl pygobject pygobject3 pygtk pyparsing python-appdirs python-certifi python-chardet python-distro python-docutils python-future python-idna python-notify2 python-packaging python-pillow python-ply python-pygments python-requests python-sane python-six python-urllib3 python2-module-collection qca qca-qt5 qimageblitz qjson qt qt-gstreamer qt5 qt5-webkit qtscriptgenerator raptor2 rasqal readline redland rpcsvc-proto sbc sdl serf sg3_utils shared-desktop-ontologies shared-mime-info sip slang slang1 soprano sound-theme-freedesktop speex speexdsp startup-notification strigi svgalib system-config-printer t1lib taglib taglib-extras talloc tango-icon-theme tango-icon-theme-extras tdb tevent tidy-html5 utf8proc v4l-utils vte wavpack woff2 xapian-core xxHash zlib zstd \
; do
if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
diff --git a/slackware64/l/tagfile b/slackware64/l/tagfile
index 1d3d60cae..6a98c1c9c 100644
--- a/slackware64/l/tagfile
+++ b/slackware64/l/tagfile
@@ -87,6 +87,7 @@ gnome-themes-extra:REC
gnu-efi:REC
gobject-introspection:REC
grantlee:REC
+graphene:REC
graphite2:REC
gsettings-desktop-schemas:REC
gsl:REC
@@ -111,7 +112,6 @@ hyphen:REC
icon-naming-utils:REC
icu4c:REC
id3lib:REC
-ilmbase:REC
imagemagick:REC
isl:REC
iso-codes:REC
diff --git a/source/a/aaa_elflibs/aaa_elflibs.SlackBuild b/source/a/aaa_elflibs/aaa_elflibs.SlackBuild
index 875506fb3..a99d414f5 100755
--- a/source/a/aaa_elflibs/aaa_elflibs.SlackBuild
+++ b/source/a/aaa_elflibs/aaa_elflibs.SlackBuild
@@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=aaa_elflibs
VERSION=${VERSION:-15.0}
-BUILD=${BUILD:-25}
+BUILD=${BUILD:-26}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp b/source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp
index f67eca7d3..e2c9ff00a 100644
--- a/source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp
+++ b/source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp
@@ -11,6 +11,20 @@
/usr/lib/libgmp.so.10
/usr/lib/libgmpxx.so.4
# Need these saved here during the KDE4 -> Plasma 5 transition:
+# exiv2:
/usr/lib/libexiv2.so.26
+# LibRaw:
/usr/lib/libraw.so.16
/usr/lib/libraw_r.so.16
+# poppler:
+/usr/lib/libpoppler-qt4.so.4
+/usr/lib/libpoppler.so.79
+# ilmbase (merged into the new openexr package):
+/usr/lib/libHalf.so.12
+/usr/lib/libIex-2_2.so.12
+/usr/lib/libIexMath-2_2.so.12
+/usr/lib/libIlmThread-2_2.so.12
+/usr/lib/libImath-2_2.so.12
+# openexr:
+/usr/lib/libIlmImf-2_2.so.22
+/usr/lib/libIlmImfUtil-2_2.so.22
diff --git a/source/a/mkinitrd/busybox-dot-config b/source/a/mkinitrd/busybox-dot-config
index 69e0c9ab2..01c892222 100644
--- a/source/a/mkinitrd/busybox-dot-config
+++ b/source/a/mkinitrd/busybox-dot-config
@@ -882,7 +882,7 @@ CONFIG_FEATURE_IFUPDOWN_IPV4=y
CONFIG_FEATURE_IFUPDOWN_IPV6=y
CONFIG_FEATURE_IFUPDOWN_MAPPING=y
CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y
-CONFIG_INETD=y
+# CONFIG_INETD is not set
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index dffcfeb7e..e15dc8cf2 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,6 @@
+Thu Oct 29 21:50:02 UTC 2020
+ Don't build the inetd busybox applet.
++--------------------------+
Thu Aug 20 05:22:35 UTC 2020
Include /usr/bin/env.
+--------------------------+
diff --git a/source/installer/sources/busybox/busybox-dot-config b/source/installer/sources/busybox/busybox-dot-config
index 69e0c9ab2..01c892222 100644
--- a/source/installer/sources/busybox/busybox-dot-config
+++ b/source/installer/sources/busybox/busybox-dot-config
@@ -882,7 +882,7 @@ CONFIG_FEATURE_IFUPDOWN_IPV4=y
CONFIG_FEATURE_IFUPDOWN_IPV6=y
CONFIG_FEATURE_IFUPDOWN_MAPPING=y
CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y
-CONFIG_INETD=y
+# CONFIG_INETD is not set
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
diff --git a/source/k/kernel-configs/config-generic-5.4.72 b/source/k/kernel-configs/config-generic-5.4.73
similarity index 99%
rename from source/k/kernel-configs/config-generic-5.4.72
rename to source/k/kernel-configs/config-generic-5.4.73
index 12dd778d2..44a4c6a2d 100644
--- a/source/k/kernel-configs/config-generic-5.4.72
+++ b/source/k/kernel-configs/config-generic-5.4.73
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.72 Kernel Configuration
+# Linux/x86 5.4.73 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-5.4.72.x64 b/source/k/kernel-configs/config-generic-5.4.73.x64
similarity index 99%
rename from source/k/kernel-configs/config-generic-5.4.72.x64
rename to source/k/kernel-configs/config-generic-5.4.73.x64
index 571375e5a..5aa084ea7 100644
--- a/source/k/kernel-configs/config-generic-5.4.72.x64
+++ b/source/k/kernel-configs/config-generic-5.4.73.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.72 Kernel Configuration
+# Linux/x86 5.4.73 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-smp-5.4.72-smp b/source/k/kernel-configs/config-generic-smp-5.4.73-smp
similarity index 99%
rename from source/k/kernel-configs/config-generic-smp-5.4.72-smp
rename to source/k/kernel-configs/config-generic-smp-5.4.73-smp
index 8c3305d75..5c0222b61 100644
--- a/source/k/kernel-configs/config-generic-smp-5.4.72-smp
+++ b/source/k/kernel-configs/config-generic-smp-5.4.73-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.72 Kernel Configuration
+# Linux/x86 5.4.73 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-5.4.72 b/source/k/kernel-configs/config-huge-5.4.73
similarity index 99%
rename from source/k/kernel-configs/config-huge-5.4.72
rename to source/k/kernel-configs/config-huge-5.4.73
index 09af9091f..832a683ca 100644
--- a/source/k/kernel-configs/config-huge-5.4.72
+++ b/source/k/kernel-configs/config-huge-5.4.73
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.72 Kernel Configuration
+# Linux/x86 5.4.73 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-5.4.72.x64 b/source/k/kernel-configs/config-huge-5.4.73.x64
similarity index 99%
rename from source/k/kernel-configs/config-huge-5.4.72.x64
rename to source/k/kernel-configs/config-huge-5.4.73.x64
index ae0d62ef7..6bb15c80c 100644
--- a/source/k/kernel-configs/config-huge-5.4.72.x64
+++ b/source/k/kernel-configs/config-huge-5.4.73.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.72 Kernel Configuration
+# Linux/x86 5.4.73 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-smp-5.4.72-smp b/source/k/kernel-configs/config-huge-smp-5.4.73-smp
similarity index 99%
rename from source/k/kernel-configs/config-huge-smp-5.4.72-smp
rename to source/k/kernel-configs/config-huge-smp-5.4.73-smp
index 45e66f1e5..9b0f47488 100644
--- a/source/k/kernel-configs/config-huge-smp-5.4.72-smp
+++ b/source/k/kernel-configs/config-huge-smp-5.4.73-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.72 Kernel Configuration
+# Linux/x86 5.4.73 Kernel Configuration
#
#
diff --git a/source/l/LibRaw/LibRaw.SlackBuild b/source/l/LibRaw/LibRaw.SlackBuild
index 176d53bfb..302f7c13a 100755
--- a/source/l/LibRaw/LibRaw.SlackBuild
+++ b/source/l/LibRaw/LibRaw.SlackBuild
@@ -24,8 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=LibRaw
-VERSION=${VERSION:-0.18.12}
-DEMOSAIC=${DEMOSAIC:-0.18.8}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -82,8 +81,6 @@ rm -rf $PKGNAM-$VERSION-build
mkdir $PKGNAM-$VERSION-build
cd $PKGNAM-$VERSION-build
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
-tar xvf $CWD/$PKGNAM-demosaic-pack-GPL2-$DEMOSAIC.tar.?z || exit 1
-tar xvf $CWD/$PKGNAM-demosaic-pack-GPL3-$DEMOSAIC.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
@@ -96,6 +93,8 @@ find . \
# Don't use icecream:
PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -106,8 +105,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--disable-static \
- --enable-demosaic-pack-gpl2=../LibRaw-demosaic-pack-GPL2-$DEMOSAIC \
- --enable-demosaic-pack-gpl3=../LibRaw-demosaic-pack-GPL3-$DEMOSAIC \
--enable-jasper \
--enable-lcms \
--disable-examples \
@@ -134,4 +131,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/l/LibRaw/LibRaw.url b/source/l/LibRaw/LibRaw.url
new file mode 100644
index 000000000..1fdefc8b6
--- /dev/null
+++ b/source/l/LibRaw/LibRaw.url
@@ -0,0 +1 @@
+https://www.libraw.org/download
diff --git a/source/l/LibRaw/slack-desc b/source/l/LibRaw/slack-desc
index 9f5e73e85..d5eb44c8f 100644
--- a/source/l/LibRaw/slack-desc
+++ b/source/l/LibRaw/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
LibRaw: LibRaw (library for decoding raw digital photos)
LibRaw:
-LibRaw: LibRaw is a library for reading RAW files obtained from digital
-LibRaw: cameras (CRW/CR2, NEF, RAF, DNG, and others). It is based on the
-LibRaw: source code of the dcraw utility.
-LibRaw:
-LibRaw: Homepage: http://www.libraw.org/
-LibRaw:
-LibRaw:
+LibRaw: LibRaw is a library for reading RAW files from digital photo cameras
+LibRaw: (CRW/CR2, NEF, RAF, DNG, MOS, KDC, DCR, etc, virtually all RAW formats
+LibRaw: are supported). It pays special attention to correct retrieval of data
+LibRaw: required for subsequent RAW conversion. The library is intended for
+LibRaw: embedding in RAW converters, data analyzers, and other programs using
+LibRaw: RAW files as the initial data.
LibRaw:
+LibRaw: Homepage: https://www.libraw.org/
LibRaw:
diff --git a/source/l/enchant/enchant.url b/source/l/enchant/enchant.url
new file mode 100644
index 000000000..b40fed97c
--- /dev/null
+++ b/source/l/enchant/enchant.url
@@ -0,0 +1 @@
+https://github.com/AbiWord/enchant
diff --git a/source/l/enchant/slack-desc b/source/l/enchant/slack-desc
index 6f0c61f3f..afa8b8455 100644
--- a/source/l/enchant/slack-desc
+++ b/source/l/enchant/slack-desc
@@ -15,5 +15,5 @@ enchant: * MySpell/HunSpell
enchant: * Uspell (Yiddish, Hebrew and Eastern European languages)
enchant: * Hspell (Hebrew) and others
enchant:
-enchant: http://www.abisource.com/projects/enchant/
+enchant: Homepage: https://abiword.github.io/enchant/
enchant:
diff --git a/source/l/exiv2/exiv2.SlackBuild b/source/l/exiv2/exiv2.SlackBuild
index c317a7094..6d49c6900 100755
--- a/source/l/exiv2/exiv2.SlackBuild
+++ b/source/l/exiv2/exiv2.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2007 Frank Caraballo
-# Copyright 2008, 2009, 2011, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2011, 2015, 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,9 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=exiv2
-#VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-VERSION=${VERSION:-$(echo $PKGNAM-*-trunk.tar.xz | rev | cut -f 3- -d . | cut -f 2 -d - | rev)}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*-Source.tar.?z | rev | cut -f 3- -d . | cut -f 2 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -49,7 +48,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-exiv2
+PKG=$TMP/package-$PKGNAM
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
@@ -69,12 +68,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf exiv2-$VERSION exiv2-trunk
+rm -rf $PKGNAM-$VERSION-Source
-#tar xvf $CWD/exiv2-$VERSION.tar.?z* || exit 1
-#cd exiv2-$VERSION || exit 1
-tar xvf $CWD/$PKGNAM-$VERSION-trunk.tar.xz || exit 1
-cd exiv2-trunk || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION-Source.tar.?z || exit 1
+cd $PKGNAM-$VERSION-Source || exit 1
chown -R root:root .
find . \
@@ -83,26 +80,26 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-shared=yes \
- --enable-static=no \
- --enable-xmp \
- --enable-video \
- --enable-webready \
- --build=$ARCH-slackware-linux || exit 1
-
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Configure, build, and install:
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DBUILD_SHARED_LIBS=ON \
+ -DEXIV2_ENABLE_CURL=ON \
+ -DEXIV2_ENABLE_VIDEO=ON \
+ -DEXIV2_ENABLE_WEBREADY==ON \
+ -DEXIV2_ENABLE_XMP=ON \
+ -DEXIV2_BUILD_SAMPLES=OFF \
+ -DEXIV2_ENABLE_NLS=ON \
+ .. || exit 1
+ make $NUMJOBS || make || exit 1
+ make install DESTDIR=$PKG || exit 1
+cd ..
# Make sure shared libraries are executable:
chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so.*
@@ -110,16 +107,21 @@ chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so.*
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \+
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+# Move manpage directory:
+mv $PKG/usr/share/man $PKG/usr
-mkdir -p $PKG/usr/doc/exiv2-$VERSION
+# Compress manual pages:
+find $PKG/usr/man -type f -exec gzip -9 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
- COPYING* README* \
+ AUTHORS* CODING_GUIDELINES* CONTRIBUTING* COPYING* README* \
doc/{COPYING-XMPSDK,README-XMP,cmd.txt,cmdxmp.txt} \
- $PKG/usr/doc/exiv2-$VERSION
+ $PKG/usr/doc/$PKGNAM-$VERSION
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
@@ -133,5 +135,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $TMP/exiv2-$VERSION-$ARCH-$BUILD.txz
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/l/exiv2/exiv2.url b/source/l/exiv2/exiv2.url
deleted file mode 100644
index 61e8fe546..000000000
--- a/source/l/exiv2/exiv2.url
+++ /dev/null
@@ -1 +0,0 @@
-http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz
diff --git a/source/l/exiv2/paredown.sh b/source/l/exiv2/paredown.sh
index cebe54f5b..a40aa335c 100755
--- a/source/l/exiv2/paredown.sh
+++ b/source/l/exiv2/paredown.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2017 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2013, 2019 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,32 +20,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Convert github release in vX.XX.tar.gz format to exiv2-X.XX.tar.xz format
-# and remove useless cruft.
+PKGNAM=exiv2
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.gz | rev | cut -f 3- -d . | cut -f 2 -d - | rev)}
-
-GITHUB_RELEASE=$(echo v*.tar.gz)
-if [ ! -r $GITHUB_RELEASE ]; then
- echo "$GITHUB_RELEASE is not a libwebp tarball. Exiting."
+if [ ! -r $PKGNAM-${VERSION}-Source.tar.gz ]; then
+ echo "$PKGNAM-${VERSION}-Source.tar.gz does not exist. Exiting."
exit 1
fi
-SRCDIR=$(tar tf v*.tar.gz | head -n 1 | cut -f 1 -d /)
-# Untar github sources:
-rm -rf $SRCDIR
-tar xvf $GITHUB_RELEASE
+touch -r $PKGNAM-${VERSION}-Source.tar.gz tmp-timestamp || exit 1
-# HERE'S WHERE WE WOULD REMOVE STUFF FROM $SRCDIR, BUT WE AREN'T ACTUALLY
-# USING THIS SCRIPT YET UNTIL WE SWITCH TO DOWNLOADING FROM GITHUB'S RELEASES
+rm -rf $PKGNAM-${VERSION}-Source
+tar xf $PKGNAM-${VERSION}-Source.tar.gz || exit 1
+rm -rf $PKGNAM-${VERSION}-Source/test/data/*
+rm -rf $PKGNAM-${VERSION}-Source/tests/bugfixes/*
+rm -f $PKGNAM-${VERSION}-Source.tar.lz
+tar cf $PKGNAM-${VERSION}-Source.tar $PKGNAM-${VERSION}-Source
+touch -r tmp-timestamp $PKGNAM-${VERSION}-Source.tar
+plzip -9 -v $PKGNAM-${VERSION}-Source.tar
+rm -rf $PKGNAM-${VERSION}-Source tmp-timestamp
-# Package it back up as a .tar.xz:
-rm -f $SRCDIR.tar $SRCDIR.tar.xz
-tar cf $SRCDIR.tar $SRCDIR
-xz -9 $SRCDIR.tar
-touch -d "$(tar tvf $GITHUB_RELEASE | head -n 1 | cut -f 2- -d 0 | cut -f 2,3 -d ' ')" $SRCDIR.tar.xz
-
-# Cleanup:
-rm -rf $SRCDIR
-
-echo "Repacking of $SRCDIR.tar.xz complete."
+echo "Repacking of $PKGNAM-${VERSION}-Source.tar.lz complete."
diff --git a/source/l/exiv2/slack-desc b/source/l/exiv2/slack-desc
index c67aac6cf..b2b314563 100644
--- a/source/l/exiv2/slack-desc
+++ b/source/l/exiv2/slack-desc
@@ -11,7 +11,7 @@ exiv2:
exiv2: Exiv2 is a C++ library and a command line utility to read and write
exiv2: Exif and IPTC image metadata.
exiv2:
-exiv2: Homepage: http://www.exiv2.org/
+exiv2: Homepage: https://www.exiv2.org/
exiv2:
exiv2:
exiv2:
diff --git a/source/l/gegl/gegl.SlackBuild b/source/l/gegl/gegl.SlackBuild
index e09167864..1c6a09712 100755
--- a/source/l/gegl/gegl.SlackBuild
+++ b/source/l/gegl/gegl.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gegl
VERSION=${VERSION:-$(echo gegl-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/l/gexiv2/gexiv2.SlackBuild b/source/l/gexiv2/gexiv2.SlackBuild
index 4a5c4a76f..2e1d0862b 100755
--- a/source/l/gexiv2/gexiv2.SlackBuild
+++ b/source/l/gexiv2/gexiv2.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gexiv2
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/l/graphene/graphene.SlackBuild b/source/l/graphene/graphene.SlackBuild
new file mode 100755
index 000000000..f229fc6e8
--- /dev/null
+++ b/source/l/graphene/graphene.SlackBuild
@@ -0,0 +1,140 @@
+#!/bin/bash
+
+# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PKGNAM=graphene
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=i586 ;;
+ arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) ARCH=$(uname -m) ;;
+ esac
+ export ARCH
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-$PKGNAM
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+
+cd $TMP
+rm -rf $PKGNAM-$VERSION
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
+cd $PKGNAM-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
+ --prefix=/usr \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dtests=false \
+ -Dinstalled_tests=false \
+ .. || exit 1
+ "${NINJA:=ninja}" $NUMJOBS || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
+
+# Strip binaries:
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+# Compress manual pages:
+find $PKG/usr/man -type f -exec gzip -9 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
+cp -a \
+ AUTHORS* ChangeLog CHANGES COPYING* LICENSE* NEWS* README* THANKS* TODO* \
+ $PKG/usr/doc/${PKGNAM}-$VERSION
+
+# If there's a ChangeLog, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+fi
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/l/graphene/graphene.url b/source/l/graphene/graphene.url
new file mode 100644
index 000000000..ca0678804
--- /dev/null
+++ b/source/l/graphene/graphene.url
@@ -0,0 +1 @@
+https://github.com/ebassi/graphene
diff --git a/source/l/graphene/slack-desc b/source/l/graphene/slack-desc
new file mode 100644
index 000000000..922fdb093
--- /dev/null
+++ b/source/l/graphene/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+graphene: graphene (a thin layer of types for graphic libraries)
+graphene:
+graphene: A thin layer of types needed to write a canvas library dealing with
+graphene: points, rectangles, affine matrices, 2D transformations, 4x4 matrices,
+graphene: projections, transformations, vectors, and quaternions. It does not
+graphene: deal with windowing system surfaces, drawing, scene graphs, or input,
+graphene: keeping things small and essential.
+graphene:
+graphene: Homepage: https://ebassi.github.io/graphene/
+graphene:
+graphene:
diff --git a/source/l/gst-plugins-base/gst-plugins-base.SlackBuild b/source/l/gst-plugins-base/gst-plugins-base.SlackBuild
index 22de14190..a14932a28 100755
--- a/source/l/gst-plugins-base/gst-plugins-base.SlackBuild
+++ b/source/l/gst-plugins-base/gst-plugins-base.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gst-plugins-base
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/l/ilmbase/ilmbase-2.2.0-no_undefined.patch b/source/l/ilmbase/ilmbase-2.2.0-no_undefined.patch
deleted file mode 100644
index d64190783..000000000
--- a/source/l/ilmbase/ilmbase-2.2.0-no_undefined.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up ilmbase-2.2.0/IlmThread/Makefile.am.no_undefined ilmbase-2.2.0/IlmThread/Makefile.am
---- ilmbase-2.2.0/IlmThread/Makefile.am.no_undefined 2014-08-09 21:03:38.000000000 -0500
-+++ ilmbase-2.2.0/IlmThread/Makefile.am 2014-11-20 07:44:27.913588030 -0600
-@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
- if LIB_SUFFIX_EXISTS
- libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
- endif
--libIlmThread_la_LIBADD = ../Iex/libIex.la
-+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
-
- libIlmThreadincludedir = $(includedir)/OpenEXR
-
-diff -up ilmbase-2.2.0/IlmThread/Makefile.in.no_undefined ilmbase-2.2.0/IlmThread/Makefile.in
---- ilmbase-2.2.0/IlmThread/Makefile.in.no_undefined 2014-08-09 23:37:24.000000000 -0500
-+++ ilmbase-2.2.0/IlmThread/Makefile.in 2014-11-20 07:44:27.914587968 -0600
-@@ -251,7 +251,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
-
- libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
- -no-undefined $(am__append_1)
--libIlmThread_la_LIBADD = ../Iex/libIex.la
-+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
- libIlmThreadincludedir = $(includedir)/OpenEXR
- libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
- IlmThreadSemaphore.h IlmThreadMutex.h \
diff --git a/source/l/ilmbase/ilmbase.SlackBuild b/source/l/ilmbase/ilmbase.SlackBuild
deleted file mode 100755
index 819755345..000000000
--- a/source/l/ilmbase/ilmbase.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-
-# Copyright 2007, 2013, 2014 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2008, 2009, 2010, 2014, 2018 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by Robby Workman
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PKGNAM=ilmbase
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i586 ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
- exit 0
-fi
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-$PKGNAM
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
-cd $PKGNAM-$VERSION || exit 1
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \+
-
-zcat $CWD/ilmbase-2.2.0-no_undefined.patch.gz | patch -p1 --verbose || exit 1
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --build=$ARCH-slackware-linux || exit 1
-
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a \
- AUTHORS COPYING* INSTALL LICENSE NEWS README* \
- $PKG/usr/doc/$PKGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/l/ilmbase/slack-desc b/source/l/ilmbase/slack-desc
deleted file mode 100644
index c4575b1c0..000000000
--- a/source/l/ilmbase/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-ilmbase: ilmbase (Industrial Light & Magic base libraries)
-ilmbase:
-ilmbase: ilmbase currently includes:
-ilmbase:
-ilmbase: IlmThread - a thread abstraction library
-ilmbase: Imath - a math function library
-ilmbase: Iex - an exception-handling library
-ilmbase: Half - Ilm's 16 bit floating point format library
-ilmbase:
-ilmbase: Homepage: http://www.openexr.org/
-ilmbase:
diff --git a/source/l/imagemagick/imagemagick.SlackBuild b/source/l/imagemagick/imagemagick.SlackBuild
index ac150648e..af104487d 100755
--- a/source/l/imagemagick/imagemagick.SlackBuild
+++ b/source/l/imagemagick/imagemagick.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=imagemagick
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# NOTE: This is to cope with ImageMagick version numbers such as 5.4.7-4,
# which occur fairly often (but not always). If these numbers are all the same,
diff --git a/source/l/openexr/openexr.CVE-2017-9110-to-9116.patch b/source/l/openexr/openexr.CVE-2017-9110-to-9116.patch
deleted file mode 100644
index 98c03a997..000000000
--- a/source/l/openexr/openexr.CVE-2017-9110-to-9116.patch
+++ /dev/null
@@ -1,82 +0,0 @@
---- a/IlmImf/ImfDwaCompressor.cpp
-+++ b/IlmImf/ImfDwaCompressor.cpp
-@@ -2377,7 +2377,12 @@ DwaCompressor::uncompress
-
- const char *dataPtr = inPtr + NUM_SIZES_SINGLE * sizeof(Int64);
-
-- if (inSize < headerSize + compressedSize)
-+ /* Both the sum and individual sizes are checked in case of overflow. */
-+ if (inSize < (headerSize + compressedSize) ||
-+ inSize < unknownCompressedSize ||
-+ inSize < acCompressedSize ||
-+ inSize < dcCompressedSize ||
-+ inSize < rleCompressedSize)
- {
- throw Iex::InputExc("Error uncompressing DWA data"
- "(truncated file).");
-diff --git a/IlmImf/ImfHuf.cpp b/IlmImf/ImfHuf.cpp
-index a375d05..97909a5 100644
---- a/IlmImf/ImfHuf.cpp
-+++ b/IlmImf/ImfHuf.cpp
-@@ -822,7 +822,7 @@ hufEncode // return: output size (in bits)
- }
-
-
--#define getCode(po, rlc, c, lc, in, out, oe) \
-+#define getCode(po, rlc, c, lc, in, out, ob, oe)\
- { \
- if (po == rlc) \
- { \
-@@ -835,6 +835,8 @@ hufEncode // return: output size (in bits)
- \
- if (out + cs > oe) \
- tooMuchData(); \
-+ else if (out - 1 < ob) \
-+ notEnoughData(); \
- \
- unsigned short s = out[-1]; \
- \
-@@ -895,7 +897,7 @@ hufDecode
- //
-
- lc -= pl.len;
-- getCode (pl.lit, rlc, c, lc, in, out, oe);
-+ getCode (pl.lit, rlc, c, lc, in, out, outb, oe);
- }
- else
- {
-@@ -925,7 +927,7 @@ hufDecode
- //
-
- lc -= l;
-- getCode (pl.p[j], rlc, c, lc, in, out, oe);
-+ getCode (pl.p[j], rlc, c, lc, in, out, outb, oe);
- break;
- }
- }
-@@ -952,7 +954,7 @@ hufDecode
- if (pl.len)
- {
- lc -= pl.len;
-- getCode (pl.lit, rlc, c, lc, in, out, oe);
-+ getCode (pl.lit, rlc, c, lc, in, out, outb, oe);
- }
- else
- {
-diff --git a/IlmImf/ImfPizCompressor.cpp b/IlmImf/ImfPizCompressor.cpp
-index 46c6fba..8b3ee38 100644
---- a/IlmImf/ImfPizCompressor.cpp
-+++ b/IlmImf/ImfPizCompressor.cpp
-@@ -573,6 +573,12 @@ PizCompressor::uncompress (const char *inPtr,
- int length;
- Xdr::read (inPtr, length);
-
-+ if (length > inSize)
-+ {
-+ throw InputExc ("Error in header for PIZ-compressed data "
-+ "(invalid array length).");
-+ }
-+
- hufUncompress (inPtr, length, _tmpBuffer, tmpBufferEnd - _tmpBuffer);
-
- //
diff --git a/source/l/openexr/openexr.SlackBuild b/source/l/openexr/openexr.SlackBuild
index a99d238d3..6305eae95 100755
--- a/source/l/openexr/openexr.SlackBuild
+++ b/source/l/openexr/openexr.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=openexr
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -79,41 +79,38 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Patch security issues:
-zcat $CWD/openexr.CVE-2017-9110-to-9116.patch.gz | patch -p1 --verbose || exit 1
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --build=$ARCH-slackware-linux || exit 1
-
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Configure, build, and install:
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
+ -DDOC_INSTALL_DIR="doc" \
+ -DMAN_INSTALL_DIR=/usr/man \
+ .. || exit 1
+ make $NUMJOBS || make || exit 1
+ make install DESTDIR=$PKG || exit 1
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
- AUTHORS COPYING* INSTALL LICENSE NEWS README* \
+ CHANGES* CODE_OF_CONDUCT* CONTRIBUTING* CONTRIBUTORS* GOVERNANCE* INSTALL* LICENSE* README* SECURITY* \
$PKG/usr/doc/$PKGNAM-$VERSION
-mv $PKG/usr/share/doc/OpenEXR-$VERSION/*.pdf $PKG/usr/doc/$PKGNAM-$VERSION/
-rm -rf $PKG/usr/share/doc
-# If there's a ChangeLog, installing at least part of the recent history
+mv $PKG/usr/share/doc/OpenEXR/* $PKG/usr/doc/$PKGNAM-$VERSION
+rmdir $PKG/usr/share/doc/OpenEXR $PKG/usr/share/doc $PKG/usr/share
+
+# If there's a CHANGES file, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
+if [ -r CHANGES ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
+ cat CHANGES | head -n 1000 > $DOCSDIR/CHANGES
+ touch -r CHANGES $DOCSDIR/CHANGES
fi
mkdir -p $PKG/install
diff --git a/source/l/openexr/openexr.url b/source/l/openexr/openexr.url
new file mode 100644
index 000000000..1fa6596a1
--- /dev/null
+++ b/source/l/openexr/openexr.url
@@ -0,0 +1 @@
+https://github.com/AcademySoftwareFoundation/openexr
diff --git a/source/l/poppler/poppler.SlackBuild b/source/l/poppler/poppler.SlackBuild
index 892a0db2f..5902adf33 100755
--- a/source/l/poppler/poppler.SlackBuild
+++ b/source/l/poppler/poppler.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2006, 2007, 2008, 2009, 2010, 2012, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2012, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -77,23 +77,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# At least for now, we will revert this patch since we have
-# things that depend on it:
-xzcat $CWD/poppler.remove.qt4.frontend.diff.xz | patch -p1 -R --verbose || exit 1
-
-# Revert a change to SplashPath.h (in 0.63.0) that breaks compiling the qt4 frontend:
-zcat $CWD/poppler.splashpath.h.revert.diff.gz | patch -p1 --verbose || exit 1
-
-mkdir build
-cd build
+mkdir cmake-build
+cd cmake-build
CXXFLAGS="$SLKCFLAGS -std=c++11 -fpermissive" \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DBUILD_SHARED_LIBS=ON \
- -DENABLE_QT4=ON \
- -DENABLE_QT5=OFF \
+ -DENABLE_QT5=ON \
-DENABLE_XPDF_HEADERS=ON \
-DENABLE_CMS=lcms2 \
-DENABLE_DCTDECODER=libjpeg \
@@ -149,4 +141,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/l/poppler/poppler.remove.qt4.frontend.diff b/source/l/poppler/poppler.remove.qt4.frontend.diff
deleted file mode 100644
index 2b58eb56f..000000000
--- a/source/l/poppler/poppler.remove.qt4.frontend.diff
+++ /dev/null
@@ -1,26533 +0,0 @@
-From fb4c69d270a618bb23791e52f46ec73c86574294 Mon Sep 17 00:00:00 2001
-From: Albert Astals Cid
-Date: Fri, 1 Dec 2017 23:44:17 +0100
-Subject: [PATCH] Remove the Qt4 frontend
-
----
- .gitignore | 2 -
- CMakeLists.txt | 17 -
- cmake/modules/FindQt4.cmake | 1311 -------
- poppler-qt4.pc.cmake | 12 -
- qt4/.gitignore | 4 -
- qt4/CMakeLists.txt | 6 -
- qt4/demos/.gitignore | 4 -
- qt4/demos/CMakeLists.txt | 28 -
- qt4/demos/abstractinfodock.cpp | 57 -
- qt4/demos/abstractinfodock.h | 48 -
- qt4/demos/documentobserver.cpp | 50 -
- qt4/demos/documentobserver.h | 50 -
- qt4/demos/embeddedfiles.cpp | 82 -
- qt4/demos/embeddedfiles.h | 44 -
- qt4/demos/fonts.cpp | 72 -
- qt4/demos/fonts.h | 43 -
- qt4/demos/info.cpp | 72 -
- qt4/demos/info.h | 43 -
- qt4/demos/main_viewer.cpp | 33 -
- qt4/demos/metadata.cpp | 50 -
- qt4/demos/metadata.h | 43 -
- qt4/demos/navigationtoolbar.cpp | 144 -
- qt4/demos/navigationtoolbar.h | 65 -
- qt4/demos/optcontent.cpp | 69 -
- qt4/demos/optcontent.h | 47 -
- qt4/demos/pageview.cpp | 101 -
- qt4/demos/pageview.h | 53 -
- qt4/demos/permissions.cpp | 66 -
- qt4/demos/permissions.h | 43 -
- qt4/demos/thumbnails.cpp | 84 -
- qt4/demos/thumbnails.h | 48 -
- qt4/demos/toc.cpp | 88 -
- qt4/demos/toc.h | 43 -
- qt4/demos/viewer.cpp | 319 --
- qt4/demos/viewer.h | 73 -
- qt4/src/.gitignore | 9 -
- qt4/src/ArthurOutputDev.cc | 812 ----
- qt4/src/ArthurOutputDev.h | 170 -
- qt4/src/CMakeLists.txt | 54 -
- qt4/src/Doxyfile | 1637 ---------
- qt4/src/Mainpage.dox | 85 -
- qt4/src/poppler-annotation-helper.h | 181 -
- qt4/src/poppler-annotation-private.h | 112 -
- qt4/src/poppler-annotation.cc | 5089 --------------------------
- qt4/src/poppler-annotation.h | 1375 -------
- qt4/src/poppler-base-converter.cc | 105 -
- qt4/src/poppler-converter-private.h | 49 -
- qt4/src/poppler-document.cc | 850 -----
- qt4/src/poppler-embeddedfile-private.h | 42 -
- qt4/src/poppler-embeddedfile.cc | 135 -
- qt4/src/poppler-export.h | 20 -
- qt4/src/poppler-fontinfo.cc | 150 -
- qt4/src/poppler-form.cc | 416 ---
- qt4/src/poppler-form.h | 343 --
- qt4/src/poppler-link-extractor-private.h | 57 -
- qt4/src/poppler-link-extractor.cc | 84 -
- qt4/src/poppler-link-private.h | 57 -
- qt4/src/poppler-link.cc | 710 ----
- qt4/src/poppler-link.h | 641 ----
- qt4/src/poppler-media.cc | 168 -
- qt4/src/poppler-media.h | 100 -
- qt4/src/poppler-movie.cc | 110 -
- qt4/src/poppler-optcontent-private.h | 124 -
- qt4/src/poppler-optcontent.cc | 456 ---
- qt4/src/poppler-optcontent.h | 84 -
- qt4/src/poppler-page-private.h | 57 -
- qt4/src/poppler-page-transition-private.h | 28 -
- qt4/src/poppler-page-transition.cc | 101 -
- qt4/src/poppler-page-transition.h | 158 -
- qt4/src/poppler-page.cc | 810 ----
- qt4/src/poppler-pdf-converter.cc | 115 -
- qt4/src/poppler-private.cc | 296 --
- qt4/src/poppler-private.h | 241 --
- qt4/src/poppler-ps-converter.cc | 280 --
- qt4/src/poppler-qiodeviceoutstream-private.h | 47 -
- qt4/src/poppler-qiodeviceoutstream.cc | 64 -
- qt4/src/poppler-qt4.h | 1990 ----------
- qt4/src/poppler-sound.cc | 132 -
- qt4/src/poppler-textbox.cc | 63 -
- qt4/tests/.gitignore | 33 -
- qt4/tests/CMakeLists.txt | 67 -
- qt4/tests/README.unittest | 23 -
- qt4/tests/check_actualtext.cpp | 33 -
- qt4/tests/check_attachments.cpp | 157 -
- qt4/tests/check_dateConversion.cpp | 142 -
- qt4/tests/check_fonts.cpp | 248 --
- qt4/tests/check_goostring.cpp | 127 -
- qt4/tests/check_lexer.cpp | 107 -
- qt4/tests/check_links.cpp | 98 -
- qt4/tests/check_metadata.cpp | 275 --
- qt4/tests/check_optcontent.cpp | 446 ---
- qt4/tests/check_pagelabelinfo.cpp | 43 -
- qt4/tests/check_pagelayout.cpp | 49 -
- qt4/tests/check_pagemode.cpp | 73 -
- qt4/tests/check_password.cpp | 88 -
- qt4/tests/check_permissions.cpp | 44 -
- qt4/tests/check_search.cpp | 175 -
- qt4/tests/check_strings.cpp | 250 --
- qt4/tests/poppler-attachments.cpp | 39 -
- qt4/tests/poppler-fonts.cpp | 89 -
- qt4/tests/poppler-forms.cpp | 166 -
- qt4/tests/poppler-texts.cpp | 40 -
- qt4/tests/stress-poppler-dir.cpp | 67 -
- qt4/tests/stress-poppler-qt4.cpp | 74 -
- qt4/tests/stress-threads-qt4.cpp | 309 --
- qt4/tests/test-password-qt4.cpp | 136 -
- qt4/tests/test-poppler-qt4.cpp | 235 --
- qt4/tests/test-render-to-file.cpp | 69 -
- 108 files changed, 25623 deletions(-)
- delete mode 100644 cmake/modules/FindQt4.cmake
- delete mode 100644 poppler-qt4.pc.cmake
- delete mode 100644 qt4/.gitignore
- delete mode 100644 qt4/CMakeLists.txt
- delete mode 100644 qt4/demos/.gitignore
- delete mode 100644 qt4/demos/CMakeLists.txt
- delete mode 100644 qt4/demos/abstractinfodock.cpp
- delete mode 100644 qt4/demos/abstractinfodock.h
- delete mode 100644 qt4/demos/documentobserver.cpp
- delete mode 100644 qt4/demos/documentobserver.h
- delete mode 100644 qt4/demos/embeddedfiles.cpp
- delete mode 100644 qt4/demos/embeddedfiles.h
- delete mode 100644 qt4/demos/fonts.cpp
- delete mode 100644 qt4/demos/fonts.h
- delete mode 100644 qt4/demos/info.cpp
- delete mode 100644 qt4/demos/info.h
- delete mode 100644 qt4/demos/main_viewer.cpp
- delete mode 100644 qt4/demos/metadata.cpp
- delete mode 100644 qt4/demos/metadata.h
- delete mode 100644 qt4/demos/navigationtoolbar.cpp
- delete mode 100644 qt4/demos/navigationtoolbar.h
- delete mode 100644 qt4/demos/optcontent.cpp
- delete mode 100644 qt4/demos/optcontent.h
- delete mode 100644 qt4/demos/pageview.cpp
- delete mode 100644 qt4/demos/pageview.h
- delete mode 100644 qt4/demos/permissions.cpp
- delete mode 100644 qt4/demos/permissions.h
- delete mode 100644 qt4/demos/thumbnails.cpp
- delete mode 100644 qt4/demos/thumbnails.h
- delete mode 100644 qt4/demos/toc.cpp
- delete mode 100644 qt4/demos/toc.h
- delete mode 100644 qt4/demos/viewer.cpp
- delete mode 100644 qt4/demos/viewer.h
- delete mode 100644 qt4/src/.gitignore
- delete mode 100644 qt4/src/ArthurOutputDev.cc
- delete mode 100644 qt4/src/ArthurOutputDev.h
- delete mode 100644 qt4/src/CMakeLists.txt
- delete mode 100644 qt4/src/Doxyfile
- delete mode 100644 qt4/src/Mainpage.dox
- delete mode 100644 qt4/src/poppler-annotation-helper.h
- delete mode 100644 qt4/src/poppler-annotation-private.h
- delete mode 100644 qt4/src/poppler-annotation.cc
- delete mode 100644 qt4/src/poppler-annotation.h
- delete mode 100644 qt4/src/poppler-base-converter.cc
- delete mode 100644 qt4/src/poppler-converter-private.h
- delete mode 100644 qt4/src/poppler-document.cc
- delete mode 100644 qt4/src/poppler-embeddedfile-private.h
- delete mode 100644 qt4/src/poppler-embeddedfile.cc
- delete mode 100644 qt4/src/poppler-export.h
- delete mode 100644 qt4/src/poppler-fontinfo.cc
- delete mode 100644 qt4/src/poppler-form.cc
- delete mode 100644 qt4/src/poppler-form.h
- delete mode 100644 qt4/src/poppler-link-extractor-private.h
- delete mode 100644 qt4/src/poppler-link-extractor.cc
- delete mode 100644 qt4/src/poppler-link-private.h
- delete mode 100644 qt4/src/poppler-link.cc
- delete mode 100644 qt4/src/poppler-link.h
- delete mode 100644 qt4/src/poppler-media.cc
- delete mode 100644 qt4/src/poppler-media.h
- delete mode 100644 qt4/src/poppler-movie.cc
- delete mode 100644 qt4/src/poppler-optcontent-private.h
- delete mode 100644 qt4/src/poppler-optcontent.cc
- delete mode 100644 qt4/src/poppler-optcontent.h
- delete mode 100644 qt4/src/poppler-page-private.h
- delete mode 100644 qt4/src/poppler-page-transition-private.h
- delete mode 100644 qt4/src/poppler-page-transition.cc
- delete mode 100644 qt4/src/poppler-page-transition.h
- delete mode 100644 qt4/src/poppler-page.cc
- delete mode 100644 qt4/src/poppler-pdf-converter.cc
- delete mode 100644 qt4/src/poppler-private.cc
- delete mode 100644 qt4/src/poppler-private.h
- delete mode 100644 qt4/src/poppler-ps-converter.cc
- delete mode 100644 qt4/src/poppler-qiodeviceoutstream-private.h
- delete mode 100644 qt4/src/poppler-qiodeviceoutstream.cc
- delete mode 100644 qt4/src/poppler-qt4.h
- delete mode 100644 qt4/src/poppler-sound.cc
- delete mode 100644 qt4/src/poppler-textbox.cc
- delete mode 100644 qt4/tests/.gitignore
- delete mode 100644 qt4/tests/CMakeLists.txt
- delete mode 100644 qt4/tests/README.unittest
- delete mode 100644 qt4/tests/check_actualtext.cpp
- delete mode 100644 qt4/tests/check_attachments.cpp
- delete mode 100644 qt4/tests/check_dateConversion.cpp
- delete mode 100644 qt4/tests/check_fonts.cpp
- delete mode 100644 qt4/tests/check_goostring.cpp
- delete mode 100644 qt4/tests/check_lexer.cpp
- delete mode 100644 qt4/tests/check_links.cpp
- delete mode 100644 qt4/tests/check_metadata.cpp
- delete mode 100644 qt4/tests/check_optcontent.cpp
- delete mode 100644 qt4/tests/check_pagelabelinfo.cpp
- delete mode 100644 qt4/tests/check_pagelayout.cpp
- delete mode 100644 qt4/tests/check_pagemode.cpp
- delete mode 100644 qt4/tests/check_password.cpp
- delete mode 100644 qt4/tests/check_permissions.cpp
- delete mode 100644 qt4/tests/check_search.cpp
- delete mode 100644 qt4/tests/check_strings.cpp
- delete mode 100644 qt4/tests/poppler-attachments.cpp
- delete mode 100644 qt4/tests/poppler-fonts.cpp
- delete mode 100644 qt4/tests/poppler-forms.cpp
- delete mode 100644 qt4/tests/poppler-texts.cpp
- delete mode 100644 qt4/tests/stress-poppler-dir.cpp
- delete mode 100644 qt4/tests/stress-poppler-qt4.cpp
- delete mode 100644 qt4/tests/stress-threads-qt4.cpp
- delete mode 100644 qt4/tests/test-password-qt4.cpp
- delete mode 100644 qt4/tests/test-poppler-qt4.cpp
- delete mode 100644 qt4/tests/test-render-to-file.cpp
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0d753efe..2ed1398a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -40,7 +40,6 @@ set (CMAKE_CXX_EXTENSIONS OFF)
- # command line switches
- option(ENABLE_XPDF_HEADERS "Install unsupported xpdf headers." OFF)
- option(BUILD_GTK_TESTS "Whether compile the GTK+ test programs." ON)
--option(BUILD_QT4_TESTS "Whether compile the Qt4 test programs." ON)
- option(BUILD_QT5_TESTS "Whether compile the Qt5 test programs." ON)
- option(BUILD_CPP_TESTS "Whether compile the CPP test programs." ON)
- option(ENABLE_SPLASH "Build the Splash graphics backend." ON)
-@@ -48,7 +47,6 @@ option(ENABLE_UTILS "Compile poppler command line utils." ON)
- option(ENABLE_CPP "Compile poppler cpp wrapper." ON)
- option(ENABLE_GLIB "Compile poppler glib wrapper." ON)
- option(ENABLE_GTK_DOC "Whether to generate glib API documentation." OFF)
--option(ENABLE_QT4 "Compile poppler qt4 wrapper." ON)
- option(ENABLE_QT5 "Compile poppler qt5 wrapper." ON)
- set(ENABLE_LIBOPENJPEG "openjpeg2" CACHE STRING "Use libopenjpeg for JPX streams. Possible values: openjpeg2, unmaintained, none. 'unmaintained' gives you the internal unmaintained decoder. Use at your own risk. 'none' compiles no JPX decoder at all. Default: openjpeg2")
- set(ENABLE_CMS "lcms2" CACHE STRING "Use color management system. Possible values: lcms2, none. 'none' disables color management system.")
-@@ -114,7 +112,6 @@ set(OPI_SUPPORT ON)
- set(TEXTOUT_WORD_LIST ON)
-
- # setting the minimum required versions for some components
--set(QT4_MIN_VERSION "4.7.0")
- set(CAIRO_VERSION "1.10.0")
- set(GLIB_REQUIRED "2.41")
-
-@@ -144,13 +141,6 @@ else()
- message(FATAL_ERROR "Invalid ENABLE_DCTDECODER value.")
- endif()
-
--if (ENABLE_QT4)
-- macro_optional_find_package(Qt4)
-- if (NOT QT4_FOUND)
-- set(ENABLE_QT4 OFF)
-- endif()
--endif()
--
- if (ENABLE_QT5)
- find_package(Qt5Core)
- find_package(Qt5Gui)
-@@ -670,9 +660,6 @@ if(ENABLE_GLIB)
- add_subdirectory(glib)
- endif()
- add_subdirectory(test)
--if(ENABLE_QT4)
-- add_subdirectory(qt4)
--endif()
- if(ENABLE_QT5)
- add_subdirectory(qt5)
- endif()
-@@ -697,9 +684,6 @@ poppler_create_install_pkgconfig(poppler.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
- if(ENABLE_SPLASH)
- poppler_create_install_pkgconfig(poppler-splash.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
- endif()
--if(ENABLE_QT4)
-- poppler_create_install_pkgconfig(poppler-qt4.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
--endif()
- if(ENABLE_QT5)
- poppler_create_install_pkgconfig(poppler-qt5.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
- endif()
-@@ -721,7 +705,6 @@ if(SPLASH_CMYK)
- message(" with CMYK support")
- endif()
- show_end_message_yesno("cairo output" CAIRO_FOUND)
--show_end_message_yesno("qt4 wrapper" ENABLE_QT4)
- show_end_message_yesno("qt5 wrapper" ENABLE_QT5)
- show_end_message_yesno("glib wrapper" ENABLE_GLIB)
- show_end_message_yesno(" introspection" INTROSPECTION_FOUND)
-diff --git a/cmake/modules/FindQt4.cmake b/cmake/modules/FindQt4.cmake
-deleted file mode 100644
-index 79378b0c..00000000
---- a/cmake/modules/FindQt4.cmake
-+++ /dev/null
-@@ -1,1311 +0,0 @@
--# - Find QT 4
--# This module can be used to find Qt4.
--# The most important issue is that the Qt4 qmake is available via the system path.
--# This qmake is then used to detect basically everything else.
--# This module defines a number of key variables and macros. First is
--# QT_USE_FILE which is the path to a CMake file that can be included to compile
--# Qt 4 applications and libraries. By default, the QtCore and QtGui
--# libraries are loaded. This behavior can be changed by setting one or more
--# of the following variables to true:
--# QT_DONT_USE_QTCORE
--# QT_DONT_USE_QTGUI
--# QT_USE_QT3SUPPORT
--# QT_USE_QTASSISTANT
--# QT_USE_QTDESIGNER
--# QT_USE_QTMOTIF
--# QT_USE_QTMAIN
--# QT_USE_QTNETWORK
--# QT_USE_QTNSPLUGIN
--# QT_USE_QTOPENGL
--# QT_USE_QTSQL
--# QT_USE_QTXML
--# QT_USE_QTSVG
--# QT_USE_QTTEST
--# QT_USE_QTUITOOLS
--# QT_USE_QTDBUS
--# QT_USE_QTSCRIPT
--#
--# All the libraries required are stored in a variable called QT_LIBRARIES.
--# Add this variable to your TARGET_LINK_LIBRARIES.
--#
--# macro QT4_WRAP_CPP(outfiles inputfile ... OPTIONS ...)
--# create moc code from a list of files containing Qt class with
--# the Q_OBJECT declaration. Options may be given to moc, such as those found
--# when executing "moc -help"
--#
--# macro QT4_WRAP_UI(outfiles inputfile ... OPTIONS ...)
--# create code from a list of Qt designer ui files.
--# Options may be given to uic, such as those found
--# when executing "uic -help"
--#
--# macro QT4_ADD_RESOURCES(outfiles inputfile ... OPTIONS ...)
--# create code from a list of Qt resource files.
--# Options may be given to rcc, such as those found
--# when executing "rcc -help"
--#
--# macro QT4_AUTOMOC(inputfile ... )
--# macro QT4_GENERATE_MOC(inputfile outputfile )
--#
--# macro QT4_ADD_DBUS_INTERFACE(outfiles interface basename)
--# create a the interface header and implementation files with the
--# given basename from the given interface xml file and add it to
--# the list of sources.
--# To disable generating a namespace header, set the source file property
--# NO_NAMESPACE to TRUE on the interface file.
--#
--# macro QT4_ADD_DBUS_INTERFACES(outfiles inputfile ... )
--# create the interface header and implementation files
--# for all listed interface xml files
--# the name will be automatically determined from the name of the xml file
--# To disable generating namespace headers, set the source file property
--# NO_NAMESPACE to TRUE for these inputfiles.
--#
--# macro QT4_ADD_DBUS_ADAPTOR(outfiles xmlfile parentheader parentclassname [basename] [classname])
--# create a dbus adaptor (header and implementation file) from the xml file
--# describing the interface, and add it to the list of sources. The adaptor
--# forwards the calls to a parent class, defined in parentheader and named
--# parentclassname. The name of the generated files will be
--# adaptor.{cpp,h} where basename defaults to the basename of the xml file.
--# If is provided, then it will be used as the classname of the
--# adaptor itself.
--#
--# macro QT4_GENERATE_DBUS_INTERFACE( header [interfacename] OPTIONS ...)
--# generate the xml interface file from the given header.
--# If the optional argument interfacename is omitted, the name of the
--# interface file is constructed from the basename of the header with
--# the suffix .xml appended.
--# Options may be given to uic, such as those found when executing "qdbuscpp2xml --help"
--#
--# QT_FOUND If false, don't try to use Qt.
--# QT4_FOUND If false, don't try to use Qt 4.
--#
--# QT4_QTCORE_FOUND True if QtCore was found.
--# QT4_QTGUI_FOUND True if QtGui was found.
--# QT4_QT3SUPPORT_FOUND True if Qt3Support was found.
--# QT4_QTASSISTANT_FOUND True if QtAssistant was found.
--# QT4_QTDBUS_FOUND True if QtDBus was found.
--# QT4_QTDESIGNER_FOUND True if QtDesigner was found.
--# QT4_QTDESIGNERCOMPONENTS True if QtDesignerComponents was found.
--# QT4_QTMOTIF_FOUND True if QtMotif was found.
--# QT4_QTNETWORK_FOUND True if QtNetwork was found.
--# QT4_QTNSPLUGIN_FOUND True if QtNsPlugin was found.
--# QT4_QTOPENGL_FOUND True if QtOpenGL was found.
--# QT4_QTSQL_FOUND True if QtSql was found.
--# QT4_QTXML_FOUND True if QtXml was found.
--# QT4_QTSVG_FOUND True if QtSvg was found.
--# QT4_QTSCRIPT_FOUND True if QtScript was found.
--# QT4_QTTEST_FOUND True if QtTest was found.
--# QT4_QTUITOOLS_FOUND True if QtUiTools was found.
--#
--# QT4_DEFINITIONS Definitions to use when compiling code that uses Qt.
--#
--# QT4_INCLUDES List of paths to all include directories of
--# Qt4 QT4_INCLUDE_DIR and QT4_QTCORE_INCLUDE_DIR are
--# always in this variable even if NOTFOUND,
--# all other INCLUDE_DIRS are
--# only added if they are found.
--#
--# QT4_INCLUDE_DIR Path to "include" of Qt4
--# QT4_QT4_INCLUDE_DIR Path to "include/Qt"
--# QT4_QT3SUPPORT_INCLUDE_DIR Path to "include/Qt3Support"
--# QT4_QTASSISTANT_INCLUDE_DIR Path to "include/QtAssistant"
--# QT4_QTCORE_INCLUDE_DIR Path to "include/QtCore"
--# QT4_QTDESIGNER_INCLUDE_DIR Path to "include/QtDesigner"
--# QT4_QTDESIGNERCOMPONENTS_INCLUDE_DIR Path to "include/QtDesigner"
--# QT4_QTDBUS_INCLUDE_DIR Path to "include/QtDBus"
--# QT4_QTGUI_INCLUDE_DIR Path to "include/QtGui"
--# QT4_QTMOTIF_INCLUDE_DIR Path to "include/QtMotif"
--# QT4_QTNETWORK_INCLUDE_DIR Path to "include/QtNetwork"
--# QT4_QTNSPLUGIN_INCLUDE_DIR Path to "include/QtNsPlugin"
--# QT4_QTOPENGL_INCLUDE_DIR Path to "include/QtOpenGL"
--# QT4_QTSQL_INCLUDE_DIR Path to "include/QtSql"
--# QT4_QTXML_INCLUDE_DIR Path to "include/QtXml"
--# QT4_QTSVG_INCLUDE_DIR Path to "include/QtSvg"
--# QT4_QTSCRIPT_INCLUDE_DIR Path to "include/QtScript"
--# QT4_QTTEST_INCLUDE_DIR Path to "include/QtTest"
--#
--# QT4_LIBRARY_DIR Path to "lib" of Qt4
--#
--# QT4_PLUGINS_DIR Path to "plugins" for Qt4
--#
--# For every library of Qt, a QT4_QTFOO_LIBRARY variable is defined, with the full path to the library.
--#
--# So there are the following variables:
--# The Qt3Support library: QT4_QT3SUPPORT_LIBRARY
--#
--# The QtAssistant library: QT4_QTASSISTANT_LIBRARY
--#
--# The QtCore library: QT4_QTCORE_LIBRARY
--#
--# The QtDBus library: QT4_QTDBUS_LIBRARY
--#
--# The QtDesigner library: QT4_QTDESIGNER_LIBRARY
--#
--# The QtDesignerComponents library: QT4_QTDESIGNERCOMPONENTS_LIBRARY
--#
--# The QtGui library: QT4_QTGUI_LIBRARY
--#
--# The QtMotif library: QT4_QTMOTIF_LIBRARY
--#
--# The QtNetwork library: QT4_QTNETWORK_LIBRARY
--#
--# The QtNsPLugin library: QT4_QTNSPLUGIN_LIBRARY
--#
--# The QtOpenGL library: QT4_QTOPENGL_LIBRARY
--#
--# The QtSql library: QT4_QTSQL_LIBRARY
--#
--# The QtXml library: QT4_QTXML_LIBRARY
--#
--# The QtSvg library: QT4_QTSVG_LIBRARY
--#
--# The QtScript library: QT4_QTSCRIPT_LIBRARY
--#
--# The QtTest library: QT4_QTTEST_LIBRARY
--#
--# The qtmain library for Windows QT4_QTMAIN_LIBRARY
--#
--# The QtUiTools library: QT4_QTUITOOLS_LIBRARY
--#
--# also defined, but NOT for general use are
--# QT4_MOC_EXECUTABLE Where to find the moc tool.
--# QT4_UIC_EXECUTABLE Where to find the uic tool.
--# QT_UIC3_EXECUTABLE Where to find the uic3 tool.
--# QT_RCC_EXECUTABLE Where to find the rcc tool
--# QT_DBUSCPP2XML_EXECUTABLE Where to find the qdbuscpp2xml tool.
--# QT_DBUSXML2CPP_EXECUTABLE Where to find the qdbusxml2cpp tool.
--#
--# QT_DOC_DIR Path to "doc" of Qt4
--# QT_MKSPECS_DIR Path to "mkspecs" of Qt4
--#
--#
--# These are around for backwards compatibility
--# they will be set
--# QT_WRAP_CPP Set true if QT4_MOC_EXECUTABLE is found
--# QT_WRAP_UI Set true if QT4_UIC_EXECUTABLE is found
--#
--# These variables do _NOT_ have any effect anymore (compared to FindQt.cmake)
--# QT_MT_REQUIRED Qt4 is now always multithreaded
--#
--# These variables are set to "" Because Qt structure changed
--# (They make no sense in Qt4)
--# QT4_QT_LIBRARY Qt-Library is now split
--
--# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
--# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
--
--if (QT4_QMAKE_FOUND)
-- # Check already done in this cmake run, nothing more to do
--
--else (QT4_QMAKE_FOUND)
--
--# check that QT_NO_DEBUG is defined for release configurations
--MACRO(QT_CHECK_FLAG_EXISTS FLAG VAR DOC)
-- IF(NOT ${VAR} MATCHES "${FLAG}")
-- SET(${VAR} "${${VAR}} ${FLAG}"
-- CACHE STRING "Flags used by the compiler during ${DOC} builds." FORCE)
-- ENDIF(NOT ${VAR} MATCHES "${FLAG}")
--ENDMACRO(QT_CHECK_FLAG_EXISTS FLAG VAR)
--QT_CHECK_FLAG_EXISTS(-DQT_NO_DEBUG CMAKE_CXX_FLAGS_RELWITHDEBINFO "Release with Debug Info")
--QT_CHECK_FLAG_EXISTS(-DQT_NO_DEBUG CMAKE_CXX_FLAGS_RELEASE "release")
--QT_CHECK_FLAG_EXISTS(-DQT_NO_DEBUG CMAKE_CXX_FLAGS_MINSIZEREL "release minsize")
--
--INCLUDE(CheckSymbolExists)
--INCLUDE(MacroAddFileDependencies)
--INCLUDE(MacroPushRequiredVars)
--
--SET(QT_USE_FILE ${CMAKE_ROOT}/Modules/UseQt4.cmake)
--
--SET( QT4_DEFINITIONS "")
--
--IF (WIN32)
-- SET(QT4_DEFINITIONS -DQT_DLL)
--ENDIF(WIN32)
--
--SET(QT4_INSTALLED_VERSION_TOO_OLD FALSE)
--
--# macro for asking qmake to process pro files
--MACRO(QT_QUERY_QMAKE outvar invar)
-- FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmpQmake/tmp.pro
-- "message(CMAKE_MESSAGE<$$${invar}>)")
--
-- # Invoke qmake with the tmp.pro program to get the desired
-- # information. Use the same variable for both stdout and stderr
-- # to make sure we get the output on all platforms.
-- EXECUTE_PROCESS(COMMAND ${QT_QMAKE_EXECUTABLE}
-- WORKING_DIRECTORY
-- ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmpQmake
-- OUTPUT_VARIABLE _qmake_query_output
-- RESULT_VARIABLE _qmake_result
-- ERROR_VARIABLE _qmake_query_output )
--
-- FILE(REMOVE_RECURSE
-- "${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmpQmake")
--
-- IF(_qmake_result)
-- MESSAGE(WARNING " querying qmake for ${invar}. qmake reported:\n${_qmake_query_output}")
-- ELSE(_qmake_result)
-- STRING(REGEX REPLACE ".*CMAKE_MESSAGE<([^>]*).*" "\\1" ${outvar} "${_qmake_query_output}")
-- ENDIF(_qmake_result)
--
--ENDMACRO(QT_QUERY_QMAKE)
--
--MACRO(VERIFY_QMAKE_QT4)
-- EXEC_PROGRAM(${QT_QMAKE_EXECUTABLE} ARGS "-query QT_VERSION" OUTPUT_VARIABLE QTVERSION)
--
-- # check for qt3 qmake and then try and find qmake4 or qmake-qt4 in the path
-- IF("${QTVERSION}" MATCHES "Unknown")
-- SET(QT_QMAKE_EXECUTABLE NOTFOUND CACHE FILEPATH "" FORCE)
-- FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 PATHS
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin"
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin"
-- $ENV{QTDIR}/bin
-- )
-- IF(QT_QMAKE_EXECUTABLE)
-- EXEC_PROGRAM(${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QT_VERSION" OUTPUT_VARIABLE QTVERSION)
-- ENDIF(QT_QMAKE_EXECUTABLE)
-- ENDIF("${QTVERSION}" MATCHES "Unknown")
--
-- # check that we found the Qt4 qmake, Qt3 qmake output won't match here
-- STRING(REGEX MATCH "^[0-9]+\\.[0-9]+\\.[0-9]+" qt_version_tmp "${QTVERSION}")
-- IF (qt_version_tmp)
--
-- # we need at least version 4.0.0
-- IF (NOT QT4_MIN_VERSION)
-- SET(QT4_MIN_VERSION "4.0.0")
-- ENDIF (NOT QT4_MIN_VERSION)
--
-- #now parse the parts of the user given version string into variables
-- STRING(REGEX MATCH "^[0-9]+\\.[0-9]+\\.[0-9]+" req_qt_major_vers "${QT4_MIN_VERSION}")
-- IF (NOT req_qt_major_vers)
-- MESSAGE( FATAL_ERROR "Invalid Qt version string given: \"${QT4_MIN_VERSION}\", expected e.g. \"4.0.1\"")
-- ENDIF (NOT req_qt_major_vers)
--
-- # now parse the parts of the user given version string into variables
-- STRING(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" req_qt_major_vers "${QT4_MIN_VERSION}")
-- STRING(REGEX REPLACE "^[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" req_qt_minor_vers "${QT4_MIN_VERSION}")
-- STRING(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" req_qt_patch_vers "${QT4_MIN_VERSION}")
--
-- IF (NOT req_qt_major_vers EQUAL 4)
-- MESSAGE( FATAL_ERROR "Invalid Qt version string given: \"${QT4_MIN_VERSION}\", major version 4 is required, e.g. \"4.0.1\"")
-- ENDIF (NOT req_qt_major_vers EQUAL 4)
--
-- # and now the version string given by qmake
-- STRING(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" found_qt_major_vers "${QTVERSION}")
-- STRING(REGEX REPLACE "^[0-9]+\\.([0-9])+\\.[0-9]+.*" "\\1" found_qt_minor_vers "${QTVERSION}")
-- STRING(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" found_qt_patch_vers "${QTVERSION}")
-- IF (${found_qt_major_vers} EQUAL 4)
-- # compute an overall version number which can be compared at once
-- MATH(EXPR req_vers "${req_qt_major_vers}*10000 + ${req_qt_minor_vers}*100 + ${req_qt_patch_vers}")
-- MATH(EXPR found_vers "${found_qt_major_vers}*10000 + ${found_qt_minor_vers}*100 + ${found_qt_patch_vers}")
--
--
-- IF (found_vers LESS req_vers)
-- SET(QT4_QMAKE_FOUND FALSE)
-- SET(QT4_INSTALLED_VERSION_TOO_OLD TRUE)
-- ELSE (found_vers LESS req_vers)
-- SET(QT4_QMAKE_FOUND TRUE)
-- ENDIF (found_vers LESS req_vers)
-- ENDIF ()
-- ENDIF (qt_version_tmp)
--ENDMACRO()
--
--GET_FILENAME_COMPONENT(qt_install_version "[HKEY_CURRENT_USER\\Software\\trolltech\\Versions;DefaultQtVersion]" NAME)
--# check for qmake
--FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake qmake4 qmake-qt4 PATHS
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin"
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin"
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};InstallDir]/bin"
-- $ENV{QTDIR}/bin
--)
--
--IF (QT_QMAKE_EXECUTABLE)
--
-- SET(QT4_QMAKE_FOUND FALSE)
-- VERIFY_QMAKE_QT4()
--
-- IF (NOT QT4_QMAKE_FOUND)
-- FIND_PROGRAM(QT_QMAKE_EXECUTABLE2 NAMES qmake4 qmake-qt4 PATHS
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin"
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin"
-- "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};InstallDir]/bin"
-- $ENV{QTDIR}/bin
-- )
-- SET(QT_QMAKE_EXECUTABLE ${QT_QMAKE_EXECUTABLE2})
-- VERIFY_QMAKE_QT4()
-- ENDIF()
--
--ENDIF (QT_QMAKE_EXECUTABLE)
--
--IF (QT4_QMAKE_FOUND)
--
-- if (WIN32)
-- # get qt install dir
-- get_filename_component(_DIR ${QT_QMAKE_EXECUTABLE} PATH )
-- get_filename_component(QT_INSTALL_DIR ${_DIR} PATH )
-- endif (WIN32)
--
-- # ask qmake for the library dir
-- # Set QT4_LIBRARY_DIR
-- IF (NOT QT4_LIBRARY_DIR)
-- EXEC_PROGRAM( ${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QT_INSTALL_LIBS"
-- OUTPUT_VARIABLE QT4_LIBRARY_DIR_TMP )
-- IF(EXISTS "${QT4_LIBRARY_DIR_TMP}")
-- SET(QT4_LIBRARY_DIR ${QT4_LIBRARY_DIR_TMP} CACHE PATH "Qt library dir")
-- ELSE(EXISTS "${QT4_LIBRARY_DIR_TMP}")
-- MESSAGE("Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as ${QT4_LIBRARY_DIR_TMP}")
-- MESSAGE("Warning: ${QT4_LIBRARY_DIR_TMP} does NOT exist, Qt must NOT be installed correctly.")
-- ENDIF(EXISTS "${QT4_LIBRARY_DIR_TMP}")
-- ENDIF(NOT QT4_LIBRARY_DIR)
--
-- IF (APPLE)
-- IF (EXISTS ${QT4_LIBRARY_DIR}/QtCore.framework)
-- SET(QT_USE_FRAMEWORKS ON
-- CACHE BOOL "Set to ON if Qt build uses frameworks.")
-- ELSE (EXISTS ${QT4_LIBRARY_DIR}/QtCore.framework)
-- SET(QT_USE_FRAMEWORKS OFF
-- CACHE BOOL "Set to ON if Qt build uses frameworks.")
-- ENDIF (EXISTS ${QT4_LIBRARY_DIR}/QtCore.framework)
--
-- MARK_AS_ADVANCED(QT_USE_FRAMEWORKS)
-- ENDIF (APPLE)
--
-- # ask qmake for the binary dir
-- IF (NOT QT_BINARY_DIR)
-- EXEC_PROGRAM(${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QT_INSTALL_BINS"
-- OUTPUT_VARIABLE qt_bins )
-- SET(QT_BINARY_DIR ${qt_bins} CACHE INTERNAL "")
-- ENDIF (NOT QT_BINARY_DIR)
--
-- # ask qmake for the include dir
-- IF (NOT QT_HEADERS_DIR)
-- EXEC_PROGRAM( ${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QT_INSTALL_HEADERS"
-- OUTPUT_VARIABLE qt_headers )
-- SET(QT_HEADERS_DIR ${qt_headers} CACHE INTERNAL "")
-- ENDIF(NOT QT_HEADERS_DIR)
--
--
-- # ask qmake for the documentation directory
-- IF (NOT QT_DOC_DIR)
-- EXEC_PROGRAM( ${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QT_INSTALL_DOCS"
-- OUTPUT_VARIABLE qt_doc_dir )
-- SET(QT_DOC_DIR ${qt_doc_dir} CACHE PATH "The location of the Qt docs")
-- ENDIF (NOT QT_DOC_DIR)
--
-- # ask qmake for the mkspecs directory
-- IF (NOT QT_MKSPECS_DIR)
-- EXEC_PROGRAM( ${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QMAKE_MKSPECS"
-- OUTPUT_VARIABLE qt_mkspecs_dirs )
-- STRING(REPLACE ":" ";" qt_mkspecs_dirs "${qt_mkspecs_dirs}")
-- FIND_PATH(QT_MKSPECS_DIR qconfig.pri PATHS ${qt_mkspecs_dirs}
-- DOC "The location of the Qt mkspecs containing qconfig.pri"
-- NO_DEFAULT_PATH )
-- ENDIF (NOT QT_MKSPECS_DIR)
--
-- # ask qmake for the plugins directory
-- IF (NOT QT4_PLUGINS_DIR)
-- EXEC_PROGRAM( ${QT_QMAKE_EXECUTABLE}
-- ARGS "-query QT_INSTALL_PLUGINS"
-- OUTPUT_VARIABLE qt_plugins_dir )
-- SET(QT4_PLUGINS_DIR ${qt_plugins_dir} CACHE PATH "The location of the Qt plugins")
-- ENDIF (NOT QT4_PLUGINS_DIR)
-- ########################################
-- #
-- # Setting the INCLUDE-Variables
-- #
-- ########################################
--
-- FIND_PATH(QT4_QTCORE_INCLUDE_DIR QtGlobal
-- ${QT_HEADERS_DIR}/QtCore
-- ${QT4_LIBRARY_DIR}/QtCore.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_INCLUDE_DIR by removine "/QtCore" in the string ${QT4_QTCORE_INCLUDE_DIR}
-- IF( QT4_QTCORE_INCLUDE_DIR AND NOT QT4_INCLUDE_DIR)
-- IF (QT_USE_FRAMEWORKS)
-- SET(QT4_INCLUDE_DIR ${QT_HEADERS_DIR})
-- ELSE (QT_USE_FRAMEWORKS)
-- STRING( REGEX REPLACE "/QtCore$" "" qt4_include_dir ${QT4_QTCORE_INCLUDE_DIR})
-- SET( QT4_INCLUDE_DIR ${qt4_include_dir} CACHE PATH "")
-- ENDIF (QT_USE_FRAMEWORKS)
-- ENDIF( QT4_QTCORE_INCLUDE_DIR AND NOT QT4_INCLUDE_DIR)
--
-- IF( NOT QT4_INCLUDE_DIR)
-- IF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
-- MESSAGE( FATAL_ERROR "Could NOT find QtGlobal header")
-- ENDIF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
-- ENDIF( NOT QT4_INCLUDE_DIR)
--
-- #############################################
-- #
-- # Find out what window system we're using
-- #
-- #############################################
-- # Save required includes and required_flags variables
-- macro_push_required_vars()
-- # Add QT4_INCLUDE_DIR to CMAKE_REQUIRED_INCLUDES
-- SET(CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES};${QT4_INCLUDE_DIR}")
-- # On Mac OS X when Qt has framework support, also add the framework path
-- IF( QT_USE_FRAMEWORKS )
-- SET(CMAKE_REQUIRED_FLAGS "-F${QT4_LIBRARY_DIR} ")
-- ENDIF( QT_USE_FRAMEWORKS )
-- # Check for Window system symbols (note: only one should end up being set)
-- CHECK_SYMBOL_EXISTS(Q_WS_X11 "QtCore/qglobal.h" Q_WS_X11)
-- CHECK_SYMBOL_EXISTS(Q_WS_WIN "QtCore/qglobal.h" Q_WS_WIN)
-- CHECK_SYMBOL_EXISTS(Q_WS_QWS "QtCore/qglobal.h" Q_WS_QWS)
-- CHECK_SYMBOL_EXISTS(Q_WS_MAC "QtCore/qglobal.h" Q_WS_MAC)
--
-- IF (QT4_QTCOPY_REQUIRED)
-- CHECK_SYMBOL_EXISTS(QT_IS_QTCOPY "QtCore/qglobal.h" QT_KDE_QT_COPY)
-- IF (NOT QT_IS_QTCOPY)
-- MESSAGE(FATAL_ERROR "qt-copy is required, but hasn't been found")
-- ENDIF (NOT QT_IS_QTCOPY)
-- ENDIF (QT4_QTCOPY_REQUIRED)
--
-- # Restore CMAKE_REQUIRED_INCLUDES+CMAKE_REQUIRED_FLAGS variables
-- macro_pop_required_vars()
-- #
-- #############################################
--
-- IF (QT_USE_FRAMEWORKS)
-- SET(QT4_DEFINITIONS ${QT4_DEFINITIONS} -F${QT4_LIBRARY_DIR} -L${QT4_LIBRARY_DIR} )
-- ENDIF (QT_USE_FRAMEWORKS)
--
-- # Set QT4_QT3SUPPORT_INCLUDE_DIR
-- FIND_PATH(QT4_QT3SUPPORT_INCLUDE_DIR Qt3Support
-- PATHS
-- ${QT4_INCLUDE_DIR}/Qt3Support
-- ${QT4_LIBRARY_DIR}/Qt3Support.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QT4_INCLUDE_DIR
-- FIND_PATH(QT4_QT4_INCLUDE_DIR qglobal.h
-- PATHS
-- ${QT4_INCLUDE_DIR}/Qt
-- ${QT4_LIBRARY_DIR}/QtCore.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTGUI_INCLUDE_DIR
-- FIND_PATH(QT4_QTGUI_INCLUDE_DIR QtGui
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtGui
-- ${QT4_LIBRARY_DIR}/QtGui.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTSVG_INCLUDE_DIR
-- FIND_PATH(QT4_QTSVG_INCLUDE_DIR QtSvg
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtSvg
-- ${QT4_LIBRARY_DIR}/QtSvg.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTSCRIPT_INCLUDE_DIR
-- FIND_PATH(QT4_QTSCRIPT_INCLUDE_DIR QtScript
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtScript
-- ${QT4_LIBRARY_DIR}/QtScript.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTTEST_INCLUDE_DIR
-- FIND_PATH(QT4_QTTEST_INCLUDE_DIR QtTest
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtTest
-- ${QT4_LIBRARY_DIR}/QtTest.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTUITOOLS_INCLUDE_DIR
-- FIND_PATH(QT4_QTUITOOLS_INCLUDE_DIR QtUiTools
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtUiTools
-- ${QT4_LIBRARY_DIR}/QtUiTools.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
--
--
-- # Set QT4_QTMOTIF_INCLUDE_DIR
-- IF(Q_WS_X11)
-- FIND_PATH(QT4_QTMOTIF_INCLUDE_DIR QtMotif PATHS ${QT4_INCLUDE_DIR}/QtMotif NO_DEFAULT_PATH )
-- ENDIF(Q_WS_X11)
--
-- # Set QT4_QTNETWORK_INCLUDE_DIR
-- FIND_PATH(QT4_QTNETWORK_INCLUDE_DIR QtNetwork
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtNetwork
-- ${QT4_LIBRARY_DIR}/QtNetwork.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTNSPLUGIN_INCLUDE_DIR
-- FIND_PATH(QT4_QTNSPLUGIN_INCLUDE_DIR QtNsPlugin
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtNsPlugin
-- ${QT4_LIBRARY_DIR}/QtNsPlugin.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTOPENGL_INCLUDE_DIR
-- FIND_PATH(QT4_QTOPENGL_INCLUDE_DIR QtOpenGL
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtOpenGL
-- ${QT4_LIBRARY_DIR}/QtOpenGL.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTSQL_INCLUDE_DIR
-- FIND_PATH(QT4_QTSQL_INCLUDE_DIR QtSql
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtSql
-- ${QT4_LIBRARY_DIR}/QtSql.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTXML_INCLUDE_DIR
-- FIND_PATH(QT4_QTXML_INCLUDE_DIR QtXml
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtXml
-- ${QT4_LIBRARY_DIR}/QtXml.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTASSISTANT_INCLUDE_DIR
-- FIND_PATH(QT4_QTASSISTANT_INCLUDE_DIR QtAssistant
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtAssistant
-- ${QT_HEADERS_DIR}/QtAssistant
-- ${QT4_LIBRARY_DIR}/QtAssistant.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTDESIGNER_INCLUDE_DIR
-- FIND_PATH(QT4_QTDESIGNER_INCLUDE_DIR QDesignerComponents
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtDesigner
-- ${QT_HEADERS_DIR}/QtDesigner
-- ${QT4_LIBRARY_DIR}/QtDesigner.framework/Headers
-- NO_DEFAULT_PATH
-- )
--
-- # Set QT4_QTDESIGNERCOMPONENTS_INCLUDE_DIR
-- FIND_PATH(QT4_QTDESIGNERCOMPONENTS_INCLUDE_DIR QDesignerComponents
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtDesigner
-- ${QT_HEADERS_DIR}/QtDesigner
-- NO_DEFAULT_PATH
-- )
--
--
-- # Set QT4_QTDBUS_INCLUDE_DIR
-- FIND_PATH(QT4_QTDBUS_INCLUDE_DIR QtDBus
-- PATHS
-- ${QT4_INCLUDE_DIR}/QtDBus
-- ${QT_HEADERS_DIR}/QtDBus
-- NO_DEFAULT_PATH
-- )
--
-- # Make variables changeble to the advanced user
-- MARK_AS_ADVANCED( QT4_LIBRARY_DIR QT4_INCLUDE_DIR QT4_QT4_INCLUDE_DIR QT_DOC_DIR QT_MKSPECS_DIR QT4_PLUGINS_DIR)
--
-- # Set QT4_INCLUDES
-- SET( QT4_INCLUDES ${QT4_QT4_INCLUDE_DIR} ${QT_MKSPECS_DIR}/default ${QT4_INCLUDE_DIR})
--
--
-- ########################################
-- #
-- # Setting the LIBRARY-Variables
-- #
-- ########################################
--
-- IF (QT_USE_FRAMEWORKS)
-- # If FIND_LIBRARY found libraries in Apple frameworks, we would NOT have
-- # to jump through these hoops.
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtCore.framework)
-- SET(QT4_QTCORE_FOUND TRUE)
-- SET(QT4_QTCORE_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtCore" CACHE STRING "The QtCore library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtCore.framework)
-- SET(QT4_QTCORE_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtCore.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtGui.framework)
-- SET(QT4_QTGUI_FOUND TRUE)
-- SET(QT4_QTGUI_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtGui" CACHE STRING "The QtGui library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtGui.framework)
-- SET(QT4_QTGUI_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtGui.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/Qt3Support.framework)
-- SET(QT4_QT3SUPPORT_FOUND TRUE)
-- SET(QT4_QT3SUPPORT_LIBRARY "-F${QT4_LIBRARY_DIR} -framework Qt3Support" CACHE STRING "The Qt3Support library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/Qt3Support.framework)
-- SET(QT4_QT3SUPPORT_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/Qt3Support.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtNetwork.framework)
-- SET(QT4_QTNETWORK_FOUND TRUE)
-- SET(QT4_QTNETWORK_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtNetwork" CACHE STRING "The QtNetwork library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtNetwork.framework)
-- SET(QT4_QTNETWORK_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtNetwork.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtOpenGL.framework)
-- SET(QT4_QTOPENGL_FOUND TRUE)
-- SET(QT4_QTOPENGL_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtOpenGL" CACHE STRING "The QtOpenGL library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtOpenGL.framework)
-- SET(QT4_QTOPENGL_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtOpenGL.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtSql.framework)
-- SET(QT4_QTSQL_FOUND TRUE)
-- SET(QT4_QTSQL_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtSql" CACHE STRING "The QtSql library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtSql.framework)
-- SET(QT4_QTSQL_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtSql.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtXml.framework)
-- SET(QT4_QTXML_FOUND TRUE)
-- SET(QT4_QTXML_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtXml" CACHE STRING "The QtXml library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtXml.framework)
-- SET(QT4_QTXML_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtXml.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtSvg.framework)
-- SET(QT4_QTSVG_FOUND TRUE)
-- SET(QT4_QTSVG_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtSvg" CACHE STRING "The QtSvg library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtSvg.framework)
-- SET(QT4_QTSVG_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtSvg.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtDBus.framework)
-- SET(QT4_QTDBUS_FOUND TRUE)
-- SET(QT4_QTDBUS_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtDBus" CACHE STRING "The QtDBus library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtDBus.framework)
-- SET(QT4_QTDBUS_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtDBus.framework)
--
-- IF(EXISTS ${QT4_LIBRARY_DIR}/QtTest.framework)
-- SET(QT4_QTTEST_FOUND TRUE)
-- SET(QT4_QTTEST_LIBRARY "-F${QT4_LIBRARY_DIR} -framework QtTest" CACHE STRING "The QtTest library.")
-- ELSE(EXISTS ${QT4_LIBRARY_DIR}/QtTest.framework)
-- SET(QT4_QTTEST_FOUND FALSE)
-- ENDIF(EXISTS ${QT4_LIBRARY_DIR}/QtTest.framework)
--
-- # WTF? why don't we have frameworks? :P
-- # Set QT4_QTUITOOLS_LIBRARY
-- FIND_LIBRARY(QT4_QTUITOOLS_LIBRARY NAMES QtUiTools QtUiTools4 PATHS ${QT4_LIBRARY_DIR} )
-- # Set QT4_QTSCRIPT_LIBRARY
-- FIND_LIBRARY(QT4_QTSCRIPT_LIBRARY NAMES QtScript QtScript4 PATHS ${QT4_LIBRARY_DIR} )
--
-- ELSE (QT_USE_FRAMEWORKS)
--
-- # Set QT4_QTCORE_LIBRARY by searching for a lib with "QtCore." as part of the filename
-- FIND_LIBRARY(QT4_QTCORE_LIBRARY NAMES QtCore QtCore4 QtCored4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH )
--
-- # Set QT4_QT3SUPPORT_LIBRARY
-- FIND_LIBRARY(QT4_QT3SUPPORT_LIBRARY NAMES Qt3Support Qt3Support4 Qt3Supportd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTGUI_LIBRARY
-- FIND_LIBRARY(QT4_QTGUI_LIBRARY NAMES QtGui QtGui4 QtGuid4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTMOTIF_LIBRARY
-- IF(Q_WS_X11)
-- FIND_LIBRARY(QT4_QTMOTIF_LIBRARY NAMES QtMotif PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- ENDIF(Q_WS_X11)
--
-- # Set QT4_QTNETWORK_LIBRARY
-- FIND_LIBRARY(QT4_QTNETWORK_LIBRARY NAMES QtNetwork QtNetwork4 QtNetworkd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTNSPLUGIN_LIBRARY
-- FIND_LIBRARY(QT4_QTNSPLUGIN_LIBRARY NAMES QtNsPlugin PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTOPENGL_LIBRARY
-- FIND_LIBRARY(QT4_QTOPENGL_LIBRARY NAMES QtOpenGL QtOpenGL4 QtOpenGLd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTSQL_LIBRARY
-- FIND_LIBRARY(QT4_QTSQL_LIBRARY NAMES QtSql QtSql4 QtSqld4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTXML_LIBRARY
-- FIND_LIBRARY(QT4_QTXML_LIBRARY NAMES QtXml QtXml4 QtXmld4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTSVG_LIBRARY
-- FIND_LIBRARY(QT4_QTSVG_LIBRARY NAMES QtSvg QtSvg4 QtSvgd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTSCRIPT_LIBRARY
-- FIND_LIBRARY(QT4_QTSCRIPT_LIBRARY NAMES QtScript QtScript4 QtScriptd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTUITOOLS_LIBRARY
-- FIND_LIBRARY(QT4_QTUITOOLS_LIBRARY NAMES QtUiTools QtUiTools4 QtUiToolsd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTTEST_LIBRARY
-- FIND_LIBRARY(QT4_QTTEST_LIBRARY NAMES QtTest QtTest4 QtTestd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- FIND_LIBRARY(QT4_QTDBUS_LIBRARY NAMES QtDBus QtDBus4 QtDBusd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- IF(MSVC)
-- FIND_LIBRARY(QT4_QTCORE_LIBRARY_RELEASE NAMES QtCore4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTCORE_LIBRARY_DEBUG NAMES QtCored4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QT3SUPPORT_LIBRARY_RELEASE NAMES Qt3Support4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QT3SUPPORT_LIBRARY_DEBUG NAMES Qt3Supportd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTGUI_LIBRARY_RELEASE NAMES QtGui4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTGUI_LIBRARY_DEBUG NAMES QtGuid4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTNETWORK_LIBRARY_RELEASE NAMES QtNetwork4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTNETWORK_LIBRARY_DEBUG NAMES QtNetworkd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTOPENGL_LIBRARY_RELEASE NAMES QtOpenGL4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTOPENGL_LIBRARY_DEBUG NAMES QtOpenGLd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTSQL_LIBRARY_RELEASE NAMES QtSql4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTSQL_LIBRARY_DEBUG NAMES QtSqld4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTXML_LIBRARY_RELEASE NAMES QtXml4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTXML_LIBRARY_DEBUG NAMES QtXmld4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTSVG_LIBRARY_RELEASE NAMES QtSvg4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTSVG_LIBRARY_DEBUG NAMES QtSvgd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTSCRIPT_LIBRARY_RELEASE NAMES QtScript4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTSCRIPT_LIBRARY_DEBUG NAMES QtScriptd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTUITOOLS_LIBRARY_RELEASE NAMES QtUiTools QtUiTools4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTUITOOLS_LIBRARY_DEBUG NAMES QtUiToolsd QtUiToolsd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTTEST_LIBRARY_RELEASE NAMES QtTest4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTTEST_LIBRARY_DEBUG NAMES QtTestd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTDBUS_LIBRARY_RELEASE NAMES QtDBus4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTDBUS_LIBRARY_DEBUG NAMES QtDBusd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTASSISTANT_LIBRARY_RELEASE NAMES QtAssistantClient4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTASSISTANT_LIBRARY_DEBUG NAMES QtAssistantClientd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTDESIGNER_LIBRARY_RELEASE NAMES QtDesigner4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTDESIGNER_LIBRARY_DEBUG NAMES QtDesignerd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE NAMES QtDesignerComponents4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG NAMES QtDesignerComponentsd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTMAIN_LIBRARY_RELEASE NAMES qtmain PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- FIND_LIBRARY(QT4_QTMAIN_LIBRARY_DEBUG NAMES qtmaind PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- ENDIF(MSVC)
-- ENDIF (QT_USE_FRAMEWORKS)
--
-- IF( NOT QT4_QTCORE_LIBRARY )
-- IF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
-- MESSAGE( FATAL_ERROR "Could NOT find QtCore. Check ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log for more details.")
-- ENDIF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
-- ENDIF( NOT QT4_QTCORE_LIBRARY )
--
-- # Set QT4_QTASSISTANT_LIBRARY
-- FIND_LIBRARY(QT4_QTASSISTANT_LIBRARY NAMES QtAssistantClient QtAssistantClient4 QtAssistant QtAssistant4 QtAssistantd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTDESIGNER_LIBRARY
-- FIND_LIBRARY(QT4_QTDESIGNER_LIBRARY NAMES QtDesigner QtDesigner4 QtDesignerd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTDESIGNERCOMPONENTS_LIBRARY
-- FIND_LIBRARY(QT4_QTDESIGNERCOMPONENTS_LIBRARY NAMES QtDesignerComponents QtDesignerComponents4 QtDesignerComponentsd4 PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
--
-- # Set QT4_QTMAIN_LIBRARY
-- IF(WIN32)
-- FIND_LIBRARY(QT4_QTMAIN_LIBRARY NAMES qtmain qtmaind PATHS ${QT4_LIBRARY_DIR} NO_DEFAULT_PATH)
-- ENDIF(WIN32)
--
-- ############################################
-- #
-- # Check the existence of the libraries.
-- #
-- ############################################
--
-- MACRO (_QT4_ADJUST_LIB_VARS basename)
-- IF (QT4_${basename}_LIBRARY OR QT4_${basename}_LIBRARY_DEBUG)
--
-- IF(MSVC)
-- # Both set
-- IF (QT4_${basename}_LIBRARY_RELEASE AND QT4_${basename}_LIBRARY_DEBUG)
-- SET(QT4_${basename}_LIBRARY optimized ${QT4_${basename}_LIBRARY_RELEASE} debug ${QT4_${basename}_LIBRARY_DEBUG})
-- ENDIF (QT4_${basename}_LIBRARY_RELEASE AND QT4_${basename}_LIBRARY_DEBUG)
--
-- # Only debug was found
-- IF (NOT QT4_${basename}_LIBRARY_RELEASE AND QT4_${basename}_LIBRARY_DEBUG)
-- SET(QT4_${basename}_LIBRARY ${QT4_${basename}_LIBRARY_DEBUG})
-- ENDIF (NOT QT4_${basename}_LIBRARY_RELEASE AND QT4_${basename}_LIBRARY_DEBUG)
--
-- # Only release was found
-- IF (QT4_${basename}_LIBRARY_RELEASE AND NOT QT4_${basename}_LIBRARY_DEBUG)
-- SET(QT4_${basename}_LIBRARY ${QT4_${basename}_LIBRARY_RELEASE})
-- ENDIF (QT4_${basename}_LIBRARY_RELEASE AND NOT QT4_${basename}_LIBRARY_DEBUG)
--
-- # Hmm, is this used anywhere ? Yes, in UseQt4.cmake. We are currently incompatible :-(
-- SET(QT4_${basename}_LIBRARIES optimized ${QT4_${basename}_LIBRARY} debug ${QT4_${basename}_LIBRARY_DEBUG})
--
-- ENDIF(MSVC)
--
-- SET(QT4_${basename}_LIBRARY ${QT4_${basename}_LIBRARY} CACHE FILEPATH "The Qt4 ${basename} library")
--
-- IF (QT4_${basename}_LIBRARY)
-- SET(QT4_${basename}_FOUND 1)
-- ENDIF (QT4_${basename}_LIBRARY)
--
-- ENDIF (QT4_${basename}_LIBRARY OR QT4_${basename}_LIBRARY_DEBUG)
--
-- IF (QT4_${basename}_INCLUDE_DIR)
-- #add the include directory to QT4_INCLUDES
-- SET(QT4_INCLUDES "${QT4_${basename}_INCLUDE_DIR}" ${QT4_INCLUDES})
-- ENDIF (QT4_${basename}_INCLUDE_DIR)
--
-- # Make variables changeble to the advanced user
-- MARK_AS_ADVANCED(QT4_${basename}_LIBRARY QT4_${basename}_INCLUDE_DIR)
-- ENDMACRO (_QT4_ADJUST_LIB_VARS)
--
--
-- # Set QT_xyz_LIBRARY variable and add
-- # library include path to QT4_INCLUDES
-- _QT4_ADJUST_LIB_VARS(QTCORE)
-- _QT4_ADJUST_LIB_VARS(QTGUI)
-- _QT4_ADJUST_LIB_VARS(QT3SUPPORT)
-- _QT4_ADJUST_LIB_VARS(QTASSISTANT)
-- _QT4_ADJUST_LIB_VARS(QTDESIGNER)
-- _QT4_ADJUST_LIB_VARS(QTDESIGNERCOMPONENTS)
-- _QT4_ADJUST_LIB_VARS(QTNETWORK)
-- _QT4_ADJUST_LIB_VARS(QTNSPLUGIN)
-- _QT4_ADJUST_LIB_VARS(QTOPENGL)
-- _QT4_ADJUST_LIB_VARS(QTSQL)
-- _QT4_ADJUST_LIB_VARS(QTXML)
-- _QT4_ADJUST_LIB_VARS(QTSVG)
-- _QT4_ADJUST_LIB_VARS(QTSCRIPT)
-- _QT4_ADJUST_LIB_VARS(QTUITOOLS)
-- _QT4_ADJUST_LIB_VARS(QTTEST)
-- _QT4_ADJUST_LIB_VARS(QTDBUS)
--
-- # platform dependent libraries
-- IF(Q_WS_X11)
-- _QT4_ADJUST_LIB_VARS(QTMOTIF)
-- ENDIF(Q_WS_X11)
-- IF(WIN32)
-- _QT4_ADJUST_LIB_VARS(QTMAIN)
-- ENDIF(WIN32)
--
--
-- #######################################
-- #
-- # Check the executables of Qt
-- # ( moc, uic, rcc )
-- #
-- #######################################
--
--
-- # find moc and uic using qmake
-- QT_QUERY_QMAKE(QT4_MOC_EXECUTABLE_INTERNAL "QMAKE_MOC")
-- QT_QUERY_QMAKE(QT4_UIC_EXECUTABLE_INTERNAL "QMAKE_UIC")
--
-- FILE(TO_CMAKE_PATH
-- "${QT4_MOC_EXECUTABLE_INTERNAL}" QT4_MOC_EXECUTABLE_INTERNAL)
-- FILE(TO_CMAKE_PATH
-- "${QT4_UIC_EXECUTABLE_INTERNAL}" QT4_UIC_EXECUTABLE_INTERNAL)
--
-- SET(QT4_MOC_EXECUTABLE
-- ${QT4_MOC_EXECUTABLE_INTERNAL} CACHE FILEPATH "The moc executable")
-- SET(QT4_UIC_EXECUTABLE
-- ${QT4_UIC_EXECUTABLE_INTERNAL} CACHE FILEPATH "The uic executable")
--
-- FIND_PROGRAM(QT_UIC3_EXECUTABLE
-- NAMES uic3
-- PATHS ${QT_BINARY_DIR}
-- NO_DEFAULT_PATH
-- )
--
-- FIND_PROGRAM(QT_RCC_EXECUTABLE
-- NAMES rcc
-- PATHS ${QT_BINARY_DIR}
-- NO_DEFAULT_PATH
-- )
--
-- FIND_PROGRAM(QT_DBUSCPP2XML_EXECUTABLE
-- NAMES qdbuscpp2xml
-- PATHS ${QT_BINARY_DIR}
-- NO_DEFAULT_PATH
-- )
--
-- FIND_PROGRAM(QT_DBUSXML2CPP_EXECUTABLE
-- NAMES qdbusxml2cpp
-- PATHS ${QT_BINARY_DIR}
-- NO_DEFAULT_PATH
-- )
--
-- IF (QT4_MOC_EXECUTABLE)
-- SET(QT_WRAP_CPP "YES")
-- ENDIF (QT4_MOC_EXECUTABLE)
--
-- IF (QT4_UIC_EXECUTABLE)
-- SET(QT_WRAP_UI "YES")
-- ENDIF (QT4_UIC_EXECUTABLE)
--
--
--
-- MARK_AS_ADVANCED( QT4_UIC_EXECUTABLE QT_UIC3_EXECUTABLE QT4_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_DBUSXML2CPP_EXECUTABLE QT_DBUSCPP2XML_EXECUTABLE)
--
-- ######################################
-- #
-- # Macros for building Qt files
-- #
-- ######################################
-- MACRO (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options)
-- SET(${_qt4_files})
-- SET(${_qt4_options})
-- SET(_QT4_DOING_OPTIONS FALSE)
-- FOREACH(_currentArg ${ARGN})
-- IF ("${_currentArg}" STREQUAL "OPTIONS")
-- SET(_QT4_DOING_OPTIONS TRUE)
-- ELSE ("${_currentArg}" STREQUAL "OPTIONS")
-- IF(_QT4_DOING_OPTIONS)
-- LIST(APPEND ${_qt4_options} "${_currentArg}")
-- ELSE(_QT4_DOING_OPTIONS)
-- LIST(APPEND ${_qt4_files} "${_currentArg}")
-- ENDIF(_QT4_DOING_OPTIONS)
-- ENDIF ("${_currentArg}" STREQUAL "OPTIONS")
-- ENDFOREACH(_currentArg)
-- ENDMACRO (QT4_EXTRACT_OPTIONS)
--
-- MACRO (QT4_GET_MOC_INC_DIRS _moc_INC_DIRS)
-- SET(${_moc_INC_DIRS})
-- GET_DIRECTORY_PROPERTY(_inc_DIRS INCLUDE_DIRECTORIES)
--
-- FOREACH(_current ${_inc_DIRS})
-- SET(${_moc_INC_DIRS} ${${_moc_INC_DIRS}} "-I" ${_current})
-- ENDFOREACH(_current ${_inc_DIRS})
--
-- ENDMACRO(QT4_GET_MOC_INC_DIRS)
--
--
-- MACRO (QT4_GENERATE_MOC infile outfile )
-- # get include dirs
-- QT4_GET_MOC_INC_DIRS(moc_includes)
--
-- GET_FILENAME_COMPONENT(abs_infile ${infile} ABSOLUTE)
--
-- IF (MSVC_IDE)
-- SET (_moc_parameter_file ${outfile}_parameters)
-- SET (_moc_param "${moc_includes} \n-o${outfile} \n${abs_infile}")
-- STRING(REGEX REPLACE ";-I;" "\\n-I" _moc_param "${_moc_param}")
-- FILE (WRITE ${_moc_parameter_file} "${_moc_param}")
-- ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-- COMMAND ${QT4_MOC_EXECUTABLE}
-- ARGS @"${_moc_parameter_file}"
-- DEPENDS ${abs_infile})
-- ELSE (MSVC_IDE)
-- ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-- COMMAND ${QT4_MOC_EXECUTABLE}
-- ARGS ${moc_includes} -o ${outfile} ${abs_infile}
-- DEPENDS ${abs_infile})
-- ENDIF (MSVC_IDE)
--
-- SET_SOURCE_FILES_PROPERTIES(${outfile} PROPERTIES SKIP_AUTOMOC TRUE) # dont run automoc on this file
--
-- MACRO_ADD_FILE_DEPENDENCIES(${abs_infile} ${outfile})
-- ENDMACRO (QT4_GENERATE_MOC)
--
--
-- # QT4_WRAP_CPP(outfiles inputfile ... )
-- # TODO perhaps add support for -D, -U and other minor options
--
-- MACRO (QT4_WRAP_CPP outfiles )
-- # get include dirs
-- QT4_GET_MOC_INC_DIRS(moc_includes)
-- QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
--
-- FOREACH (it ${moc_files})
-- GET_FILENAME_COMPONENT(it ${it} ABSOLUTE)
-- GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
--
-- SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/moc_${outfile}.cxx)
-- ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-- COMMAND ${QT4_MOC_EXECUTABLE}
-- ARGS ${moc_includes} ${moc_options} -o ${outfile} ${it}
-- DEPENDS ${it})
-- SET(${outfiles} ${${outfiles}} ${outfile})
-- ENDFOREACH(it)
--
-- ENDMACRO (QT4_WRAP_CPP)
--
--
-- # QT4_WRAP_UI(outfiles inputfile ... )
--
-- MACRO (QT4_WRAP_UI outfiles )
-- QT4_EXTRACT_OPTIONS(ui_files ui_options ${ARGN})
--
-- FOREACH (it ${ui_files})
-- GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
-- GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
-- SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h)
-- ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-- COMMAND ${QT4_UIC_EXECUTABLE}
-- ARGS ${ui_options} -o ${outfile} ${infile}
-- MAIN_DEPENDENCY ${infile})
-- SET(${outfiles} ${${outfiles}} ${outfile})
-- ENDFOREACH (it)
--
-- ENDMACRO (QT4_WRAP_UI)
--
--
-- # QT4_ADD_RESOURCES(outfiles inputfile ... )
-- # TODO perhaps consider adding support for compression and root options to rcc
--
-- MACRO (QT4_ADD_RESOURCES outfiles )
-- QT4_EXTRACT_OPTIONS(rcc_files rcc_options ${ARGN})
--
-- FOREACH (it ${rcc_files})
-- GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE)
-- GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
-- GET_FILENAME_COMPONENT(rc_path ${infile} PATH)
-- SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx)
-- # parse file for dependencies
-- # all files are absolute paths or relative to the location of the qrc file
-- FILE(READ "${infile}" _RC_FILE_CONTENTS)
-- STRING(REGEX MATCHALL "]*>" "" _RC_FILE "${_RC_FILE}")
-- STRING(REGEX MATCH "^/|([A-Za-z]:/)" _ABS_PATH_INDICATOR "${_RC_FILE}")
-- IF(NOT _ABS_PATH_INDICATOR)
-- SET(_RC_FILE "${rc_path}/${_RC_FILE}")
-- ENDIF(NOT _ABS_PATH_INDICATOR)
-- SET(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}")
-- ENDFOREACH(_RC_FILE)
-- ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-- COMMAND ${QT_RCC_EXECUTABLE}
-- ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
-- MAIN_DEPENDENCY ${infile}
-- DEPENDS ${_RC_DEPENDS})
-- SET(${outfiles} ${${outfiles}} ${outfile})
-- ENDFOREACH (it)
--
-- ENDMACRO (QT4_ADD_RESOURCES)
--
-- MACRO(QT4_ADD_DBUS_INTERFACE _sources _interface _basename)
-- GET_FILENAME_COMPONENT(_infile ${_interface} ABSOLUTE)
-- SET(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h)
-- SET(_impl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp)
-- SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc)
--
-- GET_SOURCE_FILE_PROPERTY(_nonamespace ${_interface} NO_NAMESPACE)
-- IF ( _nonamespace )
-- SET(_params -N -m)
-- ELSE ( _nonamespace )
-- SET(_params -m)
-- ENDIF ( _nonamespace )
--
-- GET_SOURCE_FILE_PROPERTY(_include ${_interface} INCLUDE)
-- IF ( _include )
-- SET(_params ${_params} -i ${_include})
-- ENDIF ( _include )
--
-- ADD_CUSTOM_COMMAND(OUTPUT ${_impl} ${_header}
-- COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} ${_params} -p ${_basename} ${_infile}
-- DEPENDS ${_infile})
--
-- SET_SOURCE_FILES_PROPERTIES(${_impl} PROPERTIES SKIP_AUTOMOC TRUE)
--
-- QT4_GENERATE_MOC(${_header} ${_moc})
--
-- SET(${_sources} ${${_sources}} ${_impl} ${_header} ${_moc})
-- MACRO_ADD_FILE_DEPENDENCIES(${_impl} ${_moc})
--
-- ENDMACRO(QT4_ADD_DBUS_INTERFACE)
--
--
-- MACRO(QT4_ADD_DBUS_INTERFACES _sources)
-- FOREACH (_current_FILE ${ARGN})
-- GET_FILENAME_COMPONENT(_infile ${_current_FILE} ABSOLUTE)
-- # get the part before the ".xml" suffix
-- STRING(REGEX REPLACE "(.*[/\\.])?([^\\.]+)\\.xml" "\\2" _basename ${_current_FILE})
-- STRING(TOLOWER ${_basename} _basename)
-- QT4_ADD_DBUS_INTERFACE(${_sources} ${_infile} ${_basename}interface)
-- ENDFOREACH (_current_FILE)
-- ENDMACRO(QT4_ADD_DBUS_INTERFACES)
--
--
-- MACRO(QT4_GENERATE_DBUS_INTERFACE _header) # _customName OPTIONS -some -options )
-- QT4_EXTRACT_OPTIONS(_customName _qt4_dbus_options ${ARGN})
--
-- GET_FILENAME_COMPONENT(_in_file ${_header} ABSOLUTE)
-- GET_FILENAME_COMPONENT(_basename ${_header} NAME_WE)
--
-- IF (_customName)
-- SET(_target ${CMAKE_CURRENT_BINARY_DIR}/${_customName})
-- ELSE (_customName)
-- SET(_target ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.xml)
-- ENDIF (_customName)
--
-- ADD_CUSTOM_COMMAND(OUTPUT ${_target}
-- COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} > ${_target}
-- DEPENDS ${_in_file}
-- )
-- ENDMACRO(QT4_GENERATE_DBUS_INTERFACE)
--
--
-- MACRO(QT4_ADD_DBUS_ADAPTOR _sources _xml_file _include _parentClass) # _optionalBasename _optionalClassName)
-- GET_FILENAME_COMPONENT(_infile ${_xml_file} ABSOLUTE)
--
-- SET(_optionalBasename "${ARGV4}")
-- IF (_optionalBasename)
-- SET(_basename ${_optionalBasename} )
-- ELSE (_optionalBasename)
-- STRING(REGEX REPLACE "(.*[/\\.])?([^\\.]+)\\.xml" "\\2adaptor" _basename ${_infile})
-- STRING(TOLOWER ${_basename} _basename)
-- ENDIF (_optionalBasename)
--
-- SET(_optionalClassName "${ARGV5}")
-- SET(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h)
-- SET(_impl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp)
-- SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc)
--
-- IF(_optionalClassName)
-- ADD_CUSTOM_COMMAND(OUTPUT ${_impl} ${_header}
-- COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -c ${_optionalClassName} -i ${_include} -l ${_parentClass} ${_infile}
-- DEPENDS ${_infile}
-- )
-- ELSE(_optionalClassName)
-- ADD_CUSTOM_COMMAND(OUTPUT ${_impl} ${_header}
-- COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -i ${_include} -l ${_parentClass} ${_infile}
-- DEPENDS ${_infile}
-- )
-- ENDIF(_optionalClassName)
--
-- QT4_GENERATE_MOC(${_header} ${_moc})
-- SET_SOURCE_FILES_PROPERTIES(${_impl} PROPERTIES SKIP_AUTOMOC TRUE)
-- MACRO_ADD_FILE_DEPENDENCIES(${_impl} ${_moc})
--
-- SET(${_sources} ${${_sources}} ${_impl} ${_header} ${_moc})
-- ENDMACRO(QT4_ADD_DBUS_ADAPTOR)
--
-- MACRO(QT4_AUTOMOC)
-- QT4_GET_MOC_INC_DIRS(_moc_INCS)
--
-- SET(_matching_FILES )
-- FOREACH (_current_FILE ${ARGN})
--
-- GET_FILENAME_COMPONENT(_abs_FILE ${_current_FILE} ABSOLUTE)
-- # if "SKIP_AUTOMOC" is set to true, we will not handle this file here.
-- # here. this is required to make bouic work correctly:
-- # we need to add generated .cpp files to the sources (to compile them),
-- # but we cannot let automoc handle them, as the .cpp files don't exist yet when
-- # cmake is run for the very first time on them -> however the .cpp files might
-- # exist at a later run. at that time we need to skip them, so that we don't add two
-- # different rules for the same moc file
-- GET_SOURCE_FILE_PROPERTY(_skip ${_abs_FILE} SKIP_AUTOMOC)
--
-- IF ( NOT _skip AND EXISTS ${_abs_FILE} )
--
-- FILE(READ ${_abs_FILE} _contents)
--
-- GET_FILENAME_COMPONENT(_abs_PATH ${_abs_FILE} PATH)
--
-- STRING(REGEX MATCHALL "#include +[^ ]+\\.moc[\">]" _match "${_contents}")
-- IF(_match)
-- FOREACH (_current_MOC_INC ${_match})
-- STRING(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}")
--
-- GET_filename_component(_basename ${_current_MOC} NAME_WE)
-- # SET(_header ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.h)
-- IF (EXISTS ${_abs_PATH}/${_basename}.h)
-- SET(_header ${_abs_PATH}/${_basename}.h)
-- ELSE (EXISTS ${_abs_PATH}/${_basename}.h)
-- SET(_header ${_abs_FILE})
-- ENDIF (EXISTS ${_abs_PATH}/${_basename}.h)
-- SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC})
-- ADD_CUSTOM_COMMAND(OUTPUT ${_moc}
-- COMMAND ${QT4_MOC_EXECUTABLE}
-- ARGS ${_moc_INCS} ${_header} -o ${_moc}
-- DEPENDS ${_header}
-- )
--
-- MACRO_ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc})
-- ENDFOREACH (_current_MOC_INC)
-- ENDIF(_match)
-- ENDIF ( NOT _skip AND EXISTS ${_abs_FILE} )
-- ENDFOREACH (_current_FILE)
-- ENDMACRO(QT4_AUTOMOC)
--
--
--
-- ######################################
-- #
-- # decide if Qt got found
-- #
-- ######################################
--
-- # if the includes,libraries,moc,uic and rcc are found then we have it
-- IF( QT4_LIBRARY_DIR AND QT4_INCLUDE_DIR AND QT4_MOC_EXECUTABLE AND QT4_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE)
-- SET( QT4_FOUND "YES" )
-- IF( NOT Qt4_FIND_QUIETLY)
-- MESSAGE(STATUS "Found Qt-Version ${QTVERSION} (using ${QT_QMAKE_EXECUTABLE})")
-- ENDIF( NOT Qt4_FIND_QUIETLY)
-- ELSE( QT4_LIBRARY_DIR AND QT4_INCLUDE_DIR AND QT4_MOC_EXECUTABLE AND QT4_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE)
-- SET( QT4_FOUND "NO")
-- SET(QT_QMAKE_EXECUTABLE "${QT_QMAKE_EXECUTABLE}-NOTFOUND" CACHE FILEPATH "Invalid qmake found" FORCE)
-- IF( Qt4_FIND_REQUIRED)
-- IF ( NOT QT4_LIBRARY_DIR )
-- MESSAGE(STATUS "Qt libraries NOT found!")
-- ENDIF(NOT QT4_LIBRARY_DIR )
-- IF ( NOT QT4_INCLUDE_DIR )
-- MESSAGE(STATUS "Qt includes NOT found!")
-- ENDIF( NOT QT4_INCLUDE_DIR )
-- IF ( NOT QT4_MOC_EXECUTABLE )
-- MESSAGE(STATUS "Qt's moc NOT found!")
-- ENDIF( NOT QT4_MOC_EXECUTABLE )
-- IF ( NOT QT4_UIC_EXECUTABLE )
-- MESSAGE(STATUS "Qt's uic NOT found!")
-- ENDIF( NOT QT4_UIC_EXECUTABLE )
-- IF ( NOT QT_RCC_EXECUTABLE )
-- MESSAGE(STATUS "Qt's rcc NOT found!")
-- ENDIF( NOT QT_RCC_EXECUTABLE )
-- MESSAGE( FATAL_ERROR "Qt libraries, includes, moc, uic or/and rcc NOT found!")
-- ENDIF( Qt4_FIND_REQUIRED)
-- ENDIF( QT4_LIBRARY_DIR AND QT4_INCLUDE_DIR AND QT4_MOC_EXECUTABLE AND QT4_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE)
-- SET(QT_FOUND ${QT4_FOUND})
--
--
-- #######################################
-- #
-- # System dependent settings
-- #
-- #######################################
-- # for unix add X11 stuff
-- IF(UNIX)
-- # on OS X X11 may not be required
-- IF (Q_WS_X11)
-- FIND_PACKAGE(X11 REQUIRED)
-- ENDIF (Q_WS_X11)
-- FIND_PACKAGE(Threads)
-- SET(QT4_QTCORE_LIBRARY ${QT4_QTCORE_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})
-- ENDIF(UNIX)
--
--
-- #######################################
-- #
-- # compatibility settings
-- #
-- #######################################
-- # Backwards compatibility for CMake1.4 and 1.2
-- SET (QT_MOC_EXE ${QT4_MOC_EXECUTABLE} )
-- SET (QT_UIC_EXE ${QT4_UIC_EXECUTABLE} )
--
-- SET( QT4_QT_LIBRARY "")
--
--ELSE(QT4_QMAKE_FOUND)
--
-- SET(QT_QMAKE_EXECUTABLE "${QT_QMAKE_EXECUTABLE}-NOTFOUND" CACHE FILEPATH "Invalid qmake found" FORCE)
-- IF(Qt4_FIND_REQUIRED)
-- IF(QT4_INSTALLED_VERSION_TOO_OLD)
-- MESSAGE(FATAL_ERROR "The installed Qt version ${QTVERSION} is too old, at least version ${QT4_MIN_VERSION} is required")
-- ELSE(QT4_INSTALLED_VERSION_TOO_OLD)
-- MESSAGE( FATAL_ERROR "Qt qmake not found!")
-- ENDIF(QT4_INSTALLED_VERSION_TOO_OLD)
-- ELSE(Qt4_FIND_REQUIRED)
-- IF(QT4_INSTALLED_VERSION_TOO_OLD AND NOT Qt4_FIND_QUIETLY)
-- MESSAGE(STATUS "The installed Qt version ${QTVERSION} is too old, at least version ${QT4_MIN_VERSION} is required")
-- ENDIF(QT4_INSTALLED_VERSION_TOO_OLD AND NOT Qt4_FIND_QUIETLY)
-- ENDIF(Qt4_FIND_REQUIRED)
--
--ENDIF (QT4_QMAKE_FOUND)
--ENDIF (QT4_QMAKE_FOUND)
--
-diff --git a/poppler-qt4.pc.cmake b/poppler-qt4.pc.cmake
-deleted file mode 100644
-index 46a37f6d..00000000
---- a/poppler-qt4.pc.cmake
-+++ /dev/null
-@@ -1,12 +0,0 @@
--prefix=@CMAKE_INSTALL_PREFIX@
--libdir=@CMAKE_INSTALL_FULL_LIBDIR@
--includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
--
--Name: poppler-qt4
--Description: Qt4 bindings for poppler
--Version: @POPPLER_VERSION@
--Requires: @PC_REQUIRES@
--@PC_REQUIRES_PRIVATE@
--
--Libs: -L${libdir} -lpoppler-qt4
--Cflags: -I${includedir}/poppler/qt4
-diff --git a/qt4/.gitignore b/qt4/.gitignore
-deleted file mode 100644
-index 5540f35d..00000000
---- a/qt4/.gitignore
-+++ /dev/null
-@@ -1,4 +0,0 @@
--Makefile
--Makefile.in
--*~
--
-diff --git a/qt4/CMakeLists.txt b/qt4/CMakeLists.txt
-deleted file mode 100644
-index 4d345681..00000000
---- a/qt4/CMakeLists.txt
-+++ /dev/null
-@@ -1,6 +0,0 @@
--# Qt4 headers are not override clean so disable suggest-override if it's there
--string(REPLACE "-Wsuggest-override" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
--
--add_subdirectory(src)
--add_subdirectory(tests)
--add_subdirectory(demos)
-diff --git a/qt4/demos/.gitignore b/qt4/demos/.gitignore
-deleted file mode 100644
-index 9639e685..00000000
---- a/qt4/demos/.gitignore
-+++ /dev/null
-@@ -1,4 +0,0 @@
--.deps
--.libs
--*moc
--poppler_qt4viewer
-diff --git a/qt4/demos/CMakeLists.txt b/qt4/demos/CMakeLists.txt
-deleted file mode 100644
-index 76accf81..00000000
---- a/qt4/demos/CMakeLists.txt
-+++ /dev/null
-@@ -1,28 +0,0 @@
--add_definitions(${QT4_DEFINITIONS})
--
--include_directories(
-- ${CMAKE_CURRENT_SOURCE_DIR}
-- ${CMAKE_CURRENT_SOURCE_DIR}/../src
-- ${CMAKE_CURRENT_BINARY_DIR}
-- ${QT4_INCLUDE_DIR}
--)
--
--set(poppler_qt4viewer_SRCS
-- abstractinfodock.cpp
-- documentobserver.cpp
-- embeddedfiles.cpp
-- fonts.cpp
-- info.cpp
-- main_viewer.cpp
-- metadata.cpp
-- navigationtoolbar.cpp
-- optcontent.cpp
-- pageview.cpp
-- permissions.cpp
-- thumbnails.cpp
-- toc.cpp
-- viewer.cpp
--)
--qt4_automoc(${poppler_qt4viewer_SRCS})
--poppler_add_test(poppler_qt4viewer BUILD_QT4_TESTS ${poppler_qt4viewer_SRCS})
--target_link_libraries(poppler_qt4viewer poppler-qt4)
-diff --git a/qt4/demos/abstractinfodock.cpp b/qt4/demos/abstractinfodock.cpp
-deleted file mode 100644
-index 7b306d82..00000000
---- a/qt4/demos/abstractinfodock.cpp
-+++ /dev/null
-@@ -1,57 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "fonts.h"
--
--AbstractInfoDock::AbstractInfoDock(QWidget *parent)
-- : QDockWidget(parent), m_filled(false)
--{
-- connect(this, SIGNAL(visibilityChanged(bool)), SLOT(slotVisibilityChanged(bool)));
--}
--
--AbstractInfoDock::~AbstractInfoDock()
--{
--}
--
--void AbstractInfoDock::documentLoaded()
--{
-- if (!isHidden()) {
-- fillInfo();
-- m_filled = true;
-- }
--}
--
--void AbstractInfoDock::documentClosed()
--{
-- m_filled = false;
--}
--
--void AbstractInfoDock::pageChanged(int page)
--{
-- Q_UNUSED(page)
--}
--
--void AbstractInfoDock::slotVisibilityChanged(bool visible)
--{
-- if (visible && document() && !m_filled) {
-- fillInfo();
-- m_filled = true;
-- }
--}
--
--#include "abstractinfodock.moc"
-diff --git a/qt4/demos/abstractinfodock.h b/qt4/demos/abstractinfodock.h
-deleted file mode 100644
-index 2593325a..00000000
---- a/qt4/demos/abstractinfodock.h
-+++ /dev/null
-@@ -1,48 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef ABSTRACTINFODOCK_H
--#define ABSTRACTINFODOCK_H
--
--#include
--
--#include "documentobserver.h"
--
--class AbstractInfoDock : public QDockWidget, public DocumentObserver
--{
-- Q_OBJECT
--
--public:
-- AbstractInfoDock(QWidget *parent = 0);
-- ~AbstractInfoDock();
--
-- /*virtual*/ void documentLoaded();
-- /*virtual*/ void documentClosed();
-- /*virtual*/ void pageChanged(int page);
--
--protected:
-- virtual void fillInfo() = 0;
--
--private Q_SLOTS:
-- void slotVisibilityChanged(bool visible);
--
--private:
-- bool m_filled;
--};
--
--#endif
-diff --git a/qt4/demos/documentobserver.cpp b/qt4/demos/documentobserver.cpp
-deleted file mode 100644
-index e5c283db..00000000
---- a/qt4/demos/documentobserver.cpp
-+++ /dev/null
-@@ -1,50 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "documentobserver.h"
--
--#include "viewer.h"
--
--DocumentObserver::DocumentObserver()
-- : m_viewer(0)
--{
--}
--
--DocumentObserver::~DocumentObserver()
--{
--}
--
--Poppler::Document* DocumentObserver::document() const
--{
-- return m_viewer->m_doc;
--}
--
--void DocumentObserver::setPage(int page)
--{
-- m_viewer->setPage(page);
--}
--
--int DocumentObserver::page() const
--{
-- return m_viewer->page();
--}
--
--void DocumentObserver::reloadPage()
--{
-- m_viewer->setPage(m_viewer->page());
--}
-diff --git a/qt4/demos/documentobserver.h b/qt4/demos/documentobserver.h
-deleted file mode 100644
-index 38fe2043..00000000
---- a/qt4/demos/documentobserver.h
-+++ /dev/null
-@@ -1,50 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef DOCUMENTOBSERVER_H
--#define DOCUMENTOBSERVER_H
--
--class PdfViewer;
--namespace Poppler {
--class Document;
--}
--
--class DocumentObserver
--{
--friend class PdfViewer;
--
--public:
-- virtual ~DocumentObserver();
--
-- virtual void documentLoaded() = 0;
-- virtual void documentClosed() = 0;
-- virtual void pageChanged(int page) = 0;
--
--protected:
-- DocumentObserver();
--
-- Poppler::Document* document() const;
-- void setPage(int page);
-- int page() const;
-- void reloadPage();
--
--private:
-- PdfViewer *m_viewer;
--};
--
--#endif
-diff --git a/qt4/demos/embeddedfiles.cpp b/qt4/demos/embeddedfiles.cpp
-deleted file mode 100644
-index 22f9da7a..00000000
---- a/qt4/demos/embeddedfiles.cpp
-+++ /dev/null
-@@ -1,82 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "embeddedfiles.h"
--
--#include
--
--#include
--
--EmbeddedFilesDock::EmbeddedFilesDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_table = new QTableWidget(this);
-- setWidget(m_table);
-- setWindowTitle(tr("Embedded files"));
-- m_table->setColumnCount(6);
-- m_table->setHorizontalHeaderLabels(
-- QStringList() << tr("Name") << tr("Description") << tr("Size") << tr("Creation date")
-- << tr("Modification date") << tr("Checksum"));
-- m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
--}
--
--EmbeddedFilesDock::~EmbeddedFilesDock()
--{
--}
--
--void EmbeddedFilesDock::fillInfo()
--{
-- m_table->setHorizontalHeaderLabels(
-- QStringList() << tr("Name") << tr("Description") << tr("Size") << tr("Creation date")
-- << tr("Modification date") << tr("Checksum"));
-- if (!document()->hasEmbeddedFiles()) {
-- m_table->setItem(0, 0, new QTableWidgetItem(tr("No files")));
-- return;
-- }
--
-- const QList files = document()->embeddedFiles();
-- m_table->setRowCount(files.count());
-- int i = 0;
-- Q_FOREACH(Poppler::EmbeddedFile *file, files) {
-- m_table->setItem(i, 0, new QTableWidgetItem(file->name()));
-- m_table->setItem(i, 1, new QTableWidgetItem(file->description()));
-- m_table->setItem(i, 2, new QTableWidgetItem(QString::number(file->size())));
-- m_table->setItem(i, 3, new QTableWidgetItem(file->createDate().toString(Qt::SystemLocaleDate)));
-- m_table->setItem(i, 4, new QTableWidgetItem(file->modDate().toString(Qt::SystemLocaleDate)));
-- const QByteArray checksum = file->checksum();
-- const QString checksumString = !checksum.isEmpty() ? QString::fromAscii(checksum.toHex()) : QString::fromLatin1("n/a");
-- m_table->setItem(i, 5, new QTableWidgetItem(checksumString));
-- ++i;
-- }
--}
--
--void EmbeddedFilesDock::documentLoaded()
--{
-- if ( document()->pageMode() == Poppler::Document::UseAttach ) {
-- show();
-- }
--}
--
--void EmbeddedFilesDock::documentClosed()
--{
-- m_table->clear();
-- m_table->setRowCount(0);
-- AbstractInfoDock::documentClosed();
--}
--
--#include "embeddedfiles.moc"
-diff --git a/qt4/demos/embeddedfiles.h b/qt4/demos/embeddedfiles.h
-deleted file mode 100644
-index 7cd60397..00000000
---- a/qt4/demos/embeddedfiles.h
-+++ /dev/null
-@@ -1,44 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef ATTACHMENTS_H
--#define ATTACHMENTS_H
--
--#include "abstractinfodock.h"
--
--class QTableWidget;
--
--class EmbeddedFilesDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- EmbeddedFilesDock(QWidget *parent = 0);
-- ~EmbeddedFilesDock();
--
-- virtual void documentLoaded();
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private:
-- QTableWidget *m_table;
--};
--
--#endif
-diff --git a/qt4/demos/fonts.cpp b/qt4/demos/fonts.cpp
-deleted file mode 100644
-index bd342bd2..00000000
---- a/qt4/demos/fonts.cpp
-+++ /dev/null
-@@ -1,72 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "fonts.h"
--
--#include
--
--#include
--
--static QString yesNoStatement(bool value)
--{
-- return value ? QString::fromLatin1("yes") : QString::fromLatin1("no");
--}
--
--FontsDock::FontsDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_table = new QTableWidget(this);
-- setWidget(m_table);
-- setWindowTitle(tr("Fonts"));
-- m_table->setColumnCount(5);
-- m_table->setHorizontalHeaderLabels(QStringList() << tr("Name") << tr("Type") << tr("Embedded") << tr("Subset") << tr("File"));
-- m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
--}
--
--FontsDock::~FontsDock()
--{
--}
--
--void FontsDock::fillInfo()
--{
-- const QList fonts = document()->fonts();
-- m_table->setHorizontalHeaderLabels(QStringList() << tr("Name") << tr("Type") << tr("Embedded") << tr("Subset") << tr("File"));
-- m_table->setRowCount(fonts.count());
-- int i = 0;
-- Q_FOREACH(const Poppler::FontInfo &font, fonts) {
-- if (font.name().isNull()) {
-- m_table->setItem(i, 0, new QTableWidgetItem(QString::fromLatin1("[none]")));
-- } else {
-- m_table->setItem(i, 0, new QTableWidgetItem(font.name()));
-- }
-- m_table->setItem(i, 1, new QTableWidgetItem(font.typeName()));
-- m_table->setItem(i, 2, new QTableWidgetItem(yesNoStatement(font.isEmbedded())));
-- m_table->setItem(i, 3, new QTableWidgetItem(yesNoStatement(font.isSubset())));
-- m_table->setItem(i, 4, new QTableWidgetItem(font.file()));
-- ++i;
-- }
--}
--
--void FontsDock::documentClosed()
--{
-- m_table->clear();
-- m_table->setRowCount(0);
-- AbstractInfoDock::documentClosed();
--}
--
--#include "fonts.moc"
-diff --git a/qt4/demos/fonts.h b/qt4/demos/fonts.h
-deleted file mode 100644
-index 81afa579..00000000
---- a/qt4/demos/fonts.h
-+++ /dev/null
-@@ -1,43 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef FONTS_H
--#define FONTS_H
--
--#include "abstractinfodock.h"
--
--class QTableWidget;
--
--class FontsDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- FontsDock(QWidget *parent = 0);
-- ~FontsDock();
--
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private:
-- QTableWidget *m_table;
--};
--
--#endif
-diff --git a/qt4/demos/info.cpp b/qt4/demos/info.cpp
-deleted file mode 100644
-index 6491e0e4..00000000
---- a/qt4/demos/info.cpp
-+++ /dev/null
-@@ -1,72 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "info.h"
--
--#include
--
--#include
--
--InfoDock::InfoDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_table = new QTableWidget(this);
-- setWidget(m_table);
-- setWindowTitle(tr("Information"));
-- m_table->setColumnCount(2);
-- m_table->setHorizontalHeaderLabels(QStringList() << tr("Key") << tr("Value"));
-- m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
--}
--
--InfoDock::~InfoDock()
--{
--}
--
--void InfoDock::fillInfo()
--{
-- QStringList keys = document()->infoKeys();
-- m_table->setHorizontalHeaderLabels(QStringList() << tr("Key") << tr("Value"));
-- m_table->setRowCount(keys.count());
-- QStringList dateKeys;
-- dateKeys << QString::fromLatin1("CreationDate");
-- dateKeys << QString::fromLatin1("ModDate");
-- int i = 0;
-- Q_FOREACH(const QString &date, dateKeys) {
-- const int id = keys.indexOf(date);
-- if (id != -1) {
-- m_table->setItem(i, 0, new QTableWidgetItem(date));
-- m_table->setItem(i, 1, new QTableWidgetItem(document()->date(date).toString(Qt::SystemLocaleDate)));
-- ++i;
-- keys.removeAt(id);
-- }
-- }
-- Q_FOREACH(const QString &key, keys) {
-- m_table->setItem(i, 0, new QTableWidgetItem(key));
-- m_table->setItem(i, 1, new QTableWidgetItem(document()->info(key)));
-- ++i;
-- }
--}
--
--void InfoDock::documentClosed()
--{
-- m_table->clear();
-- m_table->setRowCount(0);
-- AbstractInfoDock::documentClosed();
--}
--
--#include "info.moc"
-diff --git a/qt4/demos/info.h b/qt4/demos/info.h
-deleted file mode 100644
-index d294b430..00000000
---- a/qt4/demos/info.h
-+++ /dev/null
-@@ -1,43 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef INFO_H
--#define INFO_H
--
--#include "abstractinfodock.h"
--
--class QTableWidget;
--
--class InfoDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- InfoDock(QWidget *parent = 0);
-- ~InfoDock();
--
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private:
-- QTableWidget *m_table;
--};
--
--#endif
-diff --git a/qt4/demos/main_viewer.cpp b/qt4/demos/main_viewer.cpp
-deleted file mode 100644
-index 3f7080f2..00000000
---- a/qt4/demos/main_viewer.cpp
-+++ /dev/null
-@@ -1,33 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "viewer.h"
--
--#include
--
--int main(int argc, char *argv[])
--{
-- QApplication app(argc, argv);
-- const QStringList args = QCoreApplication::arguments();
-- PdfViewer *viewer = new PdfViewer();
-- viewer->show();
-- if (args.count() > 1) {
-- viewer->loadDocument(args.at(1));
-- }
-- return app.exec();
--}
-diff --git a/qt4/demos/metadata.cpp b/qt4/demos/metadata.cpp
-deleted file mode 100644
-index e5c7111d..00000000
---- a/qt4/demos/metadata.cpp
-+++ /dev/null
-@@ -1,50 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "metadata.h"
--
--#include
--
--#include
--
--MetadataDock::MetadataDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_edit = new QTextEdit(this);
-- setWidget(m_edit);
-- setWindowTitle(tr("Metadata"));
-- m_edit->setAcceptRichText(false);
-- m_edit->setReadOnly(true);
--}
--
--MetadataDock::~MetadataDock()
--{
--}
--
--void MetadataDock::fillInfo()
--{
-- m_edit->setPlainText(document()->metadata());
--}
--
--void MetadataDock::documentClosed()
--{
-- m_edit->clear();
-- AbstractInfoDock::documentClosed();
--}
--
--#include "metadata.moc"
-diff --git a/qt4/demos/metadata.h b/qt4/demos/metadata.h
-deleted file mode 100644
-index 6f1507a6..00000000
---- a/qt4/demos/metadata.h
-+++ /dev/null
-@@ -1,43 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef METADATA_H
--#define METADATA_H
--
--#include "abstractinfodock.h"
--
--class QTextEdit;
--
--class MetadataDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- MetadataDock(QWidget *parent = 0);
-- ~MetadataDock();
--
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private:
-- QTextEdit *m_edit;
--};
--
--#endif
-diff --git a/qt4/demos/navigationtoolbar.cpp b/qt4/demos/navigationtoolbar.cpp
-deleted file mode 100644
-index 79dd418a..00000000
---- a/qt4/demos/navigationtoolbar.cpp
-+++ /dev/null
-@@ -1,144 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- * Copyright (C) 2013, Fabio D'Urso
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "navigationtoolbar.h"
--
--#include
--
--#include
--#include
--
--NavigationToolBar::NavigationToolBar(QWidget *parent)
-- : QToolBar(parent)
--{
-- m_firstAct = addAction(tr("First"), this, SLOT(slotGoFirst()));
-- m_prevAct = addAction(tr("Previous"), this, SLOT(slotGoPrev()));
-- m_pageCombo = new QComboBox(this);
-- connect(m_pageCombo, SIGNAL(activated(int)), this, SLOT(slotComboActivated(int)));
-- addWidget(m_pageCombo);
-- m_nextAct = addAction(tr("Next"), this, SLOT(slotGoNext()));
-- m_lastAct = addAction(tr("Last"), this, SLOT(slotGoLast()));
--
-- addSeparator();
--
-- m_zoomCombo = new QComboBox(this);
-- m_zoomCombo->setEditable(true);
-- m_zoomCombo->addItem(tr("10%"));
-- m_zoomCombo->addItem(tr("25%"));
-- m_zoomCombo->addItem(tr("33%"));
-- m_zoomCombo->addItem(tr("50%"));
-- m_zoomCombo->addItem(tr("66%"));
-- m_zoomCombo->addItem(tr("75%"));
-- m_zoomCombo->addItem(tr("100%"));
-- m_zoomCombo->addItem(tr("125%"));
-- m_zoomCombo->addItem(tr("150%"));
-- m_zoomCombo->addItem(tr("200%"));
-- m_zoomCombo->addItem(tr("300%"));
-- m_zoomCombo->addItem(tr("400%"));
-- m_zoomCombo->setCurrentIndex(6); // "100%"
-- connect(m_zoomCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(slotZoomComboChanged(QString)));
-- addWidget(m_zoomCombo);
--
-- m_rotationCombo = new QComboBox(this);
-- // NOTE: \302\260 = degree symbol
-- m_rotationCombo->addItem(trUtf8("0\302\260"));
-- m_rotationCombo->addItem(trUtf8("90\302\260"));
-- m_rotationCombo->addItem(trUtf8("180\302\260"));
-- m_rotationCombo->addItem(trUtf8("270\302\260"));
-- connect(m_rotationCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(slotRotationComboChanged(int)));
-- addWidget(m_rotationCombo);
--
-- documentClosed();
--}
--
--NavigationToolBar::~NavigationToolBar()
--{
--}
--
--void NavigationToolBar::documentLoaded()
--{
-- const int pageCount = document()->numPages();
-- for (int i = 0; i < pageCount; ++i) {
-- m_pageCombo->addItem(QString::number(i + 1));
-- }
-- m_pageCombo->setEnabled(true);
--}
--
--void NavigationToolBar::documentClosed()
--{
-- m_firstAct->setEnabled(false);
-- m_prevAct->setEnabled(false);
-- m_nextAct->setEnabled(false);
-- m_lastAct->setEnabled(false);
-- m_pageCombo->clear();
-- m_pageCombo->setEnabled(false);
--}
--
--void NavigationToolBar::pageChanged(int page)
--{
-- const int pageCount = document()->numPages();
-- m_firstAct->setEnabled(page > 0);
-- m_prevAct->setEnabled(page > 0);
-- m_nextAct->setEnabled(page < (pageCount - 1));
-- m_lastAct->setEnabled(page < (pageCount - 1));
-- m_pageCombo->setCurrentIndex(page);
--}
--
--void NavigationToolBar::slotGoFirst()
--{
-- setPage(0);
--}
--
--void NavigationToolBar::slotGoPrev()
--{
-- setPage(page() - 1);
--}
--
--void NavigationToolBar::slotGoNext()
--{
-- setPage(page() + 1);
--}
--
--void NavigationToolBar::slotGoLast()
--{
-- setPage(document()->numPages() - 1);
--}
--
--void NavigationToolBar::slotComboActivated(int index)
--{
-- setPage(index);
--}
--
--void NavigationToolBar::slotZoomComboChanged(const QString &_text)
--{
-- QString text = _text;
-- text.remove(QLatin1Char('%'));
-- bool ok = false;
-- int value = text.toInt(&ok);
-- if (ok && value >= 10) {
-- emit zoomChanged(qreal(value) / 100);
-- }
--}
--
--void NavigationToolBar::slotRotationComboChanged(int idx)
--{
-- emit rotationChanged(idx * 90);
--}
--
--#include "navigationtoolbar.moc"
-diff --git a/qt4/demos/navigationtoolbar.h b/qt4/demos/navigationtoolbar.h
-deleted file mode 100644
-index d7dbd5dd..00000000
---- a/qt4/demos/navigationtoolbar.h
-+++ /dev/null
-@@ -1,65 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- * Copyright (C) 2013, Fabio D'Urso
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef NAVIGATIONTOOLBAR_H
--#define NAVIGATIONTOOLBAR_H
--
--#include
--
--#include "documentobserver.h"
--
--class QAction;
--class QComboBox;
--
--class NavigationToolBar : public QToolBar, public DocumentObserver
--{
-- Q_OBJECT
--
--public:
-- NavigationToolBar(QWidget *parent = 0);
-- ~NavigationToolBar();
--
-- /*virtual*/ void documentLoaded();
-- /*virtual*/ void documentClosed();
-- /*virtual*/ void pageChanged(int page);
--
--Q_SIGNALS:
-- void zoomChanged(qreal value);
-- void rotationChanged(int rotation);
--
--private Q_SLOTS:
-- void slotGoFirst();
-- void slotGoPrev();
-- void slotGoNext();
-- void slotGoLast();
-- void slotComboActivated(int index);
-- void slotZoomComboChanged(const QString &text);
-- void slotRotationComboChanged(int idx);
--
--private:
-- QAction *m_firstAct;
-- QAction *m_prevAct;
-- QComboBox *m_pageCombo;
-- QAction *m_nextAct;
-- QAction *m_lastAct;
-- QComboBox *m_zoomCombo;
-- QComboBox *m_rotationCombo;
--};
--
--#endif
-diff --git a/qt4/demos/optcontent.cpp b/qt4/demos/optcontent.cpp
-deleted file mode 100644
-index 0c1015b9..00000000
---- a/qt4/demos/optcontent.cpp
-+++ /dev/null
-@@ -1,69 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "optcontent.h"
--
--#include
--
--#include
--
--OptContentDock::OptContentDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_view = new QTreeView(this);
-- setWidget(m_view);
-- setWindowTitle(tr("Optional content"));
-- m_view->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
--}
--
--OptContentDock::~OptContentDock()
--{
--}
--
--
--void OptContentDock::documentLoaded()
--{
-- AbstractInfoDock::documentLoaded();
-- if ( document()->pageMode() == Poppler::Document::UseOC ) {
-- show();
-- }
--}
--
--void OptContentDock::fillInfo()
--{
-- if (!document()->hasOptionalContent()) {
-- return;
-- }
--
-- m_view->setModel(document()->optionalContentModel());
-- connect(m_view->model(), SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(reloadImage()));
-- m_view->expandToDepth(1);
--}
--
--void OptContentDock::documentClosed()
--{
-- m_view->setModel(0);
-- AbstractInfoDock::documentClosed();
--}
--
--void OptContentDock::reloadImage()
--{
-- reloadPage();
--}
--
--#include "optcontent.moc"
-diff --git a/qt4/demos/optcontent.h b/qt4/demos/optcontent.h
-deleted file mode 100644
-index b933f5cd..00000000
---- a/qt4/demos/optcontent.h
-+++ /dev/null
-@@ -1,47 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef OPTCONTENT_H
--#define OPTCONTENT_H
--
--#include "abstractinfodock.h"
--
--class QTreeView;
--
--class OptContentDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- OptContentDock(QWidget *parent = 0);
-- ~OptContentDock();
--
-- /*virtual*/ void documentLoaded();
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private Q_SLOTS:
-- void reloadImage();
--
--private:
-- QTreeView *m_view;
--};
--
--#endif
-diff --git a/qt4/demos/pageview.cpp b/qt4/demos/pageview.cpp
-deleted file mode 100644
-index 0dfa5e9e..00000000
---- a/qt4/demos/pageview.cpp
-+++ /dev/null
-@@ -1,101 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- * Copyright (C) 2013, Fabio D'Urso
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "pageview.h"
--
--#include
--
--#include
--#include
--#include
--#include
--#include
--
--PageView::PageView(QWidget *parent)
-- : QScrollArea(parent)
-- , m_zoom(1.0)
-- , m_rotation(0)
-- , m_dpiX(QApplication::desktop()->physicalDpiX())
-- , m_dpiY(QApplication::desktop()->physicalDpiY())
--{
-- m_imageLabel = new QLabel(this);
-- m_imageLabel->resize(0, 0);
-- setWidget(m_imageLabel);
--}
--
--PageView::~PageView()
--{
--}
--
--void PageView::documentLoaded()
--{
--}
--
--void PageView::documentClosed()
--{
-- m_imageLabel->clear();
-- m_imageLabel->resize(0, 0);
--}
--
--void PageView::pageChanged(int page)
--{
-- Poppler::Page *popplerPage = document()->page(page);
-- const double resX = m_dpiX * m_zoom;
-- const double resY = m_dpiY * m_zoom;
--
-- Poppler::Page::Rotation rot;
-- if (m_rotation == 0)
-- rot = Poppler::Page::Rotate0;
-- else if (m_rotation == 90)
-- rot = Poppler::Page::Rotate90;
-- else if (m_rotation == 180)
-- rot = Poppler::Page::Rotate180;
-- else // m_rotation == 270
-- rot = Poppler::Page::Rotate270;
--
-- QImage image = popplerPage->renderToImage(resX, resY, -1, -1, -1, -1, rot);
-- if (!image.isNull()) {
-- m_imageLabel->resize(image.size());
-- m_imageLabel->setPixmap(QPixmap::fromImage(image));
-- } else {
-- m_imageLabel->resize(0, 0);
-- m_imageLabel->setPixmap(QPixmap());
-- }
-- delete popplerPage;
--}
--
--void PageView::slotZoomChanged(qreal value)
--{
-- m_zoom = value;
-- if (!document()) {
-- return;
-- }
-- reloadPage();
--}
--
--void PageView::slotRotationChanged(int value)
--{
-- m_rotation = value;
-- if (!document()) {
-- return;
-- }
-- reloadPage();
--}
--
--#include "pageview.moc"
-diff --git a/qt4/demos/pageview.h b/qt4/demos/pageview.h
-deleted file mode 100644
-index 24065028..00000000
---- a/qt4/demos/pageview.h
-+++ /dev/null
-@@ -1,53 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- * Copyright (C) 2013, Fabio D'Urso
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef PAGEVIEW_H
--#define PAGEVIEW_H
--
--#include
--
--#include "documentobserver.h"
--
--class QLabel;
--
--class PageView : public QScrollArea, public DocumentObserver
--{
-- Q_OBJECT
--
--public:
-- PageView(QWidget *parent = 0);
-- ~PageView();
--
-- /*virtual*/ void documentLoaded();
-- /*virtual*/ void documentClosed();
-- /*virtual*/ void pageChanged(int page);
--
--private Q_SLOTS:
-- void slotZoomChanged(qreal value);
-- void slotRotationChanged(int value);
--
--private:
-- QLabel *m_imageLabel;
-- qreal m_zoom;
-- int m_rotation;
-- int m_dpiX;
-- int m_dpiY;
--};
--
--#endif
-diff --git a/qt4/demos/permissions.cpp b/qt4/demos/permissions.cpp
-deleted file mode 100644
-index 38205b2e..00000000
---- a/qt4/demos/permissions.cpp
-+++ /dev/null
-@@ -1,66 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "permissions.h"
--
--#include
--
--#include
--
--PermissionsDock::PermissionsDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_table = new QListWidget(this);
-- setWidget(m_table);
-- setWindowTitle(tr("Permissions"));
-- m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
--}
--
--PermissionsDock::~PermissionsDock()
--{
--}
--
--void PermissionsDock::fillInfo()
--{
--#define ADD_ROW(title, function) \
--do { \
-- QListWidgetItem *item = new QListWidgetItem(); \
-- item->setFlags(item->flags() & ~Qt::ItemIsEnabled); \
-- item->setText(title); \
-- item->setCheckState(document()->function() ? Qt::Checked : Qt::Unchecked); \
-- m_table->addItem(item); \
--} while (0)
-- ADD_ROW("Print", okToPrint);
-- ADD_ROW("PrintHiRes", okToPrintHighRes);
-- ADD_ROW("Change", okToChange);
-- ADD_ROW("Copy", okToCopy);
-- ADD_ROW("Add Notes", okToAddNotes);
-- ADD_ROW("Fill Forms", okToFillForm);
-- ADD_ROW("Create Forms", okToCreateFormFields);
-- ADD_ROW("Extract for accessibility", okToExtractForAccessibility);
-- ADD_ROW("Assemble", okToAssemble);
--#undef ADD_ROW
--}
--
--void PermissionsDock::documentClosed()
--{
-- m_table->clear();
-- AbstractInfoDock::documentClosed();
--}
--
--#include "permissions.moc"
-diff --git a/qt4/demos/permissions.h b/qt4/demos/permissions.h
-deleted file mode 100644
-index 13bcbbf0..00000000
---- a/qt4/demos/permissions.h
-+++ /dev/null
-@@ -1,43 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef PERMISSIONS_H
--#define PERMISSIONS_H
--
--#include "abstractinfodock.h"
--
--class QListWidget;
--
--class PermissionsDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- PermissionsDock(QWidget *parent = 0);
-- ~PermissionsDock();
--
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private:
-- QListWidget *m_table;
--};
--
--#endif
-diff --git a/qt4/demos/thumbnails.cpp b/qt4/demos/thumbnails.cpp
-deleted file mode 100644
-index 07b19ca7..00000000
---- a/qt4/demos/thumbnails.cpp
-+++ /dev/null
-@@ -1,84 +0,0 @@
--/*
-- * Copyright (C) 2009, Shawn Rutledge
-- * Copyright (C) 2009, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "thumbnails.h"
--
--#include
--
--#include
--
--static const int PageRole = Qt::UserRole + 1;
--
--ThumbnailsDock::ThumbnailsDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_list = new QListWidget(this);
-- setWidget(m_list);
-- setWindowTitle(tr("Thumbnails"));
-- m_list->setViewMode(QListView::ListMode);
-- m_list->setMovement(QListView::Static);
-- m_list->setVerticalScrollMode(QListView::ScrollPerPixel);
-- connect(m_list, SIGNAL(itemActivated(QListWidgetItem*)),
-- this, SLOT(slotItemActivated(QListWidgetItem*)));
--}
--
--ThumbnailsDock::~ThumbnailsDock()
--{
--}
--
--void ThumbnailsDock::fillInfo()
--{
-- const int num = document()->numPages();
-- QSize maxSize;
-- for (int i = 0; i < num; ++i) {
-- const Poppler::Page *page = document()->page(i);
-- const QImage image = page->thumbnail();
-- if (!image.isNull()) {
-- QListWidgetItem *item = new QListWidgetItem();
-- item->setText(QString::number(i + 1));
-- item->setData(Qt::DecorationRole, QPixmap::fromImage(image));
-- item->setData(PageRole, i);
-- m_list->addItem(item);
-- maxSize.setWidth(qMax(maxSize.width(), image.width()));
-- maxSize.setHeight(qMax(maxSize.height(), image.height()));
-- }
-- delete page;
-- }
-- if (num > 0) {
-- m_list->setGridSize(maxSize);
-- m_list->setIconSize(maxSize);
-- }
--}
--
--void ThumbnailsDock::documentClosed()
--{
-- m_list->clear();
-- AbstractInfoDock::documentClosed();
--}
--
--void ThumbnailsDock::slotItemActivated(QListWidgetItem *item)
--{
-- if (!item) {
-- return;
-- }
--
-- setPage(item->data(PageRole).toInt());
--}
--
--#include "thumbnails.moc"
-diff --git a/qt4/demos/thumbnails.h b/qt4/demos/thumbnails.h
-deleted file mode 100644
-index 076d5aee..00000000
---- a/qt4/demos/thumbnails.h
-+++ /dev/null
-@@ -1,48 +0,0 @@
--/*
-- * Copyright (C) 2009, Shawn Rutledge
-- * Copyright (C) 2009, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef THUMBNAILS_H
--#define THUMBNAILS_H
--
--#include "abstractinfodock.h"
--
--class QListWidget;
--class QListWidgetItem;
--
--class ThumbnailsDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- ThumbnailsDock(QWidget *parent = 0);
-- ~ThumbnailsDock();
--
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private Q_SLOTS:
-- void slotItemActivated(QListWidgetItem *item);
--
--private:
-- QListWidget *m_list;
--};
--
--#endif
-diff --git a/qt4/demos/toc.cpp b/qt4/demos/toc.cpp
-deleted file mode 100644
-index bf3e5cbb..00000000
---- a/qt4/demos/toc.cpp
-+++ /dev/null
-@@ -1,88 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "toc.h"
--
--#include
--
--#include
--#include
--
--static void fillToc(const QDomNode &parent, QTreeWidget *tree, QTreeWidgetItem *parentItem)
--{
-- QTreeWidgetItem *newitem = 0;
-- for (QDomNode node = parent.firstChild(); !node.isNull(); node = node.nextSibling()) {
-- QDomElement e = node.toElement();
--
-- if (!parentItem) {
-- newitem = new QTreeWidgetItem(tree, newitem);
-- } else {
-- newitem = new QTreeWidgetItem(parentItem, newitem);
-- }
-- newitem->setText(0, e.tagName());
--
-- bool isOpen = false;
-- if (e.hasAttribute(QString::fromLatin1("Open"))) {
-- isOpen = QVariant(e.attribute(QString::fromLatin1("Open"))).toBool();
-- }
-- if (isOpen) {
-- tree->expandItem(newitem);
-- }
--
-- if (e.hasChildNodes()) {
-- fillToc(node, tree, newitem);
-- }
-- }
--}
--
--
--TocDock::TocDock(QWidget *parent)
-- : AbstractInfoDock(parent)
--{
-- m_tree = new QTreeWidget(this);
-- setWidget(m_tree);
-- m_tree->setAlternatingRowColors(true);
-- m_tree->header()->hide();
-- setWindowTitle(tr("TOC"));
-- m_tree->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
--}
--
--TocDock::~TocDock()
--{
--}
--
--void TocDock::fillInfo()
--{
-- const QDomDocument *toc = document()->toc();
-- if (toc) {
-- fillToc(*toc, m_tree, 0);
-- } else {
-- QTreeWidgetItem *item = new QTreeWidgetItem();
-- item->setText(0, tr("No TOC"));
-- item->setFlags(item->flags() & ~Qt::ItemIsEnabled);
-- m_tree->addTopLevelItem(item);
-- }
--}
--
--void TocDock::documentClosed()
--{
-- m_tree->clear();
-- AbstractInfoDock::documentClosed();
--}
--
--#include "toc.moc"
-diff --git a/qt4/demos/toc.h b/qt4/demos/toc.h
-deleted file mode 100644
-index bbc90827..00000000
---- a/qt4/demos/toc.h
-+++ /dev/null
-@@ -1,43 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef TOC_H
--#define TOC_H
--
--#include "abstractinfodock.h"
--
--class QTreeWidget;
--
--class TocDock : public AbstractInfoDock
--{
-- Q_OBJECT
--
--public:
-- TocDock(QWidget *parent = 0);
-- ~TocDock();
--
-- /*virtual*/ void documentClosed();
--
--protected:
-- /*virtual*/ void fillInfo();
--
--private:
-- QTreeWidget *m_tree;
--};
--
--#endif
-diff --git a/qt4/demos/viewer.cpp b/qt4/demos/viewer.cpp
-deleted file mode 100644
-index c34af23f..00000000
---- a/qt4/demos/viewer.cpp
-+++ /dev/null
-@@ -1,319 +0,0 @@
--/*
-- * Copyright (C) 2008-2009, Pino Toscano
-- * Copyright (C) 2008, Albert Astals Cid
-- * Copyright (C) 2009, Shawn Rutledge
-- * Copyright (C) 2013, Fabio D'Urso
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include "viewer.h"
--
--#include "embeddedfiles.h"
--#include "fonts.h"
--#include "info.h"
--#include "metadata.h"
--#include "navigationtoolbar.h"
--#include "optcontent.h"
--#include "pageview.h"
--#include "permissions.h"
--#include "thumbnails.h"
--#include "toc.h"
--
--#include
--
--#include
--#include
--#include
--#include
--#include
--#include
--#include
--#include
--
--PdfViewer::PdfViewer()
-- : QMainWindow(), m_currentPage(0), m_doc(0)
--{
-- setWindowTitle(tr("Poppler-Qt4 Demo"));
--
-- // setup the menus
-- QMenu *fileMenu = menuBar()->addMenu(tr("&File"));
-- m_fileOpenAct = fileMenu->addAction(tr("&Open"), this, SLOT(slotOpenFile()));
-- m_fileOpenAct->setShortcut(Qt::CTRL + Qt::Key_O);
-- fileMenu->addSeparator();
-- m_fileSaveCopyAct = fileMenu->addAction(tr("&Save a Copy..."), this, SLOT(slotSaveCopy()));
-- m_fileSaveCopyAct->setShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_S);
-- m_fileSaveCopyAct->setEnabled(false);
-- fileMenu->addSeparator();
-- QAction *act = fileMenu->addAction(tr("&Quit"), qApp, SLOT(closeAllWindows()));
-- act->setShortcut(Qt::CTRL + Qt::Key_Q);
--
-- QMenu *viewMenu = menuBar()->addMenu(tr("&View"));
--
-- QMenu *settingsMenu = menuBar()->addMenu(tr("&Settings"));
-- m_settingsTextAAAct = settingsMenu->addAction(tr("Text Antialias"));
-- m_settingsTextAAAct->setCheckable(true);
-- connect(m_settingsTextAAAct, SIGNAL(toggled(bool)), this, SLOT(slotToggleTextAA(bool)));
-- m_settingsGfxAAAct = settingsMenu->addAction(tr("Graphics Antialias"));
-- m_settingsGfxAAAct->setCheckable(true);
-- connect(m_settingsGfxAAAct, SIGNAL(toggled(bool)), this, SLOT(slotToggleGfxAA(bool)));
-- QMenu *settingsRenderMenu = settingsMenu->addMenu(tr("Render Backend"));
-- m_settingsRenderBackendGrp = new QActionGroup(settingsRenderMenu);
-- m_settingsRenderBackendGrp->setExclusive(true);
-- act = settingsRenderMenu->addAction(tr("Splash"));
-- act->setCheckable(true);
-- act->setChecked(true);
-- act->setData(qVariantFromValue(0));
-- m_settingsRenderBackendGrp->addAction(act);
-- act = settingsRenderMenu->addAction(tr("Arthur"));
-- act->setCheckable(true);
-- act->setData(qVariantFromValue(1));
-- m_settingsRenderBackendGrp->addAction(act);
-- connect(m_settingsRenderBackendGrp, SIGNAL(triggered(QAction*)),
-- this, SLOT(slotRenderBackend(QAction*)));
--
-- QMenu *helpMenu = menuBar()->addMenu(tr("&Help"));
-- act = helpMenu->addAction(tr("&About"), this, SLOT(slotAbout()));
-- act = helpMenu->addAction(tr("About &Qt"), this, SLOT(slotAboutQt()));
--
-- NavigationToolBar *navbar = new NavigationToolBar(this);
-- addToolBar(navbar);
-- m_observers.append(navbar);
--
-- PageView *view = new PageView(this);
-- setCentralWidget(view);
-- m_observers.append(view);
--
-- InfoDock *infoDock = new InfoDock(this);
-- addDockWidget(Qt::LeftDockWidgetArea, infoDock);
-- infoDock->hide();
-- viewMenu->addAction(infoDock->toggleViewAction());
-- m_observers.append(infoDock);
--
-- TocDock *tocDock = new TocDock(this);
-- addDockWidget(Qt::LeftDockWidgetArea, tocDock);
-- tocDock->hide();
-- viewMenu->addAction(tocDock->toggleViewAction());
-- m_observers.append(tocDock);
--
-- FontsDock *fontsDock = new FontsDock(this);
-- addDockWidget(Qt::LeftDockWidgetArea, fontsDock);
-- fontsDock->hide();
-- viewMenu->addAction(fontsDock->toggleViewAction());
-- m_observers.append(fontsDock);
--
-- PermissionsDock *permissionsDock = new PermissionsDock(this);
-- addDockWidget(Qt::LeftDockWidgetArea, permissionsDock);
-- permissionsDock->hide();
-- viewMenu->addAction(permissionsDock->toggleViewAction());
-- m_observers.append(permissionsDock);
--
-- ThumbnailsDock *thumbnailsDock = new ThumbnailsDock(this);
-- addDockWidget(Qt::LeftDockWidgetArea, thumbnailsDock);
-- thumbnailsDock->hide();
-- viewMenu->addAction(thumbnailsDock->toggleViewAction());
-- m_observers.append(thumbnailsDock);
--
-- EmbeddedFilesDock *embfilesDock = new EmbeddedFilesDock(this);
-- addDockWidget(Qt::BottomDockWidgetArea, embfilesDock);
-- embfilesDock->hide();
-- viewMenu->addAction(embfilesDock->toggleViewAction());
-- m_observers.append(embfilesDock);
--
-- MetadataDock *metadataDock = new MetadataDock(this);
-- addDockWidget(Qt::BottomDockWidgetArea, metadataDock);
-- metadataDock->hide();
-- viewMenu->addAction(metadataDock->toggleViewAction());
-- m_observers.append(metadataDock);
--
-- OptContentDock *optContentDock = new OptContentDock(this);
-- addDockWidget(Qt::LeftDockWidgetArea, optContentDock);
-- optContentDock->hide();
-- viewMenu->addAction(optContentDock->toggleViewAction());
-- m_observers.append(optContentDock);
--
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->m_viewer = this;
-- }
--
-- connect(navbar, SIGNAL(zoomChanged(qreal)), view, SLOT(slotZoomChanged(qreal)));
-- connect(navbar, SIGNAL(rotationChanged(int)), view, SLOT(slotRotationChanged(int)));
--
-- // activate AA by default
-- m_settingsTextAAAct->setChecked(true);
-- m_settingsGfxAAAct->setChecked(true);
--}
--
--PdfViewer::~PdfViewer()
--{
-- closeDocument();
--}
--
--QSize PdfViewer::sizeHint() const
--{
-- return QSize(500, 600);
--}
--
--void PdfViewer::loadDocument(const QString &file)
--{
-- Poppler::Document *newdoc = Poppler::Document::load(file);
-- if (!newdoc) {
-- QMessageBox msgbox(QMessageBox::Critical, tr("Open Error"), tr("Cannot open:\n") + file,
-- QMessageBox::Ok, this);
-- msgbox.exec();
-- return;
-- }
--
-- while (newdoc->isLocked()) {
-- bool ok = true;
-- QString password = QInputDialog::getText(this, tr("Document Password"),
-- tr("Please insert the password of the document:"),
-- QLineEdit::Password, QString(), &ok);
-- if (!ok) {
-- delete newdoc;
-- return;
-- }
-- newdoc->unlock(password.toLatin1(), password.toLatin1());
-- }
--
-- closeDocument();
--
-- m_doc = newdoc;
--
-- m_doc->setRenderHint(Poppler::Document::TextAntialiasing, m_settingsTextAAAct->isChecked());
-- m_doc->setRenderHint(Poppler::Document::Antialiasing, m_settingsGfxAAAct->isChecked());
-- m_doc->setRenderBackend((Poppler::Document::RenderBackend)m_settingsRenderBackendGrp->checkedAction()->data().toInt());
--
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->documentLoaded();
-- obs->pageChanged(0);
-- }
--
-- m_fileSaveCopyAct->setEnabled(true);
--}
--
--void PdfViewer::closeDocument()
--{
-- if (!m_doc) {
-- return;
-- }
--
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->documentClosed();
-- }
--
-- m_currentPage = 0;
-- delete m_doc;
-- m_doc = 0;
--
-- m_fileSaveCopyAct->setEnabled(false);
--}
--
--void PdfViewer::slotOpenFile()
--{
-- QString fileName = QFileDialog::getOpenFileName(this, tr("Open PDF Document"), QDir::homePath(), tr("PDF Documents (*.pdf)"));
-- if (fileName.isEmpty()) {
-- return;
-- }
--
-- loadDocument(fileName);
--}
--
--void PdfViewer::slotSaveCopy()
--{
-- if (!m_doc) {
-- return;
-- }
--
-- QString fileName = QFileDialog::getSaveFileName(this, tr("Save Copy"), QDir::homePath(), tr("PDF Documents (*.pdf)"));
-- if (fileName.isEmpty()) {
-- return;
-- }
--
-- Poppler::PDFConverter *converter = m_doc->pdfConverter();
-- converter->setOutputFileName(fileName);
-- converter->setPDFOptions(converter->pdfOptions() & ~Poppler::PDFConverter::WithChanges);
-- if (!converter->convert()) {
-- QMessageBox msgbox(QMessageBox::Critical, tr("Save Error"), tr("Cannot export to:\n%1").arg(fileName),
-- QMessageBox::Ok, this);
-- }
-- delete converter;
--}
--
--void PdfViewer::slotAbout()
--{
-- const QString text("This is a demo of the Poppler-Qt4 library.");
-- QMessageBox::about(this, QString::fromLatin1("About Poppler-Qt4 Demo"), text);
--}
--
--void PdfViewer::slotAboutQt()
--{
-- QMessageBox::aboutQt(this);
--}
--
--void PdfViewer::slotToggleTextAA(bool value)
--{
-- if (!m_doc) {
-- return;
-- }
--
-- m_doc->setRenderHint(Poppler::Document::TextAntialiasing, value);
--
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->pageChanged(m_currentPage);
-- }
--}
--
--void PdfViewer::slotToggleGfxAA(bool value)
--{
-- if (!m_doc) {
-- return;
-- }
--
-- m_doc->setRenderHint(Poppler::Document::Antialiasing, value);
--
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->pageChanged(m_currentPage);
-- }
--}
--
--void PdfViewer::slotRenderBackend(QAction *act)
--{
-- if (!m_doc || !act) {
-- return;
-- }
--
-- m_doc->setRenderBackend((Poppler::Document::RenderBackend)act->data().toInt());
--
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->pageChanged(m_currentPage);
-- }
--}
--
--void PdfViewer::setPage(int page)
--{
-- Q_FOREACH(DocumentObserver *obs, m_observers) {
-- obs->pageChanged(page);
-- }
--
-- m_currentPage = page;
--}
--
--int PdfViewer::page() const
--{
-- return m_currentPage;
--}
--
--#include "viewer.moc"
-diff --git a/qt4/demos/viewer.h b/qt4/demos/viewer.h
-deleted file mode 100644
-index 5e0eaaff..00000000
---- a/qt4/demos/viewer.h
-+++ /dev/null
-@@ -1,73 +0,0 @@
--/*
-- * Copyright (C) 2008, Pino Toscano
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef PDFVIEWER_H
--#define PDFVIEWER_H
--
--#include
--
--class QAction;
--class QActionGroup;
--class QLabel;
--class DocumentObserver;
--namespace Poppler {
--class Document;
--}
--
--class PdfViewer : public QMainWindow
--{
-- Q_OBJECT
--
-- friend class DocumentObserver;
--
--public:
-- PdfViewer();
-- ~PdfViewer();
--
-- /*virtual*/ QSize sizeHint() const;
--
-- void loadDocument(const QString &file);
-- void closeDocument();
--
--private Q_SLOTS:
-- void slotOpenFile();
-- void slotSaveCopy();
-- void slotAbout();
-- void slotAboutQt();
-- void slotToggleTextAA(bool value);
-- void slotToggleGfxAA(bool value);
-- void slotRenderBackend(QAction *act);
--
--private:
-- void setPage(int page);
-- int page() const;
--
-- int m_currentPage;
--
-- QAction *m_fileOpenAct;
-- QAction *m_fileSaveCopyAct;
-- QAction *m_settingsTextAAAct;
-- QAction *m_settingsGfxAAAct;
-- QActionGroup *m_settingsRenderBackendGrp;
--
-- QList m_observers;
--
-- Poppler::Document *m_doc;
--};
--
--#endif
-diff --git a/qt4/src/.gitignore b/qt4/src/.gitignore
-deleted file mode 100644
-index 3d124ddd..00000000
---- a/qt4/src/.gitignore
-+++ /dev/null
-@@ -1,9 +0,0 @@
--.deps
--.libs
--*.la
--*.lo
--Makefile
--Makefile.in
--APIDOCS-html
--APIDOCS-latex
--*.moc
-diff --git a/qt4/src/ArthurOutputDev.cc b/qt4/src/ArthurOutputDev.cc
-deleted file mode 100644
-index f2fa6f17..00000000
---- a/qt4/src/ArthurOutputDev.cc
-+++ /dev/null
-@@ -1,812 +0,0 @@
--//========================================================================
--//
--// ArthurOutputDev.cc
--//
--// Copyright 2003 Glyph & Cog, LLC
--//
--//========================================================================
--
--//========================================================================
--//
--// Modified under the Poppler project - http://poppler.freedesktop.org
--//
--// All changes made under the Poppler project to this file are licensed
--// under GPL version 2 or later
--//
--// Copyright (C) 2005 Brad Hards
--// Copyright (C) 2005-2009, 2011, 2012, 2014, 2015 Albert Astals Cid
--// Copyright (C) 2008, 2010 Pino Toscano
--// Copyright (C) 2009, 2011 Carlos Garcia Campos
--// Copyright (C) 2009 Petr Gajdos
--// Copyright (C) 2010 Matthias Fauconneau
--// Copyright (C) 2011 Andreas Hartmetz
--// Copyright (C) 2013 Thomas Freitag
--// Copyright (C) 2013 Dominik Haumann
--// Copyright (C) 2017 Adrian Johnson
--//
--// To see a description of the changes please see the Changelog file that
--// came with your tarball or type make ChangeLog if you are building from git
--//
--//========================================================================
--
--#include
--
--#ifdef USE_GCC_PRAGMAS
--#pragma implementation
--#endif
--
--#include
--#include
--
--#include "goo/gfile.h"
--#include "GlobalParams.h"
--#include "Error.h"
--#include "Object.h"
--#include "GfxState.h"
--#include "GfxFont.h"
--#include "Link.h"
--#include "FontEncodingTables.h"
--#include
--#include "ArthurOutputDev.h"
--
--#include
--#include
--//------------------------------------------------------------------------
--
--#ifdef HAVE_SPLASH
--#include "splash/SplashFontFileID.h"
--#include "splash/SplashFontFile.h"
--#include "splash/SplashFontEngine.h"
--#include "splash/SplashFont.h"
--#include "splash/SplashMath.h"
--#include "splash/SplashPath.h"
--#include "splash/SplashGlyphBitmap.h"
--//------------------------------------------------------------------------
--// SplashOutFontFileID
--//------------------------------------------------------------------------
--
--class SplashOutFontFileID: public SplashFontFileID {
--public:
--
-- SplashOutFontFileID(Ref *rA) { r = *rA; }
--
-- ~SplashOutFontFileID() {}
--
-- GBool matches(SplashFontFileID *id) {
-- return ((SplashOutFontFileID *)id)->r.num == r.num &&
-- ((SplashOutFontFileID *)id)->r.gen == r.gen;
-- }
--
--private:
--
-- Ref r;
--};
--
--#endif
--
--//------------------------------------------------------------------------
--// ArthurOutputDev
--//------------------------------------------------------------------------
--
--ArthurOutputDev::ArthurOutputDev(QPainter *painter):
-- m_painter(painter),
-- m_fontHinting(NoHinting)
--{
-- m_currentBrush = QBrush(Qt::SolidPattern);
-- m_fontEngine = 0;
-- m_font = 0;
--}
--
--ArthurOutputDev::~ArthurOutputDev()
--{
--#ifdef HAVE_SPLASH
-- delete m_fontEngine;
--#endif
--}
--
--void ArthurOutputDev::startDoc(XRef *xrefA) {
-- xref = xrefA;
--#ifdef HAVE_SPLASH
-- delete m_fontEngine;
--
-- const bool isHintingEnabled = m_fontHinting != NoHinting;
-- const bool isSlightHinting = m_fontHinting == SlightHinting;
--
-- m_fontEngine = new SplashFontEngine(
-- globalParams->getEnableFreeType(),
-- isHintingEnabled,
-- isSlightHinting,
-- m_painter->testRenderHint(QPainter::TextAntialiasing));
--#endif
--}
--
--void ArthurOutputDev::startPage(int pageNum, GfxState *state, XRef *xref)
--{
-- // fill page with white background.
-- int w = static_cast(state->getPageWidth());
-- int h = static_cast(state->getPageHeight());
-- QColor fillColour(Qt::white);
-- QBrush fill(fillColour);
-- m_painter->save();
-- m_painter->setPen(fillColour);
-- m_painter->setBrush(fill);
-- m_painter->drawRect(0, 0, w, h);
-- m_painter->restore();
--}
--
--void ArthurOutputDev::endPage() {
--}
--
--void ArthurOutputDev::saveState(GfxState *state)
--{
-- m_painter->save();
--}
--
--void ArthurOutputDev::restoreState(GfxState *state)
--{
-- m_painter->restore();
--}
--
--void ArthurOutputDev::updateAll(GfxState *state)
--{
-- OutputDev::updateAll(state);
-- m_needFontUpdate = gTrue;
--}
--
--// This looks wrong - why aren't adjusting the matrix?
--void ArthurOutputDev::updateCTM(GfxState *state, double m11, double m12,
-- double m21, double m22,
-- double m31, double m32)
--{
-- updateLineDash(state);
-- updateLineJoin(state);
-- updateLineCap(state);
-- updateLineWidth(state);
--}
--
--void ArthurOutputDev::updateLineDash(GfxState *state)
--{
-- double *dashPattern;
-- int dashLength;
-- double dashStart;
-- state->getLineDash(&dashPattern, &dashLength, &dashStart);
-- QVector pattern(dashLength);
-- for (int i = 0; i < dashLength; ++i) {
-- pattern[i] = dashPattern[i];
-- }
-- m_currentPen.setDashPattern(pattern);
-- m_currentPen.setDashOffset(dashStart);
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateFlatness(GfxState *state)
--{
-- // qDebug() << "updateFlatness";
--}
--
--void ArthurOutputDev::updateLineJoin(GfxState *state)
--{
-- switch (state->getLineJoin()) {
-- case 0:
-- m_currentPen.setJoinStyle(Qt::MiterJoin);
-- break;
-- case 1:
-- m_currentPen.setJoinStyle(Qt::RoundJoin);
-- break;
-- case 2:
-- m_currentPen.setJoinStyle(Qt::BevelJoin);
-- break;
-- }
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateLineCap(GfxState *state)
--{
-- switch (state->getLineCap()) {
-- case 0:
-- m_currentPen.setCapStyle(Qt::FlatCap);
-- break;
-- case 1:
-- m_currentPen.setCapStyle(Qt::RoundCap);
-- break;
-- case 2:
-- m_currentPen.setCapStyle(Qt::SquareCap);
-- break;
-- }
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateMiterLimit(GfxState *state)
--{
-- m_currentPen.setMiterLimit(state->getMiterLimit());
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateLineWidth(GfxState *state)
--{
-- m_currentPen.setWidthF(state->getLineWidth());
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateFillColor(GfxState *state)
--{
-- GfxRGB rgb;
-- QColor brushColour = m_currentBrush.color();
-- state->getFillRGB(&rgb);
-- brushColour.setRgbF(colToDbl(rgb.r), colToDbl(rgb.g), colToDbl(rgb.b), brushColour.alphaF());
-- m_currentBrush.setColor(brushColour);
--}
--
--void ArthurOutputDev::updateStrokeColor(GfxState *state)
--{
-- GfxRGB rgb;
-- QColor penColour = m_currentPen.color();
-- state->getStrokeRGB(&rgb);
-- penColour.setRgbF(colToDbl(rgb.r), colToDbl(rgb.g), colToDbl(rgb.b), penColour.alphaF());
-- m_currentPen.setColor(penColour);
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateFillOpacity(GfxState *state)
--{
-- QColor brushColour= m_currentBrush.color();
-- brushColour.setAlphaF(state->getFillOpacity());
-- m_currentBrush.setColor(brushColour);
--}
--
--void ArthurOutputDev::updateStrokeOpacity(GfxState *state)
--{
-- QColor penColour= m_currentPen.color();
-- penColour.setAlphaF(state->getStrokeOpacity());
-- m_currentPen.setColor(penColour);
-- m_painter->setPen(m_currentPen);
--}
--
--void ArthurOutputDev::updateFont(GfxState *state)
--{
--#ifdef HAVE_SPLASH
-- GfxFont *gfxFont;
-- GfxFontLoc *fontLoc;
-- GfxFontType fontType;
-- SplashOutFontFileID *id;
-- SplashFontFile *fontFile;
-- SplashFontSrc *fontsrc = NULL;
-- FoFiTrueType *ff;
-- Object refObj, strObj;
-- GooString *fileName;
-- char *tmpBuf;
-- int tmpBufLen = 0;
-- int *codeToGID;
-- double *textMat;
-- double m11, m12, m21, m22, fontSize;
-- SplashCoord mat[4];
-- int n;
-- int faceIndex = 0;
-- SplashCoord matrix[6];
--
-- m_needFontUpdate = false;
-- m_font = NULL;
-- fileName = NULL;
-- tmpBuf = NULL;
-- fontLoc = NULL;
--
-- if (!(gfxFont = state->getFont())) {
-- goto err1;
-- }
-- fontType = gfxFont->getType();
-- if (fontType == fontType3) {
-- goto err1;
-- }
--
-- // check the font file cache
-- id = new SplashOutFontFileID(gfxFont->getID());
-- if ((fontFile = m_fontEngine->getFontFile(id))) {
-- delete id;
--
-- } else {
--
-- if (!(fontLoc = gfxFont->locateFont(xref, NULL))) {
-- error(errSyntaxError, -1, "Couldn't find a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
--
-- // embedded font
-- if (fontLoc->locType == gfxFontLocEmbedded) {
-- // if there is an embedded font, read it to memory
-- tmpBuf = gfxFont->readEmbFontFile(xref, &tmpBufLen);
-- if (! tmpBuf)
-- goto err2;
--
-- // external font
-- } else { // gfxFontLocExternal
-- fileName = fontLoc->path;
-- fontType = fontLoc->fontType;
-- }
--
-- fontsrc = new SplashFontSrc;
-- if (fileName)
-- fontsrc->setFile(fileName, gFalse);
-- else
-- fontsrc->setBuf(tmpBuf, tmpBufLen, gTrue);
--
-- // load the font file
-- switch (fontType) {
-- case fontType1:
-- if (!(fontFile = m_fontEngine->loadType1Font(
-- id,
-- fontsrc,
-- (const char **)((Gfx8BitFont *)gfxFont)->getEncoding()))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- case fontType1C:
-- if (!(fontFile = m_fontEngine->loadType1CFont(
-- id,
-- fontsrc,
-- (const char **)((Gfx8BitFont *)gfxFont)->getEncoding()))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- case fontType1COT:
-- if (!(fontFile = m_fontEngine->loadOpenTypeT1CFont(
-- id,
-- fontsrc,
-- (const char **)((Gfx8BitFont *)gfxFont)->getEncoding()))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- case fontTrueType:
-- case fontTrueTypeOT:
-- if (fileName)
-- ff = FoFiTrueType::load(fileName->getCString());
-- else
-- ff = FoFiTrueType::make(tmpBuf, tmpBufLen);
-- if (ff) {
-- codeToGID = ((Gfx8BitFont *)gfxFont)->getCodeToGIDMap(ff);
-- n = 256;
-- delete ff;
-- } else {
-- codeToGID = NULL;
-- n = 0;
-- }
-- if (!(fontFile = m_fontEngine->loadTrueTypeFont(
-- id,
-- fontsrc,
-- codeToGID, n))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- case fontCIDType0:
-- case fontCIDType0C:
-- if (!(fontFile = m_fontEngine->loadCIDFont(
-- id,
-- fontsrc))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- case fontCIDType0COT:
-- if (((GfxCIDFont *)gfxFont)->getCIDToGID()) {
-- n = ((GfxCIDFont *)gfxFont)->getCIDToGIDLen();
-- codeToGID = (int *)gmallocn(n, sizeof(int));
-- memcpy(codeToGID, ((GfxCIDFont *)gfxFont)->getCIDToGID(),
-- n * sizeof(int));
-- } else {
-- codeToGID = NULL;
-- n = 0;
-- }
-- if (!(fontFile = m_fontEngine->loadOpenTypeCFFFont(
-- id,
-- fontsrc,
-- codeToGID, n))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- case fontCIDType2:
-- case fontCIDType2OT:
-- codeToGID = NULL;
-- n = 0;
-- if (((GfxCIDFont *)gfxFont)->getCIDToGID()) {
-- n = ((GfxCIDFont *)gfxFont)->getCIDToGIDLen();
-- if (n) {
-- codeToGID = (int *)gmallocn(n, sizeof(int));
-- memcpy(codeToGID, ((GfxCIDFont *)gfxFont)->getCIDToGID(),
-- n * sizeof(Gushort));
-- }
-- } else {
-- if (fileName)
-- ff = FoFiTrueType::load(fileName->getCString());
-- else
-- ff = FoFiTrueType::make(tmpBuf, tmpBufLen);
-- if (! ff)
-- goto err2;
-- codeToGID = ((GfxCIDFont *)gfxFont)->getCodeToGIDMap(ff, &n);
-- delete ff;
-- }
-- if (!(fontFile = m_fontEngine->loadTrueTypeFont(
-- id,
-- fontsrc,
-- codeToGID, n, faceIndex))) {
-- error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-- gfxFont->getName() ? gfxFont->getName()->getCString()
-- : "(unnamed)");
-- goto err2;
-- }
-- break;
-- default:
-- // this shouldn't happen
-- goto err2;
-- }
-- }
--
-- // get the font matrix
-- textMat = state->getTextMat();
-- fontSize = state->getFontSize();
-- m11 = textMat[0] * fontSize * state->getHorizScaling();
-- m12 = textMat[1] * fontSize * state->getHorizScaling();
-- m21 = textMat[2] * fontSize;
-- m22 = textMat[3] * fontSize;
--
-- {
-- QMatrix painterMatrix = m_painter->worldMatrix();
-- matrix[0] = painterMatrix.m11();
-- matrix[1] = painterMatrix.m12();
-- matrix[2] = painterMatrix.m21();
-- matrix[3] = painterMatrix.m22();
-- matrix[4] = painterMatrix.dx();
-- matrix[5] = painterMatrix.dy();
-- }
--
-- // create the scaled font
-- mat[0] = m11; mat[1] = -m12;
-- mat[2] = m21; mat[3] = -m22;
-- m_font = m_fontEngine->getFont(fontFile, mat, matrix);
--
-- delete fontLoc;
-- if (fontsrc && !fontsrc->isFile)
-- fontsrc->unref();
-- return;
--
-- err2:
-- delete id;
-- delete fontLoc;
-- err1:
-- if (fontsrc && !fontsrc->isFile)
-- fontsrc->unref();
-- return;
--#endif
--}
--
--static QPainterPath convertPath(GfxState *state, GfxPath *path, Qt::FillRule fillRule)
--{
-- GfxSubpath *subpath;
-- double x1, y1, x2, y2, x3, y3;
-- int i, j;
--
-- QPainterPath qPath;
-- qPath.setFillRule(fillRule);
-- for (i = 0; i < path->getNumSubpaths(); ++i) {
-- subpath = path->getSubpath(i);
-- if (subpath->getNumPoints() > 0) {
-- state->transform(subpath->getX(0), subpath->getY(0), &x1, &y1);
-- qPath.moveTo(x1, y1);
-- j = 1;
-- while (j < subpath->getNumPoints()) {
-- if (subpath->getCurve(j)) {
-- state->transform(subpath->getX(j), subpath->getY(j), &x1, &y1);
-- state->transform(subpath->getX(j+1), subpath->getY(j+1), &x2, &y2);
-- state->transform(subpath->getX(j+2), subpath->getY(j+2), &x3, &y3);
-- qPath.cubicTo( x1, y1, x2, y2, x3, y3);
-- j += 3;
-- } else {
-- state->transform(subpath->getX(j), subpath->getY(j), &x1, &y1);
-- qPath.lineTo(x1, y1);
-- ++j;
-- }
-- }
-- if (subpath->isClosed()) {
-- qPath.closeSubpath();
-- }
-- }
-- }
-- return qPath;
--}
--
--void ArthurOutputDev::stroke(GfxState *state)
--{
-- m_painter->strokePath( convertPath( state, state->getPath(), Qt::OddEvenFill ), m_currentPen );
--}
--
--void ArthurOutputDev::fill(GfxState *state)
--{
-- m_painter->fillPath( convertPath( state, state->getPath(), Qt::WindingFill ), m_currentBrush );
--}
--
--void ArthurOutputDev::eoFill(GfxState *state)
--{
-- m_painter->fillPath( convertPath( state, state->getPath(), Qt::OddEvenFill ), m_currentBrush );
--}
--
--void ArthurOutputDev::clip(GfxState *state)
--{
-- m_painter->setClipPath(convertPath( state, state->getPath(), Qt::WindingFill ) );
--}
--
--void ArthurOutputDev::eoClip(GfxState *state)
--{
-- m_painter->setClipPath(convertPath( state, state->getPath(), Qt::OddEvenFill ) );
--}
--
--void ArthurOutputDev::drawChar(GfxState *state, double x, double y,
-- double dx, double dy,
-- double originX, double originY,
-- CharCode code, int nBytes, Unicode *u, int uLen) {
--#ifdef HAVE_SPLASH
-- double x1, y1;
-- double x2, y2;
--// SplashPath *path;
-- int render;
--
-- if (m_needFontUpdate) {
-- updateFont(state);
-- }
-- if (!m_font) {
-- return;
-- }
--
-- // check for invisible text -- this is used by Acrobat Capture
-- render = state->getRender();
-- if (render == 3) {
-- return;
-- }
--
-- x -= originX;
-- y -= originY;
--
-- // fill
-- if (!(render & 1)) {
-- SplashPath * fontPath;
-- fontPath = m_font->getGlyphPath(code);
-- if (fontPath) {
-- QPainterPath qPath;
-- qPath.setFillRule(Qt::WindingFill);
-- for (int i = 0; i < fontPath->length; ++i) {
-- // SplashPath.flags: bitwise or allowed
-- if (fontPath->flags[i] & splashPathLast || fontPath->flags[i] & splashPathClosed) {
-- qPath.closeSubpath();
-- }
-- if (fontPath->flags[i] & splashPathFirst) {
-- state->transform(fontPath->pts[i].x+x, -fontPath->pts[i].y+y, &x1, &y1);
-- qPath.moveTo(x1,y1);
-- }
-- if (fontPath->flags[i] & splashPathCurve) {
-- state->transform(fontPath->pts[i].x+x, -fontPath->pts[i].y+y, &x1, &y1);
-- state->transform(fontPath->pts[i+1].x+x, -fontPath->pts[i+1].y+y, &x2, &y2);
-- qPath.quadTo(x1,y1,x2,y2);
-- ++i;
-- }
-- // FIXME fix this
-- // else if (fontPath->flags[i] & splashPathArcCW) {
-- // qDebug() << "Need to implement arc";
-- // }
-- else {
-- state->transform(fontPath->pts[i].x+x, -fontPath->pts[i].y+y, &x1, &y1);
-- qPath.lineTo(x1,y1);
-- }
-- }
-- GfxRGB rgb;
-- QColor brushColour = m_currentBrush.color();
-- state->getFillRGB(&rgb);
-- brushColour.setRgbF(colToDbl(rgb.r), colToDbl(rgb.g), colToDbl(rgb.b), state->getFillOpacity());
-- m_painter->setBrush(brushColour);
-- m_painter->setPen(Qt::NoPen);
-- m_painter->drawPath(qPath);
-- delete fontPath;
-- }
-- }
--
-- // stroke
-- if ((render & 3) == 1 || (render & 3) == 2) {
-- qDebug() << "no stroke";
-- /*
-- if ((path = m_font->getGlyphPath(code))) {
-- path->offset((SplashCoord)x1, (SplashCoord)y1);
-- splash->stroke(path);
-- delete path;
-- }
-- */
-- }
--
-- // clip
-- if (render & 4) {
-- qDebug() << "no clip";
-- /*
-- path = m_font->getGlyphPath(code);
-- path->offset((SplashCoord)x1, (SplashCoord)y1);
-- if (textClipPath) {
-- textClipPath->append(path);
-- delete path;
-- } else {
-- textClipPath = path;
-- }
-- */
-- }
--#endif
--}
--
--GBool ArthurOutputDev::beginType3Char(GfxState *state, double x, double y,
-- double dx, double dy,
-- CharCode code, Unicode *u, int uLen)
--{
-- return gFalse;
--}
--
--void ArthurOutputDev::endType3Char(GfxState *state)
--{
--}
--
--void ArthurOutputDev::type3D0(GfxState *state, double wx, double wy)
--{
--}
--
--void ArthurOutputDev::type3D1(GfxState *state, double wx, double wy,
-- double llx, double lly, double urx, double ury)
--{
--}
--
--void ArthurOutputDev::endTextObject(GfxState *state)
--{
--}
--
--
--void ArthurOutputDev::drawImageMask(GfxState *state, Object *ref, Stream *str,
-- int width, int height, GBool invert,
-- GBool interpolate, GBool inlineImg)
--{
-- qDebug() << "drawImageMask";
--#if 0
-- unsigned char *buffer;
-- unsigned char *dest;
-- cairo_surface_t *image;
-- cairo_pattern_t *pattern;
-- int x, y;
-- ImageStream *imgStr;
-- Guchar *pix;
-- double *ctm;
-- cairo_matrix_t matrix;
-- int invert_bit;
-- int row_stride;
--
-- row_stride = (width + 3) & ~3;
-- buffer = (unsigned char *) malloc (height * row_stride);
-- if (buffer == NULL) {
-- error(-1, "Unable to allocate memory for image.");
-- return;
-- }
--
-- /* TODO: Do we want to cache these? */
-- imgStr = new ImageStream(str, width, 1, 1);
-- imgStr->reset();
--
-- invert_bit = invert ? 1 : 0;
--
-- for (y = 0; y < height; y++) {
-- pix = imgStr->getLine();
-- dest = buffer + y * row_stride;
-- for (x = 0; x < width; x++) {
--
-- if (pix[x] ^ invert_bit)
-- *dest++ = 0;
-- else
-- *dest++ = 255;
-- }
-- }
--
-- image = cairo_image_surface_create_for_data (buffer, CAIRO_FORMAT_A8,
-- width, height, row_stride);
-- if (image == NULL)
-- return;
-- pattern = cairo_pattern_create_for_surface (image);
-- if (pattern == NULL)
-- return;
--
-- ctm = state->getCTM();
-- LOG (printf ("drawImageMask %dx%d, matrix: %f, %f, %f, %f, %f, %f\n",
-- width, height, ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]));
-- matrix.xx = ctm[0] / width;
-- matrix.xy = -ctm[2] / height;
-- matrix.yx = ctm[1] / width;
-- matrix.yy = -ctm[3] / height;
-- matrix.x0 = ctm[2] + ctm[4];
-- matrix.y0 = ctm[3] + ctm[5];
-- cairo_matrix_invert (&matrix);
-- cairo_pattern_set_matrix (pattern, &matrix);
--
-- cairo_pattern_set_filter (pattern, CAIRO_FILTER_BEST);
-- /* FIXME: Doesn't the image mask support any colorspace? */
-- cairo_set_source_rgb (cairo, fill_color.r, fill_color.g, fill_color.b);
-- cairo_mask (cairo, pattern);
--
-- cairo_pattern_destroy (pattern);
-- cairo_surface_destroy (image);
-- free (buffer);
-- imgStr->close ();
-- delete imgStr;
--#endif
--}
--
--//TODO: lots more work here.
--void ArthurOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
-- int width, int height,
-- GfxImageColorMap *colorMap,
-- GBool interpolate, int *maskColors, GBool inlineImg)
--{
-- unsigned int *data;
-- unsigned int *line;
-- int x, y;
-- ImageStream *imgStr;
-- Guchar *pix;
-- int i;
-- double *ctm;
-- QMatrix matrix;
-- QImage image;
-- int stride;
--
-- /* TODO: Do we want to cache these? */
-- imgStr = new ImageStream(str, width,
-- colorMap->getNumPixelComps(),
-- colorMap->getBits());
-- imgStr->reset();
--
-- image = QImage(width, height, QImage::Format_ARGB32);
-- data = (unsigned int *)image.bits();
-- stride = image.bytesPerLine()/4;
-- for (y = 0; y < height; y++) {
-- pix = imgStr->getLine();
-- line = data+y*stride;
-- colorMap->getRGBLine(pix, line, width);
--
-- if (maskColors) {
-- for (x = 0; x < width; x++) {
-- for (i = 0; i < colorMap->getNumPixelComps(); ++i) {
-- if (pix[i] < maskColors[2*i] * 255||
-- pix[i] > maskColors[2*i+1] * 255) {
-- *line = *line | 0xff000000;
-- break;
-- }
-- }
-- pix += colorMap->getNumPixelComps();
-- line++;
-- }
-- } else {
-- for (x = 0; x < width; x++) { *line = *line | 0xff000000; line++; }
-- }
-- }
--
-- ctm = state->getCTM();
-- matrix.setMatrix(ctm[0] / width, ctm[1] / width, -ctm[2] / height, -ctm[3] / height, ctm[2] + ctm[4], ctm[3] + ctm[5]);
--
-- m_painter->setMatrix(matrix, true);
-- m_painter->drawImage( QPoint(0,0), image );
-- delete imgStr;
--
--}
-diff --git a/qt4/src/ArthurOutputDev.h b/qt4/src/ArthurOutputDev.h
-deleted file mode 100644
-index 9d5e8679..00000000
---- a/qt4/src/ArthurOutputDev.h
-+++ /dev/null
-@@ -1,170 +0,0 @@
--//========================================================================
--//
--// ArthurOutputDev.h
--//
--// Copyright 2003 Glyph & Cog, LLC
--//
--//========================================================================
--
--//========================================================================
--//
--// Modified under the Poppler project - http://poppler.freedesktop.org
--//
--// All changes made under the Poppler project to this file are licensed
--// under GPL version 2 or later
--//
--// Copyright (C) 2005 Brad Hards
--// Copyright (C) 2005 Albert Astals Cid
--// Copyright (C) 2009, 2011 Carlos Garcia Campos
--// Copyright (C) 2010 Pino Toscano
--// Copyright (C) 2011 Andreas Hartmetz
--// Copyright (C) 2013 Thomas Freitag
--//
--// To see a description of the changes please see the Changelog file that
--// came with your tarball or type make ChangeLog if you are building from git
--//
--//========================================================================
--
--#ifndef ARTHUROUTPUTDEV_H
--#define ARTHUROUTPUTDEV_H
--
--#ifdef USE_GCC_PRAGMAS
--#pragma interface
--#endif
--
--#include "goo/gtypes.h"
--#include "OutputDev.h"
--#include "GfxState.h"
--
--#include
--
--class GfxState;
--class GfxPath;
--class Gfx8BitFont;
--struct GfxRGB;
--
--class SplashFont;
--class SplashFontEngine;
--struct SplashGlyphBitmap;
--
--//------------------------------------------------------------------------
--// ArthurOutputDev - Qt 4 QPainter renderer
--//------------------------------------------------------------------------
--
--class ArthurOutputDev: public OutputDev {
--public:
-- /**
-- * Describes how fonts are distorted (aka hinted) to fit the pixel grid.
-- * More hinting means sharper edges and less adherence to the true letter shapes.
-- */
-- enum FontHinting {
-- NoHinting = 0, ///< Font shapes are left unchanged
-- SlightHinting, ///< Font shapes are distorted vertically only
-- FullHinting ///< Font shapes are distorted horizontally and vertically
-- };
--
-- // Constructor.
-- ArthurOutputDev(QPainter *painter );
--
-- // Destructor.
-- virtual ~ArthurOutputDev();
--
-- void setFontHinting(FontHinting hinting) { m_fontHinting = hinting; }
--
-- //----- get info about output device
--
-- // Does this device use upside-down coordinates?
-- // (Upside-down means (0,0) is the top left corner of the page.)
-- virtual GBool upsideDown() { return gTrue; }
--
-- // Does this device use drawChar() or drawString()?
-- virtual GBool useDrawChar() { return gTrue; }
--
-- // Does this device use beginType3Char/endType3Char? Otherwise,
-- // text in Type 3 fonts will be drawn with drawChar/drawString.
-- virtual GBool interpretType3Chars() { return gTrue; }
--
-- //----- initialization and control
--
-- // Start a page.
-- virtual void startPage(int pageNum, GfxState *state, XRef *xref);
--
-- // End a page.
-- virtual void endPage();
--
-- //----- save/restore graphics state
-- virtual void saveState(GfxState *state);
-- virtual void restoreState(GfxState *state);
--
-- //----- update graphics state
-- virtual void updateAll(GfxState *state);
-- virtual void updateCTM(GfxState *state, double m11, double m12,
-- double m21, double m22, double m31, double m32);
-- virtual void updateLineDash(GfxState *state);
-- virtual void updateFlatness(GfxState *state);
-- virtual void updateLineJoin(GfxState *state);
-- virtual void updateLineCap(GfxState *state);
-- virtual void updateMiterLimit(GfxState *state);
-- virtual void updateLineWidth(GfxState *state);
-- virtual void updateFillColor(GfxState *state);
-- virtual void updateStrokeColor(GfxState *state);
-- virtual void updateFillOpacity(GfxState *state);
-- virtual void updateStrokeOpacity(GfxState *state);
--
-- //----- update text state
-- virtual void updateFont(GfxState *state);
--
-- //----- path painting
-- virtual void stroke(GfxState *state);
-- virtual void fill(GfxState *state);
-- virtual void eoFill(GfxState *state);
--
-- //----- path clipping
-- virtual void clip(GfxState *state);
-- virtual void eoClip(GfxState *state);
--
-- //----- text drawing
-- // virtual void drawString(GfxState *state, GooString *s);
-- virtual void drawChar(GfxState *state, double x, double y,
-- double dx, double dy,
-- double originX, double originY,
-- CharCode code, int nBytes, Unicode *u, int uLen);
-- virtual GBool beginType3Char(GfxState *state, double x, double y,
-- double dx, double dy,
-- CharCode code, Unicode *u, int uLen);
-- virtual void endType3Char(GfxState *state);
-- virtual void endTextObject(GfxState *state);
--
-- //----- image drawing
-- virtual void drawImageMask(GfxState *state, Object *ref, Stream *str,
-- int width, int height, GBool invert,
-- GBool interpolate, GBool inlineImg);
-- virtual void drawImage(GfxState *state, Object *ref, Stream *str,
-- int width, int height, GfxImageColorMap *colorMap,
-- GBool interpolate, int *maskColors, GBool inlineImg);
--
-- //----- Type 3 font operators
-- virtual void type3D0(GfxState *state, double wx, double wy);
-- virtual void type3D1(GfxState *state, double wx, double wy,
-- double llx, double lly, double urx, double ury);
--
-- //----- special access
--
-- // Called to indicate that a new PDF document has been loaded.
-- void startDoc(XRef *xrefA);
--
-- GBool isReverseVideo() { return gFalse; }
--
--private:
-- QPainter *m_painter;
-- FontHinting m_fontHinting;
-- QFont m_currentFont;
-- QPen m_currentPen;
-- QBrush m_currentBrush;
-- GBool m_needFontUpdate; // set when the font needs to be updated
-- SplashFontEngine *m_fontEngine;
-- SplashFont *m_font; // current font
-- XRef *xref; // xref table for current document
--};
--
--#endif
-diff --git a/qt4/src/CMakeLists.txt b/qt4/src/CMakeLists.txt
-deleted file mode 100644
-index f6547726..00000000
---- a/qt4/src/CMakeLists.txt
-+++ /dev/null
-@@ -1,54 +0,0 @@
--add_definitions(${QT4_DEFINITIONS})
--
--include_directories(
-- ${CMAKE_CURRENT_SOURCE_DIR}
-- ${QT4_INCLUDE_DIR}
-- ${CMAKE_CURRENT_BINARY_DIR}
--)
--
--set(poppler_qt4_SRCS
-- poppler-annotation.cc
-- poppler-document.cc
-- poppler-embeddedfile.cc
-- poppler-fontinfo.cc
-- poppler-form.cc
-- poppler-link.cc
-- poppler-link-extractor.cc
-- poppler-movie.cc
-- poppler-optcontent.cc
-- poppler-page.cc
-- poppler-base-converter.cc
-- poppler-pdf-converter.cc
-- poppler-private.cc
-- poppler-ps-converter.cc
-- poppler-qiodeviceoutstream.cc
-- poppler-sound.cc
-- poppler-textbox.cc
-- poppler-page-transition.cc
-- poppler-media.cc
-- ArthurOutputDev.cc
--)
--qt4_automoc(${poppler_qt4_SRCS})
--add_library(poppler-qt4 SHARED ${poppler_qt4_SRCS})
--set_target_properties(poppler-qt4 PROPERTIES VERSION 4.11.0 SOVERSION 4)
--if(MINGW)
-- get_target_property(POPPLER_QT4_SOVERSION poppler-qt4 SOVERSION)
-- set_target_properties(poppler-qt4 PROPERTIES SUFFIX "-${POPPLER_QT4_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}")
--endif()
--target_link_libraries(poppler-qt4 poppler ${QT4_QTCORE_LIBRARY} ${QT4_QTGUI_LIBRARY} ${QT4_QTXML_LIBRARY})
--if(MSVC)
--target_link_libraries(poppler-qt4 poppler ${poppler_LIBS})
--endif()
--install(TARGETS poppler-qt4 RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
--
--install(FILES
-- poppler-qt4.h
-- poppler-link.h
-- poppler-annotation.h
-- poppler-form.h
-- poppler-optcontent.h
-- poppler-export.h
-- poppler-page-transition.h
-- poppler-media.h
-- DESTINATION include/poppler/qt4)
--
-diff --git a/qt4/src/Doxyfile b/qt4/src/Doxyfile
-deleted file mode 100644
-index e68690ac..00000000
---- a/qt4/src/Doxyfile
-+++ /dev/null
-@@ -1,1637 +0,0 @@
--# Doxyfile 1.7.1
--
--# This file describes the settings to be used by the documentation system
--# doxygen (www.doxygen.org) for a project
--#
--# All text after a hash (#) is considered a comment and will be ignored
--# The format is:
--# TAG = value [value, ...]
--# For lists items can also be appended using:
--# TAG += value [value, ...]
--# Values that contain spaces should be placed between quotes (" ")
--
--#---------------------------------------------------------------------------
--# Project related configuration options
--#---------------------------------------------------------------------------
--
--# This tag specifies the encoding used for all characters in the config file
--# that follow. The default is UTF-8 which is also the encoding used for all
--# text before the first occurrence of this tag. Doxygen uses libiconv (or the
--# iconv built into libc) for the transcoding. See
--# http://www.gnu.org/software/libiconv for the list of possible encodings.
--
--DOXYFILE_ENCODING = UTF-8
--
--# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
--# by quotes) that should identify the project.
--
--PROJECT_NAME = "Poppler Qt4 "
--
--# The PROJECT_NUMBER tag can be used to enter a project or revision number.
--# This could be handy for archiving the generated documentation or
--# if some version control system is used.
--
--PROJECT_NUMBER = 0.61.1
--
--# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
--# base path where the generated documentation will be put.
--# If a relative path is entered, it will be relative to the location
--# where doxygen was started. If left blank the current directory will be used.
--
--OUTPUT_DIRECTORY =
--
--# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
--# 4096 sub-directories (in 2 levels) under the output directory of each output
--# format and will distribute the generated files over these directories.
--# Enabling this option can be useful when feeding doxygen a huge amount of
--# source files, where putting all generated files in the same directory would
--# otherwise cause performance problems for the file system.
--
--CREATE_SUBDIRS = NO
--
--# The OUTPUT_LANGUAGE tag is used to specify the language in which all
--# documentation generated by doxygen is written. Doxygen will use this
--# information to generate all constant output in the proper language.
--# The default language is English, other supported languages are:
--# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
--# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
--# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
--# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
--# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
--# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
--
--OUTPUT_LANGUAGE = English
--
--# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
--# include brief member descriptions after the members that are listed in
--# the file and class documentation (similar to JavaDoc).
--# Set to NO to disable this.
--
--BRIEF_MEMBER_DESC = NO
--
--# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
--# the brief description of a member or function before the detailed description.
--# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
--# brief descriptions will be completely suppressed.
--
--REPEAT_BRIEF = YES
--
--# This tag implements a quasi-intelligent brief description abbreviator
--# that is used to form the text in various listings. Each string
--# in this list, if found as the leading text of the brief description, will be
--# stripped from the text and the result after processing the whole list, is
--# used as the annotated text. Otherwise, the brief description is used as-is.
--# If left blank, the following values are used ("$name" is automatically
--# replaced with the name of the entity): "The $name class" "The $name widget"
--# "The $name file" "is" "provides" "specifies" "contains"
--# "represents" "a" "an" "the"
--
--ABBREVIATE_BRIEF =
--
--# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
--# Doxygen will generate a detailed section even if there is only a brief
--# description.
--
--ALWAYS_DETAILED_SEC = NO
--
--# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
--# inherited members of a class in the documentation of that class as if those
--# members were ordinary class members. Constructors, destructors and assignment
--# operators of the base classes will not be shown.
--
--INLINE_INHERITED_MEMB = NO
--
--# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
--# path before files name in the file list and in the header files. If set
--# to NO the shortest path that makes the file name unique will be used.
--
--FULL_PATH_NAMES = YES
--
--# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
--# can be used to strip a user-defined part of the path. Stripping is
--# only done if one of the specified strings matches the left-hand part of
--# the path. The tag can be used to show relative paths in the file list.
--# If left blank the directory from which doxygen is run is used as the
--# path to strip.
--
--STRIP_FROM_PATH =
--
--# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
--# the path mentioned in the documentation of a class, which tells
--# the reader which header file to include in order to use a class.
--# If left blank only the name of the header file containing the class
--# definition is used. Otherwise one should specify the include paths that
--# are normally passed to the compiler using the -I flag.
--
--STRIP_FROM_INC_PATH =
--
--# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
--# (but less readable) file names. This can be useful is your file systems
--# doesn't support long names like on DOS, Mac, or CD-ROM.
--
--SHORT_NAMES = NO
--
--# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
--# will interpret the first line (until the first dot) of a JavaDoc-style
--# comment as the brief description. If set to NO, the JavaDoc
--# comments will behave just like regular Qt-style comments
--# (thus requiring an explicit @brief command for a brief description.)
--
--JAVADOC_AUTOBRIEF = YES
--
--# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
--# interpret the first line (until the first dot) of a Qt-style
--# comment as the brief description. If set to NO, the comments
--# will behave just like regular Qt-style comments (thus requiring
--# an explicit \brief command for a brief description.)
--
--QT_AUTOBRIEF = NO
--
--# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
--# treat a multi-line C++ special comment block (i.e. a block of //! or ///
--# comments) as a brief description. This used to be the default behaviour.
--# The new default is to treat a multi-line C++ comment block as a detailed
--# description. Set this tag to YES if you prefer the old behaviour instead.
--
--MULTILINE_CPP_IS_BRIEF = NO
--
--# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
--# member inherits the documentation from any documented member that it
--# re-implements.
--
--INHERIT_DOCS = YES
--
--# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
--# a new page for each member. If set to NO, the documentation of a member will
--# be part of the file/class/namespace that contains it.
--
--SEPARATE_MEMBER_PAGES = NO
--
--# The TAB_SIZE tag can be used to set the number of spaces in a tab.
--# Doxygen uses this value to replace tabs by spaces in code fragments.
--
--TAB_SIZE = 8
--
--# This tag can be used to specify a number of aliases that acts
--# as commands in the documentation. An alias has the form "name=value".
--# For example adding "sideeffect=\par Side Effects:\n" will allow you to
--# put the command \sideeffect (or @sideeffect) in the documentation, which
--# will result in a user-defined paragraph with heading "Side Effects:".
--# You can put \n's in the value part of an alias to insert newlines.
--
--ALIASES =
--
--# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
--# sources only. Doxygen will then generate output that is more tailored for C.
--# For instance, some of the names that are used will be different. The list
--# of all members will be omitted, etc.
--
--OPTIMIZE_OUTPUT_FOR_C = NO
--
--# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
--# sources only. Doxygen will then generate output that is more tailored for
--# Java. For instance, namespaces will be presented as packages, qualified
--# scopes will look different, etc.
--
--OPTIMIZE_OUTPUT_JAVA = NO
--
--# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
--# sources only. Doxygen will then generate output that is more tailored for
--# Fortran.
--
--OPTIMIZE_FOR_FORTRAN = NO
--
--# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
--# sources. Doxygen will then generate output that is tailored for
--# VHDL.
--
--OPTIMIZE_OUTPUT_VHDL = NO
--
--# Doxygen selects the parser to use depending on the extension of the files it
--# parses. With this tag you can assign which parser to use for a given extension.
--# Doxygen has a built-in mapping, but you can override or extend it using this
--# tag. The format is ext=language, where ext is a file extension, and language
--# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
--# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
--# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
--# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
--# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
--
--EXTENSION_MAPPING =
--
--# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
--# to include (a tag file for) the STL sources as input, then you should
--# set this tag to YES in order to let doxygen match functions declarations and
--# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
--# func(std::string) {}). This also make the inheritance and collaboration
--# diagrams that involve STL classes more complete and accurate.
--
--BUILTIN_STL_SUPPORT = NO
--
--# If you use Microsoft's C++/CLI language, you should set this option to YES to
--# enable parsing support.
--
--CPP_CLI_SUPPORT = NO
--
--# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
--# Doxygen will parse them like normal C++ but will assume all classes use public
--# instead of private inheritance when no explicit protection keyword is present.
--
--SIP_SUPPORT = NO
--
--# For Microsoft's IDL there are propget and propput attributes to indicate getter
--# and setter methods for a property. Setting this option to YES (the default)
--# will make doxygen to replace the get and set methods by a property in the
--# documentation. This will only work if the methods are indeed getting or
--# setting a simple type. If this is not the case, or you want to show the
--# methods anyway, you should set this option to NO.
--
--IDL_PROPERTY_SUPPORT = YES
--
--# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
--# tag is set to YES, then doxygen will reuse the documentation of the first
--# member in the group (if any) for the other members of the group. By default
--# all members of a group must be documented explicitly.
--
--DISTRIBUTE_GROUP_DOC = NO
--
--# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
--# the same type (for instance a group of public functions) to be put as a
--# subgroup of that type (e.g. under the Public Functions section). Set it to
--# NO to prevent subgrouping. Alternatively, this can be done per class using
--# the \nosubgrouping command.
--
--SUBGROUPING = YES
--
--# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
--# is documented as struct, union, or enum with the name of the typedef. So
--# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
--# with name TypeT. When disabled the typedef will appear as a member of a file,
--# namespace, or class. And the struct will be named TypeS. This can typically
--# be useful for C code in case the coding convention dictates that all compound
--# types are typedef'ed and only the typedef is referenced, never the tag name.
--
--TYPEDEF_HIDES_STRUCT = NO
--
--# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
--# determine which symbols to keep in memory and which to flush to disk.
--# When the cache is full, less often used symbols will be written to disk.
--# For small to medium size projects (<1000 input files) the default value is
--# probably good enough. For larger projects a too small cache size can cause
--# doxygen to be busy swapping symbols to and from disk most of the time
--# causing a significant performance penality.
--# If the system has enough physical memory increasing the cache will improve the
--# performance by keeping more symbols in memory. Note that the value works on
--# a logarithmic scale so increasing the size by one will rougly double the
--# memory usage. The cache size is given by this formula:
--# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
--# corresponding to a cache size of 2^16 = 65536 symbols
--
--SYMBOL_CACHE_SIZE = 0
--
--#---------------------------------------------------------------------------
--# Build related configuration options
--#---------------------------------------------------------------------------
--
--# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
--# documentation are documented, even if no documentation was available.
--# Private class members and static file members will be hidden unless
--# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
--
--EXTRACT_ALL = NO
--
--# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
--# will be included in the documentation.
--
--EXTRACT_PRIVATE = NO
--
--# If the EXTRACT_STATIC tag is set to YES all static members of a file
--# will be included in the documentation.
--
--EXTRACT_STATIC = NO
--
--# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
--# defined locally in source files will be included in the documentation.
--# If set to NO only classes defined in header files are included.
--
--EXTRACT_LOCAL_CLASSES = NO
--
--# This flag is only useful for Objective-C code. When set to YES local
--# methods, which are defined in the implementation section but not in
--# the interface are included in the documentation.
--# If set to NO (the default) only methods in the interface are included.
--
--EXTRACT_LOCAL_METHODS = NO
--
--# If this flag is set to YES, the members of anonymous namespaces will be
--# extracted and appear in the documentation as a namespace called
--# 'anonymous_namespace{file}', where file will be replaced with the base
--# name of the file that contains the anonymous namespace. By default
--# anonymous namespace are hidden.
--
--EXTRACT_ANON_NSPACES = NO
--
--# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
--# undocumented members of documented classes, files or namespaces.
--# If set to NO (the default) these members will be included in the
--# various overviews, but no documentation section is generated.
--# This option has no effect if EXTRACT_ALL is enabled.
--
--HIDE_UNDOC_MEMBERS = NO
--
--# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
--# undocumented classes that are normally visible in the class hierarchy.
--# If set to NO (the default) these classes will be included in the various
--# overviews. This option has no effect if EXTRACT_ALL is enabled.
--
--HIDE_UNDOC_CLASSES = NO
--
--# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
--# friend (class|struct|union) declarations.
--# If set to NO (the default) these declarations will be included in the
--# documentation.
--
--HIDE_FRIEND_COMPOUNDS = YES
--
--# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
--# documentation blocks found inside the body of a function.
--# If set to NO (the default) these blocks will be appended to the
--# function's detailed documentation block.
--
--HIDE_IN_BODY_DOCS = NO
--
--# The INTERNAL_DOCS tag determines if documentation
--# that is typed after a \internal command is included. If the tag is set
--# to NO (the default) then the documentation will be excluded.
--# Set it to YES to include the internal documentation.
--
--INTERNAL_DOCS = NO
--
--# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
--# file names in lower-case letters. If set to YES upper-case letters are also
--# allowed. This is useful if you have classes or files whose names only differ
--# in case and if your file system supports case sensitive file names. Windows
--# and Mac users are advised to set this option to NO.
--
--CASE_SENSE_NAMES = YES
--
--# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
--# will show members with their full class and namespace scopes in the
--# documentation. If set to YES the scope will be hidden.
--
--HIDE_SCOPE_NAMES = NO
--
--# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
--# will put a list of the files that are included by a file in the documentation
--# of that file.
--
--SHOW_INCLUDE_FILES = YES
--
--# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
--# will list include files with double quotes in the documentation
--# rather than with sharp brackets.
--
--FORCE_LOCAL_INCLUDES = NO
--
--# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
--# is inserted in the documentation for inline members.
--
--INLINE_INFO = NO
--
--# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
--# will sort the (detailed) documentation of file and class members
--# alphabetically by member name. If set to NO the members will appear in
--# declaration order.
--
--SORT_MEMBER_DOCS = YES
--
--# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
--# brief documentation of file, namespace and class members alphabetically
--# by member name. If set to NO (the default) the members will appear in
--# declaration order.
--
--SORT_BRIEF_DOCS = YES
--
--# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
--# will sort the (brief and detailed) documentation of class members so that
--# constructors and destructors are listed first. If set to NO (the default)
--# the constructors will appear in the respective orders defined by
--# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
--# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
--# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
--
--SORT_MEMBERS_CTORS_1ST = NO
--
--# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
--# hierarchy of group names into alphabetical order. If set to NO (the default)
--# the group names will appear in their defined order.
--
--SORT_GROUP_NAMES = NO
--
--# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
--# sorted by fully-qualified names, including namespaces. If set to
--# NO (the default), the class list will be sorted only by class name,
--# not including the namespace part.
--# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
--# Note: This option applies only to the class list, not to the
--# alphabetical list.
--
--SORT_BY_SCOPE_NAME = YES
--
--# The GENERATE_TODOLIST tag can be used to enable (YES) or
--# disable (NO) the todo list. This list is created by putting \todo
--# commands in the documentation.
--
--GENERATE_TODOLIST = YES
--
--# The GENERATE_TESTLIST tag can be used to enable (YES) or
--# disable (NO) the test list. This list is created by putting \test
--# commands in the documentation.
--
--GENERATE_TESTLIST = YES
--
--# The GENERATE_BUGLIST tag can be used to enable (YES) or
--# disable (NO) the bug list. This list is created by putting \bug
--# commands in the documentation.
--
--GENERATE_BUGLIST = YES
--
--# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
--# disable (NO) the deprecated list. This list is created by putting
--# \deprecated commands in the documentation.
--
--GENERATE_DEPRECATEDLIST= YES
--
--# The ENABLED_SECTIONS tag can be used to enable conditional
--# documentation sections, marked by \if sectionname ... \endif.
--
--ENABLED_SECTIONS =
--
--# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
--# the initial value of a variable or define consists of for it to appear in
--# the documentation. If the initializer consists of more lines than specified
--# here it will be hidden. Use a value of 0 to hide initializers completely.
--# The appearance of the initializer of individual variables and defines in the
--# documentation can be controlled using \showinitializer or \hideinitializer
--# command in the documentation regardless of this setting.
--
--MAX_INITIALIZER_LINES = 30
--
--# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
--# at the bottom of the documentation of classes and structs. If set to YES the
--# list will mention the files that were used to generate the documentation.
--
--SHOW_USED_FILES = YES
--
--# If the sources in your project are distributed over multiple directories
--# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
--# in the documentation. The default is NO.
--
--SHOW_DIRECTORIES = NO
--
--# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
--# This will remove the Files entry from the Quick Index and from the
--# Folder Tree View (if specified). The default is YES.
--
--SHOW_FILES = YES
--
--# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
--# Namespaces page.
--# This will remove the Namespaces entry from the Quick Index
--# and from the Folder Tree View (if specified). The default is YES.
--
--SHOW_NAMESPACES = YES
--
--# The FILE_VERSION_FILTER tag can be used to specify a program or script that
--# doxygen should invoke to get the current version for each file (typically from
--# the version control system). Doxygen will invoke the program by executing (via
--# popen()) the command , where is the value of
--# the FILE_VERSION_FILTER tag, and is the name of an input file
--# provided by doxygen. Whatever the program writes to standard output
--# is used as the file version. See the manual for examples.
--
--FILE_VERSION_FILTER =
--
--# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
--# by doxygen. The layout file controls the global structure of the generated
--# output files in an output format independent way. The create the layout file
--# that represents doxygen's defaults, run doxygen with the -l option.
--# You can optionally specify a file name after the option, if omitted
--# DoxygenLayout.xml will be used as the name of the layout file.
--
--LAYOUT_FILE =
--
--#---------------------------------------------------------------------------
--# configuration options related to warning and progress messages
--#---------------------------------------------------------------------------
--
--# The QUIET tag can be used to turn on/off the messages that are generated
--# by doxygen. Possible values are YES and NO. If left blank NO is used.
--
--QUIET = NO
--
--# The WARNINGS tag can be used to turn on/off the warning messages that are
--# generated by doxygen. Possible values are YES and NO. If left blank
--# NO is used.
--
--WARNINGS = YES
--
--# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
--# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
--# automatically be disabled.
--
--WARN_IF_UNDOCUMENTED = YES
--
--# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
--# potential errors in the documentation, such as not documenting some
--# parameters in a documented function, or documenting parameters that
--# don't exist or using markup commands wrongly.
--
--WARN_IF_DOC_ERROR = YES
--
--# This WARN_NO_PARAMDOC option can be abled to get warnings for
--# functions that are documented, but have no documentation for their parameters
--# or return value. If set to NO (the default) doxygen will only warn about
--# wrong or incomplete parameter documentation, but not about the absence of
--# documentation.
--
--WARN_NO_PARAMDOC = NO
--
--# The WARN_FORMAT tag determines the format of the warning messages that
--# doxygen can produce. The string should contain the $file, $line, and $text
--# tags, which will be replaced by the file and line number from which the
--# warning originated and the warning text. Optionally the format may contain
--# $version, which will be replaced by the version of the file (if it could
--# be obtained via FILE_VERSION_FILTER)
--
--WARN_FORMAT = "$file:$line: $text "
--
--# The WARN_LOGFILE tag can be used to specify a file to which warning
--# and error messages should be written. If left blank the output is written
--# to stderr.
--
--WARN_LOGFILE =
--
--#---------------------------------------------------------------------------
--# configuration options related to the input files
--#---------------------------------------------------------------------------
--
--# The INPUT tag can be used to specify the files and/or directories that contain
--# documented source files. You may enter file names like "myfile.cpp" or
--# directories like "/usr/src/myproject". Separate the files or directories
--# with spaces.
--
--INPUT = Mainpage.dox \
-- poppler-annotation.h \
-- poppler-form.h \
-- poppler-link.h \
-- poppler-qt4.h \
-- poppler-optcontent.h \
-- poppler-page-transition.h
--
--# This tag can be used to specify the character encoding of the source files
--# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
--# also the default input encoding. Doxygen uses libiconv (or the iconv built
--# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
--# the list of possible encodings.
--
--INPUT_ENCODING = UTF-8
--
--# If the value of the INPUT tag contains directories, you can use the
--# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
--# and *.h) to filter out the source-files in the directories. If left
--# blank the following patterns are tested:
--# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
--# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
--
--FILE_PATTERNS =
--
--# The RECURSIVE tag can be used to turn specify whether or not subdirectories
--# should be searched for input files as well. Possible values are YES and NO.
--# If left blank NO is used.
--
--RECURSIVE = NO
--
--# The EXCLUDE tag can be used to specify files and/or directories that should
--# excluded from the INPUT source files. This way you can easily exclude a
--# subdirectory from a directory tree whose root is specified with the INPUT tag.
--
--EXCLUDE =
--
--# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
--# directories that are symbolic links (a Unix filesystem feature) are excluded
--# from the input.
--
--EXCLUDE_SYMLINKS = NO
--
--# If the value of the INPUT tag contains directories, you can use the
--# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
--# certain files from those directories. Note that the wildcards are matched
--# against the file with absolute path, so to exclude all test directories
--# for example use the pattern */test/*
--
--EXCLUDE_PATTERNS =
--
--# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
--# (namespaces, classes, functions, etc.) that should be excluded from the
--# output. The symbol name can be a fully qualified name, a word, or if the
--# wildcard * is used, a substring. Examples: ANamespace, AClass,
--# AClass::ANamespace, ANamespace::*Test
--
--EXCLUDE_SYMBOLS =
--
--# The EXAMPLE_PATH tag can be used to specify one or more files or
--# directories that contain example code fragments that are included (see
--# the \include command).
--
--EXAMPLE_PATH =
--
--# If the value of the EXAMPLE_PATH tag contains directories, you can use the
--# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
--# and *.h) to filter out the source-files in the directories. If left
--# blank all files are included.
--
--EXAMPLE_PATTERNS =
--
--# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
--# searched for input files to be used with the \include or \dontinclude
--# commands irrespective of the value of the RECURSIVE tag.
--# Possible values are YES and NO. If left blank NO is used.
--
--EXAMPLE_RECURSIVE = NO
--
--# The IMAGE_PATH tag can be used to specify one or more files or
--# directories that contain image that are included in the documentation (see
--# the \image command).
--
--IMAGE_PATH =
--
--# The INPUT_FILTER tag can be used to specify a program that doxygen should
--# invoke to filter for each input file. Doxygen will invoke the filter program
--# by executing (via popen()) the command , where
--# is the value of the INPUT_FILTER tag, and is the name of an
--# input file. Doxygen will then use the output that the filter program writes
--# to standard output.
--# If FILTER_PATTERNS is specified, this tag will be
--# ignored.
--
--INPUT_FILTER =
--
--# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
--# basis.
--# Doxygen will compare the file name with each pattern and apply the
--# filter if there is a match.
--# The filters are a list of the form:
--# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
--# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
--# is applied to all files.
--
--FILTER_PATTERNS =
--
--# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
--# INPUT_FILTER) will be used to filter the input files when producing source
--# files to browse (i.e. when SOURCE_BROWSER is set to YES).
--
--FILTER_SOURCE_FILES = NO
--
--#---------------------------------------------------------------------------
--# configuration options related to source browsing
--#---------------------------------------------------------------------------
--
--# If the SOURCE_BROWSER tag is set to YES then a list of source files will
--# be generated. Documented entities will be cross-referenced with these sources.
--# Note: To get rid of all source code in the generated output, make sure also
--# VERBATIM_HEADERS is set to NO.
--
--SOURCE_BROWSER = NO
--
--# Setting the INLINE_SOURCES tag to YES will include the body
--# of functions and classes directly in the documentation.
--
--INLINE_SOURCES = NO
--
--# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
--# doxygen to hide any special comment blocks from generated source code
--# fragments. Normal C and C++ comments will always remain visible.
--
--STRIP_CODE_COMMENTS = YES
--
--# If the REFERENCED_BY_RELATION tag is set to YES
--# then for each documented function all documented
--# functions referencing it will be listed.
--
--REFERENCED_BY_RELATION = YES
--
--# If the REFERENCES_RELATION tag is set to YES
--# then for each documented function all documented entities
--# called/used by that function will be listed.
--
--REFERENCES_RELATION = YES
--
--# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
--# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
--# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
--# link to the source code.
--# Otherwise they will link to the documentation.
--
--REFERENCES_LINK_SOURCE = YES
--
--# If the USE_HTAGS tag is set to YES then the references to source code
--# will point to the HTML generated by the htags(1) tool instead of doxygen
--# built-in source browser. The htags tool is part of GNU's global source
--# tagging system (see http://www.gnu.org/software/global/global.html). You
--# will need version 4.8.6 or higher.
--
--USE_HTAGS = NO
--
--# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
--# will generate a verbatim copy of the header file for each class for
--# which an include is specified. Set to NO to disable this.
--
--VERBATIM_HEADERS = YES
--
--#---------------------------------------------------------------------------
--# configuration options related to the alphabetical class index
--#---------------------------------------------------------------------------
--
--# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
--# of all compounds will be generated. Enable this if the project
--# contains a lot of classes, structs, unions or interfaces.
--
--ALPHABETICAL_INDEX = YES
--
--# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
--# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
--# in which this list will be split (can be a number in the range [1..20])
--
--COLS_IN_ALPHA_INDEX = 5
--
--# In case all classes in a project start with a common prefix, all
--# classes will be put under the same header in the alphabetical index.
--# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
--# should be ignored while generating the index headers.
--
--IGNORE_PREFIX =
--
--#---------------------------------------------------------------------------
--# configuration options related to the HTML output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
--# generate HTML output.
--
--GENERATE_HTML = YES
--
--# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
--# If a relative path is entered the value of OUTPUT_DIRECTORY will be
--# put in front of it. If left blank `html' will be used as the default path.
--
--HTML_OUTPUT = APIDOCS-html
--
--# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
--# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
--# doxygen will generate files with .html extension.
--
--HTML_FILE_EXTENSION = .html
--
--# The HTML_HEADER tag can be used to specify a personal HTML header for
--# each generated HTML page. If it is left blank doxygen will generate a
--# standard header.
--
--HTML_HEADER =
--
--# The HTML_FOOTER tag can be used to specify a personal HTML footer for
--# each generated HTML page. If it is left blank doxygen will generate a
--# standard footer.
--
--HTML_FOOTER =
--
--# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
--# style sheet that is used by each HTML page. It can be used to
--# fine-tune the look of the HTML output. If the tag is left blank doxygen
--# will generate a default style sheet. Note that doxygen will try to copy
--# the style sheet file to the HTML output directory, so don't put your own
--# stylesheet in the HTML output directory as well, or it will be erased!
--
--HTML_STYLESHEET =
--
--# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
--# Doxygen will adjust the colors in the stylesheet and background images
--# according to this color. Hue is specified as an angle on a colorwheel,
--# see http://en.wikipedia.org/wiki/Hue for more information.
--# For instance the value 0 represents red, 60 is yellow, 120 is green,
--# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
--# The allowed range is 0 to 359.
--
--HTML_COLORSTYLE_HUE = 220
--
--# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
--# the colors in the HTML output. For a value of 0 the output will use
--# grayscales only. A value of 255 will produce the most vivid colors.
--
--HTML_COLORSTYLE_SAT = 100
--
--# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
--# the luminance component of the colors in the HTML output. Values below
--# 100 gradually make the output lighter, whereas values above 100 make
--# the output darker. The value divided by 100 is the actual gamma applied,
--# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
--# and 100 does not change the gamma.
--
--HTML_COLORSTYLE_GAMMA = 80
--
--# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
--# page will contain the date and time when the page was generated. Setting
--# this to NO can help when comparing the output of multiple runs.
--
--HTML_TIMESTAMP = YES
--
--# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
--# files or namespaces will be aligned in HTML using tables. If set to
--# NO a bullet list will be used.
--
--HTML_ALIGN_MEMBERS = YES
--
--# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
--# documentation will contain sections that can be hidden and shown after the
--# page has loaded. For this to work a browser that supports
--# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
--# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
--
--HTML_DYNAMIC_SECTIONS = NO
--
--# If the GENERATE_DOCSET tag is set to YES, additional index files
--# will be generated that can be used as input for Apple's Xcode 3
--# integrated development environment, introduced with OSX 10.5 (Leopard).
--# To create a documentation set, doxygen will generate a Makefile in the
--# HTML output directory. Running make will produce the docset in that
--# directory and running "make install" will install the docset in
--# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
--# it at startup.
--# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
--# for more information.
--
--GENERATE_DOCSET = NO
--
--# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
--# feed. A documentation feed provides an umbrella under which multiple
--# documentation sets from a single provider (such as a company or product suite)
--# can be grouped.
--
--DOCSET_FEEDNAME = "Doxygen generated docs"
--
--# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
--# should uniquely identify the documentation set bundle. This should be a
--# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
--# will append .docset to the name.
--
--DOCSET_BUNDLE_ID = org.doxygen.Project
--
--# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify
--# the documentation publisher. This should be a reverse domain-name style
--# string, e.g. com.mycompany.MyDocSet.documentation.
--
--DOCSET_PUBLISHER_ID = org.doxygen.Publisher
--
--# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
--
--DOCSET_PUBLISHER_NAME = Publisher
--
--# If the GENERATE_HTMLHELP tag is set to YES, additional index files
--# will be generated that can be used as input for tools like the
--# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
--# of the generated HTML documentation.
--
--GENERATE_HTMLHELP = NO
--
--# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
--# be used to specify the file name of the resulting .chm file. You
--# can add a path in front of the file if the result should not be
--# written to the html output directory.
--
--CHM_FILE =
--
--# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
--# be used to specify the location (absolute path including file name) of
--# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
--# the HTML help compiler on the generated index.hhp.
--
--HHC_LOCATION =
--
--# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
--# controls if a separate .chi index file is generated (YES) or that
--# it should be included in the master .chm file (NO).
--
--GENERATE_CHI = NO
--
--# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
--# is used to encode HtmlHelp index (hhk), content (hhc) and project file
--# content.
--
--CHM_INDEX_ENCODING =
--
--# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
--# controls whether a binary table of contents is generated (YES) or a
--# normal table of contents (NO) in the .chm file.
--
--BINARY_TOC = NO
--
--# The TOC_EXPAND flag can be set to YES to add extra items for group members
--# to the contents of the HTML help documentation and to the tree view.
--
--TOC_EXPAND = NO
--
--# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
--# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
--# that can be used as input for Qt's qhelpgenerator to generate a
--# Qt Compressed Help (.qch) of the generated HTML documentation.
--
--GENERATE_QHP = YES
--
--# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
--# be used to specify the file name of the resulting .qch file.
--# The path specified is relative to the HTML output folder.
--
--QCH_FILE = poppler-qt4.qch
--
--# The QHP_NAMESPACE tag specifies the namespace to use when generating
--# Qt Help Project output. For more information please see
--# http://doc.trolltech.com/qthelpproject.html#namespace
--
--QHP_NAMESPACE = org.freedesktop.poppler.qt4
--
--# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
--# Qt Help Project output. For more information please see
--# http://doc.trolltech.com/qthelpproject.html#virtual-folders
--
--QHP_VIRTUAL_FOLDER = doc
--
--# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
--# add. For more information please see
--# http://doc.trolltech.com/qthelpproject.html#custom-filters
--
--QHP_CUST_FILTER_NAME = "Poppler 0.15.0"
--
--# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
--# custom filter to add. For more information please see
--#
--# Qt Help Project / Custom Filters.
--
--QHP_CUST_FILTER_ATTRS = poppler
--
--# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
--# project's
--# filter section matches.
--#
--# Qt Help Project / Filter Attributes.
--
--QHP_SECT_FILTER_ATTRS = poppler
--
--# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
--# be used to specify the location of Qt's qhelpgenerator.
--# If non-empty doxygen will try to run qhelpgenerator on the generated
--# .qhp file.
--
--QHG_LOCATION = qhelpgenerator
--
--# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
--# will be generated, which together with the HTML files, form an Eclipse help
--# plugin. To install this plugin and make it available under the help contents
--# menu in Eclipse, the contents of the directory containing the HTML and XML
--# files needs to be copied into the plugins directory of eclipse. The name of
--# the directory within the plugins directory should be the same as
--# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
--# the help appears.
--
--GENERATE_ECLIPSEHELP = NO
--
--# A unique identifier for the eclipse help plugin. When installing the plugin
--# the directory name containing the HTML and XML files should also have
--# this name.
--
--ECLIPSE_DOC_ID = org.doxygen.Project
--
--# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
--# top of each HTML page. The value NO (the default) enables the index and
--# the value YES disables it.
--
--DISABLE_INDEX = NO
--
--# This tag can be used to set the number of enum values (range [1..20])
--# that doxygen will group on one line in the generated HTML documentation.
--
--ENUM_VALUES_PER_LINE = 4
--
--# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
--# structure should be generated to display hierarchical information.
--# If the tag value is set to YES, a side panel will be generated
--# containing a tree-like index structure (just like the one that
--# is generated for HTML Help). For this to work a browser that supports
--# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
--# Windows users are probably better off using the HTML help feature.
--
--GENERATE_TREEVIEW = NO
--
--# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
--# and Class Hierarchy pages using a tree view instead of an ordered list.
--
--USE_INLINE_TREES = NO
--
--# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
--# used to set the initial width (in pixels) of the frame in which the tree
--# is shown.
--
--TREEVIEW_WIDTH = 250
--
--# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
--# links to external symbols imported via tag files in a separate window.
--
--EXT_LINKS_IN_WINDOW = NO
--
--# Use this tag to change the font size of Latex formulas included
--# as images in the HTML documentation. The default is 10. Note that
--# when you change the font size after a successful doxygen run you need
--# to manually remove any form_*.png images from the HTML output directory
--# to force them to be regenerated.
--
--FORMULA_FONTSIZE = 10
--
--# Use the FORMULA_TRANPARENT tag to determine whether or not the images
--# generated for formulas are transparent PNGs. Transparent PNGs are
--# not supported properly for IE 6.0, but are supported on all modern browsers.
--# Note that when changing this option you need to delete any form_*.png files
--# in the HTML output before the changes have effect.
--
--FORMULA_TRANSPARENT = YES
--
--# When the SEARCHENGINE tag is enabled doxygen will generate a search box
--# for the HTML output. The underlying search engine uses javascript
--# and DHTML and should work on any modern browser. Note that when using
--# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
--# (GENERATE_DOCSET) there is already a search function so this one should
--# typically be disabled. For large projects the javascript based search engine
--# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
--
--SEARCHENGINE = NO
--
--# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
--# implemented using a PHP enabled web server instead of at the web client
--# using Javascript. Doxygen will generate the search PHP script and index
--# file to put on the web server. The advantage of the server
--# based approach is that it scales better to large projects and allows
--# full text search. The disadvances is that it is more difficult to setup
--# and does not have live searching capabilities.
--
--SERVER_BASED_SEARCH = NO
--
--#---------------------------------------------------------------------------
--# configuration options related to the LaTeX output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
--# generate Latex output.
--
--GENERATE_LATEX = YES
--
--# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
--# If a relative path is entered the value of OUTPUT_DIRECTORY will be
--# put in front of it. If left blank `latex' will be used as the default path.
--
--LATEX_OUTPUT = APIDOCS-latex
--
--# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
--# invoked. If left blank `latex' will be used as the default command name.
--# Note that when enabling USE_PDFLATEX this option is only used for
--# generating bitmaps for formulas in the HTML output, but not in the
--# Makefile that is written to the output directory.
--
--LATEX_CMD_NAME = latex
--
--# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
--# generate index for LaTeX. If left blank `makeindex' will be used as the
--# default command name.
--
--MAKEINDEX_CMD_NAME = makeindex
--
--# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
--# LaTeX documents. This may be useful for small projects and may help to
--# save some trees in general.
--
--COMPACT_LATEX = NO
--
--# The PAPER_TYPE tag can be used to set the paper type that is used
--# by the printer. Possible values are: a4, a4wide, letter, legal and
--# executive. If left blank a4wide will be used.
--
--PAPER_TYPE = a4wide
--
--# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
--# packages that should be included in the LaTeX output.
--
--EXTRA_PACKAGES =
--
--# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
--# the generated latex document. The header should contain everything until
--# the first chapter. If it is left blank doxygen will generate a
--# standard header. Notice: only use this tag if you know what you are doing!
--
--LATEX_HEADER =
--
--# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
--# is prepared for conversion to pdf (using ps2pdf). The pdf file will
--# contain links (just like the HTML output) instead of page references
--# This makes the output suitable for online browsing using a pdf viewer.
--
--PDF_HYPERLINKS = NO
--
--# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
--# plain latex in the generated Makefile. Set this option to YES to get a
--# higher quality PDF documentation.
--
--USE_PDFLATEX = NO
--
--# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
--# command to the generated LaTeX files. This will instruct LaTeX to keep
--# running if errors occur, instead of asking the user for help.
--# This option is also used when generating formulas in HTML.
--
--LATEX_BATCHMODE = NO
--
--# If LATEX_HIDE_INDICES is set to YES then doxygen will not
--# include the index chapters (such as File Index, Compound Index, etc.)
--# in the output.
--
--LATEX_HIDE_INDICES = NO
--
--# If LATEX_SOURCE_CODE is set to YES then doxygen will include
--# source code with syntax highlighting in the LaTeX output.
--# Note that which sources are shown also depends on other settings
--# such as SOURCE_BROWSER.
--
--LATEX_SOURCE_CODE = NO
--
--#---------------------------------------------------------------------------
--# configuration options related to the RTF output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
--# The RTF output is optimized for Word 97 and may not look very pretty with
--# other RTF readers or editors.
--
--GENERATE_RTF = NO
--
--# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
--# If a relative path is entered the value of OUTPUT_DIRECTORY will be
--# put in front of it. If left blank `rtf' will be used as the default path.
--
--RTF_OUTPUT = rtf
--
--# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
--# RTF documents. This may be useful for small projects and may help to
--# save some trees in general.
--
--COMPACT_RTF = NO
--
--# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
--# will contain hyperlink fields. The RTF file will
--# contain links (just like the HTML output) instead of page references.
--# This makes the output suitable for online browsing using WORD or other
--# programs which support those fields.
--# Note: wordpad (write) and others do not support links.
--
--RTF_HYPERLINKS = NO
--
--# Load stylesheet definitions from file. Syntax is similar to doxygen's
--# config file, i.e. a series of assignments. You only have to provide
--# replacements, missing definitions are set to their default value.
--
--RTF_STYLESHEET_FILE =
--
--# Set optional variables used in the generation of an rtf document.
--# Syntax is similar to doxygen's config file.
--
--RTF_EXTENSIONS_FILE =
--
--#---------------------------------------------------------------------------
--# configuration options related to the man page output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
--# generate man pages
--
--GENERATE_MAN = NO
--
--# The MAN_OUTPUT tag is used to specify where the man pages will be put.
--# If a relative path is entered the value of OUTPUT_DIRECTORY will be
--# put in front of it. If left blank `man' will be used as the default path.
--
--MAN_OUTPUT = man
--
--# The MAN_EXTENSION tag determines the extension that is added to
--# the generated man pages (default is the subroutine's section .3)
--
--MAN_EXTENSION = .3
--
--# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
--# then it will generate one additional man file for each entity
--# documented in the real man page(s). These additional files
--# only source the real man page, but without them the man command
--# would be unable to find the correct page. The default is NO.
--
--MAN_LINKS = NO
--
--#---------------------------------------------------------------------------
--# configuration options related to the XML output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_XML tag is set to YES Doxygen will
--# generate an XML file that captures the structure of
--# the code including all documentation.
--
--GENERATE_XML = NO
--
--# The XML_OUTPUT tag is used to specify where the XML pages will be put.
--# If a relative path is entered the value of OUTPUT_DIRECTORY will be
--# put in front of it. If left blank `xml' will be used as the default path.
--
--XML_OUTPUT = xml
--
--# The XML_SCHEMA tag can be used to specify an XML schema,
--# which can be used by a validating XML parser to check the
--# syntax of the XML files.
--
--XML_SCHEMA =
--
--# The XML_DTD tag can be used to specify an XML DTD,
--# which can be used by a validating XML parser to check the
--# syntax of the XML files.
--
--XML_DTD =
--
--# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
--# dump the program listings (including syntax highlighting
--# and cross-referencing information) to the XML output. Note that
--# enabling this will significantly increase the size of the XML output.
--
--XML_PROGRAMLISTING = YES
--
--#---------------------------------------------------------------------------
--# configuration options for the AutoGen Definitions output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
--# generate an AutoGen Definitions (see autogen.sf.net) file
--# that captures the structure of the code including all
--# documentation. Note that this feature is still experimental
--# and incomplete at the moment.
--
--GENERATE_AUTOGEN_DEF = NO
--
--#---------------------------------------------------------------------------
--# configuration options related to the Perl module output
--#---------------------------------------------------------------------------
--
--# If the GENERATE_PERLMOD tag is set to YES Doxygen will
--# generate a Perl module file that captures the structure of
--# the code including all documentation. Note that this
--# feature is still experimental and incomplete at the
--# moment.
--
--GENERATE_PERLMOD = NO
--
--# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
--# the necessary Makefile rules, Perl scripts and LaTeX code to be able
--# to generate PDF and DVI output from the Perl module output.
--
--PERLMOD_LATEX = NO
--
--# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
--# nicely formatted so it can be parsed by a human reader.
--# This is useful
--# if you want to understand what is going on.
--# On the other hand, if this
--# tag is set to NO the size of the Perl module output will be much smaller
--# and Perl will parse it just the same.
--
--PERLMOD_PRETTY = YES
--
--# The names of the make variables in the generated doxyrules.make file
--# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
--# This is useful so different doxyrules.make files included by the same
--# Makefile don't overwrite each other's variables.
--
--PERLMOD_MAKEVAR_PREFIX =
--
--#---------------------------------------------------------------------------
--# Configuration options related to the preprocessor
--#---------------------------------------------------------------------------
--
--# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
--# evaluate all C-preprocessor directives found in the sources and include
--# files.
--
--ENABLE_PREPROCESSING = YES
--
--# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
--# names in the source code. If set to NO (the default) only conditional
--# compilation will be performed. Macro expansion can be done in a controlled
--# way by setting EXPAND_ONLY_PREDEF to YES.
--
--MACRO_EXPANSION = YES
--
--# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
--# then the macro expansion is limited to the macros specified with the
--# PREDEFINED and EXPAND_AS_DEFINED tags.
--
--EXPAND_ONLY_PREDEF = YES
--
--# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
--# in the INCLUDE_PATH (see below) will be search if a #include is found.
--
--SEARCH_INCLUDES = YES
--
--# The INCLUDE_PATH tag can be used to specify one or more directories that
--# contain include files that are not input files but should be processed by
--# the preprocessor.
--
--INCLUDE_PATH =
--
--# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
--# patterns (like *.h and *.hpp) to filter out the header-files in the
--# directories. If left blank, the patterns specified with FILE_PATTERNS will
--# be used.
--
--INCLUDE_FILE_PATTERNS =
--
--# The PREDEFINED tag can be used to specify one or more macro names that
--# are defined before the preprocessor is started (similar to the -D option of
--# gcc). The argument of the tag is a list of macros of the form: name
--# or name=definition (no spaces). If the definition and the = are
--# omitted =1 is assumed. To prevent a macro definition from being
--# undefined via #undef or recursively expanded use the := operator
--# instead of the = operator.
--
--PREDEFINED = "Q_DECL_DEPRECATED=" \
-- "POPPLER_QT4_EXPORT="
--
--# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
--# this tag can be used to specify a list of macro names that should be expanded.
--# The macro definition that is found in the sources will be used.
--# Use the PREDEFINED tag if you want to use a different macro definition.
--
--EXPAND_AS_DEFINED =
--
--# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
--# doxygen's preprocessor will remove all function-like macros that are alone
--# on a line, have an all uppercase name, and do not end with a semicolon. Such
--# function macros are typically used for boiler-plate code, and will confuse
--# the parser if not removed.
--
--SKIP_FUNCTION_MACROS = YES
--
--#---------------------------------------------------------------------------
--# Configuration::additions related to external references
--#---------------------------------------------------------------------------
--
--# The TAGFILES option can be used to specify one or more tagfiles.
--# Optionally an initial location of the external documentation
--# can be added for each tagfile. The format of a tag file without
--# this location is as follows:
--#
--# TAGFILES = file1 file2 ...
--# Adding location for the tag files is done as follows:
--#
--# TAGFILES = file1=loc1 "file2 = loc2" ...
--# where "loc1" and "loc2" can be relative or absolute paths or
--# URLs. If a location is present for each tag, the installdox tool
--# does not have to be run to correct the links.
--# Note that each tag file must have a unique name
--# (where the name does NOT include the path)
--# If a tag file is not located in the directory in which doxygen
--# is run, you must also specify the path to the tagfile here.
--
--TAGFILES =
--
--# When a file name is specified after GENERATE_TAGFILE, doxygen will create
--# a tag file that is based on the input files it reads.
--
--GENERATE_TAGFILE =
--
--# If the ALLEXTERNALS tag is set to YES all external classes will be listed
--# in the class index. If set to NO only the inherited external classes
--# will be listed.
--
--ALLEXTERNALS = NO
--
--# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
--# in the modules index. If set to NO, only the current project's groups will
--# be listed.
--
--EXTERNAL_GROUPS = YES
--
--# The PERL_PATH should be the absolute path and name of the perl script
--# interpreter (i.e. the result of `which perl').
--
--PERL_PATH = /usr/bin/perl
--
--#---------------------------------------------------------------------------
--# Configuration options related to the dot tool
--#---------------------------------------------------------------------------
--
--# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
--# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
--# or super classes. Setting the tag to NO turns the diagrams off. Note that
--# this option is superseded by the HAVE_DOT option below. This is only a
--# fallback. It is recommended to install and use dot, since it yields more
--# powerful graphs.
--
--CLASS_DIAGRAMS = YES
--
--# You can define message sequence charts within doxygen comments using the \msc
--# command. Doxygen will then run the mscgen tool (see
--# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
--# documentation. The MSCGEN_PATH tag allows you to specify the directory where
--# the mscgen tool resides. If left empty the tool is assumed to be found in the
--# default search path.
--
--MSCGEN_PATH =
--
--# If set to YES, the inheritance and collaboration graphs will hide
--# inheritance and usage relations if the target is undocumented
--# or is not a class.
--
--HIDE_UNDOC_RELATIONS = YES
--
--# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
--# available from the path. This tool is part of Graphviz, a graph visualization
--# toolkit from AT&T and Lucent Bell Labs. The other options in this section
--# have no effect if this option is set to NO (the default)
--
--HAVE_DOT = YES
--
--# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
--# allowed to run in parallel. When set to 0 (the default) doxygen will
--# base this on the number of processors available in the system. You can set it
--# explicitly to a value larger than 0 to get control over the balance
--# between CPU load and processing speed.
--
--DOT_NUM_THREADS = 0
--
--# By default doxygen will write a font called FreeSans.ttf to the output
--# directory and reference it in all dot files that doxygen generates. This
--# font does not include all possible unicode characters however, so when you need
--# these (or just want a differently looking font) you can specify the font name
--# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
--# which can be done by putting it in a standard location or by setting the
--# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
--# containing the font.
--
--DOT_FONTNAME = FreeSans.ttf
--
--# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
--# The default size is 10pt.
--
--DOT_FONTSIZE = 10
--
--# By default doxygen will tell dot to use the output directory to look for the
--# FreeSans.ttf font (which doxygen will put there itself). If you specify a
--# different font using DOT_FONTNAME you can set the path where dot
--# can find it using this tag.
--
--DOT_FONTPATH =
--
--# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
--# will generate a graph for each documented class showing the direct and
--# indirect inheritance relations. Setting this tag to YES will force the
--# the CLASS_DIAGRAMS tag to NO.
--
--CLASS_GRAPH = YES
--
--# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
--# will generate a graph for each documented class showing the direct and
--# indirect implementation dependencies (inheritance, containment, and
--# class references variables) of the class with other documented classes.
--
--COLLABORATION_GRAPH = YES
--
--# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
--# will generate a graph for groups, showing the direct groups dependencies
--
--GROUP_GRAPHS = YES
--
--# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
--# collaboration diagrams in a style similar to the OMG's Unified Modeling
--# Language.
--
--UML_LOOK = NO
--
--# If set to YES, the inheritance and collaboration graphs will show the
--# relations between templates and their instances.
--
--TEMPLATE_RELATIONS = NO
--
--# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
--# tags are set to YES then doxygen will generate a graph for each documented
--# file showing the direct and indirect include dependencies of the file with
--# other documented files.
--
--INCLUDE_GRAPH = YES
--
--# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
--# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
--# documented header file showing the documented files that directly or
--# indirectly include this file.
--
--INCLUDED_BY_GRAPH = YES
--
--# If the CALL_GRAPH and HAVE_DOT options are set to YES then
--# doxygen will generate a call dependency graph for every global function
--# or class method. Note that enabling this option will significantly increase
--# the time of a run. So in most cases it will be better to enable call graphs
--# for selected functions only using the \callgraph command.
--
--CALL_GRAPH = NO
--
--# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
--# doxygen will generate a caller dependency graph for every global function
--# or class method. Note that enabling this option will significantly increase
--# the time of a run. So in most cases it will be better to enable caller
--# graphs for selected functions only using the \callergraph command.
--
--CALLER_GRAPH = NO
--
--# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
--# will graphical hierarchy of all classes instead of a textual one.
--
--GRAPHICAL_HIERARCHY = YES
--
--# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
--# then doxygen will show the dependencies a directory has on other directories
--# in a graphical way. The dependency relations are determined by the #include
--# relations between the files in the directories.
--
--DIRECTORY_GRAPH = YES
--
--# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
--# generated by dot. Possible values are png, jpg, or gif
--# If left blank png will be used.
--
--DOT_IMAGE_FORMAT = png
--
--# The tag DOT_PATH can be used to specify the path where the dot tool can be
--# found. If left blank, it is assumed the dot tool can be found in the path.
--
--DOT_PATH =
--
--# The DOTFILE_DIRS tag can be used to specify one or more directories that
--# contain dot files that are included in the documentation (see the
--# \dotfile command).
--
--DOTFILE_DIRS =
--
--# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
--# nodes that will be shown in the graph. If the number of nodes in a graph
--# becomes larger than this value, doxygen will truncate the graph, which is
--# visualized by representing a node as a red box. Note that doxygen if the
--# number of direct children of the root node in a graph is already larger than
--# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
--# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
--
--DOT_GRAPH_MAX_NODES = 50
--
--# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
--# graphs generated by dot. A depth value of 3 means that only nodes reachable
--# from the root by following a path via at most 3 edges will be shown. Nodes
--# that lay further from the root node will be omitted. Note that setting this
--# option to 1 or 2 may greatly reduce the computation time needed for large
--# code bases. Also note that the size of a graph can be further restricted by
--# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
--
--MAX_DOT_GRAPH_DEPTH = 0
--
--# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
--# background. This is disabled by default, because dot on Windows does not
--# seem to support this out of the box. Warning: Depending on the platform used,
--# enabling this option may lead to badly anti-aliased labels on the edges of
--# a graph (i.e. they become hard to read).
--
--DOT_TRANSPARENT = NO
--
--# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
--# files in one run (i.e. multiple -o and -T options on the command line). This
--# makes dot run faster, but since only newer versions of dot (>1.8.10)
--# support this, this feature is disabled by default.
--
--DOT_MULTI_TARGETS = NO
--
--# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
--# generate a legend page explaining the meaning of the various boxes and
--# arrows in the dot generated graphs.
--
--GENERATE_LEGEND = YES
--
--# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
--# remove the intermediate dot files that are used to generate
--# the various graphs.
--
--DOT_CLEANUP = YES
-diff --git a/qt4/src/Mainpage.dox b/qt4/src/Mainpage.dox
-deleted file mode 100644
-index 30398c3d..00000000
---- a/qt4/src/Mainpage.dox
-+++ /dev/null
-@@ -1,85 +0,0 @@
--/**
--@mainpage The Poppler Qt4 interface library
--
--The %Poppler Qt4 interface library, libpoppler-qt4, is a library that
--allows Qt4 programmers to easily load and render PDF files. The
--%Poppler Qt4 interface library uses poppler internally to do its job,
--but the Qt4 programmer will never have to worry about poppler
--internals.
--
--
--@section help Current Status
--
--The %Poppler Qt4 interface library is quite stable and working.
--
--@section refimpl Example Programs
--
--Examples programs can be found in the qt4/test directory. The %Poppler
--Qt4 interface library is also used in the KDE's
--document viewer Okular. The source files
--for Okular's PDF plugin (%Poppler-based) can be found on the git server
--of the KDE project, under
--this
--URL.
--
--
--@section req How to use the Poppler Qt4 interface library in three easy steps
--
--Programmer who would like to use the %Poppler Qt4 interface library
--simply need to add the following line to their C++ source files:
--
--@code
--#include
--@endcode
--
--A PDF document can then be loaded as follows:
--@code
--QString filename;
--
--Poppler::Document* document = Poppler::Document::load(filename);
--if (!document || document->isLocked()) {
--
-- // ... error message ....
--
-- delete document;
-- return;
--}
--@endcode
--
--Pages can be rendered to QImages with the following commands:
--
--@code
--// Paranoid safety check
--if (document == 0) {
-- // ... error message ...
-- return;
--}
--
--// Access page of the PDF file
--Poppler::Page* pdfPage = document->page(pageNumber); // Document starts at page 0
--if (pdfPage == 0) {
-- // ... error message ...
-- return;
--}
--
--// Generate a QImage of the rendered page
--QImage image = pdfPage->renderToImage(xres, yres, x, y, width, height);
--if (image.isNull()) {
-- // ... error message ...
-- return;
--}
--
--// ... use image ...
--
--// after the usage, the page must be deleted
--delete pdfPage;
--@endcode
--
--Finally, don't forget to destroy the document:
--
--@code
--delete document;
--@endcode
-- */
--
-diff --git a/qt4/src/poppler-annotation-helper.h b/qt4/src/poppler-annotation-helper.h
-deleted file mode 100644
-index 3150569c..00000000
---- a/qt4/src/poppler-annotation-helper.h
-+++ /dev/null
-@@ -1,181 +0,0 @@
--/* poppler-annotation-helper.h: qt interface to poppler
-- * Copyright (C) 2006, 2008, 2017, Albert Astals Cid
-- * Copyright (C) 2008, Pino Toscano
-- * Copyright (C) 2012, Fabio D'Urso
-- * Adapting code from
-- * Copyright (C) 2004 by Enrico Ros
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#include
--
--#include
--
--class QColor;
--
--class AnnotColor;
--
--namespace Poppler {
--
--class XPDFReader
--{
-- public:
-- // find named symbol and parse it
-- static inline void lookupName( Dict *, char *, QString & dest );
-- static inline void lookupString( Dict *, char *, QString & dest );
-- static inline void lookupBool( Dict *, char *, bool & dest );
-- static inline void lookupInt( Dict *, char *, int & dest );
-- static inline void lookupNum( Dict *, char *, double & dest );
-- static inline int lookupNumArray( Dict *, char *, double * dest, int len );
-- static inline void lookupColor( Dict *, char *, QColor & color );
-- static inline void lookupIntRef( Dict *, char *, int & dest );
-- static inline void lookupDate( Dict *, char *, QDateTime & dest );
-- // transform from user coords to normalized ones using the matrix M
-- static inline void transform( double * M, double x, double y, QPointF &res );
-- static inline void invTransform( double * M, const QPointF &p, double &x, double &y );
--};
--
--void XPDFReader::lookupName( Dict * dict, char * type, QString & dest )
--{
-- Object nameObj = dict->lookup( type );
-- if ( nameObj.isNull() )
-- return;
-- if ( nameObj.isName() )
-- dest = nameObj.getName();
-- else
-- qDebug() << type << " is not Name." << endl;
--}
--
--void XPDFReader::lookupString( Dict * dict, char * type, QString & dest )
--{
-- Object stringObj = dict->lookup( type );
-- if ( stringObj.isNull() )
-- return;
-- if ( stringObj.isString() )
-- dest = stringObj.getString()->getCString();
-- else
-- qDebug() << type << " is not String." << endl;
--}
--
--void XPDFReader::lookupBool( Dict * dict, char * type, bool & dest )
--{
-- Object boolObj = dict->lookup( type );
-- if ( boolObj.isNull() )
-- return;
-- if ( boolObj.isBool() )
-- dest = boolObj.getBool() == gTrue;
-- else
-- qDebug() << type << " is not Bool." << endl;
--}
--
--void XPDFReader::lookupInt( Dict * dict, char * type, int & dest )
--{
-- Object intObj = dict->lookup( type );
-- if ( intObj.isNull() )
-- return;
-- if ( intObj.isInt() )
-- dest = intObj.getInt();
-- else
-- qDebug() << type << " is not Int." << endl;
--}
--
--void XPDFReader::lookupNum( Dict * dict, char * type, double & dest )
--{
-- Object numObj = dict->lookup( type );
-- if ( numObj.isNull() )
-- return;
-- if ( numObj.isNum() )
-- dest = numObj.getNum();
-- else
-- qDebug() << type << " is not Num." << endl;
--}
--
--int XPDFReader::lookupNumArray( Dict * dict, char * type, double * dest, int len )
--{
-- Object arrObj = dict->lookup( type );
-- if ( arrObj.isNull() )
-- return 0;
-- if ( arrObj.isArray() )
-- {
-- len = qMin( len, arrObj.arrayGetLength() );
-- for ( int i = 0; i < len; i++ )
-- {
-- Object numObj = arrObj.arrayGet( i );
-- dest[i] = numObj.getNum();
-- }
-- }
-- else
-- {
-- len = 0;
-- qDebug() << type << "is not Array." << endl;
-- }
-- return len;
--}
--
--void XPDFReader::lookupColor( Dict * dict, char * type, QColor & dest )
--{
-- double c[3];
-- if ( XPDFReader::lookupNumArray( dict, type, c, 3 ) == 3 )
-- dest = QColor( (int)(c[0]*255.0), (int)(c[1]*255.0), (int)(c[2]*255.0));
--}
--
--void XPDFReader::lookupIntRef( Dict * dict, char * type, int & dest )
--{
-- Object refObj = dict->lookupNF( type );
-- if ( refObj.isNull() )
-- return;
-- if ( refObj.isRef() )
-- dest = refObj.getRefNum();
-- else
-- qDebug() << type << " is not Ref." << endl;
--}
--
--void XPDFReader::lookupDate( Dict * dict, char * type, QDateTime & dest )
--{
-- Object dateObj = dict->lookup( type );
-- if ( dateObj.isNull() )
-- return;
-- if ( dateObj.isString() )
-- {
-- dest = convertDate( dateObj.getString()->getCString() );
-- }
-- else
-- qDebug() << type << " is not Date" << endl;
--}
--
--void XPDFReader::transform( double * M, double x, double y, QPointF &res )
--{
-- res.setX( M[0] * x + M[2] * y + M[4] );
-- res.setY( M[1] * x + M[3] * y + M[5] );
--}
--
--void XPDFReader::invTransform( double * M, const QPointF &p, double &x, double &y )
--{
-- const double det = M[0]*M[3] - M[1]*M[2];
-- Q_ASSERT(det != 0);
--
-- const double invM[4] = { M[3]/det, -M[1]/det, -M[2]/det, M[0]/det };
-- const double xt = p.x() - M[4];
-- const double yt = p.y() - M[5];
--
-- x = invM[0] * xt + invM[2] * yt;
-- y = invM[1] * xt + invM[3] * yt;
--}
--
--QColor convertAnnotColor( AnnotColor *color );
--AnnotColor* convertQColor( const QColor &color );
--
--}
-diff --git a/qt4/src/poppler-annotation-private.h b/qt4/src/poppler-annotation-private.h
-deleted file mode 100644
-index b530e2f2..00000000
---- a/qt4/src/poppler-annotation-private.h
-+++ /dev/null
-@@ -1,112 +0,0 @@
--/* poppler-annotation-private.h: qt interface to poppler
-- * Copyright (C) 2007, Pino Toscano
-- * Copyright (C) 2012, Tobias Koenig
-- * Copyright (C) 2012, 2013 Fabio D'Urso
-- * Copyright (C) 2012, 2014, Albert Astals Cid
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--#ifndef _POPPLER_ANNOTATION_PRIVATE_H_
--#define _POPPLER_ANNOTATION_PRIVATE_H_
--
--#include
--#include
--#include
--
--#include "poppler-annotation.h"
--
--#include
--
--class Annot;
--class AnnotPath;
--class Link;
--class Page;
--class PDFRectangle;
--
--namespace Poppler
--{
--class DocumentData;
--
--class AnnotationPrivate : public QSharedData
--{
-- public:
-- AnnotationPrivate();
-- virtual ~AnnotationPrivate();
--
-- void addRevision(Annotation *ann, Annotation::RevScope scope, Annotation::RevType type);
--
-- /* Returns an Annotation of the right subclass whose d_ptr points to
-- * this AnnotationPrivate */
-- virtual Annotation * makeAlias() = 0;
--
-- /* properties: contents related */
-- QString author;
-- QString contents;
-- QString uniqueName;
-- QDateTime modDate; // before or equal to currentDateTime()
-- QDateTime creationDate; // before or equal to modifyDate
--
-- /* properties: look/interaction related */
-- int flags;
-- QRectF boundary;
--
-- /* style and popup */
-- Annotation::Style style;
-- Annotation::Popup popup;
--
-- /* revisions */
-- Annotation::RevScope revisionScope;
-- Annotation::RevType revisionType;
-- QList revisions;
--
-- /* After this call, the Annotation object will behave like a wrapper for
-- * the specified Annot object. All cached values are discarded */
-- void tieToNativeAnnot(Annot *ann, ::Page *page, DocumentData *doc);
--
-- /* Creates a new Annot object on the specified page, flushes current
-- * values to that object and ties this Annotation to that object */
-- virtual Annot* createNativeAnnot(::Page *destPage, DocumentData *doc) = 0;
--
-- /* Inited to 0 (i.e. untied annotation) */
-- Annot *pdfAnnot;
-- ::Page *pdfPage;
-- DocumentData * parentDoc;
--
-- /* The following helpers only work if pdfPage is set */
-- void flushBaseAnnotationProperties();
-- void fillNormalizationMTX(double MTX[6], int pageRotation) const;
-- void fillTransformationMTX(double MTX[6]) const;
-- QRectF fromPdfRectangle(const PDFRectangle &r) const;
-- PDFRectangle boundaryToPdfRectangle(const QRectF &r, int flags) const;
-- AnnotPath * toAnnotPath(const QLinkedList &l) const;
--
-- /* Scan page for annotations, parentId=0 searches for root annotations, subtypes empty means all subtypes */
-- static QList findAnnotations(::Page *pdfPage, DocumentData *doc, const QSet &subtypes, int parentId = 0);
--
-- /* Add given annotation to given page */
-- static void addAnnotationToPage(::Page *pdfPage, DocumentData *doc, const Annotation * ann);
--
-- /* Remove annotation from page and destroy ann */
-- static void removeAnnotationFromPage(::Page *pdfPage, const Annotation * ann);
--
-- Ref pdfObjectReference() const;
--
-- Link* additionalAction( Annotation::AdditionalActionType type ) const;
--};
--
--}
--
--#endif
-diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc
-deleted file mode 100644
-index 8a7f60b1..00000000
---- a/qt4/src/poppler-annotation.cc
-+++ /dev/null
-@@ -1,5089 +0,0 @@
--/* poppler-annotation.cc: qt interface to poppler
-- * Copyright (C) 2006, 2009, 2012-2015 Albert Astals Cid
-- * Copyright (C) 2006, 2008, 2010 Pino Toscano
-- * Copyright (C) 2012, Guillermo A. Amaral B.
-- * Copyright (C) 2012-2014 Fabio D'Urso
-- * Copyright (C) 2012, 2015, Tobias Koenig
-- * Adapting code from
-- * Copyright (C) 2004 by Enrico Ros
-- *
-- * This program is free software; you can redistribute it and/or modify
-- * it under the terms of the GNU General Public License as published by
-- * the Free Software Foundation; either version 2, or (at your option)
-- * any later version.
-- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; if not, write to the Free Software
-- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-- */
--
--// qt/kde includes
--#include
--#include
--#include
--#include
--#include
--
--// local includes
--#include "poppler-annotation.h"
--#include "poppler-link.h"
--#include "poppler-qt4.h"
--#include "poppler-annotation-helper.h"
--#include "poppler-annotation-private.h"
--#include "poppler-page-private.h"
--#include "poppler-private.h"
--
--// poppler includes
--#include
--#include
--#include
--#include
--#include
--#include
--
--/* Almost all getters directly query the underlying poppler annotation, with
-- * the exceptions of link, file attachment, sound, movie and screen annotations,
-- * Whose data retrieval logic has not been moved yet. Their getters return
-- * static data set at creation time by findAnnotations
-- */
--
--namespace Poppler {
--
--//BEGIN AnnotationUtils implementation
--Annotation * AnnotationUtils::createAnnotation( const QDomElement & annElement )
--{
-- // safety check on annotation element
-- if ( !annElement.hasAttribute( "type" ) )
-- return 0;
--
-- // build annotation of given type
-- Annotation * annotation = 0;
-- int typeNumber = annElement.attribute( "type" ).toInt();
-- switch ( typeNumber )
-- {
-- case Annotation::AText:
-- annotation = new TextAnnotation( annElement );
-- break;
-- case Annotation::ALine:
-- annotation = new LineAnnotation( annElement );
-- break;
-- case Annotation::AGeom:
-- annotation = new GeomAnnotation( annElement );
-- break;
-- case Annotation::AHighlight:
-- annotation = new HighlightAnnotation( annElement );
-- break;
-- case Annotation::AStamp:
-- annotation = new StampAnnotation( annElement );
-- break;
-- case Annotation::AInk:
-- annotation = new InkAnnotation( annElement );
-- break;
-- case Annotation::ACaret:
-- annotation = new CaretAnnotation( annElement );
-- break;
-- }
--
-- // return created annotation
-- return annotation;
--}
--
--void AnnotationUtils::storeAnnotation( const Annotation * ann, QDomElement & annElement,
-- QDomDocument & document )
--{
-- // save annotation's type as element's attribute
-- annElement.setAttribute( "type", (uint)ann->subType() );
--
-- // append all annotation data as children of this node
-- ann->store( annElement, document );
--}
--
--QDomElement AnnotationUtils::findChildElement( const QDomNode & parentNode,
-- const QString & name )
--{
-- // loop through the whole children and return a 'name' named element
-- QDomNode subNode = parentNode.firstChild();
-- while( subNode.isElement() )
-- {
-- QDomElement element = subNode.toElement();
-- if ( element.tagName() == name )
-- return element;
-- subNode = subNode.nextSibling();
-- }
-- // if the name can't be found, return a dummy null element
-- return QDomElement();
--}
--//END AnnotationUtils implementation
--
--
--//BEGIN Annotation implementation
--AnnotationPrivate::AnnotationPrivate()
-- : flags( 0 ), revisionScope ( Annotation::Root ),
-- revisionType ( Annotation::None ), pdfAnnot ( 0 ), pdfPage ( 0 ),
-- parentDoc ( 0 )
--{
--}
--
--void AnnotationPrivate::addRevision( Annotation *ann, Annotation::RevScope scope, Annotation::RevType type )
--{
-- /* Since ownership stays with the caller, create an alias of ann */
-- revisions.append( ann->d_ptr->makeAlias() );
--
-- /* Set revision properties */
-- revisionScope = scope;
-- revisionType = type;
--}
--
--AnnotationPrivate::~AnnotationPrivate()
--{
-- // Delete all children revisions
-- qDeleteAll( revisions );
--
-- // Release Annot object
-- if (pdfAnnot)
-- pdfAnnot->decRefCnt();
--}
--
--void AnnotationPrivate::tieToNativeAnnot(Annot *ann, ::Page *page, Poppler::DocumentData * doc)
--{
-- if (pdfAnnot)
-- {
-- error(errIO, -1, "Annotation is already tied");
-- return;
-- }
--
-- pdfAnnot = ann;
-- pdfPage = page;
-- parentDoc = doc;
--
-- pdfAnnot->incRefCnt();
--}
--
--/* This method is called when a new annotation is created, after pdfAnnot and
-- * pdfPage have been set */
--void AnnotationPrivate::flushBaseAnnotationProperties()
--{
-- Q_ASSERT ( pdfPage );
--
-- Annotation *q = makeAlias(); // Setters are defined in the public class
--
-- // Since pdfAnnot has been set, this calls will write in the Annot object
-- q->setAuthor(author);
-- q->setContents(contents);
-- q->setUniqueName(uniqueName);
-- q->setModificationDate(modDate);
-- q->setCreationDate(creationDate);
-- q->setFlags(flags);
-- //q->setBoundary(boundary); -- already set by subclass-specific code
-- q->setStyle(style);
-- q->setPopup(popup);
--
-- // Flush revisions
-- foreach (Annotation *r, revisions)
-- {
-- // TODO: Flush revision
-- delete r; // Object is no longer needed
-- }
--
-- delete q;
--
-- // Clear some members to save memory
-- author.clear();
-- contents.clear();
-- uniqueName.clear();
-- revisions.clear();
--}
--
--// Returns matrix to convert from user space coords (oriented according to the
--// specified rotation) to normalized coords
--void AnnotationPrivate::fillNormalizationMTX(double MTX[6], int pageRotation) const
--{
-- Q_ASSERT ( pdfPage );
--
-- // build a normalized transform matrix for this page at 100% scale
-- GfxState * gfxState = new GfxState( 72.0, 72.0, pdfPage->getCropBox(), pageRotation, gTrue );
-- double * gfxCTM = gfxState->getCTM();
--
-- double w = pdfPage->getCropWidth();
-- double h = pdfPage->getCropHeight();
--
-- // Swap width and height if the page is rotated landscape or seascape
-- if ( pageRotation == 90 || pageRotation == 270 )
-- {
-- double t = w;
-- w = h;
-- h = t;
-- }
--
-- for ( int i = 0; i < 6; i+=2 )
-- {
-- MTX[i] = gfxCTM[i] / w;
-- MTX[i+1] = gfxCTM[i+1] / h;
-- }
-- delete gfxState;
--}
--
--// Returns matrix to convert from user space coords (i.e. those that are stored
--// in the PDF file) to normalized coords (i.e. those that we expose to clients).
--// This method also applies a rotation around the top-left corner if the
--// FixedRotation flag is set.
--void AnnotationPrivate::fillTransformationMTX(double MTX[6]) const
--{
-- Q_ASSERT ( pdfPage );
-- Q_ASSERT ( pdfAnnot );
--
-- const int pageRotate = pdfPage->getRotate();
--
-- if ( pageRotate == 0 || ( pdfAnnot->getFlags() & Annot::flagNoRotate ) == 0 )
-- {
-- // Use the normalization matrix for this page's rotation
-- fillNormalizationMTX( MTX, pageRotate );
-- }
-- else
-- {
-- // Clients expect coordinates relative to this page's rotation, but
-- // FixedRotation annotations internally use unrotated coordinates:
-- // construct matrix to both normalize and rotate coordinates using the
-- // top-left corner as rotation pivot
--
-- double MTXnorm[6];
-- fillNormalizationMTX( MTXnorm, pageRotate );
--
-- QTransform transform( MTXnorm[0], MTXnorm[1], MTXnorm[2],
-- MTXnorm[3], MTXnorm[4], MTXnorm[5] );
-- transform.translate( +pdfAnnot->getXMin(), +pdfAnnot->getYMax() );
-- transform.rotate( pageRotate );
-- transform.translate( -pdfAnnot->getXMin(), -pdfAnnot->getYMax() );
--
-- MTX[0] = transform.m11();
-- MTX[1] = transform.m12();
-- MTX[2] = transform.m21();
-- MTX[3] = transform.m22();
-- MTX[4] = transform.dx();
-- MTX[5] = transform.dy();
-- }
--}
--
--QRectF AnnotationPrivate::fromPdfRectangle(const PDFRectangle &r) const
--{
-- double swp, MTX[6];
-- fillTransformationMTX(MTX);
--
-- QPointF p1, p2;
-- XPDFReader::transform( MTX, r.x1, r.y1, p1 );
-- XPDFReader::transform( MTX, r.x2, r.y2, p2 );
--
-- double tl_x = p1.x();
-- double tl_y = p1.y();
-- double br_x = p2.x();
-- double br_y = p2.y();
--
-- if (tl_x > br_x)
-- {
-- swp = tl_x;
-- tl_x = br_x;
-- br_x = swp;
-- }
--
-- if (tl_y > br_y)
-- {
-- swp = tl_y;
-- tl_y = br_y;
-- br_y = swp;
-- }
--
-- return QRectF( QPointF(tl_x,tl_y) , QPointF(br_x,br_y) );
--}
--
--// This function converts a boundary QRectF in normalized coords to a
--// PDFRectangle in user coords. If the FixedRotation flag is set, this function
--// also applies a rotation around the top-left corner: it's the inverse of
--// the transformation produced by fillTransformationMTX, but we can't use
--// fillTransformationMTX here because it relies on the native annotation
--// object's boundary rect to be already set up.
--PDFRectangle AnnotationPrivate::boundaryToPdfRectangle(const QRectF &r, int flags) const
--{
-- Q_ASSERT ( pdfPage );
--
-- const int pageRotate = pdfPage->getRotate();
--
-- double MTX[6];
-- fillNormalizationMTX( MTX, pageRotate );
--
-- double tl_x, tl_y, br_x, br_y, swp;
-- XPDFReader::invTransform( MTX, r.topLeft(), tl_x, tl_y );
-- XPDFReader::invTransform( MTX, r.bottomRight(), br_x, br_y );
--
-- if (tl_x > br_x)
-- {
-- swp = tl_x;
-- tl_x = br_x;
-- br_x = swp;
-- }
--
-- if (tl_y > br_y)
-- {
-- swp = tl_y;
-- tl_y = br_y;
-- br_y = swp;
-- }
--
-- const int rotationFixUp = ( flags & Annotation::FixedRotation ) ? pageRotate : 0;
-- const double width = br_x - tl_x;
-- const double height = br_y - tl_y;
--
-- if ( rotationFixUp == 0 )
-- return PDFRectangle(tl_x, tl_y, br_x, br_y);
-- else if ( rotationFixUp == 90 )
-- return PDFRectangle(tl_x, tl_y - width, tl_x + height, tl_y);
-- else if ( rotationFixUp == 180 )
-- return PDFRectangle(br_x, tl_y - height, br_x + width, tl_y);
-- else // rotationFixUp == 270
-- return PDFRectangle(br_x, br_y - width, br_x + height, br_y);
--}
--
--AnnotPath * AnnotationPrivate::toAnnotPath(const QLinkedList &list) const
--{
-- const int count = list.size();
-- AnnotCoord **ac = (AnnotCoord **) gmallocn(count, sizeof(AnnotCoord*));
--
-- double MTX[6];
-- fillTransformationMTX(MTX);
--
-- int pos = 0;
-- foreach (const QPointF &p, list)
-- {
-- double x, y;
-- XPDFReader::invTransform( MTX, p, x, y );
-- ac[pos++] = new AnnotCoord(x, y);
-- }
--
-- return new AnnotPath(ac, count);
--}
--
--QList AnnotationPrivate::findAnnotations(::Page *pdfPage, DocumentData *doc, const QSet &subtypes, int parentID)
--{
-- Annots* annots = pdfPage->getAnnots();
-- const uint numAnnotations = annots->getNumAnnots();
-- if ( numAnnotations == 0 )
-- {
-- return QList();
-- }
--
-- const bool wantTextAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AText);
-- const bool wantLineAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::ALine);
-- const bool wantGeomAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AGeom);
-- const bool wantHighlightAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AHighlight);
-- const bool wantStampAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AStamp);
-- const bool wantInkAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AInk);
-- const bool wantLinkAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::ALink);
-- const bool wantCaretAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::ACaret);
-- const bool wantFileAttachmentAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AFileAttachment);
-- const bool wantSoundAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::ASound);
-- const bool wantMovieAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AMovie);
-- const bool wantScreenAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AScreen);
-- const bool wantWidgetAnnotations = subtypes.isEmpty() || subtypes.contains(Annotation::AWidget);
--
-- // Create Annotation objects and tie to their native Annot
-- QList res;
-- for ( uint j = 0; j < numAnnotations; j++ )
-- {
-- // get the j-th annotation
-- Annot * ann = annots->getAnnot( j );
-- if ( !ann )
-- {
-- error(errInternal, -1, "Annot {0:ud} is null", j);
-- continue;
-- }
--
-- // Check parent annotation
-- AnnotMarkup * markupann = dynamic_cast< AnnotMarkup * >( ann );
-- if (!markupann)
-- {
-- // Assume it's a root annotation, and skip if user didn't request it
-- if (parentID != 0)
-- continue;
-- }
-- else if (markupann->getInReplyToID() != parentID)
-- continue;
--
-- /* Create Annotation of the right subclass */
-- Annotation * annotation = 0;
-- Annot::AnnotSubtype subType = ann->getType();
--
-- switch ( subType )
-- {
-- case Annot::typeText:
-- if (!wantTextAnnotations)
-- continue;
-- annotation = new TextAnnotation(TextAnnotation::Linked);
-- break;
-- case Annot::typeFreeText:
-- if (!wantTextAnnotations)
-- continue;
-- annotation = new TextAnnotation(TextAnnotation::InPlace);
-- break;
-- case Annot::typeLine:
-- if (!wantLineAnnotations)
-- continue;
-- annotation = new LineAnnotation(LineAnnotation::StraightLine);
-- break;
-- case Annot::typePolygon:
-- case Annot::typePolyLine:
-- if (!wantLineAnnotations)
-- continue;
-- annotation = new LineAnnotation(LineAnnotation::Polyline);
-- break;
-- case Annot::typeSquare:
-- case Annot::typeCircle:
-- if (!wantGeomAnnotations)
-- continue;
-- annotation = new GeomAnnotation();
-- break;
-- case Annot::typeHighlight:
-- case Annot::typeUnderline:
-- case Annot::typeSquiggly:
-- case Annot::typeStrikeOut:
-- if (!wantHighlightAnnotations)
-- continue;
-- annotation = new HighlightAnnotation();
-- break;
-- case Annot::typeStamp:
-- if (!wantStampAnnotations)
-- continue;
-- annotation = new StampAnnotation();
-- break;
-- case Annot::typeInk:
-- if (!wantInkAnnotations)
-- continue;
-- annotation = new InkAnnotation();
-- break;
-- case Annot::typeLink: /* TODO: Move logic to getters */
-- {
-- if (!wantLinkAnnotations)
-- continue;
-- // parse Link params
-- AnnotLink * linkann = static_cast< AnnotLink * >( ann );
-- LinkAnnotation * l = new LinkAnnotation();
-- annotation = l;
--
-- // -> hlMode
-- l->setLinkHighlightMode( (LinkAnnotation::HighlightMode)linkann->getLinkEffect() );
--
-- // -> link region
-- // TODO
--
-- // reading link action
-- if ( linkann->getAction() )
-- {
-- Link * popplerLink = PageData::convertLinkActionToLink( linkann->getAction(), doc, QRectF() );
-- if ( popplerLink )
-- {
-- l->setLinkDestination( popplerLink );
-- }
-- }
-- break;
-- }
-- case Annot::typeCaret:
-- if (!wantCaretAnnotations)
-- continue;
-- annotation = new CaretAnnotation();
-- break;
-- case Annot::typeFileAttachment: /* TODO: Move logic to getters */
-- {
-- if (!wantFileAttachmentAnnotations)
-- continue;
-- AnnotFileAttachment * attachann = static_cast< AnnotFileAttachment * >( ann );
-- FileAttachmentAnnotation * f = new FileAttachmentAnnotation();
-- annotation = f;
-- // -> fileIcon
-- f->setFileIconName( QString::fromLatin1( attachann->getName()->getCString() ) );
-- // -> embeddedFile
-- FileSpec *filespec = new FileSpec( attachann->getFile() );
-- f->setEmbeddedFile( new EmbeddedFile( *new EmbeddedFileData( filespec ) ) );
-- break;
-- }
-- case Annot::typeSound: /* TODO: Move logic to getters */
-- {
-- if (!wantSoundAnnotations)
-- continue;
-- AnnotSound * soundann = static_cast< AnnotSound * >( ann );
-- SoundAnnotation * s = new SoundAnnotation();
-- annotation = s;
--
-- // -> soundIcon
-- s->setSoundIconName( QString::fromLatin1( soundann->getName()->getCString() ) );
-- // -> sound
-- s->setSound( new SoundObject( soundann->getSound() ) );
-- break;
-- }
-- case Annot::typeMovie: /* TODO: Move logic to getters */
-- {
-- if (!wantMovieAnnotations)
-- continue;
-- AnnotMovie * movieann = static_cast< AnnotMovie * >( ann );
-- MovieAnnotation * m = new MovieAnnotation();
-- annotation = m;
--
-- // -> movie
-- MovieObject *movie = new MovieObject( movieann );
-- m->setMovie( movie );
-- // -> movieTitle
-- GooString * movietitle = movieann->getTitle();
-- if ( movietitle )
-- m->setMovieTitle( QString::fromLatin1( movietitle->getCString() ) );
-- break;
-- }
-- case Annot::typeScreen:
-- {
-- if (!wantScreenAnnotations)
-- continue;
-- AnnotScreen * screenann = static_cast< AnnotScreen * >( ann );
-- if (!screenann->getAction())
-- continue;
-- ScreenAnnotation * s = new ScreenAnnotation();
-- annotation = s;
--
-- // -> screen
-- Link * popplerLink = PageData::convertLinkActionToLink( screenann->getAction(), doc, QRectF() );
-- s->setAction( static_cast(popplerLink) );
--
-- // -> screenTitle
-- GooString * screentitle = screenann->getTitle();
-- if ( screentitle )
-- s->setScreenTitle( UnicodeParsedString( screentitle ) );
-- break;
-- }
-- case Annot::typePopup:
-- continue; // popups are parsed by Annotation's window() getter
-- case Annot::typeUnknown:
-- continue; // special case for ignoring unknown annotations
-- case Annot::typeWidget:
-- if (!wantWidgetAnnotations)
-- continue;
-- annotation = new WidgetAnnotation();
-- break;
-- case Annot::typeRichMedia:
-- {
-- const AnnotRichMedia * annotRichMedia = static_cast< AnnotRichMedia * >( ann );
--
-- RichMediaAnnotation *richMediaAnnotation = new RichMediaAnnotation;
--
-- const AnnotRichMedia::Settings *annotSettings = annotRichMedia->getSettings();
-- if ( annotSettings ) {
-- RichMediaAnnotation::Settings *settings = new RichMediaAnnotation::Settings;
--
-- if ( annotSettings->getActivation() ) {
-- RichMediaAnnotation::Activation *activation = new RichMediaAnnotation::Activation;
--
-- switch ( annotSettings->getActivation()->getCondition() )
-- {
-- case AnnotRichMedia::Activation::conditionPageOpened:
-- activation->setCondition( RichMediaAnnotation::Activation::PageOpened );
-- break;
-- case AnnotRichMedia::Activation::conditionPageVisible:
-- activation->setCondition( RichMediaAnnotation::Activation::PageVisible );
-- break;
-- case AnnotRichMedia::Activation::conditionUserAction:
-- activation->setCondition( RichMediaAnnotation::Activation::UserAction );
-- break;
-- }
--
-- settings->setActivation( activation );
-- }
--
-- if ( annotSettings->getDeactivation() ) {
-- RichMediaAnnotation::Deactivation *deactivation = new RichMediaAnnotation::Deactivation;
--
-- switch ( annotSettings->getDeactivation()->getCondition() )
-- {
-- case AnnotRichMedia::Deactivation::conditionPageClosed:
-- deactivation->setCondition( RichMediaAnnotation::Deactivation::PageClosed );
-- break;
-- case AnnotRichMedia::Deactivation::conditionPageInvisible:
-- deactivation->setCondition( RichMediaAnnotation::Deactivation::PageInvisible );
-- break;
-- case AnnotRichMedia::Deactivation::conditionUserAction:
-- deactivation->setCondition( RichMediaAnnotation::Deactivation::UserAction );
-- break;
-- }
--
-- settings->setDeactivation( deactivation );
-- }
--
-- richMediaAnnotation->setSettings( settings );
-- }
--
-- const AnnotRichMedia::Content *annotContent = annotRichMedia->getContent();
-- if ( annotContent ) {
-- RichMediaAnnotation::Content *content = new RichMediaAnnotation::Content;
--
-- const int configurationsCount = annotContent->getConfigurationsCount();
-- if ( configurationsCount > 0 ) {
-- QList< RichMediaAnnotation::Configuration* > configurations;
--
-- for ( int i = 0; i < configurationsCount; ++i ) {
-- const AnnotRichMedia::Configuration *annotConfiguration = annotContent->getConfiguration( i );
-- if ( !annotConfiguration )
-- continue;
--
-- RichMediaAnnotation::Configuration *configuration = new RichMediaAnnotation::Configuration;
--
-- if ( annotConfiguration->getName() )
-- configuration->setName( UnicodeParsedString( annotConfiguration->getName() ) );
--
-- switch ( annotConfiguration->getType() )
-- {
-- case AnnotRichMedia::Configuration::type3D:
-- configuration->setType( RichMediaAnnotation::Configuration::Type3D );
-- break;
-- case AnnotRichMedia::Configuration::typeFlash:
-- configuration->setType( RichMediaAnnotation::Configuration::TypeFlash );
-- break;
-- case AnnotRichMedia::Configuration::typeSound:
-- configuration->setType( RichMediaAnnotation::Configuration::TypeSound );
-- break;
-- case AnnotRichMedia::Configuration::typeVideo:
-- configuration->setType( RichMediaAnnotation::Configuration::TypeVideo );
-- break;
-- }
--
-- const int instancesCount = annotConfiguration->getInstancesCount();
-- if ( instancesCount > 0 ) {
-- QList< RichMediaAnnotation::Instance* > instances;
--
-- for ( int j = 0; j < instancesCount; ++j ) {
-- const AnnotRichMedia::Instance *annotInstance = annotConfiguration->getInstance( j );
-- if ( !annotInstance )
-- continue;
--
-- RichMediaAnnotation::Instance *instance = new RichMediaAnnotation::Instance;
--
-- switch ( annotInstance->getType() )
-- {
-- case AnnotRichMedia::Instance::type3D:
-- instance->setType( RichMediaAnnotation::Instance::Type3D );
-- break;
-- case AnnotRichMedia::Instance::typeFlash:
-- instance->setType( RichMediaAnnotation::Instance::TypeFlash );
-- break;
-- case AnnotRichMedia::Instance::typeSound:
-- instance->setType( RichMediaAnnotation::Instance::TypeSound );
-- break;
-- case AnnotRichMedia::Instance::typeVideo:
-- instance->setType( RichMediaAnnotation::Instance::TypeVideo );
-- break;
-- }
--
-- const AnnotRichMedia::Params *annotParams = annotInstance->getParams();
-- if ( annotParams ) {
-- RichMediaAnnotation::Params *params = new RichMediaAnnotation::Params;
--
-- if ( annotParams->getFlashVars() )
-- params->setFlashVars( UnicodeParsedString( annotParams->getFlashVars() ) );
--
-- instance->setParams( params );
-- }
--
-- instances.append( instance );
-- }
--
-- configuration->setInstances( instances );
-- }
--
-- configurations.append( configuration );
-- }
--
-- content->setConfigurations( configurations );
-- }
--
-- const int assetsCount = annotContent->getAssetsCount();
-- if ( assetsCount > 0 ) {
-- QList< RichMediaAnnotation::Asset* > assets;
--
-- for ( int i = 0; i < assetsCount; ++i ) {
-- const AnnotRichMedia::Asset *annotAsset = annotContent->getAsset( i );
-- if ( !annotAsset )
-- continue;
--
-- RichMediaAnnotation::Asset *asset = new RichMediaAnnotation::Asset;
--
-- if ( annotAsset->getName() )
-- asset->setName( UnicodeParsedString( annotAsset->getName() ) );
--
-- FileSpec *fileSpec = new FileSpec( annotAsset->getFileSpec() );
-- asset->setEmbeddedFile( new EmbeddedFile( *new EmbeddedFileData( fileSpec ) ) );
--
-- assets.append( asset );
-- }
--
-- content->setAssets( assets );
-- }
--
-- richMediaAnnotation->setContent( content );
-- }
--
-- annotation = richMediaAnnotation;
--
-- break;
-- }
-- default:
-- {
--#define CASE_FOR_TYPE( thetype ) \
-- case Annot::type ## thetype: \
-- error(errUnimplemented, -1, "Annotation " #thetype " not supported"); \
-- break;
-- switch ( subType )
-- {
-- CASE_FOR_TYPE( PrinterMark )
-- CASE_FOR_TYPE( TrapNet )
-- CASE_FOR_TYPE( Watermark )
-- CASE_FOR_TYPE( 3D )
-- default: error(errUnimplemented, -1, "Annotation {0:d} not supported", subType);
-- }
-- continue;
--#undef CASE_FOR_TYPE
-- }
-- }
--
-- annotation->d_ptr->tieToNativeAnnot(ann, pdfPage, doc);
-- res.append(annotation);
-- }
--
-- return res;
--}
--
--Ref AnnotationPrivate::pdfObjectReference() const
--{
-- if (pdfAnnot == 0)
-- {
-- const Ref invalid_ref = { -1, -1 };
-- return invalid_ref;
-- }
--
-- return pdfAnnot->getRef();
--}
--
--Link* AnnotationPrivate::additionalAction( Annotation::AdditionalActionType type ) const
--{
-- if ( pdfAnnot->getType() != Annot::typeScreen && pdfAnnot->getType() != Annot::typeWidget )
-- return 0;
--
-- Annot::AdditionalActionsType actionType = Annot::actionCursorEntering;
-- switch ( type )
-- {
-- case Annotation::CursorEnteringAction: actionType = Annot::actionCursorEntering; break;
-- case Annotation::CursorLeavingAction: actionType = Annot::actionCursorLeaving; break;
-- case Annotation::MousePressedAction: actionType = Annot::actionMousePressed; break;
-- case Annotation::MouseReleasedAction: actionType = Annot::actionMouseReleased; break;
-- case Annotation::FocusInAction: actionType = Annot::actionFocusIn; break;
-- case Annotation::FocusOutAction: actionType = Annot::actionFocusOut; break;
-- case Annotation::PageOpeningAction: actionType = Annot::actionPageOpening; break;
-- case Annotation::PageClosingAction: actionType = Annot::actionPageClosing; break;
-- case Annotation::PageVisibleAction: actionType = Annot::actionPageVisible; break;
-- case Annotation::PageInvisibleAction: actionType = Annot::actionPageInvisible; break;
-- }
--
-- ::LinkAction *linkAction = 0;
-- if ( pdfAnnot->getType() == Annot::typeScreen )
-- linkAction = static_cast( pdfAnnot )->getAdditionalAction( actionType );
-- else
-- linkAction = static_cast( pdfAnnot )->getAdditionalAction( actionType );
--
-- Link *link = 0;
--
-- if ( linkAction )
-- link = PageData::convertLinkActionToLink( linkAction, parentDoc, QRectF() );
--
-- return link;
--}
--
--void AnnotationPrivate::addAnnotationToPage(::Page *pdfPage, DocumentData *doc, const Annotation * ann)
--{
-- if (ann->d_ptr->pdfAnnot != 0)
-- {
-- error(errIO, -1, "Annotation is already tied");
-- return;
-- }
--
-- // Unimplemented annotations can't be created by the user because their ctor
-- // is private. Therefore, createNativeAnnot will never return 0
-- Annot *nativeAnnot = ann->d_ptr->createNativeAnnot(pdfPage, doc);
-- Q_ASSERT(nativeAnnot);
-- pdfPage->addAnnot(nativeAnnot);
--}
--
--void AnnotationPrivate::removeAnnotationFromPage(::Page *pdfPage, const Annotation * ann)
--{
-- if (ann->d_ptr->pdfAnnot == 0)
-- {
-- error(errIO, -1, "Annotation is not tied");
-- return;
-- }
--
-- if (ann->d_ptr->pdfPage != pdfPage)
-- {
-- error(errIO, -1, "Annotation doesn't belong to the specified page");
-- return;
-- }
--
-- // Remove annotation
-- pdfPage->removeAnnot(ann->d_ptr->pdfAnnot);
--
-- // Destroy object
-- delete ann;
--}
--
--class Annotation::Style::Private : public QSharedData
--{
-- public:
-- Private()
-- : opacity( 1.0 ), width( 1.0 ), lineStyle( Solid ), xCorners( 0.0 ),
-- yCorners( 0.0 ), lineEffect( NoEffect ), effectIntensity( 1.0 )
-- {
-- dashArray.resize(1);
-- dashArray[0] = 3;
-- }
--
-- QColor color;
-- double opacity;
-- double width;
-- Annotation::LineStyle lineStyle;
-- double xCorners;
-- double yCorners;
-- QVector dashArray;
-- Annotation::LineEffect lineEffect;
-- double effectIntensity;
--};
--
--Annotation::Style::Style()
-- : d ( new Private )
--{
--}
--
--Annotation::Style::Style( const Style &other )
-- : d( other.d )
--{
--}
--
--Annotation::Style& Annotation::Style::operator=( const Style &other )
--{
-- if ( this != &other )
-- d = other.d;
--
-- return *this;
--}
--
--Annotation::Style::~Style()
--{
--}
--
--QColor Annotation::Style::color() const
--{
-- return d->color;
--}
--
--void Annotation::Style::setColor(const QColor &color)
--{
-- d->color = color;
--}
--
--double Annotation::Style::opacity() const
--{
-- return d->opacity;
--}
--
--void Annotation::Style::setOpacity(double opacity)
--{
-- d->opacity = opacity;
--}
--
--double Annotation::Style::width() const
--{
-- return d->width;
--}
--
--void Annotation::Style::setWidth(double width)
--{
-- d->width = width;
--}
--
--Annotation::LineStyle Annotation::Style::lineStyle() const
--{
-- return d->lineStyle;
--}
--
--void Annotation::Style::setLineStyle(Annotation::LineStyle style)
--{
-- d->lineStyle = style;
--}
--
--double Annotation::Style::xCorners() const
--{
-- return d->xCorners;
--}
--
--void Annotation::Style::setXCorners(double radius)
--{
-- d->xCorners = radius;
--}
--
--double Annotation::Style::yCorners() const
--{
-- return d->yCorners;
--}
--
--void Annotation::Style::setYCorners(double radius)
--{
-- d->yCorners = radius;
--}
--
--const QVector& Annotation::Style::dashArray() const
--{
-- return d->dashArray;
--}
--
--void Annotation::Style::setDashArray(const QVector &array)
--{
-- d->dashArray = array;
--}
--
--Annotation::LineEffect Annotation::Style::lineEffect() const
--{
-- return d->lineEffect;
--}
--
--void Annotation::Style::setLineEffect(Annotation::LineEffect effect)
--{
-- d->lineEffect = effect;
--}
--
--double Annotation::Style::effectIntensity() const
--{
-- return d->effectIntensity;
--}
--
--void Annotation::Style::setEffectIntensity(double intens)
--{
-- d->effectIntensity = intens;
--}
--
--class Annotation::Popup::Private : public QSharedData
--{
-- public:
-- Private()
-- : flags( -1 ) {}
--
-- int flags;
-- QRectF geometry;
-- QString title;
-- QString summary;
-- QString text;
--};
--
--Annotation::Popup::Popup()
-- : d ( new Private )
--{
--}
--
--Annotation::Popup::Popup( const Popup &other )
-- : d( other.d )
--{
--}
--
--Annotation::Popup& Annotation::Popup::operator=( const Popup &other )
--{
-- if ( this != &other )
-- d = other.d;
--
-- return *this;
--}
--
--Annotation::Popup::~Popup()
--{
--}
--
--int Annotation::Popup::flags() const
--{
-- return d->flags;
--}
--
--void Annotation::Popup::setFlags( int flags )
--{
-- d->flags = flags;
--}
--
--QRectF Annotation::Popup::geometry() const
--{
-- return d->geometry;
--}
--
--void Annotation::Popup::setGeometry( const QRectF &geom )
--{
-- d->geometry = geom;
--}
--
--QString Annotation::Popup::title() const
--{
-- return d->title;
--}
--
--void Annotation::Popup::setTitle( const QString &title )
--{
-- d->title = title;
--}
--
--QString Annotation::Popup::summary() const
--{
-- return d->summary;
--}
--
--void Annotation::Popup::setSummary( const QString &summary )
--{
-- d->summary = summary;
--}
--
--QString Annotation::Popup::text() const
--{
-- return d->text;
--}
--
--void Annotation::Popup::setText( const QString &text )
--{
-- d->text = text;
--}
--
--Annotation::Annotation( AnnotationPrivate &dd )
-- : d_ptr( &dd )
--{
-- window.width = window.height = 0;
--}
--
--Annotation::~Annotation()
--{
--}
--
--Annotation::Annotation( AnnotationPrivate &dd, const QDomNode &annNode )
-- : d_ptr( &dd )
--{
-- Q_D( Annotation );
--
-- window.width = window.height = 0;
--
-- // get the [base] element of the annotation node
-- QDomElement e = AnnotationUtils::findChildElement( annNode, "base" );
-- if ( e.isNull() )
-- return;
--
-- Style s;
-- Popup w;
--
-- // parse -contents- attributes
-- if ( e.hasAttribute( "author" ) )
-- setAuthor(e.attribute( "author" ));
-- if ( e.hasAttribute( "contents" ) )
-- setContents(e.attribute( "contents" ));
-- if ( e.hasAttribute( "uniqueName" ) )
-- setUniqueName(e.attribute( "uniqueName" ));
-- if ( e.hasAttribute( "modifyDate" ) )
-- setModificationDate(QDateTime::fromString( e.attribute( "modifyDate" ) ));
-- if ( e.hasAttribute( "creationDate" ) )
-- setCreationDate(QDateTime::fromString( e.attribute( "creationDate" ) ));
--
-- // parse -other- attributes
-- if ( e.hasAttribute( "flags" ) )
-- setFlags(e.attribute( "flags" ).toInt());
-- if ( e.hasAttribute( "color" ) )
-- s.setColor(QColor( e.attribute( "color" ) ));
-- if ( e.hasAttribute( "opacity" ) )
-- s.setOpacity(e.attribute( "opacity" ).toDouble());
--
-- // parse -the-subnodes- (describing Style, Window, Revision(s) structures)
-- // Note: all subnodes if present must be 'attributes complete'
-- QDomNode eSubNode = e.firstChild();
-- while ( eSubNode.isElement() )
-- {
-- QDomElement ee = eSubNode.toElement();
-- eSubNode = eSubNode.nextSibling();
--
-- // parse boundary
-- if ( ee.tagName() == "boundary" )
-- {
-- QRectF brect;
-- brect.setLeft(ee.attribute( "l" ).toDouble());
-- brect.setTop(ee.attribute( "t" ).toDouble());
-- brect.setRight(ee.attribute( "r" ).toDouble());
-- brect.setBottom(ee.attribute( "b" ).toDouble());
-- setBoundary(brect);
-- }
-- // parse penStyle if not default
-- else if ( ee.tagName() == "penStyle" )
-- {
-- s.setWidth(ee.attribute( "width" ).toDouble());
-- s.setLineStyle((LineStyle)ee.attribute( "style" ).toInt());
-- s.setXCorners(ee.attribute( "xcr" ).toDouble());
-- s.setYCorners(ee.attribute( "ycr" ).toDouble());
--
-- // Try to parse dash array (new format)
-- QVector dashArray;
--
-- QDomNode eeSubNode = ee.firstChild();
-- while ( eeSubNode.isElement() )
-- {
-- QDomElement eee = eeSubNode.toElement();
-- eeSubNode = eeSubNode.nextSibling();
--
-- if ( eee.tagName() != "dashsegm" )
-- continue;
--
-- dashArray.append(eee.attribute( "len" ).toDouble());
-- }
--
-- // If no segments were found use marks/spaces (old format)
-- if ( dashArray.size() == 0 )
-- {
-- dashArray.append(ee.attribute( "marks" ).toDouble());
-- dashArray.append(ee.attribute( "spaces" ).toDouble());
-- }
--
-- s.setDashArray(dashArray);
-- }
-- // parse effectStyle if not default
-- else if ( ee.tagName() == "penEffect" )
-- {
-- s.setLineEffect((LineEffect)ee.attribute( "effect" ).toInt());
-- s.setEffectIntensity(ee.attribute( "intensity" ).toDouble());
-- }
-- // parse window if present
-- else if ( ee.tagName() == "window" )
-- {
-- QRectF geom;
-- geom.setX(ee.attribute( "top" ).toDouble());
-- geom.setY(ee.attribute( "left" ).toDouble());
--
-- if (ee.hasAttribute("widthDouble"))
-- geom.setWidth(ee.attribute( "widthDouble" ).toDouble());
-- else
-- geom.setWidth(ee.attribute( "width" ).toDouble());
--
-- if (ee.hasAttribute("widthDouble"))
-- geom.setHeight(ee.attribute( "heightDouble" ).toDouble());
-- else
-- geom.setHeight(ee.attribute( "height" ).toDouble());
--
-- w.setGeometry(geom);
--
-- w.setFlags(ee.attribute( "flags" ).toInt());
-- w.setTitle(ee.attribute( "title" ));
-- w.setSummary(ee.attribute( "summary" ));
-- // parse window subnodes
-- QDomNode winNode = ee.firstChild();
-- for ( ; winNode.isElement(); winNode = winNode.nextSibling() )
-- {
-- QDomElement winElement = winNode.toElement();
-- if ( winElement.tagName() == "text" )
-- w.setText(winElement.firstChild().toCDATASection().data());
-- }
-- }
-- }
--
-- setStyle(s); // assign parsed style
-- setPopup(w); // assign parsed window
--
-- // get the [revisions] element of the annotation node
-- QDomNode revNode = annNode.firstChild();
-- for ( ; revNode.isElement(); revNode = revNode.nextSibling() )
-- {
-- QDomElement revElement = revNode.toElement();
-- if ( revElement.tagName() != "revision" )
-- continue;
--
-- Annotation *reply = AnnotationUtils::createAnnotation( revElement );
--
-- if (reply) // if annotation is valid, add as a revision of this annotation
-- {
-- RevScope scope = (RevScope)revElement.attribute( "revScope" ).toInt();
-- RevType type = (RevType)revElement.attribute( "revType" ).toInt();
-- d->addRevision(reply, scope, type);
-- delete reply;
-- }
-- }
--}
--
--void Annotation::storeBaseAnnotationProperties( QDomNode & annNode, QDomDocument & document ) const
--{
-- // create [base] element of the annotation node
-- QDomElement e = document.createElement( "base" );
-- annNode.appendChild( e );
--
-- const Style s = style();
-- const Popup w = popup();
--
-- // store -contents- attributes
-- if ( !author().isEmpty() )
-- e.setAttribute( "author", author() );
-- if ( !contents().isEmpty() )
-- e.setAttribute( "contents", contents() );
-- if ( !uniqueName().isEmpty() )
-- e.setAttribute( "uniqueName", uniqueName() );
-- if ( modificationDate().isValid() )
-- e.setAttribute( "modifyDate", modificationDate().toString() );
-- if ( creationDate().isValid() )
-- e.setAttribute( "creationDate", creationDate().toString() );
--
-- // store -other- attributes
-- if ( flags() )
-- e.setAttribute( "flags", flags() );
-- if ( s.color().isValid() )
-- e.setAttribute( "color", s.color().name() );
-- if ( s.opacity() != 1.0 )
-- e.setAttribute( "opacity", QString::number( s.opacity() ) );
--
-- // Sub-Node-1 - boundary
-- const QRectF brect = boundary();
-- QDomElement bE = document.createElement( "boundary" );
-- e.appendChild( bE );
-- bE.setAttribute( "l", QString::number( (double)brect.left() ) );
-- bE.setAttribute( "t", QString::number( (double)brect.top() ) );
-- bE.setAttribute( "r", QString::number( (double)brect.right() ) );
-- bE.setAttribute( "b", QString::number( (double)brect.bottom() ) );
--
-- // Sub-Node-2 - penStyle
-- const QVector dashArray = s.dashArray();
-- if ( s.width() != 1 || s.lineStyle() != Solid || s.xCorners() != 0 ||
-- s.yCorners() != 0.0 || dashArray.size() != 1 || dashArray[0] != 3 )
-- {
-- QDomElement psE = document.createElement( "penStyle" );
-- e.appendChild( psE );
-- psE.setAttribute( "width", QString::number( s.width() ) );
-- psE.setAttribute( "style", (int)s.lineStyle() );
-- psE.setAttribute( "xcr", QString::number( s.xCorners() ) );
-- psE.setAttribute( "ycr", QString::number( s.yCorners() ) );
--
-- int marks = 3, spaces = 0; // Do not break code relying on marks/spaces
-- if (dashArray.size() != 0)
-- marks = (int)dashArray[0];
-- if (dashArray.size() > 1)
-- spaces = (int)dashArray[1];
--
-- psE.setAttribute( "marks", marks );
-- psE.setAttribute( "spaces", spaces );
--
-- foreach (double segm, dashArray)
-- {
-- QDomElement pattE = document.createElement( "dashsegm" );
-- pattE.setAttribute( "len", QString::number( segm ) );
-- psE.appendChild(pattE);
-- }
-- }
--
-- // Sub-Node-3 - penEffect
-- if ( s.lineEffect() != NoEffect || s.effectIntensity() != 1.0 )
-- {
-- QDomElement peE = document.createElement( "penEffect" );
-- e.appendChild( peE );
-- peE.setAttribute( "effect", (int)s.lineEffect() );
-- peE.setAttribute( "intensity", QString::number( s.effectIntensity() ) );
-- }
--
-- // Sub-Node-4 - window
-- if ( w.flags() != -1 || !w.title().isEmpty() || !w.summary().isEmpty() ||
-- !w.text().isEmpty() )
-- {
-- QDomElement wE = document.createElement( "window" );
-- const QRectF geom = w.geometry();
-- e.appendChild( wE );
-- wE.setAttribute( "flags", w.flags() );
-- wE.setAttribute( "top", QString::number( geom.x() ) );
-- wE.setAttribute( "left", QString::number( geom.y() ) );
-- wE.setAttribute( "width", (int)geom.width() );
-- wE.setAttribute( "height", (int)geom.height() );
-- wE.setAttribute( "widthDouble", QString::number( geom.width() ) );
-- wE.setAttribute( "heightDouble", QString::number( geom.height() ) );
-- wE.setAttribute( "title", w.title() );
-- wE.setAttribute( "summary", w.summary() );
-- // store window.text as a subnode, because we need escaped data
-- if ( !w.text().isEmpty() )
-- {
-- QDomElement escapedText = document.createElement( "text" );
-- wE.appendChild( escapedText );
-- QDomCDATASection textCData = document.createCDATASection( w.text() );
-- escapedText.appendChild( textCData );
-- }
-- }
--
-- const QList revs = revisions();
--
-- // create [revision] element of the annotation node (if any)
-- if ( revs.isEmpty() )
-- return;
--
-- // add all revisions as children of revisions element
-- foreach (const Annotation *rev, revs)
-- {
-- QDomElement r = document.createElement( "revision" );
-- annNode.appendChild( r );
-- // set element attributes
-- r.setAttribute( "revScope", (int)rev->revisionScope() );
-- r.setAttribute( "revType", (int)rev->revisionType() );
-- // use revision as the annotation element, so fill it up
-- AnnotationUtils::storeAnnotation( rev, r, document );
-- delete rev;
-- }
--}
--
--QString Annotation::author() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->author;
--
-- const AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- return markupann ? UnicodeParsedString( markupann->getLabel() ) : QString();
--}
--
--void Annotation::setAuthor( const QString &author )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->author = author;
-- return;
-- }
--
-- AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- if (markupann)
-- {
-- GooString *s = QStringToUnicodeGooString(author);
-- markupann->setLabel(s);
-- delete s;
-- }
--}
--
--QString Annotation::contents() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->contents;
--
-- return UnicodeParsedString( d->pdfAnnot->getContents() );
--}
--
--void Annotation::setContents( const QString &contents )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->contents = contents;
-- return;
-- }
--
-- GooString *s = QStringToUnicodeGooString(contents);
-- d->pdfAnnot->setContents(s);
-- delete s;
--}
--
--QString Annotation::uniqueName() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->uniqueName;
--
-- return UnicodeParsedString( d->pdfAnnot->getName() );
--}
--
--void Annotation::setUniqueName( const QString &uniqueName )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->uniqueName = uniqueName;
-- return;
-- }
--
-- QByteArray ascii = uniqueName.toAscii();
-- GooString s(ascii.constData());
-- d->pdfAnnot->setName(&s);
--}
--
--QDateTime Annotation::modificationDate() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->modDate;
--
-- if ( d->pdfAnnot->getModified() )
-- return convertDate( d->pdfAnnot->getModified()->getCString() );
-- else
-- return QDateTime();
--}
--
--void Annotation::setModificationDate( const QDateTime &date )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->modDate = date;
-- return;
-- }
--
--#if 0 // TODO: Conversion routine is broken
-- if (d->pdfAnnot)
-- {
-- time_t t = date.toTime_t();
-- GooString *s = timeToDateString(&t);
-- d->pdfAnnot->setModified(s);
-- delete s;
-- }
--#endif
--}
--
--QDateTime Annotation::creationDate() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->creationDate;
--
-- const AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
--
-- if (markupann && markupann->getDate())
-- return convertDate( markupann->getDate()->getCString() );
--
-- return modificationDate();
--}
--
--void Annotation::setCreationDate( const QDateTime &date )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->creationDate = date;
-- return;
-- }
--
--#if 0 // TODO: Conversion routine is broken
-- AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- if (markupann)
-- {
-- time_t t = date.toTime_t();
-- GooString *s = timeToDateString(&t);
-- markupann->setDate(s);
-- delete s;
-- }
--#endif
--}
--
--static int fromPdfFlags(int flags)
--{
-- int qtflags = 0;
--
-- if ( flags & Annot::flagHidden )
-- qtflags |= Annotation::Hidden;
-- if ( flags & Annot::flagNoZoom )
-- qtflags |= Annotation::FixedSize;
-- if ( flags & Annot::flagNoRotate )
-- qtflags |= Annotation::FixedRotation;
-- if ( !( flags & Annot::flagPrint ) )
-- qtflags |= Annotation::DenyPrint;
-- if ( flags & Annot::flagReadOnly )
-- qtflags |= (Annotation::DenyWrite | Annotation::DenyDelete);
-- if ( flags & Annot::flagLocked )
-- qtflags |= Annotation::DenyDelete;
-- if ( flags & Annot::flagToggleNoView )
-- qtflags |= Annotation::ToggleHidingOnMouse;
--
-- return qtflags;
--}
--
--static int toPdfFlags(int qtflags)
--{
-- int flags = 0;
--
-- if ( qtflags & Annotation::Hidden )
-- flags |= Annot::flagHidden;
-- if ( qtflags & Annotation::FixedSize )
-- flags |= Annot::flagNoZoom;
-- if ( qtflags & Annotation::FixedRotation )
-- flags |= Annot::flagNoRotate;
-- if ( !( qtflags & Annotation::DenyPrint ) )
-- flags |= Annot::flagPrint;
-- if ( qtflags & Annotation::DenyWrite )
-- flags |= Annot::flagReadOnly;
-- if ( qtflags & Annotation::DenyDelete )
-- flags |= Annot::flagLocked;
-- if ( qtflags & Annotation::ToggleHidingOnMouse )
-- flags |= Annot::flagToggleNoView;
--
-- return flags;
--}
--
--int Annotation::flags() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->flags;
--
-- return fromPdfFlags( d->pdfAnnot->getFlags() );
--}
--
--void Annotation::setFlags( int flags )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->flags = flags;
-- return;
-- }
--
-- d->pdfAnnot->setFlags(toPdfFlags( flags ));
--}
--
--QRectF Annotation::boundary() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->boundary;
--
-- const PDFRectangle * rect = d->pdfAnnot->getRect();
-- return d->fromPdfRectangle( *rect );
--}
--
--void Annotation::setBoundary( const QRectF &boundary )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->boundary = boundary;
-- return;
-- }
--
-- PDFRectangle rect = d->boundaryToPdfRectangle( boundary, flags() );
-- d->pdfAnnot->setRect(&rect);
--}
--
--Annotation::Style Annotation::style() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->style;
--
-- Style s;
-- s.setColor(convertAnnotColor( d->pdfAnnot->getColor() ));
--
-- const AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- if (markupann)
-- s.setOpacity( markupann->getOpacity() );
--
-- const AnnotBorder *border = d->pdfAnnot->getBorder();
-- if (border)
-- {
-- if ( border->getType() == AnnotBorder::typeArray )
-- {
-- const AnnotBorderArray *border_array = static_cast(border);
-- s.setXCorners( border_array->getHorizontalCorner() );
-- s.setYCorners( border_array->getVerticalCorner() );
-- }
--
-- s.setWidth( border->getWidth() );
-- s.setLineStyle((Annotation::LineStyle)( 1 << border->getStyle() ));
--
-- const int dashArrLen = border->getDashLength();
-- const double* dashArrData = border->getDash();
-- QVector dashArrVect( dashArrLen );
-- for (int i = 0; i < dashArrLen; ++i)
-- dashArrVect[i] = dashArrData[i];
-- s.setDashArray(dashArrVect);
-- }
--
-- AnnotBorderEffect *border_effect;
-- switch (d->pdfAnnot->getType())
-- {
-- case Annot::typeFreeText:
-- border_effect = static_cast(d->pdfAnnot)->getBorderEffect();
-- break;
-- case Annot::typeSquare:
-- case Annot::typeCircle:
-- border_effect = static_cast(d->pdfAnnot)->getBorderEffect();
-- break;
-- default:
-- border_effect = 0;
-- }
-- if (border_effect)
-- {
-- s.setLineEffect( (Annotation::LineEffect)border_effect->getEffectType() );
-- s.setEffectIntensity( border_effect->getIntensity() );
-- }
--
-- return s;
--}
--
--void Annotation::setStyle( const Annotation::Style& style )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->style = style;
-- return;
-- }
--
-- d->pdfAnnot->setColor(convertQColor( style.color() ));
--
-- AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- if (markupann)
-- markupann->setOpacity( style.opacity() );
--
-- AnnotBorderArray * border = new AnnotBorderArray();
-- border->setWidth( style.width() );
-- border->setHorizontalCorner( style.xCorners() );
-- border->setVerticalCorner( style.yCorners() );
-- d->pdfAnnot->setBorder(border);
--}
--
--Annotation::Popup Annotation::popup() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->popup;
--
-- Popup w;
-- AnnotPopup *popup = 0;
-- int flags = -1; // Not initialized
--
-- const AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- if (markupann)
-- {
-- popup = markupann->getPopup();
-- w.setSummary(UnicodeParsedString( markupann->getSubject() ));
-- }
--
-- if (popup)
-- {
-- flags = fromPdfFlags( popup->getFlags() ) & ( Annotation::Hidden |
-- Annotation::FixedSize | Annotation::FixedRotation );
--
-- if (!popup->getOpen())
-- flags |= Annotation::Hidden;
--
-- const PDFRectangle * rect = popup->getRect();
-- w.setGeometry( d->fromPdfRectangle( *rect ) );
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeText)
-- {
-- const AnnotText * textann = static_cast(d->pdfAnnot);
--
-- // Text annotations default to same rect as annotation
-- if (flags == -1)
-- {
-- flags = 0;
-- w.setGeometry( boundary() );
-- }
--
-- // If text is not 'opened', force window hiding. if the window
-- // was parsed from popup, the flag should already be set
-- if ( !textann->getOpen() && flags != -1 )
-- flags |= Annotation::Hidden;
-- }
--
-- w.setFlags(flags);
--
-- return w;
--}
--
--void Annotation::setPopup( const Annotation::Popup& popup )
--{
-- Q_D( Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->popup = popup;
-- return;
-- }
--
--#if 0 /* TODO: Remove old popup and add AnnotPopup to page */
-- AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
-- if (!markupann)
-- return;
--
-- // Create a new AnnotPopup and assign it to pdfAnnot
-- PDFRectangle rect = d->toPdfRectangle( popup.geometry() );
-- AnnotPopup * p = new AnnotPopup( d->pdfPage->getDoc(), &rect );
-- p->setOpen( !(popup.flags() & Annotation::Hidden) );
-- if (!popup.summary().isEmpty())
-- {
-- GooString *s = QStringToUnicodeGooString(popup.summary());
-- markupann->setLabel(s);
-- delete s;
-- }
-- markupann->setPopup(p);
--#endif
--}
--
--Annotation::RevScope Annotation::revisionScope() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->revisionScope;
--
-- const AnnotMarkup *markupann = dynamic_cast(d->pdfAnnot);
--
-- if (markupann && markupann->getInReplyToID() != 0)
-- {
-- switch (markupann->getReplyTo())
-- {
-- case AnnotMarkup::replyTypeR:
-- return Annotation::Reply;
-- case AnnotMarkup::replyTypeGroup:
-- return Annotation::Group;
-- }
-- }
--
-- return Annotation::Root; // It's not a revision
--}
--
--Annotation::RevType Annotation::revisionType() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- return d->revisionType;
--
-- const AnnotText *textann = dynamic_cast(d->pdfAnnot);
--
-- if (textann && textann->getInReplyToID() != 0)
-- {
-- switch (textann->getState())
-- {
-- case AnnotText::stateMarked:
-- return Annotation::Marked;
-- case AnnotText::stateUnmarked:
-- return Annotation::Unmarked;
-- case AnnotText::stateAccepted:
-- return Annotation::Accepted;
-- case AnnotText::stateRejected:
-- return Annotation::Rejected;
-- case AnnotText::stateCancelled:
-- return Annotation::Cancelled;
-- case AnnotText::stateCompleted:
-- return Annotation::Completed;
-- default:
-- break;
-- }
-- }
--
-- return Annotation::None;
--}
--
--QList Annotation::revisions() const
--{
-- Q_D( const Annotation );
--
-- if (!d->pdfAnnot)
-- {
-- /* Return aliases, whose ownership goes to the caller */
-- QList res;
-- foreach (Annotation *rev, d->revisions)
-- res.append( rev->d_ptr->makeAlias() );
-- return res;
-- }
--
-- /* If the annotation doesn't live in a object on its own (eg bug51361), it
-- * has no ref, therefore it can't have revisions */
-- if ( !d->pdfAnnot->getHasRef() )
-- return QList();
--
-- return AnnotationPrivate::findAnnotations( d->pdfPage, d->parentDoc, QSet(), d->pdfAnnot->getId() );
--}
--
--//END Annotation implementation
--
--
--/** TextAnnotation [Annotation] */
--class TextAnnotationPrivate : public AnnotationPrivate
--{
-- public:
-- TextAnnotationPrivate();
-- Annotation * makeAlias();
-- Annot* createNativeAnnot(::Page *destPage, DocumentData *doc);
--
-- // data fields
-- TextAnnotation::TextType textType;
-- QString textIcon;
-- QFont textFont;
-- int inplaceAlign; // 0:left, 1:center, 2:right
-- QVector inplaceCallout;
-- TextAnnotation::InplaceIntent inplaceIntent;
--
-- // Helper
-- static GooString * toAppearanceString(const QFont &font);
--};
--
--TextAnnotationPrivate::TextAnnotationPrivate()
-- : AnnotationPrivate(), textType( TextAnnotation::Linked ),
-- textIcon( "Note" ), inplaceAlign( 0 ),
-- inplaceIntent( TextAnnotation::Unknown )
--{
--}
--
--Annotation * TextAnnotationPrivate::makeAlias()
--{
-- return new TextAnnotation(*this);
--}
--
--GooString * TextAnnotationPrivate::toAppearanceString(const QFont &font)
--{
-- GooString * s = GooString::format("/Invalid_font {0:d} Tf", font.pointSize());
-- // TODO: Font family, style (bold, italic, ...) and pointSize as float
-- return s;
--}
--
--Annot* TextAnnotationPrivate::createNativeAnnot(::Page *destPage, DocumentData *doc)
--{
-- // Setters are defined in the public class
-- TextAnnotation *q = static_cast( makeAlias() );
--
-- // Set page and contents
-- pdfPage = destPage;
-- parentDoc = doc;
--
-- // Set pdfAnnot
-- PDFRectangle rect = boundaryToPdfRectangle(boundary, flags);
-- if (textType == TextAnnotation::Linked)
-- {
-- pdfAnnot = new AnnotText(destPage->getDoc(), &rect);
-- }
-- else
-- {
-- GooString * da = toAppearanceString(textFont);
-- pdfAnnot = new AnnotFreeText(destPage->getDoc(), &rect, da);
-- delete da;
-- }
--
-- // Set properties
-- flushBaseAnnotationProperties();
-- q->setTextIcon(textIcon);
-- q->setInplaceAlign(inplaceAlign);
-- q->setCalloutPoints(inplaceCallout);
-- q->setInplaceIntent(inplaceIntent);
--
-- delete q;
--
-- inplaceCallout.clear(); // Free up memory
--
-- return pdfAnnot;
--}
--
--TextAnnotation::TextAnnotation( TextAnnotation::TextType type )
-- : Annotation( *new TextAnnotationPrivate() )
--{
-- setTextType( type );
--}
--
--TextAnnotation::TextAnnotation(TextAnnotationPrivate &dd)
-- : Annotation( dd )
--{}
--
--TextAnnotation::TextAnnotation( const QDomNode & node )
-- : Annotation( *new TextAnnotationPrivate, node )
--{
-- // loop through the whole children looking for a 'text' element
-- QDomNode subNode = node.firstChild();
-- while( subNode.isElement() )
-- {
-- QDomElement e = subNode.toElement();
-- subNode = subNode.nextSibling();
-- if ( e.tagName() != "text" )
-- continue;
--
-- // parse the attributes
-- if ( e.hasAttribute( "type" ) )
-- setTextType((TextAnnotation::TextType)e.attribute( "type" ).toInt());
-- if ( e.hasAttribute( "icon" ) )
-- setTextIcon(e.attribute( "icon" ));
-- if ( e.hasAttribute( "font" ) )
-- {
-- QFont font;
-- font.fromString( e.attribute( "font" ) );
-- setTextFont(font);
-- }
-- if ( e.hasAttribute( "align" ) )
-- setInplaceAlign(e.attribute( "align" ).toInt());
-- if ( e.hasAttribute( "intent" ) )
-- setInplaceIntent((TextAnnotation::InplaceIntent)e.attribute( "intent" ).toInt());
--
-- // parse the subnodes
-- QDomNode eSubNode = e.firstChild();
-- while ( eSubNode.isElement() )
-- {
-- QDomElement ee = eSubNode.toElement();
-- eSubNode = eSubNode.nextSibling();
--
-- if ( ee.tagName() == "escapedText" )
-- {
-- setInplaceText(ee.firstChild().toCDATASection().data());
-- }
-- else if ( ee.tagName() == "callout" )
-- {
-- QVector points(3);
-- points[0] = QPointF(ee.attribute( "ax" ).toDouble(),
-- ee.attribute( "ay" ).toDouble());
-- points[1] = QPointF(ee.attribute( "bx" ).toDouble(),
-- ee.attribute( "by" ).toDouble());
-- points[2] = QPointF(ee.attribute( "cx" ).toDouble(),
-- ee.attribute( "cy" ).toDouble());
-- setCalloutPoints(points);
-- }
-- }
--
-- // loading complete
-- break;
-- }
--}
--
--TextAnnotation::~TextAnnotation()
--{
--}
--
--void TextAnnotation::store( QDomNode & node, QDomDocument & document ) const
--{
-- // store base annotation properties
-- storeBaseAnnotationProperties( node, document );
--
-- // create [text] element
-- QDomElement textElement = document.createElement( "text" );
-- node.appendChild( textElement );
--
-- // store the optional attributes
-- if ( textType() != Linked )
-- textElement.setAttribute( "type", (int)textType() );
-- if ( textIcon() != "Note" )
-- textElement.setAttribute( "icon", textIcon() );
-- if ( inplaceAlign() )
-- textElement.setAttribute( "align", inplaceAlign() );
-- if ( inplaceIntent() != Unknown )
-- textElement.setAttribute( "intent", (int)inplaceIntent() );
--
-- textElement.setAttribute( "font", textFont().toString() );
--
-- // Sub-Node-1 - escapedText
-- if ( !inplaceText().isEmpty() )
-- {
-- QDomElement escapedText = document.createElement( "escapedText" );
-- textElement.appendChild( escapedText );
-- QDomCDATASection textCData = document.createCDATASection( inplaceText() );
-- escapedText.appendChild( textCData );
-- }
--
-- // Sub-Node-2 - callout
-- if ( calloutPoint(0).x() != 0.0 )
-- {
-- QDomElement calloutElement = document.createElement( "callout" );
-- textElement.appendChild( calloutElement );
-- calloutElement.setAttribute( "ax", QString::number( calloutPoint(0).x() ) );
-- calloutElement.setAttribute( "ay", QString::number( calloutPoint(0).y() ) );
-- calloutElement.setAttribute( "bx", QString::number( calloutPoint(1).x() ) );
-- calloutElement.setAttribute( "by", QString::number( calloutPoint(1).y() ) );
-- calloutElement.setAttribute( "cx", QString::number( calloutPoint(2).x() ) );
-- calloutElement.setAttribute( "cy", QString::number( calloutPoint(2).y() ) );
-- }
--}
--
--Annotation::SubType TextAnnotation::subType() const
--{
-- return AText;
--}
--
--TextAnnotation::TextType TextAnnotation::textType() const
--{
-- Q_D( const TextAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->textType;
--
-- return d->pdfAnnot->getType() == Annot::typeText ?
-- TextAnnotation::Linked : TextAnnotation::InPlace;
--}
--
--void TextAnnotation::setTextType( TextAnnotation::TextType type )
--{
-- Q_D( TextAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->textType = type;
-- return;
-- }
--
-- // Type cannot be changed if annotation is already tied
--}
--
--QString TextAnnotation::textIcon() const
--{
-- Q_D( const TextAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->textIcon;
--
-- if (d->pdfAnnot->getType() == Annot::typeText)
-- {
-- const AnnotText * textann = static_cast(d->pdfAnnot);
-- return QString::fromLatin1( textann->getIcon()->getCString() );
-- }
--
-- return QString();
--}
--
--void TextAnnotation::setTextIcon( const QString &icon )
--{
-- Q_D( TextAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->textIcon = icon;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeText)
-- {
-- AnnotText * textann = static_cast(d->pdfAnnot);
-- QByteArray encoded = icon.toLatin1();
-- GooString s(encoded.constData());
-- textann->setIcon(&s);
-- }
--}
--
--QFont TextAnnotation::textFont() const
--{
-- Q_D( const TextAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->textFont;
--
-- QFont font;
--
-- if (d->pdfAnnot->getType() == Annot::typeFreeText)
-- {
-- const AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- const GooString * da = ftextann->getAppearanceString();
-- if (da)
-- {
-- // At the moment, only font size is parsed
-- QString style = QString::fromLatin1( da->getCString() );
-- QRegExp rx("(\\d+)(\\.\\d*)? Tf");
-- if (rx.indexIn(style) != -1)
-- font.setPointSize( rx.cap(1).toInt() );
-- // TODO: Other properties
-- }
-- }
--
-- return font;
--}
--
--void TextAnnotation::setTextFont( const QFont &font )
--{
-- Q_D( TextAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->textFont = font;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() != Annot::typeFreeText)
-- return;
--
-- AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- GooString * da = TextAnnotationPrivate::toAppearanceString(font);
-- ftextann->setAppearanceString(da);
-- delete da;
--}
--
--int TextAnnotation::inplaceAlign() const
--{
-- Q_D( const TextAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->inplaceAlign;
--
-- if (d->pdfAnnot->getType() == Annot::typeFreeText)
-- {
-- const AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- return ftextann->getQuadding();
-- }
--
-- return 0;
--}
--
--void TextAnnotation::setInplaceAlign( int align )
--{
-- Q_D( TextAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->inplaceAlign = align;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeFreeText)
-- {
-- AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- ftextann->setQuadding((AnnotFreeText::AnnotFreeTextQuadding)align);
-- }
--}
--
--QString TextAnnotation::inplaceText() const
--{
-- return contents();
--}
--
--void TextAnnotation::setInplaceText( const QString &text )
--{
-- setContents(text);
--}
--
--QPointF TextAnnotation::calloutPoint( int id ) const
--{
-- const QVector points = calloutPoints();
-- if ( id < 0 || id >= points.size() )
-- return QPointF();
-- else
-- return points[id];
--}
--
--QVector TextAnnotation::calloutPoints() const
--{
-- Q_D( const TextAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->inplaceCallout;
--
-- if (d->pdfAnnot->getType() == Annot::typeText)
-- return QVector();
--
-- const AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- const AnnotCalloutLine *callout = ftextann->getCalloutLine();
--
-- if (!callout)
-- return QVector();
--
-- double MTX[6];
-- d->fillTransformationMTX(MTX);
--
-- const AnnotCalloutMultiLine * callout_v6 = dynamic_cast(callout);
-- QVector res(callout_v6 ? 3 : 2);
-- XPDFReader::transform(MTX, callout->getX1(), callout->getY1(), res[0]);
-- XPDFReader::transform(MTX, callout->getX2(), callout->getY2(), res[1]);
-- if (callout_v6)
-- XPDFReader::transform(MTX, callout_v6->getX3(), callout_v6->getY3(), res[2]);
-- return res;
--}
--
--void TextAnnotation::setCalloutPoints( const QVector &points )
--{
-- Q_D( TextAnnotation );
-- if (!d->pdfAnnot)
-- {
-- d->inplaceCallout = points;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() != Annot::typeFreeText)
-- return;
--
-- AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- const int count = points.size();
--
-- if (count == 0)
-- {
-- ftextann->setCalloutLine(0);
-- return;
-- }
--
-- if (count != 2 && count != 3)
-- {
-- error(errSyntaxError, -1, "Expected zero, two or three points for callout");
-- return;
-- }
--
-- AnnotCalloutLine *callout;
-- double x1, y1, x2, y2;
-- double MTX[6];
-- d->fillTransformationMTX(MTX);
--
-- XPDFReader::invTransform( MTX, points[0], x1, y1 );
-- XPDFReader::invTransform( MTX, points[1], x2, y2 );
-- if (count == 3)
-- {
-- double x3, y3;
-- XPDFReader::invTransform( MTX, points[2], x3, y3 );
-- callout = new AnnotCalloutMultiLine(x1, y1, x2, y2, x3, y3);
-- }
-- else
-- {
-- callout = new AnnotCalloutLine(x1, y1, x2, y2);
-- }
--
-- ftextann->setCalloutLine(callout);
-- delete callout;
--}
--
--TextAnnotation::InplaceIntent TextAnnotation::inplaceIntent() const
--{
-- Q_D( const TextAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->inplaceIntent;
--
-- if (d->pdfAnnot->getType() == Annot::typeFreeText)
-- {
-- const AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- return (TextAnnotation::InplaceIntent)ftextann->getIntent();
-- }
--
-- return TextAnnotation::Unknown;
--}
--
--void TextAnnotation::setInplaceIntent( TextAnnotation::InplaceIntent intent )
--{
-- Q_D( TextAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->inplaceIntent = intent;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeFreeText)
-- {
-- AnnotFreeText * ftextann = static_cast(d->pdfAnnot);
-- ftextann->setIntent((AnnotFreeText::AnnotFreeTextIntent)intent);
-- }
--}
--
--
--/** LineAnnotation [Annotation] */
--class LineAnnotationPrivate : public AnnotationPrivate
--{
-- public:
-- LineAnnotationPrivate();
-- Annotation * makeAlias();
-- Annot* createNativeAnnot(::Page *destPage, DocumentData *doc);
--
-- // data fields (note uses border for rendering style)
-- QLinkedList linePoints;
-- LineAnnotation::TermStyle lineStartStyle;
-- LineAnnotation::TermStyle lineEndStyle;
-- bool lineClosed : 1; // (if true draw close shape)
-- bool lineShowCaption : 1;
-- LineAnnotation::LineType lineType;
-- QColor lineInnerColor;
-- double lineLeadingFwdPt;
-- double lineLeadingBackPt;
-- LineAnnotation::LineIntent lineIntent;
--};
--
--LineAnnotationPrivate::LineAnnotationPrivate()
-- : AnnotationPrivate(), lineStartStyle( LineAnnotation::None ),
-- lineEndStyle( LineAnnotation::None ), lineClosed( false ),
-- lineShowCaption( false ), lineLeadingFwdPt( 0 ),
-- lineLeadingBackPt( 0 ), lineIntent( LineAnnotation::Unknown )
--{
--}
--
--Annotation * LineAnnotationPrivate::makeAlias()
--{
-- return new LineAnnotation(*this);
--}
--
--Annot* LineAnnotationPrivate::createNativeAnnot(::Page *destPage, DocumentData *doc)
--{
-- // Setters are defined in the public class
-- LineAnnotation *q = static_cast( makeAlias() );
--
-- // Set page and document
-- pdfPage = destPage;
-- parentDoc = doc;
--
-- // Set pdfAnnot
-- PDFRectangle rect = boundaryToPdfRectangle(boundary, flags);
-- if (lineType == LineAnnotation::StraightLine)
-- {
-- pdfAnnot = new AnnotLine(doc->doc, &rect);
-- }
-- else
-- {
-- pdfAnnot = new AnnotPolygon(doc->doc, &rect,
-- lineClosed ? Annot::typePolygon : Annot::typePolyLine );
-- }
--
-- // Set properties
-- flushBaseAnnotationProperties();
-- q->setLinePoints(linePoints);
-- q->setLineStartStyle(lineStartStyle);
-- q->setLineEndStyle(lineEndStyle);
-- q->setLineInnerColor(lineInnerColor);
-- q->setLineLeadingForwardPoint(lineLeadingFwdPt);
-- q->setLineLeadingBackPoint(lineLeadingBackPt);
-- q->setLineShowCaption(lineShowCaption);
-- q->setLineIntent(lineIntent);
--
-- delete q;
--
-- linePoints.clear(); // Free up memory
--
-- return pdfAnnot;
--}
--
--LineAnnotation::LineAnnotation( LineAnnotation::LineType type )
-- : Annotation( *new LineAnnotationPrivate() )
--{
-- setLineType(type);
--}
--
--LineAnnotation::LineAnnotation(LineAnnotationPrivate &dd)
-- : Annotation( dd )
--{}
--
--LineAnnotation::LineAnnotation( const QDomNode & node )
-- : Annotation( *new LineAnnotationPrivate(), node )
--{
-- // loop through the whole children looking for a 'line' element
-- QDomNode subNode = node.firstChild();
-- while( subNode.isElement() )
-- {
-- QDomElement e = subNode.toElement();
-- subNode = subNode.nextSibling();
-- if ( e.tagName() != "line" )
-- continue;
--
-- // parse the attributes
-- if ( e.hasAttribute( "startStyle" ) )
-- setLineStartStyle((LineAnnotation::TermStyle)e.attribute( "startStyle" ).toInt());
-- if ( e.hasAttribute( "endStyle" ) )
-- setLineEndStyle((LineAnnotation::TermStyle)e.attribute( "endStyle" ).toInt());
-- if ( e.hasAttribute( "closed" ) )
-- setLineClosed(e.attribute( "closed" ).toInt());
-- if ( e.hasAttribute( "innerColor" ) )
-- setLineInnerColor(QColor( e.attribute( "innerColor" ) ));
-- if ( e.hasAttribute( "leadFwd" ) )
-- setLineLeadingForwardPoint(e.attribute( "leadFwd" ).toDouble());
-- if ( e.hasAttribute( "leadBack" ) )
-- setLineLeadingBackPoint(e.attribute( "leadBack" ).toDouble());
-- if ( e.hasAttribute( "showCaption" ) )
-- setLineShowCaption(e.attribute( "showCaption" ).toInt());
-- if ( e.hasAttribute( "intent" ) )
-- setLineIntent((LineAnnotation::LineIntent)e.attribute( "intent" ).toInt());
--
-- // parse all 'point' subnodes
-- QLinkedList points;
-- QDomNode pointNode = e.firstChild();
-- while ( pointNode.isElement() )
-- {
-- QDomElement pe = pointNode.toElement();
-- pointNode = pointNode.nextSibling();
--
-- if ( pe.tagName() != "point" )
-- continue;
--
-- QPointF p(pe.attribute( "x", "0.0" ).toDouble(), pe.attribute( "y", "0.0" ).toDouble());
-- points.append( p );
-- }
-- setLinePoints(points);
-- setLineType(points.size() == 2 ? StraightLine : Polyline);
--
-- // loading complete
-- break;
-- }
--}
--
--LineAnnotation::~LineAnnotation()
--{
--}
--
--void LineAnnotation::store( QDomNode & node, QDomDocument & document ) const
--{
-- // store base annotation properties
-- storeBaseAnnotationProperties( node, document );
--
-- // create [line] element
-- QDomElement lineElement = document.createElement( "line" );
-- node.appendChild( lineElement );
--
-- // store the attributes
-- if ( lineStartStyle() != None )
-- lineElement.setAttribute( "startStyle", (int)lineStartStyle() );
-- if ( lineEndStyle() != None )
-- lineElement.setAttribute( "endStyle", (int)lineEndStyle() );
-- if ( isLineClosed() )
-- lineElement.setAttribute( "closed", isLineClosed() );
-- if ( lineInnerColor().isValid() )
-- lineElement.setAttribute( "innerColor", lineInnerColor().name() );
-- if ( lineLeadingForwardPoint() != 0.0 )
-- lineElement.setAttribute( "leadFwd", QString::number( lineLeadingForwardPoint() ) );
-- if ( lineLeadingBackPoint() != 0.0 )
-- lineElement.setAttribute( "leadBack", QString::number( lineLeadingBackPoint() ) );
-- if ( lineShowCaption() )
-- lineElement.setAttribute( "showCaption", lineShowCaption() );
-- if ( lineIntent() != Unknown )
-- lineElement.setAttribute( "intent", lineIntent() );
--
-- // append the list of points
-- const QLinkedList points = linePoints();
-- if ( points.count() > 1 )
-- {
-- QLinkedList::const_iterator it = points.begin(), end = points.end();
-- while ( it != end )
-- {
-- const QPointF & p = *it;
-- QDomElement pElement = document.createElement( "point" );
-- lineElement.appendChild( pElement );
-- pElement.setAttribute( "x", QString::number( p.x() ) );
-- pElement.setAttribute( "y", QString::number( p.y() ) );
-- ++it;
-- }
-- }
--}
--
--Annotation::SubType LineAnnotation::subType() const
--{
-- return ALine;
--}
--
--LineAnnotation::LineType LineAnnotation::lineType() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineType;
--
-- return (d->pdfAnnot->getType() == Annot::typeLine) ?
-- LineAnnotation::StraightLine : LineAnnotation::Polyline;
--}
--
--void LineAnnotation::setLineType( LineAnnotation::LineType type )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineType = type;
-- return;
-- }
--
-- // Type cannot be changed if annotation is already tied
--}
--
--QLinkedList LineAnnotation::linePoints() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->linePoints;
--
-- double MTX[6];
-- d->fillTransformationMTX(MTX);
--
-- QLinkedList res;
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- QPointF p;
-- XPDFReader::transform(MTX, lineann->getX1(), lineann->getY1(), p);
-- res.append(p);
-- XPDFReader::transform(MTX, lineann->getX2(), lineann->getY2(), p);
-- res.append(p);
-- }
-- else
-- {
-- const AnnotPolygon * polyann = static_cast(d->pdfAnnot);
-- const AnnotPath * vertices = polyann->getVertices();
--
-- for (int i = 0; i < vertices->getCoordsLength(); ++i)
-- {
-- QPointF p;
-- XPDFReader::transform(MTX, vertices->getX(i), vertices->getY(i), p);
-- res.append(p);
-- }
-- }
--
-- return res;
--}
--
--void LineAnnotation::setLinePoints( const QLinkedList &points )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->linePoints = points;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- if (points.size() != 2)
-- {
-- error(errSyntaxError, -1, "Expected two points for a straight line");
-- return;
-- }
-- double x1, y1, x2, y2;
-- double MTX[6];
-- d->fillTransformationMTX(MTX);
-- XPDFReader::invTransform( MTX, points.first(), x1, y1 );
-- XPDFReader::invTransform( MTX, points.last(), x2, y2 );
-- lineann->setVertices(x1, y1, x2, y2);
-- }
-- else
-- {
-- AnnotPolygon *polyann = static_cast(d->pdfAnnot);
-- AnnotPath * p = d->toAnnotPath(points);
-- polyann->setVertices(p);
-- delete p;
-- }
--}
--
--LineAnnotation::TermStyle LineAnnotation::lineStartStyle() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineStartStyle;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- return (LineAnnotation::TermStyle)lineann->getStartStyle();
-- }
-- else
-- {
-- const AnnotPolygon * polyann = static_cast(d->pdfAnnot);
-- return (LineAnnotation::TermStyle)polyann->getStartStyle();
-- }
--}
--
--void LineAnnotation::setLineStartStyle( LineAnnotation::TermStyle style )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineStartStyle = style;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- lineann->setStartEndStyle((AnnotLineEndingStyle)style, lineann->getEndStyle());
-- }
-- else
-- {
-- AnnotPolygon *polyann = static_cast(d->pdfAnnot);
-- polyann->setStartEndStyle((AnnotLineEndingStyle)style, polyann->getEndStyle());
-- }
--}
--
--LineAnnotation::TermStyle LineAnnotation::lineEndStyle() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineEndStyle;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- return (LineAnnotation::TermStyle)lineann->getEndStyle();
-- }
-- else
-- {
-- const AnnotPolygon * polyann = static_cast(d->pdfAnnot);
-- return (LineAnnotation::TermStyle)polyann->getEndStyle();
-- }
--}
--
--void LineAnnotation::setLineEndStyle( LineAnnotation::TermStyle style )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineEndStyle = style;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- lineann->setStartEndStyle(lineann->getStartStyle(), (AnnotLineEndingStyle)style);
-- }
-- else
-- {
-- AnnotPolygon *polyann = static_cast(d->pdfAnnot);
-- polyann->setStartEndStyle(polyann->getStartStyle(), (AnnotLineEndingStyle)style);
-- }
--}
--
--bool LineAnnotation::isLineClosed() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineClosed;
--
-- return d->pdfAnnot->getType() == Annot::typePolygon;
--}
--
--void LineAnnotation::setLineClosed( bool closed )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineClosed = closed;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() != Annot::typeLine)
-- {
-- AnnotPolygon *polyann = static_cast(d->pdfAnnot);
--
-- // Set new subtype and switch intent if necessary
-- if (closed)
-- {
-- polyann->setType(Annot::typePolygon);
-- if (polyann->getIntent() == AnnotPolygon::polylineDimension)
-- polyann->setIntent( AnnotPolygon::polygonDimension );
-- }
-- else
-- {
-- polyann->setType(Annot::typePolyLine);
-- if (polyann->getIntent() == AnnotPolygon::polygonDimension)
-- polyann->setIntent( AnnotPolygon::polylineDimension );
-- }
-- }
--}
--
--QColor LineAnnotation::lineInnerColor() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineInnerColor;
--
-- AnnotColor * c;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- c = lineann->getInteriorColor();
-- }
-- else
-- {
-- const AnnotPolygon * polyann = static_cast(d->pdfAnnot);
-- c = polyann->getInteriorColor();
-- }
--
-- return convertAnnotColor(c);
--}
--
--void LineAnnotation::setLineInnerColor( const QColor &color )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineInnerColor = color;
-- return;
-- }
--
-- AnnotColor * c = convertQColor(color);
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- lineann->setInteriorColor(c);
-- }
-- else
-- {
-- AnnotPolygon *polyann = static_cast(d->pdfAnnot);
-- polyann->setInteriorColor(c);
-- }
--}
--
--double LineAnnotation::lineLeadingForwardPoint() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineLeadingFwdPt;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- return lineann->getLeaderLineLength();
-- }
--
-- return 0;
--}
--
--void LineAnnotation::setLineLeadingForwardPoint( double point )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineLeadingFwdPt = point;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- lineann->setLeaderLineLength(point);
-- }
--}
--
--double LineAnnotation::lineLeadingBackPoint() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineLeadingBackPt;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- return lineann->getLeaderLineExtension();
-- }
--
-- return 0;
--}
--
--void LineAnnotation::setLineLeadingBackPoint( double point )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineLeadingBackPt = point;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- lineann->setLeaderLineExtension(point);
-- }
--}
--
--bool LineAnnotation::lineShowCaption() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineShowCaption;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- return lineann->getCaption();
-- }
--
-- return false;
--}
--
--void LineAnnotation::setLineShowCaption( bool show )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineShowCaption = show;
-- return;
-- }
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine *lineann = static_cast(d->pdfAnnot);
-- lineann->setCaption(show);
-- }
--}
--
--LineAnnotation::LineIntent LineAnnotation::lineIntent() const
--{
-- Q_D( const LineAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->lineIntent;
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- const AnnotLine * lineann = static_cast(d->pdfAnnot);
-- return (LineAnnotation::LineIntent)( lineann->getIntent() + 1 );
-- }
-- else
-- {
-- const AnnotPolygon * polyann = static_cast(d->pdfAnnot);
-- if ( polyann->getIntent() == AnnotPolygon::polygonCloud )
-- return LineAnnotation::PolygonCloud;
-- else // AnnotPolygon::polylineDimension, AnnotPolygon::polygonDimension
-- return LineAnnotation::Dimension;
-- }
--}
--
--void LineAnnotation::setLineIntent( LineAnnotation::LineIntent intent )
--{
-- Q_D( LineAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->lineIntent = intent;
-- return;
-- }
--
-- if ( intent == LineAnnotation::Unknown )
-- return; // Do not set (actually, it should clear the property)
--
-- if (d->pdfAnnot->getType() == Annot::typeLine)
-- {
-- AnnotLine * lineann = static_cast(d->pdfAnnot);
-- lineann->setIntent((AnnotLine::AnnotLineIntent)( intent - 1 ));
-- }
-- else
-- {
-- AnnotPolygon * polyann = static_cast(d->pdfAnnot);
-- if ( intent == LineAnnotation::PolygonCloud)
-- polyann->setIntent( AnnotPolygon::polygonCloud );
-- else // LineAnnotation::Dimension
-- {
-- if ( d->pdfAnnot->getType() == Annot::typePolygon )
-- polyann->setIntent( AnnotPolygon::polygonDimension );
-- else // Annot::typePolyLine
-- polyann->setIntent( AnnotPolygon::polylineDimension );
-- }
-- }
--}
--
--
--/** GeomAnnotation [Annotation] */
--class GeomAnnotationPrivate : public AnnotationPrivate
--{
-- public:
-- GeomAnnotationPrivate();
-- Annotation * makeAlias();
-- Annot* createNativeAnnot(::Page *destPage, DocumentData *doc);
--
-- // data fields (note uses border for rendering style)
-- GeomAnnotation::GeomType geomType;
-- QColor geomInnerColor;
--};
--
--GeomAnnotationPrivate::GeomAnnotationPrivate()
-- : AnnotationPrivate(), geomType( GeomAnnotation::InscribedSquare )
--{
--}
--
--Annotation * GeomAnnotationPrivate::makeAlias()
--{
-- return new GeomAnnotation(*this);
--}
--
--Annot* GeomAnnotationPrivate::createNativeAnnot(::Page *destPage, DocumentData *doc)
--{
-- // Setters are defined in the public class
-- GeomAnnotation *q = static_cast( makeAlias() );
--
-- // Set page and document
-- pdfPage = destPage;
-- parentDoc = doc;
--
-- Annot::AnnotSubtype type;
-- if (geomType == GeomAnnotation::InscribedSquare)
-- type = Annot::typeSquare;
-- else // GeomAnnotation::InscribedCircle
-- type = Annot::typeCircle;
--
-- // Set pdfAnnot
-- PDFRectangle rect = boundaryToPdfRectangle(boundary, flags);
-- pdfAnnot = new AnnotGeometry(destPage->getDoc(), &rect, type);
--
-- // Set properties
-- flushBaseAnnotationProperties();
-- q->setGeomInnerColor(geomInnerColor);
--
-- delete q;
-- return pdfAnnot;
--}
--
--GeomAnnotation::GeomAnnotation()
-- : Annotation( *new GeomAnnotationPrivate() )
--{}
--
--GeomAnnotation::GeomAnnotation(GeomAnnotationPrivate &dd)
-- : Annotation( dd )
--{}
--
--GeomAnnotation::GeomAnnotation( const QDomNode & node )
-- : Annotation( *new GeomAnnotationPrivate(), node )
--{
-- // loop through the whole children looking for a 'geom' element
-- QDomNode subNode = node.firstChild();
-- while( subNode.isElement() )
-- {
-- QDomElement e = subNode.toElement();
-- subNode = subNode.nextSibling();
-- if ( e.tagName() != "geom" )
-- continue;
--
-- // parse the attributes
-- if ( e.hasAttribute( "type" ) )
-- setGeomType((GeomAnnotation::GeomType)e.attribute( "type" ).toInt());
-- if ( e.hasAttribute( "color" ) )
-- setGeomInnerColor(QColor( e.attribute( "color" ) ));
--
-- // loading complete
-- break;
-- }
--}
--
--GeomAnnotation::~GeomAnnotation()
--{
--}
--
--void GeomAnnotation::store( QDomNode & node, QDomDocument & document ) const
--{
-- // store base annotation properties
-- storeBaseAnnotationProperties( node, document );
--
-- // create [geom] element
-- QDomElement geomElement = document.createElement( "geom" );
-- node.appendChild( geomElement );
--
-- // append the optional attributes
-- if ( geomType() != InscribedSquare )
-- geomElement.setAttribute( "type", (int)geomType() );
-- if ( geomInnerColor().isValid() )
-- geomElement.setAttribute( "color", geomInnerColor().name() );
--}
--
--Annotation::SubType GeomAnnotation::subType() const
--{
-- return AGeom;
--}
--
--GeomAnnotation::GeomType GeomAnnotation::geomType() const
--{
-- Q_D( const GeomAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->geomType;
--
-- if (d->pdfAnnot->getType() == Annot::typeSquare)
-- return GeomAnnotation::InscribedSquare;
-- else // Annot::typeCircle
-- return GeomAnnotation::InscribedCircle;
--}
--
--void GeomAnnotation::setGeomType( GeomAnnotation::GeomType type )
--{
-- Q_D( GeomAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->geomType = type;
-- return;
-- }
--
-- AnnotGeometry * geomann = static_cast(d->pdfAnnot);
-- if (type == GeomAnnotation::InscribedSquare)
-- geomann->setType(Annot::typeSquare);
-- else // GeomAnnotation::InscribedCircle
-- geomann->setType(Annot::typeCircle);
--}
--
--QColor GeomAnnotation::geomInnerColor() const
--{
-- Q_D( const GeomAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->geomInnerColor;
--
-- const AnnotGeometry * geomann = static_cast(d->pdfAnnot);
-- return convertAnnotColor( geomann->getInteriorColor() );
--}
--
--void GeomAnnotation::setGeomInnerColor( const QColor &color )
--{
-- Q_D( GeomAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->geomInnerColor = color;
-- return;
-- }
--
-- AnnotGeometry * geomann = static_cast(d->pdfAnnot);
-- geomann->setInteriorColor(convertQColor( color ));
--}
--
--
--/** HighlightAnnotation [Annotation] */
--class HighlightAnnotationPrivate : public AnnotationPrivate
--{
-- public:
-- HighlightAnnotationPrivate();
-- Annotation * makeAlias();
-- Annot* createNativeAnnot(::Page *destPage, DocumentData *doc);
--
-- // data fields
-- HighlightAnnotation::HighlightType highlightType;
-- QList< HighlightAnnotation::Quad > highlightQuads; // not empty
--
-- // helpers
-- static Annot::AnnotSubtype toAnnotSubType( HighlightAnnotation::HighlightType type );
-- QList< HighlightAnnotation::Quad > fromQuadrilaterals(AnnotQuadrilaterals *quads) const;
-- AnnotQuadrilaterals * toQuadrilaterals(const QList< HighlightAnnotation::Quad > &quads) const;
--};
--
--HighlightAnnotationPrivate::HighlightAnnotationPrivate()
-- : AnnotationPrivate(), highlightType( HighlightAnnotation::Highlight )
--{
--}
--
--Annotation * HighlightAnnotationPrivate::makeAlias()
--{
-- return new HighlightAnnotation(*this);
--}
--
--Annot::AnnotSubtype HighlightAnnotationPrivate::toAnnotSubType( HighlightAnnotation::HighlightType type )
--{
-- switch (type)
-- {
-- default: // HighlightAnnotation::Highlight:
-- return Annot::typeHighlight;
-- case HighlightAnnotation::Underline:
-- return Annot::typeUnderline;
-- case HighlightAnnotation::Squiggly:
-- return Annot::typeSquiggly;
-- case HighlightAnnotation::StrikeOut:
-- return Annot::typeStrikeOut;
-- }
--}
--
--QList< HighlightAnnotation::Quad > HighlightAnnotationPrivate::fromQuadrilaterals(AnnotQuadrilaterals *hlquads) const
--{
-- QList< HighlightAnnotation::Quad > quads;
--
-- if ( !hlquads || !hlquads->getQuadrilateralsLength() )
-- return quads;
-- const int quadsCount = hlquads->getQuadrilateralsLength();
--
-- double MTX[6];
-- fillTransformationMTX(MTX);
--
-- quads.reserve(quadsCount);
-- for (int q = 0; q < quadsCount; ++q)
-- {
-- HighlightAnnotation::Quad quad;
-- XPDFReader::transform( MTX, hlquads->getX1( q ), hlquads->getY1( q ), quad.points[ 0 ] );
-- XPDFReader::transform( MTX, hlquads->getX2( q ), hlquads->getY2( q ), quad.points[ 1 ] );
-- XPDFReader::transform( MTX, hlquads->getX3( q ), hlquads->getY3( q ), quad.points[ 2 ] );
-- XPDFReader::transform( MTX, hlquads->getX4( q ), hlquads->getY4( q ), quad.points[ 3 ] );
-- // ### PDF1.6 specs says that point are in ccw order, but in fact
-- // points 3 and 4 are swapped in every PDF around!
-- QPointF tmpPoint = quad.points[ 2 ];
-- quad.points[ 2 ] = quad.points[ 3 ];
-- quad.points[ 3 ] = tmpPoint;
-- // initialize other properties and append quad
-- quad.capStart = true; // unlinked quads are always capped
-- quad.capEnd = true; // unlinked quads are always capped
-- quad.feather = 0.1; // default feather
-- quads.append( quad );
-- }
--
-- return quads;
--}
--
--AnnotQuadrilaterals * HighlightAnnotationPrivate::toQuadrilaterals(const QList< HighlightAnnotation::Quad > &quads) const
--{
-- const int count = quads.size();
-- AnnotQuadrilaterals::AnnotQuadrilateral **ac =
-- (AnnotQuadrilaterals::AnnotQuadrilateral**)
-- gmallocn( count, sizeof(AnnotQuadrilaterals::AnnotQuadrilateral*) );
--
-- double MTX[6];
-- fillTransformationMTX(MTX);
--
-- int pos = 0;
-- foreach (const HighlightAnnotation::Quad &q, quads)
-- {
-- double x1, y1, x2, y2, x3, y3, x4, y4;
-- XPDFReader::invTransform( MTX, q.points[0], x1, y1 );
-- XPDFReader::invTransform( MTX, q.points[1], x2, y2 );
-- // Swap points 3 and 4 (see HighlightAnnotationPrivate::fromQuadrilaterals)
-- XPDFReader::invTransform( MTX, q.points[3], x3, y3 );
-- XPDFReader::invTransform( MTX, q.points[2], x4, y4 );
-- ac[pos++] = new AnnotQuadrilaterals::AnnotQuadrilateral(x1, y1, x2, y2, x3, y3, x4, y4);
-- }
--
-- return new AnnotQuadrilaterals(ac, count);
--}
--
--Annot* HighlightAnnotationPrivate::createNativeAnnot(::Page *destPage, DocumentData *doc)
--{
-- // Setters are defined in the public class
-- HighlightAnnotation *q = static_cast( makeAlias() );
--
-- // Set page and document
-- pdfPage = destPage;
-- parentDoc = doc;
--
-- // Set pdfAnnot
-- PDFRectangle rect = boundaryToPdfRectangle(boundary, flags);
-- pdfAnnot = new AnnotTextMarkup(destPage->getDoc(), &rect, toAnnotSubType(highlightType));
--
-- // Set properties
-- flushBaseAnnotationProperties();
-- q->setHighlightQuads(highlightQuads);
--
-- highlightQuads.clear(); // Free up memory
--
-- delete q;
--
-- return pdfAnnot;
--}
--
--HighlightAnnotation::HighlightAnnotation()
-- : Annotation( *new HighlightAnnotationPrivate() )
--{}
--
--HighlightAnnotation::HighlightAnnotation(HighlightAnnotationPrivate &dd)
-- : Annotation( dd )
--{}
--
--HighlightAnnotation::HighlightAnnotation( const QDomNode & node )
-- : Annotation( *new HighlightAnnotationPrivate(), node )
--{
-- // loop through the whole children looking for a 'hl' element
-- QDomNode subNode = node.firstChild();
-- while( subNode.isElement() )
-- {
-- QDomElement e = subNode.toElement();
-- subNode = subNode.nextSibling();
-- if ( e.tagName() != "hl" )
-- continue;
--
-- // parse the attributes
-- if ( e.hasAttribute( "type" ) )
-- setHighlightType((HighlightAnnotation::HighlightType)e.attribute( "type" ).toInt());
--
-- // parse all 'quad' subnodes
-- QList quads;
-- QDomNode quadNode = e.firstChild();
-- for ( ; quadNode.isElement(); quadNode = quadNode.nextSibling() )
-- {
-- QDomElement qe = quadNode.toElement();
-- if ( qe.tagName() != "quad" )
-- continue;
--
-- Quad q;
-- q.points[0].setX(qe.attribute( "ax", "0.0" ).toDouble());
-- q.points[0].setY(qe.attribute( "ay", "0.0" ).toDouble());
-- q.points[1].setX(qe.attribute( "bx", "0.0" ).toDouble());
-- q.points[1].setY(qe.attribute( "by", "0.0" ).toDouble());
-- q.points[2].setX(qe.attribute( "cx", "0.0" ).toDouble());
-- q.points[2].setY(qe.attribute( "cy", "0.0" ).toDouble());
-- q.points[3].setX(qe.attribute( "dx", "0.0" ).toDouble());
-- q.points[3].setY(qe.attribute( "dy", "0.0" ).toDouble());
-- q.capStart = qe.hasAttribute( "start" );
-- q.capEnd = qe.hasAttribute( "end" );
-- q.feather = qe.attribute( "feather", "0.1" ).toDouble();
-- quads.append( q );
-- }
-- setHighlightQuads(quads);
--
-- // loading complete
-- break;
-- }
--}
--
--HighlightAnnotation::~HighlightAnnotation()
--{
--}
--
--void HighlightAnnotation::store( QDomNode & node, QDomDocument & document ) const
--{
-- // store base annotation properties
-- storeBaseAnnotationProperties( node, document );
--
-- // create [hl] element
-- QDomElement hlElement = document.createElement( "hl" );
-- node.appendChild( hlElement );
--
-- // append the optional attributes
-- if ( highlightType() != Highlight )
-- hlElement.setAttribute( "type", (int)highlightType() );
--
-- const QList quads = highlightQuads();
-- if ( quads.count() < 1 )
-- return;
-- // append highlight quads, all children describe quads
-- QList< HighlightAnnotation::Quad >::const_iterator it = quads.begin(), end = quads.end();
-- for ( ; it != end; ++it )
-- {
-- QDomElement quadElement = document.createElement( "quad" );
-- hlElement.appendChild( quadElement );
-- const Quad & q = *it;
-- quadElement.setAttribute( "ax", QString::number( q.points[0].x() ) );
-- quadElement.setAttribute( "ay", QString::number( q.points[0].y() ) );
-- quadElement.setAttribute( "bx", QString::number( q.points[1].x() ) );
-- quadElement.setAttribute( "by", QString::number( q.points[1].y() ) );
-- quadElement.setAttribute( "cx", QString::number( q.points[2].x() ) );
-- quadElement.setAttribute( "cy", QString::number( q.points[2].y() ) );
-- quadElement.setAttribute( "dx", QString::number( q.points[3].x() ) );
-- quadElement.setAttribute( "dy", QString::number( q.points[3].y() ) );
-- if ( q.capStart )
-- quadElement.setAttribute( "start", 1 );
-- if ( q.capEnd )
-- quadElement.setAttribute( "end", 1 );
-- quadElement.setAttribute( "feather", QString::number( q.feather ) );
-- }
--}
--
--Annotation::SubType HighlightAnnotation::subType() const
--{
-- return AHighlight;
--}
--
--HighlightAnnotation::HighlightType HighlightAnnotation::highlightType() const
--{
-- Q_D( const HighlightAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->highlightType;
--
-- Annot::AnnotSubtype subType = d->pdfAnnot->getType();
--
-- if ( subType == Annot::typeHighlight )
-- return HighlightAnnotation::Highlight;
-- else if ( subType == Annot::typeUnderline )
-- return HighlightAnnotation::Underline;
-- else if ( subType == Annot::typeSquiggly )
-- return HighlightAnnotation::Squiggly;
-- else // Annot::typeStrikeOut
-- return HighlightAnnotation::StrikeOut;
--}
--
--void HighlightAnnotation::setHighlightType( HighlightAnnotation::HighlightType type )
--{
-- Q_D( HighlightAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->highlightType = type;
-- return;
-- }
--
-- AnnotTextMarkup * hlann = static_cast(d->pdfAnnot);
-- hlann->setType(HighlightAnnotationPrivate::toAnnotSubType( type ));
--}
--
--QList< HighlightAnnotation::Quad > HighlightAnnotation::highlightQuads() const
--{
-- Q_D( const HighlightAnnotation );
--
-- if (!d->pdfAnnot)
-- return d->highlightQuads;
--
-- const AnnotTextMarkup * hlann = static_cast(d->pdfAnnot);
-- return d->fromQuadrilaterals( hlann->getQuadrilaterals() );
--}
--
--void HighlightAnnotation::setHighlightQuads( const QList< HighlightAnnotation::Quad > &quads )
--{
-- Q_D( HighlightAnnotation );
--
-- if (!d->pdfAnnot)
-- {
-- d->highlightQuads = quads;
-- return;
-- }
--
-- AnnotTextMarkup * hlann = static_cast