diff options
Diffstat (limited to 'kde-base/kdvi/files')
-rw-r--r-- | kde-base/kdvi/files/digest-kdvi-3.4.0_beta1 | 3 | ||||
-rw-r--r-- | kde-base/kdvi/files/kdvi-configure-check-freetype.diff | 37 |
2 files changed, 40 insertions, 0 deletions
diff --git a/kde-base/kdvi/files/digest-kdvi-3.4.0_beta1 b/kde-base/kdvi/files/digest-kdvi-3.4.0_beta1 new file mode 100644 index 000000000000..61aba8b28ff3 --- /dev/null +++ b/kde-base/kdvi/files/digest-kdvi-3.4.0_beta1 @@ -0,0 +1,3 @@ +MD5 701a5fe0bfc6ec26d8a50f72334d2b2a kdegraphics-3.3.90.tar.bz2 6307655 +MD5 0d5a081c948e50234ebe27075941f1c9 kdegraphics-3.3.90-3.3.91.tar.xdelta 562657 +MD5 e819ff09157f1bf83c6a1ac70ab41439 kdegraphics-3.3.91.tar.bz2 6455135 diff --git a/kde-base/kdvi/files/kdvi-configure-check-freetype.diff b/kde-base/kdvi/files/kdvi-configure-check-freetype.diff new file mode 100644 index 000000000000..69b2ceb52f6c --- /dev/null +++ b/kde-base/kdvi/files/kdvi-configure-check-freetype.diff @@ -0,0 +1,37 @@ +--- kdvi/configure.in.in.orig 2005-01-03 22:14:17.196708168 +0200 ++++ kdvi/configure.in.in 2005-01-03 22:14:46.062319928 +0200 +@@ -23,3 +23,34 @@ + + AC_CHECK_HEADERS(sys/types.h sys/params.h limits.h) + ++# Check for freetype2 ++KDE_FIND_PATH(freetype-config, FREETYPE_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin],) ++ ++if test -n "$FREETYPE_CONFIG"; then ++ vers=`$FREETYPE_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ if test -n "$vers" && test "$vers" -ge 8000002 ++ then ++ LIBFREETYPE_LIBS="`$FREETYPE_CONFIG --libs`" ++ FREETYPE_RPATH= ++ for args in $LIBFREETYPE_LIBS; do ++ case $args in ++ -L*) ++ FREETYPE_RPATH="$FREETYPE_RPATH $args" ++ ;; ++ esac ++ done ++ FREETYPE_RPATH=`echo $FREETYPE_RPATH | sed -e "s/-L/-R/g"` ++ LIBFREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`" ++ ++ AC_DEFINE_UNQUOTED(HAVE_FREETYPE, 1, [Defines if your system has the freetype library]) ++ fi ++fi ++ ++AC_SUBST(LIBFREETYPE_LIBS) ++AC_SUBST(LIBFREETYPE_CFLAGS) ++AC_SUBST(FREETYPE_RPATH) ++ ++if test -z "$LIBFREETYPE_LIBS"; then ++ DO_NOT_COMPILE="$DO_NOT_COMPILE kdvi" ++fi ++ |