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

On 06/23/2010 03:38 PM, David Farning wrote:
> Luke,
> It looks like our immediate blocker is the fact that
> sugar-presence-service is not building correctly.  None of the  python
> files are included in the package.  Just the docs are included.
> 
> Can you work with dipankar on IRC channel #ubuntu-sugarteam to figure
> out what is going wrong?  There is a good chance that the update CDBS
> package in the PPA is causing the problem.

Attached is a side-by-side diff of the debian/rules file for
sugar-presence-service as it is in the PPA (left) and in alioth git (right)

The only difference was the omission in the PPA-side of two CDBS include
statements. The first handles fetching the upstream tarball, which is
important for other reasons, but not critical to our main problem.

The second, the omission of python-autotools, is the critical
deficiency. Without this, CDBS is more than happy to build a package,
but it has no rules which instruct it what system the package uses for
building. Therefore, a package without any content is built.

- -- 
Luke Faraone
http://luke.faraone.cc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwivEEACgkQtrC51grHAgYJQgCguPa/FWZpt/28s7+uoe4y1p01
3cQAoKGnjoKuM3dXgvVB/KfMRBNhu9EH
=JZKg
-----END PGP SIGNATURE-----
#!/usr/bin/make -f                                              #!/usr/bin/make 
-f
# -*- mode: makefile; coding: utf-8 -*-                         # -*- mode: 
makefile; coding: utf-8 -*-
# Copyright © 2008-2010 Jonas Smedegaard <[email protected]>               # 
Copyright © 2008-2010 Jonas Smedegaard <[email protected]>
# Description: Main Debian packaging script for sugar-presenc   # Description: 
Main Debian packaging script for sugar-presenc
#                                                               #
# This program is free software; you can redistribute it and/   # This program 
is free software; you can redistribute it and/
# modify it under the terms of the GNU General Public License   # modify it 
under the terms of the GNU General Public License
# published by the Free Software Foundation; either version 2   # published by 
the Free Software Foundation; either version 2
# your option) any later version.                               # your option) 
any later version.
#                                                               #
# This program is distributed in the hope that it will be use   # This program 
is distributed in the hope that it will be use
# WITHOUT ANY WARRANTY; without even the implied warranty of    # WITHOUT ANY 
WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See t   # 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See t
# General Public License for more details.                      # General 
Public License for more details.
#                                                               #
# You should have received a copy of the GNU General Public L   # You should 
have received a copy of the GNU General Public L
# along with this program; if not, write to the Free Software   # along with 
this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA      # Foundation, 
Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA.                                               # 02111-1307 
USA.

DEB_BUILDDIR = build                                            DEB_BUILDDIR = 
build
DEB_PYTHON_SYSTEM = pycentral                                   
DEB_PYTHON_SYSTEM = pycentral
                                                              > include 
/usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/utils.mk                        include 
/usr/share/cdbs/1/rules/utils.mk
                                                              > include 
/usr/share/cdbs/1/class/python-autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk                    include 
/usr/share/cdbs/1/rules/debhelper.mk

pkgbase = sugar-presence-service                                pkgbase = 
sugar-presence-service
pkgbranch = 0.88                                                pkgbranch = 0.88
pkg = $(pkgbase)-$(pkgbranch)                                   pkg = 
$(pkgbase)-$(pkgbranch)

DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE:%-$(pkgbranch)=%)   
DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE:%-$(pkgbranch)=%)
DEB_UPSTREAM_URL = http://download.sugarlabs.org/sources/sucr   
DEB_UPSTREAM_URL = http://download.sugarlabs.org/sources/sucr
DEB_UPSTREAM_TARBALL_EXTENSION = tar.bz2                        
DEB_UPSTREAM_TARBALL_EXTENSION = tar.bz2
DEB_UPSTREAM_TARBALL_MD5 = f50a666c4e1f55b8fc7650258da0c539     
DEB_UPSTREAM_TARBALL_MD5 = f50a666c4e1f55b8fc7650258da0c539

DEB_MAKE_CHECK_TARGET = check                                   
DEB_MAKE_CHECK_TARGET = check

# Needed by upstream unittests                                  # Needed by 
upstream unittests
#  openssh-client contains ssh-keygen                           #  
openssh-client contains ssh-keygen
#  pygtk << 2.9 contained gobject                               #  pygtk << 2.9 
contained gobject
CDBS_BUILD_DEPENDS += , python-dbus, python-gobject | python-   
CDBS_BUILD_DEPENDS += , python-dbus, python-gobject | python-

# Needed (always/often) at runtime                              # Needed 
(always/often) at runtime
#  net-tools (route) needed as fallback for NetworkManager 0.   #  net-tools 
(route) needed as fallback for NetworkManager 0.
CDBS_DEPENDS = python-sugar-toolkit-$(pkgbranch)                CDBS_DEPENDS = 
python-sugar-toolkit-$(pkgbranch)
CDBS_DEPENDS += , python-gobject, python-dbus (>= 0.82.0), py   CDBS_DEPENDS += 
, python-gobject, python-dbus (>= 0.82.0), py
CDBS_DEPENDS += , telepathy-gabble, telepathy-salut, net-tool   CDBS_DEPENDS += 
, telepathy-gabble, telepathy-salut, net-tool
CDBS_RECOMMENDS = sugar-$(pkgbranch), avahi-daemon, network-m   CDBS_RECOMMENDS 
= sugar-$(pkgbranch), avahi-daemon, network-m

# Ensure only one variant is installed at a time (Debian Poli   # Ensure only 
one variant is installed at a time (Debian Poli
CDBS_PROVIDES = $(pkgbase)                                      CDBS_PROVIDES = 
$(pkgbase)
CDBS_CONFLICTS = $(pkgbase)                                     CDBS_CONFLICTS 
= $(pkgbase)
CDBS_REPLACES = $(pkgbase)                                      CDBS_REPLACES = 
$(pkgbase)

Attachment: sugar-presence-service-0.88_rules_sxs-20100623.sig
Description: PGP signature

-- 
Ubuntu-sugarteam mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-sugarteam

Reply via email to