Commit Graph

132 Commits

Author SHA1 Message Date
Pino Toscano
610eff44b9 move the libepub search module to the right place
svn path=/trunk/KDE/kdegraphics/okular/; revision=793012
2008-04-02 20:45:08 +00:00
Pino Toscano
c0ba4950a3 use find_package_handle_standard_args()
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=782059
2008-03-04 10:39:49 +00:00
Pino Toscano
e780f79fee install the "public" cmake modules, only FindOkular atm
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=773725
2008-02-11 17:13:05 +00:00
Pino Toscano
ebdc32b46c polish up a bit:
- lowercase the function calls
- use FindPackageHandleStandardArgs
- a bit of doc

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=773724
2008-02-11 17:12:23 +00:00
Albert Astals Cid
bde413ac5e okular needs libspectre >= 0.2 as of now
Packagers start your engines!

svn path=/trunk/KDE/kdegraphics/okular/; revision=768911
2008-01-30 22:08:44 +00:00
Patrick Spendrin
766167f827 make add note about not finding optional package + updating non-pkgconfig configuration
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=750768
2007-12-20 02:34:26 +00:00
Pino Toscano
3111141cfe SVN_SILENT indent and cleanup
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=747383
2007-12-11 21:00:02 +00:00
Pino Toscano
54e1a2b168 optionally set a minimum required version
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=747373
2007-12-11 20:38:08 +00:00
Pino Toscano
0f8848077e cleanup and simplify
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=747341
2007-12-11 18:55:00 +00:00
Patrick Spendrin
3fa4b86d6b finding poppler under windows
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=737148
2007-11-15 16:53:15 +00:00
Laurent Montel
f3f3179eaa Use FIND_PACKAGE_HANDLE_STANDARD_ARGS
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=715618
2007-09-22 15:54:08 +00:00
Laurent Montel
3207ffbf37 Move to kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=713341
2007-09-17 06:16:57 +00:00
Laurent Montel
177f99bb0f Minor fix
Use FIND_PACKAGE_HANDLE_STANDARD_ARGS

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=702793
2007-08-21 07:26:30 +00:00
Laurent Montel
2171899347 Remove not necessary path
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=697086
2007-08-06 18:59:11 +00:00
Laurent Montel
fb4fe2c52d Not necessary
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=693895
2007-07-29 12:35:19 +00:00
Pino Toscano
e3e439e69c Revert to check the Poppler::Sound, otherwise the most of the Poppler API won't match.
I'll temporary patch okular until Poppler 0.6 final.

CCMAIL: bradh@frogmouth.net

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=693749
2007-07-28 22:01:54 +00:00
Brad Hards
8c96f3c05e It looks like Mandriva is shipping 0.5.9 (a 0.6 release candidate) for
Poppler.

So we need to be more selective in what version of Poppler we choose.

