code
string
repo_name
string
path
string
language
string
license
string
size
int64
################################################################################ # # libgail # ################################################################################ LIBGAIL_VERSION_MAJOR = 1.22 LIBGAIL_VERSION = $(LIBGAIL_VERSION_MAJOR).3 LIBGAIL_SOURCE = gail-$(LIBGAIL_VERSION).tar.bz2 LIBGAIL_SITE = http://ftp.gnome.org/pub/gnome/sources/gail/$(LIBGAIL_VERSION_MAJOR) LIBGAIL_AUTORECONF = YES LIBGAIL_INSTALL_STAGING = YES LIBGAIL_LICENSE = LGPLv2+ LIBGAIL_LICENSE_FILES = COPYING ifneq ($(BR2_PACKAGE_XLIB_LIBX11),y) LIBGAIL_CONF_OPTS += --disable-x endif LIBGAIL_DEPENDENCIES = host-pkgconf libgtk2 pango $(eval $(autotools-package))
shibajee/buildroot
package/libgail/libgail.mk
mk
mit
655
diff --git a/acinclude.m4 b/acinclude.m4 index a7bc0fa..1a5bffc 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -76,13 +76,14 @@ case "${host}" in i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp) ac_cv_sys_symbol_underscore=yes ;; - *) - if test "$cross_compiling" = yes; then - if test "x$ac_cv_sys_symbol_underscore" = x ; then - ac_cv_sys_symbol_underscore=yes - fi - else - tmp_do_check="yes" + *) if test -z "$ac_cv_sys_symbol_underscore"; then + if test "$cross_compiling" = yes; then + if test "x$ac_cv_sys_symbol_underscore" = x ; then + ac_cv_sys_symbol_underscore=yes + fi + else + tmp_do_check="yes" + fi fi ;; esac
shibajee/buildroot
package/libgcrypt/0001-ac_cv_sys_symbol_underscore.patch
patch
mit
793
diff --git a/configure b/configure index 70a6d50..8f55d95 100755 --- a/configure +++ b/configure @@ -22306,14 +22306,15 @@ case "${host}" in i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp) ac_cv_sys_symbol_underscore=yes ;; - *) - if test "$cross_compiling" = yes; then - if test "x$ac_cv_sys_symbol_underscore" = x ; then - ac_cv_sys_symbol_underscore=yes + *)if test -z "$ac_cv_sys_symbol_underscore";then + if test "$cross_compiling" = yes; then + if test "x$ac_cv_sys_symbol_underscore" = x ; then + ac_cv_sys_symbol_underscore=yes + fi + else + tmp_do_check="yes" + fi fi - else - tmp_do_check="yes" - fi ;; esac if test "$tmp_do_check" = "yes"; then
shibajee/buildroot
package/libgcrypt/0002-reconfigure.patch
patch
mit
821
config BR2_PACKAGE_LIBGCRYPT bool "libgcrypt" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error select BR2_PACKAGE_LIBGPG_ERROR help LibGCrypt is GNU's basic cryptographic library. http://www.gnu.org/software/libgcrypt/
shibajee/buildroot
package/libgcrypt/Config.in
in
mit
246
# From https://lists.gnu.org/archive/html/info-gnu/2016-08/msg00008.html sha1 5a034291e7248592605db448481478e6c963aa9c libgcrypt-1.7.3.tar.bz2 # Calculated based on the hash above sha256 ddac6111077d0a1612247587be238c5294dd0ee4d76dc7ba783cc55fb0337071 libgcrypt-1.7.3.tar.bz2
shibajee/buildroot
package/libgcrypt/libgcrypt.hash
hash
mit
278
################################################################################ # # libgcrypt # ################################################################################ LIBGCRYPT_VERSION = 1.7.3 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_LICENSE = LGPLv2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt LIBGCRYPT_INSTALL_STAGING = YES LIBGCRYPT_DEPENDENCIES = libgpg-error LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config LIBGCRYPT_CONF_ENV = \ ac_cv_sys_symbol_underscore=no LIBGCRYPT_CONF_OPTS = \ --with-gpg-error-prefix=$(STAGING_DIR)/usr # Libgcrypt doesn't support assembly for coldfire ifeq ($(BR2_m68k_cf),y) LIBGCRYPT_CONF_OPTS += --disable-asm endif # Code doesn't build in thumb mode ifeq ($(BR2_arm),y) LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))" endif # Tests use fork() define LIBGCRYPT_DISABLE_TESTS $(SED) 's/ tests//' $(@D)/Makefile.in endef LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS $(eval $(autotools-package))
shibajee/buildroot
package/libgcrypt/libgcrypt.mk
mk
mit
1,053
From daf96b07c02734dceaf3c3b78c10e4e758b74d9e Mon Sep 17 00:00:00 2001 From: Sergio Prado <sergio.prado@e-labworks.com> Date: Fri, 18 Dec 2015 15:08:58 -0200 Subject: [PATCH 1/1] Fix compile error when cross-compiling. When cross-compiling with libjpeg enabled, we can get errors like the following when linking: sh-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '/lib' That's because there is an error in the configure script that are not generating ldflags correctly, and are trying to link with -L/lib. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 772d5fc9d87a..58d55ade48e3 100644 --- a/configure.ac +++ b/configure.ac @@ -223,7 +223,7 @@ AC_ARG_WITH([libjpeg], jpeg_ok=no) AC_MSG_RESULT($jpeg_ok) if test "$jpeg_ok" = yes; then - JPEG='jpeg'; LIBJPEG='-L${libjpeg_prefix}/lib -ljpeg' + JPEG='jpeg'; LIBJPEG="-L${libjpeg_prefix}/lib -ljpeg" else AC_MSG_WARN(*** JPEG loader will not be built (JPEG header file not found) ***) fi -- 1.9.1
shibajee/buildroot
package/libgdiplus/0001-Fix-compile-error-when-cross-compiling.patch
patch
mit
1,169
config BR2_PACKAGE_LIBGDIPLUS bool "libgdiplus" select BR2_PACKAGE_XLIB_LIBXFT select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_CAIRO select BR2_PACKAGE_LIBPNG depends on BR2_PACKAGE_XORG7 depends on BR2_USE_WCHAR # libglib2 -> gettext depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_USE_MMU # libglib2 help An Open Source implementation of the GDI+ API. https://github.com/mono/libgdiplus comment "libgdiplus needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on BR2_PACKAGE_XORG7 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/libgdiplus/Config.in
in
mit
589
# Locally computed: sha256 98f8a8e58ed22e136c4ac6eaafbc860757f5a97901ecc0ea357e2b6e4cfa2be5 libgdiplus-4.2.tar.gz
shibajee/buildroot
package/libgdiplus/libgdiplus.hash
hash
mit
114
################################################################################ # # libgdiplus # ################################################################################ LIBGDIPLUS_VERSION = 4.2 LIBGDIPLUS_SITE = $(call github,mono,libgdiplus,$(LIBGDIPLUS_VERSION)) # Although there is a LICENSE file thas specifies LGPL or MPLv1.1, # looks like it is incorrect. The actual source files specify that # they're licensed under MIT, and so does the COPYING file (and they # all predate the addition of the LICENSE file). LIBGDIPLUS_LICENSE = MIT LIBGDIPLUS_LICENSE_FILES = COPYING src/carbon-private.h LIBGDIPLUS_INSTALL_STAGING = YES # github tarball doesn't have configure LIBGDIPLUS_AUTORECONF = YES LIBGDIPLUS_DEPENDENCIES = xlib_libXft libglib2 cairo libpng host-pkgconf # API changes in recent versions of libgif makes it incompatible with # this version of libgdiplus, so we are disabling it for now. LIBGDIPLUS_CONF_OPTS = --without-libgif # there is a bug in the configure script that enables pango support # when passing --without-pango, so let's just not use it ifeq ($(BR2_PACKAGE_PANGO),y) LIBGDIPLUS_CONF_OPTS += --with-pango LIBGDIPLUS_DEPENDENCIES += pango endif ifeq ($(BR2_PACKAGE_LIBEXIF),y) LIBGDIPLUS_CONF_OPTS += --with-libexif LIBGDIPLUS_DEPENDENCIES += libexif else LIBGDIPLUS_CONF_OPTS += --without-libexif endif ifeq ($(BR2_PACKAGE_JPEG),y) LIBGDIPLUS_CONF_OPTS += --with-libjpeg=$(STAGING_DIR)/usr LIBGDIPLUS_DEPENDENCIES += jpeg else LIBGDIPLUS_CONF_OPTS += --without-libjpeg endif ifeq ($(BR2_PACKAGE_TIFF),y) LIBGDIPLUS_CONF_OPTS += --with-libtiff=$(STAGING_DIR)/usr LIBGDIPLUS_DEPENDENCIES += tiff else LIBGDIPLUS_CONF_OPTS += --without-libtiff endif $(eval $(autotools-package))
shibajee/buildroot
package/libgdiplus/libgdiplus.mk
mk
mit
1,728
config BR2_PACKAGE_LIBGEE bool "libgee" depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBGLIB2 help Libgee is an utility library providing GObject-based interfaces and classes for commonly used data structures. https://wiki.gnome.org/Projects/Libgee comment "libgee needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/libgee/Config.in
in
mit
468
# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.18/libgee-0.18.0.sha256sum sha256 4ad99ef937d071b4883c061df40bfe233f7649d50c354cf81235f180b4244399 libgee-0.18.0.tar.xz
shibajee/buildroot
package/libgee/libgee.hash
hash
mit
176
################################################################################ # # libgee # ################################################################################ LIBGEE_VERSION_MAJOR = 0.18 LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).0 LIBGEE_SITE = http://ftp.gnome.org/pub/gnome/sources/libgee/$(LIBGEE_VERSION_MAJOR) LIBGEE_SOURCE = libgee-$(LIBGEE_VERSION).tar.xz LIBGEE_DEPENDENCIES = host-pkgconf host-vala libglib2 LIBGEE_INSTALL_STAGING = YES LIBGEE_LICENSE = LGPLv2.1+ LIBGEE_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/libgee/libgee.mk
mk
mit
550
Use pkg-config for libtiff detection Using pkg-config allows proper behavior in static-only contexts: the libtiff library might depend on libz and libjpeg. This patch also fixes a few other issues in the configure.ac script that prevents autoreconf to work, or proper detection of the proj library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -196,39 +196,12 @@ TIFF_CONFIG="no" -AC_ARG_WITH(libtiff, [ --with-libtiff=dir Use libtiff in directory dir],,) - -if test "$with_libtiff" != "" ; then - if test -f $with_libtiff/include/tiffio.h -a -d $with_libtiff/lib ; then - LIBS="-L$with_libtiff/lib -ltiff $LIBS" - TIFF_INC=-I$with_libtiff/include - else - LIBS="-L$with_libtiff -ltiff $LIBS" - TIFF_INC=-I$with_libtiff - fi - LIBS_SAVED="$LIBS" - AC_CHECK_LIB(tiff,TIFFOpen,[TIFF_CONFIG=yes], - AC_MSG_ERROR([failed to link with -ltiff to find TIFFOpen]),-lm) - AC_CHECK_LIB(tiff,TIFFMergeFieldInfo,[TIFF_CONFIG=yes], - AC_MSG_ERROR([Libtiff 3.6.0 Beta or later required for this version of -libgeotiff. Please upgrade or use an older version of libgeotiff.]),-lm) - LIBS="$LIBS_SAVED" -else - AC_CHECK_LIB(tiff,TIFFOpen,[TIFF_CONFIG=yes], - AC_MSG_ERROR([You will need to substantially rewrite libxtiff to -build libgeotiff without libtiff]),-lm) - LIBS_SAVED="$LIBS" - AC_CHECK_LIB(tiff,TIFFMergeFieldInfo,[TIFF_CONFIG=yes], - AC_MSG_ERROR([Libtiff 3.6.0 Beta or later required for this version of -libgeotiff. Please upgrade libtiff or use an older version of libgeotiff.]),-lm) - LIBS="$LIBS -ltiff" - TIFF_INC= - TIFF_CONFIG="yes" -fi - +PKG_CHECK_MODULES(LIBTIFF, libtiff-4) +TIFF_INC="$LIBTIFF_CFLAGS" +LIBS="$LIBS $LIBTIFF_LIBS" +TIFF_CONFIG="yes" AC_SUBST([TIFF_INC]) -AC_SUBST([TIFF_PREFIX]) AM_CONDITIONAL([TIFF_IS_CONFIG], [test ! x$TIFF_CONFIG = xno]) dnl @@ -280,15 +253,16 @@ PROJ_INC=-I$PROJ_INC AC_SUBST(PROJ_INC,$PROJ_INC) - AC_DEFINE(HAVE_PROJECTS_H) + AC_DEFINE([HAVE_PROJECTS_H], [], [Whether proj library header is available]) AC_DEFINE(HAVE_LIBPROJ) AC_SUBST([HAVE_LIBPROJ]) PROJ_CONFIG="yes" - else AC_CHECK_LIB(proj,pj_init,,,-lm) AC_CHECK_HEADERS(proj_api.h,,) - PROJ_CONFIG="yes" + if "$ac_cv_lib_proj_pj_init" = "yes" -a "$ac_cv_header_proj_api_h" = "yes"; then + PROJ_CONFIG="yes" + fi fi AM_CONDITIONAL([PROJ_IS_CONFIG], [test ! x$PROJ_CONFIG = xno])
shibajee/buildroot
package/libgeotiff/0001-use-pkg-config.patch
patch
mit
2,577
config BR2_PACKAGE_LIBGEOTIFF bool "libgeotiff" select BR2_PACKAGE_TIFF help Libgeotiff is an open source library normally hosted on top of libtiff for reading, and writing GeoTIFF information tags. http://geotiff.osgeo.org
shibajee/buildroot
package/libgeotiff/Config.in
in
mit
237
# Locally computed sha1 4c6f405869826bb7d9f35f1d69167e3b44a57ef0 libgeotiff-1.4.0.tar.gz
shibajee/buildroot
package/libgeotiff/libgeotiff.hash
hash
mit
89
################################################################################ # # libgeotiff # ################################################################################ LIBGEOTIFF_VERSION = 1.4.0 LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff LIBGEOTIFF_LICENSE = X11-style, public domain LIBGEOTIFF_LICENSE_FILES = LICENSE LIBGEOTIFF_DEPENDENCIES = tiff host-pkgconf LIBGEOTIFF_INSTALL_STAGING = YES LIBGEOTIFF_AUTORECONF = YES ifeq ($(BR2_PACKAGE_ZLIB),y) LIBGEOTIFF_DEPENDENCIES += zlib LIBGEOTIFF_CONF_OPTS += --with-zlib else LIBGEOTIFF_CONF_OPTS += --without-zlib endif ifeq ($(BR2_PACKAGE_JPEG),y) LIBGEOTIFF_DEPENDENCIES += jpeg LIBGEOTIFF_CONF_OPTS += --with-jpeg else LIBGEOTIFF_CONF_OPTS += --without-jpeg endif $(eval $(autotools-package))
shibajee/buildroot
package/libgeotiff/libgeotiff.mk
mk
mit
782
config BR2_PACKAGE_LIBGLADE bool "libglade" depends on BR2_PACKAGE_LIBGTK2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2 select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_ATK select BR2_PACKAGE_LIBXML2 help Libglade allows you to load glade interface files in a program at runtime. It doesn't require GLADE to be used, but GLADE is by far the easiest way to create the interface files. http://ftp.gnome.org/pub/GNOME/sources/libglade/ comment "libglade needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on BR2_PACKAGE_LIBGTK2 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/libglade/Config.in
in
mit
686
# From http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/libglade-2.6.4.sha256sum sha256 64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec libglade-2.6.4.tar.bz2
shibajee/buildroot
package/libglade/libglade.hash
hash
mit
179
################################################################################ # # libglade # ################################################################################ LIBGLADE_VERSION_MAJOR = 2.6 LIBGLADE_VERSION = $(LIBGLADE_VERSION_MAJOR).4 LIBGLADE_SOURCE = libglade-$(LIBGLADE_VERSION).tar.bz2 LIBGLADE_SITE = http://ftp.gnome.org/pub/GNOME/sources/libglade/$(LIBGLADE_VERSION_MAJOR) LIBGLADE_INSTALL_STAGING = YES LIBGLADE_DEPENDENCIES = host-pkgconf libglib2 libgtk2 atk libxml2 LIBGLADE_LICENSE = LGPLv2+ LIBGLADE_LICENSE_FILES = COPYING define LIBGLADE_INSTALL_FIX rm -rf $(TARGET_DIR)/usr/share/xml/libglade \ $(TARGET_DIR)/usr/bin/libglade-convert endef LIBGLADE_POST_INSTALL_TARGET_HOOKS += LIBGLADE_INSTALL_FIX $(eval $(autotools-package))
shibajee/buildroot
package/libglade/libglade.mk
mk
mit
769
config BR2_PACKAGE_LIBGLEW bool "libglew" depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXI select BR2_PACKAGE_XLIB_LIBXMU help The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. http://glew.sourceforge.net comment "libglew depends on X.org and needs an OpenGL backend" depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL
shibajee/buildroot
package/libglew/Config.in
in
mit
705
# Locally computed: sha256 aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 glew-1.13.0.tgz
shibajee/buildroot
package/libglew/libglew.hash
hash
mit
108
################################################################################ # # libglew # ################################################################################ LIBGLEW_VERSION = 1.13.0 LIBGLEW_SOURCE = glew-$(LIBGLEW_VERSION).tgz LIBGLEW_SITE = http://sourceforge.net/projects/glew/files/glew/$(LIBGLEW_VERSION) LIBGLEW_LICENSE = BSD-3c, MIT LIBGLEW_LICENSE_FILES = LICENSE.txt LIBGLEW_INSTALL_STAGING = YES LIBGLEW_DEPENDENCIES = libgl xlib_libX11 xlib_libXext xlib_libXi xlib_libXmu # using $TARGET_CONFIGURE_OPTS breaks compilation define LIBGLEW_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ GLEW_DEST="/usr" LIBDIR="/usr/lib" \ AR="$(TARGET_AR)" CC="$(TARGET_CC)" \ LD="$(TARGET_CC)" STRIP="$(TARGET_STRIP)" \ POPT="$(TARGET_CFLAGS)" LDFLAGS.EXTRA="$(TARGET_LDFLAGS)" endef define LIBGLEW_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ GLEW_DEST="$(STAGING_DIR)/usr" LIBDIR="$(STAGING_DIR)/usr/lib" \ $(TARGET_CONFIGURE_OPTS) install endef define LIBGLEW_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ GLEW_DEST="$(TARGET_DIR)/usr" LIBDIR="$(TARGET_DIR)/usr/lib" \ $(TARGET_CONFIGURE_OPTS) install endef $(eval $(generic-package))
shibajee/buildroot
package/libglew/libglew.mk
mk
mit
1,202
config BR2_PACKAGE_LIBGLFW bool "libglfw" depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_XLIB_LIBXCURSOR select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXINERAMA select BR2_PACKAGE_XLIB_LIBXRANDR help GLFW is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events. http://www.glfw.org comment "libglfw depends on X.org and needs an OpenGL backend" depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL
shibajee/buildroot
package/libglfw/Config.in
in
mit
526
# Locally computed sha256 6ac642087682aaf7f8397761a41a99042b2c656498217a1c63ba9706d1eef122 libglfw-3.1.2.tar.gz
shibajee/buildroot
package/libglfw/libglfw.hash
hash
mit
112
################################################################################ # # libglfw # ################################################################################ LIBGLFW_VERSION = 3.1.2 LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION)) LIBGLFW_INSTALL_STAGING = YES LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \ xlib_libXinerama xlib_libXrandr LIBGLFW_LICENSE = zlib LIBGLFW_LICENSE_FILES = COPYING.txt LIBGLFW_CONF_OPTS += \ -DGLFW_BUILD_EXAMPLES=OFF \ -DGLFW_BUILD_TESTS=OFF \ -DGLFW_BUILD_DOCS=OFF ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) LIBGLFW_DEPENDENCIES += xlib_libXi endif ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) LIBGLFW_DEPENDENCIES += xlib_libXxf86vm endif $(eval $(cmake-package))
shibajee/buildroot
package/libglfw/libglfw.mk
mk
mit
734
[PATCH] Fix compilation issues on architectures with limited atomic support Improved compile-time detection of atomic support in the compiler. Upstream-Status: submitted See : https://bugzilla.gnome.org/show_bug.cgi?id=752731 Signed-off-by: Brendan Heading <brendanheading@gmail.com> --- glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c index ae5d805..8db8557 100644 --- a/glib/gthread-posix.c +++ b/glib/gthread-posix.c @@ -67,7 +67,7 @@ #endif /* clang defines __ATOMIC_SEQ_CST but doesn't support the GCC extension */ -#if defined(HAVE_FUTEX) && defined(__ATOMIC_SEQ_CST) && !defined(__clang__) +#if defined(HAVE_FUTEX) && defined(__ATOMIC_SEQ_CST) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && !defined(__clang__) #define USE_NATIVE_MUTEX #endif -- 2.4.3
shibajee/buildroot
package/libglib2/0001-fix-compile-time-atomic-detection.patch
patch
mit
861
Disable tests, some of them need python and sometimes host-python gets mixed with distro python leading to build failures. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> diff -Nura glib-2.46.1.orig/gio/Makefile.am glib-2.46.1/gio/Makefile.am --- glib-2.46.1.orig/gio/Makefile.am 2015-10-20 16:59:03.042212468 -0300 +++ glib-2.46.1/gio/Makefile.am 2015-10-20 17:32:26.763146133 -0300 @@ -233,7 +233,7 @@ platform_deps += win32/libgiowin32.la endif -SUBDIRS += . tests +SUBDIRS += . if HAVE_FAM SUBDIRS += fam diff -Nura glib-2.46.1.orig/glib/Makefile.am glib-2.46.1/glib/Makefile.am --- glib-2.46.1.orig/glib/Makefile.am 2015-10-20 16:59:03.066213318 -0300 +++ glib-2.46.1/glib/Makefile.am 2015-10-20 17:33:23.537155988 -0300 @@ -33,8 +33,8 @@ MAYBE_PCRE = pcre endif -SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre . tests -DIST_SUBDIRS = libcharset gnulib pcre update-pcre tests +SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre . +DIST_SUBDIRS = libcharset gnulib pcre update-pcre AM_CPPFLAGS = \ $(glib_INCLUDES) \ diff -Nura glib-2.46.1.orig/Makefile.am glib-2.46.1/Makefile.am --- glib-2.46.1.orig/Makefile.am 2015-10-20 16:59:03.003211087 -0300 +++ glib-2.46.1/Makefile.am 2015-10-20 17:32:20.923939420 -0300 @@ -6,7 +6,7 @@ ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS} -SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs tests +SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs DIST_SUBDIRS = $(SUBDIRS) build bin_SCRIPTS = glib-gettextize
shibajee/buildroot
package/libglib2/0002-disable-tests.patch
patch
mit
1,562
config BR2_PACKAGE_LIBGLIB2 bool "libglib2" select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_LIBFFI select BR2_PACKAGE_PCRE select BR2_PACKAGE_PCRE_UCP select BR2_PACKAGE_ZLIB depends on BR2_USE_WCHAR # gettext depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() help Low-level core library that forms the basis of GTK+ and GNOME. http://www.gtk.org/ comment "libglib2 needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/libglib2/Config.in
in
mit
591
# https://download.gnome.org/sources/glib/2.48/glib-2.48.1.sha256sum sha256 74411bff489cb2a3527bac743a51018841a56a4d896cc1e0d0d54f8166a14612 glib-2.48.1.tar.xz
shibajee/buildroot
package/libglib2/libglib2.hash
hash
mit
162
################################################################################ # # libglib2 # ################################################################################ LIBGLIB2_VERSION_MAJOR = 2.48 LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).1 LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR) LIBGLIB2_LICENSE = LGPLv2+ LIBGLIB2_LICENSE_FILES = COPYING LIBGLIB2_INSTALL_STAGING = YES LIBGLIB2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install LIBGLIB2_CONF_ENV = \ ac_cv_func_posix_getpwuid_r=yes \ glib_cv_stack_grows=no \ glib_cv_uscore=no \ ac_cv_func_strtod=yes \ ac_fsusage_space=yes \ fu_cv_sys_stat_statfs2_bsize=yes \ ac_cv_func_closedir_void=no \ ac_cv_func_getloadavg=no \ ac_cv_lib_util_getloadavg=no \ ac_cv_lib_getloadavg_getloadavg=no \ ac_cv_func_getgroups=yes \ ac_cv_func_getgroups_works=yes \ ac_cv_func_chown_works=yes \ ac_cv_have_decl_euidaccess=no \ ac_cv_func_euidaccess=no \ ac_cv_have_decl_strnlen=yes \ ac_cv_func_strnlen_working=yes \ ac_cv_func_lstat_dereferences_slashed_symlink=yes \ ac_cv_func_lstat_empty_string_bug=no \ ac_cv_func_stat_empty_string_bug=no \ vb_cv_func_rename_trailing_slash_bug=no \ ac_cv_have_decl_nanosleep=yes \ jm_cv_func_nanosleep_works=yes \ gl_cv_func_working_utimes=yes \ ac_cv_func_utime_null=yes \ ac_cv_have_decl_strerror_r=yes \ ac_cv_func_strerror_r_char_p=no \ jm_cv_func_svid_putenv=yes \ ac_cv_func_getcwd_null=yes \ ac_cv_func_getdelim=yes \ ac_cv_func_mkstemp=yes \ utils_cv_func_mkstemp_limitations=no \ utils_cv_func_mkdir_trailing_slash_bug=no \ jm_cv_func_gettimeofday_clobber=no \ gl_cv_func_working_readdir=yes \ jm_ac_cv_func_link_follows_symlink=no \ utils_cv_localtime_cache=no \ ac_cv_struct_st_mtim_nsec=no \ gl_cv_func_tzset_clobber=no \ gl_cv_func_getcwd_null=yes \ gl_cv_func_getcwd_path_max=yes \ ac_cv_func_fnmatch_gnu=yes \ am_getline_needs_run_time_check=no \ am_cv_func_working_getline=yes \ gl_cv_func_mkdir_trailing_slash_bug=no \ gl_cv_func_mkstemp_limitations=no \ ac_cv_func_working_mktime=yes \ jm_cv_func_working_re_compile_pattern=yes \ ac_use_included_regex=no \ gl_cv_c_restrict=no \ ac_cv_path_GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal \ ac_cv_prog_F77=no \ ac_cv_func_posix_getgrgid_r=no \ glib_cv_long_long_format=ll \ ac_cv_func_printf_unix98=yes \ ac_cv_func_vsnprintf_c99=yes \ ac_cv_func_newlocale=no \ ac_cv_func_uselocale=no \ ac_cv_func_strtod_l=no \ ac_cv_func_strtoll_l=no \ ac_cv_func_strtoull_l=no \ gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no) # old uClibc versions don't provide qsort_r ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y) LIBGLIB2_CONF_ENV += glib_cv_have_qsort_r=no else LIBGLIB2_CONF_ENV += glib_cv_have_qsort_r=yes endif # glib/valgrind.h contains inline asm not compatible with thumb1 ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) LIBGLIB2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm" endif HOST_LIBGLIB2_CONF_OPTS = \ --disable-coverage \ --disable-dtrace \ --disable-fam \ --disable-libelf \ --disable-selinux \ --disable-systemtap \ --disable-xattr \ --with-pcre=system LIBGLIB2_DEPENDENCIES = \ host-pkgconf host-libglib2 host-gettext \ libffi pcre zlib $(if $(BR2_NEEDS_GETTEXT),gettext) HOST_LIBGLIB2_DEPENDENCIES = \ host-gettext host-libffi host-pcre host-pkgconf host-zlib LIBGLIB2_CONF_OPTS = \ --with-pcre=system ifneq ($(BR2_ENABLE_LOCALE),y) LIBGLIB2_DEPENDENCIES += libiconv endif ifeq ($(BR2_PACKAGE_ELFUTILS),y) LIBGLIB2_CONF_OPTS += --enable-libelf LIBGLIB2_DEPENDENCIES += elfutils else LIBGLIB2_CONF_OPTS += --disable-libelf endif ifeq ($(BR2_PACKAGE_LIBICONV),y) LIBGLIB2_CONF_OPTS += --with-libiconv=gnu LIBGLIB2_DEPENDENCIES += libiconv endif # Purge gdb-related files ifneq ($(BR2_PACKAGE_GDB),y) define LIBGLIB2_REMOVE_GDB_FILES rm -rf $(TARGET_DIR)/usr/share/glib-2.0/gdb endef endif # Purge useless binaries from target define LIBGLIB2_REMOVE_DEV_FILES rm -rf $(TARGET_DIR)/usr/lib/glib-2.0 rm -rf $(addprefix $(TARGET_DIR)/usr/share/glib-2.0/,codegen gettext) rm -f $(addprefix $(TARGET_DIR)/usr/bin/,gdbus-codegen glib-compile-schemas glib-compile-resources glib-genmarshal glib-gettextize glib-mkenums gobject-query gtester gtester-report) $(LIBGLIB2_REMOVE_GDB_FILES) endef LIBGLIB2_POST_INSTALL_TARGET_HOOKS += LIBGLIB2_REMOVE_DEV_FILES # Remove schema sources/DTDs, we use staging ones to compile them. # Do so at target finalization since other packages install additional # ones and we want to deal with it in a single place. define LIBGLIB2_REMOVE_TARGET_SCHEMAS rm -f $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml \ $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.dtd endef # Compile schemas at target finalization since other packages install # them as well, and better do it in a central place. # It's used at run time so it doesn't matter defering it. define LIBGLIB2_COMPILE_SCHEMAS $(HOST_DIR)/usr/bin/glib-compile-schemas \ $(STAGING_DIR)/usr/share/glib-2.0/schemas \ --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas endef LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_REMOVE_TARGET_SCHEMAS LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_COMPILE_SCHEMAS $(eval $(autotools-package)) $(eval $(host-autotools-package)) LIBGLIB2_HOST_BINARY = $(HOST_DIR)/usr/bin/glib-genmarshal
shibajee/buildroot
package/libglib2/libglib2.mk
mk
mit
5,379
config BR2_PACKAGE_LIBGLU bool "libglu" depends on BR2_PACKAGE_HAS_LIBGL help Mesa OpenGL Utility library http://cgit.freedesktop.org/mesa/glu/ comment "libglu needs an OpenGL backend" depends on !BR2_PACKAGE_HAS_LIBGL
shibajee/buildroot
package/libglu/Config.in
in
mit
231
# locally computed sha256 3d19cca9b26ec4048dd22e3d294acd43e080a3205a29ff47765bd514571ea8f9 glu-9.0.0.tar.gz
shibajee/buildroot
package/libglu/libglu.hash
hash
mit
110
################################################################################ # # libglu # ################################################################################ LIBGLU_VERSION = 9.0.0 LIBGLU_SITE = http://cgit.freedesktop.org/mesa/glu/snapshot LIBGLU_SOURCE = glu-$(LIBGLU_VERSION).tar.gz LIBGLU_LICENSE = SGI-B-2.0 LIBGLU_LICENSE_FILES = include/GL/glu.h LIBGLU_INSTALL_STAGING = YES # upstream does not distribute a autoconf´ed configure script LIBGLU_AUTORECONF = YES LIBGLU_DEPENDENCIES = libgl $(eval $(autotools-package))
shibajee/buildroot
package/libglu/libglu.mk
mk
mit
545
config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS bool # see src/syscfg/ default y if \ BR2_aarch64 || BR2_aarch64_eb || BR2_arm || \ BR2_armeb || BR2_i386 || BR2_mips || \ BR2_mipsel || BR2_mips64 || BR2_mips64el || \ BR2_m68k || BR2_nios2 || BR2_powerpc || \ BR2_powerpc64 || BR2_powerpc64le || BR2_sh4 || \ BR2_sh4eb || BR2_sh4a || BR2_sh4aeb || \ BR2_sparc || BR2_sparc64 || BR2_x86_64 config BR2_PACKAGE_LIBGPG_ERROR bool "libgpg-error" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS help Libgpg-error is a small library with error codes and descriptions shared by most GnuPG related software. https://www.gnupg.org/related_software/libgpg-error config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG string default "aarch64-unknown-linux-gnu" \ if BR2_aarch64 || BR2_aarch64_eb default "arm-unknown-linux-gnueabi" \ if BR2_arm || BR2_armeb default "i686-pc-linux-gnu" \ if BR2_i386 default "mips-unknown-linux-gnu" \ if BR2_mips || BR2_mipsel default "mips64el-unknown-linux-gnuabi64" \ if BR2_mips64 || BR2_mips64el default "m68k-unknown-linux-gnu" \ if BR2_m68k default "nios2-unknown-linux-gnu" \ if BR2_nios2 default "powerpc-unknown-linux-gnu" \ if BR2_powerpc default "powerpc64-unknown-linux-gnu" \ if BR2_powerpc64 || BR2_powerpc64le default "sh4-unknown-linux-gnu" \ if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb default "sparc-unknown-linux-gnu" \ if BR2_sparc default "sparc64-unknown-linux-gnu" \ if BR2_sparc64 default "x86_64-pc-linux-gnu" \ if BR2_x86_64
shibajee/buildroot
package/libgpg-error/Config.in
in
mit
1,542
# Locally calculated after checking pgp signature sha256 88cb2d2370f8378fd38452b99dc1419a80fd5897739b7198a4a7996364507803 libgpg-error-1.24.tar.gz
shibajee/buildroot
package/libgpg-error/libgpg-error.hash
hash
mit
148
################################################################################ # # libgpg-error # ################################################################################ LIBGPG_ERROR_VERSION = 1.24 LIBGPG_ERROR_SITE = ftp://ftp.gnupg.org/gcrypt/libgpg-error LIBGPG_ERROR_LICENSE = GPLv2+, LGPLv2.1+ LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB LIBGPG_ERROR_INSTALL_STAGING = YES LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config ifeq ($(BR2_PACKAGE_GETTEXT),y) LIBGPG_ERROR_DEPENDENCIES += gettext endif define LIBGPG_ERROR_FIX_CROSS_COMPILATION cd $(@D)/src/syscfg && \ ln -s lock-obj-pub.$(call qstrip, $(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG)).h \ lock-obj-pub.$(GNU_TARGET_NAME).h endef LIBGPG_ERROR_PRE_CONFIGURE_HOOKS += LIBGPG_ERROR_FIX_CROSS_COMPILATION LIBGPG_ERROR_CONF_OPTS = --disable-tests $(eval $(autotools-package))
shibajee/buildroot
package/libgpg-error/libgpg-error.mk
mk
mit
847
config BR2_PACKAGE_LIBGPGME bool "libgpgme" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error depends on BR2_USE_MMU # libassuan #gnupg is not needed to build, but at runtime. select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2 select BR2_PACKAGE_LIBGPG_ERROR select BR2_PACKAGE_LIBASSUAN help GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. http://www.gnupg.org/related_software/gpgme/
shibajee/buildroot
package/libgpgme/Config.in
in
mit
463
# Locally calculated after checking pgp signature sha256 0b3d3d5107680c594777aae65882a1ff6dd1ba629a83432e719c8b82a743c207 gpgme-1.5.5.tar.bz2
shibajee/buildroot
package/libgpgme/libgpgme.hash
hash
mit
142
################################################################################ # # libgpgme # ################################################################################ LIBGPGME_VERSION = 1.5.5 LIBGPGME_SITE = ftp://ftp.gnupg.org/gcrypt/gpgme LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2 LIBGPGME_LICENSE = LGPLv2.1+ LIBGPGME_LICENSE_FILES = COPYING.LESSER LIBGPGME_INSTALL_STAGING = YES LIBGPGME_DEPENDENCIES = libassuan libgpg-error # libgpgme, needs to know the gpg binary path on the target. LIBGPGME_CONF_OPTS = --with-gpg=/usr/bin/gpg \ --with-gpg-error-prefix=$(STAGING_DIR)/usr \ --with-libassuan-prefix=$(STAGING_DIR)/usr \ --disable-gpgsm-test \ --disable-gpgconf-test \ --disable-g13-test \ --disable-gpg-test # Handle argp-standalone or it errors out during build ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) # musl libc does not define error_t in errno.h, but argp.h does. # Assume we have error_t to avoid collision with the argp.h error_t. LIBGPGME_CONF_ENV += LIBS="-largp" ac_cv_type_error_t=yes LIBGPGME_DEPENDENCIES += argp-standalone endif $(eval $(autotools-package))
shibajee/buildroot
package/libgpgme/libgpgme.mk
mk
mit
1,109
config BR2_PACKAGE_LIBGSASL bool "libgsasl" help Simple Authentication and Security Layer framework Library. GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms. SASL is used by network servers (e.g., IMAP, SMTP) to request authentication from clients, and in clients to authenticate against servers. http://www.gnu.org/software/gsasl
shibajee/buildroot
package/libgsasl/Config.in
in
mit
428
# Locally calculated after checking pgp signature sha256 3adfb49f9c92a719dea855fd1840d698cde55d4648d332a69032ba8bea207720 libgsasl-1.8.0.tar.gz
shibajee/buildroot
package/libgsasl/libgsasl.hash
hash
mit
144
################################################################################ # # libgsasl # ################################################################################ LIBGSASL_VERSION = 1.8.0 LIBGSASL_SITE = $(BR2_GNU_MIRROR)/gsasl LIBGSASL_LICENSE = LGPLv2.1+ (library), GPLv3+ (programs) LIBGSASL_LICENSE_FILES = README COPYING.LIB COPYING LIBGSASL_INSTALL_STAGING = YES # It doesn't seem to build with our libgcrypt so better be safe LIBGSASL_CONF_OPTS = --without-libgcrypt ifeq ($(BR2_PACKAGE_LIBIDN),y) LIBGSASL_CONF_OPTS += --with-libidn-prefix=$(STAGING_DIR)/usr LIBGSASL_DEPENDENCIES += libidn else LIBGSASL_CONF_OPTS += --without-stringprep endif $(eval $(autotools-package))
shibajee/buildroot
package/libgsasl/libgsasl.mk
mk
mit
699
Hack the configure.in file to add a "none" gdktarget which removes dependencies on graphic backends such as X.org or DirectFB. Gtk does not fully build in this mode, but it builds sufficiently to build the host tools that are needed to build the target Gtk. Changes: Ported to 2.24.18 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> --- Index: libgtk2-2.24.18/configure.ac =================================================================== --- libgtk2-2.24.18.orig/configure.ac 2013-05-13 07:02:44.000000000 -0500 +++ libgtk2-2.24.18/configure.ac 2013-05-27 02:12:09.947030335 -0500 @@ -258,12 +258,12 @@ gdktarget=x11 fi -AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz/directfb]] select non-default GDK target], +AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target], gdktarget=$with_gdktarget) AC_SUBST(gdktarget) case $gdktarget in - x11|win32|quartz|directfb) ;; + x11|win32|quartz|directfb|none) ;; *) AC_MSG_ERROR([Invalid target for GDK: use x11, quartz, directfb or win32.]);; esac @@ -372,11 +373,15 @@ ## annoying to construct PKG_CHECK_MODULES(BASE_DEPENDENCIES, [glib-2.0 >= glib_required_version dnl - atk >= atk_required_version dnl - pango >= pango_required_version dnl - cairo >= cairo_required_version dnl gdk-pixbuf-2.0 >= gdk_pixbuf_required_version]) +if test "x$gdktarget" != "xnone"; then + PKG_CHECK_MODULES(BASE_DEPENDENCIES, + [atk >= atk_required_version dnl + pango >= pango_required_version dnl + cairo >= cairo_required_version]) +fi + ## In addition to checking that cairo is present, we also need to ## check that the correct cairo backend is there. E.g. if the GDK ## target is win32 we need the cairo-win32 backend and so on. @@ -387,8 +392,11 @@ if test "x$cairo_backend" = "xx11"; then cairo_backend=xlib fi -PKG_CHECK_MODULES(CAIRO_BACKEND, - [cairo-$cairo_backend >= cairo_required_version]) + +if test "x$gdktarget" != "xnone"; then + PKG_CHECK_MODULES(CAIRO_BACKEND, + [cairo-$cairo_backend >= cairo_required_version]) +fi PKG_CHECK_MODULES(GMODULE, [gmodule-2.0]) @@ -1279,6 +1287,7 @@ AM_CONDITIONAL(USE_DIRECTFB, false) fi +if test "x$gdktarget" != "xnone"; then # Check for Pango flags @@ -1324,6 +1333,8 @@ GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend" fi +fi # gdktarget != none + GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES` $MATH_LIB" GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PACKAGES` $GDK_EXTRA_CFLAGS" # @@ -1341,6 +1352,7 @@ AC_SUBST(GDK_DEP_LIBS) AC_SUBST(GDK_DEP_CFLAGS) +if test "x$gdktarget" != "xnone"; then ######################################## # Check for Accessibility Toolkit flags @@ -1372,6 +1384,10 @@ fi GTK_PACKAGES="atk cairo gdk-pixbuf-2.0 gio-2.0" +else # gdktarget != none +GTK_PACKAGES="gdk-pixbuf-2.0" +fi # gdktarget != none + if test "x$gdktarget" = "xx11"; then GTK_PACKAGES="$GTK_PACKAGES pangoft2" fi @@ -1533,6 +1549,8 @@ gtk_save_cppflags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS $GDK_DEP_CFLAGS" +if test "x$gdktarget" != "xnone"; then + AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([ *** Can't find cairo-pdf.h. You must build Cairo with the pdf *** backend enabled.])) @@ -1547,6 +1565,8 @@ *** svg backend enabled.])) fi +fi # gdktarget != none + CPPFLAGS="$gtk_save_cppflags"
shibajee/buildroot
package/libgtk2/0001-reduce-dependencies.patch
patch
mit
3,511
config BR2_PACKAGE_LIBGTK2 bool "libgtk2" select BR2_PACKAGE_ATK select BR2_PACKAGE_CAIRO select BR2_PACKAGE_CAIRO_PS select BR2_PACKAGE_CAIRO_PDF select BR2_PACKAGE_CAIRO_SVG select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_PANGO select BR2_PACKAGE_GDK_PIXBUF select BR2_PACKAGE_FONTCONFIG select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXRENDER depends on BR2_PACKAGE_XORG7 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2 depends on BR2_INSTALL_LIBSTDCPP # pango depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz help The GTK+ version 2 graphical user interface library http://www.gtk.org/ if BR2_PACKAGE_LIBGTK2 config BR2_PACKAGE_LIBGTK2_DEMO bool "Install libgtk2 demo program" help The GTK+ source base contains a gtk-demo program. This option allows to install this program to the target. endif comment "libgtk2 needs a toolchain w/ wchar, threads, C++" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_XORG7 depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/libgtk2/Config.in
in
mit
1,185
# From http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.30.sha256sum sha256 0d15cec3b6d55c60eac205b1f3ba81a1ed4eadd9d0f8e7c508bc7065d0c4ca50 gtk+-2.24.30.tar.xz
shibajee/buildroot
package/libgtk2/libgtk2.hash
hash
mit
171
################################################################################ # # libgtk2 # ################################################################################ LIBGTK2_VERSION_MAJOR = 2.24 LIBGTK2_VERSION = $(LIBGTK2_VERSION_MAJOR).30 LIBGTK2_SOURCE = gtk+-$(LIBGTK2_VERSION).tar.xz LIBGTK2_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk+/$(LIBGTK2_VERSION_MAJOR) LIBGTK2_INSTALL_STAGING = YES LIBGTK2_LICENSE = LGPLv2+ LIBGTK2_LICENSE_FILES = COPYING # For 0001-reduce-dependencies.patch LIBGTK2_AUTORECONF = YES LIBGTK2_CONF_ENV = \ ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \ ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \ DB2HTML=false LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no LIBGTK2_DEPENDENCIES = host-pkgconf host-libgtk2 libglib2 cairo pango atk gdk-pixbuf # Xorg dependencies LIBGTK2_CONF_OPTS += \ --with-x \ --x-includes=$(STAGING_DIR)/usr/include/X11 \ --x-libraries=$(STAGING_DIR)/usr/lib \ --with-gdktarget=x11 LIBGTK2_DEPENDENCIES += \ fontconfig xlib_libX11 xlib_libXext xlib_libXrender ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) LIBGTK2_CONF_OPTS += --enable-xinerama LIBGTK2_DEPENDENCIES += xlib_libXinerama else LIBGTK2_CONF_OPTS += --disable-xinerama endif ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) LIBGTK2_CONF_OPTS += --with-xinput=yes LIBGTK2_DEPENDENCIES += xlib_libXi else LIBGTK2_CONF_OPTS += --with-xinput=no endif ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) LIBGTK2_DEPENDENCIES += xlib_libXrandr endif ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) LIBGTK2_DEPENDENCIES += xlib_libXcursor endif ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) LIBGTK2_DEPENDENCIES += xlib_libXfixes endif ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) LIBGTK2_DEPENDENCIES += xlib_libXcomposite endif ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) LIBGTK2_DEPENDENCIES += xlib_libXdamage endif ifeq ($(BR2_PACKAGE_LIBPNG),y) LIBGTK2_DEPENDENCIES += libpng else LIBGTK2_CONF_OPTS += --without-libpng endif ifeq ($(BR2_PACKAGE_JPEG),y) LIBGTK2_DEPENDENCIES += jpeg else LIBGTK2_CONF_OPTS += --without-libjpeg endif ifeq ($(BR2_PACKAGE_TIFF),y) LIBGTK2_DEPENDENCIES += tiff else LIBGTK2_CONF_OPTS += --without-libtiff endif ifeq ($(BR2_PACKAGE_CUPS),y) LIBGTK2_CONF_OPTS += CUPS_CONFIG="$(STAGING_DIR)/usr/bin/cups-config" LIBGTK2_DEPENDENCIES += cups else LIBGTK2_CONF_OPTS += --disable-cups endif ifeq ($(BR2_PACKAGE_LIBGTK2_DEMO),) define LIBGTK2_POST_INSTALL_TWEAKS rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo endef LIBGTK2_POST_INSTALL_TARGET_HOOKS += LIBGTK2_POST_INSTALL_TWEAKS endif # We do not build a full version of libgtk2 for the host, because that # requires compiling Cairo, Pango, ATK and X.org for the # host. Therefore, we patch it to remove dependencies, and we hack the # build to only build gdk-pixbuf-from-source and # gtk-update-icon-cache, which are the host tools needed to build Gtk # for the target. HOST_LIBGTK2_DEPENDENCIES = host-libglib2 host-libpng host-gdk-pixbuf HOST_LIBGTK2_CONF_OPTS = \ --disable-static \ --disable-glibtest \ --without-libtiff \ --without-libjpeg \ --with-gdktarget=none \ --disable-cups define HOST_LIBGTK2_BUILD_CMDS $(HOST_MAKE_ENV) make -C $(@D)/gtk gtk-update-icon-cache endef define HOST_LIBGTK2_INSTALL_CMDS cp $(@D)/gtk/gtk-update-icon-cache $(HOST_DIR)/usr/bin endef $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/libgtk2/libgtk2.mk
mk
mit
3,434
Same patch as for systemd in commit http://git.buildroot.net/buildroot/commit/?id=7144f2f04b70553 Fix deactivation of gtk-doc The tarball contains the Makefile for building documentation with gtk-doc, Unfortunately the AM_CONDITIONAL variable is not the correct one, which results in an error when running autoreconf. This patch fixes this issue. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> --- a/gtk-doc.make +++ b/gtk-doc.make @@ -267,7 +267,7 @@ # # Require gtk-doc when making dist # -if HAVE_GTK_DOC +if ENABLE_GTK_DOC dist-check-gtkdoc: docs else dist-check-gtkdoc:
shibajee/buildroot
package/libgtk3/0001-no-gtk-doc.patch
patch
mit
663
Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we don't have introspection which provides its custom m4 macro. Reconfigure fails with: gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by adding a check, as performed in Systemd. Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> --- a/configure.ac +++ b/configure.ac @@ -1621,7 +1621,10 @@ # GObject introspection ################################################## -GOBJECT_INTROSPECTION_CHECK(introspection_required_version) +m4_ifdef([GOBJECT_INTROSPECTION_CHECK], + [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)], + [AM_CONDITIONAL([HAVE_INTROSPECTION], [false]) + enable_introspection=no]) ################################################## # colord module
shibajee/buildroot
package/libgtk3/0002-fix-introspection-check.patch
patch
mit
1,052
Remove atk-bridge support. atk-bridge doesn't seem useful for now in Buildroot and requires to add two new packages just for it: at-spi2-core and at-spi2-atk. Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> --- a/configure.ac +++ b/configure.ac @@ -1349,11 +1349,7 @@ # Check for Accessibility Toolkit flags ######################################## -if test x$enable_x11_backend = xyes; then - ATK_PACKAGES="atk atk-bridge-2.0" -else - ATK_PACKAGES="atk" -fi +ATK_PACKAGES="atk" PKG_CHECK_MODULES(ATK, $ATK_PACKAGES) --- a/gtk/a11y/gtkaccessibility.c +++ b/gtk/a11y/gtkaccessibility.c @@ -37,10 +37,6 @@ #include <gtk/gtkcombobox.h> #include <gtk/gtkaccessible.h> -#ifdef GDK_WINDOWING_X11 -#include <atk-bridge.h> -#endif - static gboolean gail_focus_watcher (GSignalInvocationHint *ihint, guint n_param_values, const GValue *param_values, @@ -987,9 +983,5 @@ _gtk_accessibility_override_atk_util (); do_window_event_initialization (); -#ifdef GDK_WINDOWING_X11 - atk_bridge_adaptor_init (NULL, NULL); -#endif - atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL); }
shibajee/buildroot
package/libgtk3/0003-disable-atk-bridge.patch
patch
mit
1,239
From 4d09ff324419fe4e671233044e424378da53969b Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen <jussi.kukkonen@intel.com> Date: Tue, 9 Jun 2015 14:20:30 +0300 Subject: [PATCH] Remove Gdk-dependency from gtk-encode-symbolic-svg Building gtk-encode-symbolic-svg without building Gdk is useful as only the icon tools are needed on the native build: this makes native build much faster and requires much less dependencies. Upstream-Status: Pending Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- Patch status: taken from yocto, upstream pending gtk/encodesymbolic.c | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/gtk/encodesymbolic.c b/gtk/encodesymbolic.c index 9f7d015..1f07563 100644 --- a/gtk/encodesymbolic.c +++ b/gtk/encodesymbolic.c @@ -19,7 +19,6 @@ #include <glib.h> #include <gdk-pixbuf/gdk-pixdata.h> -#include <gdk/gdk.h> #include <glib/gi18n.h> #ifdef HAVE_UNISTD_H @@ -43,30 +42,18 @@ static GdkPixbuf * load_symbolic_svg (char *file_data, gsize file_len, int width, int height, - const GdkRGBA *fg, - const GdkRGBA *success_color, - const GdkRGBA *warning_color, - const GdkRGBA *error_color, + const char *css_fg, + const char *css_success, + const char *css_warning, + const char *css_error, GError **error) { GInputStream *stream; GdkPixbuf *pixbuf; - gchar *css_fg; - gchar *css_success; - gchar *css_warning; - gchar *css_error; gchar *data; gchar *svg_width, *svg_height; gchar *escaped_file_data; - css_fg = gdk_rgba_to_string (fg); - - css_success = css_warning = css_error = NULL; - - css_warning = gdk_rgba_to_string (warning_color); - css_error = gdk_rgba_to_string (error_color); - css_success = gdk_rgba_to_string (success_color); - /* Fetch size from the original icon */ stream = g_memory_input_stream_new_from_data (file_data, file_len, NULL); pixbuf = gdk_pixbuf_new_from_stream (stream, NULL, error); @@ -105,10 +92,6 @@ load_symbolic_svg (char *file_data, gsize file_len, "</svg>", NULL); g_free (escaped_file_data); - g_free (css_fg); - g_free (css_warning); - g_free (css_error); - g_free (css_success); g_free (svg_width); g_free (svg_height); @@ -167,7 +150,8 @@ make_symbolic_pixbuf (char *file, GError **error) { - GdkRGBA r = { 1,0,0,1}, g = {0,1,0,1}; + const char r[] = "rgba(255,0,0,1)"; + const char g[] = "rgba(0,255,0,1)"; GdkPixbuf *loaded; GdkPixbuf *pixbuf; int plane; @@ -196,10 +180,10 @@ make_symbolic_pixbuf (char *file, * the "rest", as all color fractions should add up to 1. */ loaded = load_symbolic_svg (file_data, file_len, width, height, - &g, - plane == 0 ? &r : &g, - plane == 1 ? &r : &g, - plane == 2 ? &r : &g, + g, + plane == 0 ? r : g, + plane == 1 ? r : g, + plane == 2 ? r : g, error); if (loaded == NULL) return NULL; -- 2.1.4
shibajee/buildroot
package/libgtk3/0004-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch
patch
mit
3,534
comment "libgtk3 needs a toolchain w/ wchar, threads, C++" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS comment "libgtk3 needs an OpenGL or OpenGL EGL backend provided by mesa3d" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && \ !BR2_PACKAGE_HAS_LIBGL config BR2_PACKAGE_LIBGTK3 bool "libgtk3" select BR2_PACKAGE_ATK select BR2_PACKAGE_CAIRO select BR2_PACKAGE_CAIRO_PS select BR2_PACKAGE_CAIRO_PDF select BR2_PACKAGE_CAIRO_SVG select BR2_PACKAGE_LIBEPOXY select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_PANGO select BR2_PACKAGE_GDK_PIXBUF # At least one backend is required select BR2_PACKAGE_LIBGTK3_BROADWAY if \ !(BR2_PACKAGE_LIBGTK3_X11 || BR2_PACKAGE_LIBGTK3_WAYLAND) depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2 depends on BR2_INSTALL_LIBSTDCPP # pango depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || \ BR2_PACKAGE_HAS_LIBGL help The GTK+ version 3 graphical user interface library http://www.gtk.org/ if BR2_PACKAGE_LIBGTK3 config BR2_PACKAGE_LIBGTK3_BROADWAY bool "Broadway GDK backend" default y help This enables the Broadway backend for GDK, which provides support for displaying GTK+ applications in a web browser, using HTML5 and web sockets. For example, to run gtk3-demo on a target which IP address is 192.168.0.1 and use it from a web browser, execute the following commands: $ broadwayd -a 192.168.0.1 -p 8080 :2 & $ export GDK_BACKEND=broadway $ export BROADWAY_DISPLAY=:2 $ gtk3-demo Then open a web browser at address http://192.168.0.1:8080. Javascript and web sockets should be enabled. comment "Wayland GDK backend needs an OpenGL EGL backend provided by mesa3d w/ headers >= 3.17" depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 config BR2_PACKAGE_LIBGTK3_WAYLAND bool "Wayland GDK backend" default y depends on BR2_PACKAGE_MESA3D_OPENGL_EGL depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 select BR2_PACKAGE_WAYLAND select BR2_PACKAGE_WAYLAND_PROTOCOLS select BR2_PACKAGE_LIBXKBCOMMON help This enables the Wayland backend for GDK. comment "X11 GDK backend needs an OpenGL provider" depends on !BR2_PACKAGE_HAS_LIBGL config BR2_PACKAGE_LIBGTK3_X11 bool "X11 GDK backend" default y depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_FONTCONFIG select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXRENDER select BR2_PACKAGE_XLIB_LIBXI help This enables the X11 backend for GDK. config BR2_PACKAGE_LIBGTK3_DEMO bool "Install libgtk3 demo program" select BR2_PACKAGE_SHARED_MIME_INFO select BR2_PACKAGE_HICOLOR_ICON_THEME help The GTK+ source base contains a demo program. This option allows to install this program to the target. config BR2_PACKAGE_LIBGTK3_TESTS bool "Install libgtk3 tests" help The GTK+ source base contains tests. This option allows to install them to the target. endif
shibajee/buildroot
package/libgtk3/Config.in
in
mit
3,227
# From http://ftp.gnome.org/pub/gnome/sources/gtk+/3.20/gtk+-3.20.6.sha256sum sha256 3f8016563a96b1cfef4ac9e795647f6316deb2978ff939b19e4e4f8f936fa4b2 gtk+-3.20.6.tar.xz
shibajee/buildroot
package/libgtk3/libgtk3.hash
hash
mit
169
################################################################################ # # libgtk3 # ################################################################################ LIBGTK3_VERSION_MAJOR = 3.20 LIBGTK3_VERSION = $(LIBGTK3_VERSION_MAJOR).6 LIBGTK3_SOURCE = gtk+-$(LIBGTK3_VERSION).tar.xz LIBGTK3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk+/$(LIBGTK3_VERSION_MAJOR) LIBGTK3_LICENSE = LGPLv2+ LIBGTK3_LICENSE_FILES = COPYING LIBGTK3_INSTALL_STAGING = YES LIBGTK3_AUTORECONF = YES LIBGTK3_CONF_ENV = \ ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \ ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \ PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/usr/bin/pkgconf LIBGTK3_CONF_OPTS = \ --disable-glibtest \ --enable-explicit-deps=no \ --enable-gtk2-dependency \ --disable-introspection # Override pkg-config pkgdatadir variable, it needs the prefix LIBGTK3_MAKE_OPTS = \ WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk libglib2 cairo pango gdk-pixbuf libepoxy ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) LIBGTK3_DEPENDENCIES += fontconfig xlib_libX11 xlib_libXext xlib_libXrender xlib_libXi LIBGTK3_CONF_OPTS += \ --enable-x11-backend \ --x-includes=$(STAGING_DIR)/usr/include/X11 \ --x-libraries=$(STAGING_DIR)/usr/lib else LIBGTK3_CONF_OPTS += --disable-x11-backend endif ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) LIBGTK3_DEPENDENCIES += wayland wayland-protocols libxkbcommon LIBGTK3_CONF_OPTS += --enable-wayland-backend else LIBGTK3_CONF_OPTS += --disable-wayland-backend endif ifeq ($(BR2_PACKAGE_LIBGTK3_BROADWAY),y) LIBGTK3_CONF_OPTS += --enable-broadway-backend else LIBGTK3_CONF_OPTS += --disable-broadway-backend endif ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) LIBGTK3_CONF_OPTS += --enable-xinerama LIBGTK3_DEPENDENCIES += xlib_libXinerama else LIBGTK3_CONF_OPTS += --disable-xinerama endif ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) LIBGTK3_CONF_OPTS += --enable-xrandr LIBGTK3_DEPENDENCIES += xlib_libXrandr else LIBGTK3_CONF_OPTS += --disable-xrandr endif ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) LIBGTK3_DEPENDENCIES += xlib_libXcursor endif ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) LIBGTK3_CONF_OPTS += --enable-xfixes LIBGTK3_DEPENDENCIES += xlib_libXfixes else LIBGTK3_CONF_OPTS += --disable-xfixes endif ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) LIBGTK3_CONF_OPTS += --enable-xcomposite LIBGTK3_DEPENDENCIES += xlib_libXcomposite else LIBGTK3_CONF_OPTS += --disable-xcomposite endif ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) LIBGTK3_CONF_OPTS += --enable-xdamage LIBGTK3_DEPENDENCIES += xlib_libXdamage else LIBGTK3_CONF_OPTS += --disable-xdamage endif ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y) LIBGTK3_CONF_OPTS += --enable-xkb LIBGTK3_DEPENDENCIES += xlib_libxkbfile else LIBGTK3_CONF_OPTS += --disable-xkb endif ifeq ($(BR2_PACKAGE_CUPS),y) LIBGTK3_CONF_OPTS += --enable-cups LIBGTK3_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config LIBGTK3_DEPENDENCIES += cups else LIBGTK3_CONF_OPTS += --disable-cups endif ifeq ($(BR2_PACKAGE_LIBGTK3_DEMO),y) LIBGTK3_DEPENDENCIES += hicolor-icon-theme shared-mime-info else define LIBGTK3_REMOVE_DEMOS $(RM) $(TARGET_DIR)/usr/bin/gtk3-demo \ $(TARGET_DIR)/usr/bin/gtk3-demo-application endef LIBGTK3_POST_INSTALL_TARGET_HOOKS += LIBGTK3_REMOVE_DEMOS endif ifeq ($(BR2_PACKAGE_LIBGTK3_TESTS),y) LIBGTK3_CONF_OPTS += --enable-installed-tests else LIBGTK3_CONF_OPTS += --disable-installed-tests endif define LIBGTK3_COMPILE_GLIB_SCHEMAS $(HOST_DIR)/usr/bin/glib-compile-schemas \ $(TARGET_DIR)/usr/share/glib-2.0/schemas endef LIBGTK3_POST_INSTALL_TARGET_HOOKS += LIBGTK3_COMPILE_GLIB_SCHEMAS # gtk+ >= 3.10 can build a native version of gtk-update-icon-cache if # --enable-gtk2-dependency=no is set when invoking './configure'. # # Unfortunately, if the target toolchain is based on uClibc, the macro # AM_GLIB_GNU_GETTEXT will detect the libintl built for the target and # will add '-lintl' to the default list of libraries for the linker (used # for both native and target builds). # # But no native version of libintl is available (the functions are # provided by glibc). So gtk-update-icon-cache will not build. # # As a workaround, we build gtk-update-icon-cache on our own, set # --enable-gtk2-dependency=yes and force './configure' to use our version. HOST_LIBGTK3_DEPENDENCIES = \ host-libglib2 \ host-libpng \ host-gdk-pixbuf \ host-pkgconf \ host-librsvg HOST_LIBGTK3_CFLAGS = \ `$(HOST_DIR)/usr/bin/pkgconf --cflags --libs gdk-pixbuf-2.0` \ `$(HOST_DIR)/usr/bin/pkgconf --cflags --libs gio-2.0` define HOST_LIBGTK3_CONFIGURE_CMDS echo "#define GETTEXT_PACKAGE \"gtk30\"" >> $(@D)/gtk/config.h echo "#define HAVE_UNISTD_H 1" >> $(@D)/gtk/config.h echo "#define HAVE_FTW_H 1" >> $(@D)/gtk/config.h endef define HOST_LIBGTK3_BUILD_CMDS $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \ $(@D)/gtk/updateiconcache.c \ $(HOST_LIBGTK3_CFLAGS) \ -o $(@D)/gtk/gtk-update-icon-cache $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \ $(@D)/gtk/encodesymbolic.c \ $(HOST_LIBGTK3_CFLAGS) \ -o $(@D)/gtk/gtk-encode-symbolic-svg endef define HOST_LIBGTK3_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/gtk/gtk-update-icon-cache \ $(HOST_DIR)/usr/bin/gtk-update-icon-cache $(INSTALL) -D -m 0755 $(@D)/gtk/gtk-encode-symbolic-svg \ $(HOST_DIR)/usr/bin/gtk-encode-symbolic-svg endef # Create icon-theme.cache for each of the icon directories/themes # It's not strictly necessary but speeds up lookups define LIBGTK3_UPDATE_ICON_CACHE find $(TARGET_DIR)/usr/share/icons -maxdepth 1 -mindepth 1 -type d \ -exec $(HOST_DIR)/usr/bin/gtk-update-icon-cache {} \; endef LIBGTK3_TARGET_FINALIZE_HOOKS += LIBGTK3_UPDATE_ICON_CACHE $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/libgtk3/libgtk3.mk
mk
mit
5,818
config BR2_PACKAGE_LIBGUDEV bool "libgudev" depends on BR2_PACKAGE_HAS_UDEV depends on BR2_USE_WCHAR # gettext depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBGLIB2 help This library provides GObject bindings for libudev. It was originally part of udev-extras, then udev, then systemd. It's now a project on its own. Required for building some programs that use udev, when using systemd. https://wiki.gnome.org/Projects/libgudev comment "libgudev needs udev /dev handling and a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_PACKAGE_HAS_UDEV
shibajee/buildroot
package/libgudev/Config.in
in
mit
685
# From: http://ftp.gnome.org/pub/GNOME/sources/libgudev/230/libgudev-230.sha256sum sha256 a2e77faced0c66d7498403adefcc0707105e03db71a2b2abd620025b86347c18 libgudev-230.tar.xz
shibajee/buildroot
package/libgudev/libgudev.hash
hash
mit
176
################################################################################ # # libgudev # ################################################################################ LIBGUDEV_VERSION = 230 LIBGUDEV_SOURCE = libgudev-$(LIBGUDEV_VERSION).tar.xz LIBGUDEV_SITE = http://ftp.gnome.org/pub/GNOME/sources/libgudev/$(LIBGUDEV_VERSION) LIBGUDEV_INSTALL_STAGING = YES LIBGUDEV_DEPENDENCIES = host-pkgconf udev libglib2 LIBGUDEV_LICENSE = LGPLv2.1+ LIBGUDEV_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/libgudev/libgudev.mk
mk
mit
513
Disable strip in Makefile. Patch downloaded from Gentoo: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libhdhomerun/files/dont-strip.patch Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -Nur libhdhomerun/Makefile libhdhomerun.fix/Makefile --- libhdhomerun/Makefile 2012-08-30 15:46:27.000000000 -0500 +++ libhdhomerun.fix/Makefile 2013-03-24 14:47:08.740937164 -0500 @@ -42,7 +42,6 @@ hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS) $(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@ - $(STRIP) $@ libhdhomerun$(LIBEXT) : $(LIBSRCS) $(CC) $(CFLAGS) -fPIC -DDLL_EXPORT $(SHARED) $+ $(LDFLAGS) -o $@
shibajee/buildroot
package/libhdhomerun/0001-dont-strip.patch
patch
mit
629
config BR2_PACKAGE_LIBHDHOMERUN bool "libhdhomerun" depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS help HDHomeRun is a network-attached digital television tuner box, produced by the company SiliconDust USA, Inc. http://www.silicondust.com comment "libhdhomerun needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/libhdhomerun/Config.in
in
mit
399
# Locally computed sha256 907dfbd1eb82aebd8b09e7c00c21a02433e6baaacf4a4f99aa2511b1d5244baf libhdhomerun_20150826.tgz
shibajee/buildroot
package/libhdhomerun/libhdhomerun.hash
hash
mit
117
################################################################################ # # libhdhomerun # ################################################################################ LIBHDHOMERUN_VERSION = 20150826 LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun LIBHDHOMERUN_LICENSE = LGPLv2.1+ LIBHDHOMERUN_LICENSE_FILES = lgpl.txt LIBHDHOMERUN_INSTALL_STAGING = YES define LIBHDHOMERUN_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) endef define LIBHDHOMERUN_INSTALL_STAGING_CMDS $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \ $(STAGING_DIR)/usr/lib/libhdhomerun.so mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/ $(INSTALL) -m 0644 $(@D)/*.h \ $(STAGING_DIR)/usr/include/libhdhomerun/ endef define LIBHDHOMERUN_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \ $(TARGET_DIR)/usr/lib/libhdhomerun.so endef $(eval $(generic-package))
shibajee/buildroot
package/libhdhomerun/libhdhomerun.mk
mk
mit
1,005
MD_CONF_DEBUGGING changes CFLAGS and CXXFLAGS with a horrible magic so disable it to prevent compilation errors. downloaded from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch?revision=1.1&view=markup Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -uNr libhid-0.2.16.org/configure.ac libhid-0.2.16/configure.ac --- libhid-0.2.16.org/configure.ac 2007-04-01 22:32:10.000000000 +0200 +++ libhid-0.2.16/configure.ac 2014-10-19 21:31:00.550091947 +0200 @@ -78,7 +78,6 @@ AC_C_BIGENDIAN AC_C_STRINGIZE -MD_CONF_DEBUGGING MD_CONF_COMPILER AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux") AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd")
shibajee/buildroot
package/libhid/0001-dont-fiddle-with-debug-flags.patch
patch
mit
708
Fix improper usage of macro that introduces a wrong newline The MD_CONF_FLAGS() macro was used with a final newline that introduces an invalid newline in the middle of the macro expansion when defining LDFLAGS. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: libhid-0.2.16/configure.ac =================================================================== --- libhid-0.2.16.orig/configure.ac 2007-04-01 22:32:10.000000000 +0200 +++ libhid-0.2.16/configure.ac 2012-12-12 20:24:03.000000000 +0100 @@ -102,8 +102,7 @@ [], [$OS_CFLAGS $LIBUSB_CFLAGS], [], - [$OS_LDFLAGS $LIBUSB_LIBS] -) + [$OS_LDFLAGS $LIBUSB_LIBS]) MD_CONF_DB2MAN
shibajee/buildroot
package/libhid/0002-no-newline-in-ldflags.patch
patch
mit
675
Good old 'uclinux is also linux' Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura libhid-0.2.16.orig/configure.ac libhid-0.2.16/configure.ac --- libhid-0.2.16.orig/configure.ac 2014-06-22 09:35:50.277261742 -0300 +++ libhid-0.2.16/configure.ac 2014-06-22 09:36:10.688951947 -0300 @@ -80,6 +80,7 @@ MD_CONF_DEBUGGING MD_CONF_COMPILER +AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "uclinux") AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux") AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd") AM_CONDITIONAL(OS_SOLARIS, test "$MD_OS" = "solaris") diff -Nura libhid-0.2.16.orig/m4/md_check_os.m4 libhid-0.2.16/m4/md_check_os.m4 --- libhid-0.2.16.orig/m4/md_check_os.m4 2014-06-22 09:35:50.275261675 -0300 +++ libhid-0.2.16/m4/md_check_os.m4 2014-06-22 09:46:17.651475891 -0300 @@ -3,7 +3,7 @@ AC_CANONICAL_HOST AC_MSG_CHECKING(for target OS) case $host in - *-linux*) + *-linux*|*-uclinux*) AC_DEFINE(OS_LINUX, [], [define to 1 if building for Linux]) AC_SUBST(OS_LINUX) MD_OS=linux
shibajee/buildroot
package/libhid/0003-uclinux.patch
patch
mit
1,052
config BR2_PACKAGE_LIBHID bool "libhid" depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB_COMPAT help Userspace library for accessing USB HID devices http://libhid.alioth.debian.org comment "libhid needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/libhid/Config.in
in
mit
328
# locally computed sha256 f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5 libhid-0.2.16.tar.gz
shibajee/buildroot
package/libhid/libhid.hash
hash
mit
114
################################################################################ # # libhid # ################################################################################ LIBHID_VERSION = 0.2.16 LIBHID_SITE = http://sources.buildroot.net LIBHID_DEPENDENCIES = libusb-compat libusb LIBHID_INSTALL_STAGING = YES LIBHID_AUTORECONF = YES LIBHID_LICENSE = GPLv2 LIBHID_LICENSE_FILES = COPYING # configure runs libusb-config for cflags/ldflags. Ensure it picks up # the target version LIBHID_CONF_ENV = PATH=$(STAGING_DIR)/usr/bin:$(BR_PATH) LIBHID_CONF_OPTS = \ --disable-swig \ --disable-werror \ --without-doxygen \ --disable-package-config $(eval $(autotools-package))
shibajee/buildroot
package/libhid/libhid.mk
mk
mit
677
From 384917321c45e492b0ca7aaa94d4b15324aef95d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Fri, 28 Aug 2015 19:02:11 +0200 Subject: [PATCH] Use -f option when calling ln at install time This allows "make install; make install" to work properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Renaud AUBIN <root@renaud.io> --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 33c8ba0..b36d95a 100644 --- a/Makefile +++ b/Makefile @@ -125,12 +125,12 @@ tags: http_parser.c http_parser.h test.c install: library $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME) - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT) + ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT) install-strip: library $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME) - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT) + ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT) uninstall: rm $(INCLUDEDIR)/http_parser.h -- 2.6.2
shibajee/buildroot
package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch
patch
mit
1,203
config BR2_PACKAGE_LIBHTTPPARSER bool "libhttpparser" depends on !BR2_STATIC_LIBS help This is a parser for HTTP messages written in C. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. Depending on your architecture, it only requires about 40 bytes of data per message stream (in a web server that is per connection). https://github.com/nodejs/http-parser comment "libhttpparser needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS
shibajee/buildroot
package/libhttpparser/Config.in
in
mit
641
# Locally computed: sha256 a11c5ccb9808496f3de66d54ea1f89271919923307e31c75de2a3a77a6754c97 libhttpparser-v2.6.0.tar.gz
shibajee/buildroot
package/libhttpparser/libhttpparser.hash
hash
mit
120
################################################################################ # # libhttpparser # ################################################################################ LIBHTTPPARSER_VERSION = v2.6.0 LIBHTTPPARSER_SITE = $(call github,nodejs,http-parser,$(LIBHTTPPARSER_VERSION)) LIBHTTPPARSER_INSTALL_STAGING = YES LIBHTTPPARSER_LICENSE = MIT LIBHTTPPARSER_LICENSE_FILES = LICENSE-MIT define LIBHTTPPARSER_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) library package endef define LIBHTTPPARSER_INSTALL_STAGING_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(STAGING_DIR)/usr install $(INSTALL) -D -m 0644 $(@D)/libhttp_parser.a $(STAGING_DIR)/usr/lib/libhttp_parser.a endef define LIBHTTPPARSER_INSTALL_TARGET_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(TARGET_DIR)/usr install endef $(eval $(generic-package))
shibajee/buildroot
package/libhttpparser/libhttpparser.mk
mk
mit
862
Disable tests to avoid MMU dependency due to fork. Fixes CMakeFiles/regression.dir/regression.c.o: In function `_test_file_locks': /home/br/br4/output/build/libical-v1.0.1/src/test/regression.c:(.text+0x96d8): undefined reference to `_fork' Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -uNr libical-1.0.1.org/src/CMakeLists.txt libical-1.0.1/src/CMakeLists.txt --- libical-1.0.1.org/src/CMakeLists.txt 2014-10-09 17:07:05.000000000 +0200 +++ libical-1.0.1/src/CMakeLists.txt 2015-04-25 17:41:22.657345548 +0200 @@ -1,7 +1,6 @@ add_subdirectory(libical) add_subdirectory(libicalss) add_subdirectory(libicalvcal) -add_subdirectory(test) if(MSVC) install(FILES
shibajee/buildroot
package/libical/0001-no-tests.patch
patch
mit
683
config BR2_PACKAGE_LIBICAL bool "libical" depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR select BR2_TARGET_TZ_INFO help libical is an Open Source (MPL/LGPL) implementation of the IETF's iCalendar Calendaring and Scheduling protocols. http://libical.github.io/libical comment "libical needs a toolchain w/ C++, dynamic library, wchar" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ BR2_STATIC_LIBS
shibajee/buildroot
package/libical/Config.in
in
mit
466
# Locally computed: sha256 089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592 libical-1.0.1.tar.gz
shibajee/buildroot
package/libical/libical.hash
hash
mit
113
################################################################################ # # libical # ################################################################################ LIBICAL_VERSION = 1.0.1 LIBICAL_SITE = https://github.com/libical/libical/releases/download/v$(LIBICAL_VERSION) LIBICAL_INSTALL_STAGING = YES LIBICAL_LICENSE = MPLv1.0 or LGPLv2.1 LIBICAL_LICENSE_FILES = LICENSE # building without this option is broken, it is used by # Gentoo/alpinelinux as well LIBICAL_CONF_OPTS = -DSHARED_ONLY=true # never build time zone info, always use system's tzinfo LIBICAL_CONF_OPTS += -DUSE_BUILTIN_TZDATA=false $(eval $(cmake-package))
shibajee/buildroot
package/libical/libical.mk
mk
mit
645
config BR2_PACKAGE_LIBICONV bool "libiconv" depends on !BR2_ENABLE_LOCALE help unicode conversion library http://ftp.gnu.org/pub/gnu/libiconv
shibajee/buildroot
package/libiconv/Config.in
in
mit
152
# Locally calculated after checking pgp signature sha256 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613 libiconv-1.14.tar.gz
shibajee/buildroot
package/libiconv/libiconv.hash
hash
mit
143
################################################################################ # # libiconv # ################################################################################ LIBICONV_VERSION = 1.14 LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv LIBICONV_INSTALL_STAGING = YES LIBICONV_LICENSE = GPLv3+ (iconv program), LGPLv2+ (library) LIBICONV_LICENSE_FILES = COPYING COPYING.LIB # Don't build the preloadable library, as we don't need it (it's only # for LD_PRELOAD to replace glibc's iconv, but we never build libiconv # when glibc is used). And it causes problems for static only builds. define LIBICONV_DISABLE_PRELOAD $(SED) '/preload/d' $(@D)/Makefile.in endef LIBICONV_PRE_CONFIGURE_HOOKS += LIBICONV_DISABLE_PRELOAD $(eval $(autotools-package)) # Configurations where the toolchain supports locales and the libiconv # package is enabled are incorrect, because the toolchain already # provides libiconv functionality, and having both confuses packages. ifeq ($(BR2_PACKAGE_LIBICONV)$(BR2_ENABLE_LOCALE),yy) $(error Libiconv should never be enabled when the toolchain supports locales. Report this failure to Buildroot developers) endif
shibajee/buildroot
package/libiconv/libiconv.mk
mk
mit
1,149
config BR2_PACKAGE_LIBID3TAG bool "libid3tag" select BR2_PACKAGE_ZLIB help ID3 tag reading library from the MAD project. http://www.underbit.com/products/mad/
shibajee/buildroot
package/libid3tag/Config.in
in
mit
169
# Locally computed: sha256 63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151 libid3tag-0.15.1b.tar.gz
shibajee/buildroot
package/libid3tag/libid3tag.hash
hash
mit
119
################################################################################ # # libid3tag # ################################################################################ LIBID3TAG_VERSION = 0.15.1b LIBID3TAG_SITE = http://downloads.sourceforge.net/project/mad/libid3tag/$(LIBID3TAG_VERSION) LIBID3TAG_LICENSE = GPLv2+ LIBID3TAG_LICENSE_FILES = COPYING COPYRIGHT LIBID3TAG_INSTALL_STAGING = YES LIBID3TAG_DEPENDENCIES = zlib LIBID3TAG_LIBTOOL_PATCH = NO $(eval $(autotools-package))
shibajee/buildroot
package/libid3tag/libid3tag.mk
mk
mit
492
config BR2_PACKAGE_LIBIDN bool "libidn" select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help Libidn's purpose is to encode and decode internationalized domain names. http://www.gnu.org/software/libidn/ if BR2_PACKAGE_LIBIDN config BR2_PACKAGE_LIBIDN_BINARY bool "idn binary" help Install idn command line tool endif
shibajee/buildroot
package/libidn/Config.in
in
mit
347
# From http://lists.nongnu.org/archive/html/help-libidn/2016-07/msg00009.html sha1 57872fdc665dcc585e16f4ac0bb35374b1103f7e libidn-1.33.tar.gz # Calculated based on the hash above sha256 44a7aab635bb721ceef6beecc4d49dfd19478325e1b47f3196f7d2acc4930e19 libidn-1.33.tar.gz
shibajee/buildroot
package/libidn/libidn.hash
hash
mit
271
################################################################################ # # libidn # ################################################################################ LIBIDN_VERSION = 1.33 LIBIDN_SITE = $(BR2_GNU_MIRROR)/libidn LIBIDN_INSTALL_STAGING = YES LIBIDN_CONF_ENV = EMACS="no" LIBIDN_CONF_OPTS = --disable-java --enable-csharp=no LIBIDN_DEPENDENCIES = host-pkgconf $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) $(if $(BR2_PACKAGE_LIBICONV),libiconv) LIBIDN_LICENSE = GPLv2+, GPLv3+, LGPLv3+ LIBIDN_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3 define LIBIDN_REMOVE_BINARY rm -f $(TARGET_DIR)/usr/bin/idn endef ifneq ($(BR2_PACKAGE_LIBIDN_BINARY),y) LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_BINARY endif define LIBIDN_REMOVE_EMACS_STUFF rm -rf $(TARGET_DIR)/usr/share/emacs endef LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_EMACS_STUFF $(eval $(autotools-package))
shibajee/buildroot
package/libidn/libidn.mk
mk
mit
910
From d052d263600549979a6219a59e85af80eeafc6d2 Mon Sep 17 00:00:00 2001 From: Paul Cercueil <paul.cercueil@analog.com> Date: Tue, 5 Jul 2016 12:12:41 +0200 Subject: [PATCH] lock.c: Don't include <pthread.h> if NO_THREADS is defined Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> --- lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lock.c b/lock.c index 39248ab..00eb9d9 100644 --- a/lock.c +++ b/lock.c @@ -18,7 +18,7 @@ #ifdef _WIN32 #include <windows.h> -#else +#elif !defined(NO_THREADS) #include <pthread.h> #endif -- 2.8.1
shibajee/buildroot
package/libiio/0001-lock.c-Don-t-include-pthread.h-if-NO_THREADS-is-defi.patch
patch
mit
575
From 1bc450179a0819970261e6a29071756d09b71c5f Mon Sep 17 00:00:00 2001 From: Paul Cercueil <paul.cercueil@analog.com> Date: Fri, 19 Aug 2016 09:00:58 +0200 Subject: [PATCH] CMake: Link with librt if found This is required for older versions of glibc. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a339fe..3dd3520 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,10 @@ add_definitions(-DLIBIIO_VERSION_GIT="${LIBIIO_VERSION_GIT}") if(WITH_LOCAL_BACKEND) add_definitions(-DLOCAL_BACKEND=1) set(LIBIIO_CFILES ${LIBIIO_CFILES} local.c) + + # Link with librt if present + find_library(LIBRT_LIBRARIES rt) + set(LIBS_TO_LINK ${LIBS_TO_LINK} ${LIBRT_LIBRARIES}) endif() find_library(LIBUSB_LIBRARIES usb-1.0) -- 2.8.1
shibajee/buildroot
package/libiio/0002-CMake-Link-with-librt-if-found.patch
patch
mit
864
config BR2_PACKAGE_LIBIIO bool "libiio" select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND help Libiio is a library to ease the development of software interfacing Linux Industrial I/O (IIO) devices. http://wiki.analog.com/resources/tools-software/linux-software/libiio if BR2_PACKAGE_LIBIIO config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND bool "Local backend" default y help Enable the local backend of the library. config BR2_PACKAGE_LIBIIO_XML_BACKEND bool "XML backend" select BR2_PACKAGE_LIBXML2 default y help Enable the XML backend of the library. config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND bool "Network backend" depends on BR2_PACKAGE_LIBIIO_XML_BACKEND default y help Enable the network backend of the library. config BR2_PACKAGE_LIBIIO_USB_BACKEND bool "USB backend" depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb depends on BR2_PACKAGE_LIBIIO_XML_BACKEND select BR2_PACKAGE_LIBUSB default y help Enable the USB backend of the library. comment "The USB backend needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND bool "Serial backend" depends on BR2_PACKAGE_LIBIIO_XML_BACKEND select BR2_PACKAGE_LIBSERIALPORT default y help Enable the serial backend of the library. config BR2_PACKAGE_LIBIIO_IIOD bool "IIO Daemon" select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_bfin default y help Install the IIO Daemon. comment "IIO Daemon needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_bfin comment "IIO Daemon is not yet available on Blackfin" depends on BR2_bfin config BR2_PACKAGE_LIBIIO_TESTS bool "Install test programs" select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND select BR2_PACKAGE_LIBIIO_XML_BACKEND select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND depends on BR2_TOOLCHAIN_HAS_THREADS help Install the test programs (iio_info, iio_genxml, iio_readdev). comment "IIO test programs need a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP bool "Install C# bindings" depends on BR2_PACKAGE_MONO help Install the C# bindings. config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON bool "Install Python bindings" depends on BR2_PACKAGE_PYTHON help Install the Python bindings. endif
shibajee/buildroot
package/libiio/Config.in
in
mit
2,373
#!/bin/sh # Server-side demuxing by default IIOD_OPTS=-D [ -r /etc/default/iiod ] && . /etc/default/iiod case "$1" in start) echo "Starting IIO Server Daemon" start-stop-daemon -S -b -q -m -p /var/run/iiod.pid -x /usr/sbin/iiod -- $IIOD_OPTS exit $? ;; stop) echo "Stopping IIO Server Daemon" start-stop-daemon -K -q -p /var/run/iiod.pid 2>/dev/null exit $? ;; restart) $0 stop sleep 1 $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac
shibajee/buildroot
package/libiio/S99iiod
none
mit
489
# From https://github.com/analogdevicesinc/libiio/archive/v0.7/ sha256 c2b02f1cb51870db52368fdaa8087dc2a4ec43f2bc3c3514d8214952f14c3f39 libiio-0.7.tar.gz
shibajee/buildroot
package/libiio/libiio.hash
hash
mit
154
################################################################################ # # libiio # ################################################################################ LIBIIO_VERSION = 0.7 LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION)) LIBIIO_INSTALL_STAGING = YES LIBIIO_LICENSE = LGPLv2.1+ LIBIIO_LICENSE_FILES = COPYING.txt LIBIIO_CONF_OPTS = -DENABLE_IPV6=ON \ -DWITH_LOCAL_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_LOCAL_BACKEND),ON,OFF) \ -DWITH_NETWORK_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_NETWORK_BACKEND),ON,OFF) \ -DWITH_TESTS=$(if $(BR2_PACKAGE_LIBIIO_TESTS),ON,OFF) \ -DWITH_DOC=OFF ifeq ($(BR2_PACKAGE_LIBIIO_XML_BACKEND),y) LIBIIO_DEPENDENCIES += libxml2 LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=ON else LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_USB_BACKEND),y) LIBIIO_DEPENDENCIES += libusb LIBIIO_CONF_OPTS += -DWITH_USB_BACKEND=ON else LIBIIO_CONF_OPTS += -DWITH_USB_BACKEND=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_SERIAL_BACKEND),y) LIBIIO_DEPENDENCIES += libserialport LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=ON else LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y) LIBIIO_DEPENDENCIES += host-flex host-bison LIBIIO_CONF_OPTS += -DWITH_IIOD=ON else LIBIIO_CONF_OPTS += -DWITH_IIOD=OFF endif # Avahi support in libiio requires avahi-client, which needs avahi-daemon ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON),yy) LIBIIO_DEPENDENCIES += avahi endif ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y) LIBIIO_DEPENDENCIES += python LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON else LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP),y) define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET rm $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll.mdb $(HOST_DIR)/usr/bin/gacutil -root $(TARGET_DIR)/usr/lib -i \ $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll endef define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING $(HOST_DIR)/usr/bin/gacutil -root $(STAGING_DIR)/usr/lib -i \ $(STAGING_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll endef LIBIIO_POST_INSTALL_TARGET_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET LIBIIO_POST_INSTALL_STAGING_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING LIBIIO_DEPENDENCIES += mono LIBIIO_CONF_OPTS += -DCSHARP_BINDINGS=ON else LIBIIO_CONF_OPTS += -DCSHARP_BINDINGS=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y) define LIBIIO_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/libiio/S99iiod \ $(TARGET_DIR)/etc/init.d/S99iiod endef endif $(eval $(cmake-package))
shibajee/buildroot
package/libiio/libiio.mk
mk
mit
2,637
config BR2_PACKAGE_LIBILBC bool "libilbc" help iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust voice communication over IP. http://www.webrtc.org/license-rights/ilbc-freeware
shibajee/buildroot
package/libilbc/Config.in
in
mit
216
################################################################################ # # libilbc # ################################################################################ LIBILBC_VERSION = 829b08c7902ceb87a261279fabb36b6d523c6e07 LIBILBC_SITE = https://freeswitch.org/stash/scm/sd/libilbc.git LIBILBC_SITE_METHOD = git LIBILBC_LICENSE = Global IP Sound iLBC Public License v2.0 LIBILBC_LICENSE_FILES = gips_iLBClicense.pdf LIBILBC_AUTORECONF = YES LIBILBC_INSTALL_STAGING = YES $(eval $(autotools-package))
shibajee/buildroot
package/libilbc/libilbc.mk
mk
mit
514
comment "libimxvpuapi needs an i.MX platform with VPU support" depends on BR2_arm depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config BR2_PACKAGE_LIBIMXVPUAPI bool "libimxvpuapi" depends on BR2_arm # Only relevant for i.MX depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU select BR2_PACKAGE_IMX_VPU help This library provides an API for using the iMX6 VPU video engine. It is an alternative to Freescale's VPU wrapper. Both the wrapper and this library are layered on top of imx-vpu, the low-level iMX6 VPU interface. https://github.com/Freescale/libimxvpuapi
shibajee/buildroot
package/libimxvpuapi/Config.in
in
mit
581
# locally computed hash sha256 8e6dc4105db6164c0de72fd60eb73f4ba1632f7ba5052b1abc834b462b566da2 libimxvpuapi-0.10.2.tar.gz
shibajee/buildroot
package/libimxvpuapi/libimxvpuapi.hash
hash
mit
124
################################################################################ # # libimxvpuapi # ################################################################################ LIBIMXVPUAPI_VERSION = 0.10.2 LIBIMXVPUAPI_SITE = $(call github,Freescale,libimxvpuapi,$(LIBIMXVPUAPI_VERSION)) LIBIMXVPUAPI_LICENSE = LGPLv2.1+ LIBIMXVPUAPI_LICENSE_FILES = LICENSE LIBIMXVPUAPI_DEPENDENCIES = host-pkgconf host-python imx-vpu LIBIMXVPUAPI_INSTALL_STAGING = YES define LIBIMXVPUAPI_CONFIGURE_CMDS cd $(@D); \ $(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/usr/bin/python2 ./waf configure \ --prefix=/usr --libdir=/usr/lib endef define LIBIMXVPUAPI_BUILD_CMDS cd $(@D); \ $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS) endef define LIBIMXVPUAPI_INSTALL_STAGING_CMDS cd $(@D); \ $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) install endef define LIBIMXVPUAPI_INSTALL_TARGET_CMDS cd $(@D); \ $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/libimxvpuapi/libimxvpuapi.mk
mk
mit
1,017
config BR2_PACKAGE_LIBINPUT bool "libinput" depends on BR2_ENABLE_LOCALE depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBEVDEV select BR2_PACKAGE_MTDEV help libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver. It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code compositors need to provide the common set of functionality that users expect. http://freedesktop.org/wiki/Software/libinput/ comment "libinput needs udev /dev management and a toolchain w/ locale" depends on !BR2_PACKAGE_HAS_UDEV || !BR2_ENABLE_LOCALE
shibajee/buildroot
package/libinput/Config.in
in
mit
697
# From https://lists.freedesktop.org/archives/wayland-devel/2016-July/030121.html sha256 76ef10874519d1a67b57e5c68ede06106b9fbf611a3ecf69c84886107c67b420 libinput-1.4.0.tar.xz
shibajee/buildroot
package/libinput/libinput.hash
hash
mit
176
################################################################################ # # libinput # ################################################################################ LIBINPUT_VERSION = 1.4.0 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz LIBINPUT_SITE = http://www.freedesktop.org/software/libinput LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev LIBINPUT_INSTALL_STAGING = YES LIBINPUT_LICENSE = MIT LIBINPUT_LICENSE_FILES = COPYING # Tests need fork, so just disable them everywhere. LIBINPUT_CONF_OPTS = --disable-tests --disable-libwacom ifeq ($(BR2_PACKAGE_LIBGTK3),y) LIBINPUT_CONF_OPTS += --enable-event-gui LIBINPUT_DEPENDENCIES += libgtk3 else LIBINPUT_CONF_OPTS += --disable-event-gui endif $(eval $(autotools-package))
shibajee/buildroot
package/libinput/libinput.mk
mk
mit
760
From 46660112b76664473cc98b8ae6c863fd27c27d2d Mon Sep 17 00:00:00 2001 From: Samuel Martin <s.martin49@gmail.com> Date: Fri, 29 Aug 2014 23:40:59 +0200 Subject: [PATCH 1/1] cmake: handle static library and find required thread module Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- CMakeLists.txt | 2 ++ src/CMakeLists.txt | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79f644c..7779a2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,9 @@ enable_testing() # use local module (for Findlibusb-1.0.cmake) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") +find_package(Threads REQUIRED) find_package(libusb-1.0 REQUIRED) + if (NOT LIBUSB_1_FOUND) message(FATAL_ERROR "libusb-1.0 not installed. (try apt-get install libusb-1.0-0-dev)") endif (NOT LIBUSB_1_FOUND) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 149d198..0597ccd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -18,8 +18,10 @@ set (iqrf_sources include_directories ("${LIBUSB_1_INCLUDE_DIRS}") -add_library(iqrf SHARED ${iqrf_sources} ${iqrf_headers}) +add_library(iqrf ${iqrf_sources} ${iqrf_headers}) + target_link_libraries(iqrf ${LIBUSB_1_LIBRARIES}) +target_link_libraries(iqrf ${CMAKE_THREAD_LIBS_INIT}) set_target_properties(iqrf PROPERTIES VERSION "${iqrf_version_major}.${iqrf_version_minor}" -- 2.1.0
shibajee/buildroot
package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch
patch
mit
1,440
Use only the C language libirqf is written completely in C, but by default, CMake assumes that both C and C++ are used, and therefore verifies that a C++ compiler is installed. This may not necessarily be the case for a C-only package in Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/src/CMakeLists.txt =================================================================== --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,3 @@ -project(iqrf) - set (iqrf_version_major 0) set (iqrf_version_minor 1) set (iqrf_version_patch 2) Index: b/CMakeLists.txt =================================================================== --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +project(iqrf C) + cmake_minimum_required(VERSION 2.8.1) enable_testing()
shibajee/buildroot
package/libiqrf/0002-use-only-c-language.patch
patch
mit
813