[gentoo-commits] repo/gentoo:master commit in: media-video/lsdvd/files/, media-video/lsdvd/

2021-09-27 Thread Marek Szuba
commit: 51b7886233e005fa421d114cc918021661878ee9
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 27 14:15:35 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 27 14:52:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b78862

media-video/lsdvd: keyword 0.17 for ~riscv, EAPI 5 -> 8

Signed-off-by: Marek Szuba  gentoo.org>

 media-video/lsdvd/files/lsdvd-0.17-autotools.patch |  6 +++---
 media-video/lsdvd/lsdvd-0.17.ebuild| 20 
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/media-video/lsdvd/files/lsdvd-0.17-autotools.patch 
b/media-video/lsdvd/files/lsdvd-0.17-autotools.patch
index c2f7e9456ed..33a954f001c 100644
--- a/media-video/lsdvd/files/lsdvd-0.17-autotools.patch
+++ b/media-video/lsdvd/files/lsdvd-0.17-autotools.patch
@@ -1,5 +1,5 @@
 configure.ac.orig  2014-10-04 00:36:04.484376722 -0600
-+++ configure.ac   2014-10-04 00:36:25.080207028 -0600
+--- a/configure.ac
 b/configure.ac
 @@ -1,9 +1,6 @@
  AC_INIT([lsdvd], [0.17])
  AM_INIT_AUTOMAKE([foreign])
@@ -9,4 +9,4 @@
 -fi
  AC_SYS_LARGEFILE
  PKG_CHECK_MODULES([DVDREAD], [dvdread >= 4.1.3])
- AC_ARG_ENABLE([debug],
\ No newline at end of file
+ AC_ARG_ENABLE([debug],

diff --git a/media-video/lsdvd/lsdvd-0.17.ebuild 
b/media-video/lsdvd/lsdvd-0.17.ebuild
index fda1e95f98d..b4b39ff9fa7 100644
--- a/media-video/lsdvd/lsdvd-0.17.ebuild
+++ b/media-video/lsdvd/lsdvd-0.17.ebuild
@@ -1,24 +1,28 @@
 # Copyright 2003-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools epatch
+EAPI=8
+
+inherit autotools
 
 DESCRIPTION="Utility for getting info out of DVDs"
 HOMEPAGE="https://sourceforge.net/projects/lsdvd/";
-SRC_URI="mirror://sourceforge/lsdvd/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~ppc-macos"
-IUSE=""
+KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos"
 
 RDEPEND="media-libs/libdvdread:0="
 DEPEND="${RDEPEND}"
-DOCS="AUTHORS README ChangeLog"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.17-autotools.patch
+)
+
+DOCS=(AUTHORS README ChangeLog)
 
 src_prepare() {
-   rm "${S}/aclocal.m4" "${S}/Makefile.in"
-   epatch "${FILESDIR}"/${P}-autotools.patch
+   default
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: media-video/lsdvd/

2019-09-28 Thread Mike Gilbert
commit: 3c8acf39fcae71c55143274e7151e1c48e7613d4
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sat Sep 28 18:30:17 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Sep 29 02:56:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8acf39

media-video/lsdvd: Depend on media-libs/libdvdread:0=.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 media-video/lsdvd/lsdvd-0.17.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/lsdvd/lsdvd-0.17.ebuild 
b/media-video/lsdvd/lsdvd-0.17.ebuild
index c7ac5c7dc1d..b1d3d898101 100644
--- a/media-video/lsdvd/lsdvd-0.17.ebuild
+++ b/media-video/lsdvd/lsdvd-0.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 2003-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ SLOT="0"
 KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE=""
 
-RDEPEND="media-libs/libdvdread"
+RDEPEND="media-libs/libdvdread:0="
 DEPEND="${RDEPEND}"
 DOCS="AUTHORS README ChangeLog"
 



[gentoo-commits] repo/gentoo:master commit in: media-video/lsdvd/

2017-01-29 Thread Fabian Groffen
commit: b16aa04a0bb425105406260a44e2ffcaf3735cb0
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 19:25:49 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 19:33:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b16aa04a

media-video/lsdvd: dropped ~ia64-linux

Package-Manager: portage-2.3.3

 media-video/lsdvd/lsdvd-0.17.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/lsdvd/lsdvd-0.17.ebuild 
b/media-video/lsdvd/lsdvd-0.17.ebuild
index 640ef61..184e89c 100644
--- a/media-video/lsdvd/lsdvd-0.17.ebuild
+++ b/media-video/lsdvd/lsdvd-0.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/lsdvd/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE=""
 
 RDEPEND="media-libs/libdvdread"



[gentoo-commits] repo/gentoo:master commit in: media-video/lsdvd/files/

2017-01-04 Thread David Seifert
commit: e9ac211e8002c53ea6d81a8e8b499d1b18c5615f
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Dec 30 14:28:34 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan  4 10:14:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ac211e

media-video/lsdvd: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/3286

 .../lsdvd/files/lsdvd-0.16-chapter-count.patch | 25 
 media-video/lsdvd/files/lsdvd-0.16-newline.patch   | 22 --
 media-video/lsdvd/files/lsdvd-0.16-title.patch | 27 --
 media-video/lsdvd/files/lsdvd-0.16-types.patch | 27 --
 media-video/lsdvd/files/lsdvd-0.16-usec.patch  | 21 -
 5 files changed, 122 deletions(-)

diff --git a/media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch 
b/media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch
deleted file mode 100644
index f51bd03..
--- a/media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Using tt_srpt->title[].nr_of_ptts from the VMG IFO as a reference to the
-chapter count is often wrong, and noted as such in the source code.  Use
-the program chain instead.
-
 lsdvd-0.16/lsdvd.c.orig2014-08-22 21:47:06.009490680 -0600
-+++ lsdvd-0.16/lsdvd.c 2014-08-22 21:47:30.947257942 -0600
-@@ -347,6 +347,7 @@
-   }
- 
-   dvd_info.titles[j].chapter_count_reported = 
ifo_zero->tt_srpt->title[j].nr_of_ptts;
-+  dvd_info.titles[j].chapter_count = pgc->nr_of_programs;
-   dvd_info.titles[j].cell_count = pgc->nr_of_cells;
-   dvd_info.titles[j].audiostream_count = 
vtsi_mat->nr_of_vts_audio_streams;
-   dvd_info.titles[j].subtitle_count = 
vtsi_mat->nr_of_vts_subp_streams;  
 lsdvd-0.16/ohuman.c.orig   2014-08-22 21:47:00.993538145 -0600
-+++ lsdvd-0.16/ohuman.c2014-08-22 21:47:45.533121749 -0600
-@@ -20,7 +20,7 @@
- //(int)(dvd_info->titles[j].general.length / 60) 
% 60,
- //
(float)((int)(dvd_info->titles[j].general.length * 1000) % 6000) / 1000); //,
- //dvd_info->titles[j].general.length);
--  printf("Chapters: %02d, Cells: %02d, ", 
dvd_info->titles[j].chapter_count_reported, dvd_info->titles[j].cell_count);
-+  printf("Chapters: %02d, Cells: %02d, ", 
dvd_info->titles[j].chapter_count, dvd_info->titles[j].cell_count);
-   printf("Audio streams: %02d, Subpictures: %02d", 
dvd_info->titles[j].audiostream_count, dvd_info->titles[j].subtitle_count);
-   printf("\n"); 
-   

