Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7D3BBBEB for ; Mon, 2 Jan 2012 20:47:02 +0000 (UTC) Received: (qmail 30522 invoked by uid 500); 2 Jan 2012 20:47:02 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 30475 invoked by uid 500); 2 Jan 2012 20:47:02 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 30467 invoked by uid 99); 2 Jan 2012 20:47:02 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 20:47:02 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 20:47:01 +0000 Date: Mon, 2 Jan 2012 17:46:59 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: [BUILD] Linux buildboot set up and configure switches Message-ID: <20120102204659.GD13940@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="P+33d92oIH25kiaB" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there, now the buildboot's builds are configured with the following switches: --with-jdk-home=3D/usr/lib/jvm/java-6-sun=20 --with-system-python --enable-verbose=20 --with-package-format=3Ddeb --with-build-version=3D2012-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: =2E/configure \ --with-build-version=3D"$(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=3D"installed rpm deb" The first switch --with-build-version=3D"$(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')"=20 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,=20 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?rev= ision=3D1162288&view=3Dco 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=20 image [1] you will have to add the following pakages to build AOO with=20 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 --=20 Ariel Constenla-Haile La Plata, Argentina --P+33d92oIH25kiaB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPAhfDAAoJEMjP1bm45QNWHz8P/3Idj5BqZ3rItsLvCvAa88d2 PTBM0Z4wO5OelgGd1rwvlSL0fEZZDE9j2gjq09t5PzXSEZA3sTwH577pvCEjXe5S 9CnxdNmhP9pYct4/VRyldkw0no1H3OpwIYmtIpXL47G91Cz302nelw2kkhTm+8ZV rkm2kEUOnZKmgM8ediyjnczYJoJSoOB6RNB7tEHvS4NsVC2PU+jF7bWBYjSAskJS 9hFnY6SM6liO8F1rAl0hTe2v43opph/uH89BzskVE0fHbOKAzRL3W5j/8ZzvF46N o/ZtKqNdipJN22+bSM6Wsv9kOIjTkI6lkgCgSsYfjycKjnVwqsABYLMvoE5c023t zNkwN2wOZEm4RojQIfCAKPHV6aG4T+yXejat2XT50tSECMqgy2EPqnaKPD2qTOwK UmUIhrjz+g6AHLyuNVSPSYwJginIdu0Fk8ANKYzs++nFRI3bcjFZG8rZATHn9Nrh foz/MUaQVwT27mu4r9+lRcgqtsW7bQ2QmQtTdssT1QRzgSHvZnonP5xXx5yEzaTV 92ib/310GSc7nxFr0ScTcVDBaRAKzHdfi/eI5FHyf29aszozZCcfWzsvZasvlG33 2jjpSkSdzZjN31wjUPA8uxH6Nmq+eUYN3CUKkjr3hQeeUZshPgqjGY/Vqoof67kU n+C/j15RASPAXG1upa1R =QL/x -----END PGP SIGNATURE----- --P+33d92oIH25kiaB--