wok-next rev 20989

Update cairo-dock-plugins, combine firefox-langpack-* and thunderbird-langpack-*, small fixes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 02 04:53:44 2018 +0300 (2018-10-02)
parents a18af897de8e
children 8f8e0d257c2e
files cairo-dock-plugins/.icon.png cairo-dock-plugins/receipt cairo-dock-plugins/stuff/patches/cairo-dock-plug-ins-mono.patch cairo-dock-plugins/stuff/patches/cairo-dock-plugins-3.4.1-time_h-confict.patch cairo-dock-plugins/stuff/patches/series cairo-dock/receipt cairo-dock/stuff/cairo-dock.png firefox-langpack-da/receipt firefox-langpack-de/receipt firefox-langpack-en_GB/receipt firefox-langpack-es_ES/receipt firefox-langpack-fr/receipt firefox-langpack-id/receipt firefox-langpack-it/receipt firefox-langpack-pt_BR/receipt firefox-langpack-pt_PT/receipt firefox-langpack-ru/receipt firefox-langpack-zh_CN/receipt firefox-langpack-zh_TW/receipt firefox-langpack/.icon.png firefox-langpack/receipt mate116/receipt py3k3/.icon.png py3k3/receipt python-docutils/receipt python-idna/receipt python-nose/receipt thunderbird-langpack-cs/receipt thunderbird-langpack-da/receipt thunderbird-langpack-de/receipt thunderbird-langpack-el/receipt thunderbird-langpack-en_GB/receipt thunderbird-langpack-en_US/receipt thunderbird-langpack-es_AR/receipt thunderbird-langpack-es_ES/receipt thunderbird-langpack-fr/receipt thunderbird-langpack-hu/receipt thunderbird-langpack-id/receipt thunderbird-langpack-it/receipt thunderbird-langpack-pl/receipt thunderbird-langpack-pt_BR/receipt thunderbird-langpack-pt_PT/receipt thunderbird-langpack-ru/receipt thunderbird-langpack-sl/receipt thunderbird-langpack-sv_SE/receipt thunderbird-langpack-zh_CN/receipt thunderbird-langpack-zh_TW/receipt thunderbird-langpack/.icon.png thunderbird-langpack/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo-dock-plugins/.icon.png	Tue Oct 02 04:53:44 2018 +0300
     1.3 @@ -0,0 +1,1 @@
     1.4 +../cairo-dock/.icon.png
     1.5 \ No newline at end of file
     2.1 --- a/cairo-dock-plugins/receipt	Mon Oct 01 01:18:37 2018 +0300
     2.2 +++ b/cairo-dock-plugins/receipt	Tue Oct 02 04:53:44 2018 +0300
     2.3 @@ -1,32 +1,61 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="cairo-dock-plugins"
     2.8 -VERSION="3.3.2"
     2.9 +VERSION="3.4.1"
    2.10  CATEGORY="x-window"
    2.11 -SHORT_DESC="Set of plugins for Cairo-Dock"
    2.12 -MAINTAINER="pankso@slitaz.org"
    2.13 +SHORT_DESC="Plugins for Cairo-Dock"
    2.14 +MAINTAINER="al.bobylev@gmail.com"
    2.15  LICENSE="GPL3"
    2.16  WEB_SITE="http://www.glx-dock.org/"
    2.17  
    2.18 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 -WGET_URL="https://github.com/Cairo-Dock/cairo-dock-plug-ins/archive/$VERSION.tar"
    2.20 +TARBALL="cairo-dock-plug-ins-$VERSION.tar.gz"
    2.21 +WGET_URL="https://github.com/Cairo-Dock/cairo-dock-plug-ins/releases/download/$VERSION/$TARBALL"
    2.22  
    2.23 -BUILD_DEPENDS="wget dbus-glib-dev cairo-dock-dev cmake alsa-lib \
    2.24 -gtk+-dev cairo-dev librsvg-dev dbus-dev libxml2-dev gtkglext-dev mesa-dev \
    2.25 -xorg-libXtst-dev xorg-libXcomposite-dev alsa-lib-dev libical-dev glu-dev \
    2.26 -libdbusmenu-gtk2-dev libindicator-gtk2-dev gnome-menus-dev"
    2.27 +BUILD_DEPENDS="cmake cairo-dock-dev gettext libdbusmenu-gtk3-dev \
    2.28 +libindicator-gtk3-dev  upower-dev alsa-lib-dev libical-dev python3 ruby \
    2.29 +ruby-stdlib mono vala pulseaudio-dev fftw-dev libxklavier-dev libetpan-dev \
    2.30 +libzeitgeist-dev libexif-dev lm-sensors-dev vte-dev "
    2.31 +SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE-ruby $PACKAGE $PACKAGE-dev"
    2.32  
    2.33  compile_rules() {
    2.34 +	sed -i 's|gmcs|mcs|' CMakeLists.txt
    2.35 +
    2.36  	mkdir build
    2.37  	cd    build
    2.38  	cmake \
    2.39  		-DCMAKE_INSTALL_PREFIX=/usr \
    2.40  		.. &&
    2.41  	make &&
    2.42 -	make DESTDIR=$DESTDIR install
    2.43 +	make install
    2.44  }
    2.45  
    2.46  genpkg_rules() {
    2.47 -	copy @std
    2.48 -	DEPENDS="dbus-glib cairo-dock"
    2.49 +	case $PACKAGE in
    2.50 +		*-python)
    2.51 +			copy python2*/
    2.52 +			CAT="python|Python2 bindings"
    2.53 +			DEPENDS="cairo-dock-plugins python"
    2.54 +			;;
    2.55 +		*-python3)
    2.56 +			copy python3*/
    2.57 +			CAT="python|Python3 bindings"
    2.58 +			DEPENDS="cairo-dock-plugins python3"
    2.59 +			;;
    2.60 +		*-ruby)
    2.61 +			copy ruby/
    2.62 +			CAT="ruby|Ruby bindings"
    2.63 +			DEPENDS="cairo-dock-plugins ruby"
    2.64 +			;;
    2.65 +		*-dev)
    2.66 +			copy @dev
    2.67 +			DEPENDS="cairo-dock-plugins glib-dev"
    2.68 +			;;
    2.69 +		*)
    2.70 +			copy @std @rm
    2.71 +			DEPENDS="alsa-lib cairo dbus-glib fftw gdk-pixbuf glib gtk+3 \
    2.72 +			libdbusmenu-gtk3 libetpan libexif libical libindicator-gtk3 \
    2.73 +			librsvg libxklavier libxml2 libzeitgeist lm-sensors mesa pango \
    2.74 +			pulseaudio upower vte xorg-libX11 xorg-libXrandr xorg-libXxf86vm"
    2.75 +			;;
    2.76 +	esac
    2.77  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/cairo-dock-plugins/stuff/patches/cairo-dock-plug-ins-mono.patch	Tue Oct 02 04:53:44 2018 +0300
     3.3 @@ -0,0 +1,106 @@
     3.4 +diff -rupN cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt cairo-dock-plug-ins-3.4.1/CMakeLists.txt
     3.5 +--- cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt	2015-03-12 09:43:57.171067365 +0100
     3.6 ++++ cairo-dock-plug-ins-3.4.1/CMakeLists.txt	2015-03-12 09:46:20.717120675 +0100
     3.7 +@@ -573,11 +573,11 @@ if (enable-mono-interface)
     3.8 + 	if (NOT GMCS_EXECUTABLE OR NOT EXISTS ${GMCS_EXECUTABLE})
     3.9 + 		message (STATUS "Could not find Mono compiler gmcs, won't build Mono interface.")
    3.10 + 	else()
    3.11 +-		pkg_check_modules (MONO_PACKAGE glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0)
    3.12 ++		pkg_check_modules (MONO_PACKAGE dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0)
    3.13 + 		if (NOT MONO_PACKAGE_FOUND)
    3.14 +-			message (STATUS "Could not find glib-sharp-2.0, ndesk-dbus-1.0 or ndesk-dbus-glib-1.0; won't be built Mono interface.")
    3.15 +-			message (WARNING "These modules are required to compile DBus applet with Mono interface: glib-sharp-2.0, ndesk-dbus-1.0 and ndesk-dbus-glib-1.0")
    3.16 +-			set (MODULES_MISSING "${MODULES_MISSING} glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0")
    3.17 ++			message (STATUS "Could not find dbus-sharp-2.0, dbus-sharp-glib-2.0 or glib-sharp-3.0; won't be built Mono interface.")
    3.18 ++			message (WARNING "These modules are required to compile DBus applet with Mono interface: dbus-sharp-2.0, dbus-sharp-glib-2.0 and glib-sharp-3.0")
    3.19 ++			set (MODULES_MISSING "${MODULES_MISSING} dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0")
    3.20 + 		else()
    3.21 + 			set (MONO_FOUND TRUE)
    3.22 + 			set (with_mono yes)
    3.23 +diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CDApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CDApplet.cs
    3.24 +--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CDApplet.cs	2015-03-12 09:52:56.491934965 +0100
    3.25 ++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CDApplet.cs	2015-03-12 09:56:50.191652099 +0100
    3.26 +@@ -21,7 +21,7 @@
    3.27 + // Make your own class derive from a CDApplet, and override the functions you need (the ones which don't start with an underscore).
    3.28 + 
    3.29 + // Compile it with the following command, then rename 'demo_mono.exe' to 'demo_mono'.
    3.30 +-// gmcs /target:library CDApplet.cs ISubApplet.cs IApplet.cs -pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
    3.31 ++// gmcs /target:library CDApplet.cs ISubApplet.cs IApplet.cs -pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
    3.32 +   //////////////////////////
    3.33 +  ////// dependancies //////
    3.34 + //////////////////////////
    3.35 +@@ -29,7 +29,7 @@ using System;  // Environment
    3.36 + using System.IO;  // Path, Directory
    3.37 + using System.Reflection;
    3.38 + using GLib;
    3.39 +-using NDesk.DBus;
    3.40 ++using DBus;
    3.41 + using CairoDock.Applet;
    3.42 + 
    3.43 + //namespace CairoDock.Applet
    3.44 +@@ -258,8 +258,8 @@ public class CDApplet
    3.45 + 	
    3.46 + 	private void _connect_to_dock ()
    3.47 + 	{
    3.48 +-		NDesk.DBus.BusG.Init();
    3.49 +-		NDesk.DBus.Bus bus = NDesk.DBus.Bus.Session;
    3.50 ++		DBus.BusG.Init();
    3.51 ++		DBus.Bus bus = DBus.Bus.Session;
    3.52 + 		this.icon = bus.GetObject<IApplet> ("org.cairodock.CairoDock", new ObjectPath (this.cBusPath));
    3.53 + 		this.icon.on_click 			+= new OnClickEvent (on_click);
    3.54 + 		this.icon.on_middle_click 	+= new OnMiddleClickEvent (on_middle_click);
    3.55 +diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt
    3.56 +--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt	2015-03-12 09:52:56.491934965 +0100
    3.57 ++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt	2015-03-12 09:54:07.418777441 +0100
    3.58 +@@ -3,7 +3,7 @@
    3.59 + 
    3.60 + execute_process(COMMAND ${GMCS_EXECUTABLE}
    3.61 + 	-target:library
    3.62 +-	-pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
    3.63 ++	-pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
    3.64 + 	-out:${CMAKE_CURRENT_BINARY_DIR}/CDApplet.dll
    3.65 + 	${CMAKE_CURRENT_SOURCE_DIR}/CDApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/ISubApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/IApplet.cs)
    3.66 + ### find how to register to GAC ...
    3.67 +diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/demos/demo_mono/demo_mono.cs cairo-dock-plug-ins-3.4.1/Dbus/demos/demo_mono/demo_mono.cs
    3.68 +--- cairo-dock-plug-ins-3.4.1.orig/Dbus/demos/demo_mono/demo_mono.cs	2015-03-12 09:59:41.064312097 +0100
    3.69 ++++ cairo-dock-plug-ins-3.4.1/Dbus/demos/demo_mono/demo_mono.cs	2015-03-12 10:02:39.473424651 +0100
    3.70 +@@ -138,7 +138,7 @@ public class Applet : CDApplet
    3.71 + 	public override void on_build_menu ()
    3.72 + 	{
    3.73 + 		Console.WriteLine("*** build menu");
    3.74 +-		/// Warning : teh AddMenuItems fails with NDesk-DBus 0.6.0; until this is fixed, use the PopulateMenu method.
    3.75 ++		/// Warning : the AddMenuItems fails with DBus Sharp 0.6.0; until this is fixed, use the PopulateMenu method.
    3.76 + 		/**Dictionary<string, object>[] pItems = new Dictionary<string, object>[] {
    3.77 + 			new Dictionary<string, object>()
    3.78 + 			{
    3.79 +diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/IApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/IApplet.cs
    3.80 +--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/IApplet.cs	2015-03-12 09:59:41.067645289 +0100
    3.81 ++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/IApplet.cs	2015-03-12 10:00:35.395334804 +0100
    3.82 +@@ -1,6 +1,6 @@
    3.83 + using System;
    3.84 + using System.Collections.Generic;  // Dictionnary
    3.85 +-using NDesk.DBus;
    3.86 ++using DBus;
    3.87 + 
    3.88 + namespace CairoDock.Applet
    3.89 + {
    3.90 +@@ -27,7 +27,7 @@ namespace CairoDock.Applet
    3.91 + 		Left
    3.92 + 	}
    3.93 + 
    3.94 +-	[NDesk.DBus.Interface("org.cairodock.CairoDock.applet")]
    3.95 ++	[DBus.Interface("org.cairodock.CairoDock.applet")]
    3.96 + 	public interface IApplet
    3.97 + 	{
    3.98 + 		object Get(string cProperty);
    3.99 +diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/ISubApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/ISubApplet.cs
   3.100 +--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/ISubApplet.cs	2015-03-12 09:59:41.067645289 +0100
   3.101 ++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/ISubApplet.cs	2015-03-12 10:00:16.522802989 +0100
   3.102 +@@ -1,6 +1,6 @@
   3.103 + using System;
   3.104 + using System.Collections.Generic;  // Dictionnary
   3.105 +-using NDesk.DBus;
   3.106 ++using DBus;
   3.107 + 
   3.108 + namespace CairoDock.Applet
   3.109 + {
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/cairo-dock-plugins/stuff/patches/cairo-dock-plugins-3.4.1-time_h-confict.patch	Tue Oct 02 04:53:44 2018 +0300
     4.3 @@ -0,0 +1,137 @@
     4.4 +--- cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-config.c.glibc	2016-12-11 16:10:41.656840262 +0900
     4.5 ++++ cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-config.c	2016-12-11 16:23:31.875117800 +0900
     4.6 +@@ -17,6 +17,7 @@
     4.7 + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     4.8 + */
     4.9 + 
    4.10 ++#include "applet-time_h-struct.h"
    4.11 + #include <string.h>
    4.12 + 
    4.13 + #include "applet-struct.h"
    4.14 +--- cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-init.c.glibc	2016-12-11 16:10:41.657840257 +0900
    4.15 ++++ cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-init.c	2016-12-11 16:22:24.465443591 +0900
    4.16 +@@ -17,6 +17,7 @@
    4.17 + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4.18 + */
    4.19 + 
    4.20 ++#include "applet-time_h-struct.h"
    4.21 + #include "stdlib.h"
    4.22 + 
    4.23 + #include "applet-struct.h"
    4.24 +--- cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-notifications.c.glibc	2015-02-20 01:13:47.000000000 +0900
    4.25 ++++ cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-notifications.c	2016-12-11 16:24:08.991938415 +0900
    4.26 +@@ -17,6 +17,7 @@
    4.27 + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4.28 + */
    4.29 + 
    4.30 ++#include "applet-time_h-struct.h"
    4.31 + #include <stdlib.h>
    4.32 + #include <string.h>
    4.33 + 
    4.34 +@@ -66,4 +67,4 @@
    4.35 + 	
    4.36 + 	
    4.37 + 	return GLDI_NOTIFICATION_LET_PASS;
    4.38 +-}
    4.39 +\ ファイル末尾に改行がありません
    4.40 ++}
    4.41 +--- cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-sound.c.glibc	2015-02-20 01:13:47.000000000 +0900
    4.42 ++++ cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-sound.c	2016-12-11 16:23:55.137005376 +0900
    4.43 +@@ -19,6 +19,7 @@
    4.44 + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4.45 + */
    4.46 + 
    4.47 ++#include "applet-time_h-struct.h"
    4.48 + #include <stdlib.h>
    4.49 + #ifndef __FreeBSD__
    4.50 + #include <endian.h>
    4.51 +--- cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-struct.h.glibc	2016-12-11 16:10:41.657840257 +0900
    4.52 ++++ cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-struct.h	2016-12-11 16:22:59.589273837 +0900
    4.53 +@@ -21,6 +21,7 @@
    4.54 + #ifndef __CD_APPLET_STRUCT__
    4.55 + #define  __CD_APPLET_STRUCT__
    4.56 + 
    4.57 ++#include "applet-time_h-struct.h"
    4.58 + #include <sys/types.h>
    4.59 + #include <alsa/asoundlib.h>
    4.60 + #define _STRUCT_TIMEVAL
    4.61 +--- cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-time_h-struct.h.glibc	2016-12-11 16:11:55.464483550 +0900
    4.62 ++++ cairo-dock-plugins-3.4.1/Sound-Effects/src/applet-time_h-struct.h	2016-12-11 16:19:52.003180440 +0900
    4.63 +@@ -0,0 +1,27 @@
    4.64 ++/**
    4.65 ++* This file is a part of the Cairo-Dock project
    4.66 ++*
    4.67 ++* Copyright : (C) see the 'copyright' file.
    4.68 ++* E-mail    : see the 'copyright' file.
    4.69 ++*
    4.70 ++* This program is free software; you can redistribute it and/or
    4.71 ++* modify it under the terms of the GNU General Public License
    4.72 ++* as published by the Free Software Foundation; either version 3
    4.73 ++* of the License, or (at your option) any later version.
    4.74 ++*
    4.75 ++* This program is distributed in the hope that it will be useful,
    4.76 ++* but WITHOUT ANY WARRANTY; without even the implied warranty of
    4.77 ++* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    4.78 ++* GNU General Public License for more details.
    4.79 ++* You should have received a copy of the GNU General Public License
    4.80 ++* along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4.81 ++*/
    4.82 ++
    4.83 ++#ifndef __CD_APPLET_TIME_H_STRUCT__
    4.84 ++#define  __CD_APPLET_TIME_H_STRUCT__
    4.85 ++
    4.86 ++#define _POSIX_C_SOURCE 200809L
    4.87 ++#include <time.h>
    4.88 ++
    4.89 ++#endif
    4.90 ++
    4.91 +--- cairo-dock-plugins-3.4.1/alsaMixer/src/applet-generic.c.glibc	2015-02-20 01:13:47.000000000 +0900
    4.92 ++++ cairo-dock-plugins-3.4.1/alsaMixer/src/applet-generic.c	2016-12-11 16:20:44.168928323 +0900
    4.93 +@@ -20,6 +20,7 @@
    4.94 + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4.95 + */
    4.96 + 
    4.97 ++#include "applet-time_h-struct.h"
    4.98 + #include <stdlib.h>
    4.99 + 
   4.100 + #include "applet-struct.h"
   4.101 +--- cairo-dock-plugins-3.4.1/alsaMixer/src/applet-struct.h.glibc	2015-02-20 01:13:47.000000000 +0900
   4.102 ++++ cairo-dock-plugins-3.4.1/alsaMixer/src/applet-struct.h	2016-12-11 16:19:47.713201174 +0900
   4.103 +@@ -20,6 +20,7 @@
   4.104 + #ifndef __CD_APPLET_STRUCT__
   4.105 + #define  __CD_APPLET_STRUCT__
   4.106 + 
   4.107 ++#include "applet-time_h-struct.h"
   4.108 + #include <sys/types.h>
   4.109 + #include <alsa/asoundlib.h>
   4.110 + #define _STRUCT_TIMEVAL
   4.111 +--- cairo-dock-plugins-3.4.1/alsaMixer/src/applet-time_h-struct.h.glibc	2016-12-11 16:11:55.464483550 +0900
   4.112 ++++ cairo-dock-plugins-3.4.1/alsaMixer/src/applet-time_h-struct.h	2016-12-11 16:19:52.003180440 +0900
   4.113 +@@ -0,0 +1,27 @@
   4.114 ++/**
   4.115 ++* This file is a part of the Cairo-Dock project
   4.116 ++*
   4.117 ++* Copyright : (C) see the 'copyright' file.
   4.118 ++* E-mail    : see the 'copyright' file.
   4.119 ++*
   4.120 ++* This program is free software; you can redistribute it and/or
   4.121 ++* modify it under the terms of the GNU General Public License
   4.122 ++* as published by the Free Software Foundation; either version 3
   4.123 ++* of the License, or (at your option) any later version.
   4.124 ++*
   4.125 ++* This program is distributed in the hope that it will be useful,
   4.126 ++* but WITHOUT ANY WARRANTY; without even the implied warranty of
   4.127 ++* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   4.128 ++* GNU General Public License for more details.
   4.129 ++* You should have received a copy of the GNU General Public License
   4.130 ++* along with this program.  If not, see <http://www.gnu.org/licenses/>.
   4.131 ++*/
   4.132 ++
   4.133 ++#ifndef __CD_APPLET_TIME_H_STRUCT__
   4.134 ++#define  __CD_APPLET_TIME_H_STRUCT__
   4.135 ++
   4.136 ++#define _POSIX_C_SOURCE 200809L
   4.137 ++#include <time.h>
   4.138 ++
   4.139 ++#endif
   4.140 ++
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/cairo-dock-plugins/stuff/patches/series	Tue Oct 02 04:53:44 2018 +0300
     5.3 @@ -0,0 +1,4 @@
     5.4 +# from Arch Linux
     5.5 +# https://www.archlinux.org/packages/community/x86_64/cairo-dock-plug-ins/
     5.6 +cairo-dock-plug-ins-mono.patch
     5.7 +cairo-dock-plugins-3.4.1-time_h-confict.patch
     6.1 --- a/cairo-dock/receipt	Mon Oct 01 01:18:37 2018 +0300
     6.2 +++ b/cairo-dock/receipt	Tue Oct 02 04:53:44 2018 +0300
     6.3 @@ -1,21 +1,20 @@
     6.4  # SliTaz package receipt v2.
     6.5  
     6.6  PACKAGE="cairo-dock"
     6.7 -VERSION="3.3.2"
     6.8 +VERSION="3.4.1"
     6.9  CATEGORY="x-window"
    6.10 -SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch"
    6.11 -MAINTAINER="pankso@slitaz.org"
    6.12 +SHORT_DESC="Light and eye-candy dock to launch"
    6.13 +MAINTAINER="al.bobylev@gmail.com"
    6.14  LICENSE="GPL3"
    6.15  WEB_SITE="http://www.glx-dock.org/"
    6.16  
    6.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.18 -WGET_URL="https://github.com/Cairo-Dock/cairo-dock-core/archive/$VERSION.tar.gz"
    6.19 +WGET_URL="https://github.com/Cairo-Dock/cairo-dock-core/releases/download/$VERSION/$TARBALL"
    6.20  
    6.21 -BUILD_DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl \
    6.22 -cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
    6.23 -gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev \
    6.24 -xorg-libXtst-dev xorg-libXcomposite-dev glu-dev gettext-tools"
    6.25 -SPLIT="cairo-dock cairo-dock-dev"
    6.26 +BUILD_DEPENDS="cmake glib-dev cairo-dev librsvg-dev dbus-dev dbus-glib-dev \
    6.27 +libxml2-dev mesa-dev glu-dev curl-dev xorg-libXtst-dev xorg-libXcomposite-dev \
    6.28 +xorg-libXrandr-dev gtk+3-dev gettext"
    6.29 +SPLIT="$PACKAGE-dev"
    6.30  
    6.31  compile_rules() {
    6.32  	mkdir build
    6.33 @@ -24,22 +23,27 @@
    6.34  		-DCMAKE_INSTALL_PREFIX=/usr \
    6.35  		.. &&
    6.36  	make &&
    6.37 -	make DESTDIR=$DESTDIR install
    6.38 +	make install || return 1
    6.39 +
    6.40 +	chmod a+x $install/usr/lib/libgldi.so.$VERSION
    6.41  }
    6.42  
    6.43  genpkg_rules() {
    6.44  	case $PACKAGE in
    6.45  		cairo-dock)
    6.46  			copy @std
    6.47 -			DEPENDS="cairo dbus-glib gdk-pixbuf glib glu gtk+ libcurl librsvg \
    6.48 -			libxml2 mesa pango" # xorg-xcompmgr gtkglext dbus
    6.49 +			DEPENDS="cairo dbus-glib gdk-pixbuf glib glu gtk+3 libcurl librsvg \
    6.50 +			libxml2 mesa pango xorg-libX11 xorg-libXcomposite xorg-libXinerama \
    6.51 +			xorg-libXrandr xorg-libXrender xorg-libXtst   bash" # xorg-xcompmgr
    6.52  			SUGGESTED="cairo-dock-plugins"
    6.53  			;;
    6.54  		*-dev)
    6.55  			copy @dev
    6.56  			DEPENDS="cairo-dock \
    6.57  			cairo-dev curl-dev dbus-dev dbus-glib-dev glib-dev glu-dev \
    6.58 -			gtk+-dev librsvg-dev libxml2-dev mesa-dev xorg-libX11-dev"
    6.59 +			gtk+3-dev librsvg-dev libxml2-dev mesa-dev wayland-dev \
    6.60 +			xorg-libX11-dev xorg-libXcomposite-dev xorg-libXrandr-dev \
    6.61 +			xorg-libXrender-dev xorg-libXtst-dev"
    6.62  			;;
    6.63  	esac
    6.64  }
     7.1 Binary file cairo-dock/stuff/cairo-dock.png has changed
     8.1 --- a/firefox-langpack-da/receipt	Mon Oct 01 01:18:37 2018 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,23 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="firefox-langpack-da"
     8.7 -VERSION="17.0.11esr"
     8.8 -CATEGORY="localization"
     8.9 -SHORT_DESC="Danish Language Package for firefox"
    8.10 -MAINTAINER="lufeng369@slitaz.org"
    8.11 -LICENSE="MPL2"
    8.12 -WEB_SITE="http://www.mozilla.com"
    8.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
    8.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
    8.15 -TARBALL="$PACKAGE-$VERSION.zip"
    8.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    8.17 -
    8.18 -DEPENDS="firefox"
    8.19 -
    8.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.21 -genpkg_rules()
    8.22 -{
    8.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
    8.24 -	mkdir -p $EXTDIR
    8.25 -	cp -a $src/* $EXTDIR
    8.26 -}
     9.1 --- a/firefox-langpack-de/receipt	Mon Oct 01 01:18:37 2018 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,23 +0,0 @@
     9.4 -# SliTaz package receipt.
     9.5 -
     9.6 -PACKAGE="firefox-langpack-de"
     9.7 -VERSION="17.0.11esr"
     9.8 -CATEGORY="localization"
     9.9 -SHORT_DESC="German Language Package for firefox"
    9.10 -MAINTAINER="lufeng369@slitaz.org"
    9.11 -LICENSE="MPL2"
    9.12 -WEB_SITE="http://www.mozilla.com"
    9.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
    9.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
    9.15 -TARBALL="$PACKAGE-$VERSION.zip"
    9.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    9.17 -
    9.18 -DEPENDS="firefox"
    9.19 -
    9.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.21 -genpkg_rules()
    9.22 -{
    9.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
    9.24 -	mkdir -p $EXTDIR
    9.25 -	cp -a $src/* $EXTDIR
    9.26 -}
    10.1 --- a/firefox-langpack-en_GB/receipt	Mon Oct 01 01:18:37 2018 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,23 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="firefox-langpack-en_GB"
    10.7 -VERSION="17.0.11esr"
    10.8 -CATEGORY="localization"
    10.9 -SHORT_DESC="British English Language Package for firefox"
   10.10 -MAINTAINER="lufeng369@slitaz.org"
   10.11 -LICENSE="MPL2"
   10.12 -WEB_SITE="http://www.mozilla.com"
   10.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   10.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   10.15 -TARBALL="$PACKAGE-$VERSION.zip"
   10.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   10.17 -
   10.18 -DEPENDS="firefox"
   10.19 -
   10.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.21 -genpkg_rules()
   10.22 -{
   10.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   10.24 -	mkdir -p $EXTDIR
   10.25 -	cp -a $src/* $EXTDIR
   10.26 -}
    11.1 --- a/firefox-langpack-es_ES/receipt	Mon Oct 01 01:18:37 2018 +0300
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,23 +0,0 @@
    11.4 -# SliTaz package receipt.
    11.5 -
    11.6 -PACKAGE="firefox-langpack-es_ES"
    11.7 -VERSION="17.0.11esr"
    11.8 -CATEGORY="localization"
    11.9 -SHORT_DESC="Spanish Language Package for firefox"
   11.10 -MAINTAINER="lufeng369@slitaz.org"
   11.11 -LICENSE="MPL2"
   11.12 -WEB_SITE="http://www.mozilla.com"
   11.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   11.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   11.15 -TARBALL="$PACKAGE-$VERSION.zip"
   11.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   11.17 -
   11.18 -DEPENDS="firefox"
   11.19 -
   11.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.21 -genpkg_rules()
   11.22 -{
   11.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   11.24 -	mkdir -p $EXTDIR
   11.25 -	cp -a $src/* $EXTDIR
   11.26 -}
    12.1 --- a/firefox-langpack-fr/receipt	Mon Oct 01 01:18:37 2018 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,23 +0,0 @@
    12.4 -# SliTaz package receipt.
    12.5 -
    12.6 -PACKAGE="firefox-langpack-fr"
    12.7 -VERSION="17.0.11esr"
    12.8 -CATEGORY="localization"
    12.9 -SHORT_DESC="French Language Package for firefox"
   12.10 -MAINTAINER="lufeng369@slitaz.org"
   12.11 -LICENSE="MPL2"
   12.12 -WEB_SITE="http://www.mozilla.com"
   12.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   12.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   12.15 -TARBALL="$PACKAGE-$VERSION.zip"
   12.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   12.17 -
   12.18 -DEPENDS="firefox"
   12.19 -
   12.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.21 -genpkg_rules()
   12.22 -{
   12.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   12.24 -	mkdir -p $EXTDIR
   12.25 -	cp -a $src/* $EXTDIR
   12.26 -}
    13.1 --- a/firefox-langpack-id/receipt	Mon Oct 01 01:18:37 2018 +0300
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,23 +0,0 @@
    13.4 -# SliTaz package receipt.
    13.5 -
    13.6 -PACKAGE="firefox-langpack-id"
    13.7 -VERSION="17.0.11esr"
    13.8 -CATEGORY="localization"
    13.9 -SHORT_DESC="Indonesian Language Package for firefox"
   13.10 -MAINTAINER="lufeng369@slitaz.org"
   13.11 -LICENSE="MPL2"
   13.12 -WEB_SITE="http://www.mozilla.com"
   13.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   13.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   13.15 -TARBALL="$PACKAGE-$VERSION.zip"
   13.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   13.17 -
   13.18 -DEPENDS="firefox"
   13.19 -
   13.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.21 -genpkg_rules()
   13.22 -{
   13.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   13.24 -	mkdir -p $EXTDIR
   13.25 -	cp -a $src/* $EXTDIR
   13.26 -}
    14.1 --- a/firefox-langpack-it/receipt	Mon Oct 01 01:18:37 2018 +0300
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,23 +0,0 @@
    14.4 -# SliTaz package receipt.
    14.5 -
    14.6 -PACKAGE="firefox-langpack-it"
    14.7 -VERSION="17.0.11esr"
    14.8 -CATEGORY="localization"
    14.9 -SHORT_DESC="Italian Language Package for firefox"
   14.10 -MAINTAINER="monghitri@aruba.it"
   14.11 -LICENSE="MPL2"
   14.12 -WEB_SITE="http://www.mozilla.com"
   14.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   14.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   14.15 -TARBALL="$PACKAGE-$VERSION.zip"
   14.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   14.17 -
   14.18 -DEPENDS="firefox"
   14.19 -
   14.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.21 -genpkg_rules()
   14.22 -{
   14.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   14.24 -	mkdir -p $EXTDIR
   14.25 -	cp -a $src/* $EXTDIR
   14.26 -}
    15.1 --- a/firefox-langpack-pt_BR/receipt	Mon Oct 01 01:18:37 2018 +0300
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,23 +0,0 @@
    15.4 -# SliTaz package receipt.
    15.5 -
    15.6 -PACKAGE="firefox-langpack-pt_BR"
    15.7 -VERSION="17.0.11esr"
    15.8 -CATEGORY="localization"
    15.9 -SHORT_DESC="Brazilian Portuguese Language Package for firefox"
   15.10 -MAINTAINER="claudinei@slitaz.org"
   15.11 -LICENSE="MPL2"
   15.12 -WEB_SITE="http://www.mozilla.com"
   15.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   15.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   15.15 -TARBALL="$PACKAGE-$VERSION.zip"
   15.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   15.17 -
   15.18 -DEPENDS="firefox"
   15.19 -
   15.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.21 -genpkg_rules()
   15.22 -{
   15.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   15.24 -	mkdir -p $EXTDIR
   15.25 -	cp -a $src/* $EXTDIR
   15.26 -}
    16.1 --- a/firefox-langpack-pt_PT/receipt	Mon Oct 01 01:18:37 2018 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,23 +0,0 @@
    16.4 -# SliTaz package receipt.
    16.5 -
    16.6 -PACKAGE="firefox-langpack-pt_PT"
    16.7 -VERSION="17.0.11esr"
    16.8 -CATEGORY="localization"
    16.9 -SHORT_DESC="Portuguese Language Package for firefox"
   16.10 -MAINTAINER="lufeng369@slitaz.org"
   16.11 -LICENSE="MPL2"
   16.12 -WEB_SITE="http://www.mozilla.com"
   16.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   16.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   16.15 -TARBALL="$PACKAGE-$VERSION.zip"
   16.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   16.17 -
   16.18 -DEPENDS="firefox"
   16.19 -
   16.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.21 -genpkg_rules()
   16.22 -{
   16.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   16.24 -	mkdir -p $EXTDIR
   16.25 -	cp -a $src/* $EXTDIR
   16.26 -}
    17.1 --- a/firefox-langpack-ru/receipt	Mon Oct 01 01:18:37 2018 +0300
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,23 +0,0 @@
    17.4 -# SliTaz package receipt.
    17.5 -
    17.6 -PACKAGE="firefox-langpack-ru"
    17.7 -VERSION="17.0.11esr"
    17.8 -CATEGORY="localization"
    17.9 -SHORT_DESC="Russian Language Package for firefox"
   17.10 -MAINTAINER="lufeng369@slitaz.org"
   17.11 -LICENSE="MPL2"
   17.12 -WEB_SITE="http://www.mozilla.com"
   17.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   17.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   17.15 -TARBALL="$PACKAGE-$VERSION.zip"
   17.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   17.17 -
   17.18 -DEPENDS="firefox"
   17.19 -
   17.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.21 -genpkg_rules()
   17.22 -{
   17.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   17.24 -	mkdir -p $EXTDIR
   17.25 -	cp -a $src/* $EXTDIR
   17.26 -}
    18.1 --- a/firefox-langpack-zh_CN/receipt	Mon Oct 01 01:18:37 2018 +0300
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,23 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="firefox-langpack-zh_CN"
    18.7 -VERSION="17.0.11esr"
    18.8 -CATEGORY="localization"
    18.9 -SHORT_DESC="Chinese Language Package for firefox"
   18.10 -MAINTAINER="lufeng369@slitaz.org"
   18.11 -LICENSE="MPL2"
   18.12 -WEB_SITE="http://www.mozilla.com"
   18.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   18.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   18.15 -TARBALL="$PACKAGE-$VERSION.zip"
   18.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   18.17 -
   18.18 -DEPENDS="firefox"
   18.19 -
   18.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.21 -genpkg_rules()
   18.22 -{
   18.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   18.24 -	mkdir -p $EXTDIR
   18.25 -	cp -a $src/* $EXTDIR
   18.26 -}
    19.1 --- a/firefox-langpack-zh_TW/receipt	Mon Oct 01 01:18:37 2018 +0300
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,23 +0,0 @@
    19.4 -# SliTaz package receipt.
    19.5 -
    19.6 -PACKAGE="firefox-langpack-zh_TW"
    19.7 -VERSION="17.0.11esr"
    19.8 -CATEGORY="localization"
    19.9 -SHORT_DESC="Chinese Language Package for firefox"
   19.10 -MAINTAINER="lufeng369@slitaz.org"
   19.11 -LICENSE="MPL2"
   19.12 -WEB_SITE="http://www.mozilla.com"
   19.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   19.14 -LANG_DIR="langpack-$LANG@firefox.mozilla.org"
   19.15 -TARBALL="$PACKAGE-$VERSION.zip"
   19.16 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   19.17 -
   19.18 -DEPENDS="firefox"
   19.19 -
   19.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.21 -genpkg_rules()
   19.22 -{
   19.23 -	EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
   19.24 -	mkdir -p $EXTDIR
   19.25 -	cp -a $src/* $EXTDIR
   19.26 -}
    20.1 Binary file firefox-langpack/.icon.png has changed
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/firefox-langpack/receipt	Tue Oct 02 04:53:44 2018 +0300
    21.3 @@ -0,0 +1,57 @@
    21.4 +# SliTaz package receipt v2.
    21.5 +
    21.6 +PACKAGE="firefox-langpack"
    21.7 +VERSION="17.0.11esr"
    21.8 +CATEGORY="meta"
    21.9 +SHORT_DESC="Firefox language pack"
   21.10 +MAINTAINER="al.bobylev@gmail.com"
   21.11 +LICENSE="MPL2"
   21.12 +WEB_SITE="http://www.mozilla.org/firefox"
   21.13 +HOST_ARCH="any"
   21.14 +REPOLOGY="-"
   21.15 +
   21.16 +SPLIT="$PACKAGE-da $PACKAGE-de $PACKAGE-en_GB $PACKAGE-es_ES $PACKAGE-fr \
   21.17 +$PACKAGE-id $PACKAGE-it $PACKAGE-pt_BR $PACKAGE-pt_PT $PACKAGE-ru \
   21.18 +$PACKAGE-zh_CN $PACKAGE-zh_TW"
   21.19 +COOKOPTS="!strip" # waste of time to search, nothing to strip
   21.20 +
   21.21 +compile_rules() {
   21.22 +	for i in $SPLIT; do
   21.23 +		lang=${i##*-}
   21.24 +		Lang=${lang/_/-}
   21.25 +		TARBALL="$PACKAGE-$lang-$VERSION.zip"
   21.26 +		WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/xpi/$Lang.xpi"
   21.27 +		[ -e "$SRC/$TARBALL" ] || wget -O $SRC/$TARBALL $WGET_URL
   21.28 +
   21.29 +		extdir="$install/usr/lib/firefox-$VERSION/extensions/langpack-$Lang@firefox.mozilla.org"
   21.30 +		mkdir -p $extdir
   21.31 +		unzip -q $SRC/$TARBALL -d $extdir
   21.32 +
   21.33 +		find $install -type f -name '.mkdir.done' -delete
   21.34 +		for i in mac win; do
   21.35 +			rm -r $extdir/chrome/$Lang/locale/$Lang/global-platform/$i
   21.36 +		done
   21.37 +	done
   21.38 +}
   21.39 +
   21.40 +genpkg_rules() {
   21.41 +	[ "$PACKAGE" == 'firefox-langpack' ] && return
   21.42 +	lang="${PACKAGE##*-}"
   21.43 +	copy langpack-${lang/_/-}@firefox.mozilla.org/
   21.44 +	case $lang in
   21.45 +		da)    desc="Danish";;
   21.46 +		de)    desc="German";;
   21.47 +		en_GB) desc="British English";;
   21.48 +		es_ES) desc="Spanish";;
   21.49 +		fr)    desc="French";;
   21.50 +		id)    desc="Indonesian";;
   21.51 +		it)    desc="Italian";;
   21.52 +		pt_BR) desc="Brazilian Portuguese";;
   21.53 +		pt_PT) desc="Portuguese";;
   21.54 +		ru)    desc="Russian";;
   21.55 +		zh_CN) desc="Simplified Chinese";;
   21.56 +		zh_TW) desc="Chinese Traditional";;
   21.57 +	esac
   21.58 +	CAT="localization|$desc"
   21.59 +	DEPENDS="firefox"
   21.60 +}
    22.1 --- a/mate116/receipt	Mon Oct 01 01:18:37 2018 +0300
    22.2 +++ b/mate116/receipt	Tue Oct 02 04:53:44 2018 +0300
    22.3 @@ -10,3 +10,4 @@
    22.4  LICENSE="GPL"
    22.5  WEB_SITE="https://github.com/mate-desktop"
    22.6  REPOLOGY="-"
    22.7 +HOST_ARCH="skip"
    23.1 --- a/py3k3/.icon.png	Mon Oct 01 01:18:37 2018 +0300
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,1 +0,0 @@
    23.4 -../python/.icon.png
    23.5 \ No newline at end of file
    24.1 --- a/py3k3/receipt	Mon Oct 01 01:18:37 2018 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,60 +0,0 @@
    24.4 -# SliTaz package receipt v2.
    24.5 -
    24.6 -PACKAGE="py3k3"
    24.7 -VERSION="3.3.6"
    24.8 -CATEGORY="development"
    24.9 -SHORT_DESC="The Python 3000 programming language"
   24.10 -MAINTAINER="nneul@neulinger.org"
   24.11 -LICENSE="GPL"
   24.12 -WEB_SITE="https://www.python.org/download/releases/"
   24.13 -REPOLOGY="python3"
   24.14 -
   24.15 -SOURCE="Python"
   24.16 -TARBALL="$SOURCE-$VERSION.tgz"
   24.17 -WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL"
   24.18 -
   24.19 -BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite3-dev zlib-dev tk-dev \
   24.20 -ncurses-dev xz-dev bzip2-dev"
   24.21 -SPLIT="py3k3-dev"
   24.22 -COOKOPTS="!zip"
   24.23 -
   24.24 -# Rules to configure and make the package.
   24.25 -compile_rules()
   24.26 -{
   24.27 -	mkdir -p $DESTDIR/usr/lib/pkgconfig
   24.28 -	./configure \
   24.29 -		--enable-shared \
   24.30 -		--prefix=/usr \
   24.31 -		--infodir=/usr/share/info \
   24.32 -		--mandir=/usr/share/man \
   24.33 -		$CONFIGURE_ARGS &&
   24.34 -	make &&
   24.35 -	make DESTDIR=$DESTDIR install
   24.36 -}
   24.37 -
   24.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.39 -genpkg_rules()
   24.40 -{
   24.41 -	case $PACKAGE in
   24.42 -		py3k3)
   24.43 -			python_version=${VERSION:0:3}
   24.44 -			mkdir -p $fs/usr/include/python${python_version}m
   24.45 -			cp -a $install/usr/bin $fs/usr
   24.46 -			cp -a $install/usr/lib $fs/usr
   24.47 -			# needed for python3 to work
   24.48 -			cp -a $install/usr/include/python${python_version}m/pyconfig.h \
   24.49 -				$fs/usr/include/python${python_version}m
   24.50 -			rm -f $fs/usr/bin/*-config
   24.51 -			DEPENDS="openssl bzlib readline sqlite3 zlib xorg-libXScrnSaver \
   24.52 -			ncurses gdbm tk xorg-libXext"
   24.53 -			PROVIDE="py3k"
   24.54 -			;;
   24.55 -		*-dev)
   24.56 -			mkdir -p $fs/usr/bin
   24.57 -			cp -a $install/usr/include $fs/usr
   24.58 -			cp -a $install/usr/bin/*-config $fs/usr/bin
   24.59 -			chmod 755 $fs/usr/bin/*-config
   24.60 -			rm $fs/usr/include/*/pyconfig.h
   24.61 -			;;
   24.62 -	esac
   24.63 -}
    25.1 --- a/python-docutils/receipt	Mon Oct 01 01:18:37 2018 +0300
    25.2 +++ b/python-docutils/receipt	Tue Oct 02 04:53:44 2018 +0300
    25.3 @@ -19,7 +19,7 @@
    25.4  }
    25.5  
    25.6  genpkg_rules() {
    25.7 -	copy @std
    25.8 +	copy @std include/ # here include/ contains not @dev files
    25.9  	py=${PACKAGE%%-*} # python/python3
   25.10  	DEPENDS="$py"
   25.11  	SUGGESTED="$py-pil"
    26.1 --- a/python-idna/receipt	Mon Oct 01 01:18:37 2018 +0300
    26.2 +++ b/python-idna/receipt	Tue Oct 02 04:53:44 2018 +0300
    26.3 @@ -15,7 +15,9 @@
    26.4  SPLIT="${PACKAGE/python/python3}:3"
    26.5  
    26.6  compile_rules() {
    26.7 -	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    26.8 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION || return 1
    26.9 +
   26.10 +	find $install -type f -exec chmod a-x '{}' \;
   26.11  }
   26.12  
   26.13  genpkg_rules() {
    27.1 --- a/python-nose/receipt	Mon Oct 01 01:18:37 2018 +0300
    27.2 +++ b/python-nose/receipt	Tue Oct 02 04:53:44 2018 +0300
    27.3 @@ -15,7 +15,13 @@
    27.4  SPLIT="${PACKAGE/python/python3}:3"
    27.5  
    27.6  compile_rules() {
    27.7 -	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    27.8 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION || return 1
    27.9 +
   27.10 +	mkdir -p $install/usr/share/
   27.11 +	mv $install/usr/man/ $install/usr/share/
   27.12 +	# fix displaying (it just work :-)
   27.13 +	sed -i '/^\.de/,/\.\./d; /^\.INDENT/d; /^\.UNINDENT/d' \
   27.14 +		$install/usr/share/man/man1/nosetests.1
   27.15  }
   27.16  
   27.17  genpkg_rules() {
    28.1 --- a/thunderbird-langpack-cs/receipt	Mon Oct 01 01:18:37 2018 +0300
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,23 +0,0 @@
    28.4 -# SliTaz package receipt.
    28.5 -
    28.6 -PACKAGE="thunderbird-langpack-cs"
    28.7 -VERSION="17.0.11esr"
    28.8 -CATEGORY="localization"
    28.9 -SHORT_DESC="Czech Language Pack for thunderbird"
   28.10 -MAINTAINER="domcox@slitaz.org"
   28.11 -LICENSE="MPL"
   28.12 -WEB_SITE="https://www.mozillamessaging.com/"
   28.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   28.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   28.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   28.16 -
   28.17 -DEPENDS="thunderbird"
   28.18 -
   28.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.20 -genpkg_rules()
   28.21 -{
   28.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   28.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   28.24 -	mkdir -p $EXTDIR
   28.25 -	cp -a $src/* $EXTDIR
   28.26 -}
    29.1 --- a/thunderbird-langpack-da/receipt	Mon Oct 01 01:18:37 2018 +0300
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,23 +0,0 @@
    29.4 -# SliTaz package receipt.
    29.5 -
    29.6 -PACKAGE="thunderbird-langpack-da"
    29.7 -VERSION="17.0.11esr"
    29.8 -CATEGORY="localization"
    29.9 -SHORT_DESC="Danish Language Pack for thunderbird"
   29.10 -MAINTAINER="domcox@slitaz.org"
   29.11 -LICENSE="MPL"
   29.12 -WEB_SITE="https://www.mozillamessaging.com/"
   29.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   29.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   29.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   29.16 -
   29.17 -DEPENDS="thunderbird"
   29.18 -
   29.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.20 -genpkg_rules()
   29.21 -{
   29.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   29.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   29.24 -	mkdir -p $EXTDIR
   29.25 -	cp -a $src/* $EXTDIR
   29.26 -}
    30.1 --- a/thunderbird-langpack-de/receipt	Mon Oct 01 01:18:37 2018 +0300
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,23 +0,0 @@
    30.4 -# SliTaz package receipt.
    30.5 -
    30.6 -PACKAGE="thunderbird-langpack-de"
    30.7 -VERSION="17.0.11esr"
    30.8 -CATEGORY="localization"
    30.9 -SHORT_DESC="German Language Pack for thunderbird"
   30.10 -MAINTAINER="domcox@slitaz.org"
   30.11 -LICENSE="MPL"
   30.12 -WEB_SITE="https://www.mozillamessaging.com/"
   30.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   30.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   30.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   30.16 -
   30.17 -DEPENDS="thunderbird"
   30.18 -
   30.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   30.20 -genpkg_rules()
   30.21 -{
   30.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   30.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   30.24 -	mkdir -p $EXTDIR
   30.25 -	cp -a $src/* $EXTDIR
   30.26 -}
    31.1 --- a/thunderbird-langpack-el/receipt	Mon Oct 01 01:18:37 2018 +0300
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,23 +0,0 @@
    31.4 -# SliTaz package receipt.
    31.5 -
    31.6 -PACKAGE="thunderbird-langpack-el"
    31.7 -VERSION="17.0.11esr"
    31.8 -CATEGORY="localization"
    31.9 -SHORT_DESC="Greek Language Pack for thunderbird"
   31.10 -MAINTAINER="domcox@slitaz.org"
   31.11 -LICENSE="MPL"
   31.12 -WEB_SITE="https://www.mozillamessaging.com/"
   31.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   31.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   31.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   31.16 -
   31.17 -DEPENDS="thunderbird"
   31.18 -
   31.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   31.20 -genpkg_rules()
   31.21 -{
   31.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   31.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   31.24 -	mkdir -p $EXTDIR
   31.25 -	cp -a $src/* $EXTDIR
   31.26 -}
    32.1 --- a/thunderbird-langpack-en_GB/receipt	Mon Oct 01 01:18:37 2018 +0300
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,23 +0,0 @@
    32.4 -# SliTaz package receipt.
    32.5 -
    32.6 -PACKAGE="thunderbird-langpack-en_GB"
    32.7 -VERSION="17.0.11esr"
    32.8 -CATEGORY="localization"
    32.9 -SHORT_DESC="British English Language Pack for thunderbird"
   32.10 -MAINTAINER="domcox@slitaz.org"
   32.11 -LICENSE="MPL"
   32.12 -WEB_SITE="https://www.mozillamessaging.com/"
   32.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   32.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   32.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   32.16 -
   32.17 -DEPENDS="thunderbird"
   32.18 -
   32.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.20 -genpkg_rules()
   32.21 -{
   32.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   32.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   32.24 -	mkdir -p $EXTDIR
   32.25 -	cp -a $src/* $EXTDIR
   32.26 -}
    33.1 --- a/thunderbird-langpack-en_US/receipt	Mon Oct 01 01:18:37 2018 +0300
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,23 +0,0 @@
    33.4 -# SliTaz package receipt.
    33.5 -
    33.6 -PACKAGE="thunderbird-langpack-en_US"
    33.7 -VERSION="17.0.11esr"
    33.8 -CATEGORY="localization"
    33.9 -SHORT_DESC="American English Language Pack for thunderbird"
   33.10 -MAINTAINER="domcox@slitaz.org"
   33.11 -LICENSE="MPL"
   33.12 -WEB_SITE="https://www.mozillamessaging.com/"
   33.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   33.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   33.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   33.16 -
   33.17 -DEPENDS="thunderbird"
   33.18 -
   33.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   33.20 -genpkg_rules()
   33.21 -{
   33.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   33.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   33.24 -	mkdir -p $EXTDIR
   33.25 -	cp -a $src/* $EXTDIR
   33.26 -}
    34.1 --- a/thunderbird-langpack-es_AR/receipt	Mon Oct 01 01:18:37 2018 +0300
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,23 +0,0 @@
    34.4 -# SliTaz package receipt.
    34.5 -
    34.6 -PACKAGE="thunderbird-langpack-es_AR"
    34.7 -VERSION="17.0.11esr"
    34.8 -CATEGORY="localization"
    34.9 -SHORT_DESC="Argentinean Spanish Language Pack for thunderbird"
   34.10 -MAINTAINER="domcox@slitaz.org"
   34.11 -LICENSE="MPL"
   34.12 -WEB_SITE="https://www.mozillamessaging.com/"
   34.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   34.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   34.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   34.16 -
   34.17 -DEPENDS="thunderbird"
   34.18 -
   34.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.20 -genpkg_rules()
   34.21 -{
   34.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   34.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   34.24 -	mkdir -p $EXTDIR
   34.25 -	cp -a $src/* $EXTDIR
   34.26 -}
    35.1 --- a/thunderbird-langpack-es_ES/receipt	Mon Oct 01 01:18:37 2018 +0300
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,23 +0,0 @@
    35.4 -# SliTaz package receipt.
    35.5 -
    35.6 -PACKAGE="thunderbird-langpack-es_ES"
    35.7 -VERSION="17.0.11esr"
    35.8 -CATEGORY="localization"
    35.9 -SHORT_DESC="Spanish Language Pack for thunderbird"
   35.10 -MAINTAINER="domcox@slitaz.org"
   35.11 -LICENSE="MPL"
   35.12 -WEB_SITE="https://www.mozillamessaging.com/"
   35.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   35.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   35.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   35.16 -
   35.17 -DEPENDS="thunderbird"
   35.18 -
   35.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.20 -genpkg_rules()
   35.21 -{
   35.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   35.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   35.24 -	mkdir -p $EXTDIR
   35.25 -	cp -a $src/* $EXTDIR
   35.26 -}
    36.1 --- a/thunderbird-langpack-fr/receipt	Mon Oct 01 01:18:37 2018 +0300
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,23 +0,0 @@
    36.4 -# SliTaz package receipt.
    36.5 -
    36.6 -PACKAGE="thunderbird-langpack-fr"
    36.7 -VERSION="17.0.11esr"
    36.8 -CATEGORY="localization"
    36.9 -SHORT_DESC="French Language Pack for thunderbird"
   36.10 -MAINTAINER="domcox@slitaz.org"
   36.11 -LICENSE="MPL"
   36.12 -WEB_SITE="https://www.mozillamessaging.com/"
   36.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   36.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   36.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   36.16 -
   36.17 -DEPENDS="thunderbird"
   36.18 -
   36.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.20 -genpkg_rules()
   36.21 -{
   36.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   36.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   36.24 -	mkdir -p $EXTDIR
   36.25 -	cp -a $src/* $EXTDIR
   36.26 -}
    37.1 --- a/thunderbird-langpack-hu/receipt	Mon Oct 01 01:18:37 2018 +0300
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,23 +0,0 @@
    37.4 -# SliTaz package receipt.
    37.5 -
    37.6 -PACKAGE="thunderbird-langpack-hu"
    37.7 -VERSION="17.0.11esr"
    37.8 -CATEGORY="localization"
    37.9 -SHORT_DESC="Hungarian Language Pack for thunderbird"
   37.10 -MAINTAINER="domcox@slitaz.org"
   37.11 -LICENSE="MPL"
   37.12 -WEB_SITE="https://www.mozillamessaging.com/"
   37.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   37.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   37.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   37.16 -
   37.17 -DEPENDS="thunderbird"
   37.18 -
   37.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   37.20 -genpkg_rules()
   37.21 -{
   37.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   37.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   37.24 -	mkdir -p $EXTDIR
   37.25 -	cp -a $src/* $EXTDIR
   37.26 -}
    38.1 --- a/thunderbird-langpack-id/receipt	Mon Oct 01 01:18:37 2018 +0300
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,23 +0,0 @@
    38.4 -# SliTaz package receipt.
    38.5 -
    38.6 -PACKAGE="thunderbird-langpack-id"
    38.7 -VERSION="17.0.11esr"
    38.8 -CATEGORY="localization"
    38.9 -SHORT_DESC="Indonesian Language Pack for thunderbird"
   38.10 -MAINTAINER="domcox@slitaz.org"
   38.11 -LICENSE="MPL"
   38.12 -WEB_SITE="https://www.mozillamessaging.com/"
   38.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   38.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   38.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   38.16 -
   38.17 -DEPENDS="thunderbird"
   38.18 -
   38.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.20 -genpkg_rules()
   38.21 -{
   38.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   38.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   38.24 -	mkdir -p $EXTDIR
   38.25 -	cp -a $src/* $EXTDIR
   38.26 -}
    39.1 --- a/thunderbird-langpack-it/receipt	Mon Oct 01 01:18:37 2018 +0300
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,23 +0,0 @@
    39.4 -# SliTaz package receipt.
    39.5 -
    39.6 -PACKAGE="thunderbird-langpack-it"
    39.7 -VERSION="17.0.11esr"
    39.8 -CATEGORY="localization"
    39.9 -SHORT_DESC="Italian Language Pack for thunderbird"
   39.10 -MAINTAINER="domcox@slitaz.org"
   39.11 -LICENSE="MPL"
   39.12 -WEB_SITE="https://www.mozillamessaging.com/"
   39.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   39.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   39.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   39.16 -
   39.17 -DEPENDS="thunderbird"
   39.18 -
   39.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.20 -genpkg_rules()
   39.21 -{
   39.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   39.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   39.24 -	mkdir -p $EXTDIR
   39.25 -	cp -a $src/* $EXTDIR
   39.26 -}
    40.1 --- a/thunderbird-langpack-pl/receipt	Mon Oct 01 01:18:37 2018 +0300
    40.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.3 @@ -1,23 +0,0 @@
    40.4 -# SliTaz package receipt.
    40.5 -
    40.6 -PACKAGE="thunderbird-langpack-pl"
    40.7 -VERSION="17.0.11esr"
    40.8 -CATEGORY="localization"
    40.9 -SHORT_DESC="Polish Language Pack for thunderbird"
   40.10 -MAINTAINER="domcox@slitaz.org"
   40.11 -LICENSE="MPL"
   40.12 -WEB_SITE="https://www.mozillamessaging.com/"
   40.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   40.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   40.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   40.16 -
   40.17 -DEPENDS="thunderbird"
   40.18 -
   40.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.20 -genpkg_rules()
   40.21 -{
   40.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   40.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   40.24 -	mkdir -p $EXTDIR
   40.25 -	cp -a $src/* $EXTDIR
   40.26 -}
    41.1 --- a/thunderbird-langpack-pt_BR/receipt	Mon Oct 01 01:18:37 2018 +0300
    41.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.3 @@ -1,23 +0,0 @@
    41.4 -# SliTaz package receipt.
    41.5 -
    41.6 -PACKAGE="thunderbird-langpack-pt_BR"
    41.7 -VERSION="17.0.11esr"
    41.8 -CATEGORY="localization"
    41.9 -SHORT_DESC="Brazilian Portuguese Language Pack for thunderbird"
   41.10 -MAINTAINER="domcox@slitaz.org"
   41.11 -LICENSE="MPL"
   41.12 -WEB_SITE="https://www.mozillamessaging.com/"
   41.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   41.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   41.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   41.16 -
   41.17 -DEPENDS="thunderbird"
   41.18 -
   41.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   41.20 -genpkg_rules()
   41.21 -{
   41.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   41.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   41.24 -	mkdir -p $EXTDIR
   41.25 -	cp -a $src/* $EXTDIR
   41.26 -}
    42.1 --- a/thunderbird-langpack-pt_PT/receipt	Mon Oct 01 01:18:37 2018 +0300
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,23 +0,0 @@
    42.4 -# SliTaz package receipt.
    42.5 -
    42.6 -PACKAGE="thunderbird-langpack-pt_PT"
    42.7 -VERSION="17.0.11esr"
    42.8 -CATEGORY="localization"
    42.9 -SHORT_DESC="Portuguese Language Pack for thunderbird"
   42.10 -MAINTAINER="domcox@slitaz.org"
   42.11 -LICENSE="MPL"
   42.12 -WEB_SITE="https://www.mozillamessaging.com/"
   42.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   42.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   42.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   42.16 -
   42.17 -DEPENDS="thunderbird"
   42.18 -
   42.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.20 -genpkg_rules()
   42.21 -{
   42.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   42.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   42.24 -	mkdir -p $EXTDIR
   42.25 -	cp -a $src/* $EXTDIR
   42.26 -}
    43.1 --- a/thunderbird-langpack-ru/receipt	Mon Oct 01 01:18:37 2018 +0300
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,23 +0,0 @@
    43.4 -# SliTaz package receipt.
    43.5 -
    43.6 -PACKAGE="thunderbird-langpack-ru"
    43.7 -VERSION="17.0.11esr"
    43.8 -CATEGORY="localization"
    43.9 -SHORT_DESC="Russian Language Pack for thunderbird"
   43.10 -MAINTAINER="domcox@slitaz.org"
   43.11 -LICENSE="MPL"
   43.12 -WEB_SITE="https://www.mozillamessaging.com/"
   43.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   43.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   43.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   43.16 -
   43.17 -DEPENDS="thunderbird"
   43.18 -
   43.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.20 -genpkg_rules()
   43.21 -{
   43.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   43.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   43.24 -	mkdir -p $EXTDIR
   43.25 -	cp -a $src/* $EXTDIR
   43.26 -}
    44.1 --- a/thunderbird-langpack-sl/receipt	Mon Oct 01 01:18:37 2018 +0300
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,23 +0,0 @@
    44.4 -# SliTaz package receipt.
    44.5 -
    44.6 -PACKAGE="thunderbird-langpack-sl"
    44.7 -VERSION="17.0.11esr"
    44.8 -CATEGORY="localization"
    44.9 -SHORT_DESC="Slovenian Language Pack for thunderbird"
   44.10 -MAINTAINER="domcox@slitaz.org"
   44.11 -LICENSE="MPL"
   44.12 -WEB_SITE="https://www.mozillamessaging.com/"
   44.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   44.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   44.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   44.16 -
   44.17 -DEPENDS="thunderbird"
   44.18 -
   44.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.20 -genpkg_rules()
   44.21 -{
   44.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   44.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   44.24 -	mkdir -p $EXTDIR
   44.25 -	cp -a $src/* $EXTDIR
   44.26 -}
    45.1 --- a/thunderbird-langpack-sv_SE/receipt	Mon Oct 01 01:18:37 2018 +0300
    45.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.3 @@ -1,23 +0,0 @@
    45.4 -# SliTaz package receipt.
    45.5 -
    45.6 -PACKAGE="thunderbird-langpack-sv_SE"
    45.7 -VERSION="17.0.11esr"
    45.8 -CATEGORY="localization"
    45.9 -SHORT_DESC="Swedish Language Pack for thunderbird"
   45.10 -MAINTAINER="domcox@slitaz.org"
   45.11 -LICENSE="MPL"
   45.12 -WEB_SITE="https://www.mozillamessaging.com/"
   45.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   45.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   45.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   45.16 -
   45.17 -DEPENDS="thunderbird"
   45.18 -
   45.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.20 -genpkg_rules()
   45.21 -{
   45.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   45.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   45.24 -	mkdir -p $EXTDIR
   45.25 -	cp -a $src/* $EXTDIR
   45.26 -}
    46.1 --- a/thunderbird-langpack-zh_CN/receipt	Mon Oct 01 01:18:37 2018 +0300
    46.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.3 @@ -1,23 +0,0 @@
    46.4 -# SliTaz package receipt.
    46.5 -
    46.6 -PACKAGE="thunderbird-langpack-zh_CN"
    46.7 -VERSION="17.0.11esr"
    46.8 -CATEGORY="localization"
    46.9 -SHORT_DESC="Simplified Chinese Language Pack for thunderbird"
   46.10 -MAINTAINER="domcox@slitaz.org"
   46.11 -LICENSE="MPL"
   46.12 -WEB_SITE="https://www.mozillamessaging.com/"
   46.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   46.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   46.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   46.16 -
   46.17 -DEPENDS="thunderbird"
   46.18 -
   46.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   46.20 -genpkg_rules()
   46.21 -{
   46.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   46.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   46.24 -	mkdir -p $EXTDIR
   46.25 -	cp -a $src/* $EXTDIR
   46.26 -}
    47.1 --- a/thunderbird-langpack-zh_TW/receipt	Mon Oct 01 01:18:37 2018 +0300
    47.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.3 @@ -1,23 +0,0 @@
    47.4 -# SliTaz package receipt.
    47.5 -
    47.6 -PACKAGE="thunderbird-langpack-zh_TW"
    47.7 -VERSION="17.0.11esr"
    47.8 -CATEGORY="localization"
    47.9 -SHORT_DESC="Traditional Chinese Language Pack for thunderbird"
   47.10 -MAINTAINER="domcox@slitaz.org"
   47.11 -LICENSE="MPL"
   47.12 -WEB_SITE="https://www.mozillamessaging.com/"
   47.13 -LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
   47.14 -TARBALL="$PACKAGE-$VERSION.xpi"
   47.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
   47.16 -
   47.17 -DEPENDS="thunderbird"
   47.18 -
   47.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.20 -genpkg_rules()
   47.21 -{
   47.22 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
   47.23 -	EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
   47.24 -	mkdir -p $EXTDIR
   47.25 -	cp -a $src/* $EXTDIR
   47.26 -}
    48.1 Binary file thunderbird-langpack/.icon.png has changed
    49.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.2 +++ b/thunderbird-langpack/receipt	Tue Oct 02 04:53:44 2018 +0300
    49.3 @@ -0,0 +1,66 @@
    49.4 +# SliTaz package receipt v2.
    49.5 +
    49.6 +PACKAGE="thunderbird-langpack"
    49.7 +VERSION="17.0.11esr"
    49.8 +CATEGORY="meta"
    49.9 +SHORT_DESC="Thunderbird language pack"
   49.10 +MAINTAINER="al.bobylev@gmail.com"
   49.11 +LICENSE="MPL2"
   49.12 +WEB_SITE="https://www.thunderbird.net/en-GB/"
   49.13 +HOST_ARCH="any"
   49.14 +REPOLOGY="-"
   49.15 +
   49.16 +SPLIT="$PACKAGE-cs $PACKAGE-da $PACKAGE-de $PACKAGE-el $PACKAGE-en_GB \
   49.17 +$PACKAGE-en_US $PACKAGE-es_AR $PACKAGE-es_ES $PACKAGE-fr $PACKAGE-hu \
   49.18 +$PACKAGE-id $PACKAGE-it $PACKAGE-pl $PACKAGE-pt_BR $PACKAGE-pt_PT $PACKAGE-ru \
   49.19 +$PACKAGE-sl $PACKAGE-sv_SE $PACKAGE-zh_CN $PACKAGE-zh_TW"
   49.20 +COOKOPTS="!strip" # waste of time to search, nothing to strip
   49.21 +
   49.22 +compile_rules() {
   49.23 +	for i in $SPLIT; do
   49.24 +		lang=${i##*-}
   49.25 +		Lang=${lang/_/-}
   49.26 +		TARBALL="$PACKAGE-$lang-$VERSION.zip"
   49.27 +		WGET_URL="http://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/xpi/$Lang.xpi"
   49.28 +		[ -e "$SRC/$TARBALL" ] || wget -O $SRC/$TARBALL $WGET_URL
   49.29 +
   49.30 +		extdir="$install/usr/lib/thunderbird-$VERSION/extensions/langpack-$Lang@thunderbird.mozilla.org"
   49.31 +		mkdir -p $extdir
   49.32 +		unzip -q $SRC/$TARBALL -d $extdir
   49.33 +
   49.34 +		find $install -type f -name '.mkdir.done' -delete
   49.35 +		for i in mac win; do
   49.36 +			rm -r $extdir/chrome/$Lang/locale/$Lang/global-platform/$i
   49.37 +		done
   49.38 +	done
   49.39 +}
   49.40 +
   49.41 +genpkg_rules() {
   49.42 +	[ "$PACKAGE" == 'thunderbird-langpack' ] && return
   49.43 +	lang="${PACKAGE##*-}"
   49.44 +	copy langpack-${lang/_/-}@thunderbird.mozilla.org/
   49.45 +	case $lang in
   49.46 +		cs)    desc="Czech";;
   49.47 +		da)    desc="Danish";;
   49.48 +		de)    desc="German";;
   49.49 +		el)    desc="Greek";;
   49.50 +		en_GB) desc="British English";;
   49.51 +		en_US) desc="American English";;
   49.52 +		es_AR) desc="Argentinian Spanish";;
   49.53 +		es_ES) desc="Spanish";;
   49.54 +		fr)    desc="French";;
   49.55 +		hu)    desc="Hungarian";;
   49.56 +		id)    desc="Indonesian";;
   49.57 +		it)    desc="Italian";;
   49.58 +		pl)    desc="Polish";;
   49.59 +		pt_BR) desc="Brazilian Portuguese";;
   49.60 +		pt_PT) desc="Portuguese";;
   49.61 +		ru)    desc="Russian";;
   49.62 +		sl)    desc="Slovenian";;
   49.63 +		sv_SE) desc="Swedish";;
   49.64 +		zh_CN) desc="Simplified Chinese";;
   49.65 +		zh_TW) desc="Chinese Traditional";;
   49.66 +	esac
   49.67 +	CAT="localization|$desc"
   49.68 +	DEPENDS="thunderbird"
   49.69 +}