summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-editors/mp/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-editors/mp/files')
-rw-r--r--app-editors/mp/files/mp-5.2.1-prll.patch46
-rw-r--r--app-editors/mp/files/mp-5.2.2-gtk+.patch40
2 files changed, 86 insertions, 0 deletions
diff --git a/app-editors/mp/files/mp-5.2.1-prll.patch b/app-editors/mp/files/mp-5.2.1-prll.patch
new file mode 100644
index 000000000000..a0fef7fd63a3
--- /dev/null
+++ b/app-editors/mp/files/mp-5.2.1-prll.patch
@@ -0,0 +1,46 @@
+--- mp-5.2.1/makefile.in
++++ mp-5.2.1/makefile.in
+@@ -4,7 +4,7 @@ all: $(APPNAME) docs build-mo
+
+ PROJ=mp
+
+-ADD_DOCS=AUTHORS README COPYING RELEASE_NOTES \
++ADD_DOCS=AUTHORS README RELEASE_NOTES \
+ mp_templates.sample doc/mp_function_reference.html
+ GRUTATXT_DOCS=doc/mp_index.html doc/mp_cookbook.html doc/mp_internals.html \
+ doc/mp_configuration.html doc/mp_data_model.html \
+@@ -26,10 +26,10 @@ version:
+ $(CC) $(CFLAGS) -I. `cat config.cflags` -c $<
+
+ $(MPDM)/libmpdm.a:
+- ( cd $(MPDM); $(MAKE) )
++ $(MAKE) -C $(MPDM)
+
+ $(MPSL)/libmpsl.a: $(MPDM)/libmpdm.a
+- ( cd $(MPSL); $(MAKE) )
++ $(MAKE) -C $(MPSL)
+
+ dep:
+ gcc -MM *.c `cat config.cflags` > makefile.depend
+@@ -88,8 +88,8 @@ $(APPNAME).1: doc/mp_man.txt
+ grutatxt -m man -t "Minimum Profit" < doc/mp_man.txt > $(APPNAME).1
+
+ docs: $(DOCS)
+- (cd $(MPDM); $(MAKE) docs)
+- (cd $(MPSL); $(MAKE) docs)
++ $(MAKE) -C $(MPDM) docs
++ $(MAKE) -C $(MPSL) docs
+
+ distcopy: distclean docs
+ mkdir -p $(DIST_TARGET) ; \
+@@ -134,8 +134,8 @@ install: $(INSTALL_MSG) installdoc install-mo
+
+ installdoc:
+ ./mkinstalldirs $(PREFIX)/share/doc/$(APPNAME)
+- ( cd $(MPDM); $(MAKE) installdoc )
+- ( cd $(MPSL); $(MAKE) installdoc )
++ $(MAKE) -C $(MPDM) installdoc
++ $(MAKE) -C $(MPSL) installdoc
+ install -m 644 doc/* $(PREFIX)/share/doc/$(APPNAME)
+ install -m 644 $(ADD_DOCS) $(PREFIX)/share/doc/$(APPNAME)
+ [ -f doc/mp_index.html ] && install -m 644 doc/mp_index.html $(PREFIX)/share/doc/$(APPNAME)/index.html || true
diff --git a/app-editors/mp/files/mp-5.2.2-gtk+.patch b/app-editors/mp/files/mp-5.2.2-gtk+.patch
new file mode 100644
index 000000000000..fc203e28a725
--- /dev/null
+++ b/app-editors/mp/files/mp-5.2.2-gtk+.patch
@@ -0,0 +1,40 @@
+ mpv_gtk.c | 8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/mpv_gtk.c b/mpv_gtk.c
+index 3abba24..ea99144 100644
+--- a/mpv_gtk.c
++++ b/mpv_gtk.c
+@@ -2499,12 +2499,12 @@ static mpdm_t gtk_drv_startup(mpdm_t a, mpdm_t ctxt)
+ #endif
+ gtk_notebook_set_scrollable(GTK_NOTEBOOK(file_tabs), 1);
+
+- vbox = gtk_vbox_new(FALSE, 2);
++ vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 2);
+ gtk_container_add(GTK_CONTAINER(window), vbox);
+
+ build_menu();
+
+- hbox = gtk_hbox_new(FALSE, 0);
++ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+ gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(hbox), menu_bar, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(hbox), file_tabs, TRUE, TRUE, 0);
+@@ -2512,7 +2512,7 @@ static mpdm_t gtk_drv_startup(mpdm_t a, mpdm_t ctxt)
+ gtk_notebook_popup_enable(GTK_NOTEBOOK(file_tabs));
+
+ /* horizontal box holding the text and the scrollbar */
+- hbox = gtk_hbox_new(FALSE, 2);
++ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2);
+ gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0);
+
+ /* the Minimum Profit area */
+@@ -2578,7 +2578,7 @@ static mpdm_t gtk_drv_startup(mpdm_t a, mpdm_t ctxt)
+ G_CALLBACK(switch_page), NULL);
+
+ /* the scrollbar */
+- scrollbar = gtk_vscrollbar_new(NULL);
++ scrollbar = gtk_scrollbar_new(GTK_ORIENTATION_VERTICAL, NULL);
+ gtk_box_pack_start(GTK_BOX(hbox), scrollbar, FALSE, FALSE, 0);
+
+ g_signal_connect(G_OBJECT