1 |
bicatali 10/01/02 02:58:46 |
2 |
|
3 |
Added: libecwj2-3.3-nolcms.patch |
4 |
Log: |
5 |
Removed internal lmcs, added unzip as dependency. Closing bug #202594, bug #, and bug #, thanks Jean-Claude Repetto and Brian Caldwell |
6 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-libs/libecwj2/files/libecwj2-3.3-nolcms.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libecwj2/files/libecwj2-3.3-nolcms.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libecwj2/files/libecwj2-3.3-nolcms.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: libecwj2-3.3-nolcms.patch |
15 |
=================================================================== |
16 |
diff -Naur ../libecwj2-3.3/Makefile.am ./Makefile.am |
17 |
--- ../libecwj2-3.3/Makefile.am 2006-07-02 20:14:18.000000000 -0500 |
18 |
+++ ./Makefile.am 2009-03-16 14:04:13.000000000 -0500 |
19 |
@@ -1,3 +1,5 @@ |
20 |
+AUTOMAKE_OPTIONS = foreign |
21 |
+ |
22 |
SUBDIRS = \ |
23 |
Source |
24 |
|
25 |
@@ -127,7 +129,5 @@ |
26 |
Source/include/gdt_pub.h \ |
27 |
Source/include/gdt_stat.h \ |
28 |
Source/include/pcs_erm.h \ |
29 |
- Source/C/NCSEcw/lcms/include/lcms.h \ |
30 |
- Source/C/NCSEcw/lcms/include/icc34.h \ |
31 |
Source/NCSBuildGnu/NCSGnuConfig.h |
32 |
|
33 |
diff -Naur ../libecwj2-3.3/Source/NCSBuildGnu/Makefile.am ./Source/NCSBuildGnu/Makefile.am |
34 |
--- ../libecwj2-3.3/Source/NCSBuildGnu/Makefile.am 2006-07-02 20:14:18.000000000 -0500 |
35 |
+++ ./Source/NCSBuildGnu/Makefile.am 2009-03-16 14:00:50.000000000 -0500 |
36 |
@@ -113,22 +113,6 @@ |
37 |
../C/NCSEcw/shared_src/qmf_util.c \ |
38 |
../C/NCSEcw/shared_src/quantize.c \ |
39 |
../C/NCSEcw/shared_src/unpack.c \ |
40 |
- ../C/NCSEcw/lcms/src/cmscnvrt.c \ |
41 |
- ../C/NCSEcw/lcms/src/cmserr.c \ |
42 |
- ../C/NCSEcw/lcms/src/cmsgamma.c \ |
43 |
- ../C/NCSEcw/lcms/src/cmsgmt.c \ |
44 |
- ../C/NCSEcw/lcms/src/cmsintrp.c \ |
45 |
- ../C/NCSEcw/lcms/src/cmsio1.c \ |
46 |
- ../C/NCSEcw/lcms/src/cmslut.c \ |
47 |
- ../C/NCSEcw/lcms/src/cmsmatsh.c \ |
48 |
- ../C/NCSEcw/lcms/src/cmsmtrx.c \ |
49 |
- ../C/NCSEcw/lcms/src/cmsnamed.c \ |
50 |
- ../C/NCSEcw/lcms/src/cmspack.c \ |
51 |
- ../C/NCSEcw/lcms/src/cmspcs.c \ |
52 |
- ../C/NCSEcw/lcms/src/cmssamp.c \ |
53 |
- ../C/NCSEcw/lcms/src/cmsvirt.c \ |
54 |
- ../C/NCSEcw/lcms/src/cmswtpnt.c \ |
55 |
- ../C/NCSEcw/lcms/src/cmsxform.c \ |
56 |
../C/NCSGDT2/NCSGDTEpsg.cpp \ |
57 |
../C/NCSGDT2/NCSGDTEPSGKey.cpp \ |
58 |
../C/NCSGDT2/NCSGDTLocation.cpp |
59 |
diff -Naur ../libecwj2-3.3/Source/include/NCSJPCDefs.h ./Source/include/NCSJPCDefs.h |
60 |
--- ../libecwj2-3.3/Source/include/NCSJPCDefs.h 2006-07-02 20:15:24.000000000 -0500 |
61 |
+++ ./Source/include/NCSJPCDefs.h 2009-03-16 14:00:27.000000000 -0500 |
62 |
@@ -59,7 +59,7 @@ |
63 |
// Use LCMS for ICC->RGB conversions, supports both |
64 |
// restricted and full ICC profiles. |
65 |
// |
66 |
-#define NCSJPC_USE_LCMS |
67 |
+//#define NCSJPC_USE_LCMS |
68 |
|
69 |
// |
70 |
// Use TinyXML for XML DOM Parsing |
71 |
diff -Naur ../libecwj2-3.3/configure.in ./configure.in |
72 |
--- ../libecwj2-3.3/configure.in 2006-07-02 20:13:30.000000000 -0500 |
73 |
+++ ./configure.in 2009-03-16 14:00:14.000000000 -0500 |
74 |
@@ -32,17 +32,6 @@ |
75 |
# Build some standard absolute include paths for the build |
76 |
|
77 |
MAIN_INCLUDE_DIR="$PWD/Source/include" |
78 |
-LCMS_INCLUDE_DIR="$PWD/Source/C/NCSEcw/lcms/include" |
79 |
- |
80 |
-# Run configure in the LCMS directory (using LCMS's own configure script) |
81 |
-# to initialise any platform dependent settings that it uses |
82 |
-# (e.g. typedefs for int types) |
83 |
- |
84 |
-THISDIR=$PWD |
85 |
-cd Source/C/NCSEcw/lcms |
86 |
-chmod +x configure |
87 |
-./configure |
88 |
-cd $THISDIR |
89 |
|
90 |
# Build LIBECWJ2_DEFS with all defines, and NCSGnuSystemDefs.h with defines |
91 |
# needed by apps building against libecwj2. |
92 |
@@ -89,7 +78,7 @@ |
93 |
LIBECWJ2_CFLAGS="$PLATFORM_CFLAGS" |
94 |
LIBECWJ2_STATIC_LDFLAGS="$PLATFORM_STATIC_LDFLAGS" |
95 |
LIBECWJ2_SHARED_LDFLAGS="$PLATFORM_SHARED_LDFLAGS" |
96 |
-LIBECWJ2_INCLUDES="-I$MAIN_INCLUDE_DIR -I$LCMS_INCLUDE_DIR" |
97 |
+LIBECWJ2_INCLUDES="-I$MAIN_INCLUDE_DIR" |
98 |
|
99 |
rm -f Source/NCSBuildGnu/NCSGnuSystemDefs.h |
100 |
echo "#ifndef LIBECWJ2" > Source/NCSBuildGnu/NCSGnuSystemDefs.h |