-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is a patch to 0.9.3 which also fixes bug #465429

kindly regards
 daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIc5W5y/mkIQp7AD0RApR2AKCZM9GNLeXcudIuACGi0nANfswC4ACgxRdv
/n1yJtD82KRzHFn3yrStn/g=
=XkOf
-----END PGP SIGNATURE-----
diff -r -N -U2 medit-0.9.2/debian/changelog medit-0.9.3/debian/changelog
--- medit-0.9.2/debian/changelog	2008-07-08 17:58:29.000000000 +0200
+++ medit-0.9.3/debian/changelog	2008-07-08 18:06:16.000000000 +0200
@@ -1,2 +1,10 @@
+medit (0.9.3-1) intrepid; urgency=low
+
+  * update to upstream release 0.9.3 fixes #484257
+  * build moolib
+  * build python moolib bindings. fixes #465429
+
+ -- Daniel Poelzleithner <[EMAIL PROTECTED]>  Tue, 08 Jul 2008 11:32:13 +0200
+
 medit (0.9.2-1) unstable; urgency=low
 
diff -r -N -U2 medit-0.9.2/debian/control medit-0.9.3/debian/control
--- medit-0.9.2/debian/control	2008-07-08 17:58:29.000000000 +0200
+++ medit-0.9.3/debian/control	2008-07-08 14:06:35.000000000 +0200
@@ -3,5 +3,5 @@
 Priority: optional
 Maintainer: Arthur Loiret <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), autotools-dev, libxml-parser-perl, pkg-config, libgtk2.0-dev, python, python-dev, python-gtk2-dev, libxml2-dev, python-cairo-dev
+Build-Depends: debhelper (>= 5), autotools-dev, libxml-parser-perl, pkg-config, libgtk2.0-dev, python, python-dev, python-gtk2-dev, libxml2-dev, python-cairo-dev, dpatch
 Standards-Version: 3.7.3
 Homepage: http://mooedit.sourceforge.net/
