wok rev 9594

Removed: dia, gecko-mediaplayer, gens-gs, libfm, mplayerplug-in, nscd, pcmanfm2
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 12 22:04:33 2011 +0200 (2011-04-12)
parents d153d7ee72f2
children a2ceb81a791d
files dia/receipt gecko-mediaplayer/receipt gens-gs/receipt gens-gs/stuff/gens-gtk.patch libfm/receipt mplayerplug-in/receipt mplayerplug-in/stuff/mplayerplug-in-3.55-glibc210.u mplayerplug-in/stuff/mplayerplug-in-3.55-static-iid-accessor.u mplayerplug-in/stuff/slitaz-hack.h nscd/receipt nscd/stuff/nscd pcmanfm2/receipt pcmanfm2/stuff/pcmanfm.png
line diff
     1.1 --- a/dia/receipt	Tue Apr 12 15:29:06 2011 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,44 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="dia"
     1.7 -VERSION="0.97.1"
     1.8 -CATEGORY="office"
     1.9 -SHORT_DESC="GTK+ based diagram creation program."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 -WEB_SITE="http://projects.gnome.org/dia/"
    1.13 -WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14 -DEPENDS="gtk+ libxml2 freetype fontconfig glib atk pango zlib libart_lgpl \
    1.15 -libxslt popt xorg-libXdamage"
    1.16 -BUILD_DEPENDS="pkg-config gtk+-dev libxml2-dev freetype-dev intltool \
    1.17 -fontconfig-dev glib-dev atk-dev pango-dev python-pyxml zlib-dev libxslt \
    1.18 -libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev"
    1.19 -TAGS="office diagram creator editor visio"
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	cd $src
    1.25 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.26 -	--with-python --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.27 -	make -j 4 &&
    1.28 -	make DESTDIR=$PWD/_pkg install
    1.29 -}
    1.30 -
    1.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 -genpkg_rules()
    1.33 -{
    1.34 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.35 -	cp -a $_pkg/usr/lib/dia $fs/usr/lib
    1.36 -	cp -a $_pkg/usr/share/dia $fs/usr/share
    1.37 -	cp -a $_pkg/usr/share/oaf $fs/usr/share
    1.38 -	#cp -a $_pkg/usr/share/omf $fs/usr/share
    1.39 -	cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
    1.40 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.41 -	#cp -a $_pkg/usr/share/help $fs/usr/share
    1.42 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.43 -	cp -a $_pkg/usr/share/mime-info $fs/usr/share
    1.44 -	cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps
    1.45 -	cp -a $_pkg/usr/bin $fs/usr
    1.46 -}
    1.47 -
     2.1 --- a/gecko-mediaplayer/receipt	Tue Apr 12 15:29:06 2011 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,51 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="gecko-mediaplayer"
     2.7 -VERSION="1.0.0"
     2.8 -CATEGORY="multimedia"
     2.9 -SHORT_DESC="Browser plugin that uses gnome-mplayer to play media in a web browser"
    2.10 -MAINTAINER="jozee@slitaz.org"
    2.11 -DEPENDS="gnome-mplayer dbus-glib gcc-lib-base"
    2.12 -BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 -WEB_SITE="http://code.google.com/p/gecko-mediaplayer/" 
    2.15 -WGET_URL="http://gecko-mediaplayer.googlecode.com/files/$TARBALL"
    2.16 -TAGS="player audio video browser"
    2.17 - 
    2.18 -# Rules to configure and make the package.
    2.19 -compile_rules()
    2.20 -{
    2.21 -	cd $src	
    2.22 -	sed -i 's/utf8characters/UTF8Characters/g' src/*.cpp
    2.23 -	./configure --prefix=/usr --sysconfdir=/etc \
    2.24 -              --disable-schemas-install --without-gconf &&
    2.25 -	make  &&
    2.26 -	make DESTDIR=$PWD/_pkg install
    2.27 -	
    2.28 -}
    2.29 -
    2.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 -genpkg_rules()
    2.32 -{
    2.33 -	mkdir -p $fs/usr/lib
    2.34 -	cp -a $_pkg/usr/lib/mozilla $fs/usr/lib
    2.35 -
    2.36 -}
    2.37 -
    2.38 -post_install()
    2.39 -{
    2.40 -	echo -n "Processing post install commands..."
    2.41 -	local root
    2.42 -	root=$1
    2.43 -	for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do
    2.44 -		ln -s $i $root/usr/lib/firefox*/plugins
    2.45 -	done 
    2.46 -	status
    2.47 -}
    2.48 -
    2.49 -post_remove()
    2.50 -{
    2.51 -	echo -n "Processing post remove commands..."
    2.52 -	rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so
    2.53 -	status
    2.54 -}
     3.1 --- a/gens-gs/receipt	Tue Apr 12 15:29:06 2011 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,35 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="gens-gs"
     3.7 -VERSION="2.15.5_gs_r7"
     3.8 -CATEGORY="games"
     3.9 -SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X."
    3.10 -MAINTAINER="slaxemulator@gmail.com"
    3.11 -DEPENDS="gtk+ libsdl libglu-mesa"
    3.12 -BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
    3.13 -_VERSION=gs-r7
    3.14 -TARBALL="Gens-${_VERSION}.tar.gz"
    3.15 -WEB_SITE="http://info.sonicretro.org/Gens/GS"
    3.16 -WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
    3.17 -
    3.18 -# Rules to configure and make the package.
    3.19 -compile_rules()
    3.20 -{
    3.21 -	cd $src
    3.22 -	patch -Np1 -i $stuff/gens-gtk.patch || return 1
    3.23 -	chmod +x install-sh
    3.24 -	./configure
    3.25 -	find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g' 
    3.26 -	make -j1 && make -j1 DESTDIR=$DESTDIR install
    3.27 -}
    3.28 -
    3.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.30 -genpkg_rules()
    3.31 -{
    3.32 -	mkdir -p $fs/usr/share $fs/usr/lib/mdp
    3.33 -	cp -a $_pkg/usr/bin $fs/usr
    3.34 -	cp -a $_pkg/usr/lib/mdp/*.so  $fs/usr/lib/mdp
    3.35 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    3.36 -	cp -a $_pkg/usr/share/gens $fs/usr/share
    3.37 -}
    3.38 -
     4.1 --- a/gens-gs/stuff/gens-gtk.patch	Tue Apr 12 15:29:06 2011 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,134 +0,0 @@
     4.4 -diff -ru gens/src/gens/ui/gtk/about/about_window.cpp gens-build/src/gens/ui/gtk/about/about_window.cpp
     4.5 ---- gens/src/gens/ui/gtk/about/about_window.cpp	2010-10-11 16:32:29.000000000 +0000
     4.6 -+++ gens-build/src/gens/ui/gtk/about/about_window.cpp	2010-10-11 15:46:25.000000000 +0000
     4.7 -@@ -84,7 +84,7 @@
     4.8 - 	gtk_window_set_position(GTK_WINDOW(about_window), GTK_WIN_POS_CENTER);
     4.9 - 	gtk_window_set_resizable(GTK_WINDOW(about_window), FALSE);
    4.10 - 	gtk_window_set_type_hint(GTK_WINDOW(about_window), GDK_WINDOW_TYPE_HINT_DIALOG);
    4.11 --	gtk_dialog_set_has_separator(GTK_DIALOG(about_window), FALSE);
    4.12 -+	g_object_set(GTK_DIALOG(about_window), "has-separator", FALSE, NULL);
    4.13 - 	
    4.14 - 	// Callbacks for if the window is closed.
    4.15 - 	g_signal_connect((gpointer)about_window, "delete_event",
    4.16 -diff -ru gens/src/gens/ui/gtk/bios_misc_files/bmf_window.cpp gens-build/src/gens/ui/gtk/bios_misc_files/bmf_window.cpp
    4.17 ---- gens/src/gens/ui/gtk/bios_misc_files/bmf_window.cpp	2010-10-11 16:32:29.000000000 +0000
    4.18 -+++ gens-build/src/gens/ui/gtk/bios_misc_files/bmf_window.cpp	2010-10-11 15:33:03.000000000 +0000
    4.19 -@@ -84,7 +84,7 @@
    4.20 - 	gtk_window_set_position(GTK_WINDOW(bmf_window), GTK_WIN_POS_CENTER);
    4.21 - 	gtk_window_set_resizable(GTK_WINDOW(bmf_window), FALSE);
    4.22 - 	gtk_window_set_type_hint(GTK_WINDOW(bmf_window), GDK_WINDOW_TYPE_HINT_DIALOG);
    4.23 --	gtk_dialog_set_has_separator(GTK_DIALOG(bmf_window), FALSE);
    4.24 -+	g_object_set(GTK_DIALOG(bmf_window), "has-separator", FALSE, NULL);
    4.25 - 	
    4.26 - 	// Callbacks for if the window is closed.
    4.27 - 	g_signal_connect((gpointer)bmf_window, "delete_event",
    4.28 -diff -ru gens/src/gens/ui/gtk/directory_config/dir_window.cpp gens-build/src/gens/ui/gtk/directory_config/dir_window.cpp
    4.29 ---- gens/src/gens/ui/gtk/directory_config/dir_window.cpp	2010-10-11 16:32:29.000000000 +0000
    4.30 -+++ gens-build/src/gens/ui/gtk/directory_config/dir_window.cpp	2010-10-11 15:34:21.000000000 +0000
    4.31 -@@ -110,7 +110,7 @@
    4.32 - 	gtk_window_set_position(GTK_WINDOW(dir_window), GTK_WIN_POS_CENTER);
    4.33 - 	gtk_window_set_resizable(GTK_WINDOW(dir_window), FALSE);
    4.34 - 	gtk_window_set_type_hint(GTK_WINDOW(dir_window), GDK_WINDOW_TYPE_HINT_DIALOG);
    4.35 --	gtk_dialog_set_has_separator(GTK_DIALOG(dir_window), FALSE);
    4.36 -+	g_object_set(GTK_DIALOG(dir_window), "has-separator", FALSE, NULL);
    4.37 - 	
    4.38 - 	// Callbacks for if the window is closed.
    4.39 - 	g_signal_connect((gpointer)(dir_window), "delete_event",
    4.40 -diff -ru gens/src/gens/ui/gtk/general_options/genopt_window.cpp gens-build/src/gens/ui/gtk/general_options/genopt_window.cpp
    4.41 ---- gens/src/gens/ui/gtk/general_options/genopt_window.cpp	2010-10-11 16:32:29.000000000 +0000
    4.42 -+++ gens-build/src/gens/ui/gtk/general_options/genopt_window.cpp	2010-10-11 15:36:00.000000000 +0000
    4.43 -@@ -138,7 +138,7 @@
    4.44 - 	gtk_window_set_position(GTK_WINDOW(genopt_window), GTK_WIN_POS_CENTER);
    4.45 - 	gtk_window_set_resizable(GTK_WINDOW(genopt_window), false);
    4.46 - 	gtk_window_set_type_hint(GTK_WINDOW(genopt_window), GDK_WINDOW_TYPE_HINT_DIALOG);
    4.47 --	gtk_dialog_set_has_separator(GTK_DIALOG(genopt_window), false);
    4.48 -+	g_object_set(GTK_DIALOG(genopt_window), "has-separator", false, NULL);
    4.49 - 	
    4.50 - 	// Callbacks for if the window is closed.
    4.51 - 	g_signal_connect((gpointer)genopt_window, "delete_event",
    4.52 -diff -ru gens/src/gens/ui/gtk/gens/gens_window_callbacks.cpp gens-build/src/gens/ui/gtk/gens/gens_window_callbacks.cpp
    4.53 ---- gens/src/gens/ui/gtk/gens/gens_window_callbacks.cpp	2010-10-11 16:32:29.000000000 +0000
    4.54 -+++ gens-build/src/gens/ui/gtk/gens/gens_window_callbacks.cpp	2010-10-11 15:21:28.000000000 +0000
    4.55 -@@ -157,9 +157,9 @@
    4.56 - 	GSFT_UNUSED_PARAMETER(y);
    4.57 - 	GSFT_UNUSED_PARAMETER(user_data);
    4.58 - 	
    4.59 --	if (context->targets)
    4.60 -+	if (gdk_drag_context_list_targets(context))
    4.61 - 	{
    4.62 --		GdkAtom target_type = GDK_POINTER_TO_ATOM(g_list_nth_data(context->targets, 0));
    4.63 -+		GdkAtom target_type = GDK_POINTER_TO_ATOM(g_list_nth_data(gdk_drag_context_list_targets(context), 0));
    4.64 - 		gtk_drag_get_data(widget, context, target_type, time);
    4.65 - 		return true;
    4.66 - 	}
    4.67 -diff -ru gens/src/gens/ui/gtk/opengl_resolution/glres_window.cpp gens-build/src/gens/ui/gtk/opengl_resolution/glres_window.cpp
    4.68 ---- gens/src/gens/ui/gtk/opengl_resolution/glres_window.cpp	2010-10-11 16:32:29.000000000 +0000
    4.69 -+++ gens-build/src/gens/ui/gtk/opengl_resolution/glres_window.cpp	2010-10-11 15:46:21.000000000 +0000
    4.70 -@@ -75,7 +75,7 @@
    4.71 - 	gtk_window_set_position(GTK_WINDOW(glres_window), GTK_WIN_POS_CENTER);
    4.72 - 	gtk_window_set_resizable(GTK_WINDOW(glres_window), FALSE);
    4.73 - 	gtk_window_set_type_hint(GTK_WINDOW(glres_window), GDK_WINDOW_TYPE_HINT_DIALOG);
    4.74 --	gtk_dialog_set_has_separator(GTK_DIALOG(glres_window), FALSE);
    4.75 -+	g_object_set(GTK_DIALOG(glres_window), "has-separator", FALSE, NULL);
    4.76 - 	
    4.77 - 	// Callbacks for if the window is closed.
    4.78 - 	g_signal_connect((gpointer)(glres_window), "delete_event",
    4.79 -diff -ru gens/src/gens/ui/gtk/plugin_manager/pmgr_window.cpp gens-build/src/gens/ui/gtk/plugin_manager/pmgr_window.cpp
    4.80 ---- gens/src/gens/ui/gtk/plugin_manager/pmgr_window.cpp	2010-10-11 16:32:29.000000000 +0000
    4.81 -+++ gens-build/src/gens/ui/gtk/plugin_manager/pmgr_window.cpp	2010-10-11 15:46:29.000000000 +0000
    4.82 -@@ -80,8 +80,7 @@
    4.83 - // Callbacks.
    4.84 - static gboolean	pmgr_window_callback_close(GtkWidget *widget, GdkEvent *event, gpointer user_data);
    4.85 - static void	pmgr_window_callback_response(GtkDialog *dialog, gint response_id, gpointer user_data);
    4.86 --static void	pmgr_window_callback_tabPluginList_switch_page(GtkNotebook *notebook, GtkNotebookPage *page,
    4.87 --							       guint page_num, gpointer user_data);
    4.88 -+static void	pmgr_window_callback_tabPluginList_switch_page(GtkNotebook *notebook, guint page_num, gpointer user_data);
    4.89 - static void	pmgr_window_callback_lstPluginList_cursor_changed(GtkTreeView *tree_view, gpointer user_data);
    4.90 - static void	pmgr_window_callback_fraPluginDesc_size_allocate(GtkWidget *widget, GtkAllocation *allocation, gpointer user_data);
    4.91 - 
    4.92 -@@ -119,7 +118,7 @@
    4.93 - 	gtk_window_set_position(GTK_WINDOW(pmgr_window), GTK_WIN_POS_CENTER);
    4.94 - 	gtk_window_set_resizable(GTK_WINDOW(pmgr_window), FALSE);
    4.95 - 	gtk_window_set_type_hint(GTK_WINDOW(pmgr_window), GDK_WINDOW_TYPE_HINT_DIALOG);
    4.96 --	gtk_dialog_set_has_separator(GTK_DIALOG(pmgr_window), FALSE);
    4.97 -+	g_object_set(GTK_DIALOG(pmgr_window), "has-separator", FALSE, NULL);
    4.98 - 	
    4.99 - 	// Callbacks for if the window is closed.
   4.100 - 	g_signal_connect((gpointer)pmgr_window, "delete_event",
   4.101 -@@ -559,11 +558,9 @@
   4.102 -  * @param page_num New notebook page index.
   4.103 -  * @param user_data User data.
   4.104 -  */
   4.105 --static void pmgr_window_callback_tabPluginList_switch_page(GtkNotebook *notebook, GtkNotebookPage *page,
   4.106 --							   guint page_num, gpointer user_data)
   4.107 -+static void pmgr_window_callback_tabPluginList_switch_page(GtkNotebook *notebook, guint page_num, gpointer user_data)
   4.108 - {
   4.109 - 	GSFT_UNUSED_PARAMETER(notebook);
   4.110 --	GSFT_UNUSED_PARAMETER(page);
   4.111 - 	GSFT_UNUSED_PARAMETER(user_data);
   4.112 - 	
   4.113 - 	// Activate the "cursor-changed" callback for the page.
   4.114 -diff -ru gens/src/gens/ui/gtk/select_cdrom/selcd_window.cpp gens-build/src/gens/ui/gtk/select_cdrom/selcd_window.cpp
   4.115 ---- gens/src/gens/ui/gtk/select_cdrom/selcd_window.cpp	2010-10-11 16:32:29.000000000 +0000
   4.116 -+++ gens-build/src/gens/ui/gtk/select_cdrom/selcd_window.cpp	2010-10-11 15:46:16.000000000 +0000
   4.117 -@@ -94,7 +94,7 @@
   4.118 - 	gtk_window_set_position(GTK_WINDOW(selcd_window), GTK_WIN_POS_CENTER);
   4.119 - 	gtk_window_set_resizable(GTK_WINDOW(selcd_window), FALSE);
   4.120 - 	gtk_window_set_type_hint(GTK_WINDOW(selcd_window), GDK_WINDOW_TYPE_HINT_DIALOG);
   4.121 --	gtk_dialog_set_has_separator(GTK_DIALOG(selcd_window), FALSE);
   4.122 -+	g_object_set(GTK_DIALOG(selcd_window), "has-separator", FALSE, NULL);
   4.123 - 	
   4.124 - 	// Callbacks for if the window is closed.
   4.125 - 	g_signal_connect((gpointer)(selcd_window), "delete_event",
   4.126 -diff -ru gens/src/mdp/misc/game_genie/gg_window_gtk2.cpp gens-build/src/mdp/misc/game_genie/gg_window_gtk2.cpp
   4.127 ---- gens/src/mdp/misc/game_genie/gg_window_gtk2.cpp	2010-10-11 16:32:29.000000000 +0000
   4.128 -+++ gens-build/src/mdp/misc/game_genie/gg_window_gtk2.cpp	2010-10-11 15:52:05.000000000 +0000
   4.129 -@@ -111,7 +111,7 @@
   4.130 - 	gtk_window_set_position(GTK_WINDOW(gg_window), GTK_WIN_POS_CENTER);
   4.131 - 	gtk_window_set_resizable(GTK_WINDOW(gg_window), TRUE);
   4.132 - 	gtk_window_set_type_hint(GTK_WINDOW(gg_window), GDK_WINDOW_TYPE_HINT_DIALOG);
   4.133 --	gtk_dialog_set_has_separator(GTK_DIALOG(gg_window), FALSE);
   4.134 -+	g_object_set(GTK_DIALOG(gg_window), "has-separator", FALSE, NULL);
   4.135 - 	
   4.136 - 	// Add the window icon.
   4.137 - 	GList *icon_list = NULL;
     5.1 --- a/libfm/receipt	Tue Apr 12 15:29:06 2011 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,46 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="libfm"
     5.7 -VERSION="0.1.14"
     5.8 -CATEGORY="system-tools"
     5.9 -SHORT_DESC="File manager library from LXDE."
    5.10 -MAINTAINER="pankso@slitaz.org"
    5.11 -DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
    5.12 -zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache"
    5.13 -BUILD_DEPENDS="$DEPENDS gtk+-dev gamin-dev shared-mime-info intltool \
    5.14 -hal-dev dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev \
    5.15 -xcb-util-dev menu-cache-dev expat-dev"
    5.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.17 -WEB_SITE="http://pcmanfm.sourceforge.net"
    5.18 -WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
    5.19 -
    5.20 -# Rules to configure and make the package.
    5.21 -compile_rules()
    5.22 -{
    5.23 -	cd $src
    5.24 -	chmod +x install-sh
    5.25 -	./configure \
    5.26 -		--prefix=/usr \
    5.27 -		--mandir=/usr/share/man \
    5.28 -		--sysconfdir=/etc \
    5.29 -		$CONFIGURE_ARGS &&
    5.30 -	make &&
    5.31 -	make DESTDIR=$PWD/_pkg install
    5.32 -}
    5.33 -
    5.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.35 -genpkg_rules()
    5.36 -{
    5.37 -	mkdir -p $fs/usr/lib/gio/modules
    5.38 -	cp -a $_pkg/etc $fs
    5.39 -	cp -a $_pkg/usr/bin $fs/usr
    5.40 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    5.41 -	cp -a $_pkg/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules
    5.42 -}
    5.43 -
    5.44 -post_install()
    5.45 -{
    5.46 -	# update mime-cache
    5.47 -	echo "Updating mime-types database"
    5.48 -	update-mime-database $1/usr/share/mime
    5.49 -}
     6.1 --- a/mplayerplug-in/receipt	Tue Apr 12 15:29:06 2011 +0000
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,82 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="mplayerplug-in"
     6.7 -VERSION="3.55"
     6.8 -CATEGORY="multimedia"
     6.9 -SHORT_DESC="a browser plugin that uses mplayer to play videos from websites"
    6.10 -MAINTAINER="jozee@slitaz.org"
    6.11 -DEPENDS="mplayer xorg-libXpm gtk+ gcc-lib-base"
    6.12 -BUILD_DEPENDS="mplayer gtk+-dev xorg-libXpm-dev firefox-dev libIDL gettext"
    6.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.14 -WEB_SITE="http://mplayerplug-in.sourceforge.net/" 
    6.15 -WGET_URL="http://downloads.sourceforge.net/mplayerplug-in/$TARBALL"
    6.16 -TAGS="player audio video browser"
    6.17 -
    6.18 -get_firefox_version()
    6.19 -{
    6.20 -	FIREFOX_VER=`cat $1/var/lib/tazpkg/installed/firefox/receipt | \
    6.21 -			grep VERSION= | cut -d \" -f 2`
    6.22 -}
    6.23 -
    6.24 -# Rules to configure and make the package.
    6.25 -compile_rules()
    6.26 -{
    6.27 -	cd $src
    6.28 -	sed -i 's/npupp\.h/npfunctions.h/' */np*
    6.29 -	cp ../stuff/slitaz-hack.h include
    6.30 -	grep -q slitaz-hack include/npplat.h || sed -i \
    6.31 -		's/ne _NPPLAT_H_/ne _NPPLAT_H_\n#include "slitaz-hack.h"/' \
    6.32 -		include/npplat.h
    6.33 -	while read file; do
    6.34 -		[ -f done.$file ] && continue
    6.35 -		echo "Apply $file..."
    6.36 -		patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1
    6.37 -		touch done.$file
    6.38 -	done <<EOT
    6.39 -glibc210.u
    6.40 -static-iid-accessor.u
    6.41 -EOT
    6.42 -	make distclean
    6.43 -	touch install.sh
    6.44 -	get_firefox_version
    6.45 -	./configure --prefix=/usr --sysconfdir=/etc \
    6.46 -		--enable-gtk2 \
    6.47 -		--enable-wmp \
    6.48 -		--enable-qt \
    6.49 -		--enable-rm \
    6.50 -		--enable-dvx \
    6.51 -		MOZILLA_HOME="/usr/lib/firefox-$FIREFOX_VER" \
    6.52 -		GECKO_IDLDIR="/usr/share/idl/firefox-$FIREFOX_VER" &&
    6.53 -	make -j 4 &&
    6.54 -	make DESTDIR=$PWD/_pkg install
    6.55 -}
    6.56 -
    6.57 -genpkg_rules()
    6.58 -{
    6.59 -	mkdir -p $fs/usr/lib
    6.60 -	cp -a $_pkg/etc $fs
    6.61 -	cp -a $_pkg/usr/lib/mozilla $fs/usr/lib		
    6.62 -	# change the default video output to xv,x11
    6.63 -	sed -i "s/#vo=xv,x11/vo=xv,x11/" $fs/etc/$PACKAGE.conf
    6.64 -	      
    6.65 -}
    6.66 -
    6.67 -post_install()
    6.68 -{
    6.69 -	echo -n "Processing post install commands..."
    6.70 -	local root
    6.71 -	root=$1
    6.72 -	get_firefox_version $1
    6.73 -	for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do
    6.74 -		ln -s $i $root/usr/lib/firefox-$FIREFOX_VER/plugins
    6.75 -	done 
    6.76 -	status
    6.77 -}
    6.78 -
    6.79 -post_remove()
    6.80 -{
    6.81 -	echo -n "Processing post remove commands..."
    6.82 -	rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so
    6.83 -	status
    6.84 -}
    6.85 -
     7.1 --- a/mplayerplug-in/stuff/mplayerplug-in-3.55-glibc210.u	Tue Apr 12 15:29:06 2011 +0000
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,63 +0,0 @@
     7.4 ---- mplayerplug-in-3.55/Source/plugin-list.cpp
     7.5 -+++ mplayerplug-in-3.55/Source/plugin-list.cpp
     7.6 -@@ -132,9 +132,9 @@ void insert_area(Node * parent, char *ta
     7.7 - 
     7.8 - void find_area_tags(const char *smilbuffer, Node * parent)
     7.9 - {
    7.10 --    char *startarea;
    7.11 --    char *endvideo;
    7.12 --    char *start;
    7.13 -+    const char *startarea;
    7.14 -+    const char *endvideo;
    7.15 -+    const char *start;
    7.16 - 
    7.17 -     int tagtime = 0;
    7.18 -     char tagtarget[128];
    7.19 ---- mplayerplug-in-3.55/Source/plugin-setup.h
    7.20 -+++ mplayerplug-in-3.55/Source/plugin-setup.h
    7.21 -@@ -174,7 +174,7 @@ char *getURLHostname(char *url);
    7.22 - char *getURLFilename(const char *url);
    7.23 - int isMms(char *url, int nomediacache);
    7.24 - void mmsToHttp(char *dest, char *src);
    7.25 --int sendCommand(nsPluginInstance * instance, char *command);
    7.26 -+int sendCommand(nsPluginInstance * instance, const char *command);
    7.27 - int URLcmp(const char *url1, const char *url2);
    7.28 - extern void remove_quotes(char *url);
    7.29 - void killmplayer(nsPluginInstance * instance);
    7.30 ---- mplayerplug-in-3.55/Source/plugin-support.cpp
    7.31 -+++ mplayerplug-in-3.55/Source/plugin-support.cpp
    7.32 -@@ -109,7 +109,7 @@ char *getURLFilename(const char *url)
    7.33 - {
    7.34 - 
    7.35 -     char *filename;
    7.36 --    char *tmp;
    7.37 -+    const char *tmp;
    7.38 -     int len;
    7.39 - 
    7.40 -     if (DEBUG > 1)
    7.41 -@@ -454,7 +454,7 @@ void remove_quotes(char *url)
    7.42 - // in cleanup routines (like destroyCB and shut), when we know that
    7.43 - // the player thread is not running, it is safe to call without locking
    7.44 - 
    7.45 --int sendCommand(nsPluginInstance * instance, char *command)
    7.46 -+int sendCommand(nsPluginInstance * instance, const char *command)
    7.47 - {
    7.48 -     int retval;
    7.49 -     char buffer[1024];
    7.50 -	 
    7.51 ---- mplayerplug-in-3.55/Source/plugin-ui.cpp	Thu Jun 12 14:18:01 2008
    7.52 -+++ mplayerplug-in-3.55/Source/plugin-ui.cpp	Fri Jun 12 14:25:35 2009
    7.53 -@@ -283,12 +283,7 @@
    7.54 -     int term, chop;
    7.55 -     int PercentRedraw;
    7.56 - 
    7.57 --    if (0) {
    7.58 --	printf("Widget: %p\n", w);
    7.59 --	printf("Message: %s\n", message);
    7.60 --    }
    7.61 --
    7.62 --    if (DEBUG > 1)
    7.63 -+	if (DEBUG > 1)
    7.64 - 	printf("state = %i, height = %i width = %i\n", instance->state,
    7.65 - 	       instance->movie_height, instance->movie_width);
    7.66 - 
     8.1 --- a/mplayerplug-in/stuff/mplayerplug-in-3.55-static-iid-accessor.u	Tue Apr 12 15:29:06 2011 +0000
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,38 +0,0 @@
     8.4 ---- mplayerplug-in-3.55/Source/nsIScriptableMplayerPlugin.h
     8.5 -+++ mplayerplug-in-3.55/Source/nsIScriptableMplayerPlugin.h
     8.6 -@@ -25,7 +25,7 @@
     8.7 - class NS_NO_VTABLE nsIScriptableWMPPlugin : public nsISupports {
     8.8 -  public: 
     8.9 - 
    8.10 --  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEWMPPLUGIN_IID)
    8.11 -+  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEWMPPLUGIN_IID)
    8.12 - 
    8.13 -   /* void play (); */
    8.14 -   NS_IMETHOD Play(void) = 0;
    8.15 -@@ -38,6 +38,8 @@
    8.16 - 
    8.17 - };
    8.18 - 
    8.19 -+NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptableWMPPlugin, NS_ISCRIPTABLEWMPPLUGIN_IID)
    8.20 -+
    8.21 - /* Use this macro when declaring classes that implement this interface. */
    8.22 - #define NS_DECL_NSISCRIPTABLEWMPPLUGIN \
    8.23 -   NS_IMETHOD Play(void); \
    8.24 -@@ -120,7 +122,7 @@
    8.25 - class NS_NO_VTABLE nsIScriptableMplayerPlugin : public nsISupports {
    8.26 -  public: 
    8.27 - 
    8.28 --  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEMPLAYERPLUGIN_IID)
    8.29 -+  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEMPLAYERPLUGIN_IID)
    8.30 - 
    8.31 -   /* void Play (); */
    8.32 -   NS_IMETHOD Play(void) = 0;
    8.33 -@@ -249,6 +251,8 @@
    8.34 - 
    8.35 - };
    8.36 - 
    8.37 -+NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptableMplayerPlugin, NS_ISCRIPTABLEMPLAYERPLUGIN_IID)
    8.38 -+
    8.39 - /* Use this macro when declaring classes that implement this interface. */
    8.40 - #define NS_DECL_NSISCRIPTABLEMPLAYERPLUGIN \
    8.41 -   NS_IMETHOD Play(void); \
     9.1 --- a/mplayerplug-in/stuff/slitaz-hack.h	Tue Apr 12 15:29:06 2011 +0000
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,28 +0,0 @@
     9.4 -#define int16 int16_t
     9.5 -#define uint16 uint16_t
     9.6 -#define int32 int32_t
     9.7 -#define uint32 uint32_t
     9.8 -
     9.9 -#define CallNPN_GetURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4)   (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4))
    9.10 -#define	CallNPN_GetURLProc(FUNC, ARG1, ARG2, ARG3)   (*(FUNC))((ARG1), (ARG2), (ARG3))
    9.11 -#define CallNPN_PostURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7)   (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7))
    9.12 -#define CallNPN_PostURLProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6)   (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6))
    9.13 -#define CallNPN_RequestReadProc(FUNC, stream, range)   (*(FUNC))((stream), (range))
    9.14 -#define CallNPN_NewStreamProc(FUNC, npp, type, window, stream)   (*(FUNC))((npp), (type), (window), (stream))
    9.15 -#define CallNPN_WriteProc(FUNC, npp, stream, len, buffer)   (*(FUNC))((npp), (stream), (len), (buffer))
    9.16 -#define CallNPN_DestroyStreamProc(FUNC, npp, stream, reason)   (*(FUNC))((npp), (stream), (reason))
    9.17 -#define CallNPN_StatusProc(FUNC, npp, msg)   (*(FUNC))((npp), (msg))
    9.18 -#define CallNPN_UserAgentProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    9.19 -#define CallNPN_MemAllocProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    9.20 -#define CallNPN_MemFreeProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    9.21 -#define CallNPN_MemFlushProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    9.22 -#define CallNPN_ReloadPluginsProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    9.23 -#define CallNPN_GetValueProc(FUNC, ARG1, ARG2, ARG3)   (*(FUNC))((ARG1), (ARG2), (ARG3))
    9.24 -#define CallNPN_SetValueProc(FUNC, ARG1, ARG2, ARG3)   (*(FUNC))((ARG1), (ARG2), (ARG3))
    9.25 -#define CallNPN_InvalidateRectProc(FUNC, ARG1, ARG2)   (*(FUNC))((ARG1), (ARG2))
    9.26 -#define CallNPN_InvalidateRegionProc(FUNC, ARG1, ARG2)   (*(FUNC))((ARG1), (ARG2))
    9.27 -#define CallNPN_ForceRedrawProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    9.28 -
    9.29 -#include <stdlib.h>
    9.30 -#include <assert.h>
    9.31 - 
    10.1 --- a/nscd/receipt	Tue Apr 12 15:29:06 2011 +0000
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,21 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="nscd"
    10.7 -VERSION="2.13"
    10.8 -CATEGORY="base-system"
    10.9 -SHORT_DESC="passwd, group and host lookups cache."
   10.10 -WEB_SITE="http://gcc.gnu.org/"
   10.11 -WANTED="glibc"
   10.12 -MAINTAINER="pascal.bellard@slitaz.org"
   10.13 -
   10.14 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.15 -#
   10.16 -genpkg_rules()
   10.17 -{
   10.18 -	mkdir -p $fs/usr/sbin $fs/usr/bin $fs/etc/init.d $fs/var/db
   10.19 -	cp $_pkg/usr/sbin/nscd $fs/usr/sbin/
   10.20 -	cp $_pkg/usr/bin/getent $fs/usr/bin/
   10.21 -	cp $src/nscd/nscd.conf $fs/etc
   10.22 -	cp stuff/nscd $fs/etc/init.d
   10.23 -	chmod +x $fs/etc/init.d/nscd
   10.24 -}
    11.1 --- a/nscd/stuff/nscd	Tue Apr 12 15:29:06 2011 +0000
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,62 +0,0 @@
    11.4 -#!/bin/sh
    11.5 -# /etc/init.d/nscd : Start, stop and restart nscd server on SliTaz, at
    11.6 -# boot time or with the command line.
    11.7 -#
    11.8 -# To start nscd server at boot time, just put nscd in the $RUN_DAEMONS
    11.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf
   11.10 -#
   11.11 -. /etc/init.d/rc.functions
   11.12 -. /etc/daemons.conf
   11.13 -
   11.14 -NAME=nscd
   11.15 -DESC="Name Switch Cache Daemon"
   11.16 -DAEMON=/usr/sbin/nscd
   11.17 -OPTIONS=$NSCD_OPTIONS
   11.18 -PIDFILE=/var/run/nscd/nscd.pid
   11.19 -
   11.20 -[ -d /var/run/nscd ] || mkdir /var/run/nscd
   11.21 -[ -d /var/db/nscd ] || mkdir /var/db/nscd
   11.22 -
   11.23 -case "$1" in
   11.24 -  start)
   11.25 -    if active_pidfile $PIDFILE nscd ; then
   11.26 -      echo "$NAME already running."
   11.27 -      exit 1
   11.28 -    fi
   11.29 -    echo -n "Starting $DESC: $NAME... "
   11.30 -    $DAEMON $OPTIONS
   11.31 -    status
   11.32 -    sleep 2
   11.33 -    ;;
   11.34 -  stop)
   11.35 -    if ! active_pidfile $PIDFILE nscd ; then
   11.36 -      echo "$NAME is not running."
   11.37 -      exit 1
   11.38 -    fi
   11.39 -    echo -n "Stopping $DESC: $NAME... "
   11.40 -    kill `cat $PIDFILE`
   11.41 -    status
   11.42 -    sleep 2
   11.43 -    ;;
   11.44 -  restart)
   11.45 -    if ! active_pidfile $PIDFILE nscd ; then
   11.46 -      echo "$NAME is not running."
   11.47 -      exit 1
   11.48 -    fi
   11.49 -    echo -n "Restarting $DESC: $NAME... "
   11.50 -    kill `cat $PIDFILE`
   11.51 -    sleep 2
   11.52 -    $DAEMON $OPTIONS
   11.53 -    status
   11.54 -    sleep 2
   11.55 -    ;;
   11.56 -  *)
   11.57 -    echo ""
   11.58 -    echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart
   11.59 -]"
   11.60 -    echo ""
   11.61 -    exit 1
   11.62 -    ;;
   11.63 -esac
   11.64 -
   11.65 -exit 0
    12.1 --- a/pcmanfm2/receipt	Tue Apr 12 15:29:06 2011 +0000
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,39 +0,0 @@
    12.4 -# SliTaz package receipt.
    12.5 -
    12.6 -PACKAGE="pcmanfm2"
    12.7 -VERSION="0.9.8"
    12.8 -CATEGORY="system-tools"
    12.9 -SHORT_DESC="Light and easy to use file manager."
   12.10 -MAINTAINER="pankso@slitaz.org"
   12.11 -DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
   12.12 -zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \
   12.13 -startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
   12.14 -xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
   12.15 -xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender libfm"
   12.16 -BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
   12.17 -dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev \
   12.18 -libfm libfm-dev menu-cache-dev expat-dev"
   12.19 -SOURCE="pcmanfm"
   12.20 -TARBALL="$SOURCE-$VERSION.tar.gz"
   12.21 -WEB_SITE="http://pcmanfm.sourceforge.net/"
   12.22 -WGET_URL="$SF_MIRROR/$SOURCE/files/$TARBALL"
   12.23 -
   12.24 -# Rules to configure and make the package.
   12.25 -compile_rules()
   12.26 -{
   12.27 -	cd $src
   12.28 -	./configure \
   12.29 -		--prefix=/usr \
   12.30 -		--mandir=/usr/share/man \
   12.31 -		$CONFIGURE_ARGS &&
   12.32 -	make &&
   12.33 -	make DESTDIR=$PWD/_pkg install
   12.34 -}
   12.35 -
   12.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.37 -genpkg_rules()
   12.38 -{
   12.39 -	mkdir -p $fs/usr/share
   12.40 -	cp -a $_pkg/usr/bin $fs/usr
   12.41 -	cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
   12.42 -}
    13.1 Binary file pcmanfm2/stuff/pcmanfm.png has changed