diff options
Diffstat (limited to 'gnome-extra')
9 files changed, 401 insertions, 2 deletions
diff --git a/gnome-extra/gnome-media/Manifest b/gnome-extra/gnome-media/Manifest index a97d5b9..9a569c1 100644 --- a/gnome-extra/gnome-media/Manifest +++ b/gnome-extra/gnome-media/Manifest @@ -1,3 +1,4 @@ -AUX gnome-media-2.31.5-use-libunique-3.patch 649 RMD160 52dd87c1e9a442759e09e2af1484d47eda35de13 SHA1 9e0f8ce99dc76c0c12ffff7df55cbbac5cefdbcd SHA256 32f8eb98cf1d49677e610a49ae0f5d121d36dd9bc987d6bee2580b47b8a77bfe +AUX gnome-media-2.31.5-remove-libunique-dep.patch 2226 RMD160 ed0d9dd05b153df09568ee3103c298613b1c3e2c SHA1 310f76c7e561d7a060ad6a6263bd72ae0d6bafe5 SHA256 0ec0b64511b4106f1a895425f60a7c15c69a2a46cf4f1807a2ddfa7083cc4d92 +AUX gnome-media-2.31.5-use-correct-command.patch 1060 RMD160 3073b52e5f87803f08f20053c26d2b3f32a27f18 SHA1 d4e63bd13a97c303e2340893f74bc4ee107ddf81 SHA256 f24fcdaf254e95a017a82cdad08487472effbd55ee97b7b2daede8a34610a26b DIST gnome-media-2.31.5.tar.bz2 2752117 RMD160 e9fe2ed12c1526cbfcd0ee852f1d78b690052f4a SHA1 fd3d147de2e46aca993e0cd6f11814fd9e14940d SHA256 80ba1732ad3a0a1421c58f60d94884f770c3943e698d8e117f06cb484ad28374 -EBUILD gnome-media-2.31.5.ebuild 1994 RMD160 e232b1ac7db71b91cece18ccc60158c264ddb16e SHA1 0f3c52a42bc44a4c6a9cc4d9b1fe56248d2e731e SHA256 213fca710b0fef9bb1664f6b0ccfbfc0e97389a2f7bdc15bdc2af4af9aa6296c +EBUILD gnome-media-2.31.5-r1.ebuild 2149 RMD160 e7a17f8771c5179310ccc70964d01f34377b5b5b SHA1 97f68f64bc9d70cfe0351a8b538dd28696bc9b06 SHA256 a7025469a75f89a981be06a992fc0315b6e7742374e33bd7c0b4318904e48935 diff --git a/gnome-extra/gnome-media/files/gnome-media-2.31.5-remove-libunique-dep.patch b/gnome-extra/gnome-media/files/gnome-media-2.31.5-remove-libunique-dep.patch new file mode 100644 index 0000000..fafec67 --- /dev/null +++ b/gnome-extra/gnome-media/files/gnome-media-2.31.5-remove-libunique-dep.patch @@ -0,0 +1,61 @@ +Combines the following two commits: + +From faadc51fb554b90cfd07d108262383e1772f279b Mon Sep 17 00:00:00 2001 +From: Matthias Clasen <mclasen@redhat.com> +Date: Wed, 14 Jul 2010 00:47:18 +0000 +Subject: Complete the GTK+ 3 port by using unique-3.0 + +From 7b5a8127cea09779dd172b0b7598d2ad03b2e47b Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Wed, 21 Jul 2010 14:18:59 +0000 +Subject: Remove libunique-3.0 dependency + +And use GApplication instead. +--- +diff --git a/configure.ac b/configure.ac +index 7622885..38b6024 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -115,7 +115,6 @@ if test "x$enable_pulseaudio" != "xno"; then + gio-2.0 + gconf-2.0 >= $GCONF_REQUIRED_VERSION + libcanberra-gtk3 >= $CANBERRA_REQUIRED_VERSION +- unique-1.0 + libxml-2.0 + ) + AC_SUBST(VOLUME_CONTROL_CFLAGS) +diff --git a/gnome-volume-control/src/applet-main.c b/gnome-volume-control/src/applet-main.c +index 9ef569a..2c9cc34 100644 +--- a/gnome-volume-control/src/applet-main.c ++++ b/gnome-volume-control/src/applet-main.c +@@ -29,7 +29,7 @@ + #include <glib/gi18n.h> + #include <glib.h> + #include <gtk/gtk.h> +-#include <unique/uniqueapp.h> ++#include <gio/gio.h> + + #include "gvc-applet.h" + #include "gvc-log.h" +@@ -44,7 +44,7 @@ main (int argc, char **argv) + { + GError *error; + GvcApplet *applet; +- UniqueApp *app = NULL; ++ GApplication *app = NULL; + static GOptionEntry entries[] = { + { "debug", 0, 0, G_OPTION_ARG_NONE, &debug, N_("Enable debugging code"), NULL }, + { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL }, +@@ -76,8 +76,8 @@ main (int argc, char **argv) + gvc_log_set_debug (debug); + + if (debug == FALSE) { +- app = unique_app_new (GVCA_DBUS_NAME, NULL); +- if (unique_app_is_running (app)) { ++ app = g_application_new (GVCA_DBUS_NAME, argc, argv); ++ if (g_application_is_remote (app)) { + g_warning ("Applet is already running, exiting"); + return 0; + } +-- +cgit v0.8.3.1 diff --git a/gnome-extra/gnome-media/files/gnome-media-2.31.5-use-correct-command.patch b/gnome-extra/gnome-media/files/gnome-media-2.31.5-use-correct-command.patch new file mode 100644 index 0000000..5aa5856 --- /dev/null +++ b/gnome-extra/gnome-media/files/gnome-media-2.31.5-use-correct-command.patch @@ -0,0 +1,26 @@ +From 5e6bd29ef12300e47c6f49716fc57a74298666da Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Wed, 21 Jul 2010 14:45:24 +0100 +Subject: [PATCH] Use correct command for sound preferences + +Using gnome-control-center, not gnome-volume-control +--- + gnome-volume-control/src/gvc-stream-status-icon.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/gnome-volume-control/src/gvc-stream-status-icon.c b/gnome-volume-control/src/gvc-stream-status-icon.c +index 3254a5b..46619aa 100644 +--- a/gnome-volume-control/src/gvc-stream-status-icon.c ++++ b/gnome-volume-control/src/gvc-stream-status-icon.c +@@ -219,7 +219,7 @@ on_menu_activate_open_volume_control (GtkMenuItem *item, + + error = NULL; + gdk_spawn_command_line_on_screen (gtk_widget_get_screen (icon->priv->dock), +- "gnome-volume-control", ++ "gnome-control-center sound", + &error); + + if (error != NULL) { +-- +1.7.1.1 + diff --git a/gnome-extra/gnome-media/gnome-media-2.31.5-r1.ebuild b/gnome-extra/gnome-media/gnome-media-2.31.5-r1.ebuild new file mode 100644 index 0000000..ea5c284 --- /dev/null +++ b/gnome-extra/gnome-media/gnome-media-2.31.5-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-media/gnome-media-2.30.0-r1.ebuild,v 1.1 2010/06/13 19:14:28 pacho Exp $ + +EAPI="2" +GCONF_DEBUG="no" + +inherit eutils gnome2 autotools + +DESCRIPTION="Multimedia related programs for the GNOME desktop" +HOMEPAGE="http://ronald.bitfreak.net/gnome-media.php" + +LICENSE="LGPL-2 GPL-2 FDL-1.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="pulseaudio" + +RDEPEND=">=dev-libs/glib-2.18.2:2 + x11-libs/gtk+:3 + >=gnome-base/libglade-2 + >=gnome-base/gconf-2.6.1 + >=gnome-base/gnome-control-center-2.31.5 + >=media-libs/gstreamer-0.10.23 + >=media-libs/gst-plugins-base-0.10.23 + >=media-libs/gst-plugins-good-0.10 + + pulseaudio? ( >=media-sound/pulseaudio-0.9.15 ) + >=media-libs/libcanberra-0.13[gtk3] + dev-libs/libxml2 + >=media-libs/gst-plugins-base-0.10.23:0.10 + >=media-plugins/gst-plugins-meta-0.10-r2:0.10 + >=media-plugins/gst-plugins-gconf-0.10.1 + x11-themes/gnome-icon-theme-symbolic" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9 + >=app-text/scrollkeeper-0.3.11 + >=app-text/gnome-doc-utils-0.3.2 + >=dev-util/intltool-0.35.0" + +DOCS="AUTHORS ChangeLog* NEWS MAINTAINERS README" + +pkg_setup() { + G2CONF="${G2CONF} + --disable-static + --disable-scrollkeeper + --disable-schemas-install + --enable-gstprops + --enable-grecord + --enable-profiles + $(use_enable pulseaudio) + $(use_enable !pulseaudio gstmix)" +} + +src_prepare() { + gnome2_src_prepare + + # Don't use libunique (use GApplication instead) + epatch "${FILESDIR}"/${P}-remove-libunique-dep.patch + + # Run the correct command from the panel applet + epatch "${FILESDIR}"/${P}-use-correct-command.patch + + eautoreconf +} + +pkg_postinst() { + gnome2_pkg_postinst + ewarn + ewarn "If you cannot play some music format, please check your" + ewarn "USE flags on media-plugins/gst-plugins-meta" + ewarn + if use pulseaudio; then + ewarn "You have enabled pulseaudio support, gstmixer will not be built" + ewarn "If you do not use pulseaudio, you do not want this" + fi +} diff --git a/gnome-extra/gnome-packagekit/Manifest b/gnome-extra/gnome-packagekit/Manifest new file mode 100644 index 0000000..6f39d03 --- /dev/null +++ b/gnome-extra/gnome-packagekit/Manifest @@ -0,0 +1,3 @@ +AUX gnome-packagekit-2.27.5-nls.patch 1088 RMD160 06f9609e28730f4c44694973f35ee68a518e30eb SHA1 e122ffb299e29983c0afffcaca7f154bdd5ba099 SHA256 dc7f6dd458ee755d8b2a1b997c82f8ce4cbbc37659ff3bae26f3b4e9249f3210 +DIST gnome-packagekit-2.30.1.tar.gz 4684513 RMD160 718a99e938cf28de72aab7b63f622195ddc80118 SHA1 d7ea6dc2a571bcfa2ec94f5b81f2c337dc903eaf SHA256 2837c4c80594dd02023222789903641a60827479a2d6750596da6292e7461c38 +EBUILD gnome-packagekit-2.30.1.ebuild 2256 RMD160 fff0b2bb52a511058ec272822e66480c1d3fa5a4 SHA1 0e28e13dbf0fc6111ac5b9f3eee431d600cbcd3c SHA256 d85dec5e9ee6e687197c508795721044d1ef2f60199dd8b97d12990fa9e873e1 diff --git a/gnome-extra/gnome-packagekit/files/gnome-packagekit-2.27.5-nls.patch b/gnome-extra/gnome-packagekit/files/gnome-packagekit-2.27.5-nls.patch new file mode 100644 index 0000000..da1511e --- /dev/null +++ b/gnome-extra/gnome-packagekit/files/gnome-packagekit-2.27.5-nls.patch @@ -0,0 +1,11 @@ +--- po/Makefile.in.in.old 2009-08-08 17:59:08.000000000 +0200 ++++ po/Makefile.in.in 2009-04-13 22:53:15.000000000 +0200 +@@ -56,7 +56,7 @@ + + PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +-USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi) ++USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep ^$$lang$$`"; then printf "$$lang "; fi; done; fi) + + USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-2.30.1.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-2.30.1.ebuild new file mode 100644 index 0000000..e31c43b --- /dev/null +++ b/gnome-extra/gnome-packagekit/gnome-packagekit-2.30.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +GCONF_DEBUG="no" + +inherit eutils python gnome2 + +DESCRIPTION="PackageKit client for the GNOME desktop" +HOMEPAGE="http://www.packagekit.org/" +SRC_URI="http://www.packagekit.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="udev nls" + +RDEPEND=" + udev? ( >=sys-fs/udev-145[extras] ) + >=app-portage/packagekit-0.5.5 + >=dev-libs/dbus-glib-0.73 + >=dev-libs/glib-2.18.0:2 + >=dev-libs/libunique-1.0.0:0 + >=gnome-base/gconf-2.22:2 + >=gnome-base/gnome-menus-2.24.1 + media-libs/fontconfig + >=media-libs/libcanberra-0.10[gtk] + >=sys-apps/dbus-1.1.2 + || ( sys-power/upower >=sys-apps/devicekit-power-007 ) + >=x11-libs/gtk+-2.19.3:2 + >=x11-libs/libnotify-0.4.3" +DEPEND="${RDEPEND} + app-text/docbook-sgml-utils + >=app-text/gnome-doc-utils-0.3.2 + dev-libs/libxslt + >=dev-util/intltool-0.35.0 + dev-util/pkgconfig + sys-devel/gettext" + +RESTRICT="test" # need DISPLAY + +DOCS="AUTHORS MAINTAINERS NEWS README TODO" + +# NOTES: +# app-text/docbook-sgml-utils required for man pages +# app-text/gnome-doc-utils and dev-libs/libxslt required for gnome help files +# gtk-doc is generating a useless file, don't need it + +# UPSTREAM: +# misuse of CPPFLAGS/CXXFLAGS ? +# see if tests can forget about display (use eclass for that ?) +# intltool and gettext only with +nls + +pkg_setup() { + # localstatedir: /var for upstream /var/lib for gentoo + # scrollkeeper and schemas-install: managed by gnome2 eclass + # tests: not working (need DISPLAY) + # gtk-doc: not needed (builded file is useless) + G2CONF=" + --localstatedir=/var + --enable-option-checking + --disable-dependency-tracking + --enable-libtool-lock + --enable-compile-warnings=yes + --enable-iso-c + --disable-scrollkeeper + --disable-schemas-install + --disable-tests + --disable-gtk-doc + --disable-strict + $(use_enable nls) + $(use_enable udev gudev)" +} + +src_prepare() { + # fix pyc/pyo generation + rm py-compile || die "rm py-compile failed" + ln -s $(type -P true) py-compile +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize $(python_get_sitedir)/packagekit/ +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/packagekit/ +} diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest new file mode 100644 index 0000000..7a71fc5 --- /dev/null +++ b/gnome-extra/gnome-power-manager/Manifest @@ -0,0 +1,2 @@ +DIST gnome-power-manager-2.30.1.tar.bz2 3854167 RMD160 f2c77edf592d3854cfc4a68586b4267e1122c48d SHA1 a57ff84975e6274e03e3ab5dadf2be781bc2441a SHA256 47af6221ae83d329088abd8f5176f503fe5f81417a7c6766c95279b0af05021c +EBUILD gnome-power-manager-2.30.1.ebuild 3539 RMD160 f20e3b968e22ab1526790b67752148df32e4359d SHA1 09cd36520f967167622081065228de238549b4a0 SHA256 e9fdd5a487a0e3a31217a1293c11faa24cb5440963e1c59667a5d1a9f6da1889 diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.30.1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.30.1.ebuild new file mode 100644 index 0000000..c44ca8f --- /dev/null +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.30.1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools eutils gnome2 virtualx + +DESCRIPTION="Gnome Power Manager" +HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +hal policykit test" + +# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic) +RESTRICT="test" + +# HAL is used purely as a fallback for setting brightness if xrandr fail +COMMON_DEPEND=">=dev-libs/glib-2.13.0 + >=x11-libs/gtk+-2.17.7:2 + >=gnome-base/gconf-2.10.0 + >=gnome-base/gnome-keyring-0.6.0 + >=dev-libs/dbus-glib-0.71 + >=x11-libs/libnotify-0.4.3 + >=x11-libs/libwnck-2.10.0 + >=x11-libs/cairo-1.0.0 + >=gnome-base/gnome-panel-2 + >=gnome-base/gconf-2.10 + >=media-libs/libcanberra-0.10[gtk] + || ( sys-power/upower >=sys-apps/devicekit-power-008 ) + >=dev-libs/libunique-1.1.0:0 + >=x11-apps/xrandr-1.2 + x11-libs/libX11 + x11-libs/libXext + + hal? ( >=sys-apps/hal-0.5.9 ) +" +RDEPEND="${COMMON_DEPEND} + >=sys-auth/consolekit-0.4[policykit?] + policykit? ( gnome-extra/polkit-gnome ) +" +DEPEND="${COMMON_DEPEND} + sys-devel/gettext + app-text/scrollkeeper + app-text/docbook-xml-dtd:4.3 + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + >=app-text/gnome-doc-utils-0.3.2 + doc? ( + app-text/xmlto + app-text/docbook-sgml-utils + app-text/docbook-xml-dtd:4.4 + app-text/docbook-sgml-dtd:4.1 + app-text/docbook-xml-dtd:4.1.2 )" + +# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages +# (files under ${S}/man). +# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs. + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + G2CONF="${G2CONF} + $(use_enable hal) + $(use_enable test tests) + $(use_enable doc docbook-docs) + $(use_enable policykit gconf-defaults) + --enable-compile-warnings=minimum + --enable-applets" + + if ! use hal; then + ewarn "hal support disabled, cpufreq applet will not be built" + fi +} + +src_prepare() { + gnome2_src_prepare + + # Fix crazy cflags + sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.ac configure \ + || die "sed 1 failed" + + # Drop debugger CFLAGS + sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac \ + || die "sed 2 failed" + + # Drop test that needs a running daemon + sed 's:^\(.*gpm_inhibit_test (test);\)://\1:' -i src/gpm-self-test.c \ + || die "sed 3 failed" + + # Make it libtool-1 compatible + rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" + + intltoolize --force --copy --automake || die "intltoolize failed" + eautoreconf + + if ! use doc; then + # Remove the docbook2man rules here since it's not handled by a proper + # parameter in configure.in. + sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' \ + -i "${S}/man/Makefile.in" || die "sed 4 failed" + fi + + # glibc splits this out, whereas other libc's do not tend to + use elibc_glibc || sed -e 's/-lresolv//' -i configure || die "sed 5 failed" +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + Xemake check || die "Test phase failed" +} + +pkg_postinst() { + gnome2_pkg_postinst + + elog "cpufreq capplet is a feature maintained by Gentoo GNOME team." + elog "Please DO NOT REPORT bugs on upstream bugzilla if you have a problem with it" + elog "Please report on http://bugs.gentoo.org instead." + + if use hal; then + elog + elog "To enable frequency scaling interface, use the following command:" + elog " gconftool-2 /apps/gnome-power-manager/ui/cpufreq_show" + elog "Note that this will conflict with other power managment utility" + elog "like app-laptop/laptop-mode-tools." + fi +} |