code
string
repo_name
string
path
string
language
string
license
string
size
int64
# Locally computed sha256 543553c3082f2b992649a975f6cb7324ae2aea93af05288ea4f2c1262a7f63b2 mongrel2-v1.9.2.tar.bz2
shibajee/buildroot
package/mongrel2/mongrel2.hash
hash
mit
116
################################################################################ # # mongrel2 # ################################################################################ MONGREL2_VERSION = 1.9.2 MONGREL2_SOURCE = mongrel2-v$(MONGREL2_VERSION).tar.bz2 # Do not use the github helper here, the generated tarball is *NOT* the same # as the one uploaded by upstream for the release. MONGREL2_SITE = https://github.com/mongrel2/mongrel2/releases/download/$(MONGREL2_VERSION) MONGREL2_LICENSE = BSD-3c MONGREL2_LICENSE_FILES = LICENSE MONGREL2_DEPENDENCIES = sqlite zeromq define MONGREL2_POLARSSL_DISABLE_ASM $(SED) '/^#define POLARSSL_HAVE_ASM/d' $(@D)/src/polarssl/include/polarssl/config.h endef # ARM in thumb mode breaks debugging with asm optimizations # Microblaze asm optimizations are broken in general # MIPS R6 asm is not yet supported ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy) MONGREL2_POST_CONFIGURE_HOOKS += MONGREL2_POLARSSL_DISABLE_ASM else ifeq ($(BR2_microblaze),y) MONGREL2_POST_CONFIGURE_HOOKS += MONGREL2_POLARSSL_DISABLE_ASM else ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y) MONGREL2_POST_CONFIGURE_HOOKS += MONGREL2_POLARSSL_DISABLE_ASM endif define MONGREL2_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ PREFIX=/usr all endef define MONGREL2_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ PREFIX=/usr DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/mongrel2/mongrel2.mk
mk
mit
1,513
Do not force building a statically-linked binary Statically-linked binary do not work well with glibc, because it still dlopen()s the NSS libraries. Reported-by: Peter Kümmel <syntheticpp@gmx.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff -durN monit-5.7.orig/Makefile.am monit-5.7/Makefile.am --- monit-5.7.orig/Makefile.am 2014-02-20 09:00:42.000000000 +0100 +++ monit-5.7/Makefile.am 2014-09-05 12:49:43.711104001 +0200 @@ -85,7 +85,7 @@ src/process/sysdep_@ARCH@.c monit_LDADD = libmonit/libmonit.la -monit_LDFLAGS = -static $(EXTLDFLAGS) +monit_LDFLAGS = $(EXTLDFLAGS) man_MANS = monit.1
shibajee/buildroot
package/monit/0001-no-force-static.patch
patch
mit
635
config BR2_PACKAGE_MONIT bool "monit" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() help Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. http://mmonit.com/monit/ comment "monit needs a toolchain w/ threads" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/monit/Config.in
in
mit
519
# From https://mmonit.com/monit/dist/monit-5.17.tar.gz.sha256: sha256 2fbcdea79ae39228791a0aaa685ebbf650f2b58d086eaf77a33226e972cb216e monit-5.17.tar.gz
shibajee/buildroot
package/monit/monit.hash
hash
mit
155
################################################################################ # # monit # ################################################################################ MONIT_VERSION = 5.17 MONIT_SITE = http://mmonit.com/monit/dist MONIT_LICENSE = AGPLv3 with OpenSSL exception MONIT_LICENSE_FILES = COPYING # # Touching Makefile.am: MONIT_AUTORECONF = YES MONIT_CONF_ENV = \ libmonit_cv_setjmp_available=yes \ libmonit_cv_vsnprintf_c99_conformant=yes MONIT_CONF_OPTS += \ --without-pam \ --with-largefiles ifeq ($(BR2_PACKAGE_OPENSSL),y) MONIT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr MONIT_DEPENDENCIES += openssl else MONIT_CONF_OPTS += --without-ssl endif $(eval $(autotools-package))
shibajee/buildroot
package/monit/monit.mk
mk
mit
705
config BR2_PACKAGE_MONKEY bool "monkey" depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_USE_MMU # fork() help Monkey Server is a fast and lightweight web server for Linux platforms. http://monkey-project.com/ if BR2_PACKAGE_MONKEY config BR2_PACKAGE_MONKEY_SHARED bool "install shared library" help Build Monkey as a shared library in addition to stand-alone server endif comment "monkey needs an toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/monkey/Config.in
in
mit
585
# md5 from http://monkey-project.com/releases/1.5/monkey-1.5.6.tar.gz.md5, sha256 locally computed: md5 9699e4c9ea6ce6b989907c252ae80254 monkey-1.5.6.tar.gz sha256 7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22 monkey-1.5.6.tar.gz
shibajee/buildroot
package/monkey/monkey.hash
hash
mit
256
################################################################################ # # monkey # ################################################################################ MONKEY_VERSION_MAJOR = 1.5 MONKEY_VERSION = $(MONKEY_VERSION_MAJOR).6 MONKEY_SITE = http://monkey-project.com/releases/$(MONKEY_VERSION_MAJOR) MONKEY_LICENSE = Apache-2.0 MONKEY_LICENSE_FILES = LICENSE # This package has a configure script, but it's not using # autoconf/automake, so we're using the generic-package # infrastructure. MONKEY_CONF_OPTS = \ --prefix=/usr \ --sysconfdir=/etc/monkey \ --datadir=/var/www \ --mandir=/usr/share/man \ --logdir=/var/log \ --pidfile=/var/run \ --plugdir=/usr/lib/monkey \ --malloc-libc # --uclib-mode is not a typo ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) MONKEY_CONF_OPTS += --uclib-mode --no-backtrace endif ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) MONKEY_CONF_OPTS += --musl-mode --no-backtrace endif ifeq ($(BR2_PACKAGE_MONKEY_SHARED),y) MONKEY_CONF_OPTS += --enable-shared MONKEY_INSTALL_STAGING = YES else # Even without --enable-shared, the monkey build system leaves a # broken libmonkey.so symbolic link. define MONKEY_REMOVE_DANGLING_SYMLINK $(RM) -f $(TARGET_DIR)/usr/lib/libmonkey.so endef MONKEY_POST_INSTALL_TARGET_HOOKS += MONKEY_REMOVE_DANGLING_SYMLINK endif ifeq ($(BR2_ENABLE_DEBUG),y) MONKEY_CONF_OPTS += --debug endif define MONKEY_CONFIGURE_CMDS (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(MONKEY_CONF_OPTS)) endef define MONKEY_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef define MONKEY_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install endef define MONKEY_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/monkey/monkey.mk
mk
mit
1,784
config BR2_PACKAGE_MONO_GTKSHARP3 bool "gtk# 3" depends on BR2_PACKAGE_LIBGTK3 help Gtk# is a .NET language binding for the GTK+ toolkit. This package provides version 3 of the bindings. http://www.mono-project.com/docs/gui/gtksharp/
shibajee/buildroot
package/mono-gtksharp3/Config.in
in
mit
247
# sha256 from https://download.gnome.org/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.sha256sum sha256 6440f571416267ae0cb5698071d087b31e3084693fa2c829b1db37ca7ea2c3a2 gtk-sharp-2.99.3.tar.xz
shibajee/buildroot
package/mono-gtksharp3/mono-gtksharp3.hash
hash
mit
187
################################################################################ # # gtksharp3 # ################################################################################ MONO_GTKSHARP3_VERSION_MAJOR = 2.99 MONO_GTKSHARP3_VERSION = $(MONO_GTKSHARP3_VERSION_MAJOR).3 MONO_GTKSHARP3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/$(MONO_GTKSHARP3_VERSION_MAJOR) MONO_GTKSHARP3_SOURCE = gtk-sharp-$(MONO_GTKSHARP3_VERSION).tar.xz MONO_GTKSHARP3_LICENSE = LGPLv2, MIT (cairo) MONO_GTKSHARP3_LICENSE_FILES = COPYING MONO_GTKSHARP3_INSTALL_STAGING = YES MONO_GTKSHARP3_DEPENDENCIES = mono libgtk3 MONO_GTKSHARP3_CONF_OPTS += CSC=$(HOST_DIR)/usr/bin/mcs $(eval $(autotools-package))
shibajee/buildroot
package/mono-gtksharp3/mono-gtksharp3.mk
mk
mit
694
From 5232ec11c74eb49fb220a7e2df80e46ac621e941 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci <angelo.compagnucci@gmail.com> Date: Sat, 7 Feb 2015 09:49:37 +0100 Subject: [PATCH] Disable backtrace on not supported uclibc Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- libgc/include/gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgc/include/gc.h b/libgc/include/gc.h index 2265fdb..6485fc0 100644 --- a/libgc/include/gc.h +++ b/libgc/include/gc.h @@ -500,7 +500,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb)); #if defined(__linux__) || defined(__GLIBC__) # include <features.h> # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ - && !defined(__ia64__) + && !defined(__ia64__) && !defined(__UCLIBC__) # ifndef GC_HAVE_BUILTIN_BACKTRACE # define GC_HAVE_BUILTIN_BACKTRACE # endif -- 2.1.0
shibajee/buildroot
package/mono/0001-Disable-backtrace-on-not-supported-uclibc.patch
patch
mit
977
From 6f8346438e0257259867b5dca6bb6db54eb96705 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sat, 7 Feb 2015 09:50:24 +0100 Subject: [PATCH] Adjust libc.so path depending on C library being used By default, on Linux systems, Mono assumes that the C library is libc.so.6. While this is true for glibc, it is not true for uClibc and Musl based systems. This patch adds support for such systems. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 5d9961a..f6a7909 100644 --- a/configure.ac +++ b/configure.ac @@ -2978,6 +2978,12 @@ case "$host" in SQLITE="libsqlite.so" SQLITE3="libsqlite3.so" ;; + *-*-*uclibc*) + LIBC="libc.so.0" + ;; + *-*-*musl*) + LIBC="libc.so" + ;; *-*-*linux*) AC_PATH_X dlsearch_path=`(libtool --config ; echo eval echo \\$sys_lib_dlsearch_path_spec) | sh` -- 2.1.0
shibajee/buildroot
package/mono/0002-Adjust-libc.so-path-depending-on-C-library-being-use.patch
patch
mit
1,002
From 1c3d615d93b20d10c2729478d5104977dd9af23f Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci <angelo.compagnucci@gmail.com> Date: Wed, 5 Aug 2015 12:59:45 +0200 Subject: [PATCH] Fixing initialization of have_vasprintf This patch initialize properly have_vasprintf in case vasprint function is found. Solves multiple definition of `vasprintf' error in case vasprint is not properly detected. Patch is upstream: https://github.com/mono/mono/commit/40c171799b671718969ee28a02f92884d7fd181e Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> --- eglib/configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/eglib/configure.ac b/eglib/configure.ac index 5281419..4bf91e5 100644 --- a/eglib/configure.ac +++ b/eglib/configure.ac @@ -135,6 +135,7 @@ AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long long) AC_CHECK_FUNCS(strlcpy stpcpy strtok_r rewinddir vasprintf) +AC_CHECK_FUNC(vasprintf, have_vasprintf=yes) AC_CHECK_FUNCS(getrlimit) #
shibajee/buildroot
package/mono/0004-fixing-initialization-of-have-vasprintf.patch
patch
mit
992
From 155f96953d1b898f04a4e708c9ebc1e450b2f63e Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci <angelo.compagnucci@gmail.com> Date: Tue, 24 Nov 2015 23:11:10 +0100 Subject: [PATCH] Remove unit-tests from mono compilation This patch fixes compiling errors with unit-tests under linux. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> --- mono/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mono/Makefile.am b/mono/Makefile.am index ef41dfe..7129507 100644 --- a/mono/Makefile.am +++ b/mono/Makefile.am @@ -30,7 +30,7 @@ monotouch-do-clean: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \ done; else -SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler +SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests benchmark profiler endif endif -DIST_SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler +DIST_SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests benchmark profiler -- 1.9.1
shibajee/buildroot
package/mono/0006-Remove-unit-tests-from-mono-compilation.patch
patch
mit
1,091
From 18bba65adf58d54645398de26eac24081d48f793 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci <angelo.compagnucci@gmail.com> Date: Thu, 25 Feb 2016 22:19:31 +0100 Subject: [PATCH] mcs/class/monodoc/Makefile: Fixing wrong monodoc search path mono_libdir actually leaks host compiler path, fixing by hardcoding correct path for our usecase. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> --- mcs/class/monodoc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcs/class/monodoc/Makefile b/mcs/class/monodoc/Makefile index 3ebba80..ddc2098 100644 --- a/mcs/class/monodoc/Makefile +++ b/mcs/class/monodoc/Makefile @@ -135,7 +135,7 @@ test-local: setup-doc-sources dist-local: Monodoc.Ecma/EcmaUrlParser.cs $(the_lib).config: Makefile monodoc.dll.config.in - sed 's,@monodoc_refdir@,$(mono_libdir)/monodoc,g' monodoc.dll.config.in > $@ + sed 's,@monodoc_refdir@,/usr/lib/monodoc,g' monodoc.dll.config.in > $@ Monodoc.Ecma/EcmaUrlParser.cs: Monodoc.Ecma/EcmaUrlParser.jay $(topdir)/jay/skeleton.cs jay.sh $(topdir)/$(thisdir)/jay.sh $(topdir) $< $@ $(JAY_FLAGS) -- 1.9.1
shibajee/buildroot
package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch
patch
mit
1,126
From 63f0b0246b8125ae48b15bd182bb5831be02e6c9 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci <angelo.compagnucci@gmail.com> Date: Mon, 27 Jun 2016 21:32:11 +0200 Subject: [PATCH] fix musl incorrect sigcontext include On musl __GLIBC__ is not defined, so the conditional logic will not produce correct result. Add a specific case to handle when __GLIBC__ is not defined. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> --- libgc/os_dep.c | 2 +- mono/mini/exceptions-arm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgc/os_dep.c b/libgc/os_dep.c index 8c8e098..34859c1 100644 --- a/libgc/os_dep.c +++ b/libgc/os_dep.c @@ -32,7 +32,7 @@ /* prototypes, so we have to include the top-level sigcontext.h to */ /* make sure the former gets defined to be the latter if appropriate. */ # include <features.h> -# if 2 <= __GLIBC__ +# if 2 <= __GLIBC__ || !defined(__GLIBC__) # if 2 == __GLIBC__ && 0 == __GLIBC_MINOR__ /* glibc 2.1 no longer has sigcontext.h. But signal.h */ /* has the right declaration for glibc 2.1. */ diff --git a/mono/mini/exceptions-arm.c b/mono/mini/exceptions-arm.c index b036aa7..a3e2164 100644 --- a/mono/mini/exceptions-arm.c +++ b/mono/mini/exceptions-arm.c @@ -14,7 +14,7 @@ #include <string.h> #ifndef MONO_CROSS_COMPILE -#ifdef HAVE_ASM_SIGCONTEXT_H +#if defined(HAVE_ASM_SIGCONTEXT_H) && defined(__GLIBC__) #include <asm/sigcontext.h> #endif /* def HAVE_ASM_SIGCONTEXT_H */ #endif -- 1.9.1
shibajee/buildroot
package/mono/0009-fix-musl-incorrect-sigcontext-include.patch
patch
mit
1,538
config BR2_PACKAGE_MONO_ARCH_SUPPORTS bool default y if (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \ BR2_mipsel || BR2_powerpc || BR2_x86_64) config BR2_PACKAGE_MONO bool "mono" depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS help An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET. http://download.mono-project.com/sources/mono/ comment "mono needs a toolchain w/ threads, dynamic library" depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/mono/Config.in
in
mit
643
# sha256 locally computed sha256 900c2cc25ee55adeec04e1ae889316efc127c82cc0c392f928421f19f8f5b633 mono-4.4.2.11.tar.bz2
shibajee/buildroot
package/mono/mono.hash
hash
mit
121
################################################################################ # # mono # ################################################################################ MONO_VERSION = 4.4.2.11 MONO_SITE = http://download.mono-project.com/sources/mono MONO_SOURCE = mono-$(MONO_VERSION).tar.bz2 MONO_LICENSE = GPLv2 or MIT (compiler, tools), LGPLv2 (runtime libs), MIT (class libs) or commercial MONO_LICENSE_FILES = LICENSE COPYING.LIB mcs/COPYING.LIB mcs/COPYING \ eglib/COPYING external/Newtonsoft.Json/Tools/7-zip/copying.txt MONO_INSTALL_STAGING = YES ## Mono native # patching configure.ac MONO_AUTORECONF = YES # Disable managed code (mcs folder) from building MONO_CONF_OPTS = --disable-gtk-doc \ --with-mcs-docs=no \ --with-moonlight=no \ --with-ikvm-native=no \ --enable-minimal=aot,profiler,debug \ --disable-mcs-build \ --enable-static # The libraries have been built by the host-mono build. Since they are # architecture-independent, we simply copy them to the target. define MONO_INSTALL_LIBS rsync -av --exclude=*.so --exclude=*.mdb \ $(HOST_DIR)/usr/lib/mono $(TARGET_DIR)/usr/lib/ rsync -av $(HOST_DIR)/etc/mono $(TARGET_DIR)/etc endef MONO_POST_INSTALL_TARGET_HOOKS += MONO_INSTALL_LIBS ifeq ($(BR2_PACKAGE_LIBICONV),y) MONO_DEPENDENCIES += libiconv endif MONO_DEPENDENCIES += host-mono ## Mono managed HOST_MONO_CONF_OPTS = --disable-gtk-doc \ --with-mcs-docs=no \ --with-moonlight=no \ --disable-libraries \ --with-ikvm-native=no \ --enable-minimal=aot,profiler,debug \ --enable-static # ensure monolite is used HOST_MONO_MAKE_OPTS += EXTERNAL_MCS=false HOST_MONO_DEPENDENCIES = host-monolite host-gettext define HOST_MONO_SETUP_MONOLITE rm -rf $(@D)/mcs/class/lib/monolite (cd $(@D)/mcs/class/lib; ln -s $(HOST_DIR)/usr/lib/monolite monolite) endef HOST_MONO_POST_CONFIGURE_HOOKS += HOST_MONO_SETUP_MONOLITE $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/mono/mono.mk
mk
mit
1,929
# sha256 locally computed sha256 885270da1b64670bffec9c8df1272ab88ff0b96186d2ebb61bdfa47a5586f987 monolite-140-latest.tar.gz
shibajee/buildroot
package/monolite/monolite.hash
hash
mit
126
################################################################################ # # monolite # ################################################################################ MONOLITE_VERSION = 140 MONOLITE_SITE = http://download.mono-project.com/monolite/ MONOLITE_SOURCE = monolite-$(MONOLITE_VERSION)-latest.tar.gz MONOLITE_LICENSE = LGPLv2 or commercial define HOST_MONOLITE_INSTALL_CMDS mkdir -p $(HOST_DIR)/usr/lib/monolite cp $(@D)/* $(HOST_DIR)/usr/lib/monolite endef $(eval $(host-generic-package))
shibajee/buildroot
package/monolite/monolite.mk
mk
mit
515
comment "mosh needs a toolchain w/ C++, threads, dynamic library, wchar" depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ || BR2_STATIC_LIBS || !BR2_USE_WCHAR depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS config BR2_PACKAGE_MOSH bool "mosh" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS depends on BR2_INSTALL_LIBSTDCPP # protobuf depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf depends on !BR2_STATIC_LIBS # protobuf depends on BR2_USE_WCHAR select BR2_PACKAGE_PROTOBUF select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB # runtime dependency select BR2_PACKAGE_OPENSSH if !BR2_PACKAGE_DROPBEAR_CLIENT help Remote terminal application that supports intermittent connectivity, allows roaming, and provides speculative local echo and line editing of user keystrokes. https://mosh.mit.edu
shibajee/buildroot
package/mosh/Config.in
in
mit
861
# From: http://mailman.mit.edu/pipermail/mosh-users/2015-July/000283.html sha256 1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3 mosh-1.2.5.tar.gz
shibajee/buildroot
package/mosh/mosh.hash
hash
mit
164
################################################################################ # # mosh # ################################################################################ MOSH_VERSION = 1.2.5 MOSH_SITE = https://mosh.mit.edu MOSH_DEPENDENCIES = zlib ncurses protobuf openssl host-pkgconf MOSH_LICENSE = GPLv3+ with exception MOSH_LICENSE_FILES = COPYING COPYING.iOS # help the detection of the SSP support: mosh configure.ac doesn't do # a link test, so it doesn't detect when the toolchain doesn't have # libssp. ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) MOSH_CONF_ENV += \ ax_cv_check_cflags__Werror___fstack_protector_all=no \ ax_cv_check_cxxflags__Werror___fstack_protector_all=no endif $(eval $(autotools-package))
shibajee/buildroot
package/mosh/mosh.mk
mk
mit
718
config BR2_PACKAGE_MOSQUITTO bool "mosquitto" depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # builds .so help Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol versions 3.1 and 3.1.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "machine to machine" messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino. http://mosquitto.org/ comment "mosquitto needs a toolchain w/ dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS
shibajee/buildroot
package/mosquitto/Config.in
in
mit
678
#!/bin/sh start() { printf "Starting mosquitto: " start-stop-daemon -S -q -m -b -p /var/run/mosquitto.pid \ --exec /usr/sbin/mosquitto \ -- -c /etc/mosquitto/mosquitto.conf [ $? = 0 ] && echo "OK" || echo "FAIL" } stop() { printf "Stopping mosquitto: " start-stop-daemon -K -q -p /var/run/mosquitto.pid [ $? = 0 ] && echo "OK" || echo "FAIL" } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart|reload) restart ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $?
shibajee/buildroot
package/mosquitto/S50mosquitto
none
mit
531
# From https://www.eclipse.org/downloads/download.php?file=/mosquitto/source/mosquitto-1.4.9.tar.gz sha512 5994159d9a8da248a877f3032f36ca9a865d9b4efaafac329620864049992a77d414e02252cbbfef89ea2c37dc761b1885a89e19fc8e82b2a42d38f31e761d4d mosquitto-1.4.9.tar.gz
shibajee/buildroot
package/mosquitto/mosquitto.hash
hash
mit
261
################################################################################ # # mosquitto # ################################################################################ MOSQUITTO_VERSION = 1.4.9 MOSQUITTO_SITE = http://mosquitto.org/files/source MOSQUITTO_LICENSE = EPLv1.0 or EDLv1.0 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v10 edl-v10 MOSQUITTO_INSTALL_STAGING = YES MOSQUITTO_MAKE_OPTS = \ UNAME=Linux \ STRIP=true \ prefix=/usr \ WITH_WRAP=no \ WITH_DOCS=no ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) MOSQUITTO_MAKE_OPTS += WITH_THREADING=yes else MOSQUITTO_MAKE_OPTS += WITH_THREADING=no endif ifeq ($(BR2_PACKAGE_OPENSSL),y) MOSQUITTO_DEPENDENCIES += openssl MOSQUITTO_MAKE_OPTS += WITH_TLS=yes else MOSQUITTO_MAKE_OPTS += WITH_TLS=no endif ifeq ($(BR2_PACKAGE_C_ARES),y) MOSQUITTO_DEPENDENCIES += c-ares MOSQUITTO_MAKE_OPTS += WITH_SRV=yes else MOSQUITTO_MAKE_OPTS += WITH_SRV=no endif ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) MOSQUITTO_DEPENDENCIES += util-linux MOSQUITTO_MAKE_OPTS += WITH_UUID=yes else MOSQUITTO_MAKE_OPTS += WITH_UUID=no endif ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) MOSQUITTO_DEPENDENCIES += libwebsockets MOSQUITTO_MAKE_OPTS += WITH_WEBSOCKETS=yes else MOSQUITTO_MAKE_OPTS += WITH_WEBSOCKETS=no endif # C++ support is only used to create a wrapper library ifneq ($(BR2_INSTALL_LIBSTDCPP),y) define MOSQUITTO_DISABLE_CPP $(SED) '/-C cpp/d' $(@D)/lib/Makefile endef MOSQUITTO_POST_PATCH_HOOKS += MOSQUITTO_DISABLE_CPP endif define MOSQUITTO_BUILD_CMDS $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ $(MOSQUITTO_MAKE_OPTS) endef define MOSQUITTO_INSTALL_STAGING_CMDS $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ $(MOSQUITTO_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install endef define MOSQUITTO_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ $(MOSQUITTO_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install rm -f $(TARGET_DIR)/etc/mosquitto/*.example $(INSTALL) -D -m 0644 $(@D)/mosquitto.conf \ $(TARGET_DIR)/etc/mosquitto/mosquitto.conf endef define MOSQUITTO_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/mosquitto/S50mosquitto \ $(TARGET_DIR)/etc/init.d/S50mosquitto endef define MOSQUITTO_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/mosquitto/mosquitto.service \ $(TARGET_DIR)/usr/lib/systemd/system/mosquitto.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -fs ../../../../usr/lib/systemd/system/mosquitto.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mosquitto.service endef define MOSQUITTO_USERS mosquitto -1 nogroup -1 * - - - Mosquitto user endef $(eval $(generic-package))
shibajee/buildroot
package/mosquitto/mosquitto.mk
mk
mit
2,617
[Unit] Description=Mosquitto MQTT broker [Service] ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] WantedBy=multi-user.target
shibajee/buildroot
package/mosquitto/mosquitto.service
service
mit
203
config BR2_PACKAGE_MP4V2 bool "mp4v2" depends on BR2_INSTALL_LIBSTDCPP help The MP4v2 library provides functions to read, create, and modify mp4 files. https://code.google.com/p/mp4v2/ if BR2_PACKAGE_MP4V2 config BR2_PACKAGE_MP4V2_UTIL bool "Install mp4 command line tools" help Enable to install the mp4 command line tools mp4art, mp4chaps, mp4extract, mp4info, mp4subtitle, mp4tags, and mp4trackdump. endif comment "mp4v2 needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/mp4v2/Config.in
in
mit
513
# From https://code.google.com/p/mp4v2/downloads/detail?name=mp4v2-2.0.0.tar.bz2 sha1 193260cfb7201e6ec250137bcca1468d4d20e2f0 mp4v2-2.0.0.tar.bz2
shibajee/buildroot
package/mp4v2/mp4v2.hash
hash
mit
147
################################################################################ # # mp4v2 # ################################################################################ MP4V2_VERSION = 2.0.0 MP4V2_SOURCE = mp4v2-$(MP4V2_VERSION).tar.bz2 MP4V2_SITE = https://mp4v2.googlecode.com/files MP4V2_INSTALL_STAGING = YES MP4V2_LICENSE = MPLv1.1 MP4V2_LICENSE_FILES = COPYING # help2man expects to be able to run utilities on the build machine to # grab --help output which doesn't work when cross compiling, so # disable it MP4V2_CONF_ENV = ac_cv_prog_FOUND_HELP2MAN=no ifeq ($(BR2_PACKAGE_MP4V2_UTIL),y) MP4V2_CONF_OPTS += --enable-util else MP4V2_CONF_OPTS += --disable-util endif $(eval $(autotools-package))
shibajee/buildroot
package/mp4v2/mp4v2.mk
mk
mit
713
config BR2_PACKAGE_MPC bool "mpc" select BR2_PACKAGE_MPFR select BR2_PACKAGE_GMP help Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr. http://www.multiprecision.org/
shibajee/buildroot
package/mpc/Config.in
in
mit
317
# From http://www.multiprecision.org/index.php?prog=mpc&page=download sha1 b8be66396c726fdc36ebb0f692ed8a8cca3bcc66 mpc-1.0.3.tar.gz
shibajee/buildroot
package/mpc/mpc.hash
hash
mit
133
################################################################################ # # mpc # ################################################################################ MPC_VERSION = 1.0.3 MPC_SITE = $(BR2_GNU_MIRROR)/mpc MPC_LICENSE = LGPLv3+ MPC_LICENSE_FILES = COPYING.LESSER MPC_INSTALL_STAGING = YES MPC_DEPENDENCIES = gmp mpfr HOST_MPC_DEPENDENCIES = host-gmp host-mpfr $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/mpc/mpc.mk
mk
mit
444
config BR2_PACKAGE_MPD_MPC bool "mpd-mpc" select BR2_PACKAGE_LIBMPDCLIENT help A minimalist command line interface to MPD. http://www.musicpd.org/clients/mpc/
shibajee/buildroot
package/mpd-mpc/Config.in
in
mit
169
# Locally computed sha256 45a2be0a6dea65ed43f631294c24e74b83c8ee66d1ba6ab47d0744ddb1e62064 mpc-0.27.tar.xz
shibajee/buildroot
package/mpd-mpc/mpd-mpc.hash
hash
mit
107
################################################################################ # # mpd-mpc # ################################################################################ MPD_MPC_VERSION_MAJOR = 0 MPD_MPC_VERSION = $(MPD_MPC_VERSION_MAJOR).27 MPD_MPC_SITE = http://www.musicpd.org/download/mpc/$(MPD_MPC_VERSION_MAJOR) MPD_MPC_SOURCE = mpc-$(MPD_MPC_VERSION).tar.xz MPD_MPC_LICENSE = GPLv2+ MPD_MPC_LICENSE_FILES = COPYING MPD_MPC_DEPENDENCIES = host-pkgconf libmpdclient MPD_MPC_CONF_ENV = ac_cv_prog_cc_c99='-std=c99' $(eval $(autotools-package))
shibajee/buildroot
package/mpd-mpc/mpd-mpc.mk
mk
mit
556
From 8eaf14a17244aaf000b4d19e4fde4a637576939f Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 7 Feb 2016 21:40:47 +0100 Subject: [PATCH] configure.ac: check if libatomic is needed The mpd source code uses the C++11 <atomic> functionality, which internally is implemented using the __atomic_*() gcc built-ins. On certain architectures, the __atomic_*() built-ins are implemented in the libatomic library that comes with the rest of the gcc runtime. Due to this, code using <atomic> might need to link against libatomic, otherwise one hits build issues such as: GlobalEvents.cxx:(.text._ZN12GlobalEvents4EmitENS_5EventE+0x14): undefined reference to `__atomic_fetch_or_4' on an architecture like SPARC. To solve this, a configure.ac check is added to know if we need to link against libatomic or not. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 107b45a..8e6fab7 100644 --- a/configure.ac +++ b/configure.ac @@ -233,6 +233,8 @@ if test x$have_pthread_setname_np = xyes; then AC_DEFINE(HAVE_PTHREAD_SETNAME_NP, 1, [Is pthread_setname_np() available?]) fi +AC_SEARCH_LIBS([__atomic_load_4], [atomic]) + dnl --------------------------------------------------------------------------- dnl Event loop selection dnl --------------------------------------------------------------------------- -- 2.6.4
shibajee/buildroot
package/mpd/0001-configure.ac-check-if-libatomic-is-needed.patch
patch
mit
1,488
From a0a9fed68126eb24e04af924c0d46351ff5eeb0f Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias <gustavo@zacarias.com.ar> Date: Mon, 26 Jan 2015 09:55:04 -0300 Subject: [PATCH] thread/Name: include stdio.h for prctl as well We're still using snprintf so we need it, otherwise it leads to build failure. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- src/thread/Name.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/thread/Name.hxx b/src/thread/Name.hxx index a99208d..8f9d7d3 100644 --- a/src/thread/Name.hxx +++ b/src/thread/Name.hxx @@ -25,6 +25,7 @@ # include <pthread.h> #elif defined(HAVE_PRCTL) # include <sys/prctl.h> +# include <stdio.h> # ifdef PR_SET_NAME # define HAVE_THREAD_NAME # endif -- 2.6.4
shibajee/buildroot
package/mpd/0002-thread-Name-include-stdio.h-for-prctl-as-well.patch
patch
mit
752
menuconfig BR2_PACKAGE_MPD bool "mpd" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # libglib2, flac depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_USE_MMU # libglib2 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 depends on BR2_TOOLCHAIN_HAS_ATOMIC select BR2_PACKAGE_BOOST select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG) help MPD is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol. http://www.musicpd.org if BR2_PACKAGE_MPD comment "Archive plugins" config BR2_PACKAGE_MPD_BZIP2 bool "bzip2" select BR2_PACKAGE_BZIP2 help Enable bzip2 archive support. config BR2_PACKAGE_MPD_SQLITE bool "sqlite" select BR2_PACKAGE_SQLITE help Enable sqlite database support. If you don't use sqlite it will use an ASCII database. comment "Converter plugins" config BR2_PACKAGE_MPD_LIBSAMPLERATE bool "libsamplerate" select BR2_PACKAGE_LIBSAMPLERATE help Enable libsamplerate input support. Select this for software sample rate conversion. config BR2_PACKAGE_MPD_LIBSOXR bool "libsoxr" select BR2_PACKAGE_LIBSOXR help Enable libsoxr resampler support. The SoX Resampler library performs software sample-rate conversion. comment "Decoder plugins" config BR2_PACKAGE_MPD_AUDIOFILE bool "audiofile" select BR2_PACKAGE_AUDIOFILE help Enable audiofile input/streaming support. Select this if you want to play back WAV files. config BR2_PACKAGE_MPD_DSD bool "dsd" help Enable Digital Speech Decoder (DSD) support to play audio files encoded in a digital speech format. config BR2_PACKAGE_MPD_FAAD2 bool "faad2" select BR2_PACKAGE_FAAD2 help Enable faad2 input support. Select this if you want to play back MP4/AAC files. config BR2_PACKAGE_MPD_FFMPEG bool "ffmpeg" depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS select BR2_PACKAGE_FFMPEG help Enable ffmpeg input support. Select this if you want to play back files supported by ffmpeg. config BR2_PACKAGE_MPD_FLAC bool "flac" select BR2_PACKAGE_FLAC help Enable flac input/streaming support. Select this if you want to play back FLAC files. config BR2_PACKAGE_MPD_LIBSNDFILE bool "libsndfile" select BR2_PACKAGE_LIBSNDFILE help Enable libsndfile input/streaming support. Select this if you want to play back WAV files. config BR2_PACKAGE_MPD_MAD bool "mad" default y select BR2_PACKAGE_LIBID3TAG select BR2_PACKAGE_LIBMAD help Enable mad input support. Select this if you want to play back MP3 files. config BR2_PACKAGE_MPD_MPG123 bool "mpg123" select BR2_PACKAGE_LIBID3TAG select BR2_PACKAGE_MPG123 help Enable mpg123 input support. Select this if you want to play back MP3 files. config BR2_PACKAGE_MPD_MUSEPACK bool "musepack" select BR2_PACKAGE_LIBCUEFILE select BR2_PACKAGE_LIBREPLAYGAIN select BR2_PACKAGE_MUSEPACK help Enable musepack input support. Select this if you want to play back MPC files. config BR2_PACKAGE_MPD_OPUS bool "opus" select BR2_PACKAGE_OPUS select BR2_PACKAGE_LIBOGG help Enable opus input support. Select this if you want to play back OPUS encoded files. config BR2_PACKAGE_MPD_TREMOR bool "tremor" select BR2_PACKAGE_LIBOGG select BR2_PACKAGE_TREMOR help Enable vorbis input support. Select this if you want to play back OGG files on softfloat targets. config BR2_PACKAGE_MPD_VORBIS bool "vorbis" select BR2_PACKAGE_LIBOGG select BR2_PACKAGE_LIBVORBIS help Enable vorbis input/streaming support. Select this if you want to play back OGG files on hardfloat targets. config BR2_PACKAGE_MPD_WAVPACK bool "wavpack" select BR2_PACKAGE_WAVPACK help Enable wavpack input support. Select this if you want to play back WV files. comment "Encoder plugins" config BR2_PACKAGE_MPD_LAME bool "lame" select BR2_PACKAGE_LAME help Enable lame (mp3) encoding support. config BR2_PACKAGE_MPD_TWOLAME bool "twolame" select BR2_PACKAGE_TWOLAME help Enable TwoLAME mp2 encoding. comment "Input plugins" config BR2_PACKAGE_MPD_CURL bool "curl" select BR2_PACKAGE_LIBCURL help Enable curl streaming (http) support. config BR2_PACKAGE_MPD_LIBNFS bool "nfs" # libnfs -> libtirpc depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LIBNFS help Enable Network File System (NFS) support. comment "nfs support needs a toolchain w/ threads support" depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) comment "samba support needs a glibc toolchain w/ dynamic library, RPC" depends on !BR2_nios2 depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_NATIVE_RPC config BR2_PACKAGE_MPD_LIBSMBCLIENT bool "samba" depends on !BR2_nios2 # samba depends on BR2_TOOLCHAIN_USES_GLIBC depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC depends on BR2_TOOLCHAIN_HAS_SYNC_4 select BR2_PACKAGE_SAMBA4 help Enable Samba support. config BR2_PACKAGE_MPD_SOUNDCLOUD bool "soundcloud" select BR2_PACKAGE_YAJL help Enable soundcloud.com playlist support. comment "Output plugins" config BR2_PACKAGE_MPD_ALSA bool "alsa" default y select BR2_PACKAGE_ALSA_LIB select BR2_PACKAGE_ALSA_LIB_PCM select BR2_PACKAGE_ALSA_LIB_MIXER help Enable alsa output support. config BR2_PACKAGE_MPD_AO bool "ao" select BR2_PACKAGE_LIBAO help Enable libao output support. config BR2_PACKAGE_MPD_HTTPD_OUTPUT bool "httpd output" help Enable httpd output support. config BR2_PACKAGE_MPD_JACK2 bool "jack2" depends on !BR2_STATIC_LIBS # jack2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 select BR2_PACKAGE_JACK2 help Enable jack output support. comment "jack support needs a toolchain w/ dynamic library" depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_STATIC_LIBS config BR2_PACKAGE_MPD_OSS bool "oss" help Enable OSS (Open Sound System) output support. config BR2_PACKAGE_MPD_PULSEAUDIO bool "pulseaudio" depends on !BR2_STATIC_LIBS # pulseaudio depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO help Enable pulseaudio output support. comment "pulseaudio support needs a toolchain w/ dynamic library" depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_STATIC_LIBS config BR2_PACKAGE_MPD_SHOUTCAST bool "shoutcast" select BR2_PACKAGE_LIBSHOUT help Enable shoutcast streaming output support. comment "Miscellaneous plugins" config BR2_PACKAGE_MPD_AVAHI_SUPPORT bool "avahi (zeroconf) support" depends on !BR2_STATIC_LIBS # avahi select BR2_PACKAGE_AVAHI select BR2_PACKAGE_AVAHI_DAEMON select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY help Enable Avahi (zeroconf) support. Select this for multicast DNS/DNS-SD service discovery support. This allows MPD to publish service information on a local network. comment "avahi support needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT bool "neighbor discovery support" depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP help Enable support for neighbor discovery. This option can be used in conjunction with the smbclient plugin to provide a list of SMB/CIFS servers or with the UPnP plugin to provide a list of UPnP servers on the local network. The neighbor plugin needs configuration in mpd.conf. For further information take a look at the MPD documentation. config BR2_PACKAGE_MPD_TCP bool "tcp sockets" default y help Enable MPD to listen on tcp sockets. You want this on if MPD and the client(s) work on different machines (the usual scenario). config BR2_PACKAGE_MPD_UPNP bool "UPnP" select BR2_PACKAGE_EXPAT select BR2_PACKAGE_LIBUPNP help Enable MPD UPnP client support. endif comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.6" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
shibajee/buildroot
package/mpd/Config.in
in
mit
8,378
#!/bin/sh # Sanity checks test -f /usr/bin/mpd || exit 0 test -f /etc/mpd.conf || exit 0 start() { printf "Starting mpd: " start-stop-daemon --start --quiet --background --exec /usr/bin/mpd \ && echo "OK" || echo "FAIL" } stop() { printf "Stopping mpd: " start-stop-daemon --stop --quiet --pidfile /var/run/mpd.pid \ && echo "OK" || echo "FAIL" } case "$1" in start) start ;; stop) stop ;; restart|reload) stop sleep 1 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac
shibajee/buildroot
package/mpd/S95mpd
none
mit
517
# # Sample configuration file for mpd # This is a minimal configuration, see the manpage for more options # # Directory where the music is stored music_directory "/var/lib/mpd/music" # Directory where user-made playlists are stored (RW) playlist_directory "/var/lib/mpd/playlists" # Database file (RW) db_file "/var/lib/mpd/database" # Log file (RW) log_file "/var/log/mpd.log" # Process ID file (RW) pid_file "/var/run/mpd.pid" # State file (RW) state_file "/var/lib/mpd/state" # User id to run the daemon as #user "nobody" # TCP socket binding bind_to_address "any" #bind_to_address "localhost" # Unix socket to listen on bind_to_address "/var/lib/mpd/socket"
shibajee/buildroot
package/mpd/mpd.conf
INI
mit
681
# Locally calculated after checking pgp signature sha256 487ec8ad2b1c1c193c2a7c8975a8b8fe2e4f0335bcc2e9356b2b34a0179fb2f7 mpd-0.19.17.tar.xz
shibajee/buildroot
package/mpd/mpd.hash
hash
mit
143
################################################################################ # # mpd # ################################################################################ MPD_VERSION_MAJOR = 0.19 MPD_VERSION = $(MPD_VERSION_MAJOR).17 MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR) MPD_DEPENDENCIES = host-pkgconf boost libglib2 MPD_LICENSE = GPLv2+ MPD_LICENSE_FILES = COPYING MPD_AUTORECONF = YES # Some options need an explicit --disable or --enable # Zeroconf support depends on libdns_sd from avahi. ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) MPD_DEPENDENCIES += avahi MPD_CONF_OPTS += --with-zeroconf=avahi else MPD_CONF_OPTS += --with-zeroconf=no endif # MPD prefers libicu for utf8 collation instead of libglib2. ifeq ($(BR2_PACKAGE_ICU),y) MPD_DEPENDENCIES += icu MPD_CONF_OPTS += --enable-icu else MPD_CONF_OPTS += --disable-icu endif ifeq ($(BR2_PACKAGE_MPD_ALSA),y) MPD_DEPENDENCIES += alsa-lib MPD_CONF_OPTS += --enable-alsa else MPD_CONF_OPTS += --disable-alsa endif ifeq ($(BR2_PACKAGE_MPD_AO),y) MPD_DEPENDENCIES += libao MPD_CONF_OPTS += --enable-ao else MPD_CONF_OPTS += --disable-ao endif ifeq ($(BR2_PACKAGE_MPD_AUDIOFILE),y) MPD_DEPENDENCIES += audiofile MPD_CONF_OPTS += --enable-audiofile else MPD_CONF_OPTS += --disable-audiofile endif ifeq ($(BR2_PACKAGE_MPD_BZIP2),y) MPD_DEPENDENCIES += bzip2 MPD_CONF_OPTS += --enable-bzip2 else MPD_CONF_OPTS += --disable-bzip2 endif ifeq ($(BR2_PACKAGE_MPD_CURL),y) MPD_DEPENDENCIES += libcurl MPD_CONF_OPTS += --enable-curl else MPD_CONF_OPTS += --disable-curl endif ifeq ($(BR2_PACKAGE_MPD_DSD),y) MPD_CONF_OPTS += --enable-dsd else MPD_CONF_OPTS += --disable-dsd endif ifeq ($(BR2_PACKAGE_MPD_FAAD2),y) MPD_DEPENDENCIES += faad2 MPD_CONF_OPTS += --enable-aac else MPD_CONF_OPTS += --disable-aac endif ifeq ($(BR2_PACKAGE_MPD_FFMPEG),y) MPD_DEPENDENCIES += ffmpeg MPD_CONF_OPTS += --enable-ffmpeg else MPD_CONF_OPTS += --disable-ffmpeg endif ifeq ($(BR2_PACKAGE_MPD_FLAC),y) MPD_DEPENDENCIES += flac MPD_CONF_OPTS += --enable-flac else MPD_CONF_OPTS += --disable-flac endif ifeq ($(BR2_PACKAGE_MPD_HTTPD_OUTPUT),y) MPD_CONF_OPTS += --enable-httpd-output else MPD_CONF_OPTS += --disable-httpd-output endif ifeq ($(BR2_PACKAGE_MPD_JACK2),y) MPD_DEPENDENCIES += jack2 MPD_CONF_OPTS += --enable-jack else MPD_CONF_OPTS += --disable-jack endif ifeq ($(BR2_PACKAGE_MPD_LAME),y) MPD_DEPENDENCIES += lame MPD_CONF_OPTS += --enable-lame-encoder else MPD_CONF_OPTS += --disable-lame-encoder endif ifeq ($(BR2_PACKAGE_MPD_LIBNFS),y) MPD_DEPENDENCIES += libnfs MPD_CONF_OPTS += --enable-nfs else MPD_CONF_OPTS += --disable-nfs endif ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y) MPD_DEPENDENCIES += samba4 MPD_CONF_OPTS += --enable-smbclient else MPD_CONF_OPTS += --disable-smbclient endif ifeq ($(BR2_PACKAGE_MPD_LIBSAMPLERATE),y) MPD_DEPENDENCIES += libsamplerate MPD_CONF_OPTS += --enable-lsr else MPD_CONF_OPTS += --disable-lsr endif ifeq ($(BR2_PACKAGE_MPD_LIBSNDFILE),y) MPD_DEPENDENCIES += libsndfile MPD_CONF_OPTS += --enable-sndfile else MPD_CONF_OPTS += --disable-sndfile endif ifeq ($(BR2_PACKAGE_MPD_LIBSOXR),y) MPD_DEPENDENCIES += libsoxr MPD_CONF_OPTS += --enable-soxr else MPD_CONF_OPTS += --disable-soxr endif ifeq ($(BR2_PACKAGE_MPD_MAD),y) MPD_DEPENDENCIES += libid3tag libmad MPD_CONF_OPTS += --enable-mad else MPD_CONF_OPTS += --disable-mad endif ifeq ($(BR2_PACKAGE_MPD_MPG123),y) MPD_DEPENDENCIES += libid3tag mpg123 MPD_CONF_OPTS += --enable-mpg123 else MPD_CONF_OPTS += --disable-mpg123 endif ifeq ($(BR2_PACKAGE_MPD_MUSEPACK),y) MPD_DEPENDENCIES += musepack MPD_CONF_OPTS += --enable-mpc else MPD_CONF_OPTS += --disable-mpc endif ifeq ($(BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT),y) MPD_CONF_OPTS += --enable-neighbor-plugins else MPD_CONF_OPTS += --disable-neighbor-plugins endif ifeq ($(BR2_PACKAGE_MPD_OPUS),y) MPD_DEPENDENCIES += opus libogg MPD_CONF_OPTS += --enable-opus else MPD_CONF_OPTS += --disable-opus endif ifeq ($(BR2_PACKAGE_MPD_OSS),y) MPD_CONF_OPTS += --enable-oss else MPD_CONF_OPTS += --disable-oss endif ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y) MPD_DEPENDENCIES += pulseaudio MPD_CONF_OPTS += --enable-pulse else MPD_CONF_OPTS += --disable-pulse endif ifeq ($(BR2_PACKAGE_MPD_SHOUTCAST),y) MPD_DEPENDENCIES += libshout MPD_CONF_OPTS += --enable-shout else MPD_CONF_OPTS += --disable-shout endif ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y) MPD_DEPENDENCIES += yajl MPD_CONF_OPTS += --enable-soundcloud else MPD_CONF_OPTS += --disable-soundcloud endif ifeq ($(BR2_PACKAGE_MPD_SQLITE),y) MPD_DEPENDENCIES += sqlite MPD_CONF_OPTS += --enable-sqlite else MPD_CONF_OPTS += --disable-sqlite endif ifneq ($(BR2_PACKAGE_MPD_TCP),y) MPD_CONF_OPTS += --disable-tcp endif ifeq ($(BR2_PACKAGE_MPD_TREMOR),y) MPD_DEPENDENCIES += tremor MPD_CONF_OPTS += --with-tremor endif ifeq ($(BR2_PACKAGE_MPD_TWOLAME),y) MPD_DEPENDENCIES += twolame MPD_CONF_OPTS += --enable-twolame-encoder else MPD_CONF_OPTS += --disable-twolame-encoder endif ifeq ($(BR2_PACKAGE_MPD_UPNP),y) MPD_DEPENDENCIES += expat libupnp MPD_CONF_OPTS += --enable-upnp else MPD_CONF_OPTS += --disable-upnp endif ifeq ($(BR2_PACKAGE_MPD_VORBIS),y) MPD_DEPENDENCIES += libvorbis MPD_CONF_OPTS += --enable-vorbis --enable-vorbis-encoder else MPD_CONF_OPTS += --disable-vorbis --disable-vorbis-encoder endif ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y) MPD_DEPENDENCIES += wavpack MPD_CONF_OPTS += --enable-wavpack else MPD_CONF_OPTS += --disable-wavpack endif define MPD_INSTALL_EXTRA_FILES $(INSTALL) -m 0644 -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf endef MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES define MPD_INSTALL_INIT_SYSV $(INSTALL) -m 0755 -D package/mpd/S95mpd \ $(TARGET_DIR)/etc/init.d/S95mpd endef $(eval $(autotools-package))
shibajee/buildroot
package/mpd/mpd.mk
mk
mit
5,791
From c349964887901848fb4cd5db53a5bcb6dae27aaa Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 23 Nov 2014 10:16:33 +0100 Subject: [PATCH] Add minimal support for --{enable,disable}-{shared,static} mpdecimal uses autoconf, but not automake or libtool, so this commit adds some basic handling of --{enable,disable}-{shared,static}, so that building the shared library can be disabled in pure static library contexts. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Makefile.in | 6 ++++++ configure.ac | 13 +++++++++++++ libmpdec/Makefile.in | 11 ++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 2c91891..0c44f36 100644 --- a/Makefile.in +++ b/Makefile.in @@ -9,6 +9,8 @@ LIBSTATIC = @LIBSTATIC@ LIBSONAME = @LIBSONAME@ LIBSHARED = @LIBSHARED@ INSTALL = @INSTALL@ +BUILD_SHARED = @BUILD_SHARED@ +BUILD_STATIC = @BUILD_STATIC@ prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -32,9 +34,13 @@ install: FORCE $(INSTALL) -d -m 755 $(DESTDIR)$(includedir) $(INSTALL) -m 644 libmpdec/mpdecimal.h $(DESTDIR)$(includedir) $(INSTALL) -d -m 755 $(DESTDIR)$(libdir) +ifeq ($(BUILD_STATIC),yes) $(INSTALL) -m 644 libmpdec/$(LIBSTATIC) $(DESTDIR)$(libdir) +endif +ifeq ($(BUILD_SHARED),yes) $(INSTALL) -m 755 libmpdec/$(LIBSHARED) $(DESTDIR)$(libdir) cd $(DESTDIR)$(libdir) && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) libmpdec.so +endif $(INSTALL) -d -m 755 $(DESTDIR)$(docdir) cp -R doc/* $(DESTDIR)$(docdir) diff --git a/configure.ac b/configure.ac index 7ee8f86..2b3e505 100644 --- a/configure.ac +++ b/configure.ac @@ -88,6 +88,19 @@ CFLAGS="$saved_cflags" AC_PROG_INSTALL AC_SUBST(INSTALL) +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared], [build shared library])], + [BUILD_SHARED=$enableval], + [BUILD_SHARED=yes]) + +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static], [build static library])], + [BUILD_STATIC=$enableval], + [BUILD_STATIC=yes]) + +AC_SUBST(BUILD_SHARED) +AC_SUBST(BUILD_STATIC) + # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect: # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html AC_MSG_CHECKING(for glibc _FORTIFY_SOURCE/memmove bug) diff --git a/libmpdec/Makefile.in b/libmpdec/Makefile.in index d9619a3..985c73c 100644 --- a/libmpdec/Makefile.in +++ b/libmpdec/Makefile.in @@ -7,6 +7,8 @@ LIBSTATIC = @LIBSTATIC@ LIBSONAME = @LIBSONAME@ LIBSHARED = @LIBSHARED@ +BUILD_SHARED = @BUILD_SHARED@ +BUILD_STATIC = @BUILD_STATIC@ CC = @CC@ LD = @LD@ @@ -32,8 +34,15 @@ ifeq ($(MAKECMDGOALS), profile_use) MPD_LDFLAGS += $(MPD_PUSE) endif +ifeq ($(BUILD_SHARED),yes) +TARGETS += $(LIBSHARED) +endif + +ifeq ($(BUILD_STATIC),yes) +TARGETS += $(LIBSTATIC) +endif -default: $(LIBSTATIC) $(LIBSHARED) +default: $(TARGETS) OBJS := basearith.o context.o constants.o convolute.o crt.o mpdecimal.o \ -- 2.1.0
shibajee/buildroot
package/mpdecimal/0001-Add-minimal-support-for-enable-disable-shared-static.patch
patch
mit
2,977
config BR2_PACKAGE_MPDECIMAL bool "mpdecimal" help mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic. Starting from version 2.4, mpdecimal includes only the libmpdec library. Further mpdecimal development will focus exclusively on libmpdec. http://www.bytereef.org/mpdecimal/
shibajee/buildroot
package/mpdecimal/Config.in
in
mit
346
# From http://www.bytereef.org/mpdecimal/download.html sha256 da74d3cfab559971a4fbd4fb506e1b4498636eb77d0fd09e44f8e546d18ac068 mpdecimal-2.4.1.tar.gz
shibajee/buildroot
package/mpdecimal/mpdecimal.hash
hash
mit
150
################################################################################ # # mpdecimal # ################################################################################ MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases MPDECIMAL_VERSION = 2.4.1 MPDECIMAL_INSTALL_STAGING = YES MPDECIMAL_LICENSE = BSD-2c MPDECIMAL_LICENSE_FILES = LICENSE.txt MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)" MPDECIMAL_AUTORECONF = YES # On i386, by default, mpdecimal tries to uses <fenv.h> which is not # available in musl/uclibc. So in this case, we tell mpdecimal to use # the generic 32 bits code, which is anyway the one used on ARM, # PowerPC, etc. ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) ifeq ($(BR2_i386),y) MPDECIMAL_CONF_ENV += MACHINE=ansi32 endif endif $(eval $(autotools-package))
shibajee/buildroot
package/mpdecimal/mpdecimal.mk
mk
mit
795
config BR2_PACKAGE_MPFR bool "mpfr" select BR2_PACKAGE_GMP help C library for multiple-precision floating-point computations with exact rounding. http://www.mpfr.org/
shibajee/buildroot
package/mpfr/Config.in
in
mit
180
# Locally calculated after checking pgp signature sha256 761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5 mpfr-3.1.4.tar.xz
shibajee/buildroot
package/mpfr/mpfr.hash
hash
mit
140
################################################################################ # # mpfr # ################################################################################ MPFR_VERSION = 3.1.4 MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION) MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.xz MPFR_LICENSE = LGPLv3+ MPFR_LICENSE_FILES = COPYING.LESSER MPFR_INSTALL_STAGING = YES MPFR_DEPENDENCIES = gmp HOST_MPFR_DEPENDENCIES = host-gmp MPFR_MAKE_OPTS = RANLIB=$(TARGET_RANLIB) $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/mpfr/mpfr.mk
mk
mit
539
config BR2_PACKAGE_MPG123 bool "mpg123" depends on BR2_USE_MMU # fork - in the application help Fast, free and portable MPEG audio player for Unix. It supports MPEG 1.0/2.0 layers 1, 2 and 3. http://www.mpg123.de/
shibajee/buildroot
package/mpg123/Config.in
in
mit
227
# Locally calculated after checking pgp signature sha256 4073d9c60a43872f6f5a3a322f5ea21ab7f0869d2ed25e79c3eb8521fa3c32d4 mpg123-1.23.6.tar.bz2
shibajee/buildroot
package/mpg123/mpg123.hash
hash
mit
144
################################################################################ # # mpg123 # ################################################################################ MPG123_VERSION = 1.23.6 MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2 MPG123_SITE = http://downloads.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION) MPG123_CONF_OPTS = --disable-lfs-alias MPG123_INSTALL_STAGING = YES MPG123_LICENSE = LGPLv2.1 MPG123_LICENSE_FILES = COPYING MPG123_DEPENDENCIES = host-pkgconf MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic_fpu) ifeq ($(BR2_aarch64),y) MPG123_CPU = aarch64 endif ifeq ($(BR2_arm),y) ifeq ($(or $(BR2_ARM_CPU_HAS_NEON),$(BR2_ARM_CPU_HAS_VFPV2)),y) MPG123_CPU = arm_fpu else MPG123_CPU = arm_nofpu endif endif ifeq ($(BR2_i386),y) MPG123_CPU = x86 endif ifeq ($(BR2_powerpc),y) ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) MPG123_CPU = altivec endif ifeq ($(BR2_SOFT_FLOAT),y) MPG123_CPU = ppc_nofpu endif endif # powerpc ifeq ($(BR2_x86_64),y) MPG123_CPU = x86-64 endif MPG123_CONF_OPTS += --with-cpu=$(MPG123_CPU) MPG123_AUDIO = dummy oss ifeq ($(BR2_PACKAGE_PORTAUDIO),y) MPG123_AUDIO += portaudio MPG123_CONF_OPTS += --with-default-audio=portaudio MPG123_DEPENDENCIES += portaudio # configure script does NOT use pkg-config to figure out how to link # with portaudio, breaking static linking as portaudio uses pthreads MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs portaudio-2.0`" endif ifeq ($(BR2_PACKAGE_SDL),y) MPG123_AUDIO += sdl MPG123_CONF_OPTS += --with-default-audio=sdl MPG123_DEPENDENCIES += sdl endif ifeq ($(BR2_PACKAGE_ALSA_LIB),y) MPG123_AUDIO += alsa MPG123_CONF_OPTS += --with-default-audio=alsa MPG123_DEPENDENCIES += alsa-lib # configure script does NOT use pkg-config to figure out how to link # with alsa, breaking static linking as alsa uses pthreads MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`" endif MPG123_CONF_OPTS += --with-audio=$(subst $(space),$(comma),$(MPG123_AUDIO)) ifeq ($(BR2_PACKAGE_LIBTOOL),y) MPG123_DEPENDENCIES += libtool # .la files gets stripped , so directly load .so files rather than .la MPG123_CONF_OPTS += --with-modules --with-module-suffix=.so endif $(eval $(autotools-package))
shibajee/buildroot
package/mpg123/mpg123.mk
mk
mit
2,221
Disable stripping on installation Using the -s option of install does not work, as it uses the host strip instead of the cross strip. So, get rid of it, and let Buildroot handle the stripping. [Vincent: tweak patch for version 1.2] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> diff -Nrua a/configure b/configure --- a/configure 2015-10-02 21:29:04.000000000 +0100 +++ b/configure 2015-10-06 13:28:37.245349592 +0100 @@ -2780,7 +2780,7 @@ # Checking for CFLAGS -_install_strip="-s" +_install_strip= if test -z "$CFLAGS" || test "$_profile" != "" || test "$_debug" != ""; then if test "$cc_vendor" = "intel" ; then CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"
shibajee/buildroot
package/mplayer/0001-disable-install-strip.patch
patch
mit
776
From d3195ea13f4a9aae546ff996e53681349a1a3cdb Mon Sep 17 00:00:00 2001 From: sherpya <sherpya@netfarm.it> Date: Fri, 14 Jun 2013 05:25:38 +0200 Subject: [PATCH 25/27] mpdemux: live555 async interface From: https://raw.github.com/sherpya/mplayer-be/master/patches/mp/0025-mpdemux-live555-async-interface.patch Adjust live555 interface code for modern versions of live555. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- libmpdemux/demux_rtp.cpp | 51 ++++++++++++++++++++++++++++++++---------------- 2 files changed, 35 insertions(+), 22 deletions(-) diff --git a/libmpdemux/demux_rtp.cpp b/libmpdemux/demux_rtp.cpp index ad7a7f1..05d06e0 100644 --- a/libmpdemux/demux_rtp.cpp +++ b/libmpdemux/demux_rtp.cpp @@ -19,8 +19,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define RTSPCLIENT_SYNCHRONOUS_INTERFACE 1 - extern "C" { // on MinGW, we must include windows.h before the things it conflicts #ifdef __MINGW32__ // with. they are each protected from @@ -94,15 +92,6 @@ struct RTPState { extern "C" char* network_username; extern "C" char* network_password; -static char* openURL_rtsp(RTSPClient* client, char const* url) { - // If we were given a user name (and optional password), then use them: - if (network_username != NULL) { - char const* password = network_password == NULL ? "" : network_password; - return client->describeWithPassword(url, network_username, password); - } else { - return client->describeURL(url); - } -} static char* openURL_sip(SIPClient* client, char const* url) { // If we were given a user name (and optional password), then use them: @@ -118,6 +107,19 @@ static char* openURL_sip(SIPClient* client, char const* url) { extern AVCodecContext *avcctx; #endif +static char fWatchVariableForSyncInterface; +static char* fResultString; +static int fResultCode; + +static void responseHandlerForSyncInterface(RTSPClient* rtspClient, int responseCode, char* responseString) { + // Set result values: + fResultCode = responseCode; + fResultString = responseString; + + // Signal a break from the event loop (thereby returning from the blocking command): + fWatchVariableForSyncInterface = ~0; +} + extern "C" int audio_id, video_id, dvdsub_id; extern "C" demuxer_t* demux_open_rtp(demuxer_t* demuxer) { Boolean success = False; @@ -146,13 +148,19 @@ extern "C" demuxer_t* demux_open_rtp(demuxer_t* demuxer) { rtsp_transport_http = demuxer->stream->streaming_ctrl->url->port; rtsp_transport_tcp = 1; } - rtspClient = RTSPClient::createNew(*env, verbose, "MPlayer", rtsp_transport_http); + rtspClient = RTSPClient::createNew(*env, url, verbose, "MPlayer", rtsp_transport_http); if (rtspClient == NULL) { fprintf(stderr, "Failed to create RTSP client: %s\n", env->getResultMsg()); break; } - sdpDescription = openURL_rtsp(rtspClient, url); + fWatchVariableForSyncInterface = 0; + rtspClient->sendDescribeCommand(responseHandlerForSyncInterface); + env->taskScheduler().doEventLoop(&fWatchVariableForSyncInterface); + if (fResultCode == 0) + sdpDescription = fResultString; + else + delete[] fResultString; } else { // SIP unsigned char desiredAudioType = 0; // PCMU (use 3 for GSM) sipClient = SIPClient::createNew(*env, desiredAudioType, NULL, @@ -236,8 +244,12 @@ extern "C" demuxer_t* demux_open_rtp(demuxer_t* demuxer) { if (rtspClient != NULL) { // Issue a RTSP "SETUP" command on the chosen subsession: - if (!rtspClient->setupMediaSubsession(*subsession, False, - rtsp_transport_tcp)) break; + fWatchVariableForSyncInterface = 0; + rtspClient->sendSetupCommand(*subsession, responseHandlerForSyncInterface, False, rtsp_transport_tcp); + env->taskScheduler().doEventLoop(&fWatchVariableForSyncInterface); + delete[] fResultString; + if (fResultCode != 0) break; + if (!strcmp(subsession->mediumName(), "audio")) audiofound = 1; if (!strcmp(subsession->mediumName(), "video")) @@ -248,7 +260,11 @@ extern "C" demuxer_t* demux_open_rtp(demuxer_t* demuxer) { if (rtspClient != NULL) { // Issue a RTSP aggregate "PLAY" command on the whole session: - if (!rtspClient->playMediaSession(*mediaSession)) break; + fWatchVariableForSyncInterface = 0; + rtspClient->sendPlayCommand(*mediaSession, responseHandlerForSyncInterface); + env->taskScheduler().doEventLoop(&fWatchVariableForSyncInterface); + delete[] fResultString; + if (fResultCode != 0) break; } else if (sipClient != NULL) { sipClient->sendACK(); // to start the stream flowing } @@ -637,7 +653,8 @@ static void teardownRTSPorSIPSession(RTPState* rtpState) { MediaSession* mediaSession = rtpState->mediaSession; if (mediaSession == NULL) return; if (rtpState->rtspClient != NULL) { - rtpState->rtspClient->teardownMediaSession(*mediaSession); + fWatchVariableForSyncInterface = 0; + rtpState->rtspClient->sendTeardownCommand(*mediaSession, NULL); } else if (rtpState->sipClient != NULL) { rtpState->sipClient->sendBYE(); } -- 1.8.5.2
shibajee/buildroot
package/mplayer/0002-mpdemux-live555-async-interface.patch
patch
mit
5,081
Fix aarch64 compile by adding HAVE_ARMV8 define Fixes build errors seen on the buildroot autobuilders: http://autobuild.buildroot.net/results/5f8/5f85c32eb89aac48ae8da892d9800bd13274cd3e/build-end.log libavutil/aarch64/cpu.c: In function 'ff_get_cpu_flags_aarch64': libavutil/aarch64/cpu.c:25:32: error: 'HAVE_ARMV8' undeclared (first use in this function) return AV_CPU_FLAG_ARMV8 * HAVE_ARMV8 | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> (patch sent upstream: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-May/073496.html) Index: configure =================================================================== --- a/configure (revision 37871) +++ b/configure (working copy) @@ -1445,6 +1445,8 @@ --disable-armv6) _armv6=no ;; --enable-armv6t2) _armv6t2=yes ;; --disable-armv6t2) _armv6t2=no ;; + --enable-armv8) _armv8=yes ;; + --disable-armv8) _armv8=no ;; --enable-armvfp) _armvfp=yes ;; --disable-armvfp) _armvfp=no ;; --enable-vfpv3) vfpv3=yes ;; @@ -3261,7 +3263,7 @@ echores "$_iwmmxt" fi -cpuexts_all='ALTIVEC XOP AVX AVX2 FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 VFP VFPV3 SETEND NEON IWMMXT MMI VIS MVI' +cpuexts_all='ALTIVEC XOP AVX AVX2 FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 ARMV8 VFP VFPV3 SETEND NEON IWMMXT MMI VIS MVI' test "$_altivec" = yes && cpuexts="ALTIVEC $cpuexts" test "$_mmx" = yes && cpuexts="MMX $cpuexts" test "$_mmxext" = yes && cpuexts="MMX2 $cpuexts" @@ -3285,6 +3287,7 @@ test "$_armv5te" = yes && cpuexts="ARMV5TE $cpuexts" test "$_armv6" = yes && cpuexts="ARMV6 $cpuexts" test "$_armv6t2" = yes && cpuexts="ARMV6T2 $cpuexts" +test "$_armv8" = yes && cpuexts="ARMV8 $cpuexts" test "$_armvfp" = yes && cpuexts="VFP $cpuexts" test "$vfpv3" = yes && cpuexts="VFPV3 $cpuexts" test "$setend" = yes && cpuexts="SETEND $cpuexts"
shibajee/buildroot
package/mplayer/0003-configure-armv8.patch
patch
mit
2,024
configure: Fix compilation when zlib is missing. Downloaded from upstream commit: $ LC_ALL=C svn log -r 37816 ------------------------------------------------------------------------ r37816 | reimar | 2016-02-28 14:39:42 +0100 (Sun, 28 Feb 2016) | 3 lines configure: Fix compilation when zlib is missing. APNG and a few other decoders also cannot be enabled without it. ------------------------------------------------------------------------ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Index: configure =================================================================== --- a/configure (revision 37795) +++ b/configure (revision 37816) @@ -6464,8 +6464,8 @@ mplayer_encoders="$mplayer_encoders PNG_ENCODER" else def_zlib='#define CONFIG_ZLIB 0' - libavdecoders=$(filter_out_component decoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M TSCC ZEROCODEC') - libavencoders=$(filter_out_component encoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB') + libavdecoders=$(filter_out_component decoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M RSCC SCREENPRESSO TDSC TSCC ZEROCODEC') + libavencoders=$(filter_out_component encoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB') fi echores "$_zlib"
shibajee/buildroot
package/mplayer/0004-configure-zlib.patch
patch
mit
1,208
Fix static linking with tremor & libogg The order of the libraries needs to be changed to fix a bug during static linking caught by buildroot autobuilders: http://autobuild.buildroot.net/results/bc9/bc98fa585399b53ea181dbaf392b93424145911d/ /home/test/autobuild/instance-3/output/host/usr/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/libvorbisidec.a(synthesis.o): In function `_vorbis_synthesis1': synthesis.c:(.text+0x90): undefined reference to `oggpack_readinit' synthesis.c:(.text+0x9c): undefined reference to `oggpack_read' [...] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> (patch sent upstream: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-July/073501.html) Index: configure =================================================================== --- a/configure (revision 37873) +++ b/configure (working copy) @@ -6629,7 +6629,7 @@ def_tremor='#define CONFIG_TREMOR 1' codecmodules="tremor $codecmodules" res_comment="integer libvorbis" - extra_ldflags="$extra_ldflags -logg -lvorbisidec" + extra_ldflags="$extra_ldflags -lvorbisidec -logg" elif test "$_libvorbis" = yes ; then _vorbis=yes def_vorbis='#define CONFIG_OGGVORBIS 1'
shibajee/buildroot
package/mplayer/0005-tremor-ogg.patch
patch
mit
1,181
config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS bool default y # Those architectures are not supported by MPlayer depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \ || BR2_m68k || BR2_microblaze || BR2_nios2) # Broken support for <ARMv5 depends on !BR2_ARM_CPU_ARMV4 config BR2_PACKAGE_MPLAYER bool "mplayer" depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_THREADS help MPlayer is a movie player which runs on many systems and supports many different file formats. http://www.mplayerhq.hu/ comment "mplayer needs a toolchain w/ threads" depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS if BR2_PACKAGE_MPLAYER config BR2_PACKAGE_MPLAYER_MPLAYER bool "Build and install mplayer" default y help This will install the video player. config BR2_PACKAGE_MPLAYER_MENCODER bool "Build and install mencoder" help This will install the video encoder. endif
shibajee/buildroot
package/mplayer/Config.in
in
mit
1,025
# From http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz.md5 md5 e8a4d77ad4f509e81dd5e13b51636c1d MPlayer-1.3.0.tar.xz # From http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz.sha1 sha1 11db20434a4e1aabb9c52f7712241dae1b3730e3 MPlayer-1.3.0.tar.xz
shibajee/buildroot
package/mplayer/mplayer.hash
hash
mit
274
################################################################################ # # mplayer # ################################################################################ MPLAYER_VERSION = 1.3.0 MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases MPLAYER_DEPENDENCIES = host-pkgconf MPLAYER_LICENSE = GPLv2 MPLAYER_LICENSE_FILES = LICENSE Copyright MPLAYER_CFLAGS = $(TARGET_CFLAGS) MPLAYER_LDFLAGS = $(TARGET_LDFLAGS) # Adding $(STAGING_DIR)/usr/include in the header path is normally not # needed. Except that mplayer's configure script has a completely # brain-damaged way of looking for X11/Xlib.h (it parses extra-cflags # for -I options). MPLAYER_CFLAGS += -I$(STAGING_DIR)/usr/include # mplayer needs pcm+mixer support, but configure fails to check for it ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy) MPLAYER_DEPENDENCIES += alsa-lib MPLAYER_CONF_OPTS += --enable-alsa else MPLAYER_CONF_OPTS += --disable-alsa endif ifeq ($(BR2_ENDIAN),"BIG") MPLAYER_CONF_OPTS += --enable-big-endian else MPLAYER_CONF_OPTS += --disable-big-endian endif ifeq ($(BR2_PACKAGE_ZLIB),y) MPLAYER_DEPENDENCIES += zlib MPLAYER_CONF_OPTS += \ --enable-decoder=apng \ --enable-encoder=apng \ --enable-decoder=tdsc else MPLAYER_CONF_OPTS += \ --disable-decoder=apng \ --disable-encoder=apng \ --disable-decoder=tdsc endif ifeq ($(BR2_PACKAGE_SDL),y) MPLAYER_CONF_OPTS += \ --enable-sdl \ --with-sdl-config=$(STAGING_DIR)/usr/bin/sdl-config MPLAYER_DEPENDENCIES += sdl else MPLAYER_CONF_OPTS += --disable-sdl endif ifeq ($(BR2_PACKAGE_FREETYPE),y) MPLAYER_CONF_OPTS += \ --enable-freetype \ --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config MPLAYER_DEPENDENCIES += freetype else MPLAYER_CONF_OPTS += --disable-freetype endif # We intentionally don't pass --enable-fontconfig, to let the # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_FONTCONFIG),y) MPLAYER_DEPENDENCIES += fontconfig else MPLAYER_CONF_OPTS += --disable-fontconfig endif ifeq ($(BR2_PACKAGE_LIBENCA),y) MPLAYER_CONF_OPTS += --enable-enca MPLAYER_DEPENDENCIES += libenca else MPLAYER_CONF_OPTS += --disable-enca endif # We intentionally don't pass --enable-fribidi, to let the # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) MPLAYER_DEPENDENCIES += libfribidi else MPLAYER_CONF_OPTS += --disable-fribidi endif # We intentionally don't pass --enable-libiconv, to let the # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBICONV),y) MPLAYER_DEPENDENCIES += libiconv else MPLAYER_CONF_OPTS += --disable-iconv endif # We intentionally don't pass --enable-termcap, in order to let the # autodetection find with which library to link with. Otherwise, we # would have to pass it manually. ifeq ($(BR2_PACKAGE_NCURSES),y) MPLAYER_DEPENDENCIES += ncurses else MPLAYER_CONF_OPTS += --disable-termcap endif # mplayer doesn't pick up libsmbclient cflags ifeq ($(BR2_PACKAGE_SAMBA4),y) MPLAYER_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags smbclient` MPLAYER_CONF_OPTS += --enable-smb MPLAYER_DEPENDENCIES += samba4 else MPLAYER_CONF_OPTS += --disable-smb endif ifeq ($(BR2_PACKAGE_LIBBLURAY),y) MPLAYER_CONF_OPTS += --enable-bluray MPLAYER_DEPENDENCIES += libbluray else MPLAYER_CONF_OPTS += --disable-bluray endif # cdio support is broken in buildroot atm due to missing libcdio-paranoia # package and this patch # https://github.com/pld-linux/mplayer/blob/master/mplayer-libcdio.patch MPLAYER_CONF_OPTS += --disable-libcdio # We intentionally don't pass --enable-dvdread, to let the # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) MPLAYER_CONF_OPTS += \ --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread" MPLAYER_DEPENDENCIES += libdvdread endif # We intentionally don't pass --enable-dvdnav to let the autodetection # find which library to link with. ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) MPLAYER_CONF_OPTS += \ --with-dvdnav-config="$(PKG_CONFIG_HOST_BINARY) dvdnav" MPLAYER_DEPENDENCIES += libdvdnav endif ifeq ($(BR2_PACKAGE_MPLAYER_MPLAYER),y) MPLAYER_CONF_OPTS += --enable-mplayer else MPLAYER_CONF_OPTS += --disable-mplayer endif ifeq ($(BR2_PACKAGE_MPLAYER_MENCODER),y) MPLAYER_CONF_OPTS += --enable-mencoder else MPLAYER_CONF_OPTS += --disable-mencoder endif ifeq ($(BR2_PACKAGE_FAAD2),y) MPLAYER_DEPENDENCIES += faad2 MPLAYER_CONF_OPTS += --enable-faad else MPLAYER_CONF_OPTS += --disable-faad endif ifeq ($(BR2_PACKAGE_LAME),y) MPLAYER_DEPENDENCIES += lame MPLAYER_CONF_OPTS += --enable-mp3lame else MPLAYER_CONF_OPTS += --disable-mp3lame endif # We intentionally don't pass --disable-ass-internal --enable-ass and # let autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBASS),y) MPLAYER_DEPENDENCIES += libass endif # We intentionally don't pass --enable-libmpeg2 and let autodetection # find which library to link with. ifeq ($(BR2_PACKAGE_LIBMPEG2),y) MPLAYER_DEPENDENCIES += libmpeg2 MPLAYER_CONF_OPTS += --disable-libmpeg2-internal endif # We intentionally don't pass --enable-mpg123, to let the # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_MPG123),y) MPLAYER_DEPENDENCIES += mpg123 else MPLAYER_CONF_OPTS += --disable-mpg123 endif ifeq ($(BR2_PACKAGE_TREMOR),y) MPLAYER_DEPENDENCIES += tremor MPLAYER_CONF_OPTS += --enable-tremor endif # We intentionally don't pass --enable-libvorbis, to let the # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBVORBIS),y) MPLAYER_DEPENDENCIES += libvorbis endif ifeq ($(BR2_PACKAGE_LIBMAD),y) MPLAYER_DEPENDENCIES += libmad MPLAYER_CONF_OPTS += --enable-mad else MPLAYER_CONF_OPTS += --disable-mad endif ifeq ($(BR2_PACKAGE_LIVE555),y) MPLAYER_DEPENDENCIES += live555 MPLAYER_CONF_OPTS += --enable-live MPLAYER_LIVE555 = liveMedia groupsock UsageEnvironment BasicUsageEnvironment MPLAYER_CFLAGS += \ $(addprefix -I$(STAGING_DIR)/usr/include/,$(MPLAYER_LIVE555)) MPLAYER_LDFLAGS += $(addprefix -l,$(MPLAYER_LIVE555)) -lstdc++ else MPLAYER_CONF_OPTS += --disable-live endif ifeq ($(BR2_PACKAGE_GIFLIB),y) MPLAYER_DEPENDENCIES += giflib MPLAYER_CONF_OPTS += --enable-gif else MPLAYER_CONF_OPTS += --disable-gif endif # We intentionally don't pass --enable-librtmp to let autodetection # find which library to link with. ifeq ($(BR2_PACKAGE_RTMPDUMP),y) MPLAYER_DEPENDENCIES += rtmpdump else MPLAYER_CONF_OPTS += --disable-librtmp endif ifeq ($(BR2_PACKAGE_SPEEX),y) MPLAYER_DEPENDENCIES += speex MPLAYER_CONF_OPTS += --enable-speex else MPLAYER_CONF_OPTS += --disable-speex endif ifeq ($(BR2_PACKAGE_LZO),y) MPLAYER_DEPENDENCIES += lzo MPLAYER_CONF_OPTS += --enable-liblzo else MPLAYER_CONF_OPTS += --disable-liblzo endif MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_BZIP2),bzip2) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_HAS_LIBGL),libgl) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBVPX),libvpx) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_OPUS),opus) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBX11),xlib_libX11) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBXEXT),xlib_libXext) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBXINERAMA),xlib_libXinerama) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBXV),xlib_libXv) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBXXF86VM),xlib_libXxf86vm) # ARM optimizations ifeq ($(BR2_ARM_CPU_ARMV5),y) MPLAYER_CONF_OPTS += --enable-armv5te endif ifeq ($(BR2_ARM_CPU_ARMV6)$(BR2_ARM_CPU_ARMV7A),y) MPLAYER_CONF_OPTS += --enable-armv6 endif ifeq ($(BR2_aarch64),y) MPLAYER_CONF_OPTS += --enable-armv8 endif ifeq ($(BR2_ARM_SOFT_FLOAT),) ifeq ($(BR2_ARM_CPU_HAS_NEON),y) MPLAYER_CONF_OPTS += --enable-neon MPLAYER_CFLAGS += -mfpu=neon endif endif ifeq ($(BR2_i386),y) # inline asm breaks with "can't find a register in class 'GENERAL_REGS'" # inless we free up ebp MPLAYER_CFLAGS += -fomit-frame-pointer endif ifeq ($(BR2_X86_CPU_HAS_MMX),y) MPLAYER_CONF_OPTS += \ --enable-mmx \ --yasm=$(HOST_DIR)/usr/bin/yasm MPLAYER_DEPENDENCIES += host-yasm else MPLAYER_CONF_OPTS += \ --disable-mmx \ --yasm='' endif ifeq ($(BR2_X86_CPU_HAS_SSE),y) MPLAYER_CONF_OPTS += --enable-sse else MPLAYER_CONF_OPTS += --disable-sse endif ifeq ($(BR2_X86_CPU_HAS_SSE2),y) MPLAYER_CONF_OPTS += --enable-sse2 else MPLAYER_CONF_OPTS += --disable-sse2 endif ifeq ($(BR2_X86_CPU_HAS_SSE3),y) MPLAYER_CONF_OPTS += --enable-sse3 else MPLAYER_CONF_OPTS += --disable-sse3 endif ifeq ($(BR2_X86_CPU_HAS_SSSE3),y) MPLAYER_CONF_OPTS += --enable-ssse3 else MPLAYER_CONF_OPTS += --disable-ssse3 endif ifeq ($(BR2_X86_CPU_HAS_SSE4),y) MPLAYER_CONF_OPTS += --enable-sse4 else MPLAYER_CONF_OPTS += --disable-sse4 endif ifeq ($(BR2_X86_CPU_HAS_SSE42),y) MPLAYER_CONF_OPTS += --enable-sse42 else MPLAYER_CONF_OPTS += --disable-sse42 endif ifeq ($(BR2_X86_CPU_HAS_AVX),y) MPLAYER_CONF_OPTS += --enable-avx else MPLAYER_CONF_OPTS += --disable-avx endif ifeq ($(BR2_X86_CPU_HAS_AVX2),y) MPLAYER_CONF_OPTS += --enable-avx2 else MPLAYER_CONF_OPTS += --disable-avx2 endif define MPLAYER_CONFIGURE_CMDS (cd $(@D); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ ./configure \ --prefix=/usr \ --confdir=/etc \ --target=$(GNU_TARGET_NAME) \ --host-cc="$(HOSTCC)" \ --cc="$(TARGET_CC)" \ --as="$(TARGET_AS)" \ --charset=UTF-8 \ --extra-cflags="$(MPLAYER_CFLAGS)" \ --extra-ldflags="$(MPLAYER_LDFLAGS)" \ --enable-fbdev \ $(MPLAYER_CONF_OPTS) \ --enable-cross-compile \ --disable-ivtv \ --enable-dynamic-plugins \ --enable-inet6 \ ) endef define MPLAYER_BUILD_CMDS $(MAKE) -C $(@D) endef define MPLAYER_INSTALL_TARGET_CMDS $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install endef $(eval $(generic-package))
shibajee/buildroot
package/mplayer/mplayer.mk
mk
mit
9,918
From 61aea32efe675e584121295452fc7ab2a652d021 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias <gustavo@zacarias.com.ar> Date: Wed, 20 Apr 2016 09:39:30 -0300 Subject: [PATCH] wscript: don't check for fork() on POSIX checks It's not being used, and in fact prevents mpv from being built in nommu architectures (cortex M, blackfin, ...) Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- Status: pull request https://github.com/mpv-player/mpv/pull/3068 wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index a4ffce6..40328e4 100644 --- a/wscript +++ b/wscript @@ -127,7 +127,7 @@ main_dependencies = [ 'desc': 'POSIX environment', # This should be good enough. 'func': check_statement(['poll.h', 'unistd.h', 'sys/mman.h'], - 'struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0)'), + 'struct pollfd pfd; poll(&pfd, 1, 0); int f[2]; pipe(f); munmap(f,0)'), }, { 'name': 'posix-or-mingw', 'desc': 'development environment', -- 2.7.3
shibajee/buildroot
package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch
patch
mit
1,086
From 5a635a0066b10d2ba25e0ce78cc57b2be619371c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Mon, 8 Aug 2016 23:34:32 +0200 Subject: [PATCH] wscript: improve stdatomic check The current stdatomic check verifies the availability of the function by calling atomic_load(). It also uses this test to check if linking against libatomic is needed or not. Unfortunately, on specific architectures (namely SPARC), using atomic_load() does *not* require linking against libatomic, while other atomic operations do. Due to this, mpv's wscript concludes that stdatomic is available, and that linking against libatomic is not needed, causing the following link failure: [190/190] Linking build/mpv audio/out/ao.c.13.o: In function `ao_query_and_reset_events': /home/peko/autobuild/instance-0/output/build/mpv-0.18.1/build/../audio/out/ao.c:399: undefined reference to `__atomic_fetch_and_4' In order to fix this, the stdatomic check is adjusted to call atomic_fetch_add() instead, which does require libatomic. Thanks to this, the wscript realizes that linking against libatomic is needed, and the build works fine. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Submitted upstream: https://github.com/mpv-player/mpv/pull/3403 wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index a18df6f..4c49caf 100644 --- a/wscript +++ b/wscript @@ -154,7 +154,7 @@ main_dependencies = [ 'func': check_libs(['atomic'], check_statement('stdatomic.h', 'atomic_int_least64_t test = ATOMIC_VAR_INIT(123);' - 'int test2 = atomic_load(&test)')) + 'atomic_fetch_add(&test, 1)')) }, { 'name': 'atomic-builtins', 'desc': 'compiler support for __atomic built-ins', -- 2.7.4
shibajee/buildroot
package/mpv/0002-wscript-improve-stdatomic-check.patch
patch
mit
1,858
config BR2_PACKAGE_MPV bool "mpv" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_FFMPEG select BR2_PACKAGE_FFMPEG_SWSCALE select BR2_PACKAGE_ZLIB # Select xkbcommon for wayland to avoid being mysterious select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND help mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more. https://mpv.io/ comment "mpv needs a toolchain w/ threads, gcc >= 4.5" depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
shibajee/buildroot
package/mpv/Config.in
in
mit
741
# Locally calculated sha256 e413d57fec4ad43b9f9b848f38d13fb921313fc9a4a64bf1e906c8d0f7a46329 v0.18.1.tar.gz sha256 01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b waf-1.8.12
shibajee/buildroot
package/mpv/mpv.hash
hash
mit
191
################################################################################ # # mpv # ################################################################################ MPV_VERSION = 0.18.1 MPV_WAF_VERSION = 1.8.12 MPV_SITE = https://github.com/mpv-player/mpv/archive MPV_SOURCE = v$(MPV_VERSION).tar.gz MPV_EXTRA_DOWNLOADS = https://waf.io/waf-$(MPV_WAF_VERSION) MPV_DEPENDENCIES = \ host-pkgconf ffmpeg zlib \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) MPV_LICENSE = GPLv2+ MPV_LICENSE_FILES = LICENSE # Some of these options need testing and/or tweaks MPV_CONF_OPTS = \ --prefix=/usr \ --disable-android \ --disable-caca \ --disable-cdda \ --disable-cocoa \ --disable-coreaudio \ --disable-libguess \ --disable-libv4l2 \ --disable-opensles \ --disable-rpi \ --disable-rsound \ --disable-rubberband \ --disable-uchardet \ --disable-vapoursynth \ --disable-vapoursynth-lazy \ --disable-vdpau # ALSA support requires pcm+mixer ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy) MPV_CONF_OPTS += --enable-alsa MPV_DEPENDENCIES += alsa-lib else MPV_CONF_OPTS += --disable-alsa endif # GBM support is provided by mesa3d when EGL=y ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) MPV_CONF_OPTS += --enable-gbm MPV_DEPENDENIES += mesa3d else MPV_CONF_OPTS += --disable-gbm endif # jack support # It also requires 64-bit sync intrinsics ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_JACK2),yy) MPV_CONF_OPTS += --enable-jack MPV_DEPENDENCIES += jack2 else MPV_CONF_OPTS += --disable-jack endif # jpeg support ifeq ($(BR2_PACKAGE_JPEG),y) MPV_CONF_OPTS += --enable-jpeg MPV_DEPENDENCIES += jpeg else MPV_CONF_OPTS += --disable-jpeg endif # lcms2 support ifeq ($(BR2_PACKAGE_LCMS2),y) MPV_CONF_OPTS += --enable-lcms2 MPV_DEPENDENCIES += lcms2 else MPV_CONF_OPTS += --disable-lcms2 endif # libarchive support ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) MPV_CONF_OPTS += --enable-libarchive MPV_DEPENDENCIES += libarchive else MPV_CONF_OPTS += --disable-libarchive endif # libass subtitle support ifeq ($(BR2_PACKAGE_LIBASS),y) MPV_CONF_OPTS += --enable-libass MPV_DEPENDENCIES += libass else MPV_CONF_OPTS += --disable-libass endif # bluray support ifeq ($(BR2_PACKAGE_LIBBLURAY),y) MPV_CONF_OPTS += --enable-libbluray MPV_DEPENDENCIES += libbluray else MPV_CONF_OPTS += --disable-libbluray endif # libdvdnav ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) MPV_CONF_OPTS += --enable-dvdnav MPV_DEPENDENCIES += libdvdnav else MPV_CONF_OPTS += --disable-dvdnav endif # libdvdread ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) MPV_CONF_OPTS += --enable-dvdread MPV_DEPENDENCIES += libdvdread else MPV_CONF_OPTS += --disable-dvdread endif # libdrm ifeq ($(BR2_PACKAGE_LIBDRM),y) MPV_CONF_OPTS += --enable-drm MPV_DEPENDENCIES += libdrm else MPV_CONF_OPTS += --disable-drm endif # libenca support ifeq ($(BR2_PACKAGE_LIBENCA),y) MPV_CONF_OPTS += --enable-enca MPV_DEPENDENCIES += libenca else MPV_CONF_OPTS += --disable-enca endif # LUA support, only for lua51/lua52/luajit # This enables the controller (OSD) together with libass ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUA_5_2)$(BR2_PACKAGE_LUAJIT),y) MPV_CONF_OPTS += --enable-lua MPV_DEPENDENCIES += luainterpreter else MPV_CONF_OPTS += --disable-lua endif # OpenGL support ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) MPV_CONF_OPTS += --enable-gl --enable-standard-gl MPV_DEPENDENCIES += libgl else MPV_CONF_OPTS += --disable-gl --disable-standard-gl endif # pulseaudio support ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) MPV_CONF_OPTS += --enable-pulse MPV_DEPENDENCIES += pulseaudio else MPV_CONF_OPTS += --disable-pulse endif # samba support ifeq ($(BR2_PACKAGE_SAMBA4),y) MPV_CONF_OPTS += --enable-libsmbclient MPV_DEPENDENCIES += samba4 else MPV_CONF_OPTS += --disable-libsmbclient endif # SDL support # Both can't be used at the same time, prefer newer API # It also requires 64-bit sync intrinsics ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_SDL2),yy) MPV_CONF_OPTS += --enable-sdl2 --disable-sdl1 MPV_DEPENDENCIES += sdl2 else ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_SDL),yy) MPV_CONF_OPTS += --enable-sdl1 --disable-sdl2 MPV_DEPENDENCIES += sdl else MPV_CONF_OPTS += --disable-sdl1 --disable-sdl2 endif # va-api support # This requires one or more of the egl-drm, wayland, x11 backends # For now we support wayland and x11 ifeq ($(BR2_PACKAGE_LIBVA),y) ifneq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XLIB_LIBX11),) MPV_CONF_OPTS += --enable-vaapi MPV_DEPENDENCIES += libva else MPV_CONF_OPTS += --disable-vaapi endif else MPV_CONF_OPTS += --disable-vaapi endif # wayland support ifeq ($(BR2_PACKAGE_WAYLAND),y) MPV_CONF_OPTS += --enable-wayland MPV_DEPENDENCIES += libxkbcommon wayland else MPV_CONF_OPTS += --disable-wayland endif # Base X11 support ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) MPV_CONF_OPTS += --enable-x11 --disable-xss MPV_DEPENDENCIES += xlib_libX11 # xext ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y) MPV_CONF_OPTS += --enable-xext MPV_DEPENDENCIES += xlib_libXext else MPV_CONF_OPTS += --disable-xext endif # xinerama ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) MPV_CONF_OPTS += --enable-xinerama MPV_DEPENDENCIES += xlib_libXinerama else MPV_CONF_OPTS += --disable-xinerama endif # xrandr ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) MPV_CONF_OPTS += --enable-xrandr MPV_DEPENDENCIES += xlib_libXrandr else MPV_CONF_OPTS += --disable-xrandr endif # XVideo ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) MPV_CONF_OPTS += --enable-xv MPV_DEPENDENCIES += xlib_libXv else MPV_CONF_OPTS += --disable-xv endif else MPV_CONF_OPTS += --disable-x11 endif define MPV_COPY_WAF $(INSTALL) -m 0755 $(DL_DIR)/waf-$(MPV_WAF_VERSION) $(@D)/waf endef MPV_POST_EXTRACT_HOOKS += MPV_COPY_WAF define MPV_CONFIGURE_CMDS cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ ./waf configure $(MPV_CONF_OPTS) endef define MPV_BUILD_CMDS cd $(@D); \ $(TARGET_MAKE_ENV) \ ./waf build endef define MPV_INSTALL_TARGET_CMDS cd $(@D); \ $(TARGET_MAKE_ENV) \ DESTDIR=$(TARGET_DIR) \ ./waf install endef $(eval $(generic-package))
shibajee/buildroot
package/mpv/mpv.mk
mk
mit
5,949
config BR2_PACKAGE_MRAA bool "mraa" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_arm || BR2_i386 || BR2_x86_64 help mraa is a C/C++ library with bindings to javascript & python to interface with the IO on Galileo, Edison & other platforms, with a structured and sane API where port names/numbering matches the board that you are on. http://iotdk.intel.com/docs/master/mraa comment "mraa needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/mraa/Config.in
in
mit
484
# Locally calculated sha256 e4501e6936afb426c75b7d406c1a7a27b514297f640e887de4d88a2d9687f37b mraa-v0.9.1.tar.gz
shibajee/buildroot
package/mraa/mraa.hash
hash
mit
113
################################################################################ # # mraa # ################################################################################ MRAA_VERSION = v0.9.1 MRAA_SITE = $(call github,intel-iot-devkit,mraa,$(MRAA_VERSION)) MRAA_LICENSE = MIT MRAA_LICENSE_FILES = COPYING MRAA_INSTALL_STAGING = YES # USBPLAT only makes sense with FTDI4222, which requires the ftd2xx library, # which doesn't exist in buildroot MRAA_CONF_OPTS += \ -DBUILDSWIG=OFF \ -DUSBPLAT=OFF \ -DFTDI4222=OFF \ -DIPK=OFF \ -DRPM=OFF \ -DENABLEEXAMPLES=OFF \ -DBUILDTESTS=OFF $(eval $(cmake-package))
shibajee/buildroot
package/mraa/mraa.mk
mk
mit
618
From 687f41680d51585e9a5a135e39efee330588bea7 Mon Sep 17 00:00:00 2001 From: Matt Weber <matthew.weber@rockwellcollins.com> Date: Fri, 11 Sep 2015 12:49:30 -0500 Subject: [PATCH 1/1] DVMRP report missing subnet Accepted upstream and will be included in 3.9.8. https://github.com/troglobit/mrouted/commit/512af5ffe0f48ffa2ba3b45898c66c2a561a5c2d A subnet is missing in the DVMRP report sent to it's neighbor after the initial probe occurs. The issue was with the traversal of a double linked list from end to start. Once the traversing pointer reaches the start of routing table for loop (condition) it would break and always drop the first subnet. Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> --- route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route.c b/route.c index f74e601..9fe779d 100644 --- a/route.c +++ b/route.c @@ -1193,7 +1193,7 @@ static int report_chunk(int which_routes, struct rtentry *start_rt, vifi_t vifi, p = send_buf + MIN_IP_HEADER_LEN + IGMP_MINLEN; - for (r = start_rt; r != routing_table; r = r->rt_prev) { + for (r = start_rt; r != NULL; r = r->rt_prev) { if (which_routes == CHANGED_ROUTES && !(r->rt_flags & RTF_CHANGED)) { nrt++; continue; -- 1.9.1
shibajee/buildroot
package/mrouted/0001-DVMRP-report-missing-subnet.patch
patch
mit
1,258
config BR2_PACKAGE_MROUTED bool "mrouted" depends on BR2_USE_MMU # fork() help An implementation of the DVMRP multicast routing protocol. If built with uClibc, then UCLIBC_SUPPORT_AI_ADDRCONFIG is needed in uClibc configuration. http://github.com/troglobit/mrouted
shibajee/buildroot
package/mrouted/Config.in
in
mit
282
# Locally calculated sha256 181908f7025c5a2dee2e50d86888780469eaa9e1bd42d3eca9dfed8274aecd3d mrouted-3.9.7.tar.gz
shibajee/buildroot
package/mrouted/mrouted.hash
hash
mit
115
################################################################################ # # mrouted # ################################################################################ MROUTED_VERSION = 3.9.7 MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION)) MROUTED_DEPENDENCIES = host-bison MROUTED_LICENSE = BSD-3c MROUTED_LICENSE_FILES = LICENSE define MROUTED_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \ ) endef define MROUTED_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef define MROUTED_INSTALL_TARGET_CMDS $(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install endef $(eval $(generic-package))
shibajee/buildroot
package/mrouted/mrouted.mk
mk
mit
672
config BR2_PACKAGE_MSGPACK bool "msgpack" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_SYNC_4 help MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON but it's faster and smaller. http://msgpack.org/ comment "msgpack needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_SYNC_4
shibajee/buildroot
package/msgpack/Config.in
in
mit
417
# Locally computed: sha256 97a371ef950c89f48e8dba6abeccab07f1887e9ba6dab921de0f985c7d5075fe msgpack-0.5.4.tar.gz
shibajee/buildroot
package/msgpack/msgpack.hash
hash
mit
115
################################################################################ # # msgpack # ################################################################################ MSGPACK_VERSION = 0.5.4 MSGPACK_SITE = http://downloads.sourceforge.net/project/msgpack/msgpack/cpp MSGPACK_LICENSE = Apache-2.0 MSGPACK_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/msgpack/msgpack.mk
mk
mit
368
config BR2_PACKAGE_MSMTP bool "msmtp" help msmtp is an SMTP client. In the default mode, it transmits a mail to an SMTP server (for example at a free mail provider) which takes care of further delivery. http://msmtp.sourceforge.net/
shibajee/buildroot
package/msmtp/Config.in
in
mit
248
# From http://sourceforge.net/projects/msmtp/files/msmtp/1.6.5/ md5 50a8c9bb72f8222779db6b4aae2965e0 msmtp-1.6.5.tar.xz sha1 27d1fc609cd453a7e4c55c4ec55d455949bc53f1 msmtp-1.6.5.tar.xz
shibajee/buildroot
package/msmtp/msmtp.hash
hash
mit
185
################################################################################ # # msmtp # ################################################################################ MSMTP_VERSION = 1.6.5 MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION) MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz MSMTP_DEPENDENCIES = host-pkgconf MSMTP_CONF_OPTS = \ --without-libidn \ --disable-gai-idn \ --without-libgsasl MSMTP_LICENSE = GPLv3+ MSMTP_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_LIBSECRET),y) MSMTP_CONF_OPTS += --with-libsecret MSMTP_DEPENDENCIES += libsecret else MSMTP_CONF_OPTS += --without-libsecret endif ifeq ($(BR2_PACKAGE_OPENSSL),y) MSMTP_CONF_OPTS += --with-ssl=openssl MSMTP_DEPENDENCIES += openssl ifeq ($(BR2_STATIC_LIBS),y) # openssl uses zlib, so we need to explicitly link with it when static MSMTP_CONF_ENV += LIBS=-lz endif else ifeq ($(BR2_PACKAGE_GNUTLS),y) MSMTP_CONF_OPTS += --with-ssl=gnutls MSMTP_DEPENDENCIES += gnutls else MSMTP_CONF_OPTS += --with-ssl=no endif $(eval $(autotools-package))
shibajee/buildroot
package/msmtp/msmtp.mk
mk
mit
1,055
config BR2_PACKAGE_MSR_TOOLS bool "msr-tools" depends on BR2_i386 || BR2_x86_64 help The MSR Tools project provides utilities to access x86 processor MSRs and CPU ID directly. Those tools access the hardware through the /dev/cpu/<cpu#>/msr and /dev/cpu/<cpu#>/cpuid devices. This necessitates msr and cpuid support in the kernel, which means you need a kernel compiled with configuration options CONFIG_X86_CPUID and CONFIG_X86_MSR enabled. https://01.org/msr-tools
shibajee/buildroot
package/msr-tools/Config.in
in
mit
495
# Locally computed: sha256 9b87245ee091a798184e447066e9e0d7709b7c81f5e6ad55f2b958c1aa50c4a3 msr-tools-1.3.tar.gz
shibajee/buildroot
package/msr-tools/msr-tools.hash
hash
mit
113
################################################################################ # # msr-tools # ################################################################################ MSR_TOOLS_VERSION = 1.3 MSR_TOOLS_SITE = $(call github,01org,msr-tools,msr-tools-$(MSR_TOOLS_VERSION)) MSR_TOOLS_LICENSE = GPLv2 MSR_TOOLS_LICENSE_FILES = cpuid.c define MSR_TOOLS_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) endef define MSR_TOOLS_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \ sbindir="$(TARGET_DIR)/usr/sbin" endef $(eval $(generic-package))
shibajee/buildroot
package/msr-tools/msr-tools.mk
mk
mit
618
From 5f50207231414bfdbac8f0f974a2824f24177d6e Mon Sep 17 00:00:00 2001 From: Enrico Jorns <ejo@pengutronix.de> Date: Fri, 11 Sep 2015 15:28:13 +0200 Subject: [PATCH] mtd-utils: ubinize: Always return error code (at least -1) in case of an error ubinize should not fail silenty, this can be very annoying when using it from other tools that rely on the exit code for determining the success of their operation. Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> --- ubi-utils/ubinize.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ubi-utils/ubinize.c b/ubi-utils/ubinize.c index 34f465a..60bbd9a 100644 --- a/ubi-utils/ubinize.c +++ b/ubi-utils/ubinize.c @@ -519,6 +519,7 @@ int main(int argc, char * const argv[]) */ seek = ui.peb_size * 2; if (lseek(args.out_fd, seek, SEEK_SET) != seek) { + err = -1; sys_errmsg("cannot seek file \"%s\"", args.f_out); goto out_free; } @@ -530,6 +531,7 @@ int main(int argc, char * const argv[]) int fd, j; if (!sname) { + err = -1; errmsg("ini-file parsing error (iniparser_getsecname)"); goto out_free; } @@ -550,6 +552,7 @@ int main(int argc, char * const argv[]) */ for (j = 0; j < i; j++) { if (vi[i].id == vi[j].id) { + err = -1; errmsg("volume IDs must be unique, but ID %d " "in section \"%s\" is not", vi[i].id, sname); @@ -557,6 +560,7 @@ int main(int argc, char * const argv[]) } if (!strcmp(vi[i].name, vi[j].name)) { + err = -1; errmsg("volume name must be unique, but name " "\"%s\" in section \"%s\" is not", vi[i].name, sname); @@ -580,6 +584,7 @@ int main(int argc, char * const argv[]) if (img) { fd = open(img, O_RDONLY); if (fd == -1) { + err = fd; sys_errmsg("cannot open \"%s\"", img); goto out_free; } -- 1.9.1
shibajee/buildroot
package/mtd/0001-mtd-utils-ubinize-Always-return-error-code-at-least-.patch
patch
mit
1,946
From 30f0cd91b21dbc5d593d61ae44875ad0cb53cb4d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sat, 16 Jul 2016 11:27:06 +0200 Subject: [PATCH] integck: only use execinfo.h when INTEGCK_DEBUG is enabled Guard the usage of execinfo.h by INTEGCK_DEBUG so that by defaut, integck builds properly on systems without <execinfo.h> (uClibc and musl based systems). As stated in the code, the backtrace() functionality of <execinfo.h> will anyway only work properly when INTEGCK_DEBUG is defined (it makes all functions non-static, which is needed for backtrace to provide some useful information). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- tests/fs-tests/integrity/integck.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index 8badd1f..6ef817e 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -31,7 +31,9 @@ #include <getopt.h> #include <assert.h> #include <mntent.h> +#ifdef INTEGCK_DEBUG #include <execinfo.h> +#endif #include <bits/stdio_lim.h> #include <sys/mman.h> #include <sys/vfs.h> @@ -248,14 +250,18 @@ static char *random_name_buf; static void check_failed(const char *cond, const char *func, const char *file, int line) { - int error = errno, count; + int error = errno; +#ifdef INTEGCK_DEBUG + int count; void *addresses[128]; +#endif fflush(stdout); fflush(stderr); errmsg("condition '%s' failed in %s() at %s:%d", cond, func, file, line); normsg("error %d (%s)", error, strerror(error)); +#ifdef INTEGCK_DEBUG /* * Note, to make this work well you need: * 1. Make all functions non-static - add "#define static' @@ -264,6 +270,7 @@ static void check_failed(const char *cond, const char *func, const char *file, */ count = backtrace(addresses, 128); backtrace_symbols_fd(addresses, count, fileno(stdout)); +#endif exit(EXIT_FAILURE); } -- 2.7.4
shibajee/buildroot
package/mtd/0002-integck-only-use-execinfo.h-when-INTEGCK_DEBUG-is-en.patch
patch
mit
2,032
From 600ab10e3b452cdffc6c82770b0bb2ff5c23ad70 Mon Sep 17 00:00:00 2001 From: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Date: Fri, 12 Aug 2016 22:59:35 +0530 Subject: [PATCH 1/1] fs-tests: integrity: don't include header <bits/stdio_lim.h> With musl C library, we get following build error integck.c:37:28: fatal error: bits/stdio_lim.h: No such file or directory #include <bits/stdio_lim.h> ^ compilation terminated. make[2]: *** [integck] Error 1 Header <bits/stdio_lim.h> is not available in musl C library. However <stdio.h> has all definition that <bits/stdio_lim.h> supposed to be providing. Moreover <bits/stdio_lim.h> shouldn't be included directly instead we should be using <stdio.h>. Since we already include <stdio.h> and in case of uClibc or glibc <bits/stdio_lim.h> gets included internally, we can safely remove it. This build issue is found by Buildroot autobuilder http://autobuild.buildroot.net/results/175/1754861457af520480cc34d7d2d0edff2868ff66/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> --- tests/fs-tests/integrity/integck.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index 6ef817e..0bb9711 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -34,7 +34,6 @@ #ifdef INTEGCK_DEBUG #include <execinfo.h> #endif -#include <bits/stdio_lim.h> #include <sys/mman.h> #include <sys/vfs.h> #include <sys/mount.h> -- 2.6.2
shibajee/buildroot
package/mtd/0003-fs-tests-integrity-don-t-include-header-bits-stdio_l.patch
patch
mit
1,516
config BR2_PACKAGE_MTD bool "mtd, jffs2 and ubi/ubifs tools" help Build mtd, jffs2 and ubi/ubifs tools http://www.linux-mtd.infradead.org/ if BR2_PACKAGE_MTD comment "MTD tools selection" config BR2_PACKAGE_MTD_DOCFDISK bool "docfdisk" config BR2_PACKAGE_MTD_DOC_LOADBIOS bool "doc_loadbios" config BR2_PACKAGE_MTD_FLASHCP bool "flashcp" default y config BR2_PACKAGE_MTD_FLASH_ERASE bool "flash_erase" default y config BR2_PACKAGE_MTD_FLASH_LOCK bool "flash_lock" default y config BR2_PACKAGE_MTD_FLASH_OTP_DUMP bool "flash_otp_dump" config BR2_PACKAGE_MTD_FLASH_OTP_INFO bool "flash_otp_info" config BR2_PACKAGE_MTD_FLASH_OTP_LOCK bool "flash_otp_lock" config BR2_PACKAGE_MTD_FLASH_OTP_WRITE bool "flash_otp_write" config BR2_PACKAGE_MTD_FLASH_UNLOCK bool "flash_unlock" default y config BR2_PACKAGE_MTD_FTL_CHECK bool "ftl_check" config BR2_PACKAGE_MTD_FTL_FORMAT bool "ftl_format" config BR2_PACKAGE_MTD_JFFS2DUMP bool "jffs2dump" config BR2_PACKAGE_MTD_MKFSJFFS2 bool "mkfs.jffs2" select BR2_PACKAGE_ZLIB select BR2_PACKAGE_LZO config BR2_PACKAGE_MTD_MKFSUBIFS bool "mkfs.ubifs" select BR2_PACKAGE_ZLIB select BR2_PACKAGE_LZO select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID depends on BR2_USE_WCHAR # util-linux comment "mkfs.ubifs needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR config BR2_PACKAGE_MTD_MTD_DEBUG bool "mtd_debug" default y config BR2_PACKAGE_MTD_MTDPART bool "mtdpart" config BR2_PACKAGE_MTD_NANDDUMP bool "nanddump" default y config BR2_PACKAGE_MTD_NANDTEST bool "nandtest" default y config BR2_PACKAGE_MTD_NANDWRITE bool "nandwrite" default y config BR2_PACKAGE_MTD_NFTLDUMP bool "nftldump" config BR2_PACKAGE_MTD_NFTL_FORMAT bool "nftl_format" config BR2_PACKAGE_MTD_RECV_IMAGE bool "recv_image" config BR2_PACKAGE_MTD_RFDDUMP bool "rfddump" config BR2_PACKAGE_MTD_RFDFORMAT bool "rfdformat" config BR2_PACKAGE_MTD_SERVE_IMAGE bool "serve_image" config BR2_PACKAGE_MTD_SUMTOOL bool "sumtool" config BR2_PACKAGE_MTD_MTDINFO bool "mtdinfo" default y config BR2_PACKAGE_MTD_UBIATTACH bool "ubiattach" default y config BR2_PACKAGE_MTD_UBICRC32 bool "ubicrc32" default y config BR2_PACKAGE_MTD_UBIDETACH bool "ubidetach" default y config BR2_PACKAGE_MTD_UBIFORMAT bool "ubiformat" default y config BR2_PACKAGE_MTD_UBIMKVOL bool "ubimkvol" default y config BR2_PACKAGE_MTD_UBINFO bool "ubinfo" default y config BR2_PACKAGE_MTD_UBINIZE bool "ubinize" default y config BR2_PACKAGE_MTD_UBIRENAME bool "ubirename" default y config BR2_PACKAGE_MTD_UBIRMVOL bool "ubirmvol" default y config BR2_PACKAGE_MTD_UBIRSVOL bool "ubirsvol" default y config BR2_PACKAGE_MTD_UBIUPDATEVOL bool "ubiupdatevol" default y config BR2_PACKAGE_MTD_UBIBLOCK bool "ubiblock" default y config BR2_PACKAGE_MTD_INTEGCK bool "integck" depends on BR2_USE_MMU # fork() help Install the integck test program. endif
shibajee/buildroot
package/mtd/Config.in
in
mit
2,955
config BR2_PACKAGE_HOST_MTD bool "host mtd, jffs2 and ubi/ubifs tools" help Build mtd, jffs2 and ubi/ubifs tools http://www.linux-mtd.infradead.org/
shibajee/buildroot
package/mtd/Config.in.host
host
mit
158
# Locally calculated after checking pgp signature # ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.5.2.tar.bz2.asc sha256 5db57389280a3abaec5dd23af2590988b70f213fa3929c12a2642c8f9a86f400 mtd-utils-1.5.2.tar.bz2
shibajee/buildroot
package/mtd/mtd.hash
hash
mit
214
################################################################################ # # mtd # ################################################################################ MTD_VERSION = 1.5.2 MTD_SOURCE = mtd-utils-$(MTD_VERSION).tar.bz2 MTD_SITE = ftp://ftp.infradead.org/pub/mtd-utils MTD_LICENSE = GPLv2 MTD_LICENSE_FILES = COPYING MTD_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_MTD_MKFSJFFS2),y) MTD_DEPENDENCIES = zlib lzo endif ifeq ($(BR2_PACKAGE_MTD_MKFSUBIFS),y) MTD_DEPENDENCIES += util-linux zlib lzo host-pkgconf define MTD_ADD_MISSING_LINTL $(SED) "/^LDLIBS_mkfs\.ubifs/ s%$$% `$(PKG_CONFIG_HOST_BINARY) --libs uuid`%" \ $(@D)/Makefile endef MTD_POST_PATCH_HOOKS += MTD_ADD_MISSING_LINTL endif ifeq ($(BR2_PACKAGE_BUSYBOX),y) MTD_DEPENDENCIES += busybox endif # If extended attributes are required, the acl package must # also be enabled which will also include the attr package. ifeq ($(BR2_PACKAGE_ACL),y) MTD_DEPENDENCIES += acl MTD_MAKE_OPTS += WITHOUT_XATTR=0 else MTD_MAKE_OPTS += WITHOUT_XATTR=1 endif HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-e2fsprogs define HOST_MTD_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE1) \ CROSS= BUILDDIR=$(@D) WITHOUT_XATTR=1 -C $(@D) endef define HOST_MTD_INSTALL_CMDS $(MAKE1) BUILDDIR=$(@D) DESTDIR=$(HOST_DIR) -C $(@D) install endef MKFS_JFFS2 = $(HOST_DIR)/usr/sbin/mkfs.jffs2 SUMTOOL = $(HOST_DIR)/usr/sbin/sumtool MTD_STAGING_y = lib/libmtd.a ubi-utils/libubi.a MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_DUMP) += flash_otp_dump MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO) += flash_otp_info MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_LOCK) += flash_otp_lock MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_WRITE) += flash_otp_write MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug MTD_TARGETS_$(BR2_PACKAGE_MTD_MTDPART) += mtdpart MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDTEST) += nandtest MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format MTD_TARGETS_$(BR2_PACKAGE_MTD_RECV_IMAGE) += recv_image MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDDUMP) += rfddump MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDFORMAT) += rfdformat MTD_TARGETS_$(BR2_PACKAGE_MTD_SERVE_IMAGE) += serve_image MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_MTDINFO) += mtdinfo MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIATTACH) += ubiattach MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBICRC32) += ubicrc32 MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIDETACH) += ubidetach MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIFORMAT) += ubiformat MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIMKVOL) += ubimkvol MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBINFO) += ubinfo MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBINIZE) += ubinize MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRENAME) += ubirename MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRMVOL) += ubirmvol MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRSVOL) += ubirsvol MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIBLOCK) += ubiblock MTD_TARGETS_y += $(addprefix ubi-utils/,$(MTD_TARGETS_UBI_y)) MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSUBIFS) += mkfs.ubifs/mkfs.ubifs ifeq ($(BR2_PACKAGE_MTD_INTEGCK),y) define MTD_BUILD_INTEGCK $(TARGET_CONFIGURE_OPTS) $(MAKE1) CROSS=$(TARGET_CROSS) \ BUILDDIR=$(@D) $(MTD_MAKE_OPTS) -C $(@D)/tests/fs-tests all endef define MTD_INSTALL_INTEGCK $(INSTALL) -D -m 755 $(@D)/tests/fs-tests/integrity/integck $(TARGET_DIR)/usr/sbin/integck endef endif define MTD_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE1) CROSS=$(TARGET_CROSS) \ BUILDDIR=$(@D) $(MTD_MAKE_OPTS) -C $(@D) \ $(addprefix $(@D)/,$(MTD_TARGETS_y)) \ $(addprefix $(@D)/,$(MTD_STAGING_y)) $(MTD_BUILD_INTEGCK) endef define MTD_INSTALL_STAGING_CMDS $(INSTALL) -D -m 0755 $(@D)/lib/libmtd.a $(STAGING_DIR)/usr/lib/libmtd.a $(INSTALL) -D -m 0755 $(@D)/ubi-utils/libubi.a $(STAGING_DIR)/usr/lib/libubi.a $(INSTALL) -D -m 0644 $(@D)/include/libmtd.h $(STAGING_DIR)/usr/include/mtd/libmtd.h $(INSTALL) -D -m 0644 $(@D)/ubi-utils/include/libubi.h $(STAGING_DIR)/usr/include/mtd/libubi.h $(INSTALL) -D -m 0644 $(@D)/include/mtd/ubi-media.h $(STAGING_DIR)/usr/include/mtd/ubi-media.h endef define MTD_INSTALL_TARGET_CMDS for f in $(MTD_TARGETS_y) ; do \ $(INSTALL) -D -m 0755 $(@D)/$$f $(TARGET_DIR)/usr/sbin/$${f##*/} ; \ done $(MTD_INSTALL_INTEGCK) endef $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/mtd/mtd.mk
mk
mit
5,025
config BR2_PACKAGE_MTDEV bool "mtdev" help The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. http://bitmath.org/code/mtdev/
shibajee/buildroot
package/mtdev/Config.in
in
mit
203
# Locally calculated sha256 6b59b055ff22f2b91d4284187c2515826c338b81f6f33bd90f6bedc7c1fb9a38 mtdev-1.1.4.tar.bz2
shibajee/buildroot
package/mtdev/mtdev.hash
hash
mit
113
################################################################################ # # mtdev # ################################################################################ MTDEV_VERSION = 1.1.4 MTDEV_SOURCE = mtdev-$(MTDEV_VERSION).tar.bz2 MTDEV_SITE = http://bitmath.org/code/mtdev MTDEV_LICENSE = MIT MTDEV_LICENSE_FILES = COPYING MTDEV_INSTALL_STAGING = YES $(eval $(autotools-package))
shibajee/buildroot
package/mtdev/mtdev.mk
mk
mit
395
From f974bb1f92603973711bea36a7869dfa8358aae0 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls <bernd.kuhls@t-online.de> Date: Sun, 31 Jan 2016 09:04:46 +0100 Subject: [PATCH 1/1] Fix build with musl libc Include missing header to prevent build error detected by buildroot: http://autobuild.buildroot.net/results/aee/aee411047265bf205f8990a3d0d2310decb5fd19/build-end.log Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- Patch sent upstream: https://github.com/olivopaolo/mtdev2tuio/pull/2 mtdev2tuio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mtdev2tuio.c b/mtdev2tuio.c index 3a9174f..f2c98d5 100644 --- a/mtdev2tuio.c +++ b/mtdev2tuio.c @@ -41,6 +41,7 @@ #include <getopt.h> #include <signal.h> #include <sys/utsname.h> +#include <sys/file.h> #define NSEC_PER_USEC 1000L #define NSEC_PER_SEC 1000000000L -- 2.7.0.rc3
shibajee/buildroot
package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch
patch
mit
851
config BR2_PACKAGE_MTDEV2TUIO bool "mtdev2tuio" select BR2_PACKAGE_LIBLO select BR2_PACKAGE_MTDEV depends on BR2_TOOLCHAIN_HAS_THREADS # liblo help mtdev2tuio is a simple application for converting touch events captured from libmtdev to TUIO 1.1 https://github.com/olivopaolo/mtdev2tuio comment "mtdev2tuio needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/mtdev2tuio/Config.in
in
mit
392
# Locally calculated sha256 4a6aa319c44478dceaf01a24603690767e56c029a1f0380da0f31eac5a02e10f mtdev2tuio-e1e7378d86abe751158e743586133022f32fa4d1.tar.gz
shibajee/buildroot
package/mtdev2tuio/mtdev2tuio.hash
hash
mit
153
################################################################################ # # mtdev2tuio # ################################################################################ MTDEV2TUIO_VERSION = e1e7378d86abe751158e743586133022f32fa4d1 MTDEV2TUIO_SITE = $(call github,olivopaolo,mtdev2tuio,$(MTDEV2TUIO_VERSION)) MTDEV2TUIO_DEPENDENCIES = mtdev liblo MTDEV2TUIO_LICENSE = GPLv3+ MTDEV2TUIO_LICENSE_FILES = COPYING # mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD # here. Liblo uses log(3), so we need to link with -lm define MTDEV2TUIO_BUILD_CMDS $(MAKE) \ $(TARGET_CONFIGURE_OPTS) \ LD="$(TARGET_CC)" \ LIBS="-lmtdev -llo -lm" \ -C $(@D) endef define MTDEV2TUIO_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio endef $(eval $(generic-package))
shibajee/buildroot
package/mtdev2tuio/mtdev2tuio.mk
mk
mit
828