wok-next rev 3938
emacs: up to 23.1
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Fri Aug 21 21:49:57 2009 +0200 (2009-08-21) |
parents | 3ab540803514 |
children | 4cf5da7c32ac |
files | emacs-help/receipt emacs-lisp-sources/receipt emacs-pkg-lua-mode/receipt emacs-pkg-lua-mode/stuff/lua-mode-start.el emacs/description.txt emacs/receipt emacs/stuff/default.el emacs/stuff/emacs.desktop emacs/stuff/emacs.png emacs/stuff/lua-mode.elc emacs/stuff/slitaz.el |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-help/receipt Fri Aug 21 21:49:57 2009 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="emacs-help" 1.7 +VERSION="23.1" 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 +BUILD_DEPENDS= 1.13 +WEB_SITE="http://www.gnu.org/software/emacs/" 1.14 +WANTED="emacs" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + # Help files 1.20 + echo -n "Copying info files" 1.21 + mkdir -p $fs/usr/share/emacs/info && \ 1.22 + cp -a $_pkg/usr/share/emacs/info/em* $fs/usr/share/emacs/info && \ 1.23 + cp -a $_pkg/usr/share/emacs/info/info $fs/usr/share/emacs/info 1.24 + status 1.25 + # Tutorial 1.26 + echo -n "Copying tutorial files" 1.27 + mkdir -p $fs/usr/share/emacs/$VERSION/etc && \ 1.28 + cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials $fs/usr/share/emacs/$VERSION/etc 1.29 + status 1.30 + # Doc 1.31 + echo -n "Copying doc files" 1.32 + DOC_FILES=" COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \ 1.33 + INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \ 1.34 + NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \ 1.35 + WHY-FREE compilation.txt edt-user.doc enriched.doc gnus-tut.txt grep.txt" 1.36 + for file in $DOC_FILES; do 1.37 + cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc 1.38 + done 1.39 + status 1.40 +} 1.41 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/emacs-lisp-sources/receipt Fri Aug 21 21:49:57 2009 +0200 2.3 @@ -0,0 +1,49 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="emacs-lisp-sources" 2.7 +VERSION="23.1" 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 +BUILD_DEPENDS= 2.13 +WEB_SITE="http://www.gnu.org/software/emacs/" 2.14 +WANTED="emacs" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + # lisp files 2.20 + LISP_DIR=" lisp lisp/calc lisp/calendar lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \ 2.21 + lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net lisp/nxml \ 2.22 + lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url" 2.23 + for dir in $LISP_DIR; do 2.24 + echo -n "Copying $dir sources" 2.25 + mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \ 2.26 + cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir 2.27 + status 2.28 + done 2.29 + # Use linux term only 2.30 + LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz" 2.31 + echo -n "Copying lisp/term sources" 2.32 + mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \ 2.33 + for file in $LINUX_TERM; do 2.34 + cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term 2.35 + done 2.36 + status 2.37 + # leim files 2.38 + LEIM_FILES="leim/ja-dic leim/quail" 2.39 + for dir in $LEIM_FILES; do 2.40 + echo -n "Copying $dir sources" 2.41 + mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \ 2.42 + cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \ 2.43 + status 2.44 + done 2.45 + # Doc 2.46 + echo -n "Copying doc files" 2.47 + DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO" 2.48 + for file in $DOC_FILES; do 2.49 + cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc 2.50 + done 2.51 + status 2.52 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/emacs-pkg-lua-mode/receipt Fri Aug 21 21:49:57 2009 +0200 3.3 @@ -0,0 +1,34 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="emacs-pkg-lua-mode" 3.7 +VERSION="20071122" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="An Emacs major mode for editing Lua code." 3.10 +MAINTAINER="domcox@slitaz.org" 3.11 +DEPENDS="emacs" 3.12 +BUILD_DEPENDS="emacs" 3.13 +SOURCE="lua-mode" 3.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 3.15 +WEB_SITE="http://lua-mode.luaforge.net" 3.16 +WGET_URL="http://luaforge.net/frs/download.php/2724/$TARBALL" 3.17 + 3.18 +# Rules to configure and make the package. 3.19 +compile_rules() 3.20 +{ 3.21 + echo -n "Byte-compilating lua-mode.el" 3.22 + emacs -batch -f batch-byte-compile $WOK/$PACKAGE/$SOURCE.el 2> /dev/null 3.23 + status 3.24 +} 3.25 + 3.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.27 +genpkg_rules() 3.28 +{ 3.29 + echo -n "Installing lua-mode" 3.30 + mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \ 3.31 + cp $WOK/$PACKAGE/*.elc $fs/usr/share/emacs/site-lisp/lua-mode 3.32 + status 3.33 + echo -n "Installing start file" 3.34 + mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ 3.35 + cp stuff/*.el $fs/usr/share/emacs/site-lisp/site-start.d 3.36 + status 3.37 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/emacs-pkg-lua-mode/stuff/lua-mode-start.el Fri Aug 21 21:49:57 2009 +0200 4.3 @@ -0,0 +1,16 @@ 4.4 +;; lua-mode start file for SliTaz 4.5 +;; 4.6 +;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009. 4.7 +;; 4.8 +;; To set up Emacs to automatically edit files ending in .lua using Lua-mode 4.9 + 4.10 +(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) 4.11 +(autoload 'lua-mode "lua-mode" "Lua editing mode." t) 4.12 + 4.13 +;; If you want colorization, turn on global-font-lock or add this: 4.14 + 4.15 +(add-hook 'lua-mode-hook 'turn-on-font-lock) 4.16 + 4.17 +;; If you want to use hideshow, turn on hs-minor-mode or add this: 4.18 + 4.19 +(add-hook 'lua-mode-hook 'hs-minor-mode)
5.1 --- a/emacs/description.txt Fri Aug 21 21:17:15 2009 +0200 5.2 +++ b/emacs/description.txt Fri Aug 21 21:49:57 2009 +0200 5.3 @@ -3,5 +3,3 @@ 5.4 the Lisp programming language with extensions to support text 5.5 editing and much more. 5.6 5.7 -Emacs has been stripped down for SliTaz: POP mail, x-window, 5.8 -games, sound, info, man pages, Lisp sources are not available.
6.1 --- a/emacs/receipt Fri Aug 21 21:17:15 2009 +0200 6.2 +++ b/emacs/receipt Fri Aug 21 21:49:57 2009 +0200 6.3 @@ -1,12 +1,15 @@ 6.4 # SliTaz package receipt. 6.5 6.6 +PACKED_SIZE="16.0M" 6.7 +UNPACKED_SIZE="57.6M" 6.8 PACKAGE="emacs" 6.9 -VERSION="22.3" 6.10 +VERSION="23.1" 6.11 CATEGORY="development" 6.12 SHORT_DESC="The GNU Emacs editor" 6.13 -MAINTAINER="domcox@users.sourceforge.net" 6.14 -DEPENDS="ncurses" 6.15 -BUILD_DEPENDS="ncurses-dev" 6.16 +MAINTAINER="domcox@slitaz.org" 6.17 +DEPENDS="atk cairo dbus expat freetype fontconfig giflib glib gtk+ jpeg libgio libpng libuuid ncurses pango tiff xorg-server zlib" 6.18 +BUILD_DEPENDS="atk-dev cairo-dev expat-dev dbus-dev freetype-dev fontconfig-dev giflib-dev glib-dev gtk+-dev jpeg-dev \ 6.19 + libgio-dev libpng-dev ncurses-dev pango-dev pkg-config tiff-dev xorg-dev xorg-dev-proto" 6.20 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.21 WEB_SITE="http://www.gnu.org/software/emacs/" 6.22 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 6.23 @@ -20,69 +23,130 @@ 6.24 sed -i 's/${GZIP_PROG} -9n/${GZIP_PROG}/g' leim/Makefile.in 6.25 # Configure 6.26 ./configure $CONFIGURE_ARGS \ 6.27 - --infodir=/usr/share/emacs/info \ 6.28 - --mandir=/usr/share/man \ 6.29 - --without-pop \ 6.30 - --without-sound \ 6.31 - --without-x \ 6.32 - --with-x-toolkit=no \ 6.33 - --libexecdir=/usr/lib \ 6.34 - --localstatedir=/var/lib \ 6.35 - --sharedstatedir=/var/lib \ 6.36 - --prefix=/usr && 6.37 - make && 6.38 + --infodir=/usr/share/emacs/info \ 6.39 + --mandir=/usr/share/man \ 6.40 + --without-makeinfo \ 6.41 + --with-sound \ 6.42 + --with-x \ 6.43 + --with-x-toolkit=gtk \ 6.44 + --with-toolkit-scroll-bars \ 6.45 + --with-xpm=yes \ 6.46 + --libexecdir=/usr/lib \ 6.47 + --localstatedir=/var/lib \ 6.48 + --sharedstatedir=/var/lib \ 6.49 + --prefix=/usr && \ 6.50 + make && \ 6.51 make DESTDIR=$PWD/_pkg install 6.52 } 6.53 6.54 # Rules to gen a SliTaz package suitable for Tazpkg. 6.55 genpkg_rules() 6.56 { 6.57 - echo "Copying files" 6.58 # Binary files 6.59 - mkdir -p $fs/usr 6.60 - cp -a $_pkg/usr/bin $fs/usr 6.61 - # emacs-22.2 = emacs 6.62 - rm -f $fs/usr/bin/emacs-22.2 6.63 + BIN_FILES="b2m ctags ebrowse emacs emacsclient etags grep-changelog rcs-checkin" 6.64 + echo -n "Copying emacs binary files" 6.65 + mkdir -p $fs/usr/bin && \ 6.66 + for file in $BIN_FILES; do 6.67 + cp -a $_pkg/usr/bin/$file $fs/usr/bin 6.68 + done 6.69 + status 6.70 + # Lib files 6.71 + echo -n "Copying emacs lib files" 6.72 + cp -a $_pkg/usr/lib $fs/usr 6.73 + status 6.74 + strip -s $fs/usr/lib/$PACKAGE/$VERSION/i486-pc-linux-gnu/* 2> /dev/null 6.75 + # lisp files 6.76 + LISP_DIR=" lisp lisp/calc lisp/calendar lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \ 6.77 + lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net lisp/nxml \ 6.78 + lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url" 6.79 + for dir in $LISP_DIR; do 6.80 + echo -n "Copying $dir files" 6.81 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \ 6.82 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc $fs/usr/share/$PACKAGE/$VERSION/$dir 6.83 + if [ `ls $_pkg/usr/share/$PACKAGE/$VERSION/$dir/ | grep -c \.el$` -gt 0 ]; then 6.84 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.el $fs/usr/share/$PACKAGE/$VERSION/$dir 6.85 + fi 6.86 + for file in COPYING README TODO; do 6.87 + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then 6.88 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir 6.89 + fi 6.90 + done 6.91 + status 6.92 + done 6.93 + # Use linux term only 6.94 + LINUX_TERM="README linux.el rxvt.elc tty-colors.elc vt100.elc xterm.elc" 6.95 + echo -n "Copying lisp/term files (linux only)" 6.96 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/lisp/term && \ 6.97 + for file in $LINUX_TERM; do 6.98 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/$file $fs/usr/share/$PACKAGE/$VERSION/lisp/term 6.99 + done 6.100 + status 6.101 + # leim files 6.102 + echo -n "Copying leim files" 6.103 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/leim && \ 6.104 + cp $_pkg/usr/share/$PACKAGE/$VERSION/leim/*.el $fs/usr/share/$PACKAGE/$VERSION/leim 6.105 + status 6.106 + LEIM_FILES="leim/ja-dic leim/quail" 6.107 + for dir in $LEIM_FILES; do 6.108 + echo -n "Copying $dir files" 6.109 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \ 6.110 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc $fs/usr/share/$PACKAGE/$VERSION/$dir && \ 6.111 + for file in COPYING README TODO; do 6.112 + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then 6.113 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir 6.114 + fi 6.115 + done 6.116 + status 6.117 + done 6.118 # Conf files 6.119 - mkdir -p $fs/usr/share/$PACKAGE/$VERSION 6.120 - mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc 6.121 - mkdir -p $fs/usr/share/$PACKAGE/info 6.122 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL $fs/usr/share/$PACKAGE/$VERSION/etc 6.123 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL.de $fs/usr/share/$PACKAGE/$VERSION/etc 6.124 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL.es $fs/usr/share/$PACKAGE/$VERSION/etc 6.125 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL.fr $fs/usr/share/$PACKAGE/$VERSION/etc 6.126 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/ORDERS $fs/usr/share/$PACKAGE/$VERSION/etc 6.127 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/COPYING $fs/usr/share/$PACKAGE/$VERSION/etc 6.128 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/DISTRIB $fs/usr/share/$PACKAGE/$VERSION/etc 6.129 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/DOC-* $fs/usr/share/$PACKAGE/$VERSION/etc 6.130 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp $fs/usr/share/$PACKAGE/$VERSION 6.131 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/leim $fs/usr/share/$PACKAGE/$VERSION 6.132 - cp -a $_pkg/usr/share/$PACKAGE/site-lisp $fs/usr/share/$PACKAGE 6.133 - cp -a $_pkg/usr/share/$PACKAGE/info/em* $fs/usr/share/$PACKAGE/info 6.134 - cp -a $_pkg/usr/share/$PACKAGE/info/info $fs/usr/share/$PACKAGE/info 6.135 - cp -a $_pkg/usr/lib $fs/usr 6.136 - # Delete Lisp sources 6.137 - find $fs/usr/share -name *el.gz > lisp-sources 6.138 - cat lisp-sources | while read filename 6.139 - do 6.140 - rm $filename 6.141 + echo -n "Copying conf files" 6.142 + CONF_FILES="ETAGS.README charsets e emacs2.py emacs3.py emacs-buffer.gdb emacs.py forms-d2.dat \ 6.143 + gnus nxml schema enriched.doc ms-kermit ps-prin0.ps ps-prin1.ps ses-example.ses \ 6.144 + spook.lines yow.lines" 6.145 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc && \ 6.146 + for file in $CONF_FILES; do 6.147 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file $fs/usr/share/$PACKAGE/$VERSION/etc 6.148 done 6.149 - # Delete Games 6.150 - rm -rf $fs/usr/share/$PACKAGE/$VERSION/lisp/play 6.151 - # Use linux term only 6.152 - rm -rf $fs/usr/share/$PACKAGE/$VERSION/lisp/term/* 6.153 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/linux.el $fs/usr/share/$PACKAGE/$VERSION/lisp/term 6.154 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/rxvt.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term 6.155 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/tty-colors.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term 6.156 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/vt100.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term 6.157 - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/xterm.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term 6.158 - # Strip executable files 6.159 - strip -s $fs/usr/bin/* > /dev/null 6.160 - strip -s $fs/usr/lib/$PACKAGE/$VERSION/i486-pc-linux-gnu/* > /dev/null 6.161 + status 6.162 + # Pixmaps files 6.163 + XPM_DIR=" images images/custom images/ezimage images/gnus images/gud images/mail images/smilies \ 6.164 + images/smilies/grayscale images/smilies/medium images/tree-widget/default images/tree-widget/folder" 6.165 + for dir in $XPM_DIR; do 6.166 + echo -n "Copying $dir files" 6.167 + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ 6.168 + cp $_pkg/usr/share/$PACKAGE/$VERSION/etc/$dir/*.xpm $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ 6.169 + for file in COPYING README TODO; do 6.170 + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then 6.171 + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir 6.172 + fi 6.173 + done 6.174 + status 6.175 + done 6.176 + # Licence 6.177 + GNU_FILES="AUTHORS BABYL CENSORSHIP COPYING DISTRIB FTP GNU ORDERS SERVICE copying.paper" 6.178 + echo -n "Copying License files" 6.179 + for file in $GNU_FILES; do 6.180 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file $fs/usr/share/$PACKAGE/$VERSION/etc 6.181 + done 6.182 + status 6.183 # Install specific site file 6.184 - cp -a stuff/default.el $fs/usr/share/$PACKAGE/site-lisp 6.185 - # Add lua support 6.186 - cp stuff/lua-mode.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/progmodes 6.187 + echo -n "Installing specific SliTaz file" 6.188 + mkdir -p $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ 6.189 + cp -a $_pkg/usr/share/$PACKAGE/site-lisp $fs/usr/share/$PACKAGE && \ 6.190 + cp -a stuff/slitaz.el $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ 6.191 + status 6.192 + # Install desktop files for emacs 6.193 + echo -n "Installing emacs menu" 6.194 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications && \ 6.195 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/emacs.desktop $fs/usr/share/applications/ && \ 6.196 + cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/emacs.png $fs/usr/share/pixmaps 6.197 + status 6.198 + # Add a desktop file for emacs client 6.199 + echo -n "Installing emacsclient menu" 6.200 + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/emacs.desktop $fs/usr/share/applications/emacsclient.desktop && \ 6.201 + sed -i 's/Exec.*/Exec=xterm -e emacsclient --alternate-editor="" %F/' $fs/usr/share/applications/emacsclient.desktop && \ 6.202 + sed -i 's/Name=.*/Name=Emacsclient/' $fs/usr/share/applications/emacsclient.desktop 6.203 + status 6.204 # Directory workaround 6.205 cd $fs/usr/share/$PACKAGE/$VERSION 6.206 ln -s ../site-lisp site-lisp 6.207 @@ -90,6 +154,6 @@ 6.208 6.209 post_remove() 6.210 { 6.211 - rm -rf /usr/share/$PACKAGE 6.212 - rm -rf /usr/lib/$PACKAGE 6.213 + rm -rf /usr/share/emacs 6.214 + rm -rf /usr/lib/emacs 6.215 }
7.1 --- a/emacs/stuff/default.el Fri Aug 21 21:17:15 2009 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,65 +0,0 @@ 7.4 -;; SilTaz Emacs site file 7.5 -;; 7.6 -;; Last update: 2008-06-28 7.7 -;; 7.8 -;; SliTaz receipt files 7.9 -;; Force emacs in shell-script-mode 7.10 -(setq auto-mode-alist (cons '("receipt" . shell-script-mode) auto-mode-alist)) 7.11 - 7.12 -;; LUA programming Language 7.13 -;; add major-mode for editing Lua scripts 7.14 -(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) 7.15 - (autoload 'lua-mode "lua-mode" "Lua editing mode." t) 7.16 - 7.17 - 7.18 -;; Force emacs to use tabs 7.19 -;; From Scott Hurring's HOWTO 7.20 -;; Turn on tabs 7.21 -(setq indent-tabs-mode t) 7.22 -(setq-default indent-tabs-mode t) 7.23 - 7.24 -;; Bind the TAB key 7.25 -(global-set-key (kbd "TAB") 'self-insert-command) 7.26 - 7.27 -;; Set the tab width 7.28 -(setq default-tab-width 4) 7.29 -(setq tab-width 4) 7.30 -(setq c-basic-indent 4) 7.31 - 7.32 - 7.33 -;; Following lines has been grabbed from dot emacs file for Maemo (nokia tablets): 7.34 -;; christof sietchtabr at gmail 7.35 -;; 7.36 -;; the dired, list-directory, and gzip fixes all come from the 7.37 -;; packager of the emacs deb and responses from other maemo community members 7.38 -;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml 7.39 -;; 7.40 -;; make dired work 7.41 -;; --dired option is not supported on busybox ls command 7.42 -(setq dired-use-ls-dired nil) 7.43 - 7.44 -;; make list-directory work 7.45 -;; -F not supported by busybox ls command 7.46 -(setq list-directory-brief-switches "-C") 7.47 - 7.48 - 7.49 -;; we *REALLY* don't want to spew file backups all over the fs. 7.50 -;; code to place all backups in one location 7.51 -(when (not (file-directory-p "~/.backup")) 7.52 - (make-directory "~/.backup")) 7.53 -(if (file-directory-p "~/.backup") 7.54 - (setq backup-directory-alist '(("." . "~/.backup")))) 7.55 - 7.56 -;; custom variable setting to make info work using busybox gzip 7.57 - 7.58 -(custom-set-variables 7.59 - ;; custom-set-variables was added by Custom. 7.60 - ;; If you edit it by hand, you could mess it up, so be careful. 7.61 - ;; Your init file should contain only one such instance. 7.62 - ;; If there is more than one, they won't work right. 7.63 - '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "compress" ("-c") "u\ 7.64 -ncompressing" "uncompress" ("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" "bzip2" nil "b\ 7.65 -unzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" "bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil\ 7.66 - "BZh"] ["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-q" "-d") t nil "^_\x8b"] ["\\.\ 7.67 -g?z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t "^_\x8b"] ["\\ 7.68 -\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil t "^_\x8b"]))))
8.1 --- a/emacs/stuff/emacs.desktop Fri Aug 21 21:17:15 2009 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,11 +0,0 @@ 8.4 -[Desktop Entry] 8.5 -Type=Application 8.6 -Encoding=UTF-8 8.7 -Name=Emacs (Text mode) 8.8 -Name[fr]=Emacs (Mode texte) 8.9 -Exec=xterm -e emacs %F 8.10 -Icon=emacs.png 8.11 -Terminal=true 8.12 -Categories=Development; 8.13 -MimeType=text/plain;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java;text/x-dsrc;text/x-pascal;text/x-perl;text/x-python;application/x-php;application/x-httpd-php*;application/xml;text/html;text/css;text/x-sql;text/x-diff; 8.14 -StartupNotify=true
9.1 Binary file emacs/stuff/emacs.png has changed
10.1 Binary file emacs/stuff/lua-mode.elc has changed
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/emacs/stuff/slitaz.el Fri Aug 21 21:49:57 2009 +0200 11.3 @@ -0,0 +1,59 @@ 11.4 +;; SilTaz Emacs site file 11.5 +;; 11.6 +;; Last update: 2009-08-15 11.7 +;; 11.8 +;; Add support for SliTaz receipt files 11.9 +;; force emacs in shell-script-mode 11.10 +(setq auto-mode-alist (cons '("receipt" . shell-script-mode) auto-mode-alist)) 11.11 + 11.12 +;; Force emacs to use tabs 11.13 +;; from Scott Hurring's HOWTO 11.14 +;; turn on tabs 11.15 +(setq indent-tabs-mode t) 11.16 +(setq-default indent-tabs-mode t) 11.17 + 11.18 +;; bind the TAB key 11.19 +(global-set-key (kbd "TAB") 'self-insert-command) 11.20 + 11.21 +;; set the tab width 11.22 +(setq default-tab-width 4) 11.23 +(setq tab-width 4) 11.24 +(setq c-basic-indent 4) 11.25 + 11.26 + 11.27 +;; Following lines has been grabbed from dot emacs file for Maemo (nokia tablets): 11.28 +;; christof sietchtabr at gmail 11.29 +;; 11.30 +;; the dired, list-directory, and gzip fixes all come from the 11.31 +;; packager of the emacs deb and responses from other maemo community members 11.32 +;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml 11.33 +;; 11.34 +;; make dired work 11.35 +;; --dired option is not supported on busybox ls command 11.36 +(setq dired-use-ls-dired nil) 11.37 + 11.38 +;; make list-directory work 11.39 +;; -F not supported by busybox ls command 11.40 +(setq list-directory-brief-switches "-C") 11.41 + 11.42 + 11.43 +;; we *REALLY* don't want to spew file backups all over the fs. 11.44 +;; code to place all backups in one location 11.45 +(when (not (file-directory-p "~/.backup")) 11.46 + (make-directory "~/.backup")) 11.47 +(if (file-directory-p "~/.backup") 11.48 + (setq backup-directory-alist '(("." . "~/.backup")))) 11.49 + 11.50 +;; custom variable setting to make info work using busybox gzip 11.51 + 11.52 +(custom-set-variables 11.53 + ;; custom-set-variables was added by Custom. 11.54 + ;; If you edit it by hand, you could mess it up, so be careful. 11.55 + ;; Your init file should contain only one such instance. 11.56 + ;; If there is more than one, they won't work right. 11.57 + '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "compress" ("-c") "u\ 11.58 +ncompressing" "uncompress" ("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" "bzip2" nil "b\ 11.59 +unzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" "bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil\ 11.60 + "BZh"] ["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-q" "-d") t nil "^_\x8b"] ["\\.\ 11.61 +g?z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t "^_\x8b"] ["\\ 11.62 +\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil t "^_\x8b"]))))