Note:
Contents of policy files are not available with this commit. This
should be done related to own conditions by provider himself.
Providers are required by law to do this for their users as well.
Files must be installed in:
installdir = $(DATADIR)/neutrino/policy
Providers should modify their buildsystem to install these files.
Filename sheme is
<locale>.policy. eg 'english.policy'
If you want to add a policy file, take a look into sample file
locale.policy.sample
It should be more sensefull to set release cycle inside environment
than hard coding inside neutrino code.
Neutrino package version is not the same like image release cycle,
therefore here it is separated from package info.
This requires libfribidi and a font with arabic or hebrew glyphs.
To build libfribidi add something like this to your makefiles:
FRIBIDI_VER = 0.19.7
$(ARCHIVE)/fribidi-$(FRIBIDI_VER).tar.bz2:
$(WGET) https://fribidi.org/download/fribidi-$(FRIBIDI_VER).tar.bz2
$(D)/libfribidi: $(ARCHIVE)/fribidi-$(FRIBIDI_VER).tar.bz2 | $(TARGETPREFIX)
$(REMOVE)/fribidi-$(FRIBIDI_VER)
$(UNTAR)/fribidi-$(FRIBIDI_VER).tar.bz2
set -e; cd $(BUILD_TMP)/fribidi-$(FRIBIDI_VER); \
$(CONFIGURE) \
--prefix= \
--mandir=/.remove \
--disable-debug \
--disable-deprecated \
--enable-charsets \
--with-glib=no \
; \
$(MAKE); \
$(MAKE) install DESTDIR=$(TARGETPREFIX)
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/fribidi.pc
$(REWRITE_LIBTOOL)/libfribidi.la
$(REMOVE)/fribidi-$(FRIBIDI_VER)
touch $@
If you want to link libfribidi statically add --disable-shared
and --enable-static to configure call.
remove:
- unused boxtypes, these only give a false sense of support
- unused configure options and associated #defines in config.h
- unused confiugre check macros
BOXMODEL_NEVIS => BOXMODEL_CS_HD1
configure parameter: --with-boxmodel=hd1
--with-boxmodel=nevis is deprecated, but still valid
BOXMODEL_APOLLO => BOXMODEL_CS_HD2
configure parameter: --with-boxmodel=hd2
--with-boxmodel=apollo is deprecated, but still valid
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
The #define in src/gui/scan_setup.h did not work (undefining
ENABLE_FASTSCAN caused really strange side effects wrt background
scanning in standby mode), and all the unused code was still built.
With this configure option, people who really want this obscure feature
can enable it for their builds.
the PKG_CHECK_MODULES macro allows to check for a version -- use it
instead of homegrown TUXBOX_APPS_LIB_PKGCONFIG
Signed-off-by: M. Liebmann <git@tuxcode.de>