Re: rev 10183 - branches/kde4/cdbs

2008-04-27 Thread Sune Vuorela
On Monday 28 April 2008, Matthew Rosewarne wrote:
> On Saturday 19 April 2008, Peter Eisentraut wrote:
> > cdbs already has something like this, which was outlawed by the
> > ftpmasters. Automatically altering debian/control during the package
> > build process is evidently not allowed.
>
> However, they did leave the functionality for doing it in.  Instead of
> running our rule like this, perhaps we could just have it use the env var
> DEB_AUTO_UPDATE_DEBIAN_CONTROL, like it says in the CDBS docs.

AFAIK, it is doing much more magic to the control file than what I'm planning 
to do.

/Sune
-- 
Genius, I'm not able to get access on the MIDI FPU, how does it work?

First you must open the processor in order to save on the coaxial SMTP kernel.


signature.asc
Description: This is a digitally signed message part.
-- 
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-talk

Re: rev 10183 - branches/kde4/cdbs

2008-04-27 Thread Matthew Rosewarne
On Saturday 19 April 2008, Peter Eisentraut wrote:
> cdbs already has something like this, which was outlawed by the ftpmasters.
> Automatically altering debian/control during the package build process is
> evidently not allowed.

However, they did leave the functionality for doing it in.  Instead of running 
our rule like this, perhaps we could just have it use the env var 
DEB_AUTO_UPDATE_DEBIAN_CONTROL, like it says in the CDBS docs.


signature.asc
Description: This is a digitally signed message part.
-- 
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-talk

Re: rev 10183 - branches/kde4/cdbs

2008-04-19 Thread Peter Eisentraut
Sune Vuorela wrote:
> If we decide to use this on all packages, we could hook it in as a part of
> the clean target ...

cdbs already has something like this, which was outlawed by the ftpmasters.  
Automatically altering debian/control during the package build process is 
evidently not allowed.

-- 
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-talk


Re: rev 10183 - branches/kde4/cdbs

2008-04-19 Thread Sune Vuorela
On Saturday 19 April 2008, Sune Vuorela wrote:

> after that, run make -f debian/cdbs/control.mk update-versions  and look at
> the new debian/control - and see if it is as expected.

wrong. run make -f debian/cdbs/control.mk debian/control  

/Sune
-- 
How can I do for digiting from the cable?

You cannot rename the mail to send a cache on the firewall.

-- 
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-talk


Re: rev 10183 - branches/kde4/cdbs

2008-04-19 Thread Sune Vuorela
On Saturday 19 April 2008, Sune Vuorela wrote:
> Author: pusling-guest
> Date: 2008-04-19 11:05:41 + (Sat, 19 Apr 2008)
> New Revision: 10183
>
> Added:
>branches/kde4/cdbs/control.mk
>branches/kde4/cdbs/versions.mk
> Log:
> new fancy central controlling of version numbering ..

I thought of this for a long time and gave the first stab to it now..

It is meant to be a way to easy update the versions required of several core 
packages in kde4 packaging - especially build depends.

How to use it?

First time is a bit hard. control needs to be copied to control.in  -  and 
versions to be controlled by this needs to be changed.

Like this:
-Build-Depends: cdbs (>= 0.4.51), debhelper (>= 6), quilt, cmake,
- kdepimlibs5-dev (>= 4:4.0.68), libphonon-dev (>= 4:4.0.68),
+Build-Depends: cdbs (>= CDBS_MIN_VER), debhelper (>= 6), quilt ( >= 
QUILT_MIN_VER), cmake(>= CMAKE_MIN_VER),
+ kdepimlibs5-dev (>= KDEPIMLIBS_UPSTREAM_VERSION), libphonon-dev (>= 
KDELIBS_UPSTREAM_VERSION),

after that, run make -f debian/cdbs/control.mk update-versions  and look at 
the new debian/control - and see if it is as expected.

Each time a update of a version is required, just change the values in 
cdbs/versions.mk  (and we might also want to make more of them fixed in the 
future)

If we decide to use this on all packages, we could hook it in as a part of the 
clean target ...

And some more robustness might also be required.

Comments welcome.

/Sune
-- 
How may I load a RAM IDE proxy?

You should never save the AGP case to boot with the URL on the modem to a pin 
to a mousepad of a 9-bit connection of a desktop over the space bar.

-- 
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-talk