Code

tweaks
authorishmal <ishmal@users.sourceforge.net>
Wed, 11 Jun 2008 18:14:36 +0000 (18:14 +0000)
committerishmal <ishmal@users.sourceforge.net>
Wed, 11 Jun 2008 18:14:36 +0000 (18:14 +0000)
build-lx.xml

index d90d9952d43402244f0fa3c60971d6166b85713d..ae4e269419f954807db4659a8206a603fdb651ca 100644 (file)
     <!-- Compile from source to build -->
     <cc cc="${arch}gcc" cxx="${arch}g++"
              destdir="${build}/obj"
-                        continueOnError="false"
-                        refreshCache="${refresh}">
+             continueOnError="false"
+             refreshCache="${refresh}">
         <fileset dir="${src}">
             <!-- THINGS TO EXCLUDE -->
             <exclude name="2geom/chebyshev.cpp"/>
         </excludeinc>
         <flags>
             -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
-            -O2 -g
+            -O2
         </flags>
         <defines>
             -DVERSION=\"${version}\"
             <!-- GTK / GTKMM -->
             ${pcc.gtkmm-2.4}
             <!-- OTHER -->
-            -I${devlibs}/include/libxml2 
+            ${pcc.libxslt}
             ${pcc.freetype2}
             ${pcc.cairo}
             ${pcc.poppler}
             -I${devlibs}/include/gc
-            -I${devlibs}/include/libwpg-0.1
-            -I${devlibs}/include/libwpd-0.8
-            <!-- PERL -->
-            <!-- -Wno-comment -I${devlibs}/perl/lib/CORE -->
+            ${pcc.libwpg-0.1} ${pcc.libwpg-stream-0.1}
             <!-- PYTHON -->
             -I${devlibs}/python/include
             <!-- JAVA -->
            ${pcl.gtkmm-2.4}
            ${pcl.cairo} ${pcl.cairomm-1.0}
            ${pcl.gthread-2.0}
-           -lxml2 -lxslt
-           -lwpg-0.1 -lwpg-stream-0.1
+           ${pcl.libxslt}
+           ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1}
            ${pcl.ImageMagick++}
            ${pcl.fontconfig} ${pcl.freetype2}
            ${pcl.lcms}
            ${pcl.gsl}
            -lssl -lcrypto
            -lpng -ljpeg -ltiff -lpopt -lz
-           -lgc
-          -lm
-           <!-- 2geom -->
-           <!-- -l2geom -->
+           -lgc -lm
        </libs>
     </link>
   </target>
            -lssl -lcrypto
            -lpng -ljpeg -ltiff -lpopt -lz
            -lgc
-          -lintl -liconv -lm
+       -lintl -liconv -lm
        </libs>
     </link>
   </target>