diff options
-rw-r--r-- | core/kconfig/packages.kconfig | 4 | ||||
-rw-r--r-- | core/mk/packages.mk | 3 | ||||
-rw-r--r-- | packages/misc/misc.kconfig | 3 | ||||
-rw-r--r-- | packages/misc/misc.mk | 4 | ||||
-rw-r--r-- | packages/textproc/libxml2/libxml2.kconfig (renamed from packages/misc/libxml/libxml.kconfig) | 9 | ||||
-rw-r--r-- | packages/textproc/libxml2/libxml2.mk (renamed from packages/misc/libxml/libxml.mk) | 8 |
6 files changed, 15 insertions, 16 deletions
diff --git a/core/kconfig/packages.kconfig b/core/kconfig/packages.kconfig index aa78b8e..cb47b5f 100644 --- a/core/kconfig/packages.kconfig +++ b/core/kconfig/packages.kconfig @@ -80,6 +80,10 @@ menu "System packages" source packages/system/system.kconfig endmenu +menu "Text processing packages" +source packages/textproc/textproc.kconfig +endmenu + menu "Miscellaneous packages" source packages/misc/misc.kconfig endmenu diff --git a/core/mk/packages.mk b/core/mk/packages.mk index ce1bc0b..c8e2049 100644 --- a/core/mk/packages.mk +++ b/core/mk/packages.mk @@ -77,6 +77,9 @@ include packages/security/security.mk # System packages include packages/system/system.mk +# System packages +include packages/textproc/textproc.mk + # X window system packages include packages/x11/x11.mk diff --git a/packages/misc/misc.kconfig b/packages/misc/misc.kconfig index 3ed4364..140b63a 100644 --- a/packages/misc/misc.kconfig +++ b/packages/misc/misc.kconfig @@ -35,9 +35,6 @@ source packages/misc/glib/glib.kconfig # inttltool source packages/misc/intltool/intltool.kconfig -# libxml -source packages/misc/libxml/libxml.kconfig - # ncurses included in main Kconfig # raptor diff --git a/packages/misc/misc.mk b/packages/misc/misc.mk index 015af2e..1c1e617 100644 --- a/packages/misc/misc.mk +++ b/packages/misc/misc.mk @@ -38,10 +38,6 @@ $(call embtk_include_hostpkg,glib_host) # intltool $(call embtk_include_hostpkg,intltool_host) -# libxml2 -include packages/misc/libxml/libxml.mk -ROOTFS_COMPONENTS-$(CONFIG_EMBTK_HAVE_LIBXML2) += libxml2_install - # ncurses $(call embtk_include_pkg,ncurses) diff --git a/packages/misc/libxml/libxml.kconfig b/packages/textproc/libxml2/libxml2.kconfig index 619516d..b1166de 100644 --- a/packages/misc/libxml/libxml.kconfig +++ b/packages/textproc/libxml2/libxml2.kconfig @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -37,20 +37,13 @@ choice config EMBTK_LIBXML2_VERSION_2_7_7 bool "libxml2-2.7.7" - config EMBTK_LIBXML2_VERSION_2_7_6 - bool "libxml2-2.7.6" endchoice config EMBTK_LIBXML2_VERSION_STRING string default "2.7.7" if EMBTK_LIBXML2_VERSION_2_7_7 - default "2.7.6" if EMBTK_LIBXML2_VERSION_2_7_6 config EMBTK_LIBXML2_NEED_PATCH bool config EMBTK_LIBXML2_NEED_AUTORECONF bool -config EMBTK_LIBXML2_PKG_IS_TARGZ - bool -config EMBTK_LIBXML2_PKG_IS_TARBZ2 - bool diff --git a/packages/misc/libxml/libxml.mk b/packages/textproc/libxml2/libxml2.mk index d903366..9700337 100644 --- a/packages/misc/libxml/libxml.mk +++ b/packages/textproc/libxml2/libxml2.mk @@ -38,9 +38,15 @@ LIBXML2_PKGCONFIGS := libxml*.pc LIBXML2_CONFIGURE_OPTS := --without-python # FIXME: this should be fixed from upstream libxml2 -pembtk_libxml2conf := $(embtk_sysroot)/usr/$(LIBDIR)/xml2Conf.sh +pembtk_libxml2conf := $(embtk_sysroot)/usr/$(LIBDIR)/xml2Conf.sh +pembtk_xml2config := $(embtk_sysroot)/usr/bin/xml2-config define embtk_postinstallonce_libxml2 sed -e 's;/usr;$(embtk_sysroot)/usr;g' \ < $(pembtk_libxml2conf) > $(pembtk_libxml2conf).tmp; \ mv $(pembtk_libxml2conf).tmp $(pembtk_libxml2conf) + chmod +x $(pembtk_libxml2conf) + sed -e 's;=/usr;=$(embtk_sysroot)/usr;g' \ + < $(pembtk_xml2config) > $(pembtk_xml2config).tmp; \ + mv $(pembtk_xml2config).tmp $(pembtk_xml2config) + chmod +x $(pembtk_xml2config) endef |