wok-next rev 20858

Update perl to current stable (5.28.0)
Exclude ever broken microperl from perl receipt
Remove old perl-thread because default perl package already use threads
lxsession-edit has gone long time ago and can be found in the lxsession package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 11:17:45 2018 +0300 (2018-06-27)
parents 41ecc518f630
children d1ec7aca1013
files lxde/description.txt lxde/receipt lxsession/receipt perl-thread/receipt perl/.icon.png perl/receipt perl/stuff/microperl.patch perl/stuff/miniperlmain.patch slitaz-i18n/stuff/locale-pack.conf tramys/stuff/arm_mo.list tramys/stuff/mo.list
line diff
     1.1 --- a/lxde/description.txt	Wed Jun 27 06:02:03 2018 +0000
     1.2 +++ b/lxde/description.txt	Wed Jun 27 11:17:45 2018 +0300
     1.3 @@ -3,4 +3,4 @@
     1.4  
     1.5  This package is a metapackage depends on the core components and recommended
     1.6  components of the LXDE. It includes lxpanel, lxtask, lxappearance, lxsession,
     1.7 -pcmanfm, lxinput, lxsession-edit, lxrandr, gpicview and leafpad.
     1.8 +pcmanfm, lxinput, lxrandr, gpicview and leafpad.
     2.1 --- a/lxde/receipt	Wed Jun 27 06:02:03 2018 +0000
     2.2 +++ b/lxde/receipt	Wed Jun 27 11:17:45 2018 +0300
     2.3 @@ -21,8 +21,8 @@
     2.4  	TAGS="LXDE window-manager desktop"
     2.5  	SUGGESTED="lxterminal lxdm lxshortcut xarchiver"
     2.6  	DEPENDS="xorg-libX11 gtk+ lxpanel lxtask lxappearance lxsession pcmanfm \
     2.7 -	lxsession-edit lxrandr lxinput openbox obconf gpicview leafpad \
     2.8 -	slitaz-configs slitaz-tools-boxes"
     2.9 +	lxrandr lxinput openbox obconf gpicview leafpad slitaz-configs \
    2.10 +	slitaz-tools-boxes"
    2.11  }
    2.12  
    2.13  # Add WM to SLIM available sessions.
     3.1 --- a/lxsession/receipt	Wed Jun 27 06:02:03 2018 +0000
     3.2 +++ b/lxsession/receipt	Wed Jun 27 11:17:45 2018 +0300
     3.3 @@ -56,7 +56,6 @@
     3.4  	copy @std
     3.5  	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango polkit \
     3.6  	xorg-libX11   dbus-glib lsb-release"
     3.7 -	PROVIDE="lxsession-edit"
     3.8  	CONFIG_FILES="/etc/xdg/lxsession/LXDE/desktop.conf \
     3.9  	/etc/xdg/lxsession/LXDE/conffiles.conf"
    3.10  }
     4.1 --- a/perl-thread/receipt	Wed Jun 27 06:02:03 2018 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,40 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="perl-thread"
     4.7 -VERSION="5.24.1"
     4.8 -CATEGORY="development"
     4.9 -SHORT_DESC="Full Perl interpreter and modules"
    4.10 -MAINTAINER="pankso@slitaz.org"
    4.11 -LICENSE="GPL"
    4.12 -WEB_SITE="https://www.perl.org/"
    4.13 -
    4.14 -TARBALL="perl-$VERSION.tar.bz2"
    4.15 -WGET_URL="http://www.cpan.org/src/5.0/$TARBALL"
    4.16 -
    4.17 -DEPENDS="libdb gdbm zlib"
    4.18 -BUILD_DEPENDS="db gdbm zlib less"
    4.19 -SIBLINGS="microperl perl-thread"
    4.20 -
    4.21 -# Rules to configure and make the package.
    4.22 -#
    4.23 -compile_rules()
    4.24 -{
    4.25 -	./configure.gnu \
    4.26 -		--prefix=/usr \
    4.27 -		-Dusethreads &&
    4.28 -	make &&
    4.29 -	make install
    4.30 -}
    4.31 -
    4.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.33 -genpkg_rules()
    4.34 -{
    4.35 -	copy bin/ lib/
    4.36 -}
    4.37 -
    4.38 -# Pre install commands for Tazpkg.
    4.39 -# Remove perl link to microperl if any.
    4.40 -#
    4.41 -pre_install() {
    4.42 -	[ ! -e "$1/usr/bin/perl" ] || rm -f "$1/usr/bin/perl"
    4.43 -}
     5.1 Binary file perl/.icon.png has changed
     6.1 --- a/perl/receipt	Wed Jun 27 06:02:03 2018 +0000
     6.2 +++ b/perl/receipt	Wed Jun 27 11:17:45 2018 +0300
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt v2.
     6.5  
     6.6  PACKAGE="perl"
     6.7 -VERSION="5.26.2"
     6.8 +VERSION="5.28.0"
     6.9  CATEGORY="development"
    6.10  SHORT_DESC="Perl interpreter and modules"
    6.11  MAINTAINER="pankso@slitaz.org"
    6.12 @@ -16,62 +16,28 @@
    6.13  # etc., you need to update ALL the Perl related packages on ANY change
    6.14  # of the Perl version!
    6.15  
    6.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.18  WGET_URL="http://www.cpan.org/src/5.0/$TARBALL"
    6.19  # Integrity check: http://www.cpan.org/src/5.0/
    6.20 -TARBALL_SHA256="3f6a6b5bbd43016e5211e24b6631ea84216dd300216a2293b41c9195032f3e81"
    6.21 +TARBALL_SHA256="059b3cb69970d8c8c5964caced0335b4af34ac990c8e61f7e3f90cd1c2d11e49"
    6.22  
    6.23  COOKOPTS="!perlz"
    6.24  BUILD_DEPENDS="zlib-dev bzip2-dev less gdbm-dev"
    6.25 -#SPLIT="perl-core perl perl-dev microperl:micro"
    6.26  SPLIT="perl-core perl perl-dev"
    6.27 -# microperl: waiting for 5.26.2: https://rt.perl.org/Public/Bug/Display.html?id=132255
    6.28 -# sv.c:(.text+0x1aa95): undefined reference to `Perl_fp_class_denorm'
    6.29 -
    6.30 -# Rules to compile & install the temporary toolchain.
    6.31 -cook_tmp_toolchain() {
    6.32 -	cd $src
    6.33 -	sh Configure -des \
    6.34 -		-Dprefix=/tools \
    6.35 -		-Dstatic_ext='Data/Dumper Fcntl IO' &&
    6.36 -
    6.37 -	# Only few tools are needed in the tmp toolchain.
    6.38 -	make perl utilities ext/Errno/pm_to_blib || return 1
    6.39 -
    6.40 -	cp perl pod/pod2man /tools/bin
    6.41 -	mkdir -p /tools/lib/perl5/$VERSION
    6.42 -	cp -R lib/* /tools/lib/perl5/$VERSION
    6.43 -}
    6.44  
    6.45  compile_rules() {
    6.46 -	case $SET in
    6.47 -		micro)
    6.48 -				patch -p1 -i $stuff/microperl.patch
    6.49 -				sed -i.orig "s|usr/local|usr|;
    6.50 -					s|perl5/${VERSION%.*}|perl5/$VERSION|;
    6.51 -					s|unknown|$HOST_SYSTEM|" uconfig.sh uconfig64.sh
    6.52 -
    6.53 -				case $ARCH in
    6.54 -					x86_64) make -f Makefile.micro regen_uconfig64;;
    6.55 -					*)      make -f Makefile.micro regen_uconfig;;
    6.56 -				esac &&
    6.57 -				make -f Makefile.micro &&
    6.58 -				install -Dm755 microperl $install/usr/bin/microperl
    6.59 -				;;
    6.60 -		*)
    6.61 -			export BUILD_ZLIB=False
    6.62 -			export BUILD_BZIP2=0
    6.63 -			sh Configure -des \
    6.64 -				-Dprefix=/usr \
    6.65 -				-Dvendorprefix=/usr \
    6.66 -				-Dman1dir=/usr/share/man/man1 \
    6.67 -				-Dman3dir=/usr/share/man/man3 \
    6.68 -				-Dpager="/usr/bin/less -isR" \
    6.69 -				-Duseshrplib \
    6.70 -				-Dusethreads &&
    6.71 -			make && make install
    6.72 -			;;
    6.73 -	esac
    6.74 +	export BUILD_ZLIB=False
    6.75 +	export BUILD_BZIP2=0
    6.76 +	sh Configure -des \
    6.77 +		-Dprefix=/usr \
    6.78 +		-Dvendorprefix=/usr \
    6.79 +		-Dman1dir=/usr/share/man/man1 \
    6.80 +		-Dman3dir=/usr/share/man/man3 \
    6.81 +		-Dpager="/usr/bin/less -isR" \
    6.82 +		-Duseshrplib \
    6.83 +		-Dusethreads &&
    6.84 +	make &&
    6.85 +	make install
    6.86  }
    6.87  
    6.88  genpkg_rules() {
    6.89 @@ -84,17 +50,12 @@
    6.90  		perl)
    6.91  			copy @std @rm
    6.92  			DEPENDS="bzlib gdbm zlib perl-core"
    6.93 -			PROVIDE="microperl perl-thread"
    6.94 +			PROVIDE="microperl"
    6.95  			TAGS="LFS"
    6.96  			;;
    6.97  		*-dev)
    6.98  			copy @dev
    6.99  			;;
   6.100 -		microperl)
   6.101 -			copy @std
   6.102 -			CAT="development|micro version"
   6.103 -			DEPENDS="glibc-base"
   6.104 -			;;
   6.105  	esac
   6.106  }
   6.107  
     7.1 --- a/perl/stuff/microperl.patch	Wed Jun 27 06:02:03 2018 +0000
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,40 +0,0 @@
     7.4 ---- a/Makefile.micro
     7.5 -+++ b/Makefile.micro
     7.6 -@@ -1,7 +1,7 @@
     7.7 - LD = $(CC)
     7.8 - CCFLAGS = -c
     7.9 - DEFINES = -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV \
    7.10 --	  -DNO_MATHOMS
    7.11 -+	  -DNO_MATHOMS -DUSE_PERLIO
    7.12 - OPTIMIZE = 
    7.13 - CFLAGS = $(DEFINES) $(OPTIMIZE)
    7.14 - LDFLAGS = 
    7.15 -@@ -14,7 +14,7 @@
    7.16 - 
    7.17 - all:	microperl
    7.18 - 
    7.19 --O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
    7.20 -+O = uav$(_O) ucaretx$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
    7.21 - 	uglobals$(_O) ugv$(_O) uhv$(_O) umro$(_O)\
    7.22 - 	umg$(_O) uperlmain$(_O) uop$(_O) ureentr$(_O) \
    7.23 - 	upad$(_O) uperl$(_O) uperlio$(_O) uperly$(_O) upp$(_O) \
    7.24 -@@ -66,6 +66,9 @@
    7.25 - 
    7.26 - uav$(_O):	$(HE) av.c
    7.27 - 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) av.c
    7.28 -+
    7.29 -+ucaretx$(_O):	$(HE) caretx.c
    7.30 -+	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) caretx.c
    7.31 - 
    7.32 - udeb$(_O):	$(HE) deb.c
    7.33 - 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) deb.c
    7.34 ---- a/EXTERN.h
    7.35 -+++ b/EXTERN.h
    7.36 -@@ -57,3 +57,7 @@
    7.37 - #define INIT(x)
    7.38 - 
    7.39 - #undef DOINIT
    7.40 -+
    7.41 -+#define I_LIMITS
    7.42 -+#define I_FCNTL
    7.43 -+#define I_FLOAT
     8.1 --- a/perl/stuff/miniperlmain.patch	Wed Jun 27 06:02:03 2018 +0000
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,16 +0,0 @@
     8.4 ---- miniperlmain.c.orig
     8.5 -+++ miniperlmain.c
     8.6 -@@ -117,13 +117,6 @@
     8.7 -     if (!exitstatus)
     8.8 -         perl_run(my_perl);
     8.9 - 
    8.10 --    /* Unregister our signal handler before destroying my_perl */
    8.11 --    for (i = 0; PL_sig_name[i]; i++) {
    8.12 --	if (rsignal_state(PL_sig_num[i]) == (Sighandler_t) PL_csighandlerp) {
    8.13 --	    rsignal(PL_sig_num[i], (Sighandler_t) SIG_DFL);
    8.14 --	}
    8.15 --    }
    8.16 --
    8.17 -     exitstatus = perl_destruct(my_perl);
    8.18 - 
    8.19 -     perl_free(my_perl);
     9.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Wed Jun 27 06:02:03 2018 +0000
     9.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Wed Jun 27 11:17:45 2018 +0300
     9.3 @@ -3,7 +3,7 @@
     9.4  CORE_PKGS="acl alsaplayer alsa-utils asunder atk attr busybox dialog e2fsprogs \
     9.5  elfutils epdfview galculator gdk-pixbuf glib glibc glib-networking gparted \
     9.6  gpicview gtk+ gvfs kbd leafpad libfm gnutls libgpg-error libidn xz libwebkit \
     9.7 -lxappearance lxinput lxpanel lxrandr lxsession lxsession-edit lxtask \
     9.8 +lxappearance lxinput lxpanel lxrandr lxsession lxtask \
     9.9  mhwaveedit midori mtpaint nano obconf openbox parted pcmanfm polkit popt \
    9.10  sakura-gtk2 shared-mime-info udisks2 util-linux vorbis-tools vte-gtk2 \
    9.11  xorg-xkeyboard-config yad-gtk2 \
    10.1 --- a/tramys/stuff/arm_mo.list	Wed Jun 27 06:02:03 2018 +0000
    10.2 +++ b/tramys/stuff/arm_mo.list	Wed Jun 27 11:17:45 2018 +0300
    10.3 @@ -49,7 +49,6 @@
    10.4  lxinput	af ar ast be bg bn_IN bn ca cs da de el en_GB eo es es_VE et eu fa fi fo fr frp gl he hr hu id it ja kk ko lg lt ml ms nb nl nn pl ps pt_BR pt ro ru si sk sl sr@latin sr sv te th tr tt_RU ug uk ur ur_PK vi zh_CN zh_TW
    10.5  lxpanel	af ar be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja kk km ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro ru sk sl sr@latin sr sv te th tr tt_RU ug uk ur ur_PK vi zh_CN zh_TW
    10.6  lxrandr	af ar ast be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja ko lg lt ml ms nb nl nn pl ps pt_BR pt ro ru sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    10.7 -lxsession-edit	af ar ast be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro ru si sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    10.8  lxsession	af am ar ast be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro ru si sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    10.9  lxtask	af ar bg bn_IN ca cs da de el es es_VE et eu fa fi fr frp gl he hr hu id it ja ko lt ml ms nb nl nn pl ps pt_BR pt ru sk sl sr sv tr uk ur ur_PK vi zh_CN zh_TW
   10.10  lynx	ca cs da de en eo et fi fr hu id it ja nl pt_BR ru sl sv tr uk vi zh_CN zh_TW
    11.1 --- a/tramys/stuff/mo.list	Wed Jun 27 06:02:03 2018 +0000
    11.2 +++ b/tramys/stuff/mo.list	Wed Jun 27 11:17:45 2018 +0300
    11.3 @@ -336,7 +336,6 @@
    11.4  lxpanel	af ar be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja kk km ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro ru sk sl sr@latin sr sv te th tr tt_RU ug uk ur ur_PK vi zh_CN zh_TW
    11.5  lxpolkit	af am ar be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja km ko lg lt ml ms nb nl nn pl ps pt_BR pt ro ru si sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    11.6  lxrandr	af ar ast be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja ko lg lt ml ms nb nl nn pl ps pt_BR pt ro ru sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    11.7 -lxsession-edit	af ar ast be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro ru si sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    11.8  lxsession	af am ar ast be bg bn_IN bn ca cs da de el en_GB es es_VE et eu fa fi fo fr frp gl he hr hu id it ja ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro ru si sk sl sr@latin sr sv te th tr tt_RU uk ur ur_PK vi zh_CN zh_TW
    11.9  lxshortcut	af ar cs da de es et eu fa fi fr gl hr hu id it ja ko lt ml ms nb nl nn pl ps pt_BR pt ru sk sl sv tr uk ur ur_PK vi zh_CN zh_TW
   11.10  lxtask	af ar bg bn_IN ca cs da de el es es_VE et eu fa fi fr frp gl he hr hu id it ja ko lt ml ms nb nl nn pl ps pt_BR pt ru sk sl sr sv tr uk ur ur_PK vi zh_CN zh_TW