Fixing up deps; Cleaning the ebuild a bit; Resolves bug #105587
authorSaleem Abdulrasool <compnerd@gentoo.org>
Sun, 23 Oct 2005 04:29:00 +0000 (04:29 +0000)
committerSaleem Abdulrasool <compnerd@gentoo.org>
Sun, 23 Oct 2005 04:29:00 +0000 (04:29 +0000)
Package-Manager: portage-2.0.53_rc6

dev-java/swt/ChangeLog
dev-java/swt/Manifest
dev-java/swt/swt-3.2_pre1.ebuild

index 6d8b52efa4e687ef86f2a1ed8b5479ebacc29541..c3dc955838e51e7e086e34366de6080802536ab5 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-java/swt
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/ChangeLog,v 1.27 2005/10/22 17:11:03 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/ChangeLog,v 1.28 2005/10/23 04:29:00 compnerd Exp $
+
+  24 Oct 2005; Saleem Abdulrasool <compnerd@gentoo.org> swt-3.2_pre1.ebuild:
+  Updating CAIRO depend.  Minor ebuild cleanup.
 
   23 Oct 2005; Saleem Abdulrasool <compnerd@gentoo.org> swt-3.2_pre1.ebuild:
   Fixing dependency on GTK+  Resolves bug #109267
index 4c619737bb6fb113a7721dcf0dc90f5a76046742..46fd19079dc011edb3c913f0d2f77540fb049c4b 100644 (file)
@@ -1,4 +1,4 @@
-MD5 1b8d2f592ee7f4f260244d1e9b145129 ChangeLog 5030
+MD5 340c60ab8b11dda5bed5fdee3229be58 ChangeLog 5156
 MD5 ad4aa305806513ab198281b6e485fbbc files/SWTMessages.properties 2085
 MD5 c964f0ff0b83afdfd76d872821540574 files/build.xml 476
 MD5 5d9afb3da5c7a84844807032c229b5a0 files/digest-swt-3.1-r1 216
@@ -7,4 +7,4 @@ MD5 b246c6ca2f33a241ab92d5a8c74da665 files/swt-cairo-0.9.2-amd64.patch 8325
 MD5 86a056e193ce8f351e3b12d7f5751861 files/swt-cairo-0.9.2.patch 8692
 MD5 5ea14ff7e96eeb0ce1c8a161b7f1ce3f metadata.xml 541
 MD5 f387ebc54db186eb59aeb42a256517eb swt-3.1-r1.ebuild 5319
-MD5 e80d9ebeae200e70f49b21dfc850c1fb swt-3.2_pre1.ebuild 5499
+MD5 302061019d1fadb5cbdd111822037a05 swt-3.2_pre1.ebuild 5166
index e7bb3531a2036611490c09e1fd75d847d830529d..fbac1ef384108fa2721df510c24788d39f3d4826 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2_pre1.ebuild,v 1.3 2005/10/22 17:11:03 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2_pre1.ebuild,v 1.4 2005/10/23 04:29:00 compnerd Exp $
 
 inherit eutils java-pkg
 
@@ -25,7 +25,7 @@ RDEPEND=">=virtual/jre-1.4
                                        !firefox? ( >=www-client/mozilla-1.4 )
                                  )
                 gnome? ( =gnome-base/gnome-vfs-2* =gnome-base/libgnomeui-2* )
-                cairo? ( >=x11-libs/cairo-0.3.0 )"
+                cairo? ( >=x11-libs/cairo-1.0.2 )"
 DEPEND=">=virtual/jdk-1.4
                ${RDEPEND}
                  dev-util/pkgconfig
@@ -49,13 +49,7 @@ pkg_setup() {
 
 src_unpack() {
        # Extract based on architecture
-       if [[ ${ARCH} == 'amd64' ]] ; then
-               unpack swt-${MY_VERSION}-gtk-linux-x86_64.zip || die "Unable to unpack sources"
-       elif [[ ${ARCH} == 'ppc' ]] ; then
-               unpack swt-${MY_VERSION}-gtk-linux-ppc.zip || die "Unable to unpack     sources"
-       else
-               unpack swt-${MY_VERSION}-gtk-linux-x86.zip || die "Unable to unpack     sources"
-       fi
+       unpack ${A} || die "Unable to unpack sources"
 
        # Clean up the directory structure
        for f in $(ls); do
@@ -73,12 +67,10 @@ src_unpack() {
        rm -f .classpath .project
 
        # CARIO 0.9.2 API Patch
-       if has_version '>=x11-libs/cairo-0.9.2' ; then
-               if [[ ${ARCH} == 'amd64' ]] ; then
-                       epatch ${FILESDIR}/swt-cairo-0.9.2-amd64.patch
-               else
-                       epatch ${FILESDIR}/swt-cairo-0.9.2.patch
-               fi
+       if [[ ${ARCH} == 'amd64' ]] ; then
+               epatch ${FILESDIR}/swt-cairo-0.9.2-amd64.patch
+       else
+               epatch ${FILESDIR}/swt-cairo-0.9.2.patch
        fi
 
        # Replace the build.xml to allow compilation without Eclipse tasks
@@ -174,7 +166,7 @@ pkg_postinst() {
                ewarn
                ewarn "CAIRO Support is experimental! We are not responsible if"
                ewarn "enabling support for CAIRO corrupts your Gentoo install,"
-               ewarn "if it blows up your computer, or if it becoming sentient"
+               ewarn "if it blows up your computer, or if it becomes sentient"
                ewarn "and chases you down the street yelling random binary!"
                ewarn
                ebeep 5