Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Don't use -Wdouble-promotion gcc option
|
||||
|
||||
The warning flag isn't recognized for older GCC versions (blackfin),
|
||||
so just disable it.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
|
||||
[Gustavo: update for 1.3.5]
|
||||
|
||||
diff -Nura graphite2-1.3.5.orig/src/CMakeLists.txt graphite2-1.3.5/src/CMakeLists.txt
|
||||
--- graphite2-1.3.5.orig/src/CMakeLists.txt 2016-02-15 11:46:45.941906112 -0300
|
||||
+++ graphite2-1.3.5/src/CMakeLists.txt 2016-02-15 11:46:54.237194222 -0300
|
||||
@@ -111,9 +111,6 @@
|
||||
COMPILE_FLAGS "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector"
|
||||
LINK_FLAGS "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}"
|
||||
LINKER_LANGUAGE C)
|
||||
- if (CMAKE_COMPILER_IS_GNUCXX)
|
||||
- add_definitions(-Wdouble-promotion)
|
||||
- endif (CMAKE_COMPILER_IS_GNUCXX)
|
||||
message(STATUS "Compiler ID is: ${CMAKE_CXX_COMPILER_ID}")
|
||||
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
|
||||
add_definitions(-Wimplicit-fallthrough)
|
||||
13
deprecated/firmware/buildroot/package/graphite2/Config.in
Normal file
13
deprecated/firmware/buildroot/package/graphite2/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_GRAPHITE2
|
||||
bool "graphite2"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Graphite is a project within SIL's scripts and software dev
|
||||
groups to provide cross-platform rendering for complex
|
||||
writing systems.
|
||||
|
||||
http://graphite.sil.org/
|
||||
|
||||
comment "graphite2 needs a toolchain w/ C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# From http://sourceforge.net/projects/silgraphite/files/graphite2
|
||||
md5 5b8d22a8bbf031838e31432868c0109c graphite2-1.3.5.tgz
|
||||
sha1 044f65d5b4ade3169f5fcd75a25f047c81f5d33e graphite2-1.3.5.tgz
|
||||
23
deprecated/firmware/buildroot/package/graphite2/graphite2.mk
Normal file
23
deprecated/firmware/buildroot/package/graphite2/graphite2.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# graphite2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GRAPHITE2_VERSION = 1.3.5
|
||||
GRAPHITE2_SOURCE = graphite2-$(GRAPHITE2_VERSION).tgz
|
||||
GRAPHITE2_SITE = http://downloads.sourceforge.net/project/silgraphite/graphite2
|
||||
GRAPHITE2_INSTALL_STAGING = YES
|
||||
GRAPHITE2_LICENSE = LGPLv2.1+
|
||||
GRAPHITE2_LICENSE_FILES = LICENSE
|
||||
|
||||
# Avoid building docs and tests to save time
|
||||
define GRAPHITE2_DISABLE_TESTS_DOC
|
||||
$(SED) '/^add_subdirectory(doc)/d' \
|
||||
-e '/^add_subdirectory(tests)/d' \
|
||||
-e '/add_subdirectory(gr2fonttest)/d' \
|
||||
$(@D)/CMakeLists.txt
|
||||
endef
|
||||
GRAPHITE2_POST_PATCH_HOOKS += GRAPHITE2_DISABLE_TESTS_DOC
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user