-modest (1.0-svn1847) unstable; urgency=low
+modest (1.0-svn1851) unstable; urgency=low
* update for the tny account security settings update
+ * temporary change to give testers more info when connections don't work
-- Dirk-Jan C. Binnema <dirk-jan.binnema@nokia.com> Mon, 14 May 2007 14:39:08 +0300
INSTALL_PROGRAM += -s
endif
+
+LAUNCHER = no
+ifneq (,$(findstring maemo-launcher,$(DEB_BUILD_OPTIONS)))
+ LAUNCHER = yes
+endif
+
+ifeq "$(strip $(LAUNCHER))" "yes"
+ LAUNCHER_DEPENDS = -Vlauncher:Depends="maemo-launcher"
+ LAUNCHER_CFLAGS = -shared
+ LAUNCHER_LDFLAGS = -pie -shared -export-dynamic
+endif
+
+
+
config.status: configure
dh_testdir
# commands to configure the package.
dh_testdir
# commands to compile the package.
- $(MAKE)
+ $(MAKE) \
+ MAEMO_LAUNCHER_CFLAGS="$(LAUNCHER_CFLAGS)" \
+ MAEMO_LAUNCHER_LDFLAGS="$(LAUNCHER_LDFLAGS)"
touch build-stamp
clean:
#
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ ifeq "$(strip $(LAUNCHER))" "yes"
+ mv $(CURDIR)/debian/modest/usr/bin/modest \
+ $(CURDIR)/debian/modest/usr/bin/modest.launch
+ ln -s /usr/bin/maemo-invoker \
+ $(CURDIR)/debian/modest/usr/bin/modest
+ endif
+
+
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
dh_makeshlibs
dh_installdeb
dh_shlibdeps
- dh_gencontrol
+ dh_gencontrol -- $(LAUNCHER_DEPENDS)
dh_md5sums
dh_builddeb
modest-widget-memory.c\
modest-widget-memory.h
+modest_CFLAGS = "$modest_CFLAGS $(MAEMO_LAUNCHER_CFLAGS)"
+modest_LDFLAGS = "$modest_LDFLAGS $(MAEMO_LAUNCHER_LDFLAGS)"
+
modest_LDADD = \
$(MODEST_GSTUFF_LIBS) \
$(MODEST_LIBTINYMAIL_GNOME_DESKTOP_LIBS) \