From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1147129-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E258138351 for <garchives@archives.gentoo.org>; Wed, 19 Feb 2020 07:34:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 709A6E09A6; Wed, 19 Feb 2020 07:34:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40AD8E09A6 for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2020 07:34:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4DDC34ED95 for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2020 07:34:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5631E150 for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2020 07:34:28 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1582097025.efbfda26c37b30d1648468e272f5ecebc646d1c6.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/mythtv/mythtv-29.1-r2.ebuild media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild media-tv/mythtv/mythtv-30.0_p20190808-r2.ebuild X-VCS-Directories: media-tv/mythtv/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: efbfda26c37b30d1648468e272f5ecebc646d1c6 X-VCS-Branch: master Date: Wed, 19 Feb 2020 07:34:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 166909d4-d552-4966-8e11-4160a793dfe1 X-Archives-Hash: 659290c8742b1b750af3d8414cec2c78 commit: efbfda26c37b30d1648468e272f5ecebc646d1c6 Author: Wilson Michaels <thebitpit <AT> earthlink <DOT> net> AuthorDate: Tue Feb 18 15:13:20 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Feb 19 07:23:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efbfda26 media-tv/mythtv: Bug fix, add user info Closes: https://bugs.gentoo.org/702654 Closes: https://bugs.gentoo.org/696568 Closes: https://bugs.gentoo.org/710046 Closes: https://bugs.gentoo.org/710048 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Wilson Michaels <thebitpit <AT> earthlink.net> Closes: https://github.com/gentoo/gentoo/pull/14694 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> media-tv/mythtv/mythtv-29.1-r2.ebuild | 8 ++-- media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild | 2 +- ...8-r1.ebuild => mythtv-30.0_p20190808-r2.ebuild} | 52 ++++++++++++++-------- 3 files changed, 38 insertions(+), 24 deletions(-) diff --git a/media-tv/mythtv/mythtv-29.1-r2.ebuild b/media-tv/mythtv/mythtv-29.1-r2.ebuild index b0eb9f82677..c386ea2be4f 100644 --- a/media-tv/mythtv/mythtv-29.1-r2.ebuild +++ b/media-tv/mythtv/mythtv-29.1-r2.ebuild @@ -9,7 +9,7 @@ BACKPORTS="d8a2db77f5731cf32c6d31127452391c6cf7f91f" MY_P=${P%_p*} MY_PV=${PV%_p*} -inherit flag-o-matic python-single-r1 qmake-utils user readme.gentoo-r1 systemd toolchain-funcs vcs-snapshot +inherit flag-o-matic python-single-r1 qmake-utils user-info readme.gentoo-r1 systemd toolchain-funcs vcs-snapshot MYTHTV_BRANCH="fixes/29" @@ -31,6 +31,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} " COMMON=" + acct-user/mythtv dev-libs/glib:2 dev-qt/qtcore:5 dev-qt/qtdbus:5 @@ -111,8 +112,6 @@ COMMON=" ) " RDEPEND="${COMMON} - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes media-fonts/corefonts media-fonts/dejavu media-fonts/liberation-fonts @@ -160,8 +159,7 @@ 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} - usermod -a -G ${MYTHTV_GROUPS} mythtv + # The acct-user/mythtv package creates/manages the user 'mythtv' } src_prepare() { diff --git a/media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild b/media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild index 4c42db6d5f8..c3cd77028d3 100644 --- a/media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild +++ b/media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild @@ -10,7 +10,7 @@ BACKPORTS="5cde0578d84926171b20c8f7e95a101e9b0b9457" # August 8, 2019 MY_P=${P%_p*} MY_PV=${PV%_p*} -inherit eutils flag-o-matic python-single-r1 qmake-utils readme.gentoo-r1 systemd toolchain-funcs user vcs-snapshot +inherit eutils flag-o-matic python-single-r1 qmake-utils readme.gentoo-r1 systemd toolchain-funcs user-info vcs-snapshot MYTHTV_BRANCH="fixes/${P%.*}" diff --git a/media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild b/media-tv/mythtv/mythtv-30.0_p20190808-r2.ebuild similarity index 88% copy from media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild copy to media-tv/mythtv/mythtv-30.0_p20190808-r2.ebuild index 4c42db6d5f8..59f2710c139 100644 --- a/media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild +++ b/media-tv/mythtv/mythtv-30.0_p20190808-r2.ebuild @@ -10,7 +10,7 @@ BACKPORTS="5cde0578d84926171b20c8f7e95a101e9b0b9457" # August 8, 2019 MY_P=${P%_p*} MY_PV=${PV%_p*} -inherit eutils flag-o-matic python-single-r1 qmake-utils readme.gentoo-r1 systemd toolchain-funcs user vcs-snapshot +inherit eutils flag-o-matic python-single-r1 qmake-utils readme.gentoo-r1 systemd user-info vcs-snapshot MYTHTV_BRANCH="fixes/${P%.*}" @@ -33,10 +33,6 @@ REQUIRED_USE=" bluray? ( xml ) cdr? ( cdda ) " - -# Some of the QA tests fail -- fix in next revision -RESTRICT="test" - COMMON=" acct-user/mythtv dev-libs/glib:2 @@ -69,7 +65,7 @@ COMMON=" ) alsa? ( >=media-libs/alsa-lib-1.0.24 ) bluray? ( - media-libs/libbluray:= + media-libs/libbluray:=[java?] dev-libs/libcdio:= sys-fs/udisks:2 ) @@ -87,6 +83,7 @@ COMMON=" >=sys-libs/libraw1394-1.2.0 ) jack? ( media-sound/jack-audio-connection-kit ) + java? ( dev-java/ant-core ) lcd? ( app-misc/lcdproc ) libass? ( >=media-libs/libass-0.9.11:= ) lirc? ( app-misc/lirc ) @@ -99,14 +96,6 @@ COMMON=" dev-perl/Net-UPnP ) pulseaudio? ( media-sound/pulseaudio ) - python? ( - ${PYTHON_DEPS} - dev-python/lxml - dev-python/mysql-python - dev-python/urlgrabber - dev-python/future - dev-python/requests-cache - ) systemd? ( sys-apps/systemd:= ) vaapi? ( x11-libs/libva:=[opengl] ) vdpau? ( x11-libs/libvdpau ) @@ -122,6 +111,16 @@ COMMON=" ) " RDEPEND="${COMMON} + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_MULTI_USEDEP}] + dev-python/mysqlclient[${PYTHON_MULTI_USEDEP}] + dev-python/urlgrabber[${PYTHON_MULTI_USEDEP}] + dev-python/future[${PYTHON_MULTI_USEDEP}] + dev-python/requests-cache[${PYTHON_MULTI_USEDEP}] + ') + ) media-fonts/corefonts media-fonts/dejavu media-fonts/liberation-fonts @@ -158,6 +157,20 @@ If a MYSQL server is installed, a mythtv MySQL user and mythconverg database is created if it does not already exist. You will be prompted for your MySQL root password. +A mythtv user is maintained by acct-user/mythtv. An existing mythtv user +may be modified to the configuration defined by acct-user/mythtv. +An existing mythtv user may be changed which may alter some functionality. +If it breaks mythtv you may need to (choose one): + * Restore the original mythtv user + * Create custom acct-user/mythtv overlay for your system + * Fix you system to use mythtv as daemon only +Failure to emerge acct-user/mythtv indicates that the existing mythtv user +is customized and not changed. Corrective action (choose one): + * Ignore emerge failure + * Create custom acct-user/mythtv overlay for your system + * Fix you system to use mythtv as daemon only + * Delete existing user and try again (dangerous) + Mythtv is updated to use correct FHS/Gentoo policy paths. Updating mythtv installations may report: * mythtv is in use, cannot update home @@ -183,7 +196,7 @@ to journald via the console at the notice verbosity. " pkg_setup() { - python-single-r1_pkg_setup + use python && python-single-r1_pkg_setup # The acct-user/mythtv package creates/manages the user 'mythtv' } @@ -325,20 +338,23 @@ src_configure() { myconf+=($(use_enable bluray libbluray_external)) + # econf sets these options that are not handled by configure: + # --build --host --infodir --localstatedir --sysconfdir + einfo "Running ./configure ${myconf[@]} - THIS MAY TAKE A WHILE." ./configure \ + --prefix="${EPREFIX}/usr" \ --cc="$(tc-getCC)" \ --cxx="$(tc-getCXX)" \ --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ + --optflags="${CFLAGS}" \ --qmake=$(qt5_get_bindir)/qmake \ "${myconf[@]}" } src_install() { emake STRIP="true" INSTALL_ROOT="${D}" install + python_optimize # does all packages by default dodoc AUTHORS UPGRADING README readme.gentoo_create_doc