diff --git a/media-video/lsdvd/files/lsdvd-0.16-newline.patch 
b/media-video/lsdvd/files/lsdvd-0.16-newline.patch
deleted file mode 100644
index 4f0ec1a..
--- a/media-video/lsdvd/files/lsdvd-0.16-newline.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Removes extra newline from output like this:
-
-Title: 01, Length: 02:18:41.834 Chapters: 06, Cells: 06, Audio streams: 01, 
Subpictures: 03
-
-Title: 02, Length: 00:46:16.000 Chapters: 03, Cells: 03, Audio streams: 01, 
Subpictures: 03
-
-Title: 03, Length: 00:46:11.834 Chapters: 03, Cells: 03, Audio streams: 01, 
Subpictures: 03
 lsdvd-0.16/ohuman.c.orig   2014-08-22 21:47:00.993538145 -0600
-+++ lsdvd-0.16/ohuman.c2014-08-22 21:52:11.964633226 -0600
-@@ -111,11 +111,10 @@
-   printf("\n");
-   }
-   }
--  printf("\n");
-   }
-   }
- 
-   if (! opt_t) {
--  printf("Longest track: %02d\n\n", dvd_info->longest_track);
-+  printf("Longest track: %02d\n", dvd_info->longest_track);
-   }
- }

diff --git a/media-video/lsdvd/files/lsdvd-0.16-title.patch 
b/media-video/lsdvd/files/lsdvd-0.16-title.patch
deleted file mode 100644
index 44511a1..
--- a/media-video/lsdvd/files/lsdvd-0.16-title.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-See, http://bugs.gentoo.org/show_bug.cgi?id=233113
-
-lsdvd always reads the infos for all titles (even if only a single title was
-selected with "-t") and bails out if there is an error.
-
-Now, if for example title 5 is unreadable but you're interested in title 1, you
-should be able to get the info by using "-t 1", but that doesn't work, as lsdvd
-errors out before even starting the output because it can't read title 5.
-
-To solve this my patch makes lsdvd ignore read errors in titles it wouldn't
-display anyway.
-
-Patch by Martin Thierer
-
-diff -uw lsdvd-0.16.orig/lsdvd.c lsdvd-0.16/lsdvd.c
 lsdvd-0.16.orig/lsdvd.c2006-03-02 14:48:11.0 +0100
-+++ lsdvd-0.16/lsdvd.c 2008-07-27 20:11:55.0 +0200
-@@ -292,7 +292,7 @@
- 
-   for (i=1; i <= ifo_zero->vts_atrt->nr_of_vtss; i++) {
-   ifo[i] = ifoOpen(dvd, i);
--  if ( !ifo[i] ) {
-+  if ( !ifo[i] && opt_t == i ) {
-