Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/lsdvd/files/
Date: Wed, 04 Jan 2017 10:15:35
Message-Id: 1483524840.e9ac211e8002c53ea6d81a8e8b499d1b18c5615f.soap@gentoo
1 commit: e9ac211e8002c53ea6d81a8e8b499d1b18c5615f
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 30 14:28:34 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 4 10:14:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ac211e
7
8 media-video/lsdvd: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/3286
11
12 .../lsdvd/files/lsdvd-0.16-chapter-count.patch | 25 --------------------
13 media-video/lsdvd/files/lsdvd-0.16-newline.patch | 22 ------------------
14 media-video/lsdvd/files/lsdvd-0.16-title.patch | 27 ----------------------
15 media-video/lsdvd/files/lsdvd-0.16-types.patch | 27 ----------------------
16 media-video/lsdvd/files/lsdvd-0.16-usec.patch | 21 -----------------
17 5 files changed, 122 deletions(-)
18
19 diff --git a/media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch b/media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch
20 deleted file mode 100644
21 index f51bd03..00000000
22 --- a/media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch
23 +++ /dev/null
24 @@ -1,25 +0,0 @@
25 -Using tt_srpt->title[].nr_of_ptts from the VMG IFO as a reference to the
26 -chapter count is often wrong, and noted as such in the source code. Use
27 -the program chain instead.
28 -
29 ---- lsdvd-0.16/lsdvd.c.orig 2014-08-22 21:47:06.009490680 -0600
30 -+++ lsdvd-0.16/lsdvd.c 2014-08-22 21:47:30.947257942 -0600
31 -@@ -347,6 +347,7 @@
32 - }
33 -
34 - dvd_info.titles[j].chapter_count_reported = ifo_zero->tt_srpt->title[j].nr_of_ptts;
35 -+ dvd_info.titles[j].chapter_count = pgc->nr_of_programs;
36 - dvd_info.titles[j].cell_count = pgc->nr_of_cells;
37 - dvd_info.titles[j].audiostream_count = vtsi_mat->nr_of_vts_audio_streams;
38 - dvd_info.titles[j].subtitle_count = vtsi_mat->nr_of_vts_subp_streams;
39 ---- lsdvd-0.16/ohuman.c.orig 2014-08-22 21:47:00.993538145 -0600
40 -+++ lsdvd-0.16/ohuman.c 2014-08-22 21:47:45.533121749 -0600
41 -@@ -20,7 +20,7 @@
42 - // (int)(dvd_info->titles[j].general.length / 60) % 60,
43 - // (float)((int)(dvd_info->titles[j].general.length * 1000) % 6000) / 1000); //,
44 - // dvd_info->titles[j].general.length);
45 -- printf("Chapters: %02d, Cells: %02d, ", dvd_info->titles[j].chapter_count_reported, dvd_info->titles[j].cell_count);
46 -+ printf("Chapters: %02d, Cells: %02d, ", dvd_info->titles[j].chapter_count, dvd_info->titles[j].cell_count);
47 - printf("Audio streams: %02d, Subpictures: %02d", dvd_info->titles[j].audiostream_count, dvd_info->titles[j].subtitle_count);
48 - printf("\n");
49 -
50
51 diff --git a/media-video/lsdvd/files/lsdvd-0.16-newline.patch b/media-video/lsdvd/files/lsdvd-0.16-newline.patch
52 deleted file mode 100644
53 index 4f0ec1a..00000000
54 --- a/media-video/lsdvd/files/lsdvd-0.16-newline.patch
55 +++ /dev/null
56 @@ -1,22 +0,0 @@
57 -Removes extra newline from output like this:
58 -
59 -Title: 01, Length: 02:18:41.834 Chapters: 06, Cells: 06, Audio streams: 01, Subpictures: 03
60 -
61 -Title: 02, Length: 00:46:16.000 Chapters: 03, Cells: 03, Audio streams: 01, Subpictures: 03
62 -
63 -Title: 03, Length: 00:46:11.834 Chapters: 03, Cells: 03, Audio streams: 01, Subpictures: 03
64 ---- lsdvd-0.16/ohuman.c.orig 2014-08-22 21:47:00.993538145 -0600
65 -+++ lsdvd-0.16/ohuman.c 2014-08-22 21:52:11.964633226 -0600
66 -@@ -111,11 +111,10 @@
67 - printf("\n");
68 - }
69 - }
70 -- printf("\n");
71 - }
72 - }
73 -
74 - if (! opt_t) {
75 -- printf("Longest track: %02d\n\n", dvd_info->longest_track);
76 -+ printf("Longest track: %02d\n", dvd_info->longest_track);
77 - }
78 - }
79
80 diff --git a/media-video/lsdvd/files/lsdvd-0.16-title.patch b/media-video/lsdvd/files/lsdvd-0.16-title.patch
81 deleted file mode 100644
82 index 44511a1..00000000
83 --- a/media-video/lsdvd/files/lsdvd-0.16-title.patch
84 +++ /dev/null
85 @@ -1,27 +0,0 @@
86 -See, http://bugs.gentoo.org/show_bug.cgi?id=233113
87 -
88 -lsdvd always reads the infos for all titles (even if only a single title was
89 -selected with "-t") and bails out if there is an error.
90 -
91 -Now, if for example title 5 is unreadable but you're interested in title 1, you
92 -should be able to get the info by using "-t 1", but that doesn't work, as lsdvd
93 -errors out before even starting the output because it can't read title 5.
94 -
95 -To solve this my patch makes lsdvd ignore read errors in titles it wouldn't
96 -display anyway.
97 -
98 -Patch by Martin Thierer
99 -
100 -diff -uw lsdvd-0.16.orig/lsdvd.c lsdvd-0.16/lsdvd.c
101 ---- lsdvd-0.16.orig/lsdvd.c 2006-03-02 14:48:11.000000000 +0100
102 -+++ lsdvd-0.16/lsdvd.c 2008-07-27 20:11:55.000000000 +0200
103 -@@ -292,7 +292,7 @@
104 -
105 - for (i=1; i <= ifo_zero->vts_atrt->nr_of_vtss; i++) {
106 - ifo[i] = ifoOpen(dvd, i);
107 -- if ( !ifo[i] ) {
108 -+ if ( !ifo[i] && opt_t == i ) {
109 - fprintf( stderr, "Can't open ifo %d!\n", i);
110 - return 4;
111 - }
112 -
113
114 diff --git a/media-video/lsdvd/files/lsdvd-0.16-types.patch b/media-video/lsdvd/files/lsdvd-0.16-types.patch
115 deleted file mode 100644
116 index b20f8ea..00000000
117 --- a/media-video/lsdvd/files/lsdvd-0.16-types.patch
118 +++ /dev/null
119 @@ -1,27 +0,0 @@
120 -Index: lsdvd-0.16/configure.in
121 -===================================================================
122 ---- lsdvd-0.16.orig/configure.in
123 -+++ lsdvd-0.16/configure.in
124 -@@ -10,8 +10,8 @@ fi
125 -
126 - AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!]))
127 - AC_MSG_CHECKING([for dvdread/ifo_read.h])
128 --AC_TRY_COMPILE([#include <dvdread/ifo_read.h>
129 -- #include <stdint.h>], ,
130 -+AC_TRY_COMPILE([#include <stdint.h>
131 -+ #include <dvdread/ifo_read.h>], ,
132 - AC_MSG_RESULT([yes]),
133 - AC_MSG_RESULT([no])
134 - AC_MSG_ERROR([Header files for dvdread not found]))
135 -Index: lsdvd-0.16/lsdvd.c
136 -===================================================================
137 ---- lsdvd-0.16.orig/lsdvd.c
138 -+++ lsdvd-0.16/lsdvd.c
139 -@@ -13,6 +13,7 @@
140 - * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros,
141 - * output info structures in form of a Perl module, by Henk Vergonet.
142 - */
143 -+#include <stdint.h>
144 - #include <dvdread/ifo_read.h>
145 - #include <string.h>
146 - #include <sys/stat.h>
147
148 diff --git a/media-video/lsdvd/files/lsdvd-0.16-usec.patch b/media-video/lsdvd/files/lsdvd-0.16-usec.patch
149 deleted file mode 100644
150 index bfaa16e..00000000
151 --- a/media-video/lsdvd/files/lsdvd-0.16-usec.patch
152 +++ /dev/null
153 @@ -1,21 +0,0 @@
154 -diff -uw lsdvd-0.16.orig/lsdvd.c lsdvd-0.16/lsdvd.c
155 ---- lsdvd-0.16.orig/lsdvd.c 2006-03-02 14:48:11.000000000 +0100
156 -+++ lsdvd-0.16/lsdvd.c 2008-05-18 13:58:15.000000000 +0200
157 -@@ -92,7 +92,7 @@
158 - ms += (((dt->second & 0xf0) >> 3) * 5 + (dt->second & 0x0f)) * 1000;
159 -
160 - if(fps > 0)
161 -- ms += ((dt->frame_u & 0x30) >> 3) * 5 + (dt->frame_u & 0x0f) * 1000.0 / fps;
162 -+ ms += (((dt->frame_u & 0x30) >> 3) * 5 + (dt->frame_u & 0x0f)) * 1000.0 / fps;
163 -
164 - return ms;
165 - }
166 -@@ -107,7 +107,7 @@
167 - {
168 - double fps = frames_per_s[(dt->frame_u & 0xc0) >> 6];
169 -
170 -- pt->usec = pt->usec + ((dt->frame_u & 0x30) >> 3) * 5 + (dt->frame_u & 0x0f) * 1000.0 / fps;
171 -+ pt->usec = pt->usec + (((dt->frame_u & 0x30) >> 3) * 5 + (dt->frame_u & 0x0f)) * 1000.0 / fps;
172 - pt->second = pt->second + ((dt->second & 0xf0) >> 3) * 5 + (dt->second & 0x0f);
173 - pt->minute = pt->minute + ((dt->minute & 0xf0) >> 3) * 5 + (dt->minute & 0x0f);
174 - pt->hour = pt->hour + ((dt->hour & 0xf0) >> 3) * 5 + (dt->hour & 0x0f);