wok rev 22692

updated emacs again (24.3 -> 26.3)
author Hans-G?nter Theisgen
date Mon Jan 20 17:40:23 2020 +0100 (2020-01-20)
parents 188bb62d240d
children dbb0f0791cf9
files emacs-lisp-sources/receipt emacs/receipt
line diff
     1.1 --- a/emacs-lisp-sources/receipt	Mon Jan 20 17:26:23 2020 +0100
     1.2 +++ b/emacs-lisp-sources/receipt	Mon Jan 20 17:40:23 2020 +0100
     1.3 @@ -1,65 +1,74 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emacs-lisp-sources"
     1.7 -VERSION="24.3"
     1.8 +VERSION="26.3"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="The GNU Emacs editor - Lisp source files"
    1.11 +SHORT_DESC="The GNU Emacs editor - Lisp source files."
    1.12  MAINTAINER="domcox@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://www.gnu.org/software/emacs/"
    1.15 -WANTED="emacs"
    1.16 +WEB_SITE="https://www.gnu.org/software/emacs/"
    1.17  
    1.18  DEPENDS="emacs"
    1.19 +WANTED="emacs"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	# lisp files
    1.25 -	LISP_DIR="lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede \
    1.26 -lisp/cedet/semantic lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine \
    1.27 -lisp/cedet/semantic/decorate lisp/cedet/semantic/symref lisp/cedet/srecode \
    1.28 -lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \
    1.29 -lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net \
    1.30 -lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes \
    1.31 -lisp/url lisp/vc"
    1.32 +	LISP_DIR="lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede 
    1.33 +		lisp/cedet/semantic lisp/cedet/semantic/analyze 
    1.34 +		lisp/cedet/semantic/bovine lisp/cedet/semantic/decorate 
    1.35 +		lisp/cedet/semantic/symref lisp/cedet/srecode 
    1.36 +		lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation 
    1.37 +		lisp/erc lisp/eshell lisp/gnus lisp/international 
    1.38 +		lisp/language lisp/leim lisp/leim/ja-dic lisp/leim/quail 
    1.39 +		lisp/mail lisp/mh-e lisp/net lisp/nxml lisp/obsolete lisp/org 
    1.40 +		lisp/play lisp/progmodes lisp/textmodes lisp/url lisp/vc"
    1.41  
    1.42 -	for dir in $LISP_DIR; do
    1.43 +	for dir in $LISP_DIR
    1.44 +	  do
    1.45  		echo -n "Copying $dir sources"
    1.46 -		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.47 +		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir &&
    1.48  		cp -a $install/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
    1.49  			$fs/usr/share/$WANTED/$VERSION/$dir
    1.50  		status
    1.51 -	done
    1.52 -	# Use linux term only
    1.53 +	  done
    1.54 +
    1.55 +	# Use linux terminal only
    1.56  	LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
    1.57  	echo -n "Copying lisp/term sources"
    1.58 -	mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
    1.59 -	for file in $LINUX_TERM; do
    1.60 +	mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term &&
    1.61 +	for file in $LINUX_TERM
    1.62 +	  do
    1.63  		cp -a $install/usr/share/$WANTED/$VERSION/lisp/term/$file \
    1.64  			$fs/usr/share/$WANTED/$VERSION/lisp/term
    1.65 -	done
    1.66 +	  done
    1.67  	status
    1.68 +
    1.69  	# leim files
    1.70 -	LEIM_FILES="leim/ja-dic leim/quail"
    1.71 -	for dir in $LEIM_FILES; do
    1.72 -		echo -n "Copying $dir sources"
    1.73 -		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.74 -		cp -a $install/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
    1.75 -			$fs/usr/share/$WANTED/$VERSION/$dir && \
    1.76 -		status
    1.77 -	done
    1.78 +#	LEIM_FILES="leim/ja-dic leim/quail"
    1.79 +#	for dir in $LEIM_FILES; do
    1.80 +#		echo -n "Copying $dir sources"
    1.81 +#		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.82 +#		cp -a $install/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
    1.83 +#			$fs/usr/share/$WANTED/$VERSION/$dir && \
    1.84 +#		status
    1.85 +#	done
    1.86 +
    1.87  	# refcards
    1.88  	echo -n "Copying refcards sources"
    1.89  	mkdir -p $fs/usr/share/$WANTED/$VERSION/etc/refcards
    1.90  	cp -a $install/usr/share/$WANTED/$VERSION/etc/refcards/*tex \
    1.91 -		$fs/usr/share/$WANTED/$VERSION/etc/refcards
    1.92 +			$fs/usr/share/$WANTED/$VERSION/etc/refcards
    1.93  	status
    1.94 -	# Doc
    1.95 -	echo -n "Copying doc files"
    1.96 -	DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
    1.97 -	for file in $DOC_FILES; do
    1.98 +
    1.99 +	# Documentation
   1.100 +	echo -n "Copying documentation files"
   1.101 +	DOC_FILES="DEBUG MACHINES TODO"
   1.102 +	for file in $DOC_FILES
   1.103 +	  do
   1.104  		cp -a $install/usr/share/emacs/$VERSION/etc/$file \
   1.105  			$fs/usr/share/emacs/$VERSION/etc
   1.106 -	done
   1.107 +	  done
   1.108  	status
   1.109  }
     2.1 --- a/emacs/receipt	Mon Jan 20 17:26:23 2020 +0100
     2.2 +++ b/emacs/receipt	Mon Jan 20 17:40:23 2020 +0100
     2.3 @@ -85,8 +85,12 @@
     2.4  	  do
     2.5  		echo -n "Copying $dir files"
     2.6  		mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir &&
     2.7 -		cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
     2.8 -			$fs/usr/share/$PACKAGE/$VERSION/$dir
     2.9 +		if [ $(ls $install/usr/share/$PACKAGE/$VERSION/$dir/ | \
    2.10 +grep -c \.elc$) -gt 0 ]
    2.11 +		  then
    2.12 +			cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
    2.13 +				$fs/usr/share/$PACKAGE/$VERSION/$dir
    2.14 +		fi
    2.15  		if [ $(ls $install/usr/share/$PACKAGE/$VERSION/$dir/ | \
    2.16  grep -c \.el$) -gt 0 ]
    2.17  		  then