unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25356: livestreamer no longer supported
@ 2017-01-04 16:05 dian_cecht
  2018-01-24 22:17 ` Oleg Pykhalov
  0 siblings, 1 reply; 8+ messages in thread
From: dian_cecht @ 2017-01-04 16:05 UTC (permalink / raw)
  To: 25356

I just wanted to point out that livestreamer seems to be entirely dead and the
project has been forked. As of this bugreport, the last change was Febuary 2nd,
2016, and while this isn't exactly a long time, considering it no longer works
properly with Twitch.tv (one of, if not the, largest streaming site atm afaik),
gives the impression that it is a dead project.

The fork is named streamlink and is located at https://streamlink.github.io/ and
seems to work well.

I'm not sure who is maintaining the livestreamer package, so I'm simply filing
this as a bug here and hope everything is forwarded nicely.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2017-01-04 16:05 bug#25356: livestreamer no longer supported dian_cecht
@ 2018-01-24 22:17 ` Oleg Pykhalov
  2018-01-24 22:27   ` Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Oleg Pykhalov @ 2018-01-24 22:17 UTC (permalink / raw)
  To: dian_cecht; +Cc: 25356

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

Hello,

dian_cecht@zoho.com writes:

> I just wanted to point out that livestreamer seems to be entirely dead and the
> project has been forked. As of this bugreport, the last change was Febuary 2nd,
> 2016, and while this isn't exactly a long time, considering it no longer works
> properly with Twitch.tv (one of, if not the, largest streaming site atm afaik),
> gives the impression that it is a dead project.
>
> The fork is named streamlink and is located at https://streamlink.github.io/ and
> seems to work well.
>
> I'm not sure who is maintaining the livestreamer package, so I'm simply filing
> this as a bug here and hope everything is forwarded nicely.

I got here from
<https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00660.html>.

The streamlink package is available now from
f48feaa2848d999e100f27301680a01dc3bd7733

Should we still hold livestreamer?


Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2018-01-24 22:17 ` Oleg Pykhalov
@ 2018-01-24 22:27   ` Leo Famulari
  2018-01-24 23:13     ` Oleg Pykhalov
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2018-01-24 22:27 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 25356, dian_cecht

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

On Thu, Jan 25, 2018 at 01:17:09AM +0300, Oleg Pykhalov wrote:
> Hello,
> 
> dian_cecht@zoho.com writes:
> 
> > I just wanted to point out that livestreamer seems to be entirely dead and the
> > project has been forked. As of this bugreport, the last change was Febuary 2nd,
> > 2016, and while this isn't exactly a long time, considering it no longer works
> > properly with Twitch.tv (one of, if not the, largest streaming site atm afaik),
> > gives the impression that it is a dead project.
> >
> > The fork is named streamlink and is located at https://streamlink.github.io/ and
> > seems to work well.
> >
> > I'm not sure who is maintaining the livestreamer package, so I'm simply filing
> > this as a bug here and hope everything is forwarded nicely.
> 
> I got here from
> <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00660.html>.
> 
> The streamlink package is available now from
> f48feaa2848d999e100f27301680a01dc3bd7733
> 
> 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.

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.

What do you think?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2018-01-24 22:27   ` Leo Famulari
@ 2018-01-24 23:13     ` Oleg Pykhalov
  2018-01-30  5:01       ` Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Oleg Pykhalov @ 2018-01-24 23:13 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 25356, dian_cecht


[-- Attachment #1.1: Type: text/plain, Size: 655 bytes --]

Leo Famulari <leo@famulari.name> writes:

[...]

>> The streamlink package is available now from
>> f48feaa2848d999e100f27301680a01dc3bd7733
>> 
>> 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
<https://github.com/streamlink/streamlink>.

> 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?  :-)


[-- Attachment #1.2: [PATCH] gnu: livestreamer: Deprecate in favour of streamlink. --]
[-- Type: text/x-patch, Size: 3048 bytes --]

From 4f1d5095d15b79d9f90253f6aa67719bcd14918f Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
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=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/video.scm (livestreamer): Redefine using ‘deprecated-package’.
  (streamlink): Create ‘livestreamer’ symlink.
---
 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
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1703,30 +1703,6 @@ pixel motion compensation, lumi masking, trellis quantization, and H.263, MPEG
 and custom quantization matrices.")
     (license license:gpl2+)))
 
-(define-public livestreamer
-  (package
-    (name "livestreamer")
-    (version "1.12.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/chrippa/livestreamer/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append "livestreamer-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:tests? #f)) ; tests rely on external web servers
-    (propagated-inputs
-     `(("python-requests" ,python-requests)))
-    (synopsis "Internet video stream viewer")
-    (description "Livestreamer is a command-line utility that extracts streams
-from various services and pipes them into a video playing application.")
-    (home-page "http://livestreamer.io/")
-    (license license:bsd-2)))
-
 (define-public streamlink
   (package
     (name "streamlink")
@@ -1751,11 +1727,23 @@ from various services and pipes them into a video playing 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)))
 
+(define-public livestreamer
+  (deprecated-package "livestreamer" streamlink))
+
 (define-public mlt
   (package
     (name "mlt")
-- 
2.15.1


[-- Attachment #1.3: Type: text/plain, Size: 8 bytes --]



Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2018-01-24 23:13     ` Oleg Pykhalov
@ 2018-01-30  5:01       ` Leo Famulari
  2018-01-30  7:10         ` Oleg Pykhalov
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2018-01-30  5:01 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 25356, dian_cecht

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

On Thu, Jan 25, 2018 at 02:13:42AM +0300, Oleg Pykhalov wrote:
> Leo Famulari <leo@famulari.name> writes:
> > Ideally both packages' executables would have the same name.
> 
> Symlink?  :-)

If streamlink doesn't already provide a 'livestreamer' executable for
compatibility, I'd rather not add one.

It's a matter of taste, but I think we should avoid changing upstream
software for non-technical reasons or without overwhelming user demand
:)

This is in contrast to some distros like Debian which patch their
packages very heavily, basically creating new forks in some cases.

Note that we already had a rather high-profile deprecation with
executable name-change when certbot was renamed from letsencrypt by the
upstream developers. Any users had to adapt their scripts to account for
the new name.

So, my weak preference is to supersede livestreamer with streamlink
without creating the symlink.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2018-01-30  5:01       ` Leo Famulari
@ 2018-01-30  7:10         ` Oleg Pykhalov
  2018-01-30 22:46           ` Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Oleg Pykhalov @ 2018-01-30  7:10 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 25356, dian_cecht


[-- Attachment #1.1: Type: text/plain, Size: 218 bytes --]

Leo Famulari <leo@famulari.name> writes:

[...]

> So, my weak preference is to supersede livestreamer with streamlink
> without creating the symlink.

Agree.  I could merge if see no issues with the following patch.


[-- Attachment #1.2: [PATCH] gnu: livestreamer: Deprecate in favour of streamlink. --]
[-- Type: text/x-patch, Size: 2263 bytes --]

From fb5bcd6783bf2f2b2b6d0b9e00e471fe51902e7e Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
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=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/video.scm (livestreamer): Redefine using ‘deprecated-package’.
---
 gnu/packages/video.scm | 27 +++------------------------
 1 file changed, 3 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2d48c5aaf..0788b87f0 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1703,30 +1703,6 @@ pixel motion compensation, lumi masking, trellis quantization, and H.263, MPEG
 and custom quantization matrices.")
     (license license:gpl2+)))
 
-(define-public livestreamer
-  (package
-    (name "livestreamer")
-    (version "1.12.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/chrippa/livestreamer/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append "livestreamer-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:tests? #f)) ; tests rely on external web servers
-    (propagated-inputs
-     `(("python-requests" ,python-requests)))
-    (synopsis "Internet video stream viewer")
-    (description "Livestreamer is a command-line utility that extracts streams
-from various services and pipes them into a video playing application.")
-    (home-page "http://livestreamer.io/")
-    (license license:bsd-2)))
-
 (define-public streamlink
   (package
     (name "streamlink")
@@ -1756,6 +1732,9 @@ from various services and pipes them into a video playing application.")
 from sites like Twitch.tv and pipes them into a video player of choice.")
     (license license:bsd-2)))
 
+(define-public livestreamer
+  (deprecated-package "livestreamer" streamlink))
+
 (define-public mlt
   (package
     (name "mlt")
-- 
2.15.1


[-- Attachment #1.3: Type: text/plain, Size: 15 bytes --]


Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2018-01-30  7:10         ` Oleg Pykhalov
@ 2018-01-30 22:46           ` Leo Famulari
  2018-01-31  3:41             ` Oleg Pykhalov
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2018-01-30 22:46 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 25356, dian_cecht

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

On Tue, Jan 30, 2018 at 10:10:05AM +0300, Oleg Pykhalov wrote:
> Leo Famulari <leo@famulari.name> writes:
> 
> [...]
> 
> > So, my weak preference is to supersede livestreamer with streamlink
> > without creating the symlink.
> 
> Agree.  I could merge if see no issues with the following patch.
> 

> From fb5bcd6783bf2f2b2b6d0b9e00e471fe51902e7e Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> 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=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> * gnu/packages/video.scm (livestreamer): Redefine using ‘deprecated-package’.

LGTM, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#25356: livestreamer no longer supported
  2018-01-30 22:46           ` Leo Famulari
@ 2018-01-31  3:41             ` Oleg Pykhalov
  0 siblings, 0 replies; 8+ messages in thread
From: Oleg Pykhalov @ 2018-01-31  3:41 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 25356, dian_cecht

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

Leo Famulari <leo@famulari.name> writes:

[...]

>> From fb5bcd6783bf2f2b2b6d0b9e00e471fe51902e7e Mon Sep 17 00:00:00 2001
>> From: Oleg Pykhalov <go.wigust@gmail.com>
>> 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=UTF-8
>> Content-Transfer-Encoding: 8bit
>> 
>> * gnu/packages/video.scm (livestreamer): Redefine using ‘deprecated-package’.
>
> LGTM, thanks!

Pushed as d84e22578abb75aa5752ed0b41864faab23d338e

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-31  3:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 16:05 bug#25356: livestreamer no longer supported dian_cecht
2018-01-24 22:17 ` Oleg Pykhalov
2018-01-24 22:27   ` Leo Famulari
2018-01-24 23:13     ` Oleg Pykhalov
2018-01-30  5:01       ` Leo Famulari
2018-01-30  7:10         ` Oleg Pykhalov
2018-01-30 22:46           ` Leo Famulari
2018-01-31  3:41             ` Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).