--- mlview-0.6.3.orig/debian/patches/fix-build.patch +++ mlview-0.6.3/debian/patches/fix-build.patch @@ -0,0 +1,14 @@ +--- orig/src/mlview-utils.c ++++ src/mlview-utils.c +@@ -3386,7 +3386,7 @@ + GtkWidget *err_dialog = NULL ; + gchar *err_msg = NULL; + +- g_return_if_fail (a_msg_format && a_params); ++ g_return_if_fail (a_msg_format && a_ctxt); + + err_msg = g_strdup_vprintf (a_msg_format, a_params); + g_return_if_fail (err_msg != NULL); + + + --- mlview-0.6.3.orig/debian/postinst +++ mlview-0.6.3/debian/postinst @@ -0,0 +1,33 @@ +#! /bin/sh + +set -e + +SCHEMAS_FILES="mlview.schemas" + +case "$1" in + configure) + for FILES in $SCHEMAS_FILES; do + if [ -e /etc/gconf/schemas/$FILES ]; then + echo -n "Installing gconf schema : $FILES ... " + HOME=/root GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults \ + gconftool-2 \ + --makefile-install-rule /etc/gconf/schemas/$FILES > /dev/null + echo "[ok] " + fi + done + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + --- mlview-0.6.3.orig/debian/rules +++ mlview-0.6.3/debian/rules @@ -0,0 +1,16 @@ +#!/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 + + + --- mlview-0.6.3.orig/debian/mlview.menu +++ mlview-0.6.3/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/mlv" --- mlview-0.6.3.orig/debian/changelog +++ mlview-0.6.3/debian/changelog @@ -0,0 +1,46 @@ +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.6.3.orig/debian/control +++ mlview-0.6.3/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.0.3), libxml2-dev (>= 2.4.30), libgtk2.0-dev (>= 2.0.6), libglade2-dev (>= 2.0), libxslt1-dev, libeel2-dev, libxml-parser-perl, libxext-dev +Standards-Version: 3.6.1.0 + +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.6.3.orig/debian/docs +++ mlview-0.6.3/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- mlview-0.6.3.orig/debian/compat +++ mlview-0.6.3/debian/compat @@ -0,0 +1 @@ +4 --- mlview-0.6.3.orig/debian/copyright +++ mlview-0.6.3/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'. +