summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35957e2)
raw | patch | inline | side by side (parent: 35957e2)
author | ishmal <ishmal@users.sourceforge.net> | |
Fri, 17 Nov 2006 00:20:20 +0000 (00:20 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Fri, 17 Nov 2006 00:20:20 +0000 (00:20 +0000) |
build.xml | patch | blob | history | |
build28.xml | patch | blob | history | |
buildtool.cpp | patch | blob | history |
diff --git a/build.xml b/build.xml
index f40afe4f0dd8553c4feca60c59641a6686021f86..1ffee9d10fc0383018dd82f6f8bc9ba832a56c16 100644 (file)
--- a/build.xml
+++ b/build.xml
<exclude name="removeoverlap/remove_rectangle_overlap-test.h"/>\r
</fileset>\r
<flags>\r
- -Wall -O3\r
+ -Wall -g -O3\r
-mms-bitfields\r
</flags>\r
<defines>\r
-lgc -mwindows -lws2_32 -lintl -lm\r
</libs>\r
</link>\r
- <strip file="${build}/inkscape.exe"/>\r
+ <!--<strip file="${build}/inkscape.exe"/>-->\r
</target>\r
\r
<target name="dist" depends="link,i18n"\r
<copy file="${gtk}/bin/libxml2.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/xmlparse.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/jpeg62.dll" todir="${dist}"/>\r
- <copy file="${gtk}/bin/libintl-2.dll" todir="${dist}"/>\r
- <copy file="${gtk}/bin/libintl-2.dll" tofile="${dist}/intl.dll"/>\r
- <copy file="${gtk}/bin/libpng13.dlll" todir="${dist}"/>\r
+ <copy file="${gtk}/bin/libpng13.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/msvcr70.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/msvcr71.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/zlib1.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/iconv.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/popt1.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/liblcms-1.dll" todir="${dist}"/>\r
+ <copy file="${gtk}/bin/intl.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/intl.dll" tofile="${dist}/libintl-2.dll"/>\r
\r
<!-- MSGFMT files -->\r
diff --git a/build28.xml b/build28.xml
index dcd2813f7c622637408e3aeec28c32a81c12121e..fcae72ee9607bd972fecc6bdeab6c4776a2575c0 100644 (file)
--- a/build28.xml
+++ b/build28.xml
<copy file="${gtk}/bin/libxml2.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/xmlparse.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/jpeg62.dll" todir="${dist}"/>\r
- <copy file="${gtk}/bin/libintl-2.dll" todir="${dist}"/>\r
- <copy file="${gtk}/bin/libintl-2.dll" tofile="${dist}/intl.dll"/>\r
- <copy file="${gtk}/bin/libpng13.dlll" todir="${dist}"/>\r
+ <copy file="${gtk}/bin/libpng13.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/msvcr70.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/msvcr71.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/zlib1.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/iconv.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/popt1.dll" todir="${dist}"/>\r
<copy file="${gtk}/bin/liblcms-1.dll" todir="${dist}"/>\r
+ <copy file="${gtk}/bin/intl.dll" todir="${dist}"/>\r
+ <copy file="${gtk}/bin/intl.dll" tofile="${dist}/libintl-2.dll"/>\r
\r
<!-- MSGFMT files -->\r
<copy todir="${dist}"> <fileset dir="${build}/po"/> </copy>\r
diff --git a/buildtool.cpp b/buildtool.cpp
index bcec40c93227b0cf31b1799ffb008e867c36d443..11d6b7fa990d52b6da5c9660af73142777238d36 100644 (file)
--- a/buildtool.cpp
+++ b/buildtool.cpp
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);