mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
libglib12: remove deprecated package
This is part of the removal of the Gtk 1.x stack. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0716faa9be
commit
d09721c451
@ -568,7 +568,6 @@ BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
# BR2_PACKAGE_LIBDAEMON is not set
|
||||
# BR2_PACKAGE_LIBELF is not set
|
||||
# BR2_PACKAGE_LIBEVENT is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_LIBOIL is not set
|
||||
|
||||
|
@ -615,7 +615,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -721,7 +721,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -539,7 +539,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -650,7 +650,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -735,7 +735,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -539,7 +539,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -658,7 +658,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -501,7 +501,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_ATK is not set
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
BR2_PACKAGE_FONTCONFIG=y
|
||||
BR2_PACKAGE_FREETYPE=y
|
||||
|
@ -737,7 +737,6 @@ BR2_PACKAGE_PANGO=y
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
BR2_PACKAGE_LIBERATION=y
|
||||
# BR2_PACKAGE_LIBGLADE is not set
|
||||
BR2_PACKAGE_LIBGLIB12=y
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
BR2_PACKAGE_LIBGTK2=y
|
||||
BR2_PACKAGE_LIBGTK2_ENGINES=y
|
||||
|
@ -542,7 +542,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -696,7 +696,6 @@ BR2_PACKAGE_PANGO=y
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
BR2_PACKAGE_LIBERATION=y
|
||||
# BR2_PACKAGE_LIBGLADE is not set
|
||||
BR2_PACKAGE_LIBGLIB12=y
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
BR2_PACKAGE_LIBGTK2=y
|
||||
BR2_PACKAGE_LIBGTK2_ENGINES=y
|
||||
|
@ -734,7 +734,6 @@ BR2_PACKAGE_PANGO=y
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
BR2_PACKAGE_LIBERATION=y
|
||||
# BR2_PACKAGE_LIBGLADE is not set
|
||||
BR2_PACKAGE_LIBGLIB12=y
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
BR2_PACKAGE_LIBGTK2=y
|
||||
BR2_PACKAGE_LIBGTK2_ENGINES=y
|
||||
|
@ -541,7 +541,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -659,7 +659,6 @@ BR2_PACKAGE_PANGO=y
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
BR2_PACKAGE_LIBERATION=y
|
||||
# BR2_PACKAGE_LIBGLADE is not set
|
||||
BR2_PACKAGE_LIBGLIB12=y
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
BR2_PACKAGE_LIBGTK2=y
|
||||
BR2_PACKAGE_LIBGTK2_ENGINES=y
|
||||
|
@ -669,7 +669,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -539,7 +539,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -658,7 +658,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -586,7 +586,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -544,7 +544,6 @@ BR2_PACKAGE_ZLIB=y
|
||||
BR2_PACKAGE_LIBDAEMON=y
|
||||
# BR2_PACKAGE_LIBELF is not set
|
||||
# BR2_PACKAGE_LIBEVENT is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_LIBOIL is not set
|
||||
# BR2_PACKAGE_STARTUP_NOTIFICATION is not set
|
||||
|
@ -631,7 +631,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -730,7 +730,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -574,7 +574,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -574,7 +574,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -572,7 +572,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -551,7 +551,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -557,7 +557,6 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_LIBSEXY is not set
|
||||
|
||||
|
@ -574,7 +574,6 @@ BR2_PACKAGE_QT_OPENSSL=y
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_LIBDRM is not set
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_OPENMOTIF is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
|
@ -315,7 +315,6 @@ source "package/libdaemon/Config.in"
|
||||
source "package/libelf/Config.in"
|
||||
source "package/libevent/Config.in"
|
||||
source "package/libfloat/Config.in"
|
||||
source "package/libglib12/Config.in"
|
||||
source "package/libglib2/Config.in"
|
||||
source "package/liboil/Config.in"
|
||||
source "package/startup-notification/Config.in"
|
||||
|
@ -1,7 +0,0 @@
|
||||
config BR2_PACKAGE_LIBGLIB12
|
||||
bool "libglib12"
|
||||
depends on BR2_DEPRECATED
|
||||
help
|
||||
Low-level core library that forms the basis of GTK+ and GNOME.
|
||||
|
||||
http://www.gtk.org/
|
@ -1,41 +0,0 @@
|
||||
--- glib-1.2.10/gstrfuncs.c.orig 2001-02-27 07:00:22.000000000 +0100
|
||||
+++ glib-1.2.10/gstrfuncs.c 2004-03-01 13:19:49.531603760 +0100
|
||||
@@ -867,7 +867,7 @@
|
||||
/* beware of positional parameters
|
||||
*/
|
||||
case '$':
|
||||
- g_warning (G_GNUC_PRETTY_FUNCTION
|
||||
+ g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION,
|
||||
"(): unable to handle positional parameters (%%n$)");
|
||||
len += 1024; /* try adding some safety padding */
|
||||
break;
|
||||
@@ -1034,7 +1034,7 @@
|
||||
/* n . dddddddddddddddddddddddd E +- eeee */
|
||||
conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
|
||||
if (spec.mod_extra_long)
|
||||
- g_warning (G_GNUC_PRETTY_FUNCTION
|
||||
+ g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION,
|
||||
"(): unable to handle long double, collecting double only");
|
||||
#ifdef HAVE_LONG_DOUBLE
|
||||
#error need to implement special handling for long double
|
||||
@@ -1077,7 +1077,7 @@
|
||||
conv_done = TRUE;
|
||||
if (spec.mod_long)
|
||||
{
|
||||
- g_warning (G_GNUC_PRETTY_FUNCTION
|
||||
+ g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION,
|
||||
"(): unable to handle wide char strings");
|
||||
len += 1024; /* try adding some safety padding */
|
||||
}
|
||||
@@ -1108,9 +1108,8 @@
|
||||
conv_len += format - spec_start;
|
||||
break;
|
||||
default:
|
||||
- g_warning (G_GNUC_PRETTY_FUNCTION
|
||||
- "(): unable to handle `%c' while parsing format",
|
||||
- c);
|
||||
+ g_warning ("%s(): unable to handle `%c' while parsing format",
|
||||
+ G_GNUC_PRETTY_FUNCTION, c);
|
||||
break;
|
||||
}
|
||||
conv_done |= conv_len > 0;
|
@ -1,88 +0,0 @@
|
||||
--- glib/ltconfig
|
||||
+++ glib/ltconfig
|
||||
@@ -450,6 +450,7 @@
|
||||
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
|
||||
case "$host_os" in
|
||||
linux-gnu*) ;;
|
||||
+linux-uclibc*) ;;
|
||||
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
|
||||
esac
|
||||
|
||||
@@ -1981,6 +1982,28 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
+linux-uclibc*)
|
||||
+ version_type=linux
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
||||
+ soname_spec='${libname}${release}.so$major'
|
||||
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=no
|
||||
+ # deplibs_check_method=pass_all
|
||||
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
|
||||
+ file_magic_cmd=/usr/bin/file
|
||||
+ file_magic_test_file=`echo /lib/libuClibc-*.so`
|
||||
+ # This implies no fast_install, which is unacceptable.
|
||||
+ # Some rework will be needed to allow for fast_install
|
||||
+ # before this can be enabled.
|
||||
+ # Note: copied from linux-gnu, and may not be appropriate.
|
||||
+ hardcode_into_libs=yes
|
||||
+ # Assume using the uClibc dynamic linker.
|
||||
+ dynamic_linker="uClibc ld.so"
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
version_type=sunos
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
--- g/configure
|
||||
+++ g/configure
|
||||
@@ -966,6 +966,7 @@
|
||||
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
echo "$ac_t""$host" 1>&6
|
||||
+host_alias=$host
|
||||
|
||||
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
||||
echo "configure:972: checking build system type" >&5
|
||||
diff -urN glib-1.2.10-0rig/ltconfig glib-1.2.10/ltconfig
|
||||
--- glib-1.2.10-0rig/ltconfig 2009-01-17 02:56:10.000000000 +0100
|
||||
+++ glib-1.2.10/ltconfig 2009-01-17 02:55:40.000000000 +0100
|
||||
@@ -448,6 +448,9 @@
|
||||
fi
|
||||
|
||||
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
|
||||
+echo $ac_n "host_os... $host_os" 1>&5
|
||||
+echo $ac_n "host_os... $host_os" 1>&6
|
||||
+
|
||||
case "$host_os" in
|
||||
linux-gnu*) ;;
|
||||
linux-uclibc*) ;;
|
||||
@@ -761,6 +764,7 @@
|
||||
;;
|
||||
*)
|
||||
can_build_shared=no
|
||||
+ echo "$progname:764: No OS found: host_os = $host_os" >&5
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -1791,6 +1795,8 @@
|
||||
# If you have `file' or equivalent on your system and you're not sure
|
||||
# whether `pass_all' will *always* work, you probably want this one.
|
||||
echo $ac_n "checking dynamic linker characteristics... $ac_c" 1>&6
|
||||
+echo $ac_n "host_os... $host_os" 1>&5
|
||||
+echo $ac_n "host_os... $host_os" 1>&6
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
version_type=linux
|
||||
@@ -1982,7 +1988,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
-linux-uclibc*)
|
||||
+*-linux | linux-uclibc*)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
@ -1,97 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# libglib1.2
|
||||
#
|
||||
#############################################################
|
||||
LIBGLIB12_VERSION:=1.2.10
|
||||
LIBGLIB12_SOURCE:=glib-$(LIBGLIB12_VERSION).tar.gz
|
||||
LIBGLIB12_SITE:=http://ftp.gtk.org/pub/gtk/v1.2
|
||||
LIBGLIB12_CAT:=$(ZCAT)
|
||||
LIBGLIB12_DIR:=$(BUILD_DIR)/glib-$(LIBGLIB12_VERSION)
|
||||
LIBGLIB12_BINARY:=libglib.a
|
||||
|
||||
$(DL_DIR)/$(LIBGLIB12_SOURCE):
|
||||
$(call DOWNLOAD,$(LIBGLIB12_SITE),$(LIBGLIB12_SOURCE))
|
||||
|
||||
$(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
|
||||
$(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ \*.patch*
|
||||
$(CONFIG_UPDATE) $(LIBGLIB12_DIR)
|
||||
touch $@
|
||||
|
||||
$(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
|
||||
(cd $(LIBGLIB12_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--includedir=/usr/include \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--enable-shared \
|
||||
$(DISABLE_NLS) \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(LIBGLIB12_DIR)/.libs/$(LIBGLIB12_BINARY): $(LIBGLIB12_DIR)/.configured
|
||||
$(MAKE) CC="$(TARGET_CC)" -C $(LIBGLIB12_DIR)
|
||||
|
||||
$(STAGING_DIR)/lib/$(LIBGLIB12_BINARY): $(LIBGLIB12_DIR)/.libs/$(LIBGLIB12_BINARY)
|
||||
$(MAKE) prefix=$(STAGING_DIR) \
|
||||
exec_prefix=$(STAGING_DIR) \
|
||||
bindir=$(STAGING_DIR)/bin \
|
||||
sbindir=$(STAGING_DIR)/sbin \
|
||||
libexecdir=$(STAGING_DIR)/bin \
|
||||
datadir=$(STAGING_DIR)/share \
|
||||
sysconfdir=$(STAGING_DIR)/etc \
|
||||
sharedstatedir=$(STAGING_DIR)/com \
|
||||
localstatedir=$(STAGING_DIR)/var \
|
||||
libdir=$(STAGING_DIR)/lib \
|
||||
includedir=$(STAGING_DIR)/usr/include \
|
||||
oldincludedir=$(STAGING_DIR)/include \
|
||||
infodir=$(STAGING_DIR)/info \
|
||||
mandir=$(STAGING_DIR)/man \
|
||||
-C $(LIBGLIB12_DIR) install
|
||||
|
||||
$(TARGET_DIR)/lib/libglib-1.2.so.0.0.10: $(STAGING_DIR)/lib/$(LIBGLIB12_BINARY)
|
||||
cp -dpf $(STAGING_DIR)/lib/libglib.so $(TARGET_DIR)/lib/
|
||||
cp -dpf $(STAGING_DIR)/lib/libglib-1.2.so.0 $(TARGET_DIR)/lib/
|
||||
cp -dpf $(STAGING_DIR)/lib/libglib-1.2.so.0.0.10 $(TARGET_DIR)/lib/
|
||||
cp -dpf $(STAGING_DIR)/lib/libgmodule.so $(TARGET_DIR)/lib/
|
||||
cp -dpf $(STAGING_DIR)/lib/libgmodule-1.2.so.0 $(TARGET_DIR)/lib/
|
||||
cp -dpf $(STAGING_DIR)/lib/libgmodule-1.2.so.0.0.10 $(TARGET_DIR)/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libglib-1.2.so.0.0.10
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgmodule-1.2.so.0.0.10
|
||||
|
||||
libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE)
|
||||
|
||||
libglib12-unpacked: $(LIBGLIB12_DIR)/.unpacked
|
||||
|
||||
libglib12: $(TARGET_DIR)/lib/libglib-1.2.so.0.0.10
|
||||
|
||||
libglib12-clean:
|
||||
rm -f $(TARGET_DIR)/lib/$(LIBGLIB12_BINARY)
|
||||
-$(MAKE) -C $(LIBGLIB12_DIR) clean
|
||||
|
||||
libglib12-dirclean:
|
||||
rm -rf $(LIBGLIB12_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB12),y)
|
||||
TARGETS+=libglib12
|
||||
endif
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user