diff options
author | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-26 20:10:13 +0800 |
---|---|---|
committer | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-26 20:10:13 +0800 |
commit | aa568ea0b771ee0a4bec19652ef2e07b5b9158d4 (patch) | |
tree | 7310b4050824b1826c164d0f02974e8f297af9cf /editors | |
parent | a2f8301406f9e42faacadf5459cd71e093e258e3 (diff) | |
download | marcuscom-ports-aa568ea0b771ee0a4bec19652ef2e07b5b9158d4.tar.gz marcuscom-ports-aa568ea0b771ee0a4bec19652ef2e07b5b9158d4.tar.zst marcuscom-ports-aa568ea0b771ee0a4bec19652ef2e07b5b9158d4.zip |
Add depend on libgnomeui.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13031 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r-- | editors/mlview/Makefile | 46 | ||||
-rw-r--r-- | editors/mlview/distinfo | 3 | ||||
-rw-r--r-- | editors/mlview/files/patch-configure.in | 14 | ||||
-rw-r--r-- | editors/mlview/files/patch-desktop.in | 19 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-app-context.c | 18 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-editor-dbc.c | 22 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-editor-dbo.c | 22 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-ping-dbc.c | 22 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-ping-dbo.c | 22 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-service.c | 39 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-source-view.c | 23 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-tree-view.c | 23 | ||||
-rw-r--r-- | editors/mlview/files/patch-src_mlview-view-adapter.c | 23 | ||||
-rw-r--r-- | editors/mlview/pkg-descr | 4 | ||||
-rw-r--r-- | editors/mlview/pkg-plist | 66 |
15 files changed, 366 insertions, 0 deletions
diff --git a/editors/mlview/Makefile b/editors/mlview/Makefile new file mode 100644 index 000000000..3c86b2086 --- /dev/null +++ b/editors/mlview/Makefile @@ -0,0 +1,46 @@ +# Ports collection Makefile for: mlview +# Date created: 24 September 2003 +# Whom: Simon Barner <barner@gmx.de> +# +# $FreeBSD: ports/editors/mlview/Makefile,v 1.35 2009/08/02 19:33:42 mezz Exp $ +# + +PORTNAME= mlview +PORTVERSION= 0.8 +PORTREVISION= 10 +CATEGORIES= editors gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= ports@FreeBSD.org +COMMENT= A tree oriented XML editor for Gnome + +USE_BZIP2= yes +USE_AUTOTOOLS= autoconf:262 libtool:22 +USE_GNOME= eel2 gnomehack gnomeprefix gtksourceview libgnomeui +USE_GMAKE= yes +USE_LDCONFIG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags gnome-vfs-2.0 libgnomeui-2.0`" LIBS="-L${LOCALBASE}/lib `pkg-config --libs gnome-vfs-2.0 libgnomeui-2.0`" + +GCONF_SCHEMAS= mlview.schemas + +.include <bsd.port.pre.mk> + +# Autodetect dbus +.if exists (${LOCALBASE}/lib/libdbus-1.so.3) +WITH_DBUS= yes +.endif + +.if defined (WITH_DBUS) +LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +CONFIGURE_ARGS+="--enable-dbus=yes" +.endif + +pre-everything:: +.if !defined (WITH_DBUS) + @${ECHO_CMD} + @${ECHO_CMD} Re-run with -DWITH_DBUS in order to enable dbus support! + @${ECHO_CMD} +.endif + +.include <bsd.port.post.mk> diff --git a/editors/mlview/distinfo b/editors/mlview/distinfo new file mode 100644 index 000000000..f401ab110 --- /dev/null +++ b/editors/mlview/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/mlview-0.8.tar.bz2) = ffbf4dbbe32d8312ca516633bf57b921 +SHA256 (gnome2/mlview-0.8.tar.bz2) = 5e27abcac30b00136470abb6eb7c2551b4ae1920267e796ab5131e9a41b1ee51 +SIZE (gnome2/mlview-0.8.tar.bz2) = 728600 diff --git a/editors/mlview/files/patch-configure.in b/editors/mlview/files/patch-configure.in new file mode 100644 index 000000000..46ba9f2cf --- /dev/null +++ b/editors/mlview/files/patch-configure.in @@ -0,0 +1,14 @@ +--- configure.in.orig 2005-07-03 17:17:49.000000000 +0000 ++++ configure.in 2008-08-04 13:30:02.000000000 +0000 +@@ -69,6 +69,5 @@ + +-MLVIEW_EXE=$prefix/bin/mlv ++MLVIEW_EXE=$prefix/bin/mlview + AC_SUBST(MLVIEW_VERSION_NUMBER) + AC_SUBST(MLVIEW_VERSION) +-AC_SUBST(AC_PACKAGE_VERSION) + AC_SUBST(LIBMLVIEW_VERSION_NUMBER) +@@ -76,3 +75,2 @@ + AC_SUBST(LIBMLVIEW_VERSION) +-AC_SUBST(AC_PACKAGE_VERSION) + AC_SUBST(MLVIEW_EXE) diff --git a/editors/mlview/files/patch-desktop.in b/editors/mlview/files/patch-desktop.in new file mode 100644 index 000000000..4dfbe32c7 --- /dev/null +++ b/editors/mlview/files/patch-desktop.in @@ -0,0 +1,19 @@ +--- mlview.desktop.in.orig Sat Jun 25 14:57:05 2005 ++++ mlview.desktop.in Sat Jul 23 13:02:57 2005 +@@ -1,13 +1,13 @@ + [Desktop Entry] +-Version=0.9.4 ++Version=0.8.0 + Encoding=UTF-8 + Type=Application + Name=MlView XML Editor + GenericName=MlView Generic XML Editor + Categories=Application;Development; + Comment=A generic simple XML editor for GNOME +-Icon=mlview-app-icon.xpm +-TryExec=mlv ++Icon=mlview-app-icon.xpm ++TryExec=mlview + Exec=@MLVIEW_EXE@ %F + Terminal=false + diff --git a/editors/mlview/files/patch-src_mlview-app-context.c b/editors/mlview/files/patch-src_mlview-app-context.c new file mode 100644 index 000000000..3265da17e --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-app-context.c @@ -0,0 +1,18 @@ +--- src/mlview-app-context.c.orig Tue Jan 11 09:37:44 2005 ++++ src/mlview-app-context.c Tue Jan 11 09:38:02 2005 +@@ -1348,13 +1348,14 @@ + mlview_app_context_get_file_chooser (MlViewAppContext *a_this, + const gchar *a_title, MlViewFileChooserMode a_mode) + { ++ GtkWidget * parent_window = NULL ; ++ + g_return_val_if_fail (a_this + && MLVIEW_IS_APP_CONTEXT (a_this) + && PRIVATE (a_this), + NULL) ; + + /*if (!PRIVATE (a_this)->file_chooser) {*/ +- GtkWidget * parent_window = NULL ; + + parent_window = mlview_app_context_get_element (a_this, + "MlViewMainWindow") ; diff --git a/editors/mlview/files/patch-src_mlview-editor-dbc.c b/editors/mlview/files/patch-src_mlview-editor-dbc.c new file mode 100644 index 000000000..c95ef6817 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-editor-dbc.c @@ -0,0 +1,22 @@ +--- src/mlview-editor-dbc.c.orig Mon Sep 5 12:55:40 2005 ++++ src/mlview-editor-dbc.c Mon Sep 5 12:56:44 2005 +@@ -168,13 +168,16 @@ + 0, + (GInstanceInitFunc)mlview_editor_dbc_init + } ; +- type = g_type_register_static (G_TYPE_OBJECT, +- "MlViewEditorDBC", +- &type_info, 0) ; ++ + static const GInterfaceInfo idbc_info = { + (GInterfaceInitFunc) mlview_editor_dbc_idbc_init, + NULL, NULL + } ; ++ ++ type = g_type_register_static (G_TYPE_OBJECT, ++ "MlViewEditorDBC", ++ &type_info, 0) ; ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IDBC, + &idbc_info) ; + } diff --git a/editors/mlview/files/patch-src_mlview-editor-dbo.c b/editors/mlview/files/patch-src_mlview-editor-dbo.c new file mode 100644 index 000000000..853d30d25 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-editor-dbo.c @@ -0,0 +1,22 @@ +--- src/mlview-editor-dbo.c.orig Mon Sep 5 12:50:28 2005 ++++ src/mlview-editor-dbo.c Mon Sep 5 12:51:41 2005 +@@ -303,14 +303,16 @@ + 0, + (GInstanceInitFunc) mlview_editor_dbo_init + } ; +- type = g_type_register_static (G_TYPE_OBJECT, +- "MlViewEditorDBO", +- &type_info, 0) ; + + static const GInterfaceInfo idbo_info = { + (GInterfaceInitFunc) mlview_editor_dbo_idbo_init, + NULL, NULL + } ; ++ ++ type = g_type_register_static (G_TYPE_OBJECT, ++ "MlViewEditorDBO", ++ &type_info, 0) ; ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IDBO, + &idbo_info) ; + } diff --git a/editors/mlview/files/patch-src_mlview-ping-dbc.c b/editors/mlview/files/patch-src_mlview-ping-dbc.c new file mode 100644 index 000000000..8d5b65506 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-ping-dbc.c @@ -0,0 +1,22 @@ +--- src/mlview-ping-dbc.c.orig Mon Sep 5 12:57:39 2005 ++++ src/mlview-ping-dbc.c Mon Sep 5 12:58:35 2005 +@@ -166,14 +166,16 @@ + 0, + (GInstanceInitFunc) mlview_ping_dbc_init + } ; +- type = g_type_register_static (G_TYPE_OBJECT, +- "MlViewPingDBC", +- &type_info, 0) ; + + static const GInterfaceInfo idbc_info = { + (GInterfaceInitFunc) mlview_ping_dbc_idbc_init, + NULL, NULL + } ; ++ ++ type = g_type_register_static (G_TYPE_OBJECT, ++ "MlViewPingDBC", ++ &type_info, 0) ; ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IDBC, + &idbc_info) ; + } diff --git a/editors/mlview/files/patch-src_mlview-ping-dbo.c b/editors/mlview/files/patch-src_mlview-ping-dbo.c new file mode 100644 index 000000000..72dd45a7c --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-ping-dbo.c @@ -0,0 +1,22 @@ +--- src/mlview-ping-dbo.c.orig Mon Sep 5 12:52:49 2005 ++++ src/mlview-ping-dbo.c Mon Sep 5 12:53:50 2005 +@@ -362,13 +362,16 @@ + 0, + (GInstanceInitFunc) mlview_ping_dbo_init + } ; +- type = g_type_register_static (G_TYPE_OBJECT, +- "MlViewPingDBO", +- &type_info, 0) ; ++ + static const GInterfaceInfo idbo_info = { + (GInterfaceInitFunc) mlview_ping_dbo_idbo_init, + NULL, NULL + } ; ++ ++ type = g_type_register_static (G_TYPE_OBJECT, ++ "MlViewPingDBO", ++ &type_info, 0) ; ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IDBO, + &idbo_info) ; + } diff --git a/editors/mlview/files/patch-src_mlview-service.c b/editors/mlview/files/patch-src_mlview-service.c new file mode 100644 index 000000000..c9bdba8f2 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-service.c @@ -0,0 +1,39 @@ +--- src/mlview-service.c.orig Sat Jul 23 12:10:16 2005 ++++ src/mlview-service.c Sat Jul 23 12:23:14 2005 +@@ -282,23 +282,23 @@ + service_name = g_strdup_printf ("%s.%s", + PRIVATE (a_this)->name, + tab) ; +- service_result = dbus_bus_acquire_service ++ service_result = dbus_bus_request_name + (dbus_connection, + service_name, 0, &dbus_error) ; + + switch (service_result) { +- case DBUS_SERVICE_REPLY_PRIMARY_OWNER: ++ case DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER: + /*we started the service, OK*/ + mlview_utils_trace_debug + ("Service name: %s registered\n", + service_name) ; + status = register_dbus_objects (a_this) ; + break ; +- case DBUS_SERVICE_REPLY_ALREADY_OWNER: ++ case DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER: + /*we were already started as service. OK still*/ + status = MLVIEW_OK ; + break ; +- case DBUS_SERVICE_REPLY_SERVICE_EXISTS: ++ case DBUS_REQUEST_NAME_REPLY_EXISTS: + /* + * an other process has been registered under + * with the same service name. So we can't be registered +@@ -312,7 +312,7 @@ + "moment") ; + } + goto try_service_name ; +- case DBUS_SERVICE_REPLY_IN_QUEUE: ++ case DBUS_REQUEST_NAME_REPLY_IN_QUEUE: + /* + * our request is queued. (bus overcrowded ?) KO + */ diff --git a/editors/mlview/files/patch-src_mlview-source-view.c b/editors/mlview/files/patch-src_mlview-source-view.c new file mode 100644 index 000000000..82cc65126 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-source-view.c @@ -0,0 +1,23 @@ +--- src/mlview-source-view.c.orig Mon Sep 5 12:24:55 2005 ++++ src/mlview-source-view.c Mon Sep 5 12:25:47 2005 +@@ -1321,15 +1321,17 @@ + (GInstanceInitFunc) + mlview_source_view_init + } ; +- type = g_type_register_static +- (MLVIEW_TYPE_VIEW_ADAPTER, +- "MlViewSourceView", &type_info, 0); + + static const GInterfaceInfo iview_info = { + (GInterfaceInitFunc) mlview_source_view_iview_init, + NULL, + NULL + } ; ++ ++ type = g_type_register_static ++ (MLVIEW_TYPE_VIEW_ADAPTER, ++ "MlViewSourceView", &type_info, 0); ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IVIEW, + &iview_info) ; + } diff --git a/editors/mlview/files/patch-src_mlview-tree-view.c b/editors/mlview/files/patch-src_mlview-tree-view.c new file mode 100644 index 000000000..d3811f82c --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-tree-view.c @@ -0,0 +1,23 @@ +--- src/mlview-tree-view.c.orig Mon Sep 5 12:22:34 2005 ++++ src/mlview-tree-view.c Mon Sep 5 12:24:10 2005 +@@ -2628,15 +2628,17 @@ + (GInstanceInitFunc) + mlview_tree_view_init + }; +- type = g_type_register_static +- (MLVIEW_TYPE_VIEW_ADAPTER, +- "MlViewTreeView", &type_info, 0); + + static const GInterfaceInfo iview_info = { + (GInterfaceInitFunc) mlview_tree_view_iview_init, + NULL, + NULL + } ; ++ ++ type = g_type_register_static ++ (MLVIEW_TYPE_VIEW_ADAPTER, ++ "MlViewTreeView", &type_info, 0); ++ + g_type_add_interface_static (type, MLVIEW_TYPE_IVIEW, &iview_info) ; + } + return type; diff --git a/editors/mlview/files/patch-src_mlview-view-adapter.c b/editors/mlview/files/patch-src_mlview-view-adapter.c new file mode 100644 index 000000000..4dac738f4 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-view-adapter.c @@ -0,0 +1,23 @@ +--- src/mlview-view-adapter.c.orig Mon Sep 5 12:19:12 2005 ++++ src/mlview-view-adapter.c Mon Sep 5 12:21:26 2005 +@@ -865,14 +865,17 @@ + (GInstanceInitFunc) + mlview_view_adapter_init + }; +- type_id = g_type_register_static (GTK_TYPE_VBOX, +- "MlViewViewAdapter", +- &type_info, 0); ++ + static const GInterfaceInfo iview_info = { + (GInterfaceInitFunc) mlview_view_adapter_iview_init, + NULL, + NULL + } ; ++ ++ type_id = g_type_register_static (GTK_TYPE_VBOX, ++ "MlViewViewAdapter", ++ &type_info, 0); ++ + g_type_add_interface_static (type_id, MLVIEW_TYPE_IVIEW, + &iview_info) ; + } diff --git a/editors/mlview/pkg-descr b/editors/mlview/pkg-descr new file mode 100644 index 000000000..d570c2d48 --- /dev/null +++ b/editors/mlview/pkg-descr @@ -0,0 +1,4 @@ +A tree oriented xml editor for gnome. It is an attempt to ease editing +xml documents with or without validation by focusing on their tree view. + +WWW: http://www.freespiders.org/projects/gmlview/ diff --git a/editors/mlview/pkg-plist b/editors/mlview/pkg-plist new file mode 100644 index 000000000..070393de5 --- /dev/null +++ b/editors/mlview/pkg-plist @@ -0,0 +1,66 @@ +bin/mlview +bin/mlviewctl +lib/libmlview.a +lib/libmlview.la +lib/libmlview.so +lib/libmlview.so.8 +lib/libmlviewdbusclient.a +lib/libmlviewdbusclient.la +lib/libmlviewdbusclient.so.8 +lib/libmlviewdbusclient.so +share/applications/mlview.desktop +share/application-registry/mlview.applications +share/mime-info/mlview.keys +share/mlview/main-menu-bar.xml +share/mlview/main-toolbar.xml +share/mlview/mlview-css-picker.glade +share/mlview/mlview-dtd-schema.png +share/mlview/mlview-dtd-choice-dtd-not-resolved.glade +share/mlview/mlview-dtd-choice.glade +share/mlview/mlview-main-app-win.glade +share/mlview/mlview-main-app-win2.glade +share/mlview/mlview-new-document.glade +share/mlview/mlview-node-editor.glade +share/mlview/mlview-preferences.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 +share/mlview/xml-element-node.png +share/mlview/xml-entity-ref-node.png +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 +share/locale/az/LC_MESSAGES/mlview.mo +share/locale/ca/LC_MESSAGES/mlview.mo +share/locale/cs/LC_MESSAGES/mlview.mo +share/locale/de/LC_MESSAGES/mlview.mo +share/locale/en_CA/LC_MESSAGES/mlview.mo +share/locale/en_GB/LC_MESSAGES/mlview.mo +share/locale/es/LC_MESSAGES/mlview.mo +share/locale/fr/LC_MESSAGES/mlview.mo +share/locale/hr/LC_MESSAGES/mlview.mo +share/locale/ja/LC_MESSAGES/mlview.mo +share/locale/ml/LC_MESSAGES/mlview.mo +share/locale/ms/LC_MESSAGES/mlview.mo +share/locale/nl/LC_MESSAGES/mlview.mo +share/locale/no/LC_MESSAGES/mlview.mo +share/locale/pl/LC_MESSAGES/mlview.mo +share/locale/pt/LC_MESSAGES/mlview.mo +share/locale/pt_BR/LC_MESSAGES/mlview.mo +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 +@dirrm share/mlview +@dirrmtry share/applications |