r693 - in /trunk/packages/vim-spellfiles: debian/rules
patches/af.patch patches/am.patch patches/main.patch patches/series
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Sun May 21 07:35:59 UTC 2006
Author: zack
Date: Sun May 21 07:35:54 2006
New Revision: 693
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=693
Log:
snapshot, better understanding of aap :-)
the way toward the creation of the debian sources has been discovered ...
Added:
trunk/packages/vim-spellfiles/patches/am.patch
trunk/packages/vim-spellfiles/patches/main.patch
trunk/packages/vim-spellfiles/patches/series
Modified:
trunk/packages/vim-spellfiles/debian/rules
trunk/packages/vim-spellfiles/patches/af.patch
Modified: trunk/packages/vim-spellfiles/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/debian/rules?rev=693&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/debian/rules (original)
+++ trunk/packages/vim-spellfiles/debian/rules Sun May 21 07:35:54 2006
@@ -18,8 +18,12 @@
init:
perl debian/mk-deb-control.pl < debian/control.in > debian/control
-# TODO missing target 'dictionaries-recipes'
-sources: sources-recipes
+extract: upstream/vim-runtime-spell.tar.gz
+ cd upstream && tar xvzf vim-runtime-spell.tar.gz
+ quilt push -a
+
+# TODO missing target 'sources-dictionaries'
+sources: sources-recipes sources-dictionaries
sources-recipes:
if [ -d upstream/spell-svn/.svn/ ]; then \
svn update upstream/spell-svn/; \
@@ -31,8 +35,16 @@
svn export upstream/spell-svn/ upstream/vim-runtime-spell/
cd upstream && \
tar cvzf vim-runtime-spell.tar.gz vim-runtime-spell/
+ rm -rf upstream/vim-runtime-spell/
-clean:
+sources-dictionaries:
+ cd upstream && tar cvzf dictionaries.tar.gz `aap show`
+
+clean-sources:
+ quilt pop -a
+ rm -rf upstream/vim-runtime-spell
+
+clean: clean-sources
dh_testdir
dh_testroot
rm -f build-indep-stamp
Modified: trunk/packages/vim-spellfiles/patches/af.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/af.patch?rev=693&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/patches/af.patch (original)
+++ trunk/packages/vim-spellfiles/patches/af.patch Sun May 21 07:35:54 2006
@@ -2,20 +2,17 @@
===================================================================
--- upstream/vim-runtime-spell/af/main.aap.orig
+++ upstream/vim-runtime-spell/af/main.aap
-@@ -25,7 +25,15 @@
+@@ -27,7 +27,12 @@
#
- # Fetching the file from SourceForge. The archive at OpenOffice is broken!
- #
--FILE = http://surfnet.dl.sourceforge.net/sourceforge/translate/myspell-af_ZA-20040727.zip
+ FILE = http://surfnet.dl.sourceforge.net/sourceforge/translate/myspell-af_ZA-20040727.zip
+
+-:attr {fetch = $FILE} af_ZA.zip
++:attr {fetch = file://af_ZA.zip} af_ZA.zip
+
-+# TODO ZACK: should not try download again if the file is there, still don't
-+# know how to do properly with aap ...
-+# TODO ZACK: files downloaded are saved in the cache in ~/.aap/ this is bad(TM)
+download:
-+ :attr {fetch = http://surfnet.dl.sourceforge.net/sourceforge/translate/myspell-af_ZA-20040727.zip} af_ZA.zip
-+ :fetch af_ZA.zip
-+
-+FILE = file://af_ZA.zip
++ :fetch {fetch = $FILE} af_ZA.zip
++ :touch {force} download
++_top.Dicts += $CHILDDIR/af_ZA.zip
- :attr {fetch = $FILE} af_ZA.zip
-
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/am.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/am.patch?rev=693&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/am.patch (added)
+++ trunk/packages/vim-spellfiles/patches/am.patch Sun May 21 07:35:54 2006
@@ -1,0 +1,32 @@
+Index: upstream/vim-runtime-spell/am/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/am/main.aap.orig
++++ upstream/vim-runtime-spell/am/main.aap
+@@ -22,7 +22,12 @@
+ #
+ HTTPDIR = http://hunspell.sourceforge.net
+ TARNAME = am-demo.tar.gz
+-:attr {fetch = $HTTPDIR/%file%} $TARNAME
++:attr {fetch = file://am-demo.tar.gz} am-demo.tar.gz
++
++download:
++ :fetch {fetch = $HTTPDIR/$TARNAME} $TARNAME
++ :touch {force} download
++_top.Dicts += $CHILDDIR/$TARNAME
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
+Index: upstream/main.aap
+===================================================================
+--- /dev/null
++++ upstream/main.aap
+@@ -0,0 +1,9 @@
++
++:child vim-runtime-spell/main.aap
++
++show:
++ @for f in string.split(_no.Dicts):
++ :print vim-runtime-spell/$f
++
++download: vim-runtime-spell/download
++
Added: trunk/packages/vim-spellfiles/patches/main.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/main.patch?rev=693&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/main.patch (added)
+++ trunk/packages/vim-spellfiles/patches/main.patch Sun May 21 07:35:54 2006
@@ -1,0 +1,28 @@
+Index: upstream/vim-runtime-spell/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/main.aap.orig
++++ upstream/vim-runtime-spell/main.aap
+@@ -7,7 +7,7 @@
+ # "hu" is at the end, because it takes a very long time.
+ LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku
+ la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
+- tet th tl tn uk yi zu hu
++ th tl tn uk yi zu hu
+
+ # TODO:
+ # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
+@@ -18,9 +18,8 @@
+ @for l in string.split(_no.LANG):
+ :child $l/main.aap
+
+-# The existing .spl files need to be generated when the spell file format
+-# changes. Depending on the Vim executable does that, but results in doing it
+-# much too often. Generate a dummy .spl file and let the .spl depend on it, so
+-# that they are outdated when it changes.
+-:child check/main.aap
+-*.spl: check/check.latin1.spl
++show:
++ :print $Dicts
++download: $*LANG/download
++ :print 'Download completed!'
++
Added: trunk/packages/vim-spellfiles/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/series?rev=693&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/series (added)
+++ trunk/packages/vim-spellfiles/patches/series Sun May 21 07:35:54 2006
@@ -1,0 +1,3 @@
+main.patch -p0
+af.patch -p0
+am.patch -p0
More information about the pkg-vim-maintainers
mailing list