From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LUfxM-0007PB-VG for garchives@archives.gentoo.org; Wed, 04 Feb 2009 11:30:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B0F8E055A; Wed, 4 Feb 2009 11:30:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 22E7AE055A for ; Wed, 4 Feb 2009 11:30:11 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id A294E6483F for ; Wed, 4 Feb 2009 11:30:10 +0000 (UTC) Received: from armin76 by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1LUfxK-0003ll-4z for gentoo-commits@lists.gentoo.org; Wed, 04 Feb 2009 11:30:10 +0000 From: "Raul Porcel (armin76)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, armin76@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-libs/xulrunner: ChangeLog xulrunner-1.9.0.6.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog xulrunner-1.9.0.6.ebuild X-VCS-Directories: net-libs/xulrunner X-VCS-Committer: armin76 X-VCS-Committer-Name: Raul Porcel Content-Type: text/plain; charset=utf8 Message-Id: Sender: Raul Porcel Date: Wed, 04 Feb 2009 11:30:10 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4d95af87-de38-4956-84b7-d714acb79b65 X-Archives-Hash: 077969852b29a99bf6e376f1739d8f53 armin76 09/02/04 11:30:10 Modified: ChangeLog Added: xulrunner-1.9.0.6.ebuild Log: Version bump (Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64) Revision Changes Path 1.179 net-libs/xulrunner/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner= /ChangeLog?rev=3D1.179&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner= /ChangeLog?rev=3D1.179&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner= /ChangeLog?r1=3D1.178&r2=3D1.179 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v retrieving revision 1.178 retrieving revision 1.179 diff -u -r1.178 -r1.179 --- ChangeLog 21 Jan 2009 06:34:50 -0000 1.178 +++ ChangeLog 4 Feb 2009 11:30:10 -0000 1.179 @@ -1,6 +1,11 @@ # ChangeLog for net-libs/xulrunner # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.178 = 2009/01/21 06:34:50 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.179 = 2009/02/04 11:30:10 armin76 Exp $ + +*xulrunner-1.9.0.6 (04 Feb 2009) + + 04 Feb 2009; Ra=C3=BAl Porcel +xulrunner-1.9.0.6.= ebuild: + Version bump =20 21 Jan 2009; Gordon Malm xulrunner-1.9.0.5.ebuild: Append fno-stack-protector on all ARCHes for CXX only. Bugs 253639, 25= 3737. 1.1 net-libs/xulrunner/xulrunner-1.9.0.6.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner= /xulrunner-1.9.0.6.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner= /xulrunner-1.9.0.6.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: xulrunner-1.9.0.6.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.0.6.e= build,v 1.1 2009/02/04 11:30:10 armin76 Exp $ WANT_AUTOCONF=3D"2.1" inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib= java-pkg-opt-2 python autotools PATCH=3D"${PN}-1.9.0.5-patches-0.1" DESCRIPTION=3D"Mozilla runtime package that can be used to bootstrap XUL+= XPCOM applications" HOMEPAGE=3D"http://developer.mozilla.org/en/docs/XULRunner" SRC_URI=3D"mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~armin76/dist/${P}.tar.bz2 mirror://gentoo/${PATCH}.tar.bz2 http://dev.gentoo.org/~armin76/dist/${PATCH}.tar.bz2" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86" SLOT=3D"1.9" LICENSE=3D"|| ( MPL-1.1 GPL-2 LGPL-2.1 )" IUSE=3D"" RDEPEND=3D"java? ( >=3Dvirtual/jre-1.4 ) >=3Dsys-devel/binutils-2.16.1 >=3Ddev-libs/nss-3.12.2 >=3Ddev-libs/nspr-4.7.3 >=3Dapp-text/hunspell-1.1.9 >=3Dmedia-libs/lcms-1.17" DEPEND=3D"java? ( >=3Dvirtual/jdk-1.4 ) ${RDEPEND} dev-util/pkgconfig" S=3D"${WORKDIR}/mozilla" # Needed by src_compile() and src_install(). # Would do in pkg_setup but that loses the export attribute, they # become pure shell variables. export MOZ_CO_PROJECT=3Dxulrunner export BUILD_OFFICIAL=3D1 export MOZILLA_OFFICIAL=3D1 pkg_setup(){ if ! built_with_use x11-libs/cairo X; then eerror "Cairo is not built with X useflag." eerror "Please add 'X' to your USE flags, and re-emerge cairo." die "Cairo needs X" fi if ! built_with_use --missing true x11-libs/pango X; then eerror "Pango is not built with X useflag." eerror "Please add 'X' to your USE flags, and re-emerge pango." die "Pango needs X" fi java-pkg-opt-2_pkg_setup } src_unpack() { unpack ${A} # Apply our patches cd "${S}" || die "cd failed" EPATCH_SUFFIX=3D"patch" \ EPATCH_FORCE=3D"yes" \ epatch "${WORKDIR}"/patch eautoreconf || die "failed running eautoreconf" # We need to re-patch this because autoreconf overwrites it epatch "${WORKDIR}"/patch/000_flex-configure-LANG.patch } src_compile() { declare MOZILLA_FIVE_HOME=3D"/usr/$(get_libdir)/${PN}-1.9" #################################### # # mozconfig, CFLAGS and CXXFLAGS setup # #################################### mozconfig_init mozconfig_config MEXTENSIONS=3D"default" # if use python; then # MEXTENSIONS=3D"${MEXTENSIONS},python/xpcom" # fi # It doesn't compile on alpha without this LDFLAGS use alpha && append-ldflags "-Wl,--no-relax" mozconfig_annotate '' --enable-extensions=3D"${MEXTENSIONS}" mozconfig_annotate '' --disable-mailnews mozconfig_annotate 'broken' --disable-mochitest mozconfig_annotate 'broken' --disable-crashreporter mozconfig_annotate '' --enable-system-hunspell #mozconfig_annotate '' --enable-system-sqlite mozconfig_annotate '' --enable-image-encoder=3Dall mozconfig_annotate '' --enable-canvas #mozconfig_annotate '' --enable-js-binary mozconfig_annotate '' --enable-embedding-tests mozconfig_annotate '' --with-system-nspr mozconfig_annotate '' --with-system-nss mozconfig_annotate '' --enable-system-lcms mozconfig_annotate '' --with-system-bz2 # Bug 60668: Galeon doesn't build without oji enabled, so enable it # regardless of java setting. mozconfig_annotate '' --enable-oji --enable-mathml mozconfig_annotate 'places' --enable-storage --enable-places --enable-pl= aces_bookmarks mozconfig_annotate '' --enable-safe-browsing # Other ff-specific settings mozconfig_annotate '' --enable-jsd mozconfig_annotate '' --enable-xpctools mozconfig_annotate '' --with-default-mozilla-five-home=3D${MOZILLA_FIVE_= HOME} #disable java if ! use java ; then mozconfig_annotate '-java' --disable-javaxpcom fi # Finalize and report settings mozconfig_final if [[ $(gcc-major-version) -lt 4 ]]; then append-cxxflags -fno-stack-protector fi #################################### # # Configure and build # #################################### CPPFLAGS=3D"${CPPFLAGS} -DARON_WAS_HERE" \ CC=3D"$(tc-getCC)" CXX=3D"$(tc-getCXX)" LD=3D"$(tc-getLD)" \ econf || die # It would be great if we could pass these in via CPPFLAGS or CFLAGS pri= or # to econf, but the quotes cause configure to fail. sed -i -e \ 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=3D\\\"/usr/'"$(get_libdir)"'/= nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=3D\\\"/usr/'"$(get_libdir)"'= /nsbrowser/plugins\\\"|' \ "${S}"/config/autoconf.mk \ "${S}"/toolkit/content/buildconfig.html emake || die "emake failed" } src_install() { declare MOZILLA_FIVE_HOME=3D"/usr/$(get_libdir)/${PN}-1.9" emake DESTDIR=3D"${D}" install || die "emake install failed" rm "${D}"/usr/bin/xulrunner dodir /usr/bin dosym ${MOZILLA_FIVE_HOME}/xulrunner /usr/bin/xulrunner-1.9 # Add vendor echo "pref(\"general.useragent.vendor\",\"Gentoo\");" \ >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js if use java ; then java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar fi }