GNU bug report logs - #30514
[PATCH 0/1] Add minitube

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Sun, 18 Feb 2018 15:46:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30514 in the body.
You can then email your comments to 30514 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#30514; Package guix-patches. (Sun, 18 Feb 2018 15:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 18 Feb 2018 15:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: guix-patches <at> gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 0/1] Add minitube
Date: Sun, 18 Feb 2018 15:59:25 +0100
Hi Guix,

This patch adds minitube, an alternative way to browse Youtube.
I'm not really happy with this patch for three reasons:

1. it should really go to (gnu packages video), but I could not import (gnu
packages kde-frameworks) from that module.

2. The package requires extra setup on non-KDE systems.  To get Phonon to work
I had to install phonon-backend-gstreamer and set QT_PLUGIN_PATH to include
its lib/qt5/ directory.

3. Users need to obtain a Google API key before they can use the application.
This is a rather involved process and requires a Google account.

What do you think?

Ricardo Wurmus (1):
  gnu: Add minitube.

 gnu/packages/kde.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

-- 
2.16.2






Information forwarded to guix-patches <at> gnu.org:
bug#30514; Package guix-patches. (Sun, 18 Feb 2018 16:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 30514 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 30514 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 1/1] gnu: Add minitube.
Date: Sun, 18 Feb 2018 17:00:28 +0100
* gnu/packages/kde.scm (minitube): New variable.
---
 gnu/packages/kde.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 2ec5452a6..a419e5668 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016, 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
 ;;; Copyright © 2017 Mark Meyer <mark <at> ofosos.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2018 Ricardo Wurmus <rekado <at> elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,7 +22,9 @@
 
 (define-module (gnu packages kde)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system gnu)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -509,3 +512,47 @@ cards.")
 Using a plugin system it is possible to create notifications with many
 different notification systems.")
     (license license:lgpl3)))
+
+(define-public minitube
+  (package
+    (name "minitube")
+    (version "2.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/flaviotordini/minitube.git")
+                    (commit version)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "11zkmwqadlgrrghs3rxq0h0fllfnyd3g09d7gdd6vd9r1a1yz73f"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (substitute* "minitube.pro"
+               (("/usr/include/phonon4qt5")
+                (string-append (assoc-ref inputs "phonon")
+                               "/include/phonon4qt5")))
+             (invoke "qmake"
+                     (string-append "QMAKE_LRELEASE="
+                                    (assoc-ref inputs "qttools")
+                                    "/bin/lrelease")
+                     (string-append "PREFIX="
+                                    (assoc-ref outputs "out")))
+             #t)))))
+    (native-inputs
+     `(("qttools" ,qttools)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)
+       ("phonon" ,phonon)))
+    (home-page "https://flavio.tordini.org/minitube")
+    (synopsis "YouTube browser application")
+    (description "Minitube is a YouTube desktop application.  Watch YouTube
+videos in a new way: you type a keyword, Minitube gives you an endless video
+stream.")
+    (license license:gpl3+)))
-- 
2.16.2







Information forwarded to guix-patches <at> gnu.org:
bug#30514; Package guix-patches. (Mon, 19 Feb 2018 15:45:02 GMT) Full text and rfc822 format available.

Message #11 received at 30514 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 30514 <at> debbugs.gnu.org,
 Guix-patches <guix-patches-bounces+me=tobias.gr <at> gnu.org>
Subject: Re: [bug#30514] [PATCH 0/1] Add minitube
Date: Mon, 19 Feb 2018 16:44:10 +0100
Ricardo,

On 2018-02-18 15:59, Ricardo Wurmus wrote:
> This patch adds minitube, an alternative way to browse Youtube.
> I'm not really happy with this patch for three reasons:

[...]

> 3. Users need to obtain a Google API key before they can use the 
> application.

Not necessarily. I ‘solved’ this in Nix[0] by creating my own key and 
sharing it with the world, of the opinion that these keys are in fact 
intended for distributors, not users or authors. Like ntp.org pools. 
It's also trivial for a user to pass their own key if they so desire.

> This is a rather involved process and requires a Google account.

I don't remember how involved it was, but I have long since lost the 
credentials to my account. Either the associated key is still valid 
after 3 years, or nobody uses Minitube from Nix. Both seem about equally 
likely. :-)

Just pointing out that it's possible. I don't believe this jives with 
Guix's stated goal of user empowerment. If they want to experience 
YouTube, don't let's sugar-coat the pill.

T G-R

Sent from a Web browser. Excuse or enjoy my brevity, or, in this mail, 
not so much.

[0]: 
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/video/minitube/default.nix




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Wed, 13 Feb 2019 00:15:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Wed, 13 Feb 2019 00:15:02 GMT) Full text and rfc822 format available.

Message #16 received at 30514-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 30514-done <at> debbugs.gnu.org
Subject: Re: [bug#30514] [PATCH 0/1] Add minitube
Date: Tue, 12 Feb 2019 19:14:04 -0500
Due to the lack of activity on this patch I'm closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Mar 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.