public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* Obsolete Packages in "Requires" Lines
@ 2013-11-12 23:29 Buchbinder, Barry (NIH/NIAID) [E]
  2013-11-13 12:05 ` [HEADSUP] " Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2013-11-12 23:29 UTC (permalink / raw)
  To: cygwin-apps

Please excuse me if this is the wrong list for this topic.

Inspired by my experience with that EXCELLENT new package,
cygcheck-dep, I tried cleaning cruft in my installation of cygwin by
uninstalling packages in the _obsolete category.  Setup reported
that a number of them were required by other packages, including some
that weren't circularly dependent.

This suggested to me that perhaps there are packages whose "requires:"
lines need updating.  I put together a script to look for that.

Here is the script I used:

SETUP=path_to_setup.ini
gawk '  /^@ /         { pkg = $2 }
        / _obsolete/  { print "\t" pkg "$" }
     ' ${SETUP} | \
sort -u \
> ob.tmp
gawk '  /^@ /         { pkg = $2 }
        /^requires: / { for (N = 2; N <= NF; N++) { print pkg "\t" $N } }
     ' ${SETUP} | \
sort -u | \
grep -f ob.tmp
rm ob.tmp

Here's what I found:

For 64 bit setup.ini:

"CURRENT"_64bit_PKG   OBSOLETE_PKG
libpoco-devel         libexpat1-devel
libwmf-devel          libexpat1-devel

For 32 bit setup.ini:

"CURRENT"_32bit_PKG   OBSOLETE_PKG
catdoc                tcltk
clang                 gcc4-core
clang                 gcc4-g++
gnupg                 minires
grub-fonts            grub
guile                 libguile12
libAfterImage0        libpng12
libAfterImage-devel   libpng12-devel
libautotrace-devel    libexpat1-devel
libfltk1.1            libpng12
libfltk1.1-gdi        libpng12
libgeotiff            libjpeg62
libgeotiff1           libjpeg62
libgeotiff1           libproj0
libGraphicsMagick3    libpng14
libgs8                libjpeg62
libicu-devel          gcc4-core
libicu-devel          gcc4-g++
libImageMagick1       libpng12
libjasper1.701_0      libjpeg62
libMagickCore5        libpng14
libmetalink-devel     libexpat1-devel
libneon-devel         libexpat1-devel
libplot2              libpng12
libplot-devel         libpng12-devel
libplotter2           libpng12
libplotter-devel      libpng12-devel
libpng14-devel        libpng14
libpoco-devel         libexpat1-devel
libproj-devel         libproj0
libslang2             libpng14
libtiff4              libjpeg62
libungif-devel        libungif4
libWINGs-devel        libexpat1-devel
libwmf-devel          libexpat1-devel
libxerces-c-devel     curl-devel
libxerces-c-devel     gcc4-g++
logiweb               gcc4
octave-devel          gcc4-fortran
octave-devel          libexpat1-devel
opengl                w32api
ploticus              libjpeg62
ploticus              libpng12
proj                  libproj0
qiv                   libpng14
singular-surf         libjpeg62
sng                   libpng12
xemacs                libjpeg62
xemacs                libpng12
XFree86-lib-compat    xorg-x11-base
xorg-x11-devel        xorg-x11-base

Best wishes,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [HEADSUP] Re: Obsolete Packages in "Requires" Lines
  2013-11-12 23:29 Obsolete Packages in "Requires" Lines Buchbinder, Barry (NIH/NIAID) [E]
@ 2013-11-13 12:05 ` Corinna Vinschen
  2013-11-13 15:22   ` Dr. Volker Zell
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Corinna Vinschen @ 2013-11-13 12:05 UTC (permalink / raw)
  To: cygwin-apps; +Cc: Reini Urban, Charles Wilson, marco atzeri, Yue Ren

[-- Attachment #1: Type: text/plain, Size: 4312 bytes --]

Hi Barry,

On Nov 12 23:29, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Please excuse me if this is the wrong list for this topic.

no, it's fine.

> Inspired by my experience with that EXCELLENT new package,
> cygcheck-dep, I tried cleaning cruft in my installation of cygwin by
> uninstalling packages in the _obsolete category.  Setup reported
> that a number of them were required by other packages, including some
> that weren't circularly dependent.
> 
> This suggested to me that perhaps there are packages whose "requires:"
> lines need updating.  I put together a script to look for that.
> [...]
> Here's what I found:

Thanks for sharing.  It would be cool if the maintainers of the
below packages could have a look and update their setup.hint files.

I fixed some of them on sware, but they shouldn't creep back with the
next update, so it would be good to know that the maintainers took
notice.

> For 64 bit setup.ini:
> 
> "CURRENT"_64bit_PKG   OBSOLETE_PKG
> libpoco-devel         libexpat1-devel
> libwmf-devel          libexpat1-devel

  libexpat1-devel has been renamed to libexpat-devel.  Fixed on sware.

> 
> For 32 bit setup.ini:
> 
> "CURRENT"_32bit_PKG   OBSOLETE_PKG
> catdoc                tcltk

  Unnecessary dependency, it seems.  It can just go away as far
  as I can tell, but I'm not sure.  Reini?

> clang                 gcc4-core
> clang                 gcc4-g++
> libicu-devel          gcc4-core
> libicu-devel          gcc4-g++
> logiweb               gcc4
> octave-devel          gcc4-fortran

  s/4//  Fixed on sware.

> gnupg                 minires

  This is a bit surprising.  Minires has been folded into the Cygwin DLL
  with Cygwin 1.7 so this dependency is wrong, given that the available
  gnupg packages are from 2012.  Fixed on sware, but, Marco, would you
  mind to have a look why this still depends on minires?

> grub-fonts            grub
> libxerces-c-devel     curl-devel
> libxerces-c-devel     gcc4-g++
> opengl                w32api
> XFree86-lib-compat    xorg-x11-base
> xorg-x11-devel        xorg-x11-base

  Obsolete packages depending on obsolete packages.

> guile                 libguile12

  Both available guile versions only depend on libguile17.  Fixed on sware.

> libAfterImage0        libpng12
> libAfterImage-devel   libpng12-devel
> libfltk1.1            libpng12
> libfltk1.1-gdi        libpng12
> libgeotiff            libjpeg62
> libgeotiff1           libjpeg62
> libgeotiff1           libproj0
> libgs8                libjpeg62
> libjasper1.701_0      libjpeg62
> libplot2              libpng12
> libplot-devel         libpng12-devel
> libplotter2           libpng12
> libplotter-devel      libpng12-devel
> libslang2             libpng14
> libtiff4              libjpeg62
> ploticus              libjpeg62
> ploticus              libpng12
> qiv                   libpng14
> sng                   libpng12
> xemacs                libjpeg62
> xemacs                libpng12

  Older packages, dependencies ok.  Updates would be nice.

> libautotrace-devel    libexpat1-devel
> libmetalink-devel     libexpat1-devel
> libneon-devel         libexpat1-devel
> libpoco-devel         libexpat1-devel
> libWINGs-devel        libexpat1-devel
> libwmf-devel          libexpat1-devel
> octave-devel          libexpat1-devel

  libexpat1-devel has been renamed to libexpat-devel.  Fixed on sware.

> libGraphicsMagick3    libpng14
> libImageMagick1       libpng12
> libMagickCore5        libpng14

  Marco?  I'm fuzzy about the age and order of the libs...

> libpng14-devel        libpng14
> libungif-devel        libungif4

  False positives.

> libproj-devel         libproj0
> proj                  libproj0

  I think these dependencies are deliberate, to cover the older 4.5.0a-2
  version.  Chuck?  Shouldn't they go away in favor of libproj1 only?

> singular-surf         libjpeg62

  The latest singular-surf package is from 2013.  It actually depends on
  the old libjpeg62, but shouldn't.  libjpeg8 exists since 2010 or so.
  Yue?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HEADSUP] Re: Obsolete Packages in "Requires" Lines
  2013-11-13 12:05 ` [HEADSUP] " Corinna Vinschen