diff -r -N -U2 medit-0.9.2/debian/medit.postinst.debhelper medit-0.9.3/debian/medit.postinst.debhelper
--- medit-0.9.2/debian/medit.postinst.debhelper	1970-01-01 01:00:00.000000000 +0100
+++ medit-0.9.3/debian/medit.postinst.debhelper	2008-07-08 17:50:35.000000000 +0200
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmime
+if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
+	update-mime-database /usr/share/mime
+fi
+# End automatically added section
diff -r -N -U2 medit-0.9.2/debian/medit.postrm.debhelper medit-0.9.3/debian/medit.postrm.debhelper
--- medit-0.9.2/debian/medit.postrm.debhelper	1970-01-01 01:00:00.000000000 +0100
+++ medit-0.9.3/debian/medit.postrm.debhelper	2008-07-08 17:50:35.000000000 +0200
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmime
+if [ -x "`which update-mime-database 2>/dev/null`" ]; then
+	update-mime-database /usr/share/mime
+fi
+# End automatically added section
diff -r -N -U2 medit-0.9.2/debian/medit.substvars medit-0.9.3/debian/medit.substvars
--- medit-0.9.2/debian/medit.substvars	1970-01-01 01:00:00.000000000 +0100
+++ medit-0.9.3/debian/medit.substvars	2008-07-08 17:51:19.000000000 +0200
@@ -0,0 +1 @@
+shlibs:Depends=python2.5 (>= 2.5), libatk1.0-0 (>= 1.20.0), libxml2 (>= 2.6.27), libgtk2.0-0 (>= 2.12.0), libsm6, libpango1.0-0 (>= 1.20.1), libice6 (>= 1:1.0.0), libc6 (>= 2.4), libffi4 , libcairo2 (>= 1.6.0), libx11-6, libglib2.0-0 (>= 2.14.0)
diff -r -N -U2 medit-0.9.2/debian/patches/00list medit-0.9.3/debian/patches/00list
--- medit-0.9.2/debian/patches/00list	1970-01-01 01:00:00.000000000 +0100
+++ medit-0.9.3/debian/patches/00list	2008-07-08 14:55:00.000000000 +0200
@@ -0,0 +1 @@
+01-makefile_patch
diff -r -N -U2 medit-0.9.2/debian/patches/01_makefile_patch.dpatch medit-0.9.3/debian/patches/01_makefile_patch.dpatch
--- medit-0.9.2/debian/patches/01_makefile_patch.dpatch	1970-01-01 01:00:00.000000000 +0100
+++ medit-0.9.3/debian/patches/01_makefile_patch.dpatch	2008-07-08 16:28:58.000000000 +0200
@@ -0,0 +1,173 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_makefile_patch.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix libmoo linking
+
[EMAIL PROTECTED]@
+
+--- medit-0.9.3.org/moo/Makefile.am	2008-02-10 09:01:00.000000000 +0100
++++ medit-0.9.3/moo/Makefile.am	2008-07-08 16:27:31.000000000 +0200
+@@ -115,5 +115,5 @@
+ 
+ libmoo_la_LIBADD = $(libs) $(MOO_LIBS) $(MOO_OBJC_LIBS)
+-libmoo_la_LDFLAGS = $(libmoo_res_ldflag) -no-undefined -avoid-version $(export_flags)
++libmoo_la_LDFLAGS = $(libmoo_res_ldflag) -no-undefined -avoid-version $(export_flags) -lX11
+ libmoo_la_SOURCES = $(moo_include_headers)
+ nodist_libmoo_la_SOURCES += $(nodist_moo_include_headers)
+@@ -147,5 +147,5 @@
+ pyexec_LTLIBRARIES = moo.la
+ moo_la_SOURCES = moo.h
+-moo_la_LDFLAGS = $(moo_la_ldflags) $(PYTHON_LDFLAGS)
++moo_la_LDFLAGS = $(moo_la_ldflags) $(PYTHON_LDFLAGS) -lX11
+ moo_la_LIBADD = moopython/libmoomod.la libmoo.la $(MOO_LIBS) $(PYTHON_LIBS)
+ endif MOO_BUILD_MOO_MODULE
+--- medit-0.9.3.org/moo/Makefile.in	2008-02-10 09:01:10.000000000 +0100
++++ medit-0.9.3/moo/Makefile.in	2008-07-08 16:28:04.000000000 +0200
+@@ -1,7 +1,7 @@
+-# Makefile.in generated by automake 1.10 from Makefile.am.
++# Makefile.in generated by automake 1.10.1 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
++# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -175,5 +175,5 @@
+ scriptsSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ SCRIPTS = $(scripts_SCRIPTS)
+-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
++DEFAULT_INCLUDES = [EMAIL PROTECTED]@ -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -232,4 +232,5 @@
+ DEPDIR = @DEPDIR@
+ DLLTOOL = @DLLTOOL@
++DSYMUTIL = @DSYMUTIL@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+@@ -338,4 +339,5 @@
+ MSGFMT_OPTS = @MSGFMT_OPTS@
+ MSGMERGE = @MSGMERGE@
++NMEDIT = @NMEDIT@
+ OBJC = @OBJC@
+ OBJCDEPMODE = @OBJCDEPMODE@
+@@ -507,5 +509,5 @@
+ 	$(am__append_21)
+ libmoo_la_LDFLAGS = $(libmoo_res_ldflag) -no-undefined -avoid-version \
+-	$(export_flags) $(am__append_22)
++	$(export_flags) -lX11 $(am__append_22)
+ libmoo_la_SOURCES = $(moo_include_headers) $(am__append_20)
+ 
+@@ -524,5 +526,5 @@
+ @MOO_BUILD_MOO_MODULE_TRUE@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = moo.h
+ @MOO_OS_UNIX_FALSE@@[EMAIL PROTECTED] = moo.h
[EMAIL PROTECTED]@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = $(moo_la_ldflags) $(PYTHON_LDFLAGS)
[EMAIL PROTECTED]@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = $(moo_la_ldflags) $(PYTHON_LDFLAGS) -lX11
+ @MOO_OS_UNIX_FALSE@@[EMAIL PROTECTED] = $(moo_la_ldflags) $(PYTHON_LDFLAGS) -Wl,moo.res
+ @MOO_BUILD_MOO_MODULE_TRUE@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = moopython/libmoomod.la libmoo.la $(MOO_LIBS) $(PYTHON_LIBS)
+@@ -588,6 +590,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -597,6 +599,6 @@
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ 	done
+ 
+@@ -624,6 +626,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(plugindir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(plugindir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -633,6 +635,6 @@
+ 	@list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$p"; \
+ 	done
+ 
+@@ -651,6 +653,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pluginlibdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pluginlibdir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pluginlibdir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pluginlibdir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -660,6 +662,6 @@
+ 	@list='$(pluginlib_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pluginlibdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pluginlibdir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pluginlibdir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pluginlibdir)/$$p"; \
+ 	done
+ 
+@@ -678,6 +680,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -687,6 +689,6 @@
+ 	@list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$p"; \
+ 	done
+ 
+@@ -903,6 +905,6 @@
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-	  $(AWK) '    { files[$$0] = 1; } \
+-	       END { for (i in files) print i; }'`; \
++	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
++	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+ 	mkid -fID $$unique
+ tags: TAGS
+@@ -929,6 +931,6 @@
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-	  $(AWK) '    { files[$$0] = 1; } \
+-	       END { for (i in files) print i; }'`; \
++	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+ 	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ 	  test -n "$$unique" || unique=$$empty_fix; \
+@@ -940,11 +942,10 @@
+ 		$(TAGS_FILES) $(LISP)
+ 	tags=; \
+-	here=`pwd`; \
+ 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-	  $(AWK) '    { files[$$0] = 1; } \
+-	       END { for (i in files) print i; }'`; \
++	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+ 	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
diff -r -N -U2 medit-0.9.2/debian/patches/01-makefile_patch.dpatch medit-0.9.3/debian/patches/01-makefile_patch.dpatch
--- medit-0.9.2/debian/patches/01-makefile_patch.dpatch	1970-01-01 01:00:00.000000000 +0100
+++ medit-0.9.3/debian/patches/01-makefile_patch.dpatch	2008-07-08 14:54:18.000000000 +0200
@@ -0,0 +1,159 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_makefile_patch.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix libmoo linking
+
[EMAIL PROTECTED]@
+
+--- medit-0.9.3.org/moo/Makefile.am	2008-02-10 09:01:00.000000000 +0100
++++ medit-0.9.3/moo/Makefile.am	2008-07-08 11:35:02.000000000 +0200
+@@ -147,5 +147,5 @@
+ pyexec_LTLIBRARIES = moo.la
+ moo_la_SOURCES = moo.h
+-moo_la_LDFLAGS = $(moo_la_ldflags) $(PYTHON_LDFLAGS)
++moo_la_LDFLAGS = $(moo_la_ldflags) $(PYTHON_LDFLAGS) -lX11
+ moo_la_LIBADD = moopython/libmoomod.la libmoo.la $(MOO_LIBS) $(PYTHON_LIBS)
+ endif MOO_BUILD_MOO_MODULE
+--- medit-0.9.3.org/moo/Makefile.in	2008-02-10 09:01:10.000000000 +0100
++++ medit-0.9.3/moo/Makefile.in	2008-07-08 11:35:55.000000000 +0200
+@@ -1,7 +1,7 @@
+-# Makefile.in generated by automake 1.10 from Makefile.am.
++# Makefile.in generated by automake 1.10.1 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
++# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -175,5 +175,5 @@
+ scriptsSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ SCRIPTS = $(scripts_SCRIPTS)
+-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
++DEFAULT_INCLUDES = [EMAIL PROTECTED]@ -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -232,4 +232,5 @@
+ DEPDIR = @DEPDIR@
+ DLLTOOL = @DLLTOOL@
++DSYMUTIL = @DSYMUTIL@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+@@ -338,4 +339,5 @@
+ MSGFMT_OPTS = @MSGFMT_OPTS@
+ MSGMERGE = @MSGMERGE@
++NMEDIT = @NMEDIT@
+ OBJC = @OBJC@
+ OBJCDEPMODE = @OBJCDEPMODE@
+@@ -524,5 +526,5 @@
+ @MOO_BUILD_MOO_MODULE_TRUE@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = moo.h
+ @MOO_OS_UNIX_FALSE@@[EMAIL PROTECTED] = moo.h
[EMAIL PROTECTED]@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = $(moo_la_ldflags) $(PYTHON_LDFLAGS)
[EMAIL PROTECTED]@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = $(moo_la_ldflags) $(PYTHON_LDFLAGS) -lX11
+ @MOO_OS_UNIX_FALSE@@[EMAIL PROTECTED] = $(moo_la_ldflags) $(PYTHON_LDFLAGS) -Wl,moo.res
+ @MOO_BUILD_MOO_MODULE_TRUE@@MOO_OS_UNIX_TRUE@@[EMAIL PROTECTED] = moopython/libmoomod.la libmoo.la $(MOO_LIBS) $(PYTHON_LIBS)
+@@ -588,6 +590,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -597,6 +599,6 @@
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ 	done
+ 
+@@ -624,6 +626,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(plugindir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(plugindir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -633,6 +635,6 @@
+ 	@list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$p"; \
+ 	done
+ 
+@@ -651,6 +653,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pluginlibdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pluginlibdir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pluginlibdir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pluginlibdir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -660,6 +662,6 @@
+ 	@list='$(pluginlib_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pluginlibdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pluginlibdir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pluginlibdir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pluginlibdir)/$$p"; \
+ 	done
+ 
+@@ -678,6 +680,6 @@
+ 	  if test -f $$p; then \
+ 	    f=$(am__strip_dir) \
+-	    echo " $(LIBTOOL) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \
++	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \
++	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \
+ 	  else :; fi; \
+ 	done
+@@ -687,6 +689,6 @@
+ 	@list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \
+ 	  p=$(am__strip_dir) \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$p"; \
++	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$p'"; \
++	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$p"; \
+ 	done
+ 
+@@ -903,6 +905,6 @@
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-	  $(AWK) '    { files[$$0] = 1; } \
+-	       END { for (i in files) print i; }'`; \
++	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
++	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+ 	mkid -fID $$unique
+ tags: TAGS
+@@ -929,6 +931,6 @@
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-	  $(AWK) '    { files[$$0] = 1; } \
+-	       END { for (i in files) print i; }'`; \
++	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+ 	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ 	  test -n "$$unique" || unique=$$empty_fix; \
+@@ -940,11 +942,10 @@
+ 		$(TAGS_FILES) $(LISP)
+ 	tags=; \
+-	here=`pwd`; \
+ 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-	  $(AWK) '    { files[$$0] = 1; } \
+-	       END { for (i in files) print i; }'`; \
++	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
++	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+ 	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
diff -r -N -U2 medit-0.9.2/debian/rules medit-0.9.3/debian/rules
--- medit-0.9.2/debian/rules	2008-07-08 17:58:29.000000000 +0200
+++ medit-0.9.3/debian/rules	2008-07-08 17:41:59.000000000 +0200
@@ -1,5 +1,5 @@
 #!/usr/bin/make -f
 
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -17,7 +17,9 @@
 endif
 
+include /usr/share/dpatch/dpatch.make
+
 confflags += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 	     --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
-	     --with-xml
+	     --with-xml --enable-moo-module --enable-libmoo
 
 config.status: configure
@@ -27,5 +29,5 @@
 
 build: build-stamp
-build-stamp:  config.status
+build-stamp: patch-stamp config.status
 	dh_testdir
 
@@ -37,5 +39,6 @@
 	touch $@
 
-clean:
+clean: clean1 unpatch
+clean1: 
 	dh_testdir
 	dh_testroot
@@ -61,9 +64,9 @@
 	dh_clean -k
 	dh_installdirs
-
+		
 	$(MAKE) install DESTDIR=$(DESTDIR)
 	chmod a+x $(DESTDIR)/usr/share/moo/language-specs/check.sh
 	chmod a+x $(DESTDIR)/usr/lib/moo/plugins/lib/pyconsole.py
-	rm -rf $(DESTDIR)/usr/lib/python* $(DESTDIR)/usr/include
+#	rm -rf $(DESTDIR)/usr/lib/python* $(DESTDIR)/usr/include
 #	See #441974
 #	mv $(DESTDIR)/usr/lib/moo $(DESTDIR)/usr/share/medit

Attachment: medit-0.9.3.patch.sig
Description: Binary data

Reply via email to