<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,14 @@
 #!/bin/bash
 
 if [ x&quot;$1&quot; == x&quot;release&quot; ] ; then
+    echo &quot;Building release binaries&quot;
     output=`pwd`/out.release
     cfg_switches=--disable-debug
     tinyxml_switches=&quot;DEBUG=YES&quot;
     CPPFLAGS=&quot;-O2&quot;
     LDFLAGS=&quot;-g&quot;
 elif [ x&quot;$1&quot; == x&quot;debug&quot; ] ; then
+    echo &quot;Building debug binaries&quot;
     output=`pwd`/out.debug
     tinyxml_switches=
     cfg_switches=--enable-debug
@@ -17,6 +19,18 @@ else
     exit 1
 fi
 
+LBITS=`getconf LONG_BIT`
+if [ x$LBITS == x&quot;64&quot; ] ; then
+    echo &quot;Building 64-bit binaries&quot;
+    WXWIDGETS_EXTRA_CFLAGS=
+elif [ x$LBITS == x&quot;32&quot; ] ; then
+    echo &quot;Building 32-bit binaries&quot;
+    WXWIDGETS_EXTRA_CFLAGS=&quot;-D_FILE_OFFSET_BITS=32&quot;
+else
+    echo &quot;Cannot determine target architecture&quot;
+    exit 1
+fi
+
 echo &quot;Going to place output in $output&quot;
 
 if [[ ! -e $output ]]; then
@@ -74,7 +88,7 @@ popd
 pushd wxwidgets
 ./configure --prefix=$output --enable-monolithic=yes --enable-shared=no --enable-unicode --enable-ffile \
                      --without-libtiff --enable-graphics_ctx $cfg_switches \
-                     --disable-largefile CPPFLAGS=&quot;$CPPCFLAGS -D_FILE_OFFSET_BITS=32&quot; &amp;&amp;
+                     --disable-largefile CPPFLAGS=&quot;$CPPCFLAGS $WXWIDGETS_EXTRA_CFLAGS&quot; &amp;&amp;
     make clean &amp;&amp;
     make &amp;&amp;
     make install ||</diff>
      <filename>external/build_externals_linux.sh</filename>
    </modified>
    <modified>
      <diff>@@ -4,8 +4,8 @@ Section: editors
 Priority: optional
 Architecture: all
 Essential: no
-Depends: gtk2, curl, sqlite3, libxml2, libxslt, libjpg, icu, cairo, openssl
-Installed-Size: 31000
+Depends: libxml2, openssl, libcurl3, libgtk2.0-0, libsqlite3-0, libxslt1.1, libjpeg62, libicu38, libcairo2, ruby
+Installed-Size: 62000
 Maintainer: Alexander Stigsen [source@e-texteditor.com]
 Provides: AlexanderStigsen
 Description: e is a fast and elegant text editor with many innovative features.</diff>
      <filename>external/stuff/control.in</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,7 @@ make DEBUG=1
 If you choose to install packages manually, these are the Ubuntu packages required before building:
 
 - build-essential
-- libwxgtk2.8-dev
+- libgtk2.0-dev
 - libglib2.0-dev
 - libatk1.0-dev
 - libcurl-dev</diff>
      <filename>linux-notes.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>956f5039eae0d964de283d132a36a646ba00241a</id>
    </parent>
  </parents>
  <author>
    <name>Andrey Turkin</name>
    <email>aturkin@aturkin-ubuntu64.(none)</email>
  </author>
  <url>http://github.com/etexteditor/e/commit/8e324bc97c540cbff47ec1e91ef8f5b25da83e04</url>
  <id>8e324bc97c540cbff47ec1e91ef8f5b25da83e04</id>
  <committed-date>2009-05-06T05:01:46-07:00</committed-date>
  <authored-date>2009-05-06T05:01:46-07:00</authored-date>
  <message>64-bit and Ubuntu-related changes</message>
  <tree>ebd33336b3c942d96be3c18b7d20acb515f2759a</tree>
  <committer>
    <name>Andrey Turkin</name>
    <email>aturkin@aturkin-ubuntu64.(none)</email>
  </committer>
</commit>
