Update all pkgs requiring libnotify to the 0.7 API.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-01 00:26:33 +01:00
parent c9e501b6a7
commit a45ea7812a
16 changed files with 79 additions and 29 deletions

View file

@ -1,6 +1,7 @@
# Template file for 'Thunar'
pkgname=Thunar
version=1.2.0
revision=1
distfiles="http://archive.xfce.org/xfce/4.8/src/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Thunar File Manager"

View file

@ -1,6 +1,7 @@
# Template file for 'dhcpcd-gtk'
pkgname=dhcpcd-gtk
version=0.4.2
revision=1
wrksrc=dhcpcd-ui-${version}
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-ui-$version.tar.bz2"
build_style=gnu_makefile
@ -20,9 +21,11 @@ long_desc="
to, if they're encrypted or not and their overall quality. You can click
on one to configure the PSK or WEP key 0 for it."
Add_dependency run glibc
Add_dependency run gtk+
Add_dependency run libnotify
Add_dependency build pkg-config
Add_dependency full glibc
Add_dependency build gtk+-devel
Add_dependency build libnotify-devel
Add_dependency full dhcpcd
Add_dependency full dhcpcd-dbus
Add_dependency full gtk+
Add_dependency full libnotify

View file

@ -1,6 +1,7 @@
# Template file for 'midori'
pkgname=midori
version=0.3.2
revision=1
distfiles="http://archive.xfce.org/src/apps/$pkgname/0.3/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-nls --enable-docs --disable-userdocs
@ -42,6 +43,7 @@ Add_dependency run libxml2
Add_dependency run dbus-glib
Add_dependency run dbus-libs
Add_dependency run libX11
Add_dependency run libXScrnSaver
Add_dependency build atk-devel
Add_dependency build glib-devel
@ -64,6 +66,7 @@ Add_dependency build libunique-devel
Add_dependency build webkit-gtk-devel
Add_dependency build sqlite-devel
Add_dependency build libXext-devel
Add_dependency build libXScrnSaver-devel
Add_dependency build vala-devel
Add_dependency full hicolor-icon-theme

View file

@ -0,0 +1,16 @@
--- src/applet.c.orig 2011-03-01 00:01:37.106389077 +0100
+++ src/applet.c 2011-03-01 00:01:58.380344793 +0100
@@ -626,12 +626,10 @@ applet_do_notify (NMApplet *applet,
escaped = utils_escape_notify_message (message);
notify = notify_notification_new (summary,
escaped,
- icon ? icon : GTK_STOCK_NETWORK,
- NULL);
+ icon ? icon : GTK_STOCK_NETWORK);
g_free (escaped);
applet->notification = notify;
- notify_notification_attach_to_status_icon (notify, applet->status_icon);
notify_notification_set_urgency (notify, urgency);
notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);

View file

@ -1,6 +1,7 @@
# Template file for 'network-manager-applet'
pkgname=network-manager-applet
version=0.8.2
revision=1
distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --localstatedir=/var

View file

@ -1,7 +1,7 @@
# Template file for 'notify-python'
pkgname=notify-python
version=0.1.1
revision=2
revision=3
distfiles="http://www.galago-project.org/files/releases/source/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Python bindings for libnotify"

View file

@ -1,6 +1,7 @@
# Template file for 'orage'
pkgname=orage
version=4.8.1
revision=1
distfiles="http://archive.be.xfce.org/src/apps/orage/4.8/orage-$version.tar.bz2"
build_style=gnu_configure
short_desc="Simple calendar application for Xfce"

View file

@ -1,6 +1,7 @@
# Template file for 'thunar-volman'.
pkgname=thunar-volman
version=0.6.0
revision=1
distfiles="http://archive.xfce.org/src/apps/$pkgname/0.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Thunar Volume Manager"

View file

@ -1,6 +1,7 @@
# Template file for 'transmission'
pkgname=transmission
version=2.21
revision=1
distfiles="http://download.transmissionbt.com/files/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-gtk --enable-libnotify --enable-nls --enable-cli
@ -17,40 +18,30 @@ gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run libnotify
Add_dependency run atk
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run dbus-libs
Add_dependency run dbus-glib
Add_dependency run libssl
Add_dependency run glib
Add_dependency run dbus-glib
Add_dependency run libcurl
Add_dependency run libevent
Add_dependency run pango
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run libnotify
Add_dependency run libcanberra
Add_dependency run GConf
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build libnotify-devel
Add_dependency build gtk+-devel
Add_dependency build atk-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build glibc-devel
Add_dependency build dbus-devel
Add_dependency build dbus-glib-devel
Add_dependency build openssl-devel
Add_dependency build libcurl-devel
Add_dependency build zlib-devel
Add_dependency build openssl-devel
Add_dependency build glib-devel
Add_dependency build dbus-glib-devel
Add_dependency build libcurl-devel
Add_dependency build libevent-devel
Add_dependency build pango-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build gtk+-devel
Add_dependency build libnotify-devel
Add_dependency build libcanberra-devel
Add_dependency build GConf-devel

View file

@ -0,0 +1,11 @@
--- modules/misc/notify/notify.c.orig 2011-02-28 23:54:18.794722978 +0100
+++ modules/misc/notify/notify.c 2011-02-28 23:54:49.425738093 +0100
@@ -312,7 +312,7 @@ static int Notify( vlc_object_t *p_this,
}
notification = notify_notification_new( _("Now Playing"),
- psz_temp, NULL, NULL );
+ psz_temp, NULL );
notify_notification_set_timeout( notification,
var_InheritInteger(p_this, "notify-timeout") );
notify_notification_set_urgency( notification, NOTIFY_URGENCY_LOW );

View file

@ -1,7 +1,7 @@
# Template file for 'vlc'
pkgname=vlc
version=1.1.7
revision=1
revision=2
distfiles="http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-gme --disable-libtar --enable-snapshot

View file

@ -0,0 +1,18 @@
--- src/xfpm-notify.c.orig 2011-02-28 23:43:55.521921469 +0100
+++ src/xfpm-notify.c 2011-02-28 23:44:16.343032607 +0100
@@ -209,14 +209,11 @@ xfpm_notify_new_notification_internal (c
{
NotifyNotification *n;
- n = notify_notification_new (title, message, NULL, NULL);
+ n = notify_notification_new (title, message, NULL);
if ( icon_name )
xfpm_notify_set_notification_icon (n, icon_name);
- if ( icon )
- notify_notification_attach_to_status_icon (n, icon);
-
notify_notification_set_urgency (n, (NotifyUrgency)urgency);
if ( timeout != 0)

View file

@ -1,6 +1,7 @@
# Template file for 'xfce4-power-manager'
pkgname=xfce4-power-manager
version=1.0.3
revision=1
distfiles="http://archive.xfce.org/src/apps/${pkgname}/1.0/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --enable-polkit --enable-dpms

View file

@ -1,6 +1,7 @@
# Template file for 'xfce4-settings'
pkgname=xfce4-settings
version=4.8.0
revision=1
distfiles="http://archive.xfce.org/xfce/4.8/src/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --enable-sound-settings

View file

@ -1,6 +1,7 @@
# Template file for 'xfdesktop'
pkgname=xfdesktop
version=4.8.0
revision=1
distfiles="http://archive.xfce.org/xfce/4.8/src/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Desktop manager for the XFce Desktop Environment"

View file

@ -772,3 +772,4 @@ libspice-server.so spice spice-devel
libbrasero-burn.so brasero brasero-devel
libbrasero-media.so brasero brasero-devel
libbrasero-utils.so brasero brasero-devel
libXss.so libXScrnSaver libXScrnSaver-devel