diff options
author | fjoe <fjoe@FreeBSD.org> | 2002-08-11 12:00:46 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2002-08-11 12:00:46 +0000 |
commit | 924de254bd6a9c952f9fc5497adc1a97ebeab5ca (patch) | |
tree | 50204bf1fe3aecd4a17d44355a0fe0e611d0f54f /misc/mc/files | |
parent | 12424ec39ed3ecf67cae55f8ef4938fb5e343083 (diff) | |
download | FreeBSD-ports-924de254bd6a9c952f9fc5497adc1a97ebeab5ca.zip FreeBSD-ports-924de254bd6a9c952f9fc5497adc1a97ebeab5ca.tar.gz |
- add hooks and patches that add an ability to use this port as master
for ports/x11-fm/gnomemc
- fix pkg-plist if mc is being built with charset support
Diffstat (limited to 'misc/mc/files')
-rw-r--r-- | misc/mc/files/patch-gnome::Makefile.in | 11 | ||||
-rw-r--r-- | misc/mc/files/patch-gnome::gdesktop.c | 14 | ||||
-rw-r--r-- | misc/mc/files/patch-gnome::glayout.c | 18 |
3 files changed, 43 insertions, 0 deletions
diff --git a/misc/mc/files/patch-gnome::Makefile.in b/misc/mc/files/patch-gnome::Makefile.in new file mode 100644 index 0000000..0fc63d3 --- /dev/null +++ b/misc/mc/files/patch-gnome::Makefile.in @@ -0,0 +1,11 @@ +--- gnome/Makefile.in.orig Sun Aug 11 18:29:17 2002 ++++ gnome/Makefile.in Sun Aug 11 18:30:01 2002 +@@ -9,7 +9,7 @@ + + corbadir = $(sysconfdir)/CORBA/servers + desktopdir = $(mclibdir)/desktop-scripts +-gnewdir = $(prefix)/share/mc/templates ++gnewdir = $(mclibdir)/templates + gnomeicondir = @gnomeicondir@ + icondir = $(datadir)/pixmaps/mc + diff --git a/misc/mc/files/patch-gnome::gdesktop.c b/misc/mc/files/patch-gnome::gdesktop.c new file mode 100644 index 0000000..01cce97 --- /dev/null +++ b/misc/mc/files/patch-gnome::gdesktop.c @@ -0,0 +1,14 @@ +--- gnome/gdesktop.c.orig Sun Aug 11 18:35:31 2002 ++++ gnome/gdesktop.c Sun Aug 11 18:37:59 2002 +@@ -3036,9 +3036,9 @@ + strip_tearoff_menu_item (desktop_arrange_icons_items); + i = strip_tearoff_menu_item (gnome_panel_new_menu); + shell = gnome_panel_new_menu[0].widget->parent; +- file = gnome_unconditional_datadir_file ("mc/templates"); ++ file = gnome_unconditional_datadir_file ("gnome/mc/templates"); + i = create_new_menu_from (file, shell, i); +- file2 = gnome_datadir_file ("mc/templates"); ++ file2 = gnome_datadir_file ("gnome/mc/templates"); + if (file2 != NULL){ + if (strcmp (file, file2) != 0) + create_new_menu_from (file2, shell, i); diff --git a/misc/mc/files/patch-gnome::glayout.c b/misc/mc/files/patch-gnome::glayout.c new file mode 100644 index 0000000..0a8dc74 --- /dev/null +++ b/misc/mc/files/patch-gnome::glayout.c @@ -0,0 +1,18 @@ +--- gnome/glayout.c.orig Sun Aug 11 18:35:37 2002 ++++ gnome/glayout.c Sun Aug 11 18:37:47 2002 +@@ -625,13 +625,13 @@ + + shell = gnome_panel_new_menu[0].widget->parent; + +- file = gnome_unconditional_datadir_file ("mc/templates"); ++ file = gnome_unconditional_datadir_file ("gnome/mc/templates"); + + child_list = gtk_container_children (GTK_CONTAINER (shell)); + pos = g_list_length (child_list); + pos = create_new_menu_from (file, shell, pos); + +- file2 = gnome_datadir_file ("mc/templates"); ++ file2 = gnome_datadir_file ("gnome/mc/templates"); + if (file2 != NULL){ + if (strcmp (file, file2) != 0) + create_new_menu_from (file2, shell, pos); |