diff options
author | Serkan Kaba <serkan@gentoo.org> | 2011-02-14 22:47:14 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2011-02-14 22:47:14 +0000 |
commit | 6370a57643c334d6d1b85165527fde0b67516c7a (patch) | |
tree | 591dc7970f5325ec50412b45d1a4c3f425255b4b /dev-java/java-gnome | |
parent | Bindings updates and fixes. Adds clutter-gtk-1 and pixmap-1 bindings. Clean u... (diff) | |
download | gentoo-2-6370a57643c334d6d1b85165527fde0b67516c7a.tar.gz gentoo-2-6370a57643c334d6d1b85165527fde0b67516c7a.tar.bz2 gentoo-2-6370a57643c334d6d1b85165527fde0b67516c7a.zip |
Revbump previous release to fix src_prepare phase bypassing. Version bump.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/java-gnome')
-rw-r--r-- | dev-java/java-gnome/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/java-gnome/files/java-gnome-4.0.19-libnotify-0.7.patch | 250 | ||||
-rw-r--r-- | dev-java/java-gnome/java-gnome-4.0.18-r2.ebuild (renamed from dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild) | 4 | ||||
-rw-r--r-- | dev-java/java-gnome/java-gnome-4.0.19.ebuild | 76 |
4 files changed, 337 insertions, 3 deletions
diff --git a/dev-java/java-gnome/ChangeLog b/dev-java/java-gnome/ChangeLog index 5d0e3a1668e8..fbb5af3780c6 100644 --- a/dev-java/java-gnome/ChangeLog +++ b/dev-java/java-gnome/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/java-gnome # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.104 2011/02/05 12:36:20 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.105 2011/02/14 22:47:14 serkan Exp $ + +*java-gnome-4.0.19 (14 Feb 2011) +*java-gnome-4.0.18-r2 (14 Feb 2011) + + 14 Feb 2011; Serkan Kaba <serkan@gentoo.org> -java-gnome-4.0.18-r1.ebuild, + +java-gnome-4.0.18-r2.ebuild, +java-gnome-4.0.19.ebuild, + +files/java-gnome-4.0.19-libnotify-0.7.patch: + Revbump previous release to fix src_prepare phase bypassing. Version bump. *java-gnome-4.0.18-r1 (05 Feb 2011) diff --git a/dev-java/java-gnome/files/java-gnome-4.0.19-libnotify-0.7.patch b/dev-java/java-gnome/files/java-gnome-4.0.19-libnotify-0.7.patch new file mode 100644 index 000000000000..b0ab0a8ab572 --- /dev/null +++ b/dev-java/java-gnome/files/java-gnome-4.0.19-libnotify-0.7.patch @@ -0,0 +1,250 @@ +# Bazaar merge directive format 2 (Bazaar 0.90) +# revision_id: serkan@gentoo.org-20110214222729-jwivvvz10xjzzyoz +# target_branch: ../mainline +# testament_sha1: cfb299b802fe3bd72f4a7af3687b5991304ac5eb +# timestamp: 2011-02-15 00:43:14 +0200 +# base_revision_id: andrew@operationaldynamics.com-20110214064042-\ +# fv6tgq41rru7wjng +# +# Begin patch +=== modified file 'configure' +--- configure 2011-02-14 06:40:42 +0000 ++++ configure 2011-02-14 22:27:29 +0000 +@@ -805,7 +805,7 @@ + "gtkspell"); + + check_system_library(@gnomedev_libs, +- "libnotify >= 0.4.5 libnotify < 0.7.0", ++ "libnotify >= 0.7.0", + "LibNotify", + "libnotify"); + +@@ -853,7 +853,7 @@ + "FIXME"); + + check_system_library(@gnomedev_libs, +- "libnotify >= 0.4.5 libnotify < 0.7.0", ++ "libnotify >= 0.7.0", + "LibNotify", + "FIXME"); + +@@ -917,7 +917,7 @@ + "libgtksourceview2.0-dev"); + + check_system_library(@gnomedev_libs, +- "libnotify >= 0.4.5 libnotify < 0.7.0", ++ "libnotify >= 0.7.0", + "LibNotify", + "libnotify-dev"); + +@@ -968,7 +968,7 @@ + "FIXME"); + + check_system_library(@gnomedev_libs, +- "libnotify >= 0.4.5 libnotify < 0.7.0", ++ "libnotify >= 0.7.0", + "LibNotify", + "FIXME"); + +@@ -1020,7 +1020,7 @@ + "lib${cpu_arch}gtksourceview-2.0-devel"); + + check_system_library(@gnomedev_libs, +- "libnotify >= 0.4.5 libnotify < 0.7.0", ++ "libnotify >= 0.7.0", + "LibNotify", + "lib${cpu_arch}notify-devel"); + +@@ -1083,7 +1083,7 @@ + "FIXME"); + + check_system_library(@gnomedev_libs, +- "libnotify >= 0.4.5 libnotify < 0.7.0", ++ "libnotify >= 0.7.0", + "LibNotify", + "FIXME"); + + +=== modified file 'src/bindings/org/gnome/notify/Notification.java' +--- src/bindings/org/gnome/notify/Notification.java 2011-02-14 03:34:07 +0000 ++++ src/bindings/org/gnome/notify/Notification.java 2011-02-14 22:27:29 +0000 +@@ -89,8 +89,7 @@ + * <p> + * The summary appears on the titlebar of notification and body appears as + * its text. Icon may be a string defining a theme icon or the filename +- * identifying the icon that appears next to text. Attach identifies the +- * widget that the notification relates to. ++ * identifying the icon that appears next to text. + * + * <p> + * Note that all but summary can be <code>null</code>. +@@ -100,21 +99,8 @@ + * See http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility + */ + +- public Notification(String summary, String body, String icon, Widget attach) { +- super(NotifyNotification.createNotification(summary, body, icon, attach)); +- } +- +- /** +- * Create a new notification attached to a {@link StatusIcon}. See +- * {@link #Notification(String,String,String,Widget) Notification()} for +- * other parameters. +- * +- * @since 4.0.12 +- * @deprecated In GNOME 3, notifications will be independent of widgets and status icons. +- * See http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility +- */ +- public Notification(String summary, String body, String icon, StatusIcon statusIcon) { +- super(NotifyNotification.createNotificationWithStatusIcon(summary, body, icon, statusIcon)); ++ public Notification(String summary, String body, String icon) { ++ super(NotifyNotification.createNotification(summary, body, icon)); + } + + /** +@@ -131,39 +117,6 @@ + } + + /** +- * Attaches Notification to a Widget setting hints to its location. +- * +- * @since 4.0.12 +- * @deprecated In GNOME 3, notifications will be independent of widgets and status icons. +- * See http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility +- */ +- public void attach(Widget attach) { +- NotifyNotification.attachToWidget(this, attach); +- } +- +- /** +- * Attaches Notification to a {@link StatusIcon} setting hints to its +- * location. +- * +- * @since 4.0.12 +- * @deprecated In GNOME 3, notifications will be independent of widgets and status icons. +- * See http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility +- */ +- public void attach(StatusIcon statusIcon) { +- NotifyNotification.attachToStatusIcon(this, statusIcon); +- } +- +- /** +- * Sets the position of the notification to display on screen. +- * +- * @since 4.0.12 +- * @deprecated In GNOME 3 +- */ +- public void setGeometryHints(Screen screen, int x, int y) { +- NotifyNotification.setGeometryHints(this, screen, x, y); +- } +- +- /** + * Display the notification on screen. + * + * @since 4.0.12 + +=== modified file 'src/defs/NotifyNotification.defs' +--- src/defs/NotifyNotification.defs 2009-05-16 05:46:28 +0000 ++++ src/defs/NotifyNotification.defs 2011-01-31 17:58:10 +0000 +@@ -15,19 +15,6 @@ + '("const-gchar*" "summary") + '("const-gchar*" "body" (null-ok)) + '("const-gchar*" "icon" (null-ok)) +- '("GtkWidget*" "attach" (null-ok)) +- ) +-) +- +-(define-function notify_notification_new_with_status_icon +- (is-constructor-of "NotifyNotification") +- (c-name "notify_notification_new_with_status_icon") +- (return-type "NotifyNotification*") +- (parameters +- '("const-gchar*" "summary") +- '("const-gchar*" "body" (null-ok)) +- '("const-gchar*" "icon" (null-ok)) +- '("GtkStatusIcon*" "status_icon") + ) + ) + +@@ -42,35 +29,6 @@ + ) + ) + +-(define-method attach_to_widget +- (of-object "NotifyNotification") +- (c-name "notify_notification_attach_to_widget") +- (return-type "none") +- (parameters +- '("GtkWidget*" "attach") +- ) +-) +- +-(define-method attach_to_status_icon +- (of-object "NotifyNotification") +- (c-name "notify_notification_attach_to_status_icon") +- (return-type "none") +- (parameters +- '("GtkStatusIcon*" "status_icon") +- ) +-) +- +-(define-method set_geometry_hints +- (of-object "NotifyNotification") +- (c-name "notify_notification_set_geometry_hints") +- (return-type "none") +- (parameters +- '("GdkScreen*" "screen") +- '("gint" "x") +- '("gint" "y") +- ) +-) +- + (define-method show + (of-object "NotifyNotification") + (c-name "notify_notification_show") + +# Begin bundle +IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWfbei1gABm1fgGQwUH///3// +/3C////4YAq/PC1fboAAB9APPWVoNNNNa0oVVISKQTJT1BtJ+qbDVH6ifqPKZJ6nqegnqaeiGjQe +KNNAcNNMEMhppkZMIBpoAwmjTJgAQNBqo/VN6KGmhoBoaBoAAAAAAAANNCm1NJGmBAAAaAAAAAGg +AEUqniap/qnplT09U02KPU2E1Gn6oeobUaHqGmj0QABoJJAmgCYRqZNMiaaj0Gpk2o0mamm1MyNI +0abUyJWiZhNQKgFsFuGG13ccWWTg4NtIL9abv6XQO/8q57i2RP5/jxyJ8pJe/+2lsTf12l713+Li +0VjXNU1TZRVixqNYi0QGwbDAzFTAJU9UBaWeYiQKQKCKaaGECUXLjNkIBJJiMxB2JWRgoRShKEgk +AlBfvBPIIl8fVCShUIIQpcYV7KuVZrb22smhxWhxDhaQYeKDS7w2PKwbonKpiCGdikygalZl5K9C +gVSkQhSx5pxjKNTTh+h8xUmRwNjH4BA9wu00/Z0NDoGpDbePxHNNnjxyTo7++CINK8Xi6skYi/FH +qLcVVVRYPN/EwIcCHw4jdR5e4Y/1dV5yQu5IlQ5I9QmEu8x4IOUtgebL04aRVhygg6hZhRLdO7fC +AU8RIecNHdGBCBgTGIUmoIDTmm0JwBWTgZRLxwP4N95EHUSFSdtoSYRjkwi0R3JJdSPWejydZIux +ZUBVUZljD1IxLr3jXREeFFq2qISgUokxwhCIGHNDmPEziG4AZhS4uEBTABWPThBqFY4X0GridQEq +GQ7kNFYLAllX6pXooqRWd5hgQdYButqNhWgqHvJoHIlMn/Iga4nMa2opIS6tb+iAf9oEZaioNXAW +bcnPA0g5zGTLCDoMFBj3EBBKLI9NogHxYqD/A5SZodgcPE5iIpAd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G0haEsG2EiLKIEOmB3QZerqm +vBcMcj6/sBw72xHoeI5G4HBC4sQu0PYhxfE41kINUFgTqn3poVb4MD2eh3JQprnNUjMBJHSFB278 +qAPvl5A+y8s94DjwFSXFpie6pHtxLxkIYTrDiRz9ekS0E20KYswG4bBN9NQhdFB1jLv8AcLxpHbA +PrEcvjEA3CeuTM5DgtQ4/MPH1D6aEhx2iOsPdpcg1EXAaLoRBnm6QlImb/i7kinChIe29FrA diff --git a/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild b/dev-java/java-gnome/java-gnome-4.0.18-r2.ebuild index 204ae45414d5..4fd648d26d70 100644 --- a/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild +++ b/dev-java/java-gnome/java-gnome-4.0.18-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild,v 1.2 2011/02/05 14:04:34 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.18-r2.ebuild,v 1.1 2011/02/14 22:47:14 serkan Exp $ EAPI=2 JAVA_PKG_IUSE="doc examples source" @@ -42,7 +42,7 @@ RESTRICT="test" S="${WORKDIR}/${MY_P}" -src_prepare() { +java_prepare() { #fix dependency typo in configure sed -i -e "s/librsvg-2.0atk/librsvg-2.0 atk/" configure || die if has_version ">=x11-libs/libnotify-0.7"; then diff --git a/dev-java/java-gnome/java-gnome-4.0.19.ebuild b/dev-java/java-gnome/java-gnome-4.0.19.ebuild new file mode 100644 index 000000000000..6b2ee5413044 --- /dev/null +++ b/dev-java/java-gnome/java-gnome-4.0.19.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.19.ebuild,v 1.1 2011/02/14 22:47:14 serkan Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc examples source" + +inherit eutils versionator java-pkg-2 multilib + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Java bindings for GTK and GNOME" +HOMEPAGE="http://java-gnome.sourceforge.net/" +SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" + +LICENSE="GPL-2-with-linking-exception" +SLOT="4.0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.22 + >=x11-libs/gtk+-2.22.0 + >=gnome-base/libglade-2.6.4 + >=gnome-base/libgnome-2.22.0 + >=gnome-base/gnome-desktop-2.22.0:2 + >=x11-libs/cairo-1.10.0[svg] + >=x11-libs/gtksourceview-2.6.2 + >=app-text/gtkspell-2.0.15-r1 + >=x11-libs/libnotify-0.4.5 + >=dev-libs/libunique-1.0.8 + >=gnome-base/librsvg-2.32.1 + dev-libs/atk + >=virtual/jre-1.5" +DEPEND="${RDEPEND} + dev-java/junit:0 + dev-lang/perl + dev-util/pkgconfig + >=virtual/jdk-1.5" + +# Needs X11 +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + if has_version ">=x11-libs/libnotify-0.7"; then + epatch "${FILESDIR}"/${P}-libnotify-0.7.patch + fi +} + +src_configure() { + # Handwritten in perl so not using econf + ./configure prefix=/usr libdir=/usr/$(get_libdir)/${PN}-${SLOT} jardir=/usr/share/${PN}-${SLOT}/lib || die +} + +src_compile() { + # Fails parallel build in case GCJ is detected + # See https://bugs.gentoo.org/show_bug.cgi?id=200550 + emake -j1 || die "Compilation of java-gnome failed" + + if use doc; then + DISPLAY= emake -j1 doc || die "Making documentation failed" + fi +} + +src_install(){ + emake -j1 DESTDIR="${D}" install || die + java-pkg_regjar /usr/share/${PN}-${SLOT}/lib/gtk-${SLOT}.jar + java-pkg_regjar /usr/share/${PN}-${SLOT}/lib/gtk.jar + + dodoc AUTHORS HACKING NEWS README || die + use doc && java-pkg_dojavadoc doc/api + use examples && java-pkg_doexamples doc/examples + use source && java-pkg_dosrc src/bindings/org +} |