all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33671] [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files.
@ 2018-12-08  8:00 Brendan Tildesley
       [not found] ` <handler.33671.B.15442560546076.ack@debbugs.gnu.org>
  2018-12-24 10:08 ` bug#33671: [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files Efraim Flashner
  0 siblings, 2 replies; 4+ messages in thread
From: Brendan Tildesley @ 2018-12-08  8:00 UTC (permalink / raw)
  To: 33671

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



[-- Attachment #2: 0001-gnu-ardour-Add-a-phase-to-install-Freedesktop-files.patch --]
[-- Type: text/x-patch, Size: 2543 bytes --]

From 8139a2013cdbb81c8b332ed7cd6e88212d6354d5 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
Date: Fri, 7 Dec 2018 22:00:14 +1100
Subject: [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files.

* gnu/packages/audio.scm (ardour): [arguments]:
 - Correct comment about --freedesktop flag.
 - Adjust pretty printing for consistency.
 - Add 'install-free-desktop-files phase to actually install the files that
   were build. Fixes bug#33585 reported by baconicsynergy.
---
 gnu/packages/audio.scm | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index a65cfa238e..3d77987062 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -229,13 +229,28 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }"))
     (arguments
      `(#:configure-flags '("--cxx11"          ; required by gtkmm
                            "--no-phone-home"  ; don't contact ardour.org
-                           "--freedesktop"    ; install .desktop file
+                           "--freedesktop"    ; build .desktop file
                            "--test")          ; build unit tests
        #:phases
        (modify-phases %standard-phases
-         (add-after
-          'unpack 'set-rpath-in-LDFLAGS
-          ,(ardour-rpath-phase (version-major version))))
+         (add-after 'unpack 'set-rpath-in-LDFLAGS
+          ,(ardour-rpath-phase (version-major version)))
+         (add-after 'install 'install-freedesktop-files
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (v ,(version-major version)))
+               (for-each
+                (lambda (s)
+                  (let ((d (string-append out "/share/icons/hicolor/" s "x" s "/apps")))
+                    (mkdir-p d)
+                    (copy-file
+                     (string-append "gtk2_ardour/resources/Ardour-icon_" s "px.png")
+                     (string-append  d "/ardour" v ".png"))))
+                '("16" "22" "32" "48" "256"))
+               (install-file (string-append "build/gtk2_ardour/ardour" v ".desktop")
+                             (string-append out "/share/applications/"))
+               (install-file (string-append "build/gtk2_ardour/ardour" v ".appdata.xml")
+                             (string-append out "/share/appdata/"))))))
        #:test-target "test"
        #:python ,python-2))
     (inputs
-- 
2.19.2


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

* [bug#33671] [PATCH 2/3] gnu: ardour: Add libusb input.
       [not found] ` <handler.33671.B.15442560546076.ack@debbugs.gnu.org>
@ 2018-12-08  8:02   ` Brendan Tildesley
  2018-12-08  8:03   ` [bug#33671] [PATCH 3/3] gnu: ardour: Sort inputs and native-inputs Brendan Tildesley
  1 sibling, 0 replies; 4+ messages in thread
From: Brendan Tildesley @ 2018-12-08  8:02 UTC (permalink / raw)
  To: 33671

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



[-- Attachment #2: 0002-gnu-ardour-Add-libusb-input.patch --]
[-- Type: text/x-patch, Size: 1080 bytes --]

From 330711e40df3c016a9f6c10c42bce0fd65733166 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
Date: Sat, 8 Dec 2018 02:34:12 +1100
Subject: [PATCH 2/3] gnu: ardour: Add libusb input.

* gnu/packages/audio.scm (ardour): [inputs]: add libusb.
---
 gnu/packages/audio.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3d77987062..d751a4904b 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -74,6 +74,7 @@
   #:use-module (gnu packages qt)
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages mp3) ;taglib
   #:use-module (gnu packages perl)
@@ -271,6 +272,7 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }"))
        ("libsamplerate" ,libsamplerate)
        ("libxml2" ,libxml2)
        ("libogg" ,libogg)
+       ("libusb" ,libusb)
        ("libvorbis" ,libvorbis)
        ("flac" ,flac)
        ("lv2" ,lv2)
-- 
2.19.2


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

* [bug#33671] [PATCH 3/3] gnu: ardour: Sort inputs and native-inputs.
       [not found] ` <handler.33671.B.15442560546076.ack@debbugs.gnu.org>
  2018-12-08  8:02   ` [bug#33671] [PATCH 2/3] gnu: ardour: Add libusb input Brendan Tildesley
@ 2018-12-08  8:03   ` Brendan Tildesley
  1 sibling, 0 replies; 4+ messages in thread
From: Brendan Tildesley @ 2018-12-08  8:03 UTC (permalink / raw)
  To: 33671

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



[-- Attachment #2: 0003-gnu-ardour-Sort-inputs-and-native-inputs.patch --]
[-- Type: text/x-patch, Size: 2657 bytes --]

From 4444b720b1e035c25ecd36c9244f514d76ca121f Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
Date: Sat, 8 Dec 2018 14:42:07 +1100
Subject: [PATCH 3/3] gnu: ardour: Sort inputs and native-inputs.

* gnu/packages/audio.scm (ardour): Sort inputs and native-inputs.
---
 gnu/packages/audio.scm | 44 +++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index d751a4904b..528eddf3c7 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -256,47 +256,47 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }"))
        #:python ,python-2))
     (inputs
      `(("alsa-lib" ,alsa-lib)
+       ("atkmm" ,atkmm)
        ("aubio" ,aubio)
-       ("lrdf" ,lrdf)
        ("boost" ,boost)
-       ("atkmm" ,atkmm)
        ("cairomm" ,cairomm)
+       ("curl" ,curl)
        ("eudev" ,eudev)
-       ("gtkmm" ,gtkmm-2)
+       ("fftw" ,fftw)
+       ("fftwf" ,fftwf)
+       ("flac" ,flac)
        ("glibmm" ,glibmm)
+       ("gtkmm" ,gtkmm-2)
+       ("jack" ,jack-1)
+       ("libarchive" ,libarchive)
        ("libart-lgpl" ,libart-lgpl)
        ("libgnomecanvasmm" ,libgnomecanvasmm)
-       ("pangomm" ,pangomm)
        ("liblo" ,liblo)
-       ("libsndfile" ,libsndfile)
-       ("libsamplerate" ,libsamplerate)
-       ("libxml2" ,libxml2)
        ("libogg" ,libogg)
+       ("libsamplerate" ,libsamplerate)
+       ("libsndfile" ,libsndfile)
        ("libusb" ,libusb)
        ("libvorbis" ,libvorbis)
-       ("flac" ,flac)
+       ("libxml2" ,libxml2)
+       ("lilv" ,lilv)
+       ("lrdf" ,lrdf)
        ("lv2" ,lv2)
-       ("vamp" ,vamp)
-       ("curl" ,curl)
-       ("fftw" ,fftw)
-       ("fftwf" ,fftwf)
-       ("jack" ,jack-1)
+       ("pangomm" ,pangomm)
+       ("python-rdflib" ,python-rdflib)
+       ("readline" ,readline)
+       ("redland" ,redland)
+       ("rubberband" ,rubberband)
        ("serd" ,serd)
        ("sord" ,sord)
        ("sratom" ,sratom)
        ("suil" ,suil)
-       ("lilv" ,lilv)
-       ("readline" ,readline)
-       ("redland" ,redland)
-       ("rubberband" ,rubberband)
-       ("libarchive" ,libarchive)
        ("taglib" ,taglib)
-       ("python-rdflib" ,python-rdflib)))
+       ("vamp" ,vamp)))
     (native-inputs
-     `(("perl" ,perl)
-       ("cppunit" ,cppunit)
-       ("itstool" ,itstool)
+     `(("cppunit" ,cppunit)
        ("gettext" ,gettext-minimal)
+       ("itstool" ,itstool)
+       ("perl" ,perl)
        ("pkg-config" ,pkg-config)))
     (home-page "http://ardour.org")
     (synopsis "Digital audio workstation")
-- 
2.19.2


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

* bug#33671: [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files.
  2018-12-08  8:00 [bug#33671] [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files Brendan Tildesley
       [not found] ` <handler.33671.B.15442560546076.ack@debbugs.gnu.org>
@ 2018-12-24 10:08 ` Efraim Flashner
  1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2018-12-24 10:08 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 33671-done

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

Pushed with minor changes

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

end of thread, other threads:[~2018-12-24 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-08  8:00 [bug#33671] [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files Brendan Tildesley
     [not found] ` <handler.33671.B.15442560546076.ack@debbugs.gnu.org>
2018-12-08  8:02   ` [bug#33671] [PATCH 2/3] gnu: ardour: Add libusb input Brendan Tildesley
2018-12-08  8:03   ` [bug#33671] [PATCH 3/3] gnu: ardour: Sort inputs and native-inputs Brendan Tildesley
2018-12-24 10:08 ` bug#33671: [PATCH 1/3] gnu: ardour: Add a phase to install Freedesktop files Efraim Flashner

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.