From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Pykhalov Subject: bug#25356: livestreamer no longer supported Date: Thu, 25 Jan 2018 02:13:42 +0300 Message-ID: <87k1w6g89l.fsf@gmail.com> References: <20170104160538.GA10030@khaalida> <87wp06gavu.fsf@gmail.com> <20180124222737.GA1969@jasmine.lan> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeUF4-0000Dc-VO for bug-guix@gnu.org; Wed, 24 Jan 2018 18:14:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeUF0-0000Uo-Go for bug-guix@gnu.org; Wed, 24 Jan 2018 18:14:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeUF0-0000Uj-B5 for bug-guix@gnu.org; Wed, 24 Jan 2018 18:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eeUF0-0002E7-5A for bug-guix@gnu.org; Wed, 24 Jan 2018 18:14:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180124222737.GA1969@jasmine.lan> (Leo Famulari's message of "Wed, 24 Jan 2018 17:27:37 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 25356@debbugs.gnu.org, dian_cecht@zoho.com --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: [...] >> The streamlink package is available now from >> f48feaa2848d999e100f27301680a01dc3bd7733 >>=20 >> Should we still hold livestreamer? > > If streamlink is really a continuation of the livestreamer codebase, > then we can mark the livestreamer package as superseded by streamlink. Seems it is a fork according to . > This will cause the livestreamer package in one's profile to be > automatically replaced by streamlink when doing `guix package > --upgrade`. > > Ideally both packages' executables would have the same name. Symlink? :-) --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-livestreamer-Deprecate-in-favour-of-streamlink.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: livestreamer: Deprecate in favour of streamlink. From=204f1d5095d15b79d9f90253f6aa67719bcd14918f Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Thu, 25 Jan 2018 02:06:32 +0300 Subject: [PATCH] gnu: livestreamer: Deprecate in favour of streamlink. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/video.scm (livestreamer): Redefine using =E2=80=98deprecated= -package=E2=80=99. (streamlink): Create =E2=80=98livestreamer=E2=80=99 symlink. =2D-- gnu/packages/video.scm | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d2599345d..9adc29c3b 100644 =2D-- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1703,30 +1703,6 @@ pixel motion compensation, lumi masking, trellis qua= ntization, and H.263, MPEG and custom quantization matrices.") (license license:gpl2+))) =20 =2D(define-public livestreamer =2D (package =2D (name "livestreamer") =2D (version "1.12.2") =2D (source (origin =2D (method url-fetch) =2D (uri (string-append =2D "https://github.com/chrippa/livestreamer/archive/v" =2D version ".tar.gz")) =2D (file-name (string-append "livestreamer-" version ".tar.gz= ")) =2D (sha256 =2D (base32 =2D "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd"))= )) =2D (build-system python-build-system) =2D (arguments =2D '(#:tests? #f)) ; tests rely on external web servers =2D (propagated-inputs =2D `(("python-requests" ,python-requests))) =2D (synopsis "Internet video stream viewer") =2D (description "Livestreamer is a command-line utility that extracts s= treams =2Dfrom various services and pipes them into a video playing application.") =2D (home-page "http://livestreamer.io/") =2D (license license:bsd-2))) =2D (define-public streamlink (package (name "streamlink") @@ -1751,11 +1727,23 @@ from various services and pipes them into a video p= laying application.") ("python-iso639" ,python-iso639) ("python-pycryptodome" ,python-pycryptodome) ("python-requests" ,python-requests))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-livestreamer-symlink + (lambda* (#:key outputs #:allow-other-keys) + ;; Add a `livestreamer' -> `streamlink' link. + (let ((out (assoc-ref outputs "out"))) + (with-directory-excursion (string-append out "/bin") + (symlink "streamlink" "livestreamer")))))))) (synopsis "Extract streams from various services") (description "Streamlink is command-line utility that extracts streams from sites like Twitch.tv and pipes them into a video player of choice.") (license license:bsd-2))) =20 +(define-public livestreamer + (deprecated-package "livestreamer" streamlink)) + (define-public mlt (package (name "mlt") =2D-=20 2.15.1 --=-=-= Content-Type: text/plain Oleg. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlppEyYACgkQckbhHGm3 lWkMFBAAsWzeE1r6KzAM4PG6U6LAnh7x5sF6sZtEHiUQCmDS2a0ssBMsehoCTjLu VxfJKNDWoZVo90ciGLw3vh5cT6v0dKqMTW03Fyl/bTCf0/bfx8XJweeNvyUnJhDd CP6ymytQmE6/hJVjE7pazNs0LwSXnEO4RlOH19TRan3uVWfavq8nBu5jRxnKZCB/ pBZKDBdYd5O5QYgCZHtOJ7I/jz28crSiemKCmiVZ8EpeUWxHlLUvx823X8mjDtMW rE190tmHOl69nwelQoYAORBxe6qTsCwKghBmDPRpDd2WA2elIVpkakw/cmSmv9M6 W1XWF9Qk+UuZ2/Zr4kiU8MBAWfshgnTLmbuQ2ugj29/ciEHDTDRYuI8VEpSjPhoy EvyQ9Hh8pH+z4GvXttDSeigrRoL+uRw9lF+PV5oJ1lOdca4+MEjbZM1a6By63HNn 73k3MAc5vpqJxrx0BQt9Iv8dPJtmxoJtPPGWiVxjBDzB9HrcAX4wU7bMxcexnacq fD8997q35YWP4PLbpFRiLLao2Q7lOrtkt7n+QO5+gW8L409mnJmKupHDu9+r4jJA BJzxUQOGYDl0oNFV8n5JxGgoNeHPwXyRIUWNWIwRgLAB+H3zZkPttloTHbIKRIZx GPARVSlPqvi7wBEg/SyfAZ3dNAQzoHhDFE5r98UdzPgnLq9jKow= =YnhE -----END PGP SIGNATURE----- --==-=-=--