all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30771] Add kdenlive
@ 2018-03-11 21:12 Mark Meyer
  2018-03-11 21:17 ` [bug#30771] Quick update for lint Mark Meyer
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mark Meyer @ 2018-03-11 21:12 UTC (permalink / raw)
  To: 30771

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

Moin,
This adds kdenlive. Since the upstream project has no links to tarballs, we take the current release from Git. Note, you will need an updated MLT. It is recommended that you install `breeze-icons' in addition to this, but kdenlive without them being present.

See: guix-patches 30770 for the mlt changes.

Cheers, Mark
-- 
  Mark Meyer
  mark@ofosos.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-kdenlive.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-kdenlive.patch", Size: 4730 bytes --]

From 09f4a0d9d0f38c8804f82861b49d4a02f9ad6f60 Mon Sep 17 00:00:00 2001
From: Mark Meyer <mark@ofosos.org>
Date: Sun, 11 Mar 2018 22:09:46 +0100
Subject: [PATCH] gnu: Add kdenlive.

* gnu/packages/kde.scm (kdenlive): New variable.
---
 gnu/packages/kde.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 77 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 812f63cb4..cf8a371eb 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
+;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -21,6 +21,7 @@
 
 (define-module (gnu packages kde)
   #:use-module (guix build-system cmake)
+  #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -47,8 +48,83 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages xorg))
 
+(define-public kdenlive
+  (let ((version "17.12.3"))
+    (package
+      (name "kdenlive")
+      (version version)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "git://anongit.kde.org/kdenlive.git")
+               (commit (string-append "v" version))))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "08y0pjm0qgbby0cxqwbzgar455a8bifn766s74qzzk8pq0bma42m"))))
+      (build-system cmake-build-system)
+      (native-inputs
+       `(("extra-cmake-modules" ,extra-cmake-modules)
+         ("qttools" ,qttools)))
+      (propagated-inputs
+       `(("mlt" ,mlt)))
+      (inputs
+       `(("shared-mime-info" ,shared-mime-info)
+         ("frei0r-plugins" ,frei0r-plugins)
+         ("qtbase" ,qtbase)
+         ("qtscript" ,qtscript)
+         ("qtsvg" ,qtsvg)
+         ("kparts" ,kparts)
+         ("knotifications" ,knotifications)
+         ("karchive" ,karchive)
+         ("kdbusaddons" ,kdbusaddons)
+         ("kcrash" ,kcrash)
+         ("kguiaddons" ,kguiaddons)
+         ("knewstuff" ,knewstuff)
+         ("knotifyconfig" ,knotifyconfig)
+         ("kfilemetadata" ,kfilemetadata)
+         ("kdoctools" ,kdoctools)
+         ("kdeclarative" ,kdeclarative)
+         ("qtdeclarative" ,qtdeclarative)
+         ("qtquickcontrols" ,qtquickcontrols)
+         ("kiconthemes" ,kiconthemes)
+         ("qtgraphicaleffects" ,qtgraphicaleffects)
+         ("kplotting" ,kplotting)))
+          (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-executable
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
+                    (qtbase (assoc-ref inputs "qtbase"))
+                    (qtdeclarative (assoc-ref inputs "qtdeclarative"))
+                    (frei0r (assoc-ref inputs "frei0r-plugins"))
+                    (qml "/lib/qt5/qml"))
+               (wrap-program (string-append out "/bin/kdenlive")
+                 `("QT_PLUGIN_PATH" ":" prefix
+                   ,(map (lambda (label)
+                           (string-append (assoc-ref inputs label)
+                                          "/lib/qt5/plugins/"))
+                         '("qtbase", "qtsvg")))
+                 `("FREI0R_PATH" ":" =
+                   (,(string-append frei0r "/lib/frei0r-1/")))
+                 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
+                   (,(string-append qtbase "/lib/qt5/plugins/platforms")))
+                 `("QML2_IMPORT_PATH" ":" prefix
+                   (,(string-append qtquickcontrols qml)
+                    ,(string-append qtdeclarative qml))))))))))
+      (home-page "https://kdenlive.org")
+      (synopsis "Non-linear video editor")
+      (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
+
+Non-linear video editing is much more powerful than beginners’ (linear) editors, hence it requires a bit more organization before starting. However, it is not reserved to specialists and can be used for small personal projects.")
+      (license license:gpl2+))))
+
 (define-public kdevelop
   (package
     (name "kdevelop")
-- 
2.16.2


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

* [bug#30771] Quick update for lint
  2018-03-11 21:12 [bug#30771] Add kdenlive Mark Meyer
@ 2018-03-11 21:17 ` Mark Meyer
  2018-03-11 21:25 ` [bug#30771] Change formatting Mark Meyer
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Mark Meyer @ 2018-03-11 21:17 UTC (permalink / raw)
  To: 30771

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

This is a minor update for the package to lint properly.

-- 
  Mark Meyer
  mark@ofosos.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-kdenlive.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-kdenlive.patch", Size: 4734 bytes --]

From 2eb37aeb7dd361edd80e8c4bbac1dce979acd5bf Mon Sep 17 00:00:00 2001
From: Mark Meyer <mark@ofosos.org>
Date: Sun, 11 Mar 2018 22:09:46 +0100
Subject: [PATCH] gnu: Add kdenlive.

* gnu/packages/kde.scm (kdenlive): New variable.
---
 gnu/packages/kde.scm | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 80 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 812f63cb4..c028a0fd0 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
+;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -21,6 +21,7 @@
 
 (define-module (gnu packages kde)
   #:use-module (guix build-system cmake)
+  #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -47,8 +48,86 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages xorg))
 
+(define-public kdenlive
+  (let ((version "17.12.3"))
+    (package
+      (name "kdenlive")
+      (version version)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "git://anongit.kde.org/kdenlive.git")
+               (commit (string-append "v" version))))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "08y0pjm0qgbby0cxqwbzgar455a8bifn766s74qzzk8pq0bma42m"))))
+      (build-system cmake-build-system)
+      (native-inputs
+       `(("extra-cmake-modules" ,extra-cmake-modules)
+         ("qttools" ,qttools)))
+      (propagated-inputs
+       `(("mlt" ,mlt)))
+      (inputs
+       `(("shared-mime-info" ,shared-mime-info)
+         ("frei0r-plugins" ,frei0r-plugins)
+         ("qtbase" ,qtbase)
+         ("qtscript" ,qtscript)
+         ("qtsvg" ,qtsvg)
+         ("kparts" ,kparts)
+         ("knotifications" ,knotifications)
+         ("karchive" ,karchive)
+         ("kdbusaddons" ,kdbusaddons)
+         ("kcrash" ,kcrash)
+         ("kguiaddons" ,kguiaddons)
+         ("knewstuff" ,knewstuff)
+         ("knotifyconfig" ,knotifyconfig)
+         ("kfilemetadata" ,kfilemetadata)
+         ("kdoctools" ,kdoctools)
+         ("kdeclarative" ,kdeclarative)
+         ("qtdeclarative" ,qtdeclarative)
+         ("qtquickcontrols" ,qtquickcontrols)
+         ("kiconthemes" ,kiconthemes)
+         ("qtgraphicaleffects" ,qtgraphicaleffects)
+         ("kplotting" ,kplotting)))
+          (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-executable
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
+                    (qtbase (assoc-ref inputs "qtbase"))
+                    (qtdeclarative (assoc-ref inputs "qtdeclarative"))
+                    (frei0r (assoc-ref inputs "frei0r-plugins"))
+                    (qml "/lib/qt5/qml"))
+               (wrap-program (string-append out "/bin/kdenlive")
+                 `("QT_PLUGIN_PATH" ":" prefix
+                   ,(map (lambda (label)
+                           (string-append (assoc-ref inputs label)
+                                          "/lib/qt5/plugins/"))
+                         '("qtbase", "qtsvg")))
+                 `("FREI0R_PATH" ":" =
+                   (,(string-append frei0r "/lib/frei0r-1/")))
+                 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
+                   (,(string-append qtbase "/lib/qt5/plugins/platforms")))
+                 `("QML2_IMPORT_PATH" ":" prefix
+                   (,(string-append qtquickcontrols qml)
+                    ,(string-append qtdeclarative qml))))))))))
+      (home-page "https://kdenlive.org")
+      (synopsis "Non-linear video editor")
+      (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
+
+Non-linear video editing is much more powerful than beginners’ (linear)
+editors, hence it requires a bit more organization before starting.  However,
+it is not reserved to specialists and can be used for small personal
+projects.")
+      (license license:gpl2+))))
+
 (define-public kdevelop
   (package
     (name "kdevelop")
-- 
2.16.2


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

* [bug#30771] Change formatting
  2018-03-11 21:12 [bug#30771] Add kdenlive Mark Meyer
  2018-03-11 21:17 ` [bug#30771] Quick update for lint Mark Meyer
@ 2018-03-11 21:25 ` Mark Meyer
  2018-09-22 20:08 ` [bug#30771] [PATCH] gnu: Add kdenlive Gábor Boskovits
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Mark Meyer @ 2018-03-11 21:25 UTC (permalink / raw)
  To: 30771

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

Changed indentation of the package.

-- 
  Mark Meyer
  mark@ofosos.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-kdenlive.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-kdenlive.patch", Size: 4776 bytes --]

From 4055c12304c50d931636519b4a4867c3805a377f Mon Sep 17 00:00:00 2001
From: Mark Meyer <mark@ofosos.org>
Date: Sun, 11 Mar 2018 22:09:46 +0100
Subject: [PATCH] gnu: Add kdenlive.

* gnu/packages/kde.scm (kdenlive): New variable.
---
 gnu/packages/kde.scm | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 80 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 812f63cb4..227d33ac8 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
+;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -21,6 +21,7 @@
 
 (define-module (gnu packages kde)
   #:use-module (guix build-system cmake)
+  #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -47,8 +48,86 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages xorg))
 
+(define-public kdenlive
+  (let ((version "17.12.3"))
+    (package
+      (name "kdenlive")
+      (version version)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "git://anongit.kde.org/kdenlive.git")
+               (commit (string-append "v" version))))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "08y0pjm0qgbby0cxqwbzgar455a8bifn766s74qzzk8pq0bma42m"))))
+      (build-system cmake-build-system)
+      (native-inputs
+       `(("extra-cmake-modules" ,extra-cmake-modules)
+         ("qttools" ,qttools)))
+      (propagated-inputs
+       `(("mlt" ,mlt)))
+      (inputs
+       `(("shared-mime-info" ,shared-mime-info)
+         ("frei0r-plugins" ,frei0r-plugins)
+         ("qtbase" ,qtbase)
+         ("qtscript" ,qtscript)
+         ("qtsvg" ,qtsvg)
+         ("kparts" ,kparts)
+         ("knotifications" ,knotifications)
+         ("karchive" ,karchive)
+         ("kdbusaddons" ,kdbusaddons)
+         ("kcrash" ,kcrash)
+         ("kguiaddons" ,kguiaddons)
+         ("knewstuff" ,knewstuff)
+         ("knotifyconfig" ,knotifyconfig)
+         ("kfilemetadata" ,kfilemetadata)
+         ("kdoctools" ,kdoctools)
+         ("kdeclarative" ,kdeclarative)
+         ("qtdeclarative" ,qtdeclarative)
+         ("qtquickcontrols" ,qtquickcontrols)
+         ("kiconthemes" ,kiconthemes)
+         ("qtgraphicaleffects" ,qtgraphicaleffects)
+         ("kplotting" ,kplotting)))
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'install 'wrap-executable
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let* ((out  (assoc-ref outputs "out"))
+                      (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
+                      (qtbase (assoc-ref inputs "qtbase"))
+                      (qtdeclarative (assoc-ref inputs "qtdeclarative"))
+                      (frei0r (assoc-ref inputs "frei0r-plugins"))
+                      (qml "/lib/qt5/qml"))
+                 (wrap-program (string-append out "/bin/kdenlive")
+                   `("QT_PLUGIN_PATH" ":" prefix
+                     ,(map (lambda (label)
+                             (string-append (assoc-ref inputs label)
+                                            "/lib/qt5/plugins/"))
+                           '("qtbase", "qtsvg")))
+                   `("FREI0R_PATH" ":" =
+                     (,(string-append frei0r "/lib/frei0r-1/")))
+                   `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
+                     (,(string-append qtbase "/lib/qt5/plugins/platforms")))
+                   `("QML2_IMPORT_PATH" ":" prefix
+                     (,(string-append qtquickcontrols qml)
+                      ,(string-append qtdeclarative qml))))))))))
+      (home-page "https://kdenlive.org")
+      (synopsis "Non-linear video editor")
+      (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
+
+Non-linear video editing is much more powerful than beginners’ (linear)
+editors, hence it requires a bit more organization before starting.  However,
+it is not reserved to specialists and can be used for small personal
+projects.")
+      (license license:gpl2+))))
+
 (define-public kdevelop
   (package
     (name "kdevelop")
-- 
2.16.2


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

* [bug#30771] [PATCH] gnu: Add kdenlive.
  2018-03-11 21:12 [bug#30771] Add kdenlive Mark Meyer
  2018-03-11 21:17 ` [bug#30771] Quick update for lint Mark Meyer
  2018-03-11 21:25 ` [bug#30771] Change formatting Mark Meyer
@ 2018-09-22 20:08 ` Gábor Boskovits
  2018-09-29 21:52   ` Ludovic Courtès
  2018-10-01  9:20 ` [bug#30771] " Nils Gillmann
  2019-02-13  0:04 ` bug#30771: " Leo Famulari
  4 siblings, 1 reply; 7+ messages in thread
From: Gábor Boskovits @ 2018-09-22 20:08 UTC (permalink / raw)
  To: 30771; +Cc: Mark Meyer, Gábor Boskovits

From: Mark Meyer <mark@ofosos.org>

* gnu/packages/kde.scm (kdenlive): New variable.

Co-authored-by: Gábor Boskovits <boskovits@gmail.com>
Signed-off-by: Gábor Boskovits <boskovits@gmail.com>
---
 gnu/packages/kde.scm | 82 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 81 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index aa5be6b51..196b8de0d 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1,8 +1,9 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
+;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +23,7 @@
 (define-module (gnu packages kde)
   #:use-module (guix build-system cmake)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -47,8 +49,86 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages xorg))
 
+(define-public kdenlive
+  (let ((version "18.08.1"))
+    (package
+      (name "kdenlive")
+      (version version)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "git://anongit.kde.org/kdenlive.git")
+               (commit (string-append "v" version))))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "0ifnaclsz7w08mc485i3j1kkcpd1m8q5qamckrfwc375ac13xf4g"))))
+      (build-system cmake-build-system)
+      (native-inputs
+       `(("extra-cmake-modules" ,extra-cmake-modules)
+         ("qttools" ,qttools)))
+      (propagated-inputs
+       `(("mlt" ,mlt)))
+      (inputs
+       `(("shared-mime-info" ,shared-mime-info)
+         ("frei0r-plugins" ,frei0r-plugins)
+         ("qtbase" ,qtbase)
+         ("qtscript" ,qtscript)
+         ("qtsvg" ,qtsvg)
+         ("kparts" ,kparts)
+         ("knotifications" ,knotifications)
+         ("karchive" ,karchive)
+         ("kdbusaddons" ,kdbusaddons)
+         ("kcrash" ,kcrash)
+         ("kguiaddons" ,kguiaddons)
+         ("knewstuff" ,knewstuff)
+         ("knotifyconfig" ,knotifyconfig)
+         ("kfilemetadata" ,kfilemetadata)
+         ("kdoctools" ,kdoctools)
+         ("kdeclarative", kdeclarative)
+         ("qtdeclarative", qtdeclarative)
+         ("qtquickcontrols", qtquickcontrols)
+         ("kiconthemes", kiconthemes)
+         ("qtgraphicaleffects" ,qtgraphicaleffects)
+         ("kplotting", kplotting)))
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'install 'wrap-executable
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out"))
+                      (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
+                      (qtbase (assoc-ref inputs "qtbase"))
+                      (qtdeclarative (assoc-ref inputs "qtdeclarative"))
+                      (frei0r (assoc-ref inputs "frei0r-plugins"))
+                      (qml "/lib/qt5/qml"))
+                 (wrap-program (string-append out "/bin/kdenlive")
+                   `("QT_PLUGIN_PATH" ":" prefix
+                     ,(map (lambda (label)
+                             (string-append (assoc-ref inputs label)
+                                            "/lib/qt5/plugins/"))
+                           '("qtbase", "qtsvg")))
+                   `("FREI0R_PATH" ":" =
+                     (,(string-append frei0r "/lib/frei0r-1/")))
+                   `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
+                     (,(string-append qtbase "/lib/qt5/plugins/platforms")))
+                   `("QML2_IMPORT_PATH" ":" prefix
+                     (,(string-append qtquickcontrols qml)
+                      ,(string-append qtdeclarative qml))))))))))
+      (home-page "https://kdenlive.org")
+      (synopsis "Non-linear video editor")
+      (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
+
+Non-linear video editing is much more powerful than beginner's (linear)
+editors, hence it requires a bit more organization before starting. However,
+it is not reserved to specialists and can be used for small personal
+projects.")
+      (license license:gpl2+))))
+
 (define-public kdevelop
   (package
     (name "kdevelop")
-- 
2.18.0

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

* [bug#30771] [PATCH] gnu: Add kdenlive.
  2018-09-22 20:08 ` [bug#30771] [PATCH] gnu: Add kdenlive Gábor Boskovits
@ 2018-09-29 21:52   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2018-09-29 21:52 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: Mark Meyer, 30771

Hello Gábor!

Gábor Boskovits <boskovits@gmail.com> skribis:

> From: Mark Meyer <mark@ofosos.org>
>
> * gnu/packages/kde.scm (kdenlive): New variable.
>
> Co-authored-by: Gábor Boskovits <boskovits@gmail.com>
> Signed-off-by: Gábor Boskovits <boskovits@gmail.com>

[...]

> +           (add-after 'install 'wrap-executable
> +             (lambda* (#:key inputs outputs #:allow-other-keys)
> +               (let* ((out (assoc-ref outputs "out"))
> +                      (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
> +                      (qtbase (assoc-ref inputs "qtbase"))
> +                      (qtdeclarative (assoc-ref inputs "qtdeclarative"))
> +                      (frei0r (assoc-ref inputs "frei0r-plugins"))
> +                      (qml "/lib/qt5/qml"))
> +                 (wrap-program (string-append out "/bin/kdenlive")
> +                   `("QT_PLUGIN_PATH" ":" prefix
> +                     ,(map (lambda (label)
> +                             (string-append (assoc-ref inputs label)
> +                                            "/lib/qt5/plugins/"))
> +                           '("qtbase", "qtsvg")))
> +                   `("FREI0R_PATH" ":" =
> +                     (,(string-append frei0r "/lib/frei0r-1/")))
> +                   `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
> +                     (,(string-append qtbase "/lib/qt5/plugins/platforms")))
> +                   `("QML2_IMPORT_PATH" ":" prefix
> +                     (,(string-append qtquickcontrols qml)
> +                      ,(string-append qtdeclarative qml))))))))))

Please explicitly return #t.

Apart from this very minor issue, it LGTM.  Thank you!

Ludo’.

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

* [bug#30771] Add kdenlive
  2018-03-11 21:12 [bug#30771] Add kdenlive Mark Meyer
                   ` (2 preceding siblings ...)
  2018-09-22 20:08 ` [bug#30771] [PATCH] gnu: Add kdenlive Gábor Boskovits
@ 2018-10-01  9:20 ` Nils Gillmann
  2019-02-13  0:04 ` bug#30771: " Leo Famulari
  4 siblings, 0 replies; 7+ messages in thread
From: Nils Gillmann @ 2018-10-01  9:20 UTC (permalink / raw)
  To: Mark Meyer; +Cc: 30771

Mark Meyer transcribed 7.1K bytes:
> Moin,
> This adds kdenlive. Since the upstream project has no links to tarballs, we take the current release from Git. Note, you will need an updated MLT. It is recommended that you install `breeze-icons' in addition to this, but kdenlive without them being present.
> 
> See: guix-patches 30770 for the mlt changes.

There are still open questions on the open '30770'.

> Cheers, Mark
> -- 
>   Mark Meyer
>   mark@ofosos.org

> From 09f4a0d9d0f38c8804f82861b49d4a02f9ad6f60 Mon Sep 17 00:00:00 2001
> From: Mark Meyer <mark@ofosos.org>
> Date: Sun, 11 Mar 2018 22:09:46 +0100
> Subject: [PATCH] gnu: Add kdenlive.
> 
> * gnu/packages/kde.scm (kdenlive): New variable.
> ---
>  gnu/packages/kde.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 77 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
> index 812f63cb4..cf8a371eb 100644
> --- a/gnu/packages/kde.scm
> +++ b/gnu/packages/kde.scm
> @@ -1,7 +1,7 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
>  ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
> -;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
> +;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
>  ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
>  ;;;
>  ;;; This file is part of GNU Guix.
> @@ -21,6 +21,7 @@
>  
>  (define-module (gnu packages kde)
>    #:use-module (guix build-system cmake)
> +  #:use-module (guix git-download)
>    #:use-module (guix download)
>    #:use-module ((guix licenses) #:prefix license:)
>    #:use-module (guix packages)
> @@ -47,8 +48,83 @@
>    #:use-module (gnu packages tls)
>    #:use-module (gnu packages qt)
>    #:use-module (gnu packages version-control)
> +  #:use-module (gnu packages video)
>    #:use-module (gnu packages xorg))
>  
> +(define-public kdenlive
> +  (let ((version "17.12.3"))
> +    (package
> +      (name "kdenlive")
> +      (version version)
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "git://anongit.kde.org/kdenlive.git")
> +               (commit (string-append "v" version))))
> +         (file-name (string-append name "-" version "-checkout"))
> +         (sha256
> +          (base32
> +           "08y0pjm0qgbby0cxqwbzgar455a8bifn766s74qzzk8pq0bma42m"))))
> +      (build-system cmake-build-system)
> +      (native-inputs
> +       `(("extra-cmake-modules" ,extra-cmake-modules)
> +         ("qttools" ,qttools)))
> +      (propagated-inputs
> +       `(("mlt" ,mlt)))
> +      (inputs
> +       `(("shared-mime-info" ,shared-mime-info)
> +         ("frei0r-plugins" ,frei0r-plugins)
> +         ("qtbase" ,qtbase)
> +         ("qtscript" ,qtscript)
> +         ("qtsvg" ,qtsvg)
> +         ("kparts" ,kparts)
> +         ("knotifications" ,knotifications)
> +         ("karchive" ,karchive)
> +         ("kdbusaddons" ,kdbusaddons)
> +         ("kcrash" ,kcrash)
> +         ("kguiaddons" ,kguiaddons)
> +         ("knewstuff" ,knewstuff)
> +         ("knotifyconfig" ,knotifyconfig)
> +         ("kfilemetadata" ,kfilemetadata)
> +         ("kdoctools" ,kdoctools)
> +         ("kdeclarative" ,kdeclarative)
> +         ("qtdeclarative" ,qtdeclarative)
> +         ("qtquickcontrols" ,qtquickcontrols)
> +         ("kiconthemes" ,kiconthemes)
> +         ("qtgraphicaleffects" ,qtgraphicaleffects)
> +         ("kplotting" ,kplotting)))
> +          (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'install 'wrap-executable
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let* ((out  (assoc-ref outputs "out"))
> +                    (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
> +                    (qtbase (assoc-ref inputs "qtbase"))
> +                    (qtdeclarative (assoc-ref inputs "qtdeclarative"))
> +                    (frei0r (assoc-ref inputs "frei0r-plugins"))
> +                    (qml "/lib/qt5/qml"))
> +               (wrap-program (string-append out "/bin/kdenlive")
> +                 `("QT_PLUGIN_PATH" ":" prefix
> +                   ,(map (lambda (label)
> +                           (string-append (assoc-ref inputs label)
> +                                          "/lib/qt5/plugins/"))
> +                         '("qtbase", "qtsvg")))
> +                 `("FREI0R_PATH" ":" =
> +                   (,(string-append frei0r "/lib/frei0r-1/")))
> +                 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
> +                   (,(string-append qtbase "/lib/qt5/plugins/platforms")))
> +                 `("QML2_IMPORT_PATH" ":" prefix
> +                   (,(string-append qtquickcontrols qml)
> +                    ,(string-append qtdeclarative qml))))))))))
> +      (home-page "https://kdenlive.org")
> +      (synopsis "Non-linear video editor")
> +      (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
> +
> +Non-linear video editing is much more powerful than beginners’ (linear) editors, hence it requires a bit more organization before starting. However, it is not reserved to specialists and can be used for small personal projects.")
> +      (license license:gpl2+))))
> +
>  (define-public kdevelop
>    (package
>      (name "kdevelop")
> -- 
> 2.16.2
> 

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

* bug#30771: Add kdenlive
  2018-03-11 21:12 [bug#30771] Add kdenlive Mark Meyer
                   ` (3 preceding siblings ...)
  2018-10-01  9:20 ` [bug#30771] " Nils Gillmann
@ 2019-02-13  0:04 ` Leo Famulari
  4 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2019-02-13  0:04 UTC (permalink / raw)
  To: Mark Meyer; +Cc: 30771-done

Kdenlive was added in commit a50f5258c785929a5f77a80e1805b502dd0c78c8.

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

end of thread, other threads:[~2019-02-13  0:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-11 21:12 [bug#30771] Add kdenlive Mark Meyer
2018-03-11 21:17 ` [bug#30771] Quick update for lint Mark Meyer
2018-03-11 21:25 ` [bug#30771] Change formatting Mark Meyer
2018-09-22 20:08 ` [bug#30771] [PATCH] gnu: Add kdenlive Gábor Boskovits
2018-09-29 21:52   ` Ludovic Courtès
2018-10-01  9:20 ` [bug#30771] " Nils Gillmann
2019-02-13  0:04 ` bug#30771: " Leo Famulari

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.