wok-undigest rev 641
Up: emacs (23.4)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Feb 20 17:35:40 2012 +0100 (2012-02-20) |
parents | 4f33299d479b |
children | 15efb3cdee15 |
files | emacs-help/receipt emacs-lisp-sources/receipt emacs/description.txt emacs/receipt emacs/stuff/90-slitaz.el emacs/stuff/default.el |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-help/receipt Mon Feb 20 17:35:40 2012 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="emacs-help" 1.7 +VERSION="23.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The GNU Emacs editor - Help files" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +DEPENDS="emacs" 1.12 +WEB_SITE="http://www.gnu.org/software/emacs/" 1.13 +WANTED="emacs" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + # Help files 1.19 + echo -n "Copying info files" 1.20 + mkdir -p $fs/usr/share/emacs/info && \ 1.21 + cp -a $_pkg/usr/share/emacs/info/em* $fs/usr/share/emacs/info && \ 1.22 + cp -a $_pkg/usr/share/emacs/info/info $fs/usr/share/emacs/info 1.23 + status 1.24 + # Tutorial 1.25 + echo -n "Copying tutorial files" 1.26 + mkdir -p $fs/usr/share/emacs/$VERSION/etc && \ 1.27 + cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials $fs/usr/share/emacs/$VERSION/etc 1.28 + status 1.29 + # Doc 1.30 + echo -n "Copying doc files" 1.31 + DOC_FILES=" COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \ 1.32 + INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \ 1.33 + NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \ 1.34 + WHY-FREE compilation.txt enriched.doc gnus-tut.txt grep.txt" 1.35 + for file in $DOC_FILES; do 1.36 + cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc 1.37 + done 1.38 + status 1.39 +} 1.40 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/emacs-lisp-sources/receipt Mon Feb 20 17:35:40 2012 +0100 2.3 @@ -0,0 +1,51 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="emacs-lisp-sources" 2.7 +VERSION="23.3" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="The GNU Emacs editor - Lisp source files" 2.10 +MAINTAINER="domcox@slitaz.org" 2.11 +DEPENDS="emacs" 2.12 +WEB_SITE="http://www.gnu.org/software/emacs/" 2.13 +WANTED="emacs" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + # lisp files 2.19 + LISP_DIR=" lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede lisp/cedet/semantic \ 2.20 + lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine lisp/cedet/semantic/decorate \ 2.21 + lisp/cedet/semantic/symref lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation \ 2.22 + lisp/erc lisp/eshell lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e \ 2.23 + lisp/net lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url" 2.24 + 2.25 + for dir in $LISP_DIR; do 2.26 + echo -n "Copying $dir sources" 2.27 + mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \ 2.28 + cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir 2.29 + status 2.30 + done 2.31 + # Use linux term only 2.32 + LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz" 2.33 + echo -n "Copying lisp/term sources" 2.34 + mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \ 2.35 + for file in $LINUX_TERM; do 2.36 + cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term 2.37 + done 2.38 + status 2.39 + # leim files 2.40 + LEIM_FILES="leim/ja-dic leim/quail" 2.41 + for dir in $LEIM_FILES; do 2.42 + echo -n "Copying $dir sources" 2.43 + mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \ 2.44 + cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \ 2.45 + status 2.46 + done 2.47 + # Doc 2.48 + echo -n "Copying doc files" 2.49 + DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO" 2.50 + for file in $DOC_FILES; do 2.51 + cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc 2.52 + done 2.53 + status 2.54 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/emacs/description.txt Mon Feb 20 17:35:40 2012 +0100 3.3 @@ -0,0 +1,5 @@ 3.4 +GNU Emacs is an extensible, customizable text editor and more. 3.5 +At its core is an interpreter for Emacs Lisp, a dialect of 3.6 +the Lisp programming language with extensions to support text 3.7 +editing and much more. 3.8 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/emacs/receipt Mon Feb 20 17:35:40 2012 +0100 4.3 @@ -0,0 +1,190 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="emacs" 4.7 +VERSION="23.3" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="The GNU Emacs editor" 4.10 +MAINTAINER="domcox@slitaz.org" 4.11 +DEPENDS="atk cairo dbus expat freetype fontconfig giflib glib gtk+ jpeg libgio libpng \ 4.12 +librsvg util-linux-ng-uuid ncurses pango tiff xorg-server zlib librsvg libgsf" 4.13 +BUILD_DEPENDS="atk-dev cairo-dev expat-dev dbus-dev freetype-dev fontconfig-dev \ 4.14 +giflib-dev glib-dev gtk+-dev jpeg-dev libgio-dev libpng-dev librsvg-dev ncurses-dev \ 4.15 +pango-dev pkg-config tiff-dev xorg-dev xorg-dev-proto" 4.16 +SUGGESTED="alsa-lib" 4.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.18 +WEB_SITE="http://www.gnu.org/software/emacs/" 4.19 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 4.20 +TAGS="text-editor" 4.21 + 4.22 +# Rules to configure and make the package. 4.23 +compile_rules() 4.24 +{ 4.25 + cd $src 4.26 + # Gzip workaround in busybox 4.27 + sed -i 's/${GZIP_PROG} -9n/${GZIP_PROG}/g' Makefile.in 4.28 + sed -i 's/${GZIP_PROG} -9n/${GZIP_PROG}/g' leim/Makefile.in 4.29 + # Configure (with GCC 4.5.0 workaround) 4.30 + CFLAGS="-g -O2 -fno-optimize-sibling-calls" ./configure $CONFIGURE_ARGS \ 4.31 + --infodir=/usr/share/emacs/info \ 4.32 + --mandir=/usr/share/man \ 4.33 + --without-makeinfo \ 4.34 + --without-gconf \ 4.35 + --with-sound \ 4.36 + --with-x \ 4.37 + --with-toolkit-scroll-bars \ 4.38 + --with-xpm=yes \ 4.39 + --libexecdir=/usr/lib \ 4.40 + --localstatedir=/var/lib \ 4.41 + --sharedstatedir=/var/lib \ 4.42 + --prefix=/usr && \ 4.43 + make $MAKEFLAGS && \ 4.44 + make DESTDIR=$PWD/_pkg install 4.45 +} 4.46 + 4.47 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.48 +genpkg_rules() 4.49 +{ 4.50 + # Binary files 4.51 + BIN_FILES="b2m ctags ebrowse emacs emacsclient etags grep-changelog rcs-checkin" 4.52 + echo -n "Copying emacs binary files" 4.53 + mkdir -p $fs/usr/bin && \ 4.54 + for file in $BIN_FILES; do 4.55 + cp -a $_pkg/usr/bin/$file $fs/usr/bin 4.56 + done 4.57 + status 4.58 + # Lib files 4.59 + echo -n "Copying emacs lib files" 4.60 + cp -a $_pkg/usr/lib $fs/usr 4.61 + status 4.62 + strip -s $fs/usr/lib/$PACKAGE/$VERSION/i486-pc-linux-gnu/* 2> /dev/null 4.63 + # lisp files 4.64 + LISP_DIR=" lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede lisp/cedet/semantic \ 4.65 + lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine lisp/cedet/semantic/decorate \ 4.66 + lisp/cedet/semantic/symref lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation \ 4.67 + lisp/erc lisp/eshell lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e \ 4.68 + lisp/net lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url" 4.69 + for dir in $LISP_DIR; do 4.70 + echo -n "Copying $dir files" 4.71 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \ 4.72 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc $fs/usr/share/$PACKAGE/$VERSION/$dir 4.73 + if [ `ls $_pkg/usr/share/$PACKAGE/$VERSION/$dir/ | grep -c \.el$` -gt 0 ]; then 4.74 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.el $fs/usr/share/$PACKAGE/$VERSION/$dir 4.75 + fi 4.76 + for file in COPYING README TODO; do 4.77 + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then 4.78 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir 4.79 + fi 4.80 + done 4.81 + status 4.82 + done 4.83 + # Use linux term only 4.84 + LINUX_TERM="README linux.el rxvt.elc tty-colors.elc vt100.elc xterm.elc" 4.85 + echo -n "Copying lisp/term files (linux only)" 4.86 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/lisp/term && \ 4.87 + for file in $LINUX_TERM; do 4.88 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/$file $fs/usr/share/$PACKAGE/$VERSION/lisp/term 4.89 + done 4.90 + status 4.91 + # leim files 4.92 + echo -n "Copying leim files" 4.93 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/leim && \ 4.94 + cp $_pkg/usr/share/$PACKAGE/$VERSION/leim/*.el $fs/usr/share/$PACKAGE/$VERSION/leim 4.95 + status 4.96 + LEIM_FILES="leim/ja-dic leim/quail" 4.97 + for dir in $LEIM_FILES; do 4.98 + echo -n "Copying $dir files" 4.99 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \ 4.100 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc $fs/usr/share/$PACKAGE/$VERSION/$dir && \ 4.101 + for file in COPYING README TODO; do 4.102 + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then 4.103 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir 4.104 + fi 4.105 + done 4.106 + status 4.107 + done 4.108 + # Conf files 4.109 + echo -n "Copying conf files" 4.110 + CONF_FILES="ETAGS.README charsets e edt-user.el emacs2.py emacs3.py emacs-buffer.gdb emacs.py \ 4.111 + forms-d2.dat gnus nxml schema enriched.doc ms-kermit ps-prin0.ps ps-prin1.ps \ 4.112 + ses-example.ses spook.lines yow.lines" 4.113 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc && \ 4.114 + for file in $CONF_FILES; do 4.115 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file $fs/usr/share/$PACKAGE/$VERSION/etc 4.116 + done 4.117 + status 4.118 + # Pixmaps files 4.119 + XPM_DIR=" images images/custom images/ezimage images/gnus images/gud images/mail images/mpc \ 4.120 + images/smilies images/smilies/grayscale images/smilies/medium images/tree-widget/default \ 4.121 + images/tree-widget/folder" 4.122 + for dir in $XPM_DIR; do 4.123 + echo -n "Copying $dir xpm files" 4.124 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ 4.125 + cp $_pkg/usr/share/$PACKAGE/$VERSION/etc/$dir/*.xpm $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ 4.126 + for file in COPYING README TODO; do 4.127 + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then 4.128 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir 4.129 + fi 4.130 + done 4.131 + status 4.132 + done 4.133 + PNG_DIR=" images images/gnus images/tree-widget/default images/tree-widget/folder" 4.134 + for dir in $PNG_DIR; do 4.135 + echo -n "Copying $dir png files" 4.136 + cp $_pkg/usr/share/$PACKAGE/$VERSION/etc/$dir/*.png $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ 4.137 + status 4.138 + done 4.139 + # Licence 4.140 + GNU_FILES="AUTHORS BABYL CENSORSHIP COPYING DISTRIB FTP GNU ORDERS SERVICE copying.paper" 4.141 + echo -n "Copying License files" 4.142 + for file in $GNU_FILES; do 4.143 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file $fs/usr/share/$PACKAGE/$VERSION/etc 4.144 + done 4.145 + status 4.146 + # Install specific site file 4.147 + echo -n "Installing specific SliTaz file" 4.148 + mkdir -p $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ 4.149 + cp -a $_pkg/usr/share/$PACKAGE/site-lisp $fs/usr/share/$PACKAGE && \ 4.150 + cp -a stuff/default.el $fs/usr/share/$PACKAGE/site-lisp && \ 4.151 + cp -a stuff/90-slitaz.el $fs/usr/share/$PACKAGE/site-lisp/site-start.d 4.152 + status 4.153 + # Install desktop files for emacs 4.154 + echo -n "Installing emacs menu" 4.155 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications && \ 4.156 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/emacs.desktop $fs/usr/share/applications/ && \ 4.157 + cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/emacs.png $fs/usr/share/pixmaps 4.158 + status 4.159 + # Add a desktop file for emacs client 4.160 + echo -n "Installing emacsclient menu" 4.161 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/emacs.desktop $fs/usr/share/applications/emacsclient.desktop && \ 4.162 + sed -i 's/Exec.*/Exec=xterm -e emacsclient --alternate-editor="" %F/' $fs/usr/share/applications/emacsclient.desktop && \ 4.163 + sed -i 's/Name=.*/Name=Emacsclient/' $fs/usr/share/applications/emacsclient.desktop 4.164 + status 4.165 + # Directory workaround 4.166 + cd $fs/usr/share/$PACKAGE/$VERSION 4.167 + ln -s ../site-lisp site-lisp 4.168 +} 4.169 + 4.170 +post_install() 4.171 +{ 4.172 + cd /usr/share/emacs/site-lisp 4.173 + cat <<-EOF >site-start.el 4.174 + ;; site-start.el for SliTaz -*- no-byte-compile: t -*- 4.175 + ;; 4.176 + ;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009. 4.177 + ;; 4.178 + ;; This default site startup file for Emacs was created by tazpkg 4.179 + ;; reconfigure emacs. You may modify this file, replace it by your 4.180 + ;; own site initialisation, or even remove it completely. 4.181 + ;; 4.182 + EOF 4.183 + START_FILES=`ls site-start.d/ | sort` 4.184 + for file in $START_FILES; do 4.185 + cat site-start.d/$file >> site-start.el 4.186 + done 4.187 +} 4.188 + 4.189 +post_remove() 4.190 +{ 4.191 + rm -rf /usr/share/emacs 4.192 + rm -rf /usr/lib/emacs 4.193 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/emacs/stuff/90-slitaz.el Mon Feb 20 17:35:40 2012 +0100 5.3 @@ -0,0 +1,9 @@ 5.4 +;; SliTaz start mode for emacs 5.5 +;; Last update: 2009-08-22 5.6 +;; 5.7 +;; Set font size to fit a 1024x768 screen 5.8 + 5.9 +(set-default-font "-*-*-*-*-*--12-*-*-*-*-*-*-*") 5.10 + 5.11 +;; 5.12 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/emacs/stuff/default.el Mon Feb 20 17:35:40 2012 +0100 6.3 @@ -0,0 +1,59 @@ 6.4 +;; Emacs default file for SliTaz 6.5 +;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009 6.6 +;; Last update: 2009-08-22 6.7 +;; 6.8 +;; Add support for SliTaz receipt files 6.9 +;; force emacs in shell-script-mode 6.10 +(setq auto-mode-alist (cons '("receipt" . shell-script-mode) auto-mode-alist)) 6.11 + 6.12 +;; Force emacs to use tabs 6.13 +;; from Scott Hurring's HOWTO 6.14 +;; turn on tabs 6.15 +(setq indent-tabs-mode t) 6.16 +(setq-default indent-tabs-mode t) 6.17 + 6.18 +;; bind the TAB key 6.19 +(global-set-key (kbd "TAB") 'self-insert-command) 6.20 + 6.21 +;; set the tab width 6.22 +(setq default-tab-width 4) 6.23 +(setq tab-width 4) 6.24 +(setq c-basic-indent 4) 6.25 + 6.26 + 6.27 +;; Following lines has been grabbed from dot emacs file for Maemo (nokia tablets): 6.28 +;; christof sietchtabr at gmail 6.29 +;; 6.30 +;; the dired, list-directory, and gzip fixes all come from the 6.31 +;; packager of the emacs deb and responses from other maemo community members 6.32 +;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml 6.33 +;; 6.34 +;; make dired work 6.35 +;; --dired option is not supported on busybox ls command 6.36 +(setq dired-use-ls-dired nil) 6.37 + 6.38 +;; make list-directory work 6.39 +;; -F not supported by busybox ls command 6.40 +(setq list-directory-brief-switches "-C") 6.41 + 6.42 + 6.43 +;; we *REALLY* don't want to spew file backups all over the fs. 6.44 +;; code to place all backups in one location 6.45 +(when (not (file-directory-p "~/.backup")) 6.46 + (make-directory "~/.backup")) 6.47 +(if (file-directory-p "~/.backup") 6.48 + (setq backup-directory-alist '(("." . "~/.backup")))) 6.49 + 6.50 +;; custom variable setting to make info work using busybox gzip 6.51 + 6.52 +(custom-set-variables 6.53 + ;; custom-set-variables was added by Custom. 6.54 + ;; If you edit it by hand, you could mess it up, so be careful. 6.55 + ;; Your init file should contain only one such instance. 6.56 + ;; If there is more than one, they won't work right. 6.57 + '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "compress" ("-c") "u\ 6.58 +ncompressing" "uncompress" ("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" "bzip2" nil "b\ 6.59 +unzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" "bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil\ 6.60 + "BZh"] ["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-q" "-d") t nil "^_\x8b"] ["\\.\ 6.61 +g?z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t "^_\x8b"] ["\\ 6.62 +\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil t "^_\x8b"]))))