summaryrefslogtreecommitdiff
path: root/editors/mlview
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-03-24 16:22:57 +0000
committerabs <abs@pkgsrc.org>2009-03-24 16:22:57 +0000
commit4e547ccea6bd3157d03db9bfb7ddb3483684d595 (patch)
treeb988a3f5cd20546aaa90a437ab1f4cb067de8de4 /editors/mlview
parent258824ec899fe78c6fc5feb965d03c485424ac51 (diff)
downloadpkgsrc-4e547ccea6bd3157d03db9bfb7ddb3483684d595.tar.gz
Updated editors/mlview to 0.9.0
The changelog since 0.7 is 5000+ lines, some highlights include: + Desktop DnD polishing + Update GNOME mime database at install/uninstall + Previously Opened Files History (HIG: File Menu) + Revert to Saved (HIG: File > Revert) + Tree view widget proportions should be settings
Diffstat (limited to 'editors/mlview')
-rw-r--r--editors/mlview/Makefile16
-rw-r--r--editors/mlview/PLIST24
-rw-r--r--editors/mlview/distinfo14
-rw-r--r--editors/mlview/patches/patch-aa15
-rw-r--r--editors/mlview/patches/patch-ab13
-rw-r--r--editors/mlview/patches/patch-ac13
-rw-r--r--editors/mlview/patches/patch-ad19
-rw-r--r--editors/mlview/patches/patch-ae13
-rw-r--r--editors/mlview/patches/patch-af13
9 files changed, 126 insertions, 14 deletions
diff --git a/editors/mlview/Makefile b/editors/mlview/Makefile
index eb80150d0d5..6eb6a40fd27 100644
--- a/editors/mlview/Makefile
+++ b/editors/mlview/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2008/07/14 12:56:03 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2009/03/24 16:22:57 abs Exp $
#
-DISTNAME= mlview-0.7.0
-PKGREVISION= 14
+DISTNAME= mlview-0.9.0
CATEGORIES= editors gnome
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/mlview/0.7/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/mlview/0.9/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -17,15 +16,16 @@ GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.1
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_LIBTOOL= yes
+USE_LANGUAGES+= c c++
USE_PKGLOCALEDIR= yes
GCONF_SCHEMAS= mlview.schemas
.include "../../devel/GConf/schemas.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/eel/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/libglade/buildlink3.mk"
+.include "../../devel/libglademm/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
@@ -33,4 +33,8 @@ GCONF_SCHEMAS= mlview.schemas
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
+.include "../../x11/gtksourceview/buildlink3.mk"
+.include "../../x11/vte/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/mlview/PLIST b/editors/mlview/PLIST
index 21e54665546..3922eca0c2d 100644
--- a/editors/mlview/PLIST
+++ b/editors/mlview/PLIST
@@ -1,6 +1,11 @@
-@comment $NetBSD: PLIST,v 1.5 2007/09/25 10:54:12 hira Exp $
-bin/mlv
+@comment $NetBSD: PLIST,v 1.6 2009/03/24 16:22:57 abs Exp $
+bin/mlview
+bin/mlviewctl
lib/libmlview.la
+lib/libmlviewdbusclient.la
+lib/mlview/plugins/firstplugin.xml
+lib/mlview/plugins/libfirstplugin.la
+share/application-registry/mlview.applications
share/applications/mlview.desktop
share/gconf/schemas/mlview.schemas
share/locale/az/LC_MESSAGES/mlview.mo
@@ -24,20 +29,29 @@ share/locale/ru/LC_MESSAGES/mlview.mo
share/locale/sr/LC_MESSAGES/mlview.mo
share/locale/sr@Latn/LC_MESSAGES/mlview.mo
share/locale/sv/LC_MESSAGES/mlview.mo
+share/mime-info/mlview.keys
share/mlview/main-menu-bar.xml
share/mlview/main-toolbar.xml
share/mlview/mlview-app-icon.png
-share/mlview/mlview-app-icon.xpm
share/mlview/mlview-css-picker.glade
share/mlview/mlview-dtd-choice-dtd-not-resolved.glade
share/mlview/mlview-dtd-choice.glade
+share/mlview/mlview-dtd-schema.png
+share/mlview/mlview-exec-command.glade
share/mlview/mlview-main-app-win.glade
share/mlview/mlview-main-app-win2.glade
-share/mlview/mlview-preferences.glade
+share/mlview/mlview-new-document.glade
+share/mlview/mlview-node-editor.glade
+share/mlview/mlview-plugins-window.glade
+share/mlview/mlview-prefs-window.glade
+share/mlview/mlview-rng-schema.png
share/mlview/mlview-schemas-window.glade
+share/mlview/mlview-search-box.glade
share/mlview/mlview-search-node.glade
share/mlview/mlview-uri-dialog.glade
share/mlview/mlview-validation-report.glade
+share/mlview/mlview-xsd-schema.png
+share/mlview/source-view-edit-menu.xml
share/mlview/tree-view-edit-menu.xml
share/mlview/xml-comment-node.png
share/mlview/xml-element-node-open.png
@@ -47,6 +61,8 @@ share/mlview/xml-pi-node.png
share/mlview/xml-root-open.png
share/mlview/xml-root.png
share/mlview/xml-text-node.png
+share/pixmaps/mlview-app-icon.png
+share/pixmaps/mlview-app-icon.xpm
@dirrm share/mlview
@comment in GConf: @dirrm share/gconf/schemas
@comment in xdg-dirs: @dirrm share/applications
diff --git a/editors/mlview/distinfo b/editors/mlview/distinfo
index 7e824bc55b3..b860bb7715f 100644
--- a/editors/mlview/distinfo
+++ b/editors/mlview/distinfo
@@ -1,5 +1,11 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 17:15:11 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/03/24 16:22:57 abs Exp $
-SHA1 (mlview-0.7.0.tar.bz2) = 9c6333a726f7998f3dc8cc258c781e4568c5151e
-RMD160 (mlview-0.7.0.tar.bz2) = 57f5c9164e2f14e9e5004b0aeeaf58b2eb7656f3
-Size (mlview-0.7.0.tar.bz2) = 632125 bytes
+SHA1 (mlview-0.9.0.tar.bz2) = 1e2d8e03747ffaaacbf9db15e8a7dabf573cee22
+RMD160 (mlview-0.9.0.tar.bz2) = 6b810b478dbdb76dd4bb28fe627e455410f89ea7
+Size (mlview-0.9.0.tar.bz2) = 754148 bytes
+SHA1 (patch-aa) = 8aea683a974324d2941a3add0e950fd57b0e83d5
+SHA1 (patch-ab) = 8f86d0e24a6f4cee0eb19e896368358df13d70c5
+SHA1 (patch-ac) = 64ef210c50aee3b9a424850d42749d84ca177778
+SHA1 (patch-ad) = bbc891000735b51873d1d0933e4bb329b7cd490e
+SHA1 (patch-ae) = c3ae0179ffc01facfa6114268659a367a94e70a8
+SHA1 (patch-af) = 7634baf770bc177c3d9a9bcca9924880c4fd08da
diff --git a/editors/mlview/patches/patch-aa b/editors/mlview/patches/patch-aa
new file mode 100644
index 00000000000..aee2e9efbcf
--- /dev/null
+++ b/editors/mlview/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.3 2009/03/24 16:22:57 abs Exp $
+
+--- src/mlview-utils.h.orig 2005-08-07 08:42:29.000000000 +0100
++++ src/mlview-utils.h
+@@ -143,6 +143,10 @@ struct NameValuePair
+
+ #define MLVIEW_LOG_DOMAIN "MLVIEW"
+
++/* Not all systems provide __ASSERT_FUNCTION */
++#ifndef __ASSERT_FUNCTION
++# define __ASSERT_FUNCTION __func__
++#endif
+
+ #define mlview_utils_trace(message, ...) \
+ fprintf (stderr, "mlview-debug: %s: in file %s: line %d: (%s)\n",\
diff --git a/editors/mlview/patches/patch-ab b/editors/mlview/patches/patch-ab
new file mode 100644
index 00000000000..f17e8f2bcd0
--- /dev/null
+++ b/editors/mlview/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2009/03/24 16:22:57 abs Exp $
+
+--- src/mlview-source-view.h.orig 2005-08-07 08:42:28.000000000 +0100
++++ src/mlview-source-view.h
+@@ -53,7 +53,7 @@ public:
+
+ enum MlViewStatus set_default_options () ;
+
+- MlViewXMLDocument* SourceView::get_document () ;
++ MlViewXMLDocument* get_document () ;
+
+ GtkUIManager * get_ui_manager () ;
+
diff --git a/editors/mlview/patches/patch-ac b/editors/mlview/patches/patch-ac
new file mode 100644
index 00000000000..da892f51f9d
--- /dev/null
+++ b/editors/mlview/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2009/03/24 16:22:57 abs Exp $
+
+--- src/mlview-tree-view.h.orig 2005-07-22 20:14:28.000000000 +0100
++++ src/mlview-tree-view.h
+@@ -178,7 +178,7 @@ protected:
+
+ enum MlViewStatus build_app_edit_menu () ;
+
+- GtkDialog * TreeView::get_expand_tree_dialog () ;
++ GtkDialog * get_expand_tree_dialog () ;
+
+ void clear_completion_popup_submenus () ;
+
diff --git a/editors/mlview/patches/patch-ad b/editors/mlview/patches/patch-ad
new file mode 100644
index 00000000000..03b366ce887
--- /dev/null
+++ b/editors/mlview/patches/patch-ad
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1 2009/03/24 16:22:57 abs Exp $
+
+--- src/mlview-plugin.h.orig 2005-08-07 08:47:54.000000000 +0100
++++ src/mlview-plugin.h
+@@ -46,12 +46,12 @@ namespace mlview {
+
+ //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 () ;
+
diff --git a/editors/mlview/patches/patch-ae b/editors/mlview/patches/patch-ae
new file mode 100644
index 00000000000..5a7f088157e
--- /dev/null
+++ b/editors/mlview/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2009/03/24 16:22:57 abs Exp $
+
+--- src/mlview-editor.cc.orig 2005-08-07 08:42:28.000000000 +0100
++++ src/mlview-editor.cc
+@@ -157,7 +157,7 @@ struct EditorPriv
+ contextual_menu (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
diff --git a/editors/mlview/patches/patch-af b/editors/mlview/patches/patch-af
new file mode 100644
index 00000000000..5374f4299eb
--- /dev/null
+++ b/editors/mlview/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2009/03/24 16:22:57 abs Exp $
+
+--- src/mlview-exec-command-dialog.cc.orig 2005-08-07 08:47:54.000000000 +0100
++++ src/mlview-exec-command-dialog.cc
+@@ -33,6 +33,8 @@
+ #include <libglademm.h>
+ #include "mlview-exec-command-dialog.h"
+
++extern char **environ;
++
+ namespace mlview
+ {
+