[PATCH] generic-build-script
* generic-build-script (install): Do not invoke gzip with no arguments, and consequently die with will not write compressed data to a terminal if a package creates usr/share/man or usr/share/info, but does not install any man/info pages under it. Index: generic-build-script === RCS file: /home/mirror/cvsmirror/cygwin-apps-cvs/packaging/templates/generic-build-scr ipt,v retrieving revision 1.22 diff -u -p -r1.22 generic-build-script --- generic-build-script 31 Mar 2004 00:56:17 - 1.22 +++ generic-build-script 8 Jun 2004 12:16:18 - @@ -180,12 +180,13 @@ install() { fi ;\ done \ if [ -d ${instdir}${prefix}/share/info ] ; then \ -find ${instdir}${prefix}/share/info -name *.info | xargs gzip -q ; \ +find ${instdir}${prefix}/share/info -name *.info | \ + xargs --no-run-if-empty gzip -q ; \ fi \ if [ -d ${instdir}${prefix}/share/man ] ; then \ find ${instdir}${prefix}/share/man -name *.1 -o -name *.3 -o \ -name *.3x -o -name *.3pm -o -name *.5 -o -name *.6 -o \ - -name *.7 -o -name *.8 | xargs gzip -q ; \ + -name *.7 -o -name *.8 | xargs --no-run-if-empty gzip -q ; \ fi \ templist= \ for f in ${install_docs} ; do \
Re: [PATCH] generic-build-script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Bowsher wrote: | * generic-build-script (install): Do not invoke gzip with no arguments, and | consequently die with will not write compressed data to a terminal | if a package creates usr/share/man or usr/share/info, but does not | install any man/info pages under it. Actually, I still have a submitted patch pending, from 19 May, which already includes this. Which remindes me, Igor, are you still working on the g-b-s? Whatever happened with that thread? Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAxc9+piWmPGlmQSMRAmSKAKDJjUUGaxnfEHFVPa3d0z10nF+LCwCgtASv FKRH1zwrVA9H0Y7tEovfQnY= =mvVy -END PGP SIGNATURE-
[ITP] libwmf-0.2.8.3-1
Hello, I want to contribute/maintain libwmf, the library for reading vector images Windøws Metafile Format (WMF). This is another ImageMagick support library. setup.hint: === category: Libs Graphics requires: cygwin expat libfreetype26 libiconv2 libintl2 libjpeg62 libpng12 xorg-x11-bin-dlls zlib sdesc: library for reading vector images Windøws Metafile Format (WMF) ldesc: libwmf is a library for reading vector images in Microsøft's native Windøws Metafile Format (WMF) and for either (a) displaying them in, e.g., an X window; or (b) converting them to more standard/open file formats such as, e.g., the W3C's XML-based Scaleable Vector Graphic (SVG) format. Currently bindings exist for conversion to: - the following vector image formats: ( Encapsulated) PostScript (EPS PS) Facility for Interactive Generation of graphics (FIG) Scaleable Vector Graphic (SVG) - the following raster image formats: Portable Network Graphics (PNG) Joint Photographic Experts Group (JPEG) Question about direcory layout: === There are some fonts included, I need to specify --with-fontdir= and '--with-sysfontmap=FILE default is /usr/share/fonts/fontmap' for configure. Is there a common sysfontmapfile already somewhere included or should we define one, e.g /usr/share/fonts/fontmap (if ITP is accepted)? Download for Test Review: === http://anfaenger.de/cygwin/libwmf/libwmf-0.2.8.3-1-src.tar.bz2 http://anfaenger.de/cygwin/libwmf/libwmf-0.2.8.3-1.tar.bz2 http://anfaenger.de/cygwin/libwmf/setup.hint Please vote! Gerrit -- =^..^=
[PATCH] generic build script
Hello Igor, found it useful (I want to build LibJasper which is only available as zipped archive): --- gbs~2004-06-08 16:56:20.215388800 +0200 +++ gbs 2004-06-08 16:42:53.791884800 +0200 @@ -53,6 +53,9 @@ elif [ -e ${BASEPKG}.tar ] ; then export opt_decomp= export src_orig_pkg_name=${BASEPKG}.tar +elif [ -e ${BASEPKG}.zip ] ; then + export opt_decomp=zip + export src_orig_pkg_name=${BASEPKG}.zip else echo Cannot find original package. exit 1 @@ -116,7 +119,11 @@ # change this if the original package was not tarred # or if it doesn't unpack to a correct directory unpack() { - tar xv${opt_decomp}f $1 + if [ x$opt_decomp = xzip ] ; then \ +unzip $1 ; \ + else \ +tar xv${opt_decomp}f $1 ; \ + fi } mkdirs() { Gerrit -- =^..^=
Re: [PATCH] generic-build-script
On Tue, 1 Jun 2004, Yaakov Selkowitz wrote: Yaakov Selkowitz wrote: | If so, let me propose the attached patch instead. Ping?? Pong. Sorry for the delay. I just reviewed the whole thread, and couldn't find the corresponding ChangeLog, either yours or Gerritt's. I also couldn't find a consensus that the patch will do what it's supposed to. Frankly, I still don't see why you'd need anything more general than '-name *.info*', but I'm willing to accept it if nobody else objects. On Tue, 8 Jun 2004, Yaakov Selkowitz wrote: Max Bowsher wrote: | * generic-build-script (install): Do not invoke gzip with no arguments, and | consequently die with will not write compressed data to a terminal | if a package creates usr/share/man or usr/share/info, but does not | install any man/info pages under it. Actually, I still have a submitted patch pending, from 19 May, which already includes this. Which remindes me, Igor, are you still working on the g-b-s? Whatever happened with that thread? Yaakov Yaakov's patch subsumes Max's. Once I have the ChangeLog, I'll commit it. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
Re: [PATCH] generic build script
On Tue, 8 Jun 2004, Gerrit P. Haase wrote: Hello Igor, found it useful (I want to build LibJasper which is only available as zipped archive): --- gbs~2004-06-08 16:56:20.215388800 +0200 +++ gbs 2004-06-08 16:42:53.791884800 +0200 @@ -53,6 +53,9 @@ elif [ -e ${BASEPKG}.tar ] ; then export opt_decomp= export src_orig_pkg_name=${BASEPKG}.tar +elif [ -e ${BASEPKG}.zip ] ; then + export opt_decomp=zip + export src_orig_pkg_name=${BASEPKG}.zip else echo Cannot find original package. exit 1 @@ -116,7 +119,11 @@ # change this if the original package was not tarred # or if it doesn't unpack to a correct directory unpack() { - tar xv${opt_decomp}f $1 + if [ x$opt_decomp = xzip ] ; then \ +unzip $1 ; \ + else \ +tar xv${opt_decomp}f $1 ; \ + fi } mkdirs() { Gerrit Gerrit, As one of the packages I maintain is only available as a compressed shar archive, I have already included a method into the GBS for easily dealing with this. Simply edit the line to set src_orig_pkg_name to LibJasper.zip, and then edit the definition of unpack() to invoke unzip instead of tar. This kind of change is easy to maintain as a local patch, which should apply with a minimum of fuzz in the future versions of GBS. I'm a bit reluctant at this point to include any changes that are only needed for one package... Maybe later we could look at restructuring the unpack() function and augmenting the archive type detection code. Igor P.S. BTW, your patch won't apply as-is, since the file is named generic-build-script, and not gbs. It also lacks a ChangeLog. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
RE: [ITP] libwmf-0.2.8.3-1
I want to contribute/maintain libwmf, the library for reading vector images Windøws Metafile Format (WMF). I'd like to see this. I have been using the command line utils from libwmf for a while.
Please include unsubscribe information in announcement email
I hesitate to enforce a standard template for all announcements but I really would like to see people start including unsubscribe instructions in their announcement email. Please do me a favor and include unsubscribe instructions in your announcement email. Please just copy the few lines that I put in my last cygwin DLL release announcement. cgf
[ITP] subversion
On the Subversion dev list: Dave Slusher wrote: On Wed, Jun 02, 2004 at 10:03:34AM +0100, Max Bowsher wrote: Dave Slusher's initial package was statically linked to many of subversion's dependencies, bloating the package greatly. I pointed out that shared libraries were much nicer, and packaged neon, apr, and apr-util myself. My neon package is now accepted into cygwin, and my apr/apr-util packages are waiting for a review. I haven't heard anything from Dave, though, about whether and/or when he will be trying again. I've been waiting for Max's stuff to wend its way through the cygwin process before trying again. I'll go for it when the apr stuff is accepted. I'll need some help with that, as I don't know how to do most of the things Max wanted done. Alternately, if someone who is better qualified and understands cygwin more than I do would rather take it over, that wouldn't hurt my feelings in the slightest. I was trying to be altruistic, but considering it took me no more than 10 minutes to build my personal copy of cygwin svn from source and at least 10 hours to prepare the cygwin package ready that Max rejected out of hand, my altruistic feelings are waning. Accordingly, I hereby ITP subversion: Setup URL: http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/ Individual files: http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/setup.hint http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-1.0.4-1-src.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-1.0.4-1.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-devel/setup.hint http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/subversion/subversion-devel/subversion-devel-1.0.4-1.tar.bz2 # subversion sdesc: A version control system ldesc: Subversion is a version control system that aims to be a compelling replacement for CVS in the open source community category: Devel requires: cygwin libaprutil0 libapr0 libdb4.2 libneon24 expat # subversion-devel sdesc: A version control system (C headers and import libraries) ldesc: Subversion is a version control system that aims to be a compelling replacement for CVS in the open source community category: Devel requires: subversion external-source: subversion Max.