[Debian-olpc-devel] List of tasks to be done (was: Re: maintaining squeak and friends)

Jonas Smedegaard dr at jones.dk
Thu Jan 28 00:52:03 UTC 2010


On Thu, Jan 28, 2010 at 12:46:09AM +0100, Siegfried-Angel Gevatter Pujals wrote:
>I've also started packaging Image Viewer, this time using the CDBS
>stuff, but somehow the .deb ends up empty... :/
>
>git://git.debian.org/git/collab-maint/sugar-imageviewer-activity.git
>
>>> You do not deliberately want to _avoid_ CDBS and am fine with using 
>>> that too.  :-)
>Now that I've tried this out I'm not so sure anymore. But what shall I
>do, you're the DD! ;P  </jk>

Have only looked briefly: Probably because the package name is 
unflavored but in debian/rules you declare that ii as flavored for 0.86.

If package only works with 0.86 then rename binary package name in 
debian/control.in (and regenerate debian/control), otherwise drop or 
comment out DEB_SUGAR_BRANCHES in debian/rules.


Another issue I noted: You seem to either forgot to push the 
pristine-tar branch or not enable --pristine-tar when injecting the 
upstream tarball.

If you switch from simple local cdbs snippets to tracking a branch of my 
tightened-but-still-shipped-as-local snippets then you get for free a 
proper git-buildpackage setup.  Run the following from within your git:

git remote add cdbs-skel git://git.debian.org/collab-maint/cdbs-skel
git pull cdbs-skel git+tarball+quilt+misc

The last command will warn about no common commits which is ok. It will 
then fail to merge, due to you shipping some files which cdbs-skel now 
takes over - you need to resolve the conflicts.  Simplest way to resolve 
is to cheat and git clone + git checkout that same cdbs-skel branch in a 
separate folder and copy over the files - if you choose to resolve the 
classic git way, then beware especially in README.source that strings 
may be repeated.


Above mentioned branch, git+tarball+quilt+misc, matches how you have 
currently packaged.  It is not how it seems to me that it would be 
ideally packaged - and since switching cdbs-skel branches is so clumsy, 
you might as well adjust before applying cdbs-skel initially - if you 
agree with the changes, off course:

  * Drop including unused patchsys-quilt snippet
  * Add branches to track upstream Git source (or ask me to do it)
  * switch to or init cdbs-skel branch git+git+tarball+misc


Please do ask if any of it doesn't make sense.  Or tell me if you'd 
rather not understand the details but just leave it to me to tighten up.  
I wouldn't want to loose your interest in this due to one-time 
complexities caused partly by my hacks of using semi-local cdbs 
snippets. :-)


Regards,

  - Jonas

-- 
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20100128/5d36daf9/attachment.pgp>


More information about the Debian-olpc-devel mailing list