@ 2013-11-13 15:22   ` Dr. Volker Zell
  2013-11-13 20:58   ` Charles Wilson
  2013-11-16 21:14   ` marco atzeri
  2 siblings, 0 replies; 5+ messages in thread
From: Dr. Volker Zell @ 2013-11-13 15:22 UTC (permalink / raw)
  To: cygwin-apps

>>>>> Corinna Vinschen writes:

    >> For 64 bit setup.ini:
    >> 
    >> "CURRENT"_64bit_PKG   OBSOLETE_PKG
    >> libpoco-devel         libexpat1-devel
    >> libwmf-devel          libexpat1-devel

    >   libexpat1-devel has been renamed to libexpat-devel.  Fixed on sware.

Noticed for libwmf-devel

    >> libAfterImage0        libpng12
    >> libAfterImage-devel   libpng12-devel
    >> libfltk1.1            libpng12
    >> libfltk1.1-gdi        libpng12
    >> libgeotiff            libjpeg62
    >> libgeotiff1           libjpeg62
    >> libgeotiff1           libproj0
    >> libgs8                libjpeg62
    >> libjasper1.701_0      libjpeg62
    >> libplot2              libpng12
    >> libplot-devel         libpng12-devel
    >> libplotter2           libpng12
    >> libplotter-devel      libpng12-devel
    >> libslang2             libpng14
    >> libtiff4              libjpeg62
    >> ploticus              libjpeg62
    >> ploticus              libpng12
    >> qiv                   libpng14
    >> sng                   libpng12
    >> xemacs                libjpeg62
    >> xemacs                libpng12

>   Older packages, dependencies ok.  Updates would be nice.

Noticed for libgs8, libjasper1.701_0

xemacs is still in the queue ....

    >> libautotrace-devel    libexpat1-devel
    >> libmetalink-devel     libexpat1-devel
    >> libneon-devel         libexpat1-devel
    >> libpoco-devel         libexpat1-devel
    >> libWINGs-devel        libexpat1-devel
    >> libwmf-devel          libexpat1-devel
    >> octave-devel          libexpat1-devel

    >   libexpat1-devel has been renamed to libexpat-devel.  Fixed on sware.

Noticed for libautotrace-devel, libneon-devel, libwmf-devel

    > Thanks,
    > Corinna

Ciao
  Volker
  

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HEADSUP] Re: Obsolete Packages in "Requires" Lines
  2013-11-13 12:05 ` [HEADSUP] " Corinna Vinschen
  2013-11-13 15:22   ` Dr. Volker Zell
@ 2013-11-13 20:58   ` Charles Wilson
  2013-11-16 21:14   ` marco atzeri
  2 siblings, 0 replies; 5+ messages in thread
From: Charles Wilson @ 2013-11-13 20:58 UTC (permalink / raw)
  To: cygwin-apps, Reini Urban, marco atzeri, Yue Ren

On 11/13/2013 7:05 AM, Corinna Vinschen wrote:

>> libproj-devel         libproj0
>> proj                  libproj0
>
>    I think these dependencies are deliberate, to cover the older 4.5.0a-2
>    version.  Chuck?  Shouldn't they go away in favor of libproj1 only?

Yep. Fixed on sware (32bit only, as I haven't yet ported this to 64bit.)

--
Chuck


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HEADSUP] Re: Obsolete Packages in "Requires" Lines
  2013-11-13 12:05 ` [HEADSUP] " Corinna Vinschen
  2013-11-13 15:22   ` Dr. Volker Zell
  2013-11-13 20:58   ` Charles Wilson
