Hi, I am supporting this proposed change of our current Linux buildbot.
May be this buildbot could also produce more than one language. Best regards, Oliver. On 02.01.2012 21:46, Ariel Constenla-Haile wrote:
Hi there, now the buildboot's builds are configured with the following switches: --with-jdk-home=/usr/lib/jvm/java-6-sun --with-system-python --enable-verbose --with-package-format=deb --with-build-version=2012-01-02 IMO those switches have the following drawbacks: * system python should not be used. A universal Linux build should have internal python instead * package format should also include RPM packages * builds should include category B * the build boot should also build the extensions (AFAIK only the Presenter Console, the Presentation Minimizer and the Wiki Publisher are buildable after the ip clearance) So I'd propose to use the following switches: ./configure \ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") - Rev. $(echo $(svn info) | sed -e 's/^.*Last Changed Rev: //g' -e 's/ .*//g')" \ --enable-verbose \ --enable-category-b \ --enable-minimizer \ --enable-presenter-console \ --enable-wiki-publisher \ --enable-opengl \ --enable-dbus \ --enable-gstreamer \ --with-package-format="installed rpm deb" The first switch --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") - Rev. $(echo $(svn info) | sed -e 's/^.*Last Changed Rev: //g' -e 's/ .*//g')" will produce a string in the About Dialog like this: 2012-01-02 17:20:41 (Mon, 02 Jan 2012) - Rev. 1226336 Adding date-time and revision info to the dialog is IMO a good idea. The following switches --enable-category-b --enable-opengl --enable-dbus --enable-gstreamer provide the basic a Linux AOO user could expect (OpenGL transitions, GStreamer AVMedia plugin, all category B features). The following switches --enable-minimizer \ --enable-presenter-console \ --enable-wiki-publisher \ enable the three extensions. Finally, the buildboot should be update to use EPM 3.7 patched with http://svn.apache.org/viewvc/incubator/ooo/trunk/main/epm/epm-3.7.patch?revision=1162288&view=co to produce packages installable on Debian. ------------------------------------------------------------------------- Final note for those trying to build themselves: on a default installation of Ubuntu 10.04.3 LTS (Lucid Lynx) live-cd image [1] you will have to add the following pakages to build AOO with the above mentioned switches: sudo apt-get install \ rpm \ autoconf \ libarchive-zip-perl \ g++ \ libcups2-dev \ libpam-dev \ openjdk-6-jdk \ gperf \ libfreetype6-dev \ libgtk2.0-dev \ libxaw7-dev \ bison \ flex \ libgconf2-dev \ libgnomevfs2-dev \ libdbus-glib-1-dev \ libgstreamer-plugins-base0.10-dev \ mesa-common-dev \ libgl1-mesa-dev \ libglu1-mesa-dev \ ant \ junit4 \ libidl-dev [1] http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/lucid/ Regards
