Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
From da77704c575f0583fa871ff02bd52906a7979576 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@openwide.fr>
|
||||
Date: Sun, 15 Feb 2015 11:05:43 +0100
|
||||
Subject: [PATCH] configure.ac: fix static build
|
||||
|
||||
Add LT_INIT macro to handle --enable-shared option.
|
||||
|
||||
If enable-shared=no then add --static flag to resolve FREETYPE_LIBS.
|
||||
|
||||
Otherwise, dvdauthor forget to link witk -lbz2 when linking with freetype2.
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.net/results/1d8/1d83390a3dd9f6bb595e9fc7b321500b4dc533a8/
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
|
||||
---
|
||||
configure.ac | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c43df92..d78d56a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -4,6 +4,7 @@ AM_CONFIG_HEADER(src/config.h)
|
||||
AC_CONFIG_AUX_DIR(autotools)
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
+LT_INIT
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
||||
@@ -39,6 +40,11 @@ PKG_CHECK_MODULES(LIBPNG, [libpng])
|
||||
AC_SUBST(LIBPNG_CFLAGS)
|
||||
AC_SUBST(LIBPNG_LIBS)
|
||||
|
||||
+config_static=''
|
||||
+if test "$enable_shared" = 'no'; then
|
||||
+ config_static='--static'
|
||||
+fi
|
||||
+
|
||||
usemagick=0
|
||||
|
||||
AC_CHECK_PROGS(MAGICKCONFIG, [Magick-config])
|
||||
@@ -95,7 +101,7 @@ AC_SUBST(FRIBIDI_LIBS)
|
||||
AC_CHECK_PROGS(FREETYPECONFIG, [freetype-config])
|
||||
if test -n "$FREETYPECONFIG"; then
|
||||
FREETYPE_CPPFLAGS="`$FREETYPECONFIG --cflags`"
|
||||
- FREETYPE_LIBS="`$FREETYPECONFIG --libs`"
|
||||
+ FREETYPE_LIBS="`$FREETYPECONFIG --libs $config_static`"
|
||||
AC_DEFINE(HAVE_FREETYPE, 1, [Whether FreeType is available])
|
||||
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
--
|
||||
1.9.3
|
||||
|
||||
29
deprecated/firmware/buildroot/package/dvdauthor/Config.in
Normal file
29
deprecated/firmware/buildroot/package/dvdauthor/Config.in
Normal file
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_DVDAUTHOR
|
||||
bool "dvdauthor"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
DVDAuthor is a set of tools to help you author the file and directory
|
||||
structure of a DVD-Video disc, including programmatic commands for
|
||||
implementing interactive behaviour. It is driven by command lines and
|
||||
XML control files, though there are other programs that provide
|
||||
GUI-based front ends if you prefer
|
||||
|
||||
http://dvdauthor.sourceforge.net
|
||||
|
||||
if BR2_PACKAGE_DVDAUTHOR
|
||||
|
||||
config BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR
|
||||
bool "dvdunauthor"
|
||||
select BR2_PACKAGE_LIBDVDREAD
|
||||
depends on !BR2_STATIC_LIBS # libdvdread
|
||||
help
|
||||
This option enables the dvdunauthor program, which requires
|
||||
libdvdread.
|
||||
|
||||
comment "dvdunauthor needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9 dvdauthor-0.7.1.tar.gz
|
||||
48
deprecated/firmware/buildroot/package/dvdauthor/dvdauthor.mk
Normal file
48
deprecated/firmware/buildroot/package/dvdauthor/dvdauthor.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
#
|
||||
# dvdauthor
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DVDAUTHOR_VERSION = 0.7.1
|
||||
DVDAUTHOR_SITE = http://sourceforge.net/projects/dvdauthor/files/dvdauthor/$(DVDAUTHOR_VERSION)
|
||||
DVDAUTHOR_DEPENDENCIES = host-pkgconf libxml2 freetype libpng
|
||||
DVDAUTHOR_LICENSE = GPLv2+
|
||||
DVDAUTHOR_LICENSE_FILES = COPYING
|
||||
DVDAUTHOR_CONF_ENV = \
|
||||
ac_cv_prog_FREETYPECONFIG=$(STAGING_DIR)/usr/bin/freetype-config \
|
||||
ac_cv_path_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config \
|
||||
ac_cv_prog_GMAGICKCONFIG=
|
||||
|
||||
# configure.ac patched by 0001-configure.ac-fix-static-build.patch
|
||||
DVDAUTHOR_AUTORECONF = YES
|
||||
# add host-gettext for AM_ICONV macro
|
||||
DVDAUTHOR_DEPENDENCIES += host-gettext
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y)
|
||||
DVDAUTHOR_DEPENDENCIES += imagemagick
|
||||
DVDAUTHOR_CONF_ENV += \
|
||||
ac_cv_prog_MAGICKCONFIG=$(STAGING_DIR)/usr/bin/Magick-config
|
||||
else
|
||||
DVDAUTHOR_CONF_ENV += \
|
||||
ac_cv_prog_MAGICKCONFIG=
|
||||
endif
|
||||
|
||||
# Automatically detected by dvdauthor configure script, no way to
|
||||
# disable.
|
||||
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
||||
DVDAUTHOR_DEPENDENCIES += fontconfig
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
|
||||
DVDAUTHOR_DEPENDENCIES += libfribidi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR),y)
|
||||
DVDAUTHOR_DEPENDENCIES += libdvdread
|
||||
DVDAUTHOR_CONF_OPTS += --enable-dvdunauthor
|
||||
else
|
||||
DVDAUTHOR_CONF_OPTS += --disable-dvdunauthor
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user