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 1JvR8N-0006pt-4L for garchives@archives.gentoo.org; Mon, 12 May 2008 06:03:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D0A2E04BE; Mon, 12 May 2008 06:03:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EB58EE04BE for ; Mon, 12 May 2008 06:03:37 +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 935066694B for ; Mon, 12 May 2008 06:03:37 +0000 (UTC) Received: from nerdboy by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JvR8K-00069P-EA for gentoo-commits@lists.gentoo.org; Mon, 12 May 2008 06:03:36 +0000 From: "Steve Arnold (nerdboy)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, nerdboy@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-util/astyle: ChangeLog astyle-1.22.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog astyle-1.22.ebuild X-VCS-Directories: dev-util/astyle X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold Content-Type: text/plain; charset=utf8 Message-Id: Sender: Steve Arnold Date: Mon, 12 May 2008 06:03:36 +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: fe6db8d1-cc11-47fc-8a68-f04b80fc8de9 X-Archives-Hash: e8cb852c1fe41c4c56443a676d6ba290 nerdboy 08/05/12 06:03:36 Modified: ChangeLog Added: astyle-1.22.ebuild Log: Updated for bug #217262 and added some basic java support and a soname (Portage version: 2.1.5_rc6) Revision Changes Path 1.21 dev-util/astyle/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/astyle/Ch= angeLog?rev=3D1.21&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/astyle/Ch= angeLog?rev=3D1.21&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/astyle/Ch= angeLog?r1=3D1.20&r2=3D1.21 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/dev-util/astyle/ChangeLog,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ChangeLog 4 Feb 2008 03:58:43 -0000 1.20 +++ ChangeLog 12 May 2008 06:03:36 -0000 1.21 @@ -1,6 +1,13 @@ # ChangeLog for dev-util/astyle # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/ChangeLog,v 1.20 2008= /02/04 03:58:43 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/ChangeLog,v 1.21 2008= /05/12 06:03:36 nerdboy Exp $ + +*astyle-1.22 (12 May 2008) + + 12 May 2008; Steve Arnold + +files/astyle-1.22-strip.patch, +astyle-1.22.ebuild: + Updated for bug #217262 and added some basic java support and a soname= ; + thanks to Adam for the updated patch. =20 04 Feb 2008; Steve Arnold astyle-1.21.ebuild: Fixed string quoting and added some dies to the manual install command= s, @@ -11,7 +18,7 @@ Dropped ppc-macos keyword, see you in prefix =20 14 Nov 2007; Robin H. Johnson astyle-1.21.ebuild: - Fix $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/ChangeLog,v 1.20 = 2008/02/04 03:58:43 nerdboy Exp $ string. + Fix $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/ChangeLog,v 1.21 = 2008/05/12 06:03:36 nerdboy Exp $ string. =20 *astyle-1.21 (07 Oct 2007) =20 1.1 dev-util/astyle/astyle-1.22.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/astyle/as= tyle-1.22.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/astyle/as= tyle-1.22.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: astyle-1.22.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-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/astyle-1.22.ebuild,v 1= .1 2008/05/12 06:03:36 nerdboy Exp $ inherit eutils java-pkg-opt-2 DESCRIPTION=3D"Artistic Style is a reindenter and reformatter of C++, C a= nd Java source code" HOMEPAGE=3D"http://astyle.sourceforge.net/" SRC_URI=3D"mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE=3D"LGPL-2.1" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE=3D"debug java libs" RDEPEND=3D"java? ( >=3Dvirtual/jre-1.5 )" DEPEND=3D"java? ( >=3Dvirtual/jre-1.5 )" S=3D${WORKDIR}/${PN} pkg_setup() { use java && java-pkg-2_pkg_setup if use x86; then jvmarch=3Di386 else jvmarch=3D${ARCH} fi } src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-strip.patch # Add basic soname to make QA happy... sed -i -e "s:-shared:-shared -Wl,-soname,\$@ :g" buildgcc/Makefile use java && setup-jvm-opts } src_compile() { cd buildgcc local build_targets=3D"all" use java && build_targets=3D"${build_targets} javaall" emake ${build_targets} || die "build failed" } src_install() { if use debug ; then newbin bin/astyled astyle || die "install debug bin failed" newlib.a bin/libastyled.a libastyle.a \ || die "install debug static lib failed" if use libs ; then # shared lib got a soname patch newlib.so bin/libastyled.so libastyle.so \ || die "install debug shared lib failed" if use java ; then local j_dir=3D"/usr/$(get_libdir)" dolib.so bin/libastylejd.so \ || die "install debug shared java lib failed" java-pkg_regso "${D}${j_dir}/libastylejd.so" fi fi else if use libs ; then dolib.so bin/libastyle.so || die "install shared lib failed" if use java ; then local j_dir=3D"/usr/$(get_libdir)" dolib.so bin/libastylej.so \ || die "install shared java lib failed" java-pkg_regso "${D}${j_dir}/libastylej.so" fi fi dobin bin/astyle || die "install bin failed" dolib.a bin/libastyle.a || die "install static lib failed" fi dohtml doc/*.html } setup-jvm-opts() { # Figure out correct boot classpath # stolen from eclipse-sdk ebuild local bp=3D"$(java-config --jdk-home)/jre/lib" local bootclasspath=3D$(java-config --runtime) if java-config --java-version | grep -q IBM ; then # IBM JDK JAVA_LIB_DIR=3D"$(java-config --jdk-home)/jre/bin" else # Sun derived JDKs (Blackdown, Sun) JAVA_LIB_DIR=3D"$(java-config --jdk-home)/jre/lib/${jvmarch}" fi einfo "Using bootclasspath ${bootclasspath}" einfo "Using JVM library path ${JAVA_LIB_DIR}" if [[ ! -f ${JAVA_LIB_DIR}/libawt.so ]] ; then die "Could not find libawt.so native library" fi export AWT_LIB_PATH=3D${JAVA_LIB_DIR} } --=20 gentoo-commits@lists.gentoo.org mailing list