CCMAIL: aacid@kde.org

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=693143
2007-07-27 08:24:26 +00:00
Laurent Montel
a180f38c0f Fix typo
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=677735
2007-06-19 19:58:45 +00:00
André Wöbbeking
1918602496 only abort if SANE is required
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=675900
2007-06-15 12:18:35 +00:00
Laurent Montel
cbf433e9d7 Fix module
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=675200
2007-06-13 20:20:44 +00:00
Pino Toscano
3af1047905 moving the imlib check in extragear/graphics, kuickshow needs it
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=674580
2007-06-12 16:13:26 +00:00
Laurent Montel
7de76652df Move into kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=674038
2007-06-11 15:50:42 +00:00
Laurent Montel
385e45a812 Move to kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=674015
2007-06-11 15:40:19 +00:00
Allen Winter
dfc768d95d fix the variable names for _FIND_REQUIRED and _FIND_QUIETLY.
thanks Laurent.

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=672243
2007-06-06 14:16:37 +00:00
Allen Winter
565d2b993b change the include file that indicates discovery.
apparently the name of the version header changed in exiv2 0.14

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=672241
2007-06-06 14:14:27 +00:00
Allen Winter
f220bc0c6a Change this module to work more like all our other package discovery modules.
In particular, the caching was badly in need of fixing.

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=672011
2007-06-06 01:26:27 +00:00
Laurent Montel
23e780c7aa Fix typo and this module is duplicate with extragear/libs/libkexiv2
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=671852
2007-06-05 16:30:17 +00:00
Aurélien Gâteau
b1a05f3d36 - Moved Exiv2 cmake file to cmake/modules and use it in the global
CMakeLists.txt file.
- if Exiv2 is found, enable compilation of Gwenview.

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=671832
2007-06-05 15:33:52 +00:00
Pino Toscano
c8f85f0735 FindPoppler.cmake:
- fix the include path checking, now really using the cflags. tested with current HEAD (0.6), should work with 0.5.x as well
- fix the caching
CMakeLists.txt files:
- adapt to the include path fixes

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=668612
2007-05-26 23:15:42 +00:00
Pino Toscano
fb3fec647e the Poppler library is going to start the release cycle of the 0.6 serie, so s/HEAD/0_6/
svn path=/trunk/KDE/kdegraphics/okular/; revision=668326
2007-05-25 23:57:03 +00:00
Laurent Montel
5fbbfe0f72 Fix typo
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=664124
2007-05-13 07:42:39 +00:00
Tobias Koenig
c61432ffb9 Add Find module for Okular Generator library
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=664110
2007-05-13 07:10:15 +00:00
Laurent Montel
b3c76b285b Move into kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=657254
2007-04-23 16:52:54 +00:00
Benjamin Reed
bf5db4084b use the FindFreetype.cmake that comes with kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=651731
2007-04-09 01:40:46 +00:00
Pino Toscano
4b4cb7f3ac add cache and licence
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=650504
2007-04-04 18:15:48 +00:00
Pino Toscano
5bd023ee5e does not seem to be used
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=650482
2007-04-04 17:45:34 +00:00
Laurent Montel
874714e2b5 Fix typo
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=648068
2007-03-30 12:59:12 +00:00
Laurent Montel
4cdcb4a674 Fix typo
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=648066
2007-03-30 12:52:19 +00:00
Marc Espie
eb1f42237b locate include on OpenBSD
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=647251
2007-03-27 19:51:43 +00:00
Laurent Montel
427f632da1 Fix display message
svn path=/trunk/playground/graphics/cmake/modules/; revision=642498
2007-03-14 15:12:10 +00:00
Pino Toscano
451e99ece0 use the cached value, and put copyrights
Albert Astals Cide agreed on relicensing it as BSD.

svn path=/trunk/playground/graphics/cmake/modules/; revision=617214
2006-12-28 12:39:52 +00:00
Pino Toscano
021b3079b0 make it use the cached values, and put copyright
svn path=/trunk/playground/graphics/cmake/modules/; revision=617213
2006-12-28 12:37:54 +00:00
Laurent Montel
8fa5bcb761 Don't try to use pkgconfig under windows
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=605631
2006-11-17 16:05:05 +00:00
Adriaan de Groot
b5ccd28d79 Normalization. Move X11-detecting stuff into kdelibs out of kdegraphics, adjust for style of kdelibs. Put some order in the mess of header and libs checks for X11.
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=594265
2006-10-10 17:28:34 +00:00
Pino Toscano
8082ea8ff3 detect if we're using poppler head
svn path=/trunk/playground/graphics/cmake/modules/; revision=593974
2006-10-09 17:54:24 +00:00
Adriaan de Groot
7fbf0569b9 Add cmake test to find xf86vmode.h -- which would live in the X includes dir, but I don't know how to get that directory from earlier checks, so look in likely places instead. Code based on FindSane.cmake. License of this 'code' is BSD.
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=590778
2006-09-30 20:09:54 +00:00
Adriaan de Groot
875a299c5d Typospotting on the cmake modules: follow some of the user docs guidelines and avoid contractions.
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=590777
2006-09-30 20:06:56 +00:00
Albert Astals Cid
f8b9fe00d4 we require poppler >= 0.5.4
svn path=/trunk/playground/graphics/cmake/modules/; revision=588291
2006-09-25 14:19:41 +00:00
Laurent Montel
1602b6e5c7 Activate by default compile kamera
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=587147
2006-09-21 18:30:26 +00:00
Laurent Montel
c0af84c9a0 Remove them
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=587061
2006-09-21 12:24:17 +00:00
Pino Toscano
dbbf3169d9 libgs can also be called gs-esp
svn path=/trunk/playground/graphics/cmake/modules/; revision=586003
2006-09-18 13:34:49 +00:00
Alexander Neundorf
5212b6c691 -add copyright notices
-remove unused configure checks

Alex


svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=582616
2006-09-09 21:46:46 +00:00
Laurent Montel
e262907c9c Add Kadmos cmake file
Fix search module
Remove not necessary files

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=571172
2006-08-08 17:35:11 +00:00
Laurent Montel
4c4743096a Apply patch from Marcus.Hufgard@hufgard.de to fix
findimlib 

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=564066
2006-07-19 07:54:12 +00:00
Laurent Montel
ba5cd44972 Fix install files
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=558145
2006-07-04 19:18:33 +00:00
Pino Toscano
ef9e957084 adapt to the new snapshot
svn path=/trunk/playground/graphics/cmake/modules/; revision=558003
2006-07-04 14:28:51 +00:00
Pino Toscano
5b41a8a46a go on only if pkg-config says that all is fine
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=550781
2006-06-12 18:22:44 +00:00
Pino Toscano
943c553bf7 - convert it to use pkgconfig (so implicitely the minimum version required is 3.5.17, as first version that ships a .pc file)
- be quiet if djvu was already found

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=550295
2006-06-11 13:15:31 +00:00
Pino Toscano
d0ac95dafd A new backend for oKular: DjVu:
* uses the DjVuLibre for loading the DjVu files
* can rotate the pages
* has a cache (with few elements) with the most recently used generated pixmaps,
  to reduce a bit the number of pixmap generation
There could be some issues, but mainly it works nicely.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=549184
2006-06-07 17:41:04 +00:00
Pino Toscano
6f25714b53 change the way we build qgs and the ghostscript plugin of okular: instead of
compiling both separately and relying on the installed qgs for okular, only
look for libgs and build both qgs and ghostscript at the same time.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=546363
2006-05-29 20:33:55 +00:00
Pino Toscano
c44da2af50 find libgs correctly and make libqgs compile and link
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=546122
2006-05-29 08:21:21 +00:00
Pino Toscano
6535d96606 no need of this check, we're using the global one
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=543833
2006-05-22 21:50:59 +00:00
Albert Astals Cid
aa79b31dcb only install FindQGS.cmake
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=543831
2006-05-22 21:43:58 +00:00
Albert Astals Cid
4924a8af2c we need 0.5.2
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=543830
2006-05-22 21:33:51 +00:00
Pino Toscano
ccccbc4b99 adapt the FindPoppler to look for poppler-qt4 instead of poppler
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=540406
2006-05-13 11:26:01 +00:00
Laurent Montel
9a2dc16b72 Fix search module
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=539957
2006-05-12 06:54:19 +00:00
Laurent Montel
a106373630 Try to fix compile
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=539721
2006-05-11 15:30:08 +00:00
Laurent Montel
7bc5cdd704 Port check to search gphoto2 lib
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=539718
2006-05-11 15:20:24 +00:00
Laurent Montel
dededfc9de Search in cache
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=537363
2006-05-04 15:51:58 +00:00
Wilfried Huss
5caf74ef86 Add cmake module for the poppler Qt4 bindings.
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=535716
2006-04-30 09:13:25 +00:00
Dirk Mueller
136a17a6be only compile kuickshow when Imlib is found
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=534865
2006-04-27 23:30:56 +00:00
Stefan Kebekus
956af1981d make the DVI plugin compile with cmake
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=534250
2006-04-26 18:00:36 +00:00
Pino Toscano
86423f06b3 First check for the library, then look for the needed symbol.
I think that's a bit more logical ;-)

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=525060
2006-03-31 18:22:17 +00:00
Albert Astals Cid
f24d0902ce adding libqgs for Qt4, remember it is a pure Qt lib ( well lets call it lib even if its only a file ;-) )
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=524640
2006-03-30 20:44:35 +00:00
Pino Toscano
70504a71cf hopefully fix the QGS check
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=524605
2006-03-30 18:46:24 +00:00
Pino Toscano
0b29b076b8 Some work on the chm generator:
- correctly find the chm library
- make the chm generator and the kio-msits compile and link
- some qt3/kde3 support less

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523938
2006-03-29 14:33:15 +00:00
Laurent Montel
909af316a6 Don't use regexp to search files:
*.cmake install cmake_install.cmake too
=> not good.
And don't install FindKDE4.cmake
If we have some files to install add file into
cmakefile variable
set(cmakefile ... )

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=523461
2006-03-28 09:45:55 +00:00
Pino Toscano
8db887dfb1 New QGS check (partially untested).
New CHM check.
Activating okular anyway, and disable its poppler generator if poppler is not found.

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523311
2006-03-27 21:09:36 +00:00
Alexander Neundorf
a2fade65ae apply patch by marcus.hufgard@hufgard.de, check for the SANE libs
Alex

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=523292
2006-03-27 19:43:23 +00:00
Pino Toscano
2f672de5c7 add a check to detect poppler >= 0.5.1
polish a bit CMakeList.txt and ConfigureChecks.cmake

CCMAIL: aacid@kde.org

svn path=/branches/work/kde4/playground/graphics/cmake/; revision=523221
2006-03-27 16:56:10 +00:00
Laurent Montel
3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00
Laurent Montel
f7a68e7004 Add option to build or not kamera
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=522085
2006-03-24 12:14:39 +00:00