Add new version for Gnome 2.30 and drop old.
authorPacho Ramos <pacho@gentoo.org>
Sun, 13 Jun 2010 21:22:31 +0000 (21:22 +0000)
committerPacho Ramos <pacho@gentoo.org>
Sun, 13 Jun 2010 21:22:31 +0000 (21:22 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64

www-client/epiphany-extensions/ChangeLog
www-client/epiphany-extensions/epiphany-extensions-2.22.2.ebuild [deleted file]
www-client/epiphany-extensions/epiphany-extensions-2.30.1.ebuild [new file with mode: 0644]

index 7ab77282e44a8b008e77b9bc65e8d0369446317b..9ecba3667a54be1b5e7cf630dabb02b66cb95d4d 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for www-client/epiphany-extensions
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/ChangeLog,v 1.127 2010/05/31 19:27:46 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/ChangeLog,v 1.128 2010/06/13 21:22:31 pacho Exp $
+
+*epiphany-extensions-2.30.1 (13 Jun 2010)
+
+  13 Jun 2010; Pacho Ramos <pacho@gentoo.org>
+  -epiphany-extensions-2.22.2.ebuild, +epiphany-extensions-2.30.1.ebuild:
+  Add new version for Gnome 2.30 and drop old.
 
   31 May 2010; Joseph Jezak <josejx@gentoo.org>
   epiphany-extensions-2.26.1-r1.ebuild:
diff --git a/www-client/epiphany-extensions/epiphany-extensions-2.22.2.ebuild b/www-client/epiphany-extensions/epiphany-extensions-2.22.2.ebuild
deleted file mode 100644 (file)
index 8331e46..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/epiphany-extensions-2.22.2.ebuild,v 1.9 2009/08/09 10:40:30 eva Exp $
-
-inherit autotools eutils gnome2 python versionator
-
-MY_MAJORV=$(get_version_component_range 1-2)
-
-DESCRIPTION="Extensions for the Epiphany web browser"
-HOMEPAGE="http://www.gnome.org/projects/epiphany/extensions.html"
-SRC_URI="${SRC_URI} mirror://gentoo/${PN}-2.21.92-sessionsaver-v4.patch.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
-IUSE="dbus examples pcre python xulrunner"
-
-RDEPEND=">=www-client/epiphany-${MY_MAJORV}
-       app-text/opensp
-       >=dev-libs/glib-2.15.5
-       >=gnome-base/gconf-2.0
-       >=dev-libs/libxml2-2.6
-       >=x11-libs/gtk+-2.11.6
-       >=gnome-base/libglade-2
-       xulrunner? ( =net-libs/xulrunner-1.8* )
-       !xulrunner? ( =www-client/mozilla-firefox-2* )
-       dbus? ( >=dev-libs/dbus-glib-0.34 )
-       pcre? ( >=dev-libs/libpcre-3.9-r2 )
-       python? ( >=dev-python/pygtk-2.11 )"
-DEPEND="${RDEPEND}
-         gnome-base/gnome-common
-       >=dev-util/intltool-0.35
-       >=dev-util/pkgconfig-0.20
-       >=app-text/gnome-doc-utils-0.3.2"
-
-DOCS="AUTHORS ChangeLog HACKING NEWS README"
-
-pkg_setup() {
-       local extensions=""
-
-       extensions="actions auto-reload auto-scroller certificates \
-                               error-viewer extensions-manager-ui gestures java-console \
-                               livehttpheaders page-info permissions push-scroller \
-                               select-stylesheet sessionsaver sidebar smart-bookmarks \
-                               tab-groups tab-states"
-
-       use dbus && extensions="${extensions} rss"
-
-       use pcre && extensions="${extensions} adblock greasemonkey"
-
-       use python && extensions="${extensions} python-console favicon cc-license-viewer epilicious"
-       use python && use examples && extensions="${extensions} sample-python"
-
-       use examples && extensions="${extensions} sample sample-mozilla"
-
-       G2CONF="${G2CONF} --with-extensions=$(echo "${extensions}" | sed -e 's/[[:space:]]\+/,/g')"
-
-       if use xulrunner; then
-               G2CONF="${G2CONF} --with-gecko=xulrunner"
-       else
-               G2CONF="${G2CONF} --with-gecko=firefox"
-
-               if ! built_with_use =www-client/mozilla-firefox-2* filepicker; then
-                       ewarn "If you want the Certificate Management extension, please"
-                       ewarn "rebuild www-client/mozilla-firefox with USE='filepicker'"
-               fi
-       fi
-}
-
-src_unpack() {
-       gnome2_src_unpack
-
-       # disable pyc compiling
-       mv py-compile py-compile.orig
-       ln -s $(type -P true) py-compile
-
-       # Don't remove sessionsaver, please.  -dang
-       epatch "${WORKDIR}"/${PN}-2.21.92-sessionsaver-v4.patch
-       echo "extensions/sessionsaver/ephy-sessionsaver-extension.c" >> po/POTFILES.in
-
-       intltoolize --force --copy --automake || die "intltoolize failed"
-       eautoreconf
-}
-
-pkg_postinst() {
-       gnome2_pkg_postinst
-
-       if use python; then
-               python_mod_optimize /usr/$(get_libdir)/epiphany/${MY_MAJORV}/extensions
-       fi
-}
-
-pkg_postrm() {
-       gnome2_pkg_postrm
-
-       if use python; then
-               python_mod_cleanup /usr/$(get_libdir)/epiphany/${MY_MAJORV}/extensions
-       fi
-}
diff --git a/www-client/epiphany-extensions/epiphany-extensions-2.30.1.ebuild b/www-client/epiphany-extensions/epiphany-extensions-2.30.1.ebuild
new file mode 100644 (file)
index 0000000..59a0402
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/epiphany-extensions-2.30.1.ebuild,v 1.1 2010/06/13 21:22:31 pacho Exp $
+
+EAPI="2"
+
+inherit gnome2 eutils versionator
+
+MY_MAJORV=$(get_version_component_range 1-2)
+
+DESCRIPTION="Extensions for the Epiphany web browser"
+HOMEPAGE="http://www.gnome.org/projects/epiphany/extensions.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
+IUSE="dbus examples pcre"
+
+RDEPEND=">=www-client/epiphany-${MY_MAJORV}
+       app-text/opensp
+       >=dev-libs/glib-2.15.5
+       >=gnome-base/gconf-2.0
+       >=dev-libs/libxml2-2.6
+       >=x11-libs/gtk+-2.12.0
+       >=gnome-base/libglade-2
+       >=net-libs/webkit-gtk-1.1
+
+       dbus? ( >=dev-libs/dbus-glib-0.34 )
+       pcre? ( >=dev-libs/libpcre-3.9-r2 )"
+DEPEND="${RDEPEND}
+       >=dev-util/intltool-0.40
+       >=dev-util/pkgconfig-0.20
+       >=app-text/gnome-doc-utils-0.3.2"
+# eautoreconf dependencies:
+#        gnome-base/gnome-common
+
+DOCS="AUTHORS ChangeLog HACKING NEWS README"
+
+# FIXME: Open security issues:
+# FIXME: - adblock        ( https://bugzilla.gnome.org/show_bug.cgi?id=595255 )
+# FIXME: broken extensions:
+# FIXME: - session-saver  ( https://bugzilla.gnome.org/show_bug.cgi?id=316245 )
+
+pkg_setup() {
+       local extensions=""
+
+       extensions="actions auto-reload auto-scroller certificates \
+                          error-viewer extensions-manager-ui gestures html5tube \
+                          java-console livehttpheaders page-info permissions \
+                          push-scroller select-stylesheet \
+                          smart-bookmarks soup-fly tab-groups tab-states"
+       use dbus && extensions="${extensions} rss"
+
+       use pcre && extensions="${extensions} greasemonkey"
+
+       use examples && extensions="${extensions} sample"
+
+       G2CONF="${G2CONF}
+               --disable-maintainer-mode
+               --with-extensions=$(echo "${extensions}" | sed -e 's/[[:space:]]\+/,/g')"
+}
+
+src_install() {
+       gnome2_src_install
+       find "${D}" -name "*.la" -delete || die "remove of la files failed"
+}