@ 2013-11-16 21:14   ` marco atzeri
  2 siblings, 0 replies; 5+ messages in thread
From: marco atzeri @ 2013-11-16 21:14 UTC (permalink / raw)
  To: cygwin-apps, Yue Ren

Il 11/13/2013 1:05 PM, Corinna Vinschen ha scritto:
> Hi Barry,
>
> On Nov 12 23:29, Buchbinder, Barry (NIH/NIAID) [E] wrote:
>> Please excuse me if this is the wrong list for this topic.
>
> no, it's fine.
>

>
>> gnupg                 minires
>
>    This is a bit surprising.  Minires has been folded into the Cygwin DLL
>    with Cygwin 1.7 so this dependency is wrong, given that the available
>    gnupg packages are from 2012.  Fixed on sware, but, Marco, would you
>    mind to have a look why this still depends on minires?
>

it was on REQUIRES so it overloaded detection.
Removed on gnupg-1.4.15-1 just uploaded

>> libGraphicsMagick3    libpng14
>> libImageMagick1       libpng12
>> libMagickCore5        libpng14
>
>    Marco?  I'm fuzzy about the age and order of the libs...

libImageMagick1 is obsolete from
   old ImageMagick-6.4.0.6-2-src.tar.bz2

nothing current seems depend anymore from it


libMagickCore5 is from
  current  ImageMagick-6.7.6.3-3 and
  prev     ImageMagick-6.7.6.3-2

libGraphicsMagick3 is from GraphicsMagick-1.3.18-1


> Thanks,
> Corinna
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-16 21:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-12 23:29 Obsolete Packages in "Requires" Lines Buchbinder, Barry (NIH/NIAID) [E]
2013-11-13 12:05 ` [HEADSUP] " Corinna Vinschen
2013-11-13 15:22   ` Dr. Volker Zell
2013-11-13 20:58   ` Charles Wilson
2013-11-16 21:14   ` marco atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).