]> git.pld-linux.org Git - packages/Thunar-thumbnailers.git/blob - Thunar-thumbnailers-configure.patch
- don't check for programs not needed to build package
[packages/Thunar-thumbnailers.git] / Thunar-thumbnailers-configure.patch
1 diff -urN thunar-thumbnailers-0.0.1svn-r02578/configure.in thunar-thumbnailers-0.0.1svn-r02578.new/configure.in
2 --- thunar-thumbnailers-0.0.1svn-r02578/configure.in    2007-03-30 13:44:17.000000000 +0200
3 +++ thunar-thumbnailers-0.0.1svn-r02578.new/configure.in        2007-04-05 21:59:29.000000000 +0200
4 @@ -39,61 +39,29 @@
5  dnl *** Check for basic programs ***
6  dnl ********************************
7  AC_PROG_INSTALL()
8 -AC_PATH_PROG(CONVERT, convert)
9 -      if test -z "$CONVERT"; then
10 -        AC_MSG_ERROR([ImageMagick is required to build thunar-thumbnailers])
11 -      fi
12  
13  dnl *** check if we want raw image thumbnailing ***
14  AC_ARG_ENABLE(enable-raw,
15     [ --enable-raw Enables thumbnailing of the Raw images used by some digital cameras (requires dcraw). ],
16     enable_raw=yes)
17 -if test "$enable_raw" = "yes"; then
18 -    dnl *** check to see if dcraw, needed for raw image thumbnailing, is on the path ***
19 -    AC_PATH_PROG(DCRAW, dcraw)
20 -       if test -z "$DCRAW"; then
21 -           AC_MSG_ERROR([Install dcraw before enabling raw image thumbnailing])
22 -       fi
23 -fi
24  AM_CONDITIONAL(ENABLE_RAW, test "$enable_raw" = "yes")
25  
26  dnl *** check if we want latex thumbnailing ***
27  AC_ARG_ENABLE(enable-tex,
28     [ --enable-tex Enables thumbnailing of latex and tex files (requires tetex). ],
29     enable_tex=yes)
30 -if test "$enable_tex" = "yes"; then
31 -    dnl *** check to see if latex, needed for tex thumbnailing, is on the path ***
32 -    AC_PATH_PROG(LATEX, latex)
33 -       if test -z "$LATEX"; then
34 -           AC_MSG_ERROR([Install tetex before enabling latex thumbnailing])
35 -       fi
36 -fi
37  AM_CONDITIONAL(ENABLE_TEX, test "$enable_tex" = "yes")
38  
39  dnl *** check if we want grace (agr) thumbnailing ***
40  AC_ARG_ENABLE(enable-grace,
41     [ --enable-grace Enables thumbnailing of xmgrace / grace (.agr) files (requires grace). ],
42     enable_grace=yes)
43 -if test "$enable_grace" = "yes"; then
44 -    dnl *** check to see if gracebat, needed for tex thumbnailing, is on the path ***
45 -    AC_PATH_PROG(GRACE, gracebat)
46 -       if test -z "$GRACE"; then
47 -           AC_MSG_ERROR([Install grace before enabling grace/xmgrace thumbnailing])
48 -       fi
49 -fi
50  AM_CONDITIONAL(ENABLE_GRACE, test "$enable_grace" = "yes")
51  
52  dnl *** check if we want video (ffmpeg) thumbnailing ***
53  AC_ARG_ENABLE(enable-ffmpeg,
54     [ --enable-ffmpeg Enables thumbnailing of video files supported by ffmpeg (requires ffmpegthumbnailer). ],
55     enable_ffmpeg=yes)
56 -if test "$enable_ffmpeg" = "yes"; then
57 -    dnl *** check to see if ffmpegthumbnailer, needed for ffmpeg thumbnailing, is on the path ***
58 -    AC_PATH_PROG(FFMPEG, ffmpegthumbnailer)
59 -       if test -z "$FFMPEG"; then
60 -           AC_MSG_ERROR([Install ffmpegthumbnailer before enabling ffmpeg-video thumbnailing])
61 -       fi
62 -fi
63  AM_CONDITIONAL(ENABLE_FFMPEG, test "$enable_ffmpeg" = "yes")
64  
65  dnl *** check if we want to run update-mime-database on installed mimetypes ***
This page took 0.090884 seconds and 4 git commands to generate.