remove old compiz-related ebuilds and deprecated patches
This commit is contained in:
@ -1,7 +1,4 @@
|
||||
AUX compiz-plugins-extra-0.8.6-libnotify.patch 1412 RMD160 a4e1a09e293c5e1a16bf3b0fd7710d7440c12bcc SHA1 c9201df9851f3ef325fe6b2f612097bc10723b1b SHA256 864971c7f1ad664d64c4cfcca527c2a9788f95a2b030b2cc94f1d2ad9332c106
|
||||
AUX compiz-plugins-extra-0.8.8-libnotify.patch 701 RMD160 be292728a4da1e3647919feb8c377fd3b079d001 SHA1 f4a1db4145840d4ef61be6d08f35c44726b66798 SHA256 8ebc9f57ed80476387a8142facd60e231dd1aa70ff5df508421cd7ca27616bcc
|
||||
AUX compiz-plugins-extra-no-gconf.patch 585 RMD160 bb3b291eab783be7f9754d724d3a96618fe2e614 SHA1 564d6614cc157397ae24347a731a9f4d65bf30f8 SHA256 0567850b07c3973f1b4bfd5c36a1e240a57e45a1714b63637ecec577febfc13f
|
||||
DIST compiz-plugins-extra-0.8.6.tar.bz2 2699385 RMD160 cd8d26902d38ee7fb42fe2077e483f92fc458929 SHA1 66c571c64910aa21808aedaee8c8ceb4c4a82c78 SHA256 e111beecd9e563065448aae81002fd6cb644b3cd0e11a8406d6a2d3146747de1
|
||||
DIST compiz-plugins-extra-0.8.8.tar.bz2 2689953 RMD160 948fc491075f202759a31a3395fcd31deb6fa101 SHA1 ce592993696c0b5d4e0bb13171897b4c25b3844e SHA256 bdce203098c62370b01b87741b04d3d9bc37e918789acce07120c4f081d5bbe3
|
||||
EBUILD compiz-plugins-extra-0.8.6-r9999.ebuild 1564 RMD160 28cf176862dd4bb9cfee9b434ab691090e9490f0 SHA1 ffedde3e900095a8b784856285f07937006da03a SHA256 59504a217dcdbbe674c9f21932d9a1a1e3b7981b5c1f0ebce02240196f89256a
|
||||
EBUILD compiz-plugins-extra-0.8.8-r9999.ebuild 1564 RMD160 28cf176862dd4bb9cfee9b434ab691090e9490f0 SHA1 ffedde3e900095a8b784856285f07937006da03a SHA256 59504a217dcdbbe674c9f21932d9a1a1e3b7981b5c1f0ebce02240196f89256a
|
||||
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.6-r1.ebuild,v 1.5 2011/03/21 19:47:45 nirbheek Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools eutils gnome2-utils
|
||||
|
||||
DESCRIPTION="Compiz Fusion Window Decorator Extra Plugins"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="gconf libnotify"
|
||||
|
||||
MY_PV="0.8.4"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/librsvg-2.14.0:2
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/compiz-bcop-${MY_PV}
|
||||
>=x11-plugins/compiz-plugins-main-${PV}
|
||||
>=x11-wm/compiz-${PV}[gconf?]
|
||||
libnotify? ( x11-libs/libnotify )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.35
|
||||
>=dev-util/pkgconfig-0.19
|
||||
>=sys-devel/gettext-0.15
|
||||
x11-libs/cairo
|
||||
gconf? ( gnome-base/gconf:2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if ! use gconf; then
|
||||
epatch "${FILESDIR}"/${PN}-no-gconf.patch
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}/${P}-libnotify.patch"
|
||||
|
||||
# required to apply the above patch
|
||||
intltoolize --copy --force || die "intltoolize failed"
|
||||
eautoreconf || die "eautoreconf failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-fast-install \
|
||||
--disable-static \
|
||||
$(use_enable gconf schemas) \
|
||||
$(use_with libnotify)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -136,9 +136,12 @@
|
||||
PKG_CHECK_MODULES(COMPIZMOUSEPOLL, compiz-mousepoll, [have_compiz_mousepoll=yes], [have_compiz_mousepoll=no])
|
||||
AM_CONDITIONAL(SHOWMOUSE_PLUGIN, test "x$have_compiz_mousepoll" = "xyes")
|
||||
|
||||
-PKG_CHECK_MODULES(LIBNOTIFY, libnotify, [have_libnotify=yes], [have_libnotify=no])
|
||||
+AC_ARG_WITH([libnotify], [AS_HELP_STRING([--without-libnotify], [Build without libnotify support @<:@default=auto@:>@])])
|
||||
+AS_IF([test "x$with_libnotify" != "xno"], [
|
||||
+ PKG_CHECK_MODULES(LIBNOTIFY, libnotify, [have_libnotify=yes], [have_libnotify=no])
|
||||
+])
|
||||
AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes")
|
||||
-if test "$have_libnotify" = yes; then
|
||||
+if test "x$have_libnotify" = "xyes"; then
|
||||
AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin])
|
||||
fi
|
||||
|
||||
--- src/notification/notification.c
|
||||
+++ src/notification/notification.c
|
||||
@@ -21,6 +21,11 @@
|
||||
|
||||
|
||||
#include <libnotify/notify.h>
|
||||
+
|
||||
+#ifndef NOTIFY_CHECK_VERSION
|
||||
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
@@ -103,7 +108,12 @@
|
||||
|
||||
n = notify_notification_new (logLevel,
|
||||
message,
|
||||
- iconUri, NULL);
|
||||
+ iconUri
|
||||
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
|
||||
+ );
|
||||
+#else
|
||||
+ , NULL);
|
||||
+#endif
|
||||
|
||||
notify_notification_set_timeout (n, nd->timeout);
|
||||
|
Reference in New Issue
Block a user