[poppler] poppler: ChangeLog,1.191,1.192 configure.ac,1.33,1.34
Brad Hards
bradh at freedesktop.org
Sat Sep 3 21:53:46 EST 2005
- Previous message: [poppler] poppler/glib: poppler-page.cc,1.34,1.35
- Next message: [poppler] poppler/qt4/tests: .cvsignore, 1.6, 1.7 Makefile.am, 1.8,
1.9 README.unittest, NONE, 1.1 check_author.cpp, 1.1,
NONE check_linearised.cpp, 1.1, NONE check_metadata.cpp, NONE,
1.1 check_orientation.cpp, 1.3, NONE check_pagelayout.cpp,
NONE, 1.1 check_pagelayout_facing.cpp, 1.1,
NONE check_pagelayout_none.cpp, 1.1,
NONE check_pagelayout_single.cpp, 1.1, NONE check_pagemode.cpp,
NONE, 1.1 check_pagemode_attach.cpp, 1.1,
NONE check_pagemode_fullscreen.cpp, 1.1,
NONE check_pagemode_none.cpp, 1.1, NONE check_pagemode_oc.cpp,
1.1, NONE check_pagemode_thumbs.cpp, 1.1,
NONE check_permissions.cpp, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/poppler/poppler
In directory gabe:/tmp/cvs-serv1131
Modified Files:
ChangeLog configure.ac
Log Message:
Switch the qt4/tests unittests to use QtTestLib.
Index: ChangeLog
===================================================================
RCS file: /cvs/poppler/poppler/ChangeLog,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- ChangeLog 2 Sep 2005 14:47:24 -0000 1.191
+++ ChangeLog 3 Sep 2005 11:53:44 -0000 1.192
@@ -1,3 +1,9 @@
+2005-09-03 Brad Hards <bradh at frogmouth.net>
+
+ * qt4/tests/ :
+ * configure.ac: switch qt4 unit tests to use QtTestLib, a more
+ capable system, and easier to maintain.
+
2005-09-02 Kristian Høgsberg <krh at redhat.com>
* glib/poppler-page.cc: Apply Marcos rotation fix.
Index: configure.ac
===================================================================
RCS file: /cvs/poppler/poppler/configure.ac,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- configure.ac 29 Aug 2005 15:24:32 -0000 1.33
+++ configure.ac 3 Sep 2005 11:53:44 -0000 1.34
@@ -396,6 +396,71 @@
AM_CONDITIONAL(BUILD_POPPLER_QT4, test x$enable_poppler_qt4 = xyes)
+have_qt4testlib=no
+dnl ===================================================================
+dnl Check whether the QtTestLib headers and libs are available.
+dnl Adapted from Qt4 check above!
+dnl ===================================================================
+
+dnl We re-use much of the Qt4 environment.
+
+dnl What to test
+qt4test_test_include="QtTest/QtTest"
+qt4test_test_la_library="libQtTest.la"
+qt4test_test_library="libQtTest.so"
+
+dnl Check for QtTestLib headers
+AC_MSG_CHECKING([for QtTestLib headers])
+qt4test_incdir="no"
+for it in $qt4_incdirs ; do
+ if test -r "$it/$qt4test_test_include" ; then
+ qt4test_incdir="$it"
+ break
+ fi
+done
+AC_MSG_RESULT([$qt4test_incdir])
+
+dnl Check for Qt4 libraries
+AC_MSG_CHECKING([for QtTestLib libraries])
+qt4test_libdir="no"
+for qt4test_check in $qt4_libdirs ; do
+ if test -r "$qt4test_check/$qt4test_test_la_library" ; then
+ qt4test_libdir="$qt4test_check"
+ break
+ fi
+
+ if test -r "$qt4test_check/$qt4test_test_library" ; then
+ qt4test_libdir="$qt4test_check"
+ break
+ fi
+done
+AC_MSG_RESULT([$qt4test_libdir])
+
+if test "x$qt4test_libdir" != "xno" ; then
+ if test "x$qt4test_incdir" != "xno" ; then
+ have_qt4testlib=yes;
+ fi
+fi
+
+dnl Set the variables
+POPPLER_QTTEST_CXXFLAGS="-I$qt4test_incdir"
+POPPLER_QTTEST_LIBS="-L$qt4test_libdir -lQtTest"
+
+AC_SUBST(POPPLER_QTTEST_CXXFLAGS)
+AC_SUBST(POPPLER_QTTEST_LIBS)
+
+if test x$have_qt4testlib = xno ; then
+ AC_MSG_WARN([QtTestLib libraries not found])
+fi
+
+if test x$have_qt4testlib = xyes; then
+ enable_poppler_qt4testlib="yes"
+else
+ enable_poppler_qt4testlib="no"
+fi
+
+AM_CONDITIONAL(BUILD_POPPLER_QT4TESTS, test x$enable_poppler_qt4testlib = xyes)
+
AC_ARG_ENABLE(gtk-test,
AC_HELP_STRING([--disable-gtk-test],
[Don't compile GTK+ test program.]),
@@ -457,6 +522,7 @@
echo " cairo output: $enable_cairo_output"
echo " qt wrapper: $enable_poppler_qt"
echo " qt4 wrapper: $enable_poppler_qt4"
+echo " qt4 unittests: $enable_poppler_qt4testlib"
echo " glib wrapper: $enable_poppler_glib"
echo " use libjpeg: $enable_libjpeg"
echo " use zlib: $enable_zlib"
- Previous message: [poppler] poppler/glib: poppler-page.cc,1.34,1.35
- Next message: [poppler] poppler/qt4/tests: .cvsignore, 1.6, 1.7 Makefile.am, 1.8,
1.9 README.unittest, NONE, 1.1 check_author.cpp, 1.1,
NONE check_linearised.cpp, 1.1, NONE check_metadata.cpp, NONE,
1.1 check_orientation.cpp, 1.3, NONE check_pagelayout.cpp,
NONE, 1.1 check_pagelayout_facing.cpp, 1.1,
NONE check_pagelayout_none.cpp, 1.1,
NONE check_pagelayout_single.cpp, 1.1, NONE check_pagemode.cpp,
NONE, 1.1 check_pagemode_attach.cpp, 1.1,
NONE check_pagemode_fullscreen.cpp, 1.1,
NONE check_pagemode_none.cpp, 1.1, NONE check_pagemode_oc.cpp,
1.1, NONE check_pagemode_thumbs.cpp, 1.1,
NONE check_permissions.cpp, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the poppler
mailing list