Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502100 - dev-java/swt-3.8.2 version bump
Summary: dev-java/swt-3.8.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 481582
  Show dependency tree
 
Reported: 2014-02-22 10:46 UTC by Ryan Hill (RETIRED)
Modified: 2014-03-09 07:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full ebuild (swt-3.8.2.ebuild,4.71 KB, text/plain)
2014-02-22 10:46 UTC, Ryan Hill (RETIRED)
Details
swt-3.8-as-needed-and-flag-fixes.patch (swt-3.8-as-needed-and-flag-fixes.patch,8.64 KB, patch)
2014-02-22 10:48 UTC, Ryan Hill (RETIRED)
Details | Diff
swt-3.8.2-gthread.patch (swt-3.8.2-gthread.patch,1.20 KB, patch)
2014-02-22 10:48 UTC, Ryan Hill (RETIRED)
Details | Diff
swt-3.8-manifest (swt-3.8-manifest,750 bytes, text/plain)
2014-02-22 10:49 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2014-02-22 10:46:29 UTC
Created attachment 371008 [details]
Full ebuild

This version is required for net-p2p/vuze-5.3.0.0.


--- /usr/portage/dev-java/swt/swt-3.7.2-r1.ebuild	2014-02-02 05:31:09.000000000 -0600
+++ swt-3.8.2.ebuild	2014-02-22 03:09:09.339955118 -0600
@@ -7,7 +7,7 @@
 inherit eutils java-pkg-2 java-ant-2 toolchain-funcs java-osgi
 
 MY_PV="${PV/_rc/RC}"
-MY_DMF="download.eclipse.org/eclipse/downloads/drops/R-${MY_PV}-201202080800"
+MY_DMF="archive.eclipse.org/eclipse/downloads/drops/R-${MY_PV}-201301310800"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="GTK based SWT Library"
@@ -28,7 +28,7 @@
 			http://${MY_DMF}/${MY_P}-gtk-linux-ppc64.zip
 		)"
 
-SLOT="3.7"
+SLOT="3.8"
 LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
 KEYWORDS="~amd64 ppc ~ppc64 ~x86"
 
@@ -82,12 +82,8 @@
 	mkdir "${S}/src" && mv "${S}/org" "${S}/src" || die "Unable to restructure SWT sources"
 
 	# Fix Makefiles to respect flags and work with --as-needed
-	epatch "${FILESDIR}"/as-needed-and-flag-fixes-3.6.patch
-
-	case ${ARCH} in
-		ppc|x86) epatch "${FILESDIR}"/${P}-gio_launch-URI-x86.patch ;;
-		*)       epatch "${FILESDIR}"/${P}-gio_launch-URI.patch ;;
-	esac
+	epatch "${FILESDIR}"/${PN}-3.8-as-needed-and-flag-fixes.patch
+	epatch "${FILESDIR}"/${P}-gthread.patch
 }
 
 src_compile() {
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2014-02-22 10:48:16 UTC
Created attachment 371010 [details, diff]
swt-3.8-as-needed-and-flag-fixes.patch
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2014-02-22 10:48:40 UTC
Created attachment 371012 [details, diff]
swt-3.8.2-gthread.patch
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2014-02-22 10:49:08 UTC
Created attachment 371014 [details]
swt-3.8-manifest
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2014-03-09 07:20:12 UTC
Fixed.