diff --git a/debian/README.Fremantle b/debian/README.Fremantle new file mode 100644 index 000000000000..fc13493ca4cd --- /dev/null +++ b/debian/README.Fremantle @@ -0,0 +1,7 @@ +xulrunner for Fremantle +------------------------------- + +You need to install maemo-optify and maemo-sdk-dev, although not mentioned in debian/control. + + -- Marcin Mielniczuk Fri, 22 Nov 2013 19:12:30 +0100 + diff --git a/debian/changelog b/debian/changelog index a5e97aeca1d9..dbff56620a17 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -xulrunner (0.1) unstable; urgency=low +xulrunner (28.0a1) unstable; urgency=low * Initial Release. diff --git a/debian/control b/debian/control index 78c388c3489b..4e99c3fd5e5b 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: xulrunner Section: libs Priority: extra Maintainer: unknown -Build-Depends: debhelper (>= 7), +Build-Depends: debhelper (>= 5), autoconf2.13, python, unzip, @@ -14,7 +14,11 @@ Build-Depends: debhelper (>= 7), libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, libx11-dev, - libxt-dev + libxt-dev, + quilt, + python2.7, + libqt4-dev, + libcairo2-dev Homepage: https://wiki.mozilla.org/Embedding/IPCLiteAPI Package: xulrunner diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index 3672ad4a14ec..50ef6b96778f --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +ifneq (,$(findstring Maemo 5,$(shell cat /etc/issue))) + export PYTHON=/usr/bin/python2.7 +endif + package=xulrunner prefix=usr @@ -56,6 +60,9 @@ GREVERSION=$(shell cat $(CURDIR)/config/milestone.txt | sed '/^\#/d' | sed '/^$$ configure: configure-$(DEB_HOST_ARCH)-stamp configure-$(DEB_HOST_ARCH)-stamp: +ifneq (,$(findstring Maemo 5,$(shell cat /etc/issue))) + QUILT_PATCHES=debian/patches/fremantle quilt push -a +endif dh_testdir cp $(CURDIR)/embedding/embedlite/config/$(MOZCONFIG_FILE) $(CURDIR)/$(MOZCONFIG_FILE) ifneq (,$(findstring cs2009q3-hard-67-sb16,$(shell gcc --version))) @@ -94,6 +101,10 @@ clean: rm -f build-$(DEB_HOST_ARCH)-stamp rm -f configure-$(DEB_HOST_ARCH)-stamp # $(MAKE) distclean + rm -rf $(DEST_OBJ_DIR) +ifneq (,$(findstring Maemo 5,$(shell cat /etc/issue))) + QUILT_PATCHES=debian/patches/fremantle quilt pop -a || true +endif dh_clean install: build @@ -145,6 +156,9 @@ binary-arch: build install dh_installdeb dh_shlibdeps dh_gencontrol +ifneq (,$(findstring Maemo 5,$(shell cat /etc/issue))) + maemo-optify +endif dh_md5sums dh_builddeb