wok-next rev 19931

Current notification-daemon is notification-daemon; old one - is notification-daemon-gtk2.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 15 05:11:40 2017 +0300 (2017-10-15)
parents 518c632316b9
children 39d56fc82225
files alarm-clock-applet/receipt gnome-vfs/receipt notification-daemon-gtk2/receipt notification-daemon-gtk2/stuff/patches/nd050.patch notification-daemon-gtk2/stuff/patches/series notification-daemon/receipt
line diff
     1.1 --- a/alarm-clock-applet/receipt	Sun Oct 15 00:50:19 2017 +0200
     1.2 +++ b/alarm-clock-applet/receipt	Sun Oct 15 05:11:40 2017 +0300
     1.3 @@ -10,7 +10,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://launchpad.net/alarm-clock/trunk/$VERSION/+download/$TARBALL"
     1.6  
     1.7 -DEPENDS="GConf gstreamer0 libnotify libunique notification-daemon"
     1.8 +DEPENDS="GConf gstreamer0 libnotify libunique notification-daemon-gtk2"
     1.9  BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer0-dev GConf-dev gnome-icon-theme \
    1.10  libnotify-dev libunique-dev wget intltool"
    1.11  
     2.1 --- a/gnome-vfs/receipt	Sun Oct 15 00:50:19 2017 +0200
     2.2 +++ b/gnome-vfs/receipt	Sun Oct 15 05:11:40 2017 +0300
     2.3 @@ -12,8 +12,8 @@
     2.4  
     2.5  DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 ORBit2 \
     2.6  zlib"
     2.7 -BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
     2.8 -libxml2-dev zlib-dev intltool pkg-config"
     2.9 +BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \
    2.10 +gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
    2.11  
    2.12  # Rules to configure and make the package.
    2.13  compile_rules()
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/notification-daemon-gtk2/receipt	Sun Oct 15 05:11:40 2017 +0300
     3.3 @@ -0,0 +1,48 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="notification-daemon-gtk2"
     3.7 +VERSION="0.5.0" # latest version with gtk2 is 0.5.0 (2010-06-28)
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="Notification daemon for libnotify/notify-send under GTK2"
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="http://www.galago-project.org/"
    3.13 +
    3.14 +TARBALL="notification-daemon-$VERSION.tar.bz2"
    3.15 +WGET_URL="$GNOME_MIRROR/notification-daemon/${VERSION%.*}/$TARBALL"
    3.16 +
    3.17 +BUILD_DEPENDS="intltool gtk+-dev dbus-dev dbus-glib-dev libcanberra-dev \
    3.18 +GConf-dev libwnck2-dev libnotify-dev"
    3.19 +SPLIT="notification-daemon-gtk2-dev"
    3.20 +
    3.21 +compile_rules() {
    3.22 +	./configure $CONFIGURE_ARGS && make && make install
    3.23 +}
    3.24 +
    3.25 +genpkg_rules() {
    3.26 +	case $PACKAGE in
    3.27 +		notification-daemon-gtk2)
    3.28 +			copy @std
    3.29 +			rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48
    3.30 +			DEPENDS="GConf atk bzlib cairo dbus dbus-glib fontconfig freetype \
    3.31 +			gdk-pixbuf glib gtk+ libcanberra libffi libharfbuzz libltdl \
    3.32 +			liblzma libnotify libogg libpng16 libvorbis libwnck2 libxml2 \
    3.33 +			orbit2 pango pcre startup-notification util-linux-blkid \
    3.34 +			util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
    3.35 +			xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \
    3.36 +			xorg-xcb-util zlib"
    3.37 +			;;
    3.38 +		*-dev)
    3.39 +			copy @dev
    3.40 +			DEPENDS="notification-daemon-gtk2 GConf-dev atk-dev bzip2-dev \
    3.41 +			cairo-dev dbus-dev dbus-glib-dev fontconfig-dev freetype-dev \
    3.42 +			gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libcanberra-dev \
    3.43 +			libffi-dev libogg-dev libpng16-dev libtool libvorbis-dev \
    3.44 +			libwnck2-dev libxml2-dev orbit2-dev pango-dev pcre-dev \
    3.45 +			startup-notification-dev util-linux-blkid-dev util-linux-mount-dev \
    3.46 +			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
    3.47 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
    3.48 +			xorg-libxcb-dev xorg-pixman-dev xorg-xcb-util-dev xz-dev zlib-dev"
    3.49 +			;;
    3.50 +	esac
    3.51 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/notification-daemon-gtk2/stuff/patches/nd050.patch	Sun Oct 15 05:11:40 2017 +0300
     4.3 @@ -0,0 +1,12 @@
     4.4 +--- a/src/capplet/notification-properties.c
     4.5 ++++ b/src/capplet/notification-properties.c
     4.6 +@@ -402,8 +402,7 @@
     4.7 + 
     4.8 +         dialog->preview = notify_notification_new (_("Notification Test"),
     4.9 +                                                    _("Just a test"),
    4.10 +-                                                   "gnome-util",
    4.11 +-                                                   NULL);
    4.12 ++                                                   "gnome-util");
    4.13 + 
    4.14 +         if (!notify_notification_show (dialog->preview, &error)) {
    4.15 +                 char *message;
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/notification-daemon-gtk2/stuff/patches/series	Sun Oct 15 05:11:40 2017 +0300
     5.3 @@ -0,0 +1,1 @@
     5.4 +nd050.patch
     6.1 --- a/notification-daemon/receipt	Sun Oct 15 00:50:19 2017 +0200
     6.2 +++ b/notification-daemon/receipt	Sun Oct 15 05:11:40 2017 +0300
     6.3 @@ -1,42 +1,23 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="notification-daemon"
     6.8 -VERSION="0.5.0"
     6.9 +VERSION="3.20.0"
    6.10  CATEGORY="x-window"
    6.11  SHORT_DESC="Notification daemon for libnotify/notify-send"
    6.12 -MAINTAINER="pankso@slitaz.org"
    6.13 +MAINTAINER="al.bobylev@gmail.com"
    6.14  LICENSE="GPL2"
    6.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.16  WEB_SITE="http://www.galago-project.org/"
    6.17 +
    6.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.19  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    6.20  
    6.21 -DEPENDS="dbus libnotify libcanberra libwnck2 GConf libogg libvorbis libltdl"
    6.22 -BUILD_DEPENDS="dbus-dev libnotify-dev libcanberra-dev GConf-dev \
    6.23 -libwnck2-dev libogg-dev libvorbis-dev intltool libtool"
    6.24 +BUILD_DEPENDS="gettext gtk+3-dev glib-dev xorg-libX11-dev"
    6.25  
    6.26 -# Rules to configure and make the package.
    6.27 -compile_rules()
    6.28 -{
    6.29 -	sed -i '/"gnome-util"/{s/,$/);/;nd}' src/capplet/notification-properties.c
    6.30 -	./configure \
    6.31 -		--sysconfdir=/etc \
    6.32 -		--libexecdir=/usr/bin \
    6.33 -		$CONFIGURE_ARGS && 
    6.34 -	make && make install &&
    6.35 -	rm -rf $install/usr/share/applications
    6.36 +compile_rules() {
    6.37 +	./configure $CONFIGURE_ARGS && make && make install
    6.38  }
    6.39  
    6.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.41 -genpkg_rules()
    6.42 -{
    6.43 -	mkdir -p $fs/usr/bin $fs/usr/share
    6.44 -		#$fs/usr/share/pixmaps $fs/usr/share/applications
    6.45 -	#cp -a $install/etc $fs
    6.46 -	cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    6.47 -	cp -a $install/usr/lib $fs/usr
    6.48 -	rm $fs/usr/lib/*/*/*.*a
    6.49 -	cp -a $install/usr/share/dbus-1 $fs/usr/share
    6.50 -	#cp -a $install/usr/share/$PACKAGE $fs/usr/share
    6.51 -	#cp $install/usr/share/icons/hicolor/32x32/apps/* \
    6.52 -	#	$fs/usr/share/pixmaps
    6.53 +genpkg_rules() {
    6.54 +	copy @std
    6.55 +	DEPENDS="atk cairo gdk-pixbuf glib gtk+3 pango xorg-libX11"
    6.56  }