Re: wxGTK2ud BuildRequires dependencies

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>, jm(at)poure(dot)com
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: wxGTK2ud BuildRequires dependencies
Date: 2003-11-17 20:55:17
Message-ID: 3FB935B5.6070800@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Adam H. Pendleton wrote:

> Jean-Michel POURE wrote:
>
>>A lot more. A least, expat-devel, pango-devel, zlib-devel, X11-foo-devel,
>>iconv-devel, etc... See the list below. Under SuSE and Mandrake, many of
>>these libraries have different naming schemes.
>>
>>
> I may be wrong on this one, but I don't think there's any need to list
> these dependencies in the BuildRequire line. For example, by adding
> gtk2-devel, we implicity add these packages:

Hi Adam, Jean-Michel,

I think Adam is right regarding dependencies, it's not usefull (and can
get you to mistake if packages change) to specify all these
dependencies. FYI Debian's dependencies I use are these (I cut debian
specific things)

Build-Depends: libgtk2.0-dev, gcc, g++, libjpeg62-dev, libpng-dev (>> 1.2.0) | libpng12-dev (>> 1.2.0) | libpng2-dev , libtiff3g-dev

Isn't there a way to specify expressions like "or" (the '|' in debian) in rpms specs files ?
That's what I used to solve the problem of package names changing from stable to testing and unstable.

> What do you mean by automatic binary dependencies? I thought that RPM
> dependencies were enforced by the "Requires:" line in the spec file.

concerning this I find that RPM is too "agressive" while looking for
dependencies. I'm not an RPM expert but when I do rpms packages I always
do a first shot as is (without specifying anything) and I look to the
result. Then I specify directly in the spec file not to look for
dependencies and hard code them by hand. The "magic" flag is :
AutoReqProv: no
(http://linux.tnc.edu.tw/techdoc/maximum-rpm/rpmbook/node310.html).

Regards,
Raphaël

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-11-17 23:23:29 Re: wxGTK2ud BuildRequires dependencies
Previous Message Jean-Michel POURE 2003-11-17 20:42:27 Re: wxGTK2ud BuildRequires dependencies