<div dir="ltr">Hi,<div><br></div><div>I had updated the deian files to be in sync with DebianGIS repo and made necessary changes for grass70</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 5:59 AM, Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com" target="_blank">hamish_b@yahoo.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Hamish wrote:<br>
> > the first thing that should happen is that the control files<br>
> > should be updated to pull from the latest from the DebianGIS<br>
> > git repository.<br>
<br>
</div>Tim:<br>
<div class="im">> 2 points where this is not always possible:<br>
> * your repo is at grass (6.4.2-3), we are talking about<br>
> 6.4.3.x & 7.0.x<br>
<br>
</div>just copy in the debian/ dir from there and locally add a new<br>
entry for the new version number at the top of the changelog<br>
file (`dch -v` from the main source dir)<br>
<div class="im"><br>
> * sometimes, there are changes in upstream (in the day to<br>
> day coding) that do not correspond anymore with the package<br>
> snapshot taken a a certain point. Thus, you need to disable<br>
> some patches. If not, you would need to create new patches on<br>
> nearly daily basis.<br>
<br>
</div>you are right, the patches may be a problem here, but the patches<br>
are not so many that you'd have to change them very often, maybe<br>
once every six months. And there is a semi-automatic way to<br>
update them. (make sure the devscripts package is installed;<br>
there's a semi-automatic way to do everything in debian<br>
packaging.., or maybe 4 semi-automatic ways to do everying... :)<br>
you might try #debian-mentors on the OFTC irc network for<br>
for definitive advice on the latest trends there.<br>
<br>
Probably between 6.4 and 7svn the patches will need refreshing<br>
for sure, or disable some of them. For grass7 packages you need<br>
to make sure that the /usr/bin/grass symlink gets dropped, so<br>
grass 6 and 7 can be installed on the same system without<br>
conflicts. (packaged file names must be unique distro-wide)<br>
<div class="im"><br>
<br>
> The best would be to have 2 upstream repos in git:<br>
><br>
> * debian files for 6.3.x<br>
> * debian files for 7.0.x<br>
<br>
</div>We (Frankie, me, DebianGIS,..) talked about that before, the<br>
result of that discussion was that Debian git repo should be<br>
for current official packaging efforts, not a sandbox for future<br>
development. So no experimental branch there for 7 until 7 is<br>
released and the formal packaging effort begins. But of course<br>
it's not a big deal in git where things are, you can host that<br>
at the ppa as you like. But if people want a grass7 binary<br>
buildbot it'll need some gardening from time to time.<br>
<div class="im"><br>
> LP would then pull these automatically and merge with<br>
> upstream GRASS source and build the package.<br>
> This would be really great.<br>
<br>
</div>Right, the 6.4 series can do that already, it's what I'm<br>
suggesting.<br>
<br>
I do not know if it is possible to just checkout one subdirectory<br>
from git. So far I haven't been able to do it. (we don't need<br>
to re-download the entire grass 6.4 source each time from<br>
DebianGIS)<br>
<div class="im"><br>
<br>
> > Instructions are in the src:debian/README.debian file<br>
> > in the<br>
><br>
> does not exist in<br>
> git://<a href="http://git.debian.org/git/pkg-grass/grass/debian" target="_blank">git.debian.org/git/pkg-grass/grass/debian</a><br>
<br>
</div>..the rest of my quote read:<br>
> > ... in the src:debian/README.debian file in the<br>
> > GRASS source code<br>
<br>
see<br>
<a href="https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/debian/README.debian" target="_blank">https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/debian/README.debian</a><br>
<div class="im"><br>
<br>
> > The whole (re)package building exercise should be<br>
> > possible with a simple 2-10 line script.<br>
><br>
> What for a script are you referring to?<br>
<br>
</div>one that is yet to be written :) just something to download the<br>
latest rules, apply whatever changes are needed with 'sed -i'<br>
&/or whatever, then run debuild or whatever the ppa buildbot<br>
needs to do.<br>
<div class="im"><br>
<br>
> What woudl be the purpose?<br>
<br>
</div>to save you lots of wasted effort and time, avoid divergence,<br>
and avoid human error.<br>
<br>
<br>
best,<br>
Hamish<br>
<div class="im">_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
</div><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div>
</div>