[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-05 Thread Doug Goldstein
commit: a9570ca04e0816c050178ac466fae72680f1098d
Author: Doug Goldstein  gentoo  org>
AuthorDate: Sat Sep  5 02:44:55 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Sun Sep  6 03:24:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9570ca0

Retire a slew of old ebuilds

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 media-tv/mythtv/Manifest   |   6 -
 media-tv/mythtv/files/mythtv.logrotate.d-r3|  20 --
 media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 
 media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 -
 media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 -
 5 files changed, 1089 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 931c9d3..27e05e5 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,12 +1,6 @@
 DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 
SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 
599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4
 WHIRLPOOL 
74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e
 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 
2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 
8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0
 WHIRLPOOL 
c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb
 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 
2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 
1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012
 WHIRLPOOL 
3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec
-DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 
SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 
ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016
 WHIRLPOOL 
86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d
-DIST mythtv-0.27.1.tar.gz 85612356 SHA256 
a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 
f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e
 WHIRLPOOL 
938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad
-DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 
SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 
0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1
 WHIRLPOOL 
5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43
-DIST mythtv-0.27.3.tar.gz 85624583 SHA256 
8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 
c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866
 WHIRLPOOL 
b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042
-DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 
SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 
8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b
 WHIRLPOOL 
140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6
-DIST mythtv-0.27.4.tar.gz 85644227 SHA256 
1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 
6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8
 WHIRLPOOL 
65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4
 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 
SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 
bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d
 WHIRLPOOL 
249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-14 Thread Doug Goldstein
commit: 67fb506813d922889a077e6bd04ebd9277234a1a
Author: Doug Goldstein  gentoo  org>
AuthorDate: Mon Sep 14 14:19:49 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Mon Sep 14 14:20:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fb5068

media-tv/mythtv: multiple init script fixes

The new init scripts had a few bugs related to permissions and command line
switches.

Gentoo-Bug: 560142
Gentoo-Bug: 560144

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 .../mythtv/files/{mythbackend.init-r1 => mythbackend.init-r2} | 8 
 ...-0.27.5_p20150904.ebuild => mythtv-0.27.5_p20150904-r1.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r1 
b/media-tv/mythtv/files/mythbackend.init-r2
similarity index 86%
rename from media-tv/mythtv/files/mythbackend.init-r1
rename to media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb1..43f53e8 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
 
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-   checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
-   checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 
/var/log/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
 
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
---pidfile /var/run/mythbackend.pid -- \
-   --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video 
\
+--pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+   --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?

diff --git a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild 
b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
rename to media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
index 62926a8..05358ad 100644
--- a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
@@ -275,7 +275,7 @@ src_install() {
insinto /usr/share/mythtv/database
doins database/*
 
-   newinitd "${FILESDIR}"/mythbackend.init-r1 mythbackend
+   newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
systemd_dounit "${FILESDIR}"/mythbackend.service
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-05 Thread Doug Goldstein
commit: a9570ca04e0816c050178ac466fae72680f1098d
Author: Doug Goldstein  gentoo  org>
AuthorDate: Sat Sep  5 02:44:55 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Sun Sep  6 03:24:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9570ca0

Retire a slew of old ebuilds

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 media-tv/mythtv/Manifest   |   6 -
 media-tv/mythtv/files/mythtv.logrotate.d-r3|  20 --
 media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 
 media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 -
 media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 -
 5 files changed, 1089 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 931c9d3..27e05e5 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,12 +1,6 @@
 DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 
SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 
599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4
 WHIRLPOOL 
74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e
 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 
2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 
8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0
 WHIRLPOOL 
c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb
 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 
2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 
1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012
 WHIRLPOOL 
3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec
-DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 
SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 
ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016
 WHIRLPOOL 
86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d
-DIST mythtv-0.27.1.tar.gz 85612356 SHA256 
a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 
f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e
 WHIRLPOOL 
938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad
-DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 
SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 
0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1
 WHIRLPOOL 
5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43
-DIST mythtv-0.27.3.tar.gz 85624583 SHA256 
8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 
c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866
 WHIRLPOOL 
b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042
-DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 
SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 
8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b
 WHIRLPOOL 
140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6
-DIST mythtv-0.27.4.tar.gz 85644227 SHA256 
1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 
6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8
 WHIRLPOOL 
65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4
 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 
SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 
bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d
 WHIRLPOOL 
249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-14 Thread Doug Goldstein
commit: 67fb506813d922889a077e6bd04ebd9277234a1a
Author: Doug Goldstein  gentoo  org>
AuthorDate: Mon Sep 14 14:19:49 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Mon Sep 14 14:20:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fb5068

media-tv/mythtv: multiple init script fixes

The new init scripts had a few bugs related to permissions and command line
switches.

Gentoo-Bug: 560142
Gentoo-Bug: 560144

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 .../mythtv/files/{mythbackend.init-r1 => mythbackend.init-r2} | 8 
 ...-0.27.5_p20150904.ebuild => mythtv-0.27.5_p20150904-r1.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r1 
b/media-tv/mythtv/files/mythbackend.init-r2
similarity index 86%
rename from media-tv/mythtv/files/mythbackend.init-r1
rename to media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb1..43f53e8 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
 
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-   checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
-   checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 
/var/log/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
 
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
---pidfile /var/run/mythbackend.pid -- \
-   --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video 
\
+--pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+   --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?

diff --git a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild 
b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
rename to media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
index 62926a8..05358ad 100644
--- a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
@@ -275,7 +275,7 @@ src_install() {
insinto /usr/share/mythtv/database
doins database/*
 
-   newinitd "${FILESDIR}"/mythbackend.init-r1 mythbackend
+   newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
systemd_dounit "${FILESDIR}"/mythbackend.service
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-05 Thread Doug Goldstein
commit: a9570ca04e0816c050178ac466fae72680f1098d
Author: Doug Goldstein  gentoo  org>
AuthorDate: Sat Sep  5 02:44:55 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Sun Sep  6 03:24:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9570ca0

Retire a slew of old ebuilds

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 media-tv/mythtv/Manifest   |   6 -
 media-tv/mythtv/files/mythtv.logrotate.d-r3|  20 --
 media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 
 media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 -
 media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 -
 5 files changed, 1089 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 931c9d3..27e05e5 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,12 +1,6 @@
 DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 
SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 
599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4
 WHIRLPOOL 
74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e
 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 
2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 
8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0
 WHIRLPOOL 
c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb
 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 
2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 
1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012
 WHIRLPOOL 
3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec
-DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 
SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 
ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016
 WHIRLPOOL 
86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d
-DIST mythtv-0.27.1.tar.gz 85612356 SHA256 
a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 
f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e
 WHIRLPOOL 
938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad
-DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 
SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 
0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1
 WHIRLPOOL 
5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43
-DIST mythtv-0.27.3.tar.gz 85624583 SHA256 
8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 
c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866
 WHIRLPOOL 
b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042
-DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 
SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 
8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b
 WHIRLPOOL 
140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6
-DIST mythtv-0.27.4.tar.gz 85644227 SHA256 
1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 
6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8
 WHIRLPOOL 
65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4
 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 
SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 
bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d
 WHIRLPOOL 
249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-14 Thread Doug Goldstein
commit: 67fb506813d922889a077e6bd04ebd9277234a1a
Author: Doug Goldstein  gentoo  org>
AuthorDate: Mon Sep 14 14:19:49 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Mon Sep 14 14:20:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fb5068

media-tv/mythtv: multiple init script fixes

The new init scripts had a few bugs related to permissions and command line
switches.

Gentoo-Bug: 560142
Gentoo-Bug: 560144

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 .../mythtv/files/{mythbackend.init-r1 => mythbackend.init-r2} | 8 
 ...-0.27.5_p20150904.ebuild => mythtv-0.27.5_p20150904-r1.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r1 
b/media-tv/mythtv/files/mythbackend.init-r2
similarity index 86%
rename from media-tv/mythtv/files/mythbackend.init-r1
rename to media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb1..43f53e8 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
 
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-   checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
-   checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 
/var/log/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
 
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
---pidfile /var/run/mythbackend.pid -- \
-   --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video 
\
+--pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+   --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?

diff --git a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild 
b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
rename to media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
index 62926a8..05358ad 100644
--- a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
@@ -275,7 +275,7 @@ src_install() {
insinto /usr/share/mythtv/database
doins database/*
 
-   newinitd "${FILESDIR}"/mythbackend.init-r1 mythbackend
+   newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
systemd_dounit "${FILESDIR}"/mythbackend.service
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-05 Thread Doug Goldstein
commit: a9570ca04e0816c050178ac466fae72680f1098d
Author: Doug Goldstein  gentoo  org>
AuthorDate: Sat Sep  5 02:44:55 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Sun Sep  6 03:24:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9570ca0

Retire a slew of old ebuilds

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 media-tv/mythtv/Manifest   |   6 -
 media-tv/mythtv/files/mythtv.logrotate.d-r3|  20 --
 media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 
 media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 -
 media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 -
 5 files changed, 1089 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 931c9d3..27e05e5 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,12 +1,6 @@
 DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 
SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 
599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4
 WHIRLPOOL 
74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e
 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 
2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 
8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0
 WHIRLPOOL 
c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb
 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 
2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 
1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012
 WHIRLPOOL 
3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec
-DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 
SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 
ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016
 WHIRLPOOL 
86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d
-DIST mythtv-0.27.1.tar.gz 85612356 SHA256 
a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 
f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e
 WHIRLPOOL 
938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad
-DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 
SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 
0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1
 WHIRLPOOL 
5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43
-DIST mythtv-0.27.3.tar.gz 85624583 SHA256 
8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 
c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866
 WHIRLPOOL 
b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042
-DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 
SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 
8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b
 WHIRLPOOL 
140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6
-DIST mythtv-0.27.4.tar.gz 85644227 SHA256 
1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 
6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8
 WHIRLPOOL 
65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4
 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 
SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 
bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d
 WHIRLPOOL 
249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-14 Thread Doug Goldstein
commit: 67fb506813d922889a077e6bd04ebd9277234a1a
Author: Doug Goldstein  gentoo  org>
AuthorDate: Mon Sep 14 14:19:49 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Mon Sep 14 14:20:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fb5068

media-tv/mythtv: multiple init script fixes

The new init scripts had a few bugs related to permissions and command line
switches.

Gentoo-Bug: 560142
Gentoo-Bug: 560144

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 .../mythtv/files/{mythbackend.init-r1 => mythbackend.init-r2} | 8 
 ...-0.27.5_p20150904.ebuild => mythtv-0.27.5_p20150904-r1.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r1 
b/media-tv/mythtv/files/mythbackend.init-r2
similarity index 86%
rename from media-tv/mythtv/files/mythbackend.init-r1
rename to media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb1..43f53e8 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
 
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-   checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
-   checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 
/var/log/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
 
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
---pidfile /var/run/mythbackend.pid -- \
-   --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video 
\
+--pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+   --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?

diff --git a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild 
b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
rename to media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
index 62926a8..05358ad 100644
--- a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
@@ -275,7 +275,7 @@ src_install() {
insinto /usr/share/mythtv/database
doins database/*
 
-   newinitd "${FILESDIR}"/mythbackend.init-r1 mythbackend
+   newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
systemd_dounit "${FILESDIR}"/mythbackend.service
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-05 Thread Doug Goldstein
commit: a9570ca04e0816c050178ac466fae72680f1098d
Author: Doug Goldstein  gentoo  org>
AuthorDate: Sat Sep  5 02:44:55 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Sun Sep  6 03:24:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9570ca0

Retire a slew of old ebuilds

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 media-tv/mythtv/Manifest   |   6 -
 media-tv/mythtv/files/mythtv.logrotate.d-r3|  20 --
 media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 
 media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 -
 media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 -
 5 files changed, 1089 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 931c9d3..27e05e5 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,12 +1,6 @@
 DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 
SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 
599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4
 WHIRLPOOL 
74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e
 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 
2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 
8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0
 WHIRLPOOL 
c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb
 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 
2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 
1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012
 WHIRLPOOL 
3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec
-DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 
SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 
ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016
 WHIRLPOOL 
86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d
-DIST mythtv-0.27.1.tar.gz 85612356 SHA256 
a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 
f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e
 WHIRLPOOL 
938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad
-DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 
SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 
0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1
 WHIRLPOOL 
5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43
-DIST mythtv-0.27.3.tar.gz 85624583 SHA256 
8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 
c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866
 WHIRLPOOL 
b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042
-DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 
SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 
8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b
 WHIRLPOOL 
140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6
-DIST mythtv-0.27.4.tar.gz 85644227 SHA256 
1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 
6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8
 WHIRLPOOL 
65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4
 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 
SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 
bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d
 WHIRLPOOL 
249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-14 Thread Doug Goldstein
commit: 67fb506813d922889a077e6bd04ebd9277234a1a
Author: Doug Goldstein  gentoo  org>
AuthorDate: Mon Sep 14 14:19:49 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Mon Sep 14 14:20:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fb5068

media-tv/mythtv: multiple init script fixes

The new init scripts had a few bugs related to permissions and command line
switches.

Gentoo-Bug: 560142
Gentoo-Bug: 560144

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 .../mythtv/files/{mythbackend.init-r1 => mythbackend.init-r2} | 8 
 ...-0.27.5_p20150904.ebuild => mythtv-0.27.5_p20150904-r1.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r1 
b/media-tv/mythtv/files/mythbackend.init-r2
similarity index 86%
rename from media-tv/mythtv/files/mythbackend.init-r1
rename to media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb1..43f53e8 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
 
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-   checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
-   checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 
/var/log/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
 
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
---pidfile /var/run/mythbackend.pid -- \
-   --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video 
\
+--pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+   --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?

diff --git a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild 
b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
rename to media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
index 62926a8..05358ad 100644
--- a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
@@ -275,7 +275,7 @@ src_install() {
insinto /usr/share/mythtv/database
doins database/*
 
-   newinitd "${FILESDIR}"/mythbackend.init-r1 mythbackend
+   newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
systemd_dounit "${FILESDIR}"/mythbackend.service
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-05 Thread Doug Goldstein
commit: a9570ca04e0816c050178ac466fae72680f1098d
Author: Doug Goldstein  gentoo  org>
AuthorDate: Sat Sep  5 02:44:55 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Sun Sep  6 03:24:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9570ca0

Retire a slew of old ebuilds

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 media-tv/mythtv/Manifest   |   6 -
 media-tv/mythtv/files/mythtv.logrotate.d-r3|  20 --
 media-tv/mythtv/mythtv-0.27.1_p20140817.ebuild | 353 
 media-tv/mythtv/mythtv-0.27.3_p20141009.ebuild | 355 -
 media-tv/mythtv/mythtv-0.27.4_p20150124.ebuild | 355 -
 5 files changed, 1089 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 931c9d3..27e05e5 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,12 +1,6 @@
 DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 
SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 
599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4
 WHIRLPOOL 
74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e
 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 
2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 
8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0
 WHIRLPOOL 
c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb
 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 
2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 
1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012
 WHIRLPOOL 
3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec
-DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 
SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 
ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016
 WHIRLPOOL 
86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d
-DIST mythtv-0.27.1.tar.gz 85612356 SHA256 
a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 
f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e
 WHIRLPOOL 
938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad
-DIST mythtv-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 77584 
SHA256 43e54366582c71c0835771987be6dd33543326ba2aba4efb8a57f83b965647cc SHA512 
0360b990d0ec5eade879879c516a9169c50aafaff8b08fff60d4d65e93b3c2dadac36869f958e070b644eea72592344a7f678c78a25ae7950372e17b725a1cd1
 WHIRLPOOL 
5eb3b1cbea2defad1143ad3934ad5d2c2585595013bc8619f8e436eebcdfa35efe377bf40b50281140901314b5c1daf2c8654b9a0f7ab4be59fdc49c5d278c43
-DIST mythtv-0.27.3.tar.gz 85624583 SHA256 
8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 
c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866
 WHIRLPOOL 
b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042
-DIST mythtv-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 12752 
SHA256 b3331d8dbe36d34c88ab42aec2d2d84e2bb51ba11b714f23c5faa91e32ce06de SHA512 
8f80378cfc5be8058baa74f7d25e8ec0a0405201e6f8b77b6cb96ba91dbd9b9251947ba7b6e48efad5270624769195891e2c48e0c8d0a16d6f8893801103a26b
 WHIRLPOOL 
140d8dfb39942ef587b551099942b6b284bd49e070225aaee71f3fb4feebfc0ce293461b87fe9f6477def2745a6d71226fb103cf090a25fc33ecf85bd62212b6
-DIST mythtv-0.27.4.tar.gz 85644227 SHA256 
1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 
6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8
 WHIRLPOOL 
65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4
 DIST mythtv-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 11992 
SHA256 aef3b944a9f4b49daa3f5489b58a080db35eb7b85c76819d9d00ccf1adfadfdf SHA512 
bddc80f6d7e7ad583459a2192660e6101d53d8821c0f875634f90588bc6fbff86c80fa75f6e8cb859fd5164a81f0ad3427939d57da2b112741b1ea9ce646659d
 WHIRLPOOL 
249d4f5332d943669610b96363b6d2b19d63973ba191bd62900e7d31362b4

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2015-09-14 Thread Doug Goldstein
commit: 67fb506813d922889a077e6bd04ebd9277234a1a
Author: Doug Goldstein  gentoo  org>
AuthorDate: Mon Sep 14 14:19:49 2015 +
Commit: Doug Goldstein  gentoo  org>
CommitDate: Mon Sep 14 14:20:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fb5068

media-tv/mythtv: multiple init script fixes

The new init scripts had a few bugs related to permissions and command line
switches.

Gentoo-Bug: 560142
Gentoo-Bug: 560144

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein  gentoo.org>

 .../mythtv/files/{mythbackend.init-r1 => mythbackend.init-r2} | 8 
 ...-0.27.5_p20150904.ebuild => mythtv-0.27.5_p20150904-r1.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r1 
b/media-tv/mythtv/files/mythbackend.init-r2
similarity index 86%
rename from media-tv/mythtv/files/mythbackend.init-r1
rename to media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb1..43f53e8 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
 
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-   checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
-   checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 
/var/log/mythtv
+   checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
 
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
---pidfile /var/run/mythbackend.pid -- \
-   --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video 
\
+--pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+   --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?

diff --git a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild 
b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
rename to media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
index 62926a8..05358ad 100644
--- a/media-tv/mythtv/mythtv-0.27.5_p20150904.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.5_p20150904-r1.ebuild
@@ -275,7 +275,7 @@ src_install() {
insinto /usr/share/mythtv/database
doins database/*
 
-   newinitd "${FILESDIR}"/mythbackend.init-r1 mythbackend
+   newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
systemd_dounit "${FILESDIR}"/mythbackend.service
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-08-14 Thread Andreas Sturmlechner
commit: c6efb1db19f9073bfd64c4a00e99fde85b05e9e0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 14 11:12:05 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 14 11:14:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efb1db

media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1

Thanks-to: Amel Hodzic  gmail.com>
Closes: https://bugs.gentoo.org/691904
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../mythtv/files/mythtv-29.1-exiv2-0.27.1.patch | 21 +
 media-tv/mythtv/mythtv-29.1-r1.ebuild   |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch 
b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000..afdf423355e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic 
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
 b/libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@ 
+ #include "exitcodes.h"// for ffprobe
+ 
+ // libexiv2 for Exif metadata
+-//#include 
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file.  Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include 
+-#else
+-#include 
+-#endif
++#include 
+ 
+ // To read FFMPEG Metadata
+ extern "C" {

diff --git a/media-tv/mythtv/mythtv-29.1-r1.ebuild 
b/media-tv/mythtv/mythtv-29.1-r1.ebuild
index 85c778c6135..05fc9479744 100644
--- a/media-tv/mythtv/mythtv-29.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-29.1-r1.ebuild
@@ -156,6 +156,8 @@ to journald via the console at the notice verbosity.
 
 MYTHTV_GROUPS="video,audio,tty,uucp"
 
+PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) # bug 691904
+
 pkg_setup() {
python-single-r1_pkg_setup
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2020-11-15 Thread Joonas Niilola
commit: e7d274b91f7aa7de97951f9f80ee4e1d021b0e55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Nov 15 14:25:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov 15 15:31:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d274b9

media-tv/mythtv: fix SizeViolation issue

Closes: https://bugs.gentoo.org/748195
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 -
 media-tv/mythtv/mythtv-30.0_p20190808-r3.ebuild|   5 +-
 3 files changed, 4 insertions(+), 367 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index 2cd0c5dfd6b..261a47d69a2 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1,2 +1,3 @@
+DIST mythtv-30.0_p20190808-cast_constants_to_short.patch 24201 BLAKE2B 
d76e519666914f6c9a510fb0aec493e361e857f51e56bd7d120657f350b0bf5da329a89eb58c9789f8f030c6d08bfe0171750690b76d8c2add807942aa686d59
 SHA512 
c2724ad248222ac4190412cf68e54ee0b265fdde128996e68a2e178e6debe0180c23f9c7d1878466f9a5689fab8172370c6b31c90aa9a096fb5919ec6e8960fe
 DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2
 DIST mythtv-31.0.tar.gz 102552136 BLAKE2B 
b09b41230eb2cae19d770c3cc59151863e0a56e95a86627473d52613e62f0acf3bd0c4bb37afb340ab874c222899f9d3c219ded470785d27960db9b39d784ceb
 SHA512 
d53817231409934ef37d12739c38cf6936f04f816b0ba1c9738ce99b5b4ff387c70b683ccd84f649ff2f74992b2158829f5f1d1ffe06c8768da1922b90439f6e

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
deleted file mode 100644
index 572f4e2b757..000
--- a/media-tv/mythtv/files/mythtv-30.0_p20190808-cast_constants_to_short.patch
+++ /dev/null
@@ -1,365 +0,0 @@
 a/libs/libmyth/test/test_audioutils/test_audioutils.h
-+++ b/libs/libmyth/test/test_audioutils/test_audioutils.h
-@@ -204,42 +204,48 @@ class TestAudioUtils: public QObject
- arrays1[i] = j;
- }
- 
--uint32_t pattern= 0xbcbcbcbc;
--arrays2[offsetshort-4]  = *(short*)&pattern;
--arrays2[offsetshort-3]  = *(short*)&pattern;
--arrays2[offsetshort-2]  = *(short*)&pattern;
--arrays2[offsetshort-1]  = *(short*)&pattern;
--arrayf[offsetfloat-4]   = *(float*)&pattern;
--arrayf[offsetfloat-3]   = *(float*)&pattern;
--arrayf[offsetfloat-2]   = *(float*)&pattern;
--arrayf[offsetfloat-1]   = *(float*)&pattern;
--arrays2[SAMPLES+offsetshort+0]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+1]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+2]= *(short*)&pattern;
--arrays2[SAMPLES+offsetshort+3]= *(short*)&pattern;
--arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern;
--arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern;
-+  const union
-+  {
-+  uint32_t pattern;
-+  short shortpattern;
-+  float floatpattern;
-+  } pattern = { .pattern = 0xbcbcbcbc };
-+
-+arrays2[offsetshort-4]  = *&pattern.shortpattern;
-+arrays2[offsetshort-3]  = *&pattern.shortpattern;
-+arrays2[offsetshort-2]  = *&pattern.shortpattern;
-+arrays2[offsetshort-1]  = *&pattern.shortpattern;
-+arrayf[offsetfloat-4]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-3]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-2]   = *(float*)&pattern.floatpattern;
-+arrayf[offsetfloat-1]   = *(float*)&pattern.floatpattern;
-+arrays2[SAMPLES+offsetshort+0]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+1]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+2]= *&pattern.shortpattern;
-+arrays2[SAMPLES+offsetshort+3]= *&pattern.shortpattern;
-+arrayf[SAMPLES+offsetfloat+0] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+1] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+2] = *(float*)&pattern.floatpattern;
-+arrayf[SAMPLES+offsetfloat+3] = *(float*)&pattern.floatpattern;
- 
- // sanity tests
- QCOMPARE(SAMPLES*2, SAMPLES * ISIZEOF(arrays1[0]));
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-4],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-3],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offsetfloat-2],pattern);
--QCOMPARE(*(uint32_t*)&arrayf[offset

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2019-09-20 Thread Joonas Niilola
commit: cb34a5497be5bc3642f0fc05b59bab53ca7e0ca1
Author: Wilson Michaels  eartlink  net>
AuthorDate: Tue Sep 17 19:53:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 20 16:17:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb34a549

media-tv/mythtv: Bump to 30.0_p2019080 on fixes/30 branch

EAPI 7

Signed-off-by: Wilson Michaels  eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12818
Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/mythtv/Manifest   |   1 +
 ...808-Fix_Dereferencing_type-punned_pointer.patch |  34 ++
 ...-30.0_p20190808-Fix_unitialized_variables.patch |  22 ++
 ...tv-30.0_p20190808-cast_constants_to_short.patch | 365 ++
 .../mythtv-30.0_p20190808-respect_LDFLAGS.patch|  14 +
 media-tv/mythtv/metadata.xml   |  75 ++--
 media-tv/mythtv/mythtv-30.0_p20190808.ebuild   | 420 +
 7 files changed, 888 insertions(+), 43 deletions(-)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index ab544b3114f..fe458fa1553 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -1 +1,2 @@
 DIST mythtv-29.1-r1.tar.gz 105657217 BLAKE2B 
9d42464b0c75c2d3a359b528e3f7917cfb281f48451167afc6517caa9702da44fce2d48566fd902ec08af35117232113b4d499e2c9a3cf2ad2634d91cf532ca7
 SHA512 
0eadc37661d9fa93a63c0f425cd43d43533889b0afcea1478b2645e083ba6c96eebf2eec088db1ed6f0a0727c03b7c90c0c18b83c194d630dda3bac45bca5d87
+DIST mythtv-30.0_p20190808.tar.gz 101208060 BLAKE2B 
af8966dd6353fc514c9a95083f28e8b7b19f16e1bd5a4f7590a946c306bf16a09f0028c76da975e423136834f8f06d7f2a570b43957ef4ae5e42ee241b579f0a
 SHA512 
c02371c0b2162556e40a560a0fd9cb121f46f2ccedbc2ca74cd03aa9caf2b7ea4bbaa09ae6320eb782f932190f449e7fdd274a6d6ba9676e5fd9b7f5432632a2

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
new file mode 100644
index 000..bc0751c887c
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_Dereferencing_type-punned_pointer.patch
@@ -0,0 +1,34 @@
+--- a/libs/libmythfreemheg/Programs.cpp
 b/libs/libmythfreemheg/Programs.cpp
+@@ -232,7 +232,10 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ for (int i = 0; i < format.Size(); i++)
+ {
+ unsigned char ch = format.GetAt(i);
+-char buffer[5]; // Largest text is 4 chars for a year + 
null terminator
++  // Largest text is 4 chars for a year + null terminator
++  // But... adding a constant to the value might be 5 chars + 
null terminator
++  // Using 6 gets rid of compiler warning
++char buffer[6];
+ 
+ if (ch == '%')
+ {
+@@ -249,16 +252,16 @@ void MHResidentProgram::CallProgram(bool fIsFork, const 
MHObjectRef &success, co
+ switch (ch)
+ {
+ case 'Y':
+-sprintf(buffer, "%04d", timeStr->tm_year + 
1900);
++sprintf(buffer, "%04d", (unsigned 
short)(timeStr->tm_year + 1900));
+ break;
+ case 'y':
+ sprintf(buffer, "%02d", timeStr->tm_year % 
100);
+ break;
+ case 'X':
+-sprintf(buffer, "%02d", timeStr->tm_mon + 1);
++sprintf(buffer, "%02d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'x':
+-sprintf(buffer, "%1d", timeStr->tm_mon + 1);
++sprintf(buffer, "%1d", (unsigned 
short)(timeStr->tm_mon + 1));
+ break;
+ case 'D':
+ sprintf(buffer, "%02d", timeStr->tm_mday);

diff --git 
a/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
new file mode 100644
index 000..db296242515
--- /dev/null
+++ 
b/media-tv/mythtv/files/mythtv-30.0_p20190808-Fix_unitialized_variables.patch
@@ -0,0 +1,22 @@
+--- a/libs/libmythtv/eitfixup.cpp
 b/libs/libmythtv/eitfixup.cpp
+@@ -842,7 +842,7 @@ void EITFixUp::SetUKSubtitle(DBEventEIT &event) const
+ void EITFixUp::FixUK(DBEventEIT &event) const
+ {
+ int position1;
+-int position2;
++int position2 = 0;
+ QString strFull;
+ 
+ bool isMovie = event.m_category.startsWith("Movie",Qt::CaseInsensitive) ||
+--- a/libs/libmythui/mythuitext.cpp
 b/libs/libmythui/mythuitext.cpp
+@@ -1058,7 +10

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-03-12 Thread Michael Palimaka
commit: 0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Mar 12 23:13:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Mar 12 23:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8ee4d

media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0

Gentoo-bug: 600094
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch  | 17 +
 ...0160318.ebuild => mythtv-0.27.6_p20160318-r1.ebuild} |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch 
b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000..578feaae1b0
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
 b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+ 
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+-[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
+-[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+-[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++//[VP8E_UPD_ENTROPY]   = "VP8E_UPD_ENTROPY",
++//[VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++//[VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP]   = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",

diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild 
b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
similarity index 99%
rename from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
rename to media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f..aeefe6f87aa 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
-   =media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
epatch "${FILESDIR}/libdir-27.patch"
+   epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
 
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2017-10-20 Thread Andreas Hüttel
commit: 49e135cfc1274442c7f22e8372d053e0d34dc484
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 20 21:38:53 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Oct 20 21:39:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e135cf

media-tv/mythtv: Fix build with glibc-2.25, bug 604430

Closes: https://bugs.gentoo.org/604430
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 ++
 media-tv/mythtv/mythtv-0.28.1-r1.ebuild|  1 +
 2 files changed, 30 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch 
b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
new file mode 100644
index 000..343a808076e
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch
@@ -0,0 +1,29 @@
+From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001
+From: Stuart Auchterlonie 
+Date: Tue, 6 Jun 2017 22:39:03 +0100
+Subject: [PATCH] Refs #13047 - major() and minor() are defined in
+ 
+
+On BSD platforms they remain defined in 
+
+(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2)
+---
+ mythtv/libs/libmythtv/videosource.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mythtv/libs/libmythtv/videosource.cpp 
b/mythtv/libs/libmythtv/videosource.cpp
+index 97618adc80..09dd95073d 100644
+--- a/mythtv/libs/libmythtv/videosource.cpp
 b/mythtv/libs/libmythtv/videosource.cpp
+@@ -3,7 +3,11 @@
+ // Standard UNIX C headers
+ #include 
+ #include 
++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__)
+ #include 
++#else
++#include 
++#endif
+ #include 
+ 
+ // C++ headers

diff --git a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild 
b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
index ac83e415065..4d9566ab953 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r1.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
 
echo "setting.extra -= -ldconfig" >> 
"${S}"/programs/mythfrontend/mythfrontend.pro
 
+   epatch "${FILESDIR}/${P}-glibc225.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2016-04-16 Thread Richard Freeman
commit: 514d063046bc52bbc3c99ba6ccaff5212a13603a
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Apr 16 11:52:24 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Apr 16 12:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514d0630

media-tv/mythtv: Major release to 0.28

Package-Manager: portage-2.2.26

 media-tv/mythtv/Manifest |   1 +
 media-tv/mythtv/files/mythbackend.service-28 |  66 +
 media-tv/mythtv/mythtv-0.28.ebuild   | 362 +++
 3 files changed, 429 insertions(+)

diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest
index fd8453c..ce15eb1 100644
--- a/media-tv/mythtv/Manifest
+++ b/media-tv/mythtv/Manifest
@@ -3,3 +3,4 @@ DIST 
mythtv-0.27.5-68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d.tar.xz 28096 SHA256
 DIST mythtv-0.27.5.tar.gz 85652939 SHA256 
7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 
b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169
 WHIRLPOOL 
e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880
 DIST mythtv-0.27.6_p20160318.tar.gz 85676387 SHA256 
d0b8c03d95e082e87e0fab8656358e9f3991cd08b2ec5edcbb10a9a91b1e4162 SHA512 
7e94d07b4f99a15b978b42d8be11f329a938842b02ad99c9628ab6dda2fa802ca7148c5db9e6f7fae40f44027f55e69f1cdb6879ee83400934025f18ac68468f
 WHIRLPOOL 
d0f040c1ecb35e5c526477134d756a67d978aeefbf478b624eaa16e4ca1639e3b8f038507052b7d05e3a18fb85fd4e1eaeeb1a185ccfdf0fb2255fdc657be6c1
 DIST mythtv-0.27.tar.gz 85904162 SHA256 
494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 
2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d6
 WHIRLPOOL 
74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47
+DIST mythtv-0.28.tar.gz 104364066 SHA256 
9d640ab0551b300dab9b633f969efc6f1987f9bdedbef5997a44ddf97d863171 SHA512 
7087fa69b89a7166ddfa96a5a65f48e0ee1858bc150376b2ac2309707b4d1fb9cc544d60b114227284fd0d4891eabded6edc31215fb8f11d1df304fe77ff8f85
 WHIRLPOOL 
f593ab2c232c4f5361b3997d35ba631c845d0f12399a772fdfc296a9e120f5a03a7ba22dbe26b972c522f46a13907fc09b2619e84874cd952095b72df54d53e1

diff --git a/media-tv/mythtv/files/mythbackend.service-28 
b/media-tv/mythtv/files/mythbackend.service-28
new file mode 100644
index 000..3ab4c9b
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend.service-28
@@ -0,0 +1,66 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in # 
/etc/systemd/system
+
+# This file is part of the packaging of MythTV #
+# MythTV is free software; view http://www.mythtv.org for more information.
+#
+# It is sometimes necessary to wait for a capture device to finish (hot)plug
+# initialization before the backend starts.  If this is necessary, 
+# create a Wants and After entry for all the capture devices that
+# one wishes to wait to be created before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns 
+# into dev-some-thing.device).  These normally should  be udev persistent 
+# filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename # discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a device unit for the 
+# capture device, one must insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev rule file located in: 
+# /lib/udev/rules.d/99-mythbackend.rules
+
+[Unit]
+Description=MythTV backend service
+After=network.target mysqld.service
+# Uncomment the following line if you will be using the mythweb plugin on the 
+# same system as mythbackend.
+#Wants=httpd.service
+
+[Service]
+Type=notify
+
+Environment=MYTHCONFDIR=/etc/mythtv
+# Default setting assumes a system wide install. Otherwise it should be set to 
+# the folder containing the .mythtv subfolder containing the config.xml file 
+# Such as
+#Environment=HOME=/usr/share/mythtv
+# or
+Environment=HOME=/~/.mythtv
+
+# systemd changes execution from the calling user (possibly root) to this user
+# if you have permissions problems or obscure errors try logging in as mythtv 
+# See notes below
+User=mythtv
+
+# Uncomment one of the following...
+# Use sysloging rather than separate logging:
+#ExecStart=/usr/bin/mythbackend --syslog local7 
+
+# If Type=forking you must specify the --daemon and --pidfile options:
+#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel 
crit --pidfile /run/mythtv/mythbackend.pid 
+#PIDFILE=/run/mythtv/mythbackend.pid
+
+# Systemd sends stdout to syslog, and mythbackend has console logging enab

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2024-01-08 Thread Sam James
commit: f785d71faf63548afe5e2f6fb4ee03da1c686597
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Jan  8 21:08:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  9 07:22:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f785d71f

media-tv/mythtv: drop dependencies on future/simplejson

In particular, "future" is terribly unfortunate python2 stuff that
blocks bumping PYTHON_COMPAT to python3_12.

Fixed upstream in https://github.com/MythTV/mythtv/pull/838 and
backported here.

Closes: https://bugs.gentoo.org/888291
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/mythtv/files/mythtv-33.1-python3.12.patch | 279 +++
 media-tv/mythtv/mythtv-33.1-r1.ebuild  | 380 +
 2 files changed, 659 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-33.1-python3.12.patch 
b/media-tv/mythtv/files/mythtv-33.1-python3.12.patch
new file mode 100644
index ..48a97b09623d
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-33.1-python3.12.patch
@@ -0,0 +1,279 @@
+From f1848eb41bf35d57b63b3a8cb19763c5b4656717 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Thu, 4 Jan 2024 16:18:00 -0500
+Subject: [PATCH 1/2] hardwareprofile: remove external dependency on simplejson
+
+This uses the requests module and converts requests responses to json
+using requests' own `.json()` method on responses. For incomprehensible
+reasons, requests has spent about a decade using either simplejson or
+the standard library's json module more or less at will, and returning
+either one or the other exception types. They don't know why they use
+simplejson, we don't know why they use simplejson. In requests 3 (which
+will be released in the Year Of The Linux Desktop or when pigs fly,
+whichever one comes later) simplejson is dropped entirely.
+
+There are innumerable issues discussing the problem on the requests
+bugtracker, with the general consensus being that it's better to
+randomly return either one of two different libraries and two different
+library return types in errors -- because it was historically done that
+way and people might be depending on it. ??
+
+Bugs:
+
+https://github.com/psf/requests/pull/710
+https://github.com/psf/requests/pull/2516
+https://github.com/psf/requests/issues/3052
+https://github.com/psf/requests/issues/4169
+https://github.com/psf/requests/issues/4842
+https://github.com/psf/requests/issues/5794
+https://github.com/psf/requests/issues/6084
+
+The awkward workaround is to guarantee that requests' silent behavior of
+using simplejson *if it is installed* is forcibly triggered by forcibly
+depending on simplejson, and then catching the simplejson exception.
+
+The better solution here is pretty simple: do not rely on the requests
+module's automatic json conversion, this is as simple as using the
+already-imported json module and calling json.loads() on the retrieved
+content.
+
+Fixes: 1df343e9ab7defa284a73390210a65cf2112f17e
+Reimplements: bb154a843b737cc3ad8c1a45fa04a1a3609aff05
+(cherry picked from commit 6348dc01a45af6ed63c09326ec94cd425db1d6d7)
+---
+ .github/workflows/buildmaster.yml| 2 +-
+ mythtv/configure | 1 -
+ mythtv/programs/scripts/hardwareprofile/smolt.py | 5 ++---
+ 3 files changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/.github/workflows/buildmaster.yml 
b/.github/workflows/buildmaster.yml
+index eea6e9fc2a..325cc7da64 100644
+--- a/.github/workflows/buildmaster.yml
 b/.github/workflows/buildmaster.yml
+@@ -48,7 +48,7 @@ jobs:
+ sudo apt install ccache qt5-qmake qtscript5-dev nasm libsystemd-dev 
libfreetype6-dev libmp3lame-dev libx264-dev libx265-dev libxrandr-dev 
libxml2-dev
+ sudo apt install libavahi-compat-libdnssd-dev libasound2-dev 
liblzo2-dev libhdhomerun-dev libsamplerate0-dev libva-dev libdrm-dev 
libvdpau-dev
+ sudo apt install libass-dev libpulse-dev libcec-dev libssl-dev 
libtag1-dev libbluray-dev libbluray-bdj libgnutls28-dev libqt5webkit5-dev
+-sudo apt install libvpx-dev python3-mysqldb python3-lxml 
python3-simplejson python3-future python3-setuptools libdbi-perl 
libdbd-mysql-perl libnet-upnp-perl
++sudo apt install libvpx-dev python3-mysqldb python3-lxml 
python3-future python3-setuptools libdbi-perl libdbd-mysql-perl libnet-upnp-perl
+ sudo apt install libio-socket-inet6-perl libxml-simple-perl 
libqt5sql5-mysql libwayland-dev qtbase5-private-dev libzip-dev libsoundtouch-dev
+   if: runner.os == 'Linux'
+ 
+diff --git a/mythtv/configure b/mythtv/configure
+index 7e966ef817..3429c208e2 100755
+--- a/mythtv/configure
 b/mythtv/configure
+@@ -6555,7 +6555,6 @@ if enabled bindings_python; then
+ check_py_lib MySQLdb   || disable_bindings_python "MySQLdb"
+ check_py_lib lxml  || disable_bindings_python "lxml"
+ check_py_lib requests  || disable_bindings_python "requests"
+-check

[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2024-01-11 Thread Sam James
commit: ecc8eaf12dc554f02cdf1a7a4e1a7435f88f311d
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Jan 10 22:54:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 11 12:02:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc8eaf1

media-tv/mythtv: fix broken patch

Recreate patch to work when applied with -p2, since ${S} is not the
tarball root.

Fixes: f785d71faf63548afe5e2f6fb4ee03da1c686597
Closes: https://bugs.gentoo.org/921694
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/mythtv/files/mythtv-33.1-python3.12.patch | 20 +++-
 media-tv/mythtv/mythtv-33.1-r1.ebuild  |  9 +
 2 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/media-tv/mythtv/files/mythtv-33.1-python3.12.patch 
b/media-tv/mythtv/files/mythtv-33.1-python3.12.patch
index 48a97b09623d..91f72ab13ac3 100644
--- a/media-tv/mythtv/files/mythtv-33.1-python3.12.patch
+++ b/media-tv/mythtv/files/mythtv-33.1-python3.12.patch
@@ -1,4 +1,4 @@
-From f1848eb41bf35d57b63b3a8cb19763c5b4656717 Mon Sep 17 00:00:00 2001
+From ea59f869dcbd73b1d0dca973314604f689b50c34 Mon Sep 17 00:00:00 2001
 From: Eli Schwartz 
 Date: Thu, 4 Jan 2024 16:18:00 -0500
 Subject: [PATCH 1/2] hardwareprofile: remove external dependency on simplejson
@@ -41,24 +41,10 @@ Fixes: 1df343e9ab7defa284a73390210a65cf2112f17e
 Reimplements: bb154a843b737cc3ad8c1a45fa04a1a3609aff05
 (cherry picked from commit 6348dc01a45af6ed63c09326ec94cd425db1d6d7)
 ---
- .github/workflows/buildmaster.yml| 2 +-
  mythtv/configure | 1 -
  mythtv/programs/scripts/hardwareprofile/smolt.py | 5 ++---
- 3 files changed, 3 insertions(+), 5 deletions(-)
+ 2 files changed, 2 insertions(+), 4 deletions(-)
 
-diff --git a/.github/workflows/buildmaster.yml 
b/.github/workflows/buildmaster.yml
-index eea6e9fc2a..325cc7da64 100644
 a/.github/workflows/buildmaster.yml
-+++ b/.github/workflows/buildmaster.yml
-@@ -48,7 +48,7 @@ jobs:
- sudo apt install ccache qt5-qmake qtscript5-dev nasm libsystemd-dev 
libfreetype6-dev libmp3lame-dev libx264-dev libx265-dev libxrandr-dev 
libxml2-dev
- sudo apt install libavahi-compat-libdnssd-dev libasound2-dev 
liblzo2-dev libhdhomerun-dev libsamplerate0-dev libva-dev libdrm-dev 
libvdpau-dev
- sudo apt install libass-dev libpulse-dev libcec-dev libssl-dev 
libtag1-dev libbluray-dev libbluray-bdj libgnutls28-dev libqt5webkit5-dev
--sudo apt install libvpx-dev python3-mysqldb python3-lxml 
python3-simplejson python3-future python3-setuptools libdbi-perl 
libdbd-mysql-perl libnet-upnp-perl
-+sudo apt install libvpx-dev python3-mysqldb python3-lxml 
python3-future python3-setuptools libdbi-perl libdbd-mysql-perl libnet-upnp-perl
- sudo apt install libio-socket-inet6-perl libxml-simple-perl 
libqt5sql5-mysql libwayland-dev qtbase5-private-dev libzip-dev libsoundtouch-dev
-   if: runner.os == 'Linux'
- 
 diff --git a/mythtv/configure b/mythtv/configure
 index 7e966ef817..3429c208e2 100755
 --- a/mythtv/configure
@@ -98,7 +84,7 @@ index 1bcc8060d0..464f068d6f 100644
 2.41.0
 
 
-From 13f65c0015d3e0d82d01a1dd5c15afe0ff1e8029 Mon Sep 17 00:00:00 2001
+From 7c1dbe7a86dc9b445a1a491f5a849b0eba21aead Mon Sep 17 00:00:00 2001
 From: Eli Schwartz 
 Date: Wed, 13 Dec 2023 23:11:11 -0500
 Subject: [PATCH 2/2] hardwareprofile: remove ancient "future" compatibility

diff --git a/media-tv/mythtv/mythtv-33.1-r1.ebuild 
b/media-tv/mythtv/mythtv-33.1-r1.ebuild
index 344b691045d3..d0d9cd8758c6 100644
--- a/media-tv/mythtv/mythtv-33.1-r1.ebuild
+++ b/media-tv/mythtv/mythtv-33.1-r1.ebuild
@@ -147,10 +147,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-33.1-libva.patch
"${FILESDIR}"/${PN}-33.1-ffmpeg-binutils-2.41.patch
"${FILESDIR}"/${PN}-33.1-linux-headers-6.5.patch
-   # https://github.com/MythTV/mythtv/pull/824
-   # https://github.com/MythTV/mythtv/pull/838
-   # https://bugs.gentoo.org/888291
-   "${FILESDIR}"/${PN}-33.1-python3.12.patch
 )
 
 python_check_deps() {
@@ -167,6 +163,11 @@ pkg_setup() {
 
 src_prepare() {
default
+   # https://github.com/MythTV/mythtv/pull/824
+   # https://github.com/MythTV/mythtv/pull/838
+   # https://bugs.gentoo.org/888291
+   eapply -p2 "${FILESDIR}"/${PN}-33.1-python3.12.patch
+
 
# Perl bits need to go into vendor_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2023-08-28 Thread Sam James
commit: 819e74a51b0bebd35d0fa4ba3009abfe0e05e362
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 28 19:31:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 28 19:32:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819e74a5

media-tv/mythtv: fix build w/ binutils-2.41

Closes: https://bugs.gentoo.org/912708
Signed-off-by: Sam James  gentoo.org>

 .../files/mythtv-33.1-ffmpeg-binutils-2.41.patch   | 75 ++
 media-tv/mythtv/mythtv-33.1.ebuild |  1 +
 2 files changed, 76 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-33.1-ffmpeg-binutils-2.41.patch 
b/media-tv/mythtv/files/mythtv-33.1-ffmpeg-binutils-2.41.patch
new file mode 100644
index ..e976d8344a2d
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-33.1-ffmpeg-binutils-2.41.patch
@@ -0,0 +1,75 @@
+https://bugs.gentoo.org/912708
+https://bugs.gentoo.org/911582
+https://trac.ffmpeg.org/ticket/10405
+https://git.videolan.org/?p=ffmpeg.git;a=commit;h=25cd95a9dc3510c3cc0d7aad6f9d83f6a1078c7e
+https://sourceware.org/PR30578
+https://gcc.gnu.org/PR108941
+
+From 25cd95a9dc3510c3cc0d7aad6f9d83f6a1078c7e Mon Sep 17 00:00:00 2001
+From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= 
+Date: Sun, 16 Jul 2023 18:18:02 +0300
+Subject: [PATCH] avcodec/x86/mathops: clip constants used with shift
+ instructions within inline assembly
+
+Fixes assembling with binutil as >= 2.41
+
+Signed-off-by: James Almer 
+(cherry picked from commit effadce6c756247ea8bae32dc13bb3e6f464f0eb)
+--- a/external/FFmpeg/libavcodec/x86/mathops.h
 b/external/FFmpeg/libavcodec/x86/mathops.h
+@@ -35,12 +35,20 @@
+ static av_always_inline av_const int MULL(int a, int b, unsigned shift)
+ {
+ int rt, dummy;
++if (__builtin_constant_p(shift))
+ __asm__ (
+ "imull %3   \n\t"
+ "shrdl %4, %%edx, %%eax \n\t"
+ :"=a"(rt), "=d"(dummy)
+-:"a"(a), "rm"(b), "ci"((uint8_t)shift)
++:"a"(a), "rm"(b), "i"(shift & 0x1F)
+ );
++else
++__asm__ (
++"imull %3   \n\t"
++"shrdl %4, %%edx, %%eax \n\t"
++:"=a"(rt), "=d"(dummy)
++:"a"(a), "rm"(b), "c"((uint8_t)shift)
++);
+ return rt;
+ }
+ 
+@@ -113,19 +121,31 @@ __asm__ volatile(\
+ // avoid +32 for shift optimization (gcc should do that ...)
+ #define NEG_SSR32 NEG_SSR32
+ static inline  int32_t NEG_SSR32( int32_t a, int8_t s){
++if (__builtin_constant_p(s))
+ __asm__ ("sarl %1, %0\n\t"
+  : "+r" (a)
+- : "ic" ((uint8_t)(-s))
++ : "i" (-s & 0x1F)
+ );
++else
++__asm__ ("sarl %1, %0\n\t"
++   : "+r" (a)
++   : "c" ((uint8_t)(-s))
++);
+ return a;
+ }
+ 
+ #define NEG_USR32 NEG_USR32
+ static inline uint32_t NEG_USR32(uint32_t a, int8_t s){
++if (__builtin_constant_p(s))
+ __asm__ ("shrl %1, %0\n\t"
+  : "+r" (a)
+- : "ic" ((uint8_t)(-s))
++ : "i" (-s & 0x1F)
+ );
++else
++__asm__ ("shrl %1, %0\n\t"
++   : "+r" (a)
++   : "c" ((uint8_t)(-s))
++);
+ return a;
+ }
+ 

diff --git a/media-tv/mythtv/mythtv-33.1.ebuild 
b/media-tv/mythtv/mythtv-33.1.ebuild
index 1f945c653588..9275d56d64ed 100644
--- a/media-tv/mythtv/mythtv-33.1.ebuild
+++ b/media-tv/mythtv/mythtv-33.1.ebuild
@@ -146,6 +146,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-33.1-libva.patch
+   "${FILESDIR}"/${PN}-33.1-ffmpeg-binutils-2.41.patch
 )
 
 python_check_deps() {



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2023-09-26 Thread Sam James
commit: 50a6bc2362bac481d07400cf53037fd42f9969dc
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 27 02:37:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 27 02:37:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a6bc23

media-tv/mythtv: fix build w/ linux-headers-6.5

And add the missing dep on linux-headers (which is how I didn't notice
the failure to begin with).

Closes: https://bugs.gentoo.org/913866
Signed-off-by: Sam James  gentoo.org>

 .../files/mythtv-33.1-linux-headers-6.5.patch  | 30 ++
 media-tv/mythtv/mythtv-33.1.ebuild |  2 ++
 2 files changed, 32 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-33.1-linux-headers-6.5.patch 
b/media-tv/mythtv/files/mythtv-33.1-linux-headers-6.5.patch
new file mode 100644
index ..0ead0d51d665
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-33.1-linux-headers-6.5.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/913866
+https://github.com/MythTV/mythtv/issues/775
+https://github.com/MythTV/mythtv/commit/7d6c7d605f87b697c7488d1eb4a3246b83e31f01
+
+From 7d6c7d605f87b697c7488d1eb4a3246b83e31f01 Mon Sep 17 00:00:00 2001
+From: David Hampton 
+Date: Fri, 21 Jul 2023 00:59:43 -0400
+Subject: [PATCH] Work around Linux kernel header 6.5 using C++ reserved
+ keyword.
+
+Starting with kernel 6.5.0, a rewrite of the linux/ioprio.h header
+file uses the C++ reserved keyword "class" as a variable name.
+Fortunately we can redefine the string "class" for the duration of the
+inclusion without any ill effects.
+--- a/libs/libmythbase/mythmiscutil.cpp
 b/libs/libmythbase/mythmiscutil.cpp
+@@ -702,7 +702,12 @@ void myth_yield(void)
+ #include 
+ #include 
+ #if __has_include()
++// Starting with kernel 6.5.0, the following include uses the C++
++// reserved keyword "class" as a variable name. Fortunately we can
++// redefine it without any ill effects.
++#define class class2
+ #include 
++#undef class
+ #else
+ static constexpr int8_t IOPRIO_BITS{ 16 };
+ static constexpr int8_t IOPRIO_CLASS_SHIFT { 13 };
+

diff --git a/media-tv/mythtv/mythtv-33.1.ebuild 
b/media-tv/mythtv/mythtv-33.1.ebuild
index 9275d56d64ed..f8014ccf777f 100644
--- a/media-tv/mythtv/mythtv-33.1.ebuild
+++ b/media-tv/mythtv/mythtv-33.1.ebuild
@@ -117,6 +117,7 @@ RDEPEND="
 DEPEND="
${RDEPEND}
dev-lang/yasm
+   sys-kernel/linux-headers
x11-base/xorg-proto
perl? (
dev-perl/DBD-mysql
@@ -147,6 +148,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/${PN}-33.1-libva.patch
"${FILESDIR}"/${PN}-33.1-ffmpeg-binutils-2.41.patch
+   "${FILESDIR}"/${PN}-33.1-linux-headers-6.5.patch
 )
 
 python_check_deps() {



[gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/

2023-04-29 Thread Sam James
commit: 8e6ea2a32454b265ef68be83bbc28b5319061421
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 07:03:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 07:08:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6ea2a3

media-tv/mythtv: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/899770
Signed-off-by: Sam James  gentoo.org>

 media-tv/mythtv/files/mythtv-32.0-gcc13.patch | 40 +++
 media-tv/mythtv/mythtv-32.0-r4.ebuild |  1 +
 2 files changed, 41 insertions(+)

diff --git a/media-tv/mythtv/files/mythtv-32.0-gcc13.patch 
b/media-tv/mythtv/files/mythtv-32.0-gcc13.patch
new file mode 100644
index ..5d60da0c72b1
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-32.0-gcc13.patch
@@ -0,0 +1,40 @@
+https://bugs.gentoo.org/899770
+https://github.com/MythTV/mythtv/commit/3b76df2bb45789f075b6b83d6e6b436aebaf2e83
+
+From 3b76df2bb45789f075b6b83d6e6b436aebaf2e83 Mon Sep 17 00:00:00 2001
+From: David Hampton 
+Date: Thu, 19 Jan 2023 14:52:28 -0500
+Subject: [PATCH] Assume existence of stdint.h in exiv2.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Based on this commit to exiv2.
+
+Author: Luis Díaz Más 
+Date:   Wed Sep 16 21:40:05 2020 +0200
+
+Assume existence of stdint.h
+--- a/external/libexiv2/xmpsdk/include/MD5.h
 b/external/libexiv2/xmpsdk/include/MD5.h
+@@ -25,18 +25,7 @@
+ 
+ #include 
+ 
+-#ifdef _MSC_VER
+-//   _MSC_VER   1600 == Visual Studio 2010
+-# if _MSC_VER < 1600
+-#  ifdef  EXV_HAVE_STDINT_H
+-#   undef EXV_HAVE_STDINT_H
+-#  endif
+-# endif
+-#endif
+-
+-#if defined(EXV_HAVE_STDINT_H) || defined(__MINGW32__) || defined(__MING64__) 
|| defined(__APPLE__)
+-# include 
+-#endif
++#include 
+ 
+ /* MSVC doesn't provide C99 types, but it has MS specific variants */
+ #ifdef _MSC_VER
+

diff --git a/media-tv/mythtv/mythtv-32.0-r4.ebuild 
b/media-tv/mythtv/mythtv-32.0-r4.ebuild
index ce9af87d74fa..80e017be9774 100644
--- a/media-tv/mythtv/mythtv-32.0-r4.ebuild
+++ b/media-tv/mythtv/mythtv-32.0-r4.ebuild
@@ -152,6 +152,7 @@ python_check_deps() {
 
 PATCHES=(
"${FILESDIR}"/${PN}-32.0-python-version.patch
+   "${FILESDIR}"/${PN}-32.0-gcc13.patch
 )
 
 DISABLE_AUTOFORMATTING="yes"