all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25356: livestreamer no longer supported
@ 2017-01-04 16:05 dian_cecht
  2017-01-04 18:50 ` ng0
  2018-01-24 22:17 ` Oleg Pykhalov
  0 siblings, 2 replies; 12+ 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] 12+ messages in thread

* Re: bug#25356: livestreamer no longer supported
  2017-01-04 16:05 bug#25356: livestreamer no longer supported dian_cecht
@ 2017-01-04 18:50 ` ng0
  2017-01-04 20:28   ` Leo Famulari
  2018-01-24 22:17 ` Oleg Pykhalov
  1 sibling, 1 reply; 12+ messages in thread
From: ng0 @ 2017-01-04 18:50 UTC (permalink / raw)
  To: dian_cecht; +Cc: guix-devel

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.

Thanks!

Do I read this correctly that they include some kind of
anti-military license in there? I mean I am very much welcoming
such an exclusion but with all the past discussions I had it lead
to the point where it is not compatible with free software.

Do we have to strip OCB from the source?
https://github.com/Legrandin/pycryptodome/blob/master/LICENSE.rst

Pycryptodome is a dependency of streamlink.

-- 
♥Ⓐ  ng0
PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org

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

* Re: bug#25356: livestreamer no longer supported
  2017-01-04 18:50 ` ng0
@ 2017-01-04 20:28   ` Leo Famulari
  2017-04-28 15:18     ` ng0
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2017-01-04 20:28 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

On Wed, Jan 04, 2017 at 06:50:14PM +0000, ng0 wrote:
> Do I read this correctly that they include some kind of
> anti-military license in there? I mean I am very much welcoming
> such an exclusion but with all the past discussions I had it lead
> to the point where it is not compatible with free software.
> 
> Do we have to strip OCB from the source?
> https://github.com/Legrandin/pycryptodome/blob/master/LICENSE.rst
> 
> Pycryptodome is a dependency of streamlink.

The question is about the OCB block cipher mode. I think we are able to
distribute implementations of it:

http://web.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#patent:phil
http://web.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#license
http://web.cs.ucdavis.edu/~rogaway/ocb/license.htm

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

* Re: bug#25356: livestreamer no longer supported
  2017-01-04 20:28   ` Leo Famulari
@ 2017-04-28 15:18     ` ng0
  2018-01-30  6:47       ` Ricardo Wurmus
  0 siblings, 1 reply; 12+ messages in thread
From: ng0 @ 2017-04-28 15:18 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari transcribed 0.7K bytes:
> On Wed, Jan 04, 2017 at 06:50:14PM +0000, ng0 wrote:
> > Do I read this correctly that they include some kind of
> > anti-military license in there? I mean I am very much welcoming
> > such an exclusion but with all the past discussions I had it lead
> > to the point where it is not compatible with free software.
> > 
> > Do we have to strip OCB from the source?
> > https://github.com/Legrandin/pycryptodome/blob/master/LICENSE.rst
> > 
> > Pycryptodome is a dependency of streamlink.
> 
> The question is about the OCB block cipher mode. I think we are able to
> distribute implementations of it:
> 
> http://web.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#patent:phil
> http://web.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#license
> http://web.cs.ucdavis.edu/~rogaway/ocb/license.htm
> 

With regards to this bug, can someone help to get the facts clear here
so that we know what needs to be done to package streamlink?

Thanks.
-- 
PGP and more: https://people.pragmatique.xyz/ng0/

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

* bug#25356: livestreamer no longer supported
  2017-01-04 16:05 bug#25356: livestreamer no longer supported dian_cecht
  2017-01-04 18:50 ` ng0
@ 2018-01-24 22:17 ` Oleg Pykhalov
  2018-01-24 22:27   ` Leo Famulari
  1 sibling, 1 reply; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

* Re: bug#25356: livestreamer no longer supported
  2017-04-28 15:18     ` ng0
@ 2018-01-30  6:47       ` Ricardo Wurmus
  0 siblings, 0 replies; 12+ messages in thread
From: Ricardo Wurmus @ 2018-01-30  6:47 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel


ng0 <contact.ng0@cryptolab.net> writes:

> Leo Famulari transcribed 0.7K bytes:
>> On Wed, Jan 04, 2017 at 06:50:14PM +0000, ng0 wrote:
>> > Do I read this correctly that they include some kind of
>> > anti-military license in there? I mean I am very much welcoming
>> > such an exclusion but with all the past discussions I had it lead
>> > to the point where it is not compatible with free software.
>> >
>> > Do we have to strip OCB from the source?
>> > https://github.com/Legrandin/pycryptodome/blob/master/LICENSE.rst
>> >
>> > Pycryptodome is a dependency of streamlink.
>>
>> The question is about the OCB block cipher mode. I think we are able to
>> distribute implementations of it:
>>
>> http://web.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#patent:phil
>> http://web.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm#license
>> http://web.cs.ucdavis.edu/~rogaway/ocb/license.htm
>>
>
> With regards to this bug, can someone help to get the facts clear here
> so that we know what needs to be done to package streamlink?

See also the copyright file that Debian have written:

    http://metadata.ftp-master.debian.org/changelogs/main/p/pycryptodome/pycryptodome_3.4.7-1_copyright

License 1 applies to free software implementations.  That’s already
enough for us.

License 2 applies to non-free implementations.  There the author
distinguishes between non-military and military uses.

License 3 is an explicit grant for OpenSSL.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

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

Thread overview: 12+ 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
2017-01-04 18:50 ` ng0
2017-01-04 20:28   ` Leo Famulari
2017-04-28 15:18     ` ng0
2018-01-30  6:47       ` Ricardo Wurmus
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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.