I've successfully managed to get Chandler to build on Ubuntu Lucid -
essentially, the only change to the current subversion head was that all of
the Makefiles needed to be updated to reflect the fact that the distribution
name was Lucid - I've attached a patch.

The only other change then required is to modify the version in
debian/changelog (I added a suffix to the last version) and then to create a
new tarball with the changes to the original in it with the same name as the
one in the changelog.

This version seems to work OK for me but I haven't tested it much.
 Unfortunately, I haven't got anywhere to upload the .deb file; perhaps
someone at OSAF would be willing to update the Makefiles and tag and build a
new release?

Regards,
Owen Morris
diff -u -r ./chandler-1.0.4~svn16701/chandler/Makefile ../chandler-1.0.4~svn16701-1/chandler/Makefile
--- ./chandler-1.0.4~svn16701/chandler/Makefile	2009-11-12 14:38:03.000000000 +0000
+++ ../chandler-1.0.4~svn16701-1/chandler/Makefile	2010-06-09 17:21:53.000000000 +0100
@@ -52,11 +52,11 @@
     DISTRIB_CODENAME = $(subst DISTRIB_CODENAME=,,$(shell cat /etc/lsb-release | grep DISTRIB_CODENAME))
     DISTUTILS_PLATFORM = -py$(PYTHON_VER)-linux-$(ARCH)
 
-    ifneq ($(findstring $(DISTRIB_CODENAME), gutsy hardy intrepid jaunty karmic),)
+    ifneq ($(findstring $(DISTRIB_CODENAME), gutsy hardy intrepid jaunty karmic lucid),)
         PYTHON_VER := $(shell python -c 'import sys; print "%d.%d" % sys.version_info[:2]')
     endif
 
-    ifneq ($(findstring $(DISTRIB_CODENAME),feisty gutsy hardy intrepid jaunty karmic),)
+    ifneq ($(findstring $(DISTRIB_CODENAME),feisty gutsy hardy intrepid jaunty karmic lucid),)
         PLATFORM := $(PLATFORM)/$(DISTRIB_CODENAME)
     endif
     ifeq ($(ARCH),x86_64)
@@ -106,7 +106,7 @@
         ZOPE       =
     endif
 
-    ifneq ($(findstring $(DISTRIB_CODENAME),gutsy hardy intrepid jaunty karmic),)
+    ifneq ($(findstring $(DISTRIB_CODENAME),gutsy hardy intrepid jaunty karmic lucid),)
         ZOPE      :=
         OPENSSL    =
         PYTHON     =
@@ -117,7 +117,7 @@
         ZOPE       =
     endif
 
-    ifneq ($(findstring $(DISTRIB_CODENAME),hardy intrepid jaunty karmic),)
+    ifneq ($(findstring $(DISTRIB_CODENAME),hardy intrepid jaunty karmic lucid),)
         M2CRYPTO   =
         PYICU      =
     endif
@@ -127,7 +127,7 @@
     endif
 
     # hardy has twisted-2.5.0, which is not recent enough
-    ifneq ($(findstring $(DISTRIB_CODENAME),intrepid jaunty karmic),)
+    ifneq ($(findstring $(DISTRIB_CODENAME),intrepid jaunty karmic lucid),)
         TWISTED   :=
     endif
     
@@ -467,7 +467,7 @@
 SYSTEM_REQUIREMENTS = setuptools>=0.6c6  $(subst '',check-,$(filter '(configobj|zope\.interface).*', $(PROJECT_DEPENDENCIES)))
 else
 
-ifneq ($(findstring $(DISTRIB_CODENAME),gutsy hardy intrepid jaunty karmic),)
+ifneq ($(findstring $(DISTRIB_CODENAME),gutsy hardy intrepid jaunty karmic lucid),)
 SYSTEM_REQUIREMENTS = setuptools>=0.6c6 PyICU>=0.8 M2Crypto>=0.18 $(patsubst %,check-%, $(filter configobj% zope.interface%, $(PROJECT_DEPENDENCIES)))
 endif
 endif
diff -u -r ./chandler-1.0.4~svn16701/external/Makefile.inc ../chandler-1.0.4~svn16701-1/external/Makefile.inc
--- ./chandler-1.0.4~svn16701/external/Makefile.inc	2009-11-12 14:38:03.000000000 +0000
+++ ../chandler-1.0.4~svn16701-1/external/Makefile.inc	2010-06-09 15:29:55.000000000 +0100
@@ -127,7 +127,7 @@
     SWIG=$(PREFIX)/bin/swig
     [email protected]:/www/builds.osafoundation.org/external/$(PLATFORM)
     OPENJDK_BUILD=openjdk
-    ifneq ($(findstring $(DISTRIB_CODENAME),feisty gutsy hardy intrepid jaunty karmic),)
+    ifneq ($(findstring $(DISTRIB_CODENAME),feisty gutsy hardy intrepid jaunty karmic lucid),)
         SITE=site-packages
         PYTHON_BINDIR:=/usr/bin
         PYTHON:=PYTHONPATH=$(BUILD_ROOT)/$(SNAP)/$(SITE) $(PYTHON_BINDIR)/python
diff -u -r ./chandler-1.0.4~svn16701/external/PyLucene/Makefile ../chandler-1.0.4~svn16701-1/external/PyLucene/Makefile
--- ./chandler-1.0.4~svn16701/external/PyLucene/Makefile	2009-11-12 14:38:03.000000000 +0000
+++ ../chandler-1.0.4~svn16701-1/external/PyLucene/Makefile	2010-06-09 15:30:51.000000000 +0100
@@ -42,7 +42,7 @@
 vm=client
 endif
 
-ifeq ($(findstring $(DISTRIB_CODENAME), hardy intrepid jaunty karmic),)
+ifeq ($(findstring $(DISTRIB_CODENAME), hardy intrepid jaunty karmic lucid),)
 JDK=$(BUILD_ROOT)/openjdk/j2sdk-image
 JRE=$(BUILD_ROOT)/openjdk/j2re-image
 ANT="$(BUILD_ROOT)/openjdk/apache-ant-1.7.0/bin/ant"
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to