Problem while updating sugar-speak-activity

Kandarp Kaushik kandarp at seeta.in
Sun Jul 25 18:58:27 BST 2010


Hello,
I was trying to package sugar-speak-activity and faced the following issues:


1) $ gbp-clone git+ssh://git.debian.org/git/collab-maint/sugar-speak-activity.git
          Initialized empty Git repository in
/home/kandarp/git_local_repo/speak/sugar-speak-activity/.git/
          Enter passphrase for key '/home/kandarp/.ssh/id_rsa':
          remote: Counting objects: 141, done.
          remote: Compressing objects: 100% (88/88), done.
          remote: Total 141 (delta 51), reused 134 (delta 48)
          Receiving objects: 100% (141/141), 1.99 MiB | 67 KiB/s, done.
          Resolving deltas: 100% (51/51), done.

On cloning the repo., upstream branch wasn't present and only the
master branch was there.
Created branch upstream manually.


2) $ git merge v16 failed, had to reset the upstream branch.


3) debian folder had the following files:
changelog  compat  control  copyright  rules  watch

tried to regenerate debian/control after creating debian/control.in using:
$ DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean

OUTPUT:

      dh clean
         dh_testdir
         debian/rules override_dh_auto_clean
      make[1]: Entering directory
`/home/kandarp/git_local_repo/speak/sugar-speak-activity'
      rm -rf /home/kandarp/git_local_repo/speak/sugar-speak-activity/locale
/home/kandarp/git_local_repo/speak/sugar-speak-activity/MANIFEST
      [ ! -d /home/kandarp/git_local_repo/speak/sugar-speak-activity/.git
] || git checkout locale
      dh_clean
      make[1]: Leaving directory
`/home/kandarp/git_local_repo/speak/sugar-speak-activity'
         dh_clean


*debian/control was not regenerated.

debian/rules file had:
---------------------------------------------------------------------------------------------------------------------------------
#!/usr/bin/make -f

USRDIR=$(CURDIR)/debian/sugar-speak-activity/usr/

%:
	dh $@

override_dh_auto_install:
	$(PYTHON) $(CURDIR)/setup.py install --prefix=$(USRDIR)
	rm -f $(USRDIR)/share/sugar/activities/Speak.activity/COPYING \
		$(USRDIR)/share/sugar/activities/Speak.activity/port/COPYING \
		$(USRDIR)/share/sugar/activities/Speak.activity/bot/*/setup.py

override_dh_auto_clean:
	rm -rf $(CURDIR)/locale $(CURDIR)/MANIFEST
	[ ! -d $(CURDIR)/.git ] || git checkout locale
	dh_clean
---------------------------------------------------------------------------------------------------------------------------------


Please let me know what steps are necessary to complete the packaging
of sugar-speak-activity.

Regards,
Kandarp.

PS: I believe some changes in debian/rules are required, but am not
knowledgeable enough to do that.



More information about the Ubuntu-sugarteam mailing list