Add buildroot 2018-02
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 1c503a8b2f127c12e58a6e8ba01743c04061df50 Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Tue, 5 Sep 2017 07:25:17 -0400
|
||||
Subject: [PATCH] build: disable tests from building
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
[Adam: refresh for pango 1.40.12]
|
||||
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
Makefile.in | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 70bf8b0..c69daf0 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
## Process this file with automake to create Makefile.in.
|
||||
|
||||
-SUBDIRS= pango pango-view examples docs tools tests win32
|
||||
+SUBDIRS= pango pango-view examples docs tools win32
|
||||
|
||||
meson_dist_files = \
|
||||
pango/pango-features.h.meson \
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 8489ca1..51f6ada 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -412,7 +412,7 @@ target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-SUBDIRS = pango pango-view examples docs tools tests win32
|
||||
+SUBDIRS = pango pango-view examples docs tools win32
|
||||
meson_dist_files = \
|
||||
pango/pango-features.h.meson \
|
||||
pango-view/meson.build \
|
||||
--
|
||||
2.13.5
|
||||
|
||||
25
buildroot/package/pango/0002-no-gtk-doc.patch
Normal file
25
buildroot/package/pango/0002-no-gtk-doc.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
Same patch as for systemd in commit
|
||||
7144f2f04b705538a893e538a6b851f536f433b6:
|
||||
|
||||
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:
|
||||
29
buildroot/package/pango/Config.in
Normal file
29
buildroot/package/pango/Config.in
Normal file
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_PANGO
|
||||
bool "pango"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
depends on BR2_INSTALL_LIBSTDCPP # freetype support
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_FONTCONFIG
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_HARFBUZZ
|
||||
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||
help
|
||||
Pango is a library for laying out and rendering of text,
|
||||
with an emphasis on internationalization. Pango can be used
|
||||
anywhere that text layout is needed, though most of the work
|
||||
on Pango so far has been done in the context of the GTK+
|
||||
widget toolkit. Pango forms the core of text and font
|
||||
handling for GTK+-2.x.
|
||||
|
||||
http://www.pango.org/
|
||||
|
||||
comment "pango 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_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
3
buildroot/package/pango/pango.hash
Normal file
3
buildroot/package/pango/pango.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# From http://ftp.gnome.org/pub/GNOME/sources/pango/1.40/pango-1.40.14.sha256sum
|
||||
sha256 90af1beaa7bf9e4c52db29ec251ec4fd0a8f2cc185d521ad1f88d01b3a6a17e3 pango-1.40.14.tar.xz
|
||||
sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING
|
||||
48
buildroot/package/pango/pango.mk
Normal file
48
buildroot/package/pango/pango.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
#
|
||||
# pango
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PANGO_VERSION_MAJOR = 1.40
|
||||
PANGO_VERSION = $(PANGO_VERSION_MAJOR).14
|
||||
PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz
|
||||
PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR)
|
||||
PANGO_AUTORECONF = YES
|
||||
PANGO_INSTALL_STAGING = YES
|
||||
PANGO_LICENSE = LGPL-2.0+
|
||||
PANGO_LICENSE_FILES = COPYING
|
||||
|
||||
PANGO_CONF_OPTS = --enable-explicit-deps=no
|
||||
HOST_PANGO_CONF_OPTS = --enable-explicit-deps=no
|
||||
|
||||
PANGO_DEPENDENCIES = \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-pkgconf \
|
||||
libglib2 \
|
||||
cairo \
|
||||
harfbuzz \
|
||||
fontconfig \
|
||||
freetype
|
||||
HOST_PANGO_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-libglib2 \
|
||||
host-cairo \
|
||||
host-harfbuzz \
|
||||
host-fontconfig \
|
||||
host-freetype
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
PANGO_CONF_OPTS += \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
PANGO_DEPENDENCIES += xlib_libX11
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
|
||||
PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender
|
||||
PANGO_CONF_OPTS += --with-xft
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user