Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644126 - media-libs/avidemux-core:2.7 with media-libs/avidemux-core:2.6 - file collisions in /usr/lib64/libADM*
Summary: media-libs/avidemux-core:2.7 with media-libs/avidemux-core:2.6 - file collisi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 644138 644290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-01-10 14:23 UTC by Marco Genasci
Modified: 2018-01-12 16:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2018-01-10 14:23:32 UTC
The slot 2.7 has some files collisions with 2.6

 * media-libs/avidemux-core-2.6.20-r2:2.6::gentoo
 *      /usr/lib64/libADM6avcodec.so.57
 *      /usr/lib64/libADM6swscale.so.4
 *      /usr/lib64/libADM_coreAudioDevice6.so
 *      /usr/lib64/libADM_coreAudioEncoder6.so
 *      /usr/lib64/libADM_coreAudioFilterAPI6.so
 *      /usr/lib64/libADM_coreDemuxer6.so
 *      /usr/lib64/libADM_coreDemuxerMpeg6.so
 *      /usr/lib64/libADM_coreImage6.so
 *      /usr/lib64/libADM_coreImageLoader6.so
 *      /usr/lib64/libADM_coreJobs.so
 *      /usr/lib64/libADM_coreMuxer6.so
 *      /usr/lib64/libADM_coreScript.so
 *      /usr/lib64/libADM_coreSocket6.so
 *      /usr/lib64/libADM_coreSqlLight3.so
 *      /usr/lib64/libADM_coreSubtitle.so
 *      /usr/lib64/libADM_coreUI6.so
 *      /usr/lib64/libADM_coreUtils6.so
 *      /usr/lib64/libADM_coreVideoCodec6.so
 *      /usr/lib64/libADM_coreVideoEncoder6.so
 *      /usr/lib64/libADM_coreVideoFilter6.so
 * 
 * Package 'media-libs/avidemux-core-2.7.0' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

[ebuild  NS   ~] media-video/avidemux-2.7.0:2.7::gentoo [2.6.20:2.6::gentoo] USE="nls opengl qt5 sdl xv -debug -nvenc -vaapi -vdpau"


Reproducible: Always
Comment 1 Marco Genasci 2018-01-10 14:25:21 UTC
Sorry avidemux-core use flags are:

[ebuild  NS   ~] media-libs/avidemux-core-2.7.0:2.7::gentoo [2.6.20-r2:2.6::gentoo] USE="nls sdl xv -debug -nvenc (-system-ffmpeg) -vaapi -vdpau"
Comment 2 Andreas Sturmlechner gentoo-dev 2018-01-10 14:28:13 UTC
Imo the slotting does not make any sense at all and should go away. I don't know why it was done in the first place, when avidemux-core-${PV} had to block <avidemux-${PV} anyway. It would make the ebuilds much simpler.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-10 14:52:32 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Imo the slotting does not make any sense at all and should go away. I don't
> know why it was done in the first place, when avidemux-core-${PV} had to
> block <avidemux-${PV} anyway. It would make the ebuilds much simpler.

commit c253f112ec169460f0f7a9c51becedbe3bfdc0f0
Author: Andreas Sturmlechner <asturm@gentoo.org>
Date:   Tue Jan 9 17:36:00 2018 +0100

    media-libs/avidemux-core: 2.7.0 version bump

    Add x11-libs/libva slot operator.

    Closes: https://bugs.gentoo.org/641636
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

diff --git a/media-libs/avidemux-core/avidemux-core-2.7.0.ebuild b/media-libs/avidemux-core/avidemux-core-2.7.0.ebuild
new file mode 100644
index 00000000000..92f9f8ec068
--- /dev/null
+++ b/media-libs/avidemux-core/avidemux-core-2.7.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/mean00/avidemux2.git"
+       EGIT_CHECKOUT_DIR=${WORKDIR}
+       inherit git-r3
+else
+       MY_PN="${PN/-core/}"
+       MY_P="${MY_PN}_${PV}"
+       SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+inherit cmake-utils
+
+DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/avidemux"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+SLOT="2.7"

If you don't know why it's done, then why did you commit it?
Comment 4 Andreas Sturmlechner gentoo-dev 2018-01-10 16:13:44 UTC
(In reply to Jeroen Roovers from comment #3)
> If you don't know why it's done, then why did you commit it?
I just continued with the existing approach, but I also didn't get *that* collision (others, yes).
Comment 5 Andreas Sturmlechner gentoo-dev 2018-01-10 18:20:41 UTC
*** Bug 644138 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2018-01-10 18:57:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5244f42f274e1e5e165bf1ff2964ad1a31aa4d8

commit f5244f42f274e1e5e165bf1ff2964ad1a31aa4d8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-10 18:38:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-10 18:57:24 +0000

    media-video/avidemux: Fix blockers
    
    Closes: https://bugs.gentoo.org/644126
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/avidemux-core/avidemux-core-2.7.0.ebuild       | 3 ++-
 media-libs/avidemux-core/avidemux-core-9999.ebuild        | 3 ++-
 media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild | 2 +-
 media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild  | 2 +-
 media-video/avidemux/avidemux-2.7.0.ebuild                | 1 +
 media-video/avidemux/avidemux-9999.ebuild                 | 1 +
 6 files changed, 8 insertions(+), 4 deletions(-)
Comment 7 Andreas Sturmlechner gentoo-dev 2018-01-12 16:05:17 UTC
*** Bug 644290 has been marked as a duplicate of this bug. ***