/[pkgs]/devel/GREYCstoration/GREYCstoration-2.8-fixmakefile.patch
ViewVC logotype

Contents of /devel/GREYCstoration/GREYCstoration-2.8-fixmakefile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Mar 13 04:55:51 2008 UTC (20 months, 1 week ago) by deebs
Branch: MAIN
CVS Tags: F-12-split, F-10-split, GREYCstoration-2_8-4_fc11, GREYCstoration-2_8-2_fc11, F-11-split, GREYCstoration-2_8-3_fc11, GREYCstoration-2_8-5_fc12, F-9-split, GREYCstoration-2_8-1_fc9, HEAD
File MIME type: text/x-patch
new upstream version
1 --- GREYCstoration-2.8.orig/src/Makefile 2008-03-10 20:31:56.000000000 +1100
2 +++ GREYCstoration-2.8/src/Makefile 2008-03-13 15:24:32.000000000 +1100
3 @@ -36,21 +36,22 @@
4 CIMG_XRANDR_FLAGS = -Dcimg_use_xrandr -lXrandr
5
6 # Uncomment to enable native support for PNG image files, using the PNG library.
7 -#CIMG_PNG_FLAGS = -Dcimg_use_png -lpng -lz
8 +CIMG_PNG_FLAGS = -Dcimg_use_png -lpng -lz
9
10 # Uncomment to enable native support for JPEG image files, using the JPEG library.
11 -#CIMG_JPEG_FLAGS = -Dcimg_use_jpeg -ljpeg
12 +CIMG_JPEG_FLAGS = -Dcimg_use_jpeg -ljpeg
13
14 # Uncomment to enable native support for TIFF image files, using the TIFF library.
15 -#CIMG_TIFF_FLAGS = -Dcimg_use_tiff -ltiff
16 +CIMG_TIFF_FLAGS = -Dcimg_use_tiff -ltiff
17
18 # Uncomment to enable native support of most classical image file formats, using the Magick++ library.
19 #CIMG_MAGICK_FLAGS = -Dcimg_use_magick `Magick++-config --cppflags` `Magick++-config --cxxflags` `Magick++-config --ldflags` `Magick++-config --libs`
20
21 # Uncomment to enable faster Discrete Fourier Transform computation, using the FFTW3 library
22 -#CIMG_FFTW3_FLAGS = -Dcimg_use_fftw3 -lfftw3
23 +CIMG_FFTW3_FLAGS = -Dcimg_use_fftw3 -lfftw3
24
25 EXTRA_FLAGS = $(CIMG_X11_FLAGS) $(CIMG_STRICT_FLAGS) $(CIMG_XSHM_FLAGS) $(CIMG_XRANDR_FLAGS) $(CIMG_PNG_FLAGS) $(CIMG_JPEG_FLAGS) $(CIMG_TIFF_FLAGS) $(CIMG_MAGICK_FLAGS) $(CIMG_FFTW3_FLAGS)
26 +ARCHFLAGS = $(CIMG_X11_FLAGS) $(CIMG_STRICT_FLAGS) $(CIMG_XSHM_FLAGS) $(CIMG_XRANDR_FLAGS) $(CIMG_PNG_FLAGS) $(CIMG_JPEG_FLAGS) $(CIMG_TIFF_FLAGS) $(CIMG_MAGICK_FLAGS) $(CIMG_FFTW3_FLAGS)
27
28 # Compilation rules
29 .cpp:
30 @@ -58,7 +59,6 @@
31 @echo "** Compiling '$* ($(CIMG_VERSION))' with '`$(CC) -v 2>&1 | grep version`'"
32 @echo
33 $(CC) -o $* $< $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS)
34 - strip $*
35 menu:
36 @echo
37 @echo "CImg Library $(CIMG_VERSION) : Examples"
38 @@ -93,7 +93,6 @@
39 @echo "** Compiling 'greycstoration4gimp ($(CIMG_VERSION))' with '`$(CC) -v 2>&1 | grep version`'"
40 @echo
41 $(CC) -o greycstoration4gimp greycstoration4gimp.cpp `gimptool-2.0 --cflags` `gimptool-2.0 --libs` -lpthread -O3 $(CFLAGS)
42 - strip greycstoration4gimp
43 # Linux/Mac OSX targets
44 linux:
45 make "ARCHFLAGS=$(EXTRA_FLAGS)" all

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2