[Debian-olpc-devel] sugar-terminal-activity troubles

Luke Faraone luke at faraone.cc
Sun Jul 4 19:49:01 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/01/2010 01:28 PM, Jonas Smedegaard wrote:
> python-sugar.mk does not ensure Policy-compliant build-dependencies.  It
> only provides some helper routines.  You declared the build-dependencies
> yourself with the following line in debian/rules:
> 
> CDBS_DEPENDS = $(call cdbs_sugar_anybranchdeps,python-sugar
> python-sugar-toolkit)
> 
> For a branch-independent activity you need no branch expansion, so could
> instead do something like this:
> 
> CDBS_DEPENDS = python-sugar, python-sugar-toolkit-0.88 |
> python-sugar-toolkit

I tried doing that. That seems to control the dependency information,
not the build dependency information. Changing CDBS_DEPENDS to
CDBS_BUILD_DEPENDS and "= " to "+= ," results in the following build-deps:

> Build-Depends: devscripts (>= 2.10.7~),
>  cdbs (>= 0.4.67~),
>  dh-buildinfo,
>  python-central,
>  debhelper,
>  cdbs (>= 0.4.67~),
>  python-dev (>= 2.3.5-7),
>  python-sugar,
>  python-sugar-toolkit,
>  unzip, python-sugar-0.88 | python-sugar,
>  python-sugar-toolkit-0.88 | python-sugar-toolkit

python-sugar / p-s-toolkit as well as CDBS are listed twice. How can I
remove the duplicate python-sugar listing? It looks like it is being
added in line 60 of /usr/share/cdbs/1/class/python-sugar.mk:

> # Sugar-related dependencies
> CDBS_BUILD_DEPENDS_class_python-sugar_sugar ?= $(call cdbs_sugar_anybranchdeps,python-sugar python-sugar-toolkit), unzip
> CDBS_BUILD_DEPENDS += $(comma) $(CDBS_BUILD_DEPENDS_class_python-sugar_sugar)

Also, why is python-sugar adding a dep on python-dev if s-terminal-a is
arch all?

- -- 
Luke Faraone
http://luke.faraone.cc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkww5a0ACgkQtrC51grHAgaUGQCfWnRaWF/+/6PnyyHVa7YD7nrN
cPkAnjsTDdtVP63oZ7Hf+zH5mcK0m/Yh
=b5eB
-----END PGP SIGNATURE-----



More information about the Debian-olpc-devel mailing list