diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-11-17 00:20:20 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-11-17 00:20:20 +0000 |
| commit | 6475450c9abb665384d7667e51676db167121b5b (patch) | |
| tree | 69381821749c6a5060b45b455e53690a43235f72 | |
| parent | New file. use for building with gtk28 (diff) | |
| download | inkscape-6475450c9abb665384d7667e51676db167121b5b.tar.gz inkscape-6475450c9abb665384d7667e51676db167121b5b.zip | |
library tweaks
(bzr r1966)
| -rw-r--r-- | build.xml | 9 | ||||
| -rw-r--r-- | build28.xml | 6 | ||||
| -rw-r--r-- | buildtool.cpp | 17 |
3 files changed, 14 insertions, 18 deletions
@@ -85,7 +85,7 @@ <exclude name="removeoverlap/remove_rectangle_overlap-test.h"/>
</fileset>
<flags>
- -Wall -O3
+ -Wall -g -O3
-mms-bitfields
</flags>
<defines>
@@ -181,7 +181,7 @@ -lgc -mwindows -lws2_32 -lintl -lm
</libs>
</link>
- <strip file="${build}/inkscape.exe"/>
+ <!--<strip file="${build}/inkscape.exe"/>-->
</target>
<target name="dist" depends="link,i18n"
@@ -220,15 +220,14 @@ <copy file="${gtk}/bin/libxml2.dll" todir="${dist}"/>
<copy file="${gtk}/bin/xmlparse.dll" todir="${dist}"/>
<copy file="${gtk}/bin/jpeg62.dll" todir="${dist}"/>
- <copy file="${gtk}/bin/libintl-2.dll" todir="${dist}"/>
- <copy file="${gtk}/bin/libintl-2.dll" tofile="${dist}/intl.dll"/>
- <copy file="${gtk}/bin/libpng13.dlll" todir="${dist}"/>
+ <copy file="${gtk}/bin/libpng13.dll" todir="${dist}"/>
<copy file="${gtk}/bin/msvcr70.dll" todir="${dist}"/>
<copy file="${gtk}/bin/msvcr71.dll" todir="${dist}"/>
<copy file="${gtk}/bin/zlib1.dll" todir="${dist}"/>
<copy file="${gtk}/bin/iconv.dll" todir="${dist}"/>
<copy file="${gtk}/bin/popt1.dll" todir="${dist}"/>
<copy file="${gtk}/bin/liblcms-1.dll" todir="${dist}"/>
+ <copy file="${gtk}/bin/intl.dll" todir="${dist}"/>
<copy file="${gtk}/bin/intl.dll" tofile="${dist}/libintl-2.dll"/>
<!-- MSGFMT files -->
diff --git a/build28.xml b/build28.xml index dcd2813f7..fcae72ee9 100644 --- a/build28.xml +++ b/build28.xml @@ -218,15 +218,15 @@ <copy file="${gtk}/bin/libxml2.dll" todir="${dist}"/>
<copy file="${gtk}/bin/xmlparse.dll" todir="${dist}"/>
<copy file="${gtk}/bin/jpeg62.dll" todir="${dist}"/>
- <copy file="${gtk}/bin/libintl-2.dll" todir="${dist}"/>
- <copy file="${gtk}/bin/libintl-2.dll" tofile="${dist}/intl.dll"/>
- <copy file="${gtk}/bin/libpng13.dlll" todir="${dist}"/>
+ <copy file="${gtk}/bin/libpng13.dll" todir="${dist}"/>
<copy file="${gtk}/bin/msvcr70.dll" todir="${dist}"/>
<copy file="${gtk}/bin/msvcr71.dll" todir="${dist}"/>
<copy file="${gtk}/bin/zlib1.dll" todir="${dist}"/>
<copy file="${gtk}/bin/iconv.dll" todir="${dist}"/>
<copy file="${gtk}/bin/popt1.dll" todir="${dist}"/>
<copy file="${gtk}/bin/liblcms-1.dll" todir="${dist}"/>
+ <copy file="${gtk}/bin/intl.dll" todir="${dist}"/>
+ <copy file="${gtk}/bin/intl.dll" tofile="${dist}/libintl-2.dll"/>
<!-- MSGFMT files -->
<copy todir="${dist}"> <fileset dir="${build}/po"/> </copy>
diff --git a/buildtool.cpp b/buildtool.cpp index bcec40c93..11d6b7fa9 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -4416,21 +4416,18 @@ std::vector<DepRec> DepTool::loadDepFile(const String &depFile) std::vector<DepRec>::iterator iter; for (iter = result.begin() ; iter != result.end() ; iter++) { - if (iter->path > depObject.path) + String vpath = iter->path; + vpath.append("/"); + vpath.append(iter->name); + String opath = depObject.path; + opath.append("/"); + opath.append(depObject.name); + if (vpath > opath) { inserted = true; iter = result.insert(iter, depObject); break; } - else if (iter->path == depObject.path) - { - if (iter->name > depObject.name) - { - inserted = true; - iter = result.insert(iter, depObject); - break; - } - } } if (!inserted) result.push_back(depObject); |
