Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  3 Jan 2005 16:53:43 +0100 (CET)
From:      Simon Barner <barner@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75749: [maintainer] editors/mlview: update to 0.7.1
Message-ID:  <20050103155343.BAAF8C110@zi025.glhnet.mhn.de>
Resent-Message-ID: <200501031600.j03G0o6q042749@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75749
>Category:       ports
>Synopsis:       [maintainer] editors/mlview: update to 0.7.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 03 16:00:49 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
FreeBSD zi025.glhnet.mhn.de 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Nov  5 02:17:53 CET 2004     root@zi025.glhnet.mhn.de:/usr/obj/usr/src/sys/KISTE  i386

>Description:

>From the NEWS file:

Various bugfixes and enhancements, e.g. uses new file-choose dialogue,
infinite undo/redo, ...

I hope patching mlview.desktop in order to get the icon displayed is okay.
I suppose installing mlview-app-icon.png into share/gnome/pixmaps would be a
cleaner solution, but it would be much more complicated to implement.
(The pixmap issue has already been mentioned in ports/69635, and I recall
having taked to the author about it, but he did not want to change the
location because it wouldn't work for him on Linux otherwise :-/)

In any case, the current solution works, and I don't think this tiny detail is
worth wasting more time...

>How-To-Repeat:
N/A

>Fix:

--- mlview.patch starts here ---
diff -ruN mlview.orig/Makefile mlview/Makefile
--- mlview.orig/Makefile	Mon Jan  3 15:39:57 2005
+++ mlview/Makefile	Mon Jan  3 15:48:39 2005
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	mlview
-PORTVERSION=	0.6.3
-PORTREVISION=	1
+PORTVERSION=	0.7.1
 CATEGORIES=	editors gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.6
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.7
 DIST_SUBDIR=	gnome2
 
 MAINTAINER=	barner@gmx.de
@@ -18,7 +17,7 @@
 
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
-USE_AUTOCONF_VER=	253
+USE_AUTOCONF_VER=	259
 USE_GNOME=	gnomeprefix gnomehack eel2
 USE_GMAKE=	yes
 USE_LIBTOOL_VER=15
diff -ruN mlview.orig/distinfo mlview/distinfo
--- mlview.orig/distinfo	Mon Jan  3 15:39:57 2005
+++ mlview/distinfo	Mon Jan  3 15:41:51 2005
@@ -1,2 +1,2 @@
-MD5 (gnome2/mlview-0.6.3.tar.bz2) = 6975d10f92deddfee4b02153aafc6bcd
-SIZE (gnome2/mlview-0.6.3.tar.bz2) = 483344
+MD5 (gnome2/mlview-0.7.1.tar.bz2) = 85383331e5bb6d59293cee5b86595284
+SIZE (gnome2/mlview-0.7.1.tar.bz2) = 635825
diff -ruN mlview.orig/files/patch-mlview.desktop.in mlview/files/patch-mlview.desktop.in
--- mlview.orig/files/patch-mlview.desktop.in	Thu Jan  1 01:00:00 1970
+++ mlview/files/patch-mlview.desktop.in	Mon Jan  3 16:39:16 2005
@@ -0,0 +1,11 @@
+--- mlview.desktop.in.orig	Mon Jan  3 16:38:27 2005
++++ mlview.desktop.in	Mon Jan  3 16:38:43 2005
+@@ -6,7 +6,7 @@
+ GenericName=MlView Generic XML Editor
+ Categories=GNOME;Application;Office;TextEditor;
+ Comment=A generic simple and powerfull XML editor for GNOME
+-Icon=mlview-app-icon.xpm
++Icon=../mlview/mlview-app-icon.xpm
+ TryExec=mlv
+ Exec=mlv %F
+ Terminal=false
diff -ruN mlview.orig/files/patch-src-mlview-tree-view.c mlview/files/patch-src-mlview-tree-view.c
--- mlview.orig/files/patch-src-mlview-tree-view.c	Mon Jan  3 15:39:57 2005
+++ mlview/files/patch-src-mlview-tree-view.c	Thu Jan  1 01:00:00 1970
@@ -1,15 +0,0 @@
---- src/mlview-tree-view.c.orig	Sat May  1 23:36:40 2004
-+++ src/mlview-tree-view.c	Wed Jul 28 15:25:16 2004
-@@ -746,11 +746,11 @@
- mlview_tree_view_build_contextual_menu (MlViewTreeView *a_this)
- {
-         struct TreeEditorContextualMenuHandle *menu_handle = NULL ;
-+        GtkWidget *menu = NULL, *menuitem = NULL, *submenu = NULL;
-         
-         g_return_val_if_fail (a_this
-                               && MLVIEW_IS_TREE_VIEW (a_this),
-                               MLVIEW_BAD_PARAM_ERROR) ;
--        GtkWidget *menu = NULL, *menuitem = NULL, *submenu = NULL;
- 
-         menu_handle = g_try_malloc
-                 (sizeof (struct TreeEditorContextualMenuHandle)) ;
diff -ruN mlview.orig/pkg-plist mlview/pkg-plist
--- mlview.orig/pkg-plist	Mon Jan  3 15:39:57 2005
+++ mlview/pkg-plist	Mon Jan  3 16:06:17 2005
@@ -4,23 +4,30 @@
 @exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/mlview.schemas > /dev/null || /usr/bin/true
 lib/libmlview.a
 lib/libmlview.so
-lib/libmlview.so.5
+lib/libmlview.so.7
 share/gnome/applications/mlview.desktop
+share/gnome/mlview/main-menu-bar.xml
+share/gnome/mlview/main-toolbar.xml
+share/gnome/mlview/mlview-app-icon.png
+share/gnome/mlview/mlview-app-icon.xpm
 share/gnome/mlview/mlview-css-picker.glade
-share/gnome/mlview/mlview-dtd-choice.glade
 share/gnome/mlview/mlview-dtd-choice-dtd-not-resolved.glade
+share/gnome/mlview/mlview-dtd-choice.glade
 share/gnome/mlview/mlview-main-app-win.glade
+share/gnome/mlview/mlview-main-app-win2.glade
 share/gnome/mlview/mlview-preferences.glade
-share/gnome/mlview/tree-view-find-dialog.glade
-share/gnome/mlview/mlview-app-icon.png
-share/gnome/mlview/mlview-app-icon.xpm
+share/gnome/mlview/mlview-schemas-window.glade
+share/gnome/mlview/mlview-search-node.glade
+share/gnome/mlview/mlview-uri-dialog.glade
+share/gnome/mlview/mlview-validation-report.glade
+share/gnome/mlview/tree-view-edit-menu.xml
 share/gnome/mlview/xml-comment-node.png
-share/gnome/mlview/xml-element-node.png
 share/gnome/mlview/xml-element-node-open.png
+share/gnome/mlview/xml-element-node.png
 share/gnome/mlview/xml-entity-ref-node.png
 share/gnome/mlview/xml-pi-node.png
-share/gnome/mlview/xml-root.png
 share/gnome/mlview/xml-root-open.png
+share/gnome/mlview/xml-root.png
 share/gnome/mlview/xml-text-node.png
 share/locale/az/LC_MESSAGES/mlview.mo
 share/locale/ca/LC_MESSAGES/mlview.mo
--- mlview.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050103155343.BAAF8C110>