Skip to contentSkip to conversation

audacious: new package

PATCH New Gustavo Zacarias 2 participants 4 messages Jun 22, 2016 – Jul 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 audacious: new package

---
 package/Config.in                |  1 +
 package/audacious/Config.in      | 24 ++++++++++++++++++++++++
 package/audacious/audacious.hash |  2 ++
 package/audacious/audacious.mk   | 15 +++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 package/audacious/Config.in
 create mode 100644 package/audacious/audacious.hash
 create mode 100644 package/audacious/audacious.mk
package/Config.in +1 -0
index b1fced1..2f2c255 100644
@@ -5,6 +5,7 @@ menu "Target packages"
 
 menu "Audio and video applications"
 	source "package/alsa-utils/Config.in"
+	source "package/audacious/Config.in"
 	source "package/aumix/Config.in"
 	source "package/bellagio/Config.in"
 	source "package/dvblast/Config.in"
package/audacious/Config.in new file +24 -0
new file mode 100644
index 0000000..a7520cf
@@ -0,0 +1,24 @@
+config BR2_PACKAGE_AUDACIOUS
+	bool "audacious"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_INSTALL_LIBSTDCPP
+	# Lacks sufficient fenv support
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC
+	depends on BR2_USE_MMU
+	depends on !BR2_STATIC_LIBS
+	depends on BR2_PACKAGE_LIBGTK3
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_LIBGLIB2
+	help
+	  Audacious is an open source audio player. A descendant of
+	  XMMS, Audacious plays your music how you want it, without
+	  stealing away your computer?s resources from other tasks.
+
+	  http://audacious-media-player.org/
+
+comment "audacious needs libgtk3 and a glibc or musl toolchain w/ C++, wchar, threads, dynamic library"
+	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		BR2_STATIC_LIBS || !BR2_PACKAGE_LIBGTK3 || \
+		BR2_TOOLCHAIN_USES_UCLIBC || !BR2_INSTALL_LIBSTDCPP
package/audacious/audacious.hash new file +2 -0
new file mode 100644
index 0000000..a67d362
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	bf9ce9e2f475d14cf6510e14235e858a73afb67826b039c2b6e0f86851ec7edf	audacious-3.7.2-gtk3.tar.bz2
package/audacious/audacious.mk new file +15 -0
new file mode 100644
index 0000000..a18458b
@@ -0,0 +1,15 @@
+################################################################################
+#
+# audacious
+#
+################################################################################
+
+AUDACIOUS_VERSION = 3.7.2
+AUDACIOUS_SITE = http://distfiles.audacious-media-player.org
+AUDACIOUS_SOURCE = audacious-$(AUDACIOUS_VERSION)-gtk3.tar.bz2
+AUDACIOUS_DEPENDENCIES = dbus libglib2 libgtk3 host-pkgconf
+AUDACIOUS_INSTALL_STAGING = YES
+AUDACIOUS_LICENSE = BSD-2c
+AUDACIOUS_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
Signature · 1 line
2.7.3
#1 lore raw

PATCH 2/2 audacious-plugins: new package

Audacious itself is not very useful without the plugins and they're a runtime dependency of it.
The plugins can't be built without audacious itself and has the same constraints so it doesn't make sense to show a comment about it.

---
 package/Config.in                                |   1 +
 package/audacious-plugins/Config.in              |  10 ++
 package/audacious-plugins/audacious-plugins.hash |   2 +
 package/audacious-plugins/audacious-plugins.mk   | 159 +++++++++++++++++++++++
 package/audacious/Config.in                      |   1 +
 5 files changed, 173 insertions(+)
 create mode 100644 package/audacious-plugins/Config.in
 create mode 100644 package/audacious-plugins/audacious-plugins.hash
 create mode 100644 package/audacious-plugins/audacious-plugins.mk
package/Config.in +1 -0
index 2f2c255..3335d4c 100644
@@ -6,6 +6,7 @@ menu "Target packages"
 menu "Audio and video applications"
 	source "package/alsa-utils/Config.in"
 	source "package/audacious/Config.in"
+	source "package/audacious-plugins/Config.in"
 	source "package/aumix/Config.in"
 	source "package/bellagio/Config.in"
 	source "package/dvblast/Config.in"
package/audacious-plugins/Config.in new file +10 -0
new file mode 100644
index 0000000..38073b2
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_AUDACIOUS_PLUGINS
+	bool "audacious-plugins"
+	depends on BR2_PACKAGE_AUDACIOUS
+	select BR2_PACKAGE_LIBXML2
+	help
+	  Audacious is an open source audio player. A descendant of
+	  XMMS, Audacious plays your music how you want it, without
+	  stealing away your computer?s resources from other tasks.
+
+	  http://audacious-media-player.org/
package/audacious-plugins/audacious-plugins.hash new file +2 -0
new file mode 100644
index 0000000..f47bb19
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	5b6c17b6f97ec0e123c59af16b71de6da0ed79327d21fcba9865a8742950b33f	audacious-plugins-3.7.2-gtk3.tar.bz2
package/audacious-plugins/audacious-plugins.mk new file +159 -0

159 lines not on this page · raw message

package/audacious/Config.in +1 -0
index a7520cf..f484d5e 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_AUDACIOUS
 	depends on BR2_USE_MMU
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_PACKAGE_LIBGTK3
+	select BR2_PACKAGE_AUDACIOUS_PLUGINS
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
 	help
Signature · 1 line
2.7.3
#2 lore raw

PATCH 2/2 audacious-plugins: new package

Hello,

Quoted 1 line · Gustavo Zacarias

+AUDACIOUS_PLUGINS_LICENSE = BSD-2c

Unfortunately, the reality is much, much more complicated. The COPYING file says:

"""
The build system and framework for installing and managing plugins is:

[.... here the BSD-2c license text ....]

The plugins themselves are distributed under their own distribution terms. Read the source code for individual copyright holders and licensing details.
"""

And indeed, each plugin has its own license.

How should we handle that? Enumerate the licenses of all plugins?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/2 audacious: new package

In reply to Gustavo Zacarias

Hello,

package/audacious/audacious.mk line 12

Quoted 6 lines · Gustavo Zacarias
package/audacious/audacious.mk new file +6 -0
+AUDACIOUS_VERSION = 3.7.2
+AUDACIOUS_SITE = http://distfiles.audacious-media-player.org
+AUDACIOUS_SOURCE = audacious-$(AUDACIOUS_VERSION)-gtk3.tar.bz2
+AUDACIOUS_DEPENDENCIES = dbus libglib2 libgtk3 host-pkgconf
+AUDACIOUS_INSTALL_STAGING = YES
+AUDACIOUS_LICENSE = BSD-2c

True, but the license file also says there is an exception for the icons (Public Domain) and for libguess, under BSD-3c. This should be noted here.

(I would have fixed this myself, but the licensing issue is more serious for the plugins package, to which I'll reply separately).

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com