Re: [AD] Volunteer to help make release |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sat, 2006-05-06 at 10:24 +0200, Evert Glebbeek wrote:
> > Well, I started new. Maybe we should add a new policy that changes._tx
> > and thanks._tx is to be updated with each commit? I think I've seen that
> > in other projects, and it seems to make a lot of sense :)
>
> Yes, it does. It should still be checked before each new release, but the
> update would be smaller.
>
> > If anyone has done something and it was overlooked, please do tell so.
>
> I'll go through my local list of patches this afternoon (was anything new
> commited dor the Windows unicode filename support?), then zip her up.
> By the way, the release scripts haven't been updated, have they? Most of
> the changes are trivial, but I'd appreciate a suggestion on how to tackle
> `make sure top level directory is called allegro', because that one is a
> bit annoying. I can work around it easily manually, of course.
Find attached a patch to update fix.sh and misc/zipup.sh to fix both:
.svn directories (in fact, all directories starting with a .) are now
ignored when doing line ending conversion and generating the archive.
The directory name is irrelevant now, because the .zip is created in a
subdirectory called ".dist" instead of the parent directory. This means,
also the old zip file for the diff needs to be moved into the ".dist"
folder. Oh, and I would be fine with dropping the whole .diff idea,
Allegro just is not big enough to warrant the hassle with it.
--
Elias Pschernig
Index: fix.sh
===================================================================
--- fix.sh (revision 5789)
+++ fix.sh (working copy)
@@ -37,7 +37,7 @@
proc_filelist()
{
# common files.
- AL_FILELIST=`find . -type f "(" \
+ AL_FILELIST=`find . -type f ! -wholename "*/.*" "(" \
-name "*.c" -o -name "*.cfg" -o -name "*.cpp" -o -name "*.def" -o \
-name "*.h" -o -name "*.hin" -o -name "*.in" -o -name "*.inc" -o \
-name "*.m" -o -name "*.m4" -o -name "*.mft" -o -name "*.s" -o \
Index: misc/zipup.sh
===================================================================
--- misc/zipup.sh (revision 5789)
+++ misc/zipup.sh (working copy)
@@ -177,7 +177,6 @@
# convert files to djgpp format for distribution
./fix.sh djgpp --utod
-
# recursive helper to fill any empty directories with a tmpfile.txt
scan_for_empties()
{
@@ -202,12 +201,19 @@
# build the main zip archive
echo "Creating $name.zip..."
-cd ..
-if [ -f $name.zip ]; then rm $name.zip; fi
-rm -rf allegro/autom4te*
-find allegro -iname "CVS" -prune -o -iname ".*" -prune -o -iname "*.rej" -prune -o -iname "*.orig" -prune -o -print | zip -9 $name.zip -@
+if [ -f .dist/$name.zip ]; then rm .dist/$name.zip; fi
+rm -rf ./autom4te*
+ZIP_FILES=`find . -type f "(" -wholename "*/.*" -prune -o -iname "*.rej" \
+ -prune -o -iname "*.orig" -prune -o -print ")"`
+mkdir .dist/allegro
+cp -a -t .dist/allegro --parents $ZIP_FILES
+# from now on, the scripts runs inside .dist
+cd .dist
+zip-9 -r $name.zip allegro
+
+
# generate the manifest file
echo "Generating allegro.mft..."
unzip -Z1 $name.zip | sort > allegro/allegro.mft