--- mlview-0.9.0.orig/debian/patches/01_fix_binary_name.patch +++ mlview-0.9.0/debian/patches/01_fix_binary_name.patch @@ -0,0 +1,12 @@ +diff -Nur mlview-0.9.0/configure mlview-0.9.0.new/configure +--- mlview-0.9.0/configure 2005-08-07 10:16:32.000000000 +0200 ++++ mlview-0.9.0.new/configure 2006-08-13 15:07:18.000000000 +0200 +@@ -2272,7 +2272,7 @@ + \* 10000 + $MLVIEW_MINOR_VERSION \ + \* 100 + $MLVIEW_MICRO_VERSION` + +-MLVIEW_EXE=$prefix/bin/mlv ++MLVIEW_EXE=$prefix/bin/mlview + + + --- mlview-0.9.0.orig/debian/patches/90_from_bugzilla_fix_build_with_new_gcc.patch +++ mlview-0.9.0/debian/patches/90_from_bugzilla_fix_build_with_new_gcc.patch @@ -0,0 +1,76 @@ +GCC 4.0 fixes + +--- src/mlview-source-view.h.orig 2006-05-21 20:56:34 +0400 ++++ src/mlview-source-view.h 2006-05-21 21:09:20 +0400 +@@ -58,7 +58,7 @@ + + enum MlViewStatus set_default_options () ; + +- MlViewXMLDocument* SourceView::get_document () ; ++ MlViewXMLDocument* get_document () ; + + GtkUIManager * get_ui_manager () ; + +--- src/mlview-tree-view.h.orig 2006-05-21 20:56:34 +0400 ++++ src/mlview-tree-view.h 2006-05-21 21:09:00 +0400 +@@ -176,7 +176,7 @@ + + enum MlViewStatus build_app_edit_menu () ; + +- GtkDialog * TreeView::get_expand_tree_dialog () ; ++ GtkDialog * get_expand_tree_dialog () ; + + void clear_completion_popup_submenus () ; + +--- src/mlview-plugin.h.orig 2006-05-21 20:56:21 +0400 ++++ src/mlview-plugin.h 2006-05-21 21:16:24 +0400 +@@ -46,12 +46,12 @@ + + //forbid assignation/copy + Plugin& operator= (Plugin const&) ; +- Plugin::Plugin (Plugin const&) ; ++ Plugin (Plugin const&) ; + + public: + Plugin (const PluginDescriptor &a_descr) ; + +- Plugin::Plugin (const UString &a_url) ; ++ Plugin (const UString &a_url) ; + + virtual ~Plugin () ; + +--- src/mlview-editor.cc.orig 2006-05-21 20:56:34 +0400 ++++ src/mlview-editor.cc 2006-05-21 21:17:49 +0400 +@@ -174,7 +174,7 @@ + view_manager_ptr->set_cur_view (NULL); + } + +- static void EditorPriv::schemas_window_destroy_cb ++ static void schemas_window_destroy_cb + (GtkWidget *a_widget, struct DocumentWindowData *a_win) ; + + static void validation_window_destroy_cb + +--- Makefile.am.orig 2006-05-21 21:27:01 +0400 ++++ src/Makefile.am 2006-05-21 21:27:21 +0400 +@@ -173,6 +173,8 @@ + libmlview_la_LDFLAGS= \ + -version-info @LIBMLVIEW_VERSION_INFO@ + ++libmlview_la_LIBADD=@MLVIEW_LIBS@ recent-files/libeggrecent.la ++ + libmlviewdbusclient_la_LDFLAGS= \ + -version-info @LIBMLVIEW_VERSION_INFO@ + + +--- Makefile.am.orig 2006-05-21 22:21:23 +0400 ++++ src/Makefile.am 2006-05-21 22:21:40 +0400 +@@ -178,6 +178,8 @@ + libmlviewdbusclient_la_LDFLAGS= \ + -version-info @LIBMLVIEW_VERSION_INFO@ + ++libmlviewdbusclient_la_LIBADD=@MLVIEW_LIBS@ ++ + INCLUDES = @MLVIEW_CFLAGS@ \ + -DENABLE_NLS=1 -DDATADIR=\"${datadir}\" -DLIBDIR=\"${libdir}\" \ + -DMLVIEW_LOCALEDIR=\"$(prefix)/share/locale\" -I$(top_srcdir) --- mlview-0.9.0.orig/debian/changelog +++ mlview-0.9.0/debian/changelog @@ -0,0 +1,122 @@ +mlview (0.9.0-1) unstable; urgency=low + + * New upstream version (Closes: #335425): + - fix "freeze when editing an XML file" (Closes: #310713) + Enhancements since 0.8.0 + - switch the codebase to C++, use Gtkmm yay! + - initial preferences support + - rework application preference storage management + - integrate MlView Clipboard with the native clipboard + (works for the tree view only) + - rework the view management internals + - added a dialog to execute a script on a currend document + - initial support for loadable modules + Bugs fixed since 0.8.0 + - #30992 new view tab title broken + - #309917 compilation fixed + - various gcc 4 compilation fixes + * debian/control: + - Build-Depends on libgtksourceview-dev, libvte-dev, libgnomevfs2-dev, + libglademm-2.4-dev, libgtkmm-2.4-dev + - updated glib, gtk requirements according to configure + - updated Standards-Version to 3.7.2 + * debian/mlview.menu: + - uppdated + * debian/patches/01_fix_binary_name.patch: + - fix binary name to use for the .desktop menu item + * debian/patches/90_from_bugzilla_fix_build_with_new_gcc.patch: + - patch from http://bugzilla.gnome.org/show_bug.cgi?id=342511, + fix the build with the new gcc + + -- Sebastien Bacher Sun, 13 Aug 2006 14:18:53 +0200 + +mlview (0.7.1-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Sun, 7 Nov 2004 17:40:18 +0100 + +mlview (0.7.0-1) unstable; urgency=low + + * New upstream release. + * debian/control.in: + - updated the Build-Depends. + - updated the Standards-Version to 3.6.1.1. + * debian/patches/fix-build.patch: + - removed, the change is in the new version. + * debian/watch: + - updated. + + -- Sebastien Bacher Sun, 3 Oct 2004 01:14:35 +0200 + +mlview (0.6.3-5) unstable; urgency=low + + * debian/postinst: + - removed, dh_gconf handles it. + * debian/watch: + - added. + + -- Sebastien Bacher Fri, 6 Aug 2004 00:58:08 +0200 + +mlview (0.6.3-4) unstable; urgency=low + + * debian/control: + - removed the Build-Depends on libgnutls10-dev, updated the + libgnomeui-dev one (Closes: #263679). + + -- Sebastien Bacher Thu, 5 Aug 2004 15:41:13 +0200 + +mlview (0.6.3-3) unstable; urgency=low + + * Rebuilt with gnutls10. + * debian/rules: + - copy icons in /usr/share/pixmaps/ + + -- Sebastien Bacher Fri, 2 Jul 2004 18:55:16 +0200 + +mlview (0.6.3-2) unstable; urgency=low + + * debian/patches/fix-build.patch: + + patch from arch upstream source to fix build on alpha. + + -- Sebastien Bacher Tue, 11 May 2004 23:55:05 +0200 + +mlview (0.6.3-1) unstable; urgency=low + + * New upstream release. + * debian/mlview.menu: + + use the xpm icon (Closes: #246137). + + -- Sebastien Bacher Tue, 11 May 2004 19:43:23 +0200 + +mlview (0.6.2-2) unstable; urgency=low + + * Adding missing Build-Depends on libxslt1-dev and libeel2-dev + (Closes: #225235). + + -- Sebastien Bacher Sun, 28 Dec 2003 12:05:13 +0100 + +mlview (0.6.2-1) unstable; urgency=low + + * New upstream release. + + -- Sebastien Bacher Sat, 20 Dec 2003 11:32:08 +0100 + +mlview (0.6.0-3) unstable; urgency=low + + * Builded with Gnome2.2 libs. + + -- Sebastien Bacher Thu, 16 Oct 2003 17:44:06 +0200 + +mlview (0.6.0-2) unstable; urgency=low + + * Added a menu entry (Closes: #213899). + + -- Sebastien Bacher Thu, 16 Oct 2003 03:02:44 +0200 + +mlview (0.6.0-1) unstable; urgency=low + + * Initial Release. + + -- Sebastien Bacher Sun, 14 Sep 2003 15:50:49 +0200 + --- mlview-0.9.0.orig/debian/mlview.menu +++ mlview-0.9.0/debian/mlview.menu @@ -0,0 +1,6 @@ +?package(mlview):\ + needs="X11"\ + section="Apps/Editors"\ + title="MlView XML editor"\ + icon="/usr/share/pixmaps/mlview-app-icon.xpm"\ + command="/usr/bin/mlview" --- mlview-0.9.0.orig/debian/control +++ mlview-0.9.0/debian/control @@ -0,0 +1,28 @@ +Source: mlview +Section: editors +Priority: optional +Maintainer: Sebastien Bacher +Build-Depends: cdbs, debhelper (>> 4.0.0), libgnomeui-dev (>= 2.6.1.1-4), libxml2-dev (>= 2.6.11), libgtk2.0-dev (>= 2.6), libglib2.0-dev (>= 2.6), libgconf2-dev (>= 2.6.2), libglade2-dev (>= 2.0), libxslt1-dev (>= 1.1.8), libeel2-dev (>= 2.6.2), libxml-parser-perl, libxext-dev, libgtksourceview-dev (>= 1.0), libvte-dev (>= 0.11.12), libgnomevfs2-dev (>= 2.6.0), libglademm-2.4-dev, libgtkmm-2.4-dev +Standards-Version: 3.7.2 + +Package: mlview +Architecture: any +Depends: ${shlibs:Depends} ${misc:Depends} +Description: An xml editor for GNOME environment + Some features: + . + * cut/copy/paste as child/paste as prev/paste as next/ of xml elements + * xml element/attributes search + * multi docs edition + * Several editing views can be opened on the same document + * drag and drop based copy/cut/past of xml elements + * edition of xml elements and attributes can be made directly on the tree + * namespace support + * on-demand validation + * graphical error reporting. Parse/validation time errors reported + graphically. + * when validation is switched on, MlView proposes an elements/attributes + completion feature. When an element is added to the tree, MlView also add + the children elements required by the DTD for the document to be valid. + * Validation can be switched off. The xml document editon can then be done + without any constraint. --- mlview-0.9.0.orig/debian/watch +++ mlview-0.9.0/debian/watch @@ -0,0 +1,4 @@ +version=2 +ftp://ftp.gnome.org/pub/GNOME/sources/mlview/0.7/ \ + mlview-(.*)\.tar\.gz \ + debian uupdate --- mlview-0.9.0.orig/debian/rules +++ mlview-0.9.0/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_SHLIBDEPS_INCLUDE_mlview := debian/mlview/usr/lib/ + +binary-post-install/mlview:: + rm -f debian/mlview/usr/lib/libmlview.la + rm -f debian/mlview/usr/lib/libmlview.a + rm -f debian/mlview/usr/lib/libmlview.so + cp debian/mlview/usr/share/mlview/mlview-app-icon.* debian/mlview/usr/share/pixmaps/ --- mlview-0.9.0.orig/debian/mlview.dirs +++ mlview-0.9.0/debian/mlview.dirs @@ -0,0 +1 @@ +/usr/share/pixmaps/ --- mlview-0.9.0.orig/debian/docs +++ mlview-0.9.0/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- mlview-0.9.0.orig/debian/compat +++ mlview-0.9.0/debian/compat @@ -0,0 +1 @@ +4 --- mlview-0.9.0.orig/debian/copyright +++ mlview-0.9.0/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Sebastien Bacher on +Sun, 14 Sep 2003 15:50:49 +0200. + +It was downloaded from http://ftp.gnome.org/pub/gnome/sources/ + +Upstream Authors: Dodji Seketeli + Gaël Chamoulaud + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. +