Skip to contentSkip to conversation

taskd: move to Miscellaneous menu

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 5 messages Mar 13, 2016 – Mar 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 taskd: move to Miscellaneous menu

It's not really a networking tool (if everything that does something on the network would be called a networking tool, we wouldn't have much else).

Since we don't really have an appropriate menu for it, put it in Miscellaneous.

---
 package/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/Config.in +1 -1
index 35a24ba..99ee0c2 100644
@@ -1315,6 +1315,7 @@ menu "Miscellaneous"
 	source "package/qpdf/Config.in"
 	source "package/shared-mime-info/Config.in"
 	source "package/snowball-init/Config.in"
+	source "package/taskd/Config.in"
 	source "package/wine/Config.in"
 	source "package/xutil_util-macros/Config.in"
 endmenu
@@ -1489,7 +1490,6 @@ endif
 	source "package/sshpass/Config.in"
 	source "package/strongswan/Config.in"
 	source "package/stunnel/Config.in"
-	source "package/taskd/Config.in"
 	source "package/tcpdump/Config.in"
 	source "package/tcping/Config.in"
 	source "package/tcpreplay/Config.in"
Signature · 1 line
2.7.0
#1 lore raw

PATCH 2/4 taskd: needs C++

It's all C++ code... C++11 even, but it turns out to compile fine even with gcc-4.5 (Arago toolchain).

---
 package/taskd/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/taskd/Config.in +3 -2
index 2836161..7a9a136 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_TASKD
 	bool "taskd"
 	depends on BR2_USE_WCHAR # gnutls, util-linux
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_GNUTLS
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
@@ -10,6 +11,6 @@ config BR2_PACKAGE_TASKD
 
 	  http://taskwarrior.org/
 
-comment "taskd needs a toolchain w/ wchar"
+comment "taskd needs a toolchain w/ C++, wchar"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR
+	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.7.0
#2 lore raw

PATCH 3/4 taskd: remove redundant _SOURCE definition

In reply to Arnout Vandecappelle (Essensium/Mind)

.tar.gz is the default.

---
 package/taskd/taskd.mk | 1 -
 1 file changed, 1 deletion(-)
package/taskd/taskd.mk +0 -1
index 0bdf81d..65713d2 100644
@@ -5,7 +5,6 @@
 ################################################################################
 
 TASKD_VERSION = 1.1.0
-TASKD_SOURCE = taskd-$(TASKD_VERSION).tar.gz
 TASKD_SITE = http://taskwarrior.org/download
 TASKD_LICENSE = MIT
 TASKD_LICENSE_FILES = COPYING LICENSE
Signature · 1 line
2.7.0
#3 lore raw

PATCH 4/4 taskd: include only one license file

In reply to Arnout Vandecappelle (Essensium/Mind)

COPYING and LICENSE are identical, so no point including them both.

---
 package/taskd/taskd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/taskd/taskd.mk +1 -1
index 65713d2..34a260e 100644
@@ -7,7 +7,7 @@
 TASKD_VERSION = 1.1.0
 TASKD_SITE = http://taskwarrior.org/download
 TASKD_LICENSE = MIT
-TASKD_LICENSE_FILES = COPYING LICENSE
+TASKD_LICENSE_FILES = COPYING
 TASKD_DEPENDENCIES = gnutls util-linux
 
 $(eval $(cmake-package))
Signature · 1 line
2.7.0
#4 lore raw

PATCH 1/4 taskd: move to Miscellaneous menu

In reply to Arnout Vandecappelle (Essensium/Mind)

Dear Arnout Vandecappelle (Essensium/Mind),

Quoted 11 lines · Arnout Vandecappelle (Essensium/Mind)

It's not really a networking tool (if everything that does something on the network would be called a networking tool, we wouldn't have much else).

Since we don't really have an appropriate menu for it, put it in Miscellaneous.

---
 package/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

All four patches applied to master, thanks.

Thomas

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