On Friday 02 October 2015 02:43 PM, Gregor Riepl wrote:
Did you make any progress on packaging calendarserver?

I saw that 5.2.2 is in sid, but neither jessie nor stretch have it.

Your git server seems to be down, by the way.
Can you post your (packed) debian/ here instead?

I have started work on packaging calendarserver 7.0. The current status is that with python-sqlparse 0.1.13, the calendarserver process starts successfully. Here are the pending action items:

1. Figure out how to resolve dependency on sqlparse 0.1.14 (blocker)
2. twexty remove dependency on Python.h. When running calendarserver, it throws an error: /usr/lib/python2.7/dist-packages/twext/python/__pycache__/_cffi_twext_python_sacl_xe128630fxbbd600c.c:2:20: fatal error: Python.h: No such file or directory. Installing python-dev solves the issue but we should ideally be doing it at the time of building the twext package.
3. calendarserver systemd script (is it ok to continue using init.d script)?
4. Test regular flow
5. Test LDAP configuration
6. Test NSS directory service
7. Test upgrade from 3.x and 5.x

Other Notes:

1. All the necessary packages' git repos are at http://anonscm.debian.org/cgit/calendarserver/ (twextpy.git and
pg800.git are the new packages that calendarserver depends on).

2. The directory layout that I am following is as described in : http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.BRANCH.NAMING

3. If you want to do any changes, you can checkout "debian/sid" branch and work on it. Latest upstream code has already been imported to the debian/sid branch of all the four packages (calendarserver, twextpy, pycalendar, pg8000).

4. To build calendarserver packages, run the command:

gbp buildpackage --git-ignore-new --git-debian-branch=debian/sid --git-upstream-tag="dfsg/%(version)s" --git-pristine-tar --git-pbuilder --git-arch=amd64 --git-dist=DEP14

To build any of the remaining packages (pycalendar / twextpy / pg8000), run:

gbp buildpackage --git-ignore-new --git-debian-branch=debian/sid --git-pristine-tar --git-pbuilder --git-arch=amd64 --git-dist=DEP14

The initial cowbuilder directory can be created using:

DIST=sid ARCH=amd64 git pbuilder create


Thanks,
Rahul.

--
http://rahul.amaram.name

Reply via email to