diff options
Diffstat (limited to 'media-sound/nted/files')
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-automake-1.12.patch | 11 | ||||
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-cpp14.patch | 11 | ||||
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-freetype.patch | 11 | ||||
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-gcc47.patch | 13 | ||||
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-lilypond-tremolo.patch | 45 | ||||
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-lilypond.patch | 58 |
6 files changed, 0 insertions, 149 deletions
diff --git a/media-sound/nted/files/nted-1.10.18-automake-1.12.patch b/media-sound/nted/files/nted-1.10.18-automake-1.12.patch deleted file mode 100644 index 0363e06ea6cd..000000000000 --- a/media-sound/nted/files/nted-1.10.18-automake-1.12.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in.dist 2011-01-27 13:10:04.000000000 +0000 -+++ configure.in 2013-03-07 23:17:13.529353811 +0000 -@@ -12,7 +12,7 @@ - AC_INIT([nted], [1.10.18], [nted-user@tu-chemnitz.de], [nted]) - AC_CONFIG_SRCDIR([beaming.h]) - AC_CONFIG_HEADERS([config.h]) --AM_INIT_AUTOMAKE([-Wall -Werror 1.10 foreign]) -+AM_INIT_AUTOMAKE([-Wall 1.10 foreign]) - - AC_PROG_CXX - diff --git a/media-sound/nted/files/nted-1.10.18-cpp14.patch b/media-sound/nted/files/nted-1.10.18-cpp14.patch deleted file mode 100644 index 04a2a15977e0..000000000000 --- a/media-sound/nted/files/nted-1.10.18-cpp14.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- idiotseditor/idiotseditor.cpp.dist 2016-09-18 10:47:58.933319888 +0200 -+++ idiotseditor/idiotseditor.cpp 2016-09-18 10:48:28.852321336 +0200 -@@ -2538,7 +2538,7 @@ - - #define BAR_COLOR 0, 0, 0 - #define NOMINATOR_COLOR 0, 0, 204 --#define HALF_COLOR 0.0, 26, 153 -+#define HALF_COLOR 0, 26, 153 - #define QUARTER_COLOR 0, 51, 127 - #define EIGHTS_COLOR 127, 77, 102 - #define COLOR_16 0, 102, 77 diff --git a/media-sound/nted/files/nted-1.10.18-freetype.patch b/media-sound/nted/files/nted-1.10.18-freetype.patch deleted file mode 100644 index 505e756af564..000000000000 --- a/media-sound/nted/files/nted-1.10.18-freetype.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- nted-1.10.18/mainwindow.cpp -+++ nted-1.10.18/mainwindow.cpp -@@ -24,7 +24,7 @@ - #include <stdio.h> - #include <time.h> - #include <ft2build.h> --#include <freetype/freetype.h> -+#include FT_FREETYPE_H - #include <gtk/gtk.h> - #include <gdk/gdkkeysyms.h> - #include <cairo-ps.h> diff --git a/media-sound/nted/files/nted-1.10.18-gcc47.patch b/media-sound/nted/files/nted-1.10.18-gcc47.patch deleted file mode 100644 index 8e706f62b99b..000000000000 --- a/media-sound/nted/files/nted-1.10.18-gcc47.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=424291 -Index: nted-1.10.18/dynarray.h -=================================================================== ---- nted-1.10.18.orig/dynarray.h -+++ nted-1.10.18/dynarray.h -@@ -76,6 +76,7 @@ class NedDynArray { - - #include <stdlib.h> - #include <stdio.h> -+#include <string.h> - - static void erroraus(const char *s) { - fprintf(stderr, "%s\n", s); diff --git a/media-sound/nted/files/nted-1.10.18-lilypond-tremolo.patch b/media-sound/nted/files/nted-1.10.18-lilypond-tremolo.patch deleted file mode 100644 index a3c46c849a0e..000000000000 --- a/media-sound/nted/files/nted-1.10.18-lilypond-tremolo.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 161e7cf6d2f0f18e9b44ef9ce960efb07c210c79 Mon Sep 17 00:00:00 2001 -From: Christopher Harvey <chris@basementcode.com> -Date: Sun, 7 Oct 2012 15:41:00 -0400 -Subject: [PATCH] Fix LilyPond tremolo dotted chord export - -For example, NtEd would export "< a f' >4:8.", but the correct syntax -is "< a f' >4.:8" ---- - chordorrest.cpp | 13 ++++++------- - 1 files changed, 6 insertions(+), 7 deletions(-) - -diff --git a/chordorrest.cpp b/chordorrest.cpp -index cd93dab..9367f32 100644 ---- a/chordorrest.cpp -+++ b/chordorrest.cpp -@@ -3821,6 +3821,10 @@ void NedChordOrRest::exportLilyPond(FILE *fp, int *last_line, unsigned int *midi - fprintf(fp, " >"); - } - if (duration != *midi_len || (m_status & TREMOLO_MASK)) { -+ sprintf(Str, "%d", WHOLE_NOTE / m_length); -+ for (i = 0; i < m_dot_count; i++) { -+ strcat(Str, "."); -+ } - if (m_status & TREMOLO_MASK) { - switch (m_status & TREMOLO_MASK) { - case STAT_TREMOLO1: tremolo = 8; break; -@@ -3828,13 +3832,8 @@ void NedChordOrRest::exportLilyPond(FILE *fp, int *last_line, unsigned int *midi - case STAT_TREMOLO3: tremolo = 32; break; - case STAT_TREMOLO4: tremolo = 64; break; - } -- sprintf(Str, "%d:%d", WHOLE_NOTE / m_length, tremolo); -- } -- else { -- sprintf(Str, "%d", WHOLE_NOTE / m_length); -- } -- for (i = 0; i < m_dot_count; i++) { -- strcat(Str, "."); -+ sprintf(Str2, ":%d", tremolo); -+ strcat(Str, &Str2[0]); - } - force_length = true; - } --- -1.7.8.6 - diff --git a/media-sound/nted/files/nted-1.10.18-lilypond.patch b/media-sound/nted/files/nted-1.10.18-lilypond.patch deleted file mode 100644 index d1e77849e679..000000000000 --- a/media-sound/nted/files/nted-1.10.18-lilypond.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 54881f2bdfc3d18e1496b7739124311d8e7c394a Mon Sep 17 00:00:00 2001 -From: Christopher Harvey <chris@basementcode.com> -Date: Sun, 7 Oct 2012 15:05:03 -0400 -Subject: [PATCH] Fix LilyPond clef exporting - -For example, sometimes NtEd would export "\clef \clef tenor" instead -of just "\clef tenor" ---- - mainwindow.cpp | 4 +++- - resource.cpp | 14 +++++++------- - 2 files changed, 10 insertions(+), 8 deletions(-) - -diff --git a/mainwindow.cpp b/mainwindow.cpp -index 7263565..3343526 100644 ---- a/mainwindow.cpp -+++ b/mainwindow.cpp -@@ -3902,7 +3902,9 @@ void NedMainWindow::do_lily_export(FILE *fp, bool with_break, bool *selected_sta - if (m_staff_contexts[i].m_staff_short_name != NULL && strlen(m_staff_contexts[i].m_staff_short_name->getText()) > 0) { - fprintf(fp, " \\set Staff.shortInstrumentName = \"%s \"", m_staff_contexts[i].m_staff_short_name->getText()); - } -- fprintf(fp, NedResource::getLilyPondClefName(m_staff_contexts[i].m_clef_number)); -+ if (m_staff_contexts[i].m_clef_number != NEUTRAL_CLEF3) { -+ fprintf(fp, "\\clef %s", NedResource::getLilyPondClefName(m_staff_contexts[i].m_clef_number)); -+ } - fprintf(fp, NedResource::getLilyPondKeySigName(m_staff_contexts[i].m_key_signature_number)); - fprintf(fp, " \\time %d/%d", m_numerator, m_denominator); - if (m_upbeat_inverse != 0) { -diff --git a/resource.cpp b/resource.cpp -index 11c52b4..cff080f 100644 ---- a/resource.cpp -+++ b/resource.cpp -@@ -3870,16 +3870,16 @@ int NedResource::determineLastLine(int treble_line, int clef) { - - const char *NedResource::getLilyPondClefName(int clef_number) { - switch (clef_number) { -- case TREBLE_CLEF: return "\\clef treble"; -- case BASS_CLEF: return "\\clef bass"; -- case ALTO_CLEF: return "\\clef alto"; -- case SOPRAN_CLEF: return "\\clef soprano"; -- case TENOR_CLEF: return "\\clef tenor"; -+ case TREBLE_CLEF: return "treble"; -+ case BASS_CLEF: return "bass"; -+ case ALTO_CLEF: return "alto"; -+ case SOPRAN_CLEF: return "soprano"; -+ case TENOR_CLEF: return "tenor"; - case NEUTRAL_CLEF1: -- case NEUTRAL_CLEF2: return "\\clef percussion"; -+ case NEUTRAL_CLEF2: return "percussion"; - case NEUTRAL_CLEF3: return ""; - } -- return "\\clef treble"; -+ return "treble"; - } - const char *NedResource::getLilyPondKeySigName(int keysig_number) { - switch (keysig_number) { --- -1.7.8.6 - |