[PATCH] Update VLC to 3.0.1 (Fixed submission - second try)

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • pkill9
Owner
unassigned
Submitted by
pkill9
Severity
normal
Merged with

Debbugs page

pkill9 wrote 7 years ago
(name . guix-patches)(address . guix-patches@gnu.org)
E1eri3R-0007Eo-NL@rmmprod07.runbox
The uploaded attachment was empty >.< Now I've uploaded it properly.

----- Start Forwarded Message -----
Sent: Fri, 02 Mar 2018 10:32:56 +0000 (GMT)
From: <pkill9@runbox.com>
To: "guix-patches" <guix-patches@gnu.org>
Subject: [PATCH] Update VLC to 3.0.1 (Fixed submission)

My original patch submission (from email address miles.harvey@runbox.com) got butchered by my email client, so I have instead uploaded it as an attachment.

----- End Forwarded Message -----
Ludovic Courtès wrote 7 years ago
control message for bug #30678
(address . control@debbugs.gnu.org)
87bmg4am5l.fsf@gnu.org
merge 30678 30679
Ludovic Courtès wrote 7 years ago
Re: [bug#30679] [PATCH] Update VLC to 3.0.1 (Fixed submission - second try)
(address . pkill9@runbox.com)(address . 30679@debbugs.gnu.org)
87371galt7.fsf@gnu.org
Hello pkill9,

Thanks for the patch!

In the future, can you please send a patch containing a commit log that
follows the project’s conventions, and produced by ‘git format-patch’?

See
Don’t worry if you’re unsure about the details, we can help.

<pkill9@runbox.com> skribis:

Toggle quote (4 lines)
> (native-inputs
> `(("git" ,git) ; needed for a test
> + ("gcc" ,gcc)

This is normally not needed. Can you remove it?

Toggle quote (16 lines)
> + ;Optional inputs
> + ;("lua" ,lua) ;Configure phase doesn't find this
> + ("libarchive" ,libarchive)
> + ("livemedia-utils" ,livemedia-utils)
> + ("libbluray" ,libbluray)
> + ("samba" ,samba)
> + ;("nfs-utils" ,(@ (gnu packages nfs) nfs-utils)) ;configure phase doesn't find this
> + ;("freerdp" ,(@ (gnu packages rdesktop) freerdp)) ;causes compilation failure
> + ("libshout" ,libshout)
> + ("libebml" ,libebml)
> + ("libmatroska" ,libmatroska)
> + ("libmodplug" ,libmodplug)
> + ("mpg123" ,mpg123)
> + ;("gstreamer"
> + ; ,(@ (gnu packages gstreamer) gstreamer)) ;configure phase doesn't find this.

Nitpick: please use two semicolons for comments like this (one semicolon
is for margin comments.)

Toggle quote (21 lines)
> + ("libva" ,libva)
> + ("twolame" ,twolame)
> + ("libdca" ,libdca)
> + ("libmpeg2" ,libmpeg2)
> + ("speexdsp" ,speexdsp)
> + ("fluidsynth" ,fluidsynth)
> + ("libass" ,libass)
> + ("fribidi" ,fribidi)
> + ("librsvg" ,librsvg)
> + ("libcaca" ,libcaca)
> + ("jack" ,jack-1)
> + ("soxr" ,soxr)
> + ("chromaprint" ,chromaprint)
> + ("protobuf" ,protobuf)
> + ("eudev" ,eudev)
> + ("libmtp" ,libmtp)
> + ("libupnp" ,libupnp)
> + ("taglib" ,taglib)
> + ("libsecret" ,libsecret)
> + ("libnotify" ,libnotify)))

That’s a lot of new dependencies! :-)

Could you check the impact this has on the size of vlc plus its
dependencies, as shown by “guix size vlc”?

In many cases we add all the optional dependencies of the package, for
convenience. However there are cases where doing it may be impractical,
because that would make the whole thing just too big. If that is the
case, we should keep a reduced set of dependencies of the ‘vlc’ package
and, if needed, add specific package variants with additional
dependencies.

Toggle quote (6 lines)
> + (add-after 'build 'fix-misnamed-appdata
> + ;; vlc.appdata.xml.in gets created instead of vlc.appdata.xml, so
> + ;; we copy it to the correct name - This solution is hacky, if the
> + ;; root cause is found then please supply a patch.
> + (lambda _ (copy-file "share/vlc.appdata.xml.in" "share/vlc.appdata.xml")))

That looks fishy. Could you check if there’s a Makefile(.am) that
mentions “vlc.appdata.xml” so we can see how it’s supposed to be built?

Thanks,
Ludo’.
?
Your comment

This issue is archived.

To comment on this conversation send an email to 30679@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 30679
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help