On Sunday 22 June 2008, Thomas Knott wrote: > Am Sonntag, 15. Juni 2008 19:32:50 schrieb George Danchev: > > Hi, > > Hi! Thanks for your suggestions.
Hi, > > > I am looking for a sponsor for my package "gtkwhiteboard". It was > > > uploaded before by José "L. Redrejo" RodrÃguez > > > <[EMAIL PROTECTED]> but got rejected because the > > > upstream source contains a win32-dll without source. I stripped the dll > > > now, added a README.debian-source and a (probably bad) > > > get-orig-source.sh to create the dfsg-tarball from the upstream > > > zip-file. > > > > Providing a watch file would be nice, as well as a machine-interpretable > > debian/copyright: see http://wiki.debian.org/Proposals/CopyrightFormat > > Added a watch file and changed the copyright file to the new format. Sure, these look good to me. > > Just a minor note about your rules:get-orig-source you might find useful. > > No need to call chmod on get-orig-source.sh to make it executable and > > then worry to chmod it back to a non-executable in your clean target > > (which you actually forgot to;-). Just a call like "sh > > get-orig-source.sh" would do the job. Also, you might want to delete the > > zip file within debian/ and put the dfsg tarball outside debian/, e.g.: > > rm -f WiimoteLib.dll gtkwhiteboard-1.3.zip > > tar -czf ../gtkwhiteboard_1.3+dfsg.orig.tar.gz * --exclude=\.dll > > I tried to implement your suggestions. It seems to work but I am not good > at scripting stuff. there are some minor issues & typos ("baord" vs. "board"), but the following should work better (btw, I also hate scripting and love ada;-). #!/bin/bash set -e VER=1.3 # change that whenever a newer version occurs NAME=gtkwhiteboard UPSTREAM=$NAME-$VER DEBIANED=$NAME\_$VER LOCATION=http://fuelnatchos.webng.com/gtkwhiteboard #Create temporary directory mkdir ./$UPSTREAM && cd ./$UPSTREAM #Get upstream source wget $LOCATION/$UPSTREAM.zip unzip ./$UPSTREAM.zip #Remove downloaded zip, binary-only file and win32-icon rm -f $UPSTREAM.zip WiimoteLib.dll gtkwhiteboard.ico #Repack cd .. tar -czf $DEBIANED+dfsg.orig.tar.gz $UPSTREAM --exclude=\.dll #Move orig.tar.gz outside /debian mv $DEBIANED+dfsg.orig.tar.gz ../ #Clean up rm -rf ./$UPSTREAM -- pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu> fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

