From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/gettext/Makefile | 86 ---------------------- package/gettext/patches/patch-build-aux_ltmain_sh | 39 ---------- .../patch-gettext-runtime_gnulib-lib_stdio_in_h | 10 --- ...gettext-tools_gnulib-lib_libxml_xmlversion_in_h | 11 --- .../patch-gettext-tools_gnulib-lib_spawn_in_h | 11 --- .../patch-gettext-tools_gnulib-lib_stdio_in_h | 10 --- .../patch-gettext-tools_libgettextpo_stdio_in_h | 10 --- 7 files changed, 177 deletions(-) delete mode 100644 package/gettext/Makefile delete mode 100644 package/gettext/patches/patch-build-aux_ltmain_sh delete mode 100644 package/gettext/patches/patch-gettext-runtime_gnulib-lib_stdio_in_h delete mode 100644 package/gettext/patches/patch-gettext-tools_gnulib-lib_libxml_xmlversion_in_h delete mode 100644 package/gettext/patches/patch-gettext-tools_gnulib-lib_spawn_in_h delete mode 100644 package/gettext/patches/patch-gettext-tools_gnulib-lib_stdio_in_h delete mode 100644 package/gettext/patches/patch-gettext-tools_libgettextpo_stdio_in_h (limited to 'package/gettext') diff --git a/package/gettext/Makefile b/package/gettext/Makefile deleted file mode 100644 index c15e43577..000000000 --- a/package/gettext/Makefile +++ /dev/null @@ -1,86 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include ${TOPDIR}/rules.mk - -PKG_NAME= gettext -PKG_VERSION= 0.18.1.1 -PKG_RELEASE= 2 -PKG_MD5SUM:= 3dd55b952826d2b32f51308f2f91aa89 -PKG_DESCR:= internationalisation library -PKG_SECTION:= libs -PKG_BUILDDEP:= libiconv -PKG_DEPENDS:= libiconv libpthread -PKG_URL:= http://www.gnu.org/software/gettext/ -PKG_SITES:= ${MASTER_SITE_GNU:=gettext/} - -PKG_SUBPKGS:= LIBINTL LIBINTL_DEV GETTEXT MSGFMT -PKGSD_LIBINTL_DEV:= libintl headers -PKGSC_LIBINTL_DEV:= devel -PKGSD_GETTEXT:= gettext utility -PKGSC_GETTEXT:= misc -PKGSS_GETTEXT:= libintl -PKGSD_MSGFMT:= msgfmt utility -PKGSC_MSGFMT:= misc -PKGSS_MSGFMT:= libintl - -ifeq ($(ADK_STATIC),y) -PKG_OPTS:= libonly -endif - -include ${TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,LIBINTL,libintl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -$(eval $(call PKG_template,LIBINTL_DEV,libintl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBINTL_DEV},${PKGSC_LIBINTL_DEV},${PKG_OPTS})) -$(eval $(call PKG_template,GETTEXT,gettext,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GETTEXT},${PKGSD_GETTEXT},${PKGSC_GETTEXT})) -$(eval $(call PKG_template,MSGFMT,msgfmt,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_MSGFMT},${PKGSD_MSGFMT},${PKGSC_MSGFMT})) - -CONFIGURE_ARGS+= --disable-java \ - --disable-native-java \ - --disable-csharp \ - --disable-libasprintf \ - --disable-rpath \ - --enable-threads=posix \ - --enable-nls \ - --disable-openmp \ - --with-libiconv-prefix='${STAGING_TARGET_DIR}/usr' \ - --with-included-gettext \ - --without-emacs -CONFIGURE_ENV+= nls_cv_use_gnu_gettext=yes \ - ac_cv_gnu_library_2=no \ - gt_use_preinstalled_gnugettext=no - -INSTALL_STYLE:= manual - -post-build: - ${INSTALL_DIR} ${STAGING_DIR}/usr/include ${STAGING_DIR}/usr/lib - $(CP) $(WRKBUILD)/gettext-runtime/intl/libintl.h ${STAGING_DIR}/usr/include - ${CP} ${WRKBUILD}/gettext-runtime/intl/.libs/libintl.so* \ - ${STAGING_DIR}/usr/lib - -do-install: - ${INSTALL_DIR} ${IDIR_LIBINTL}/usr/lib - ${CP} ${WRKBUILD}/gettext-runtime/intl/.libs/libintl.so* \ - ${IDIR_LIBINTL}/usr/lib - ${INSTALL_DIR} ${IDIR_LIBINTL_DEV}/usr/include - ${INSTALL_DATA} ${WRKBUILD}/gettext-runtime/intl/libintl.h \ - ${IDIR_LIBINTL_DEV}/usr/include - ${INSTALL_DIR} ${IDIR_GETTEXT}/usr/bin - $(INSTALL_BIN) $(WRKBUILD)/gettext-tools/src/.libs/xgettext \ - $(IDIR_GETTEXT)/usr/bin - $(INSTALL_BIN) $(WRKBUILD)/gettext-runtime/src/.libs/gettext \ - $(IDIR_GETTEXT)/usr/bin - ${INSTALL_DIR} ${IDIR_MSGFMT}/usr/bin - ${INSTALL_DIR} ${IDIR_MSGFMT}/usr/lib - ${CP} ${WRKBUILD}/gettext-tools/libgettextpo/.libs/libgettextpo.so* \ - ${IDIR_MSGFMT}/usr/lib - ${CP} ${WRKBUILD}/gettext-tools/gnulib-lib/.libs/libgettextlib*so* \ - ${IDIR_MSGFMT}/usr/lib - ${CP} ${WRKBUILD}/gettext-tools/src/.libs/libgettextsrc*so* \ - ${IDIR_MSGFMT}/usr/lib - $(INSTALL_BIN) $(WRKBUILD)/gettext-tools/src/.libs/msgfmt \ - $(IDIR_MSGFMT)/usr/bin - $(INSTALL_BIN) $(WRKBUILD)/gettext-tools/src/.libs/msgmerge \ - $(IDIR_MSGFMT)/usr/bin - -include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/gettext/patches/patch-build-aux_ltmain_sh b/package/gettext/patches/patch-build-aux_ltmain_sh deleted file mode 100644 index e8284a680..000000000 --- a/package/gettext/patches/patch-build-aux_ltmain_sh +++ /dev/null @@ -1,39 +0,0 @@ ---- gettext-0.18.1.1.orig/build-aux/ltmain.sh 2010-06-06 14:49:57.000000000 +0200 -+++ gettext-0.18.1.1/build-aux/ltmain.sh 2011-01-14 12:26:11.000000000 +0100 -@@ -4901,7 +4901,7 @@ func_mode_link () - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) -+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" -@@ -5652,27 +5652,6 @@ func_mode_link () - esac - fi - -- # Hardcode the library path. -- # Skip directories that are in the system default run-time -- # search path. -- case " $sys_lib_dlsearch_path " in -- *" $absdir "*) ;; -- *) -- case "$compile_rpath " in -- *" $absdir "*) ;; -- *) compile_rpath="$compile_rpath $absdir" -- esac -- ;; -- esac -- case " $sys_lib_dlsearch_path " in -- *" $libdir "*) ;; -- *) -- case "$finalize_rpath " in -- *" $libdir "*) ;; -- *) finalize_rpath="$finalize_rpath $libdir" -- esac -- ;; -- esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && diff --git a/package/gettext/patches/patch-gettext-runtime_gnulib-lib_stdio_in_h b/package/gettext/patches/patch-gettext-runtime_gnulib-lib_stdio_in_h deleted file mode 100644 index eb5762069..000000000 --- a/package/gettext/patches/patch-gettext-runtime_gnulib-lib_stdio_in_h +++ /dev/null @@ -1,10 +0,0 @@ ---- gettext-0.18.1.1.orig/gettext-runtime/gnulib-lib/stdio.in.h 2010-05-17 21:56:12.000000000 +0200 -+++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h 2012-07-31 11:28:12.000000000 +0200 -@@ -141,7 +141,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/package/gettext/patches/patch-gettext-tools_gnulib-lib_libxml_xmlversion_in_h b/package/gettext/patches/patch-gettext-tools_gnulib-lib_libxml_xmlversion_in_h deleted file mode 100644 index f329c1ee1..000000000 --- a/package/gettext/patches/patch-gettext-tools_gnulib-lib_libxml_xmlversion_in_h +++ /dev/null @@ -1,11 +0,0 @@ ---- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/libxml/xmlversion.in.h 2010-06-06 14:49:58.000000000 +0200 -+++ gettext-0.18.1.1/gettext-tools/gnulib-lib/libxml/xmlversion.in.h 2011-10-17 03:58:30.336558512 +0200 -@@ -263,7 +263,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(i - * - * Whether iconv support is available - */ --#if 1 -+#if 0 - #define LIBXML_ICONV_ENABLED - #endif - diff --git a/package/gettext/patches/patch-gettext-tools_gnulib-lib_spawn_in_h b/package/gettext/patches/patch-gettext-tools_gnulib-lib_spawn_in_h deleted file mode 100644 index 4497be8f5..000000000 --- a/package/gettext/patches/patch-gettext-tools_gnulib-lib_spawn_in_h +++ /dev/null @@ -1,11 +0,0 @@ ---- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/spawn.in.h 2010-05-24 11:42:46.000000000 +0200 -+++ gettext-0.18.1.1/gettext-tools/gnulib-lib/spawn.in.h 2011-02-04 19:21:02.000000000 +0100 -@@ -31,7 +31,7 @@ - - /* Get definitions of 'struct sched_param' and 'sigset_t'. - But avoid namespace pollution on glibc systems. */ --#ifndef __GLIBC__ -+#if !defined(__GLIBC__) || defined(__UCLIBC__) - # include - # include - #endif diff --git a/package/gettext/patches/patch-gettext-tools_gnulib-lib_stdio_in_h b/package/gettext/patches/patch-gettext-tools_gnulib-lib_stdio_in_h deleted file mode 100644 index 5bcb9829d..000000000 --- a/package/gettext/patches/patch-gettext-tools_gnulib-lib_stdio_in_h +++ /dev/null @@ -1,10 +0,0 @@ ---- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/stdio.in.h 2010-05-24 11:42:46.000000000 +0200 -+++ gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h 2012-07-31 11:29:05.000000000 +0200 -@@ -141,7 +141,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/package/gettext/patches/patch-gettext-tools_libgettextpo_stdio_in_h b/package/gettext/patches/patch-gettext-tools_libgettextpo_stdio_in_h deleted file mode 100644 index fd370202d..000000000 --- a/package/gettext/patches/patch-gettext-tools_libgettextpo_stdio_in_h +++ /dev/null @@ -1,10 +0,0 @@ ---- gettext-0.18.1.1.orig/gettext-tools/libgettextpo/stdio.in.h 2010-05-17 21:58:03.000000000 +0200 -+++ gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h 2012-07-31 11:31:22.000000000 +0200 -@@ -141,7 +141,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ -- cgit v1.2.3