diff options
author | Koen Kooi <koen@openembedded.org> | 2009-07-13 10:06:09 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-07-13 10:06:09 +0200 |
commit | a41c726ede88bd70b0428481819097489d728bf3 (patch) | |
tree | 41cdbc8007207e8dc01650bc81c5585399b68920 /recipes | |
parent | ad99da239d8c5ea4f470e4572dc47c8c032d9627 (diff) | |
parent | 26bcb9945b54e6d849fe4905688758b5a8006389 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes')
22 files changed, 735 insertions, 115 deletions
diff --git a/recipes/linux/linux-2.6.29/tqm8540/defconfig b/recipes/linux/linux-2.6.29/tqm8540/defconfig index 3021ddcfe0..80a805ce77 100644 --- a/recipes/linux/linux-2.6.29/tqm8540/defconfig +++ b/recipes/linux/linux-2.6.29/tqm8540/defconfig @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.29-rc2 -# Mon Jan 26 15:36:19 2009 +# Linux kernel version: 2.6.29 +# Sun Jul 5 15:45:43 2009 # # CONFIG_PPC64 is not set @@ -75,6 +75,15 @@ CONFIG_SYSVIPC_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set + +# +# RCU Subsystem +# +CONFIG_CLASSIC_RCU=y +# CONFIG_TREE_RCU is not set +# CONFIG_PREEMPT_RCU is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=14 CONFIG_GROUP_SCHED=y @@ -91,6 +100,7 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y # CONFIG_KALLSYMS is not set @@ -98,10 +108,8 @@ CONFIG_SYSCTL_SYSCALL=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y -CONFIG_COMPAT_BRK=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y -CONFIG_ANON_INODES=y # CONFIG_EPOLL is not set CONFIG_SIGNALFD=y CONFIG_TIMERFD=y @@ -111,6 +119,7 @@ CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLOB is not set @@ -125,7 +134,12 @@ CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 -# CONFIG_MODULES is not set +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set @@ -144,11 +158,6 @@ CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" -CONFIG_CLASSIC_RCU=y -# CONFIG_TREE_RCU is not set -# CONFIG_PREEMPT_RCU is not set -# CONFIG_TREE_RCU_TRACE is not set -# CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_FREEZER is not set # @@ -350,13 +359,31 @@ CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_AF_RXRPC is not set # CONFIG_PHONET is not set CONFIG_WIRELESS=y -# CONFIG_CFG80211 is not set +CONFIG_CFG80211=m +# CONFIG_CFG80211_REG_DEBUG is not set +CONFIG_NL80211=y CONFIG_WIRELESS_OLD_REGULATORY=y CONFIG_WIRELESS_EXT=y -# CONFIG_LIB80211 is not set -# CONFIG_MAC80211 is not set +# CONFIG_WIRELESS_EXT_SYSFS is not set +CONFIG_LIB80211=m +# CONFIG_LIB80211_DEBUG is not set +CONFIG_MAC80211=m + +# +# Rate control algorithm selection +# +# CONFIG_MAC80211_RC_PID is not set +CONFIG_MAC80211_RC_MINSTREL=y +# CONFIG_MAC80211_RC_DEFAULT_PID is not set +CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y +CONFIG_MAC80211_RC_DEFAULT="minstrel" +CONFIG_MAC80211_MESH=y +CONFIG_MAC80211_LEDS=y +# CONFIG_MAC80211_DEBUG_MENU is not set # CONFIG_WIMAX is not set -# CONFIG_RFKILL is not set +CONFIG_RFKILL=m +CONFIG_RFKILL_INPUT=m +CONFIG_RFKILL_LEDS=y # CONFIG_NET_9P is not set # @@ -374,6 +401,7 @@ CONFIG_MTD=y # CONFIG_MTD_DEBUG is not set CONFIG_MTD_CONCAT=y CONFIG_MTD_PARTITIONS=y +# CONFIG_MTD_TESTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set CONFIG_MTD_CMDLINE_PARTS=y # CONFIG_MTD_OF_PARTS is not set @@ -448,7 +476,6 @@ CONFIG_MTD_CFI_UTIL=y # LPDDR flash memory drivers # # CONFIG_MTD_LPDDR is not set -# CONFIG_MTD_QINFO_PROBE is not set # # UBI - Unsorted block images @@ -477,13 +504,19 @@ CONFIG_BLK_DEV_RAM_SIZE=32768 # CONFIG_BLK_DEV_HD is not set CONFIG_MISC_DEVICES=y # CONFIG_PHANTOM is not set -# CONFIG_EEPROM_93CX6 is not set # CONFIG_SGI_IOC4 is not set # CONFIG_TIFM_CORE is not set # CONFIG_ICS932S401 is not set # CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_HP_ILO is not set # CONFIG_C2PORT is not set + +# +# EEPROM support +# +# CONFIG_EEPROM_AT24 is not set +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_93CX6 is not set CONFIG_HAVE_IDE=y CONFIG_IDE=y @@ -576,10 +609,10 @@ CONFIG_PHYLIB=y # # MII PHY device drivers # -# CONFIG_MARVELL_PHY is not set +CONFIG_MARVELL_PHY=y # CONFIG_DAVICOM_PHY is not set # CONFIG_QSEMI_PHY is not set -# CONFIG_LXT_PHY is not set +CONFIG_LXT_PHY=y # CONFIG_CICADA_PHY is not set # CONFIG_VITESSE_PHY is not set # CONFIG_SMSC_PHY is not set @@ -597,6 +630,7 @@ CONFIG_MII=y # CONFIG_SUNGEM is not set # CONFIG_CASSINI is not set # CONFIG_NET_VENDOR_3COM is not set +# CONFIG_DNET is not set # CONFIG_NET_TULIP is not set # CONFIG_HP100 is not set # CONFIG_IBM_NEW_EMAC_ZMII is not set @@ -648,6 +682,7 @@ CONFIG_GIANFAR=y # CONFIG_QLA3XXX is not set # CONFIG_ATL1 is not set # CONFIG_ATL1E is not set +# CONFIG_ATL1C is not set # CONFIG_JME is not set CONFIG_NETDEV_10000=y # CONFIG_CHELSIO_T1 is not set @@ -666,6 +701,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y # CONFIG_BNX2X is not set # CONFIG_QLGE is not set # CONFIG_SFC is not set +# CONFIG_BE2NET is not set # CONFIG_TR is not set # @@ -746,7 +782,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y # CONFIG_SERIAL_JSM is not set -# CONFIG_SERIAL_OF_PLATFORM is not set +CONFIG_SERIAL_OF_PLATFORM=y CONFIG_UNIX98_PTYS=y # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set CONFIG_LEGACY_PTYS=y @@ -755,8 +791,6 @@ CONFIG_LEGACY_PTY_COUNT=256 # CONFIG_IPMI_HANDLER is not set CONFIG_HW_RANDOM=y # CONFIG_NVRAM is not set -CONFIG_GEN_RTC=y -# CONFIG_GEN_RTC_X is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_RAW_DRIVER is not set @@ -811,13 +845,12 @@ CONFIG_I2C_MPC=y # Other I2C/SMBus bus drivers # # CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_STUB is not set # # Miscellaneous I2C Chip support # # CONFIG_DS1682 is not set -# CONFIG_EEPROM_AT24 is not set -# CONFIG_EEPROM_LEGACY is not set # CONFIG_SENSORS_PCF8574 is not set # CONFIG_PCF8575 is not set # CONFIG_SENSORS_PCA9539 is not set @@ -979,12 +1012,95 @@ CONFIG_USB_ARCH_HAS_EHCI=y # CONFIG_UWB is not set # CONFIG_MMC is not set # CONFIG_MEMSTICK is not set -# CONFIG_NEW_LEDS is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=m + +# +# LED drivers +# +# CONFIG_LEDS_PCA9532 is not set +# CONFIG_LEDS_PCA955X is not set + +# +# LED Triggers +# +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=m +# CONFIG_LEDS_TRIGGER_IDE_DISK is not set +CONFIG_LEDS_TRIGGER_HEARTBEAT=m +CONFIG_LEDS_TRIGGER_BACKLIGHT=m +CONFIG_LEDS_TRIGGER_DEFAULT_ON=m # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set # CONFIG_EDAC is not set -# CONFIG_RTC_CLASS is not set -# CONFIG_DMADEVICES is not set +CONFIG_RTC_LIB=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_HCTOSYS_DEVICE="rtc0" +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +CONFIG_RTC_INTF_PROC=y +CONFIG_RTC_INTF_DEV=y +CONFIG_RTC_INTF_DEV_UIE_EMUL=y +# CONFIG_RTC_DRV_TEST is not set + +# +# I2C RTC drivers +# +CONFIG_RTC_DRV_DS1307=y +# CONFIG_RTC_DRV_DS1374 is not set +# CONFIG_RTC_DRV_DS1672 is not set +# CONFIG_RTC_DRV_MAX6900 is not set +# CONFIG_RTC_DRV_RS5C372 is not set +# CONFIG_RTC_DRV_ISL1208 is not set +# CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8563 is not set +# CONFIG_RTC_DRV_PCF8583 is not set +# CONFIG_RTC_DRV_M41T80 is not set +# CONFIG_RTC_DRV_S35390A is not set +# CONFIG_RTC_DRV_FM3130 is not set +# CONFIG_RTC_DRV_RX8581 is not set + +# +# SPI RTC drivers +# + +# +# Platform RTC drivers +# +# CONFIG_RTC_DRV_CMOS is not set +# CONFIG_RTC_DRV_DS1286 is not set +# CONFIG_RTC_DRV_DS1511 is not set +# CONFIG_RTC_DRV_DS1553 is not set +# CONFIG_RTC_DRV_DS1742 is not set +# CONFIG_RTC_DRV_STK17TA8 is not set +# CONFIG_RTC_DRV_M48T86 is not set +# CONFIG_RTC_DRV_M48T35 is not set +# CONFIG_RTC_DRV_M48T59 is not set +# CONFIG_RTC_DRV_BQ4802 is not set +# CONFIG_RTC_DRV_V3020 is not set + +# +# on-CPU RTC drivers +# +CONFIG_RTC_DRV_PPC=y +CONFIG_DMADEVICES=y + +# +# DMA Devices +# +CONFIG_FSL_DMA=m +CONFIG_DMA_ENGINE=y + +# +# DMA Clients +# +CONFIG_NET_DMA=y +# CONFIG_DMATEST is not set # CONFIG_UIO is not set # CONFIG_STAGING is not set @@ -1174,12 +1290,20 @@ CONFIG_CRYPTO=y # Crypto core or helper # # CONFIG_CRYPTO_FIPS is not set -# CONFIG_CRYPTO_MANAGER is not set -# CONFIG_CRYPTO_MANAGER2 is not set +CONFIG_CRYPTO_ALGAPI=m +CONFIG_CRYPTO_ALGAPI2=m +CONFIG_CRYPTO_AEAD2=m +CONFIG_CRYPTO_BLKCIPHER=m +CONFIG_CRYPTO_BLKCIPHER2=m +CONFIG_CRYPTO_HASH2=m +CONFIG_CRYPTO_RNG2=m +CONFIG_CRYPTO_MANAGER=m +CONFIG_CRYPTO_MANAGER2=m # CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_NULL is not set # CONFIG_CRYPTO_CRYPTD is not set # CONFIG_CRYPTO_AUTHENC is not set +# CONFIG_CRYPTO_TEST is not set # # Authenticated Encryption with Associated Data @@ -1194,7 +1318,7 @@ CONFIG_CRYPTO=y # CONFIG_CRYPTO_CBC is not set # CONFIG_CRYPTO_CTR is not set # CONFIG_CRYPTO_CTS is not set -# CONFIG_CRYPTO_ECB is not set +CONFIG_CRYPTO_ECB=m # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_PCBC is not set # CONFIG_CRYPTO_XTS is not set @@ -1227,7 +1351,7 @@ CONFIG_CRYPTO=y # CONFIG_CRYPTO_AES=m # CONFIG_CRYPTO_ANUBIS is not set -# CONFIG_CRYPTO_ARC4 is not set +CONFIG_CRYPTO_ARC4=m # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set diff --git a/recipes/linux/linux-mainstone/0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch b/recipes/linux/linux-mainstone/0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch new file mode 100644 index 0000000000..9d7020d9f1 --- /dev/null +++ b/recipes/linux/linux-mainstone/0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch @@ -0,0 +1,15 @@ +Index: linux-2.6.24/include/linux/time.h +=================================================================== +--- a/include/linux/time.h ++++ b/include/linux/time.h +@@ -172,6 +172,10 @@ static inline void timespec_add_ns(struct timespec *a, u64 ns) + { + ns += a->tv_nsec; + while(unlikely(ns >= NSEC_PER_SEC)) { ++ /* The following asm() prevents the compiler from ++ * optimising this loop into a modulo operation. */ ++ asm("" : "+r"(ns)); ++ + ns -= NSEC_PER_SEC; + a->tv_sec++; + } diff --git a/recipes/linux/linux-mainstone_2.6.25.bb b/recipes/linux/linux-mainstone_2.6.25.bb index d9599ef76c..f2d972dd78 100644 --- a/recipes/linux/linux-mainstone_2.6.25.bb +++ b/recipes/linux/linux-mainstone_2.6.25.bb @@ -3,11 +3,12 @@ require linux.inc SECTION = "kernel" DESCRIPTION = "Linux kernel for the Mainstone (PXA270 ref design)" LICENSE = "GPL" -PR = "r0" +PR = "r1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/v2.6.25/patch-2.6.25-rc4.bz2;patch=1 \ file://mainstone-keypad.patch;patch=1 \ + file://0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch;patch=1 \ file://defconfig" S = "${WORKDIR}/linux-2.6.24" diff --git a/recipes/linux/linux_2.6.29.bb b/recipes/linux/linux_2.6.29.bb index 8f48dbcf3c..f1733ea197 100644 --- a/recipes/linux/linux_2.6.29.bb +++ b/recipes/linux/linux_2.6.29.bb @@ -1,6 +1,6 @@ require linux.inc -PR = "r6" +PR = "r7" S = "${WORKDIR}/linux-2.6.29" diff --git a/recipes/lowpan-tools/lowpan-tools_git.bb b/recipes/lowpan-tools/lowpan-tools_git.bb index 307984498e..78b6fa2792 100644 --- a/recipes/lowpan-tools/lowpan-tools_git.bb +++ b/recipes/lowpan-tools/lowpan-tools_git.bb @@ -1,16 +1,17 @@ DESCRIPTION = "LoWPAN utilities (IEEE802.15.4)" LICENSE = "GPL" -SRCREV = "28639544fa2496ae6f82ef300ffc9e6543c4bcd0" +SRCREV = "b30f459c9ef500b73043d105597f382ec4f53f1b" SRC_URI = "git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee;protocol=git" DEPENDS = "libnl bison-native flex-native" -PR = "r7" +PR = "r8" S = "${WORKDIR}/git" PACKAGES += "${PN}-tests-dbg" PACKAGES += "${PN}-tests" FILES_${PN} = "${sbindir}/iz ${sbindir}/izconfig \ ${bindir}/izchat ${bindir}/izlisten ${sbindir}/izcoordinator \ - ${sbindir}/izattach" + ${sbindir}/izattach ${libdir}/ip/link_wpan.so" +FILES_${PN}-dbg += "${libdir}/ip/.debug/link_wpan.so" FILES_${PN}-tests = "${libexecdir}/lowpan-tools ${libdir}/python*/site-packages" FILES_${PN}-tests-dbg = "${libexecdir}/lowpan-tools/.debug" diff --git a/recipes/pmount/pmount-0.9.18/gettext.patch b/recipes/pmount/pmount-0.9.18/gettext.patch index dbac93f6ba..a784e32440 100644 --- a/recipes/pmount/pmount-0.9.18/gettext.patch +++ b/recipes/pmount/pmount-0.9.18/gettext.patch @@ -1,7 +1,7 @@ -Index: pmount-0.9.17/src/pmount-hal.c +Index: pmount-0.9.18/src/pmount-hal.c =================================================================== ---- pmount-0.9.17.orig/src/pmount-hal.c 2007-07-01 13:58:49.000000000 +0200 -+++ pmount-0.9.17/src/pmount-hal.c 2008-10-08 23:39:20.970178412 +0200 +--- pmount-0.9.18.orig/src/pmount-hal.c 2008-10-09 23:19:46.000000000 +0200 ++++ pmount-0.9.18/src/pmount-hal.c 2009-07-12 17:16:00.719122863 +0200 @@ -16,7 +16,6 @@ #include <dirent.h> #include <sys/stat.h> @@ -10,54 +10,77 @@ Index: pmount-0.9.17/src/pmount-hal.c #include <libhal-storage.h> #include "policy.h" -@@ -26,7 +25,12 @@ - #include "realpath.h" +@@ -25,9 +24,6 @@ - /* gettext abbreviation */ -+#ifdef ENABLE_NLS -+#include <libintl.h> - #define _(String) gettext(String) -+#else -+#define _(String) (String) -+#endif + #include "realpath.h" +-/* gettext abbreviation */ +-#define _(String) gettext(String) +- void help() { puts( _( -@@ -196,10 +200,12 @@ - char *dmask = NULL; - char *iocharset = NULL; + "pmount-hal - execute pmount with additional information from hal\n\n" +@@ -198,8 +194,8 @@ -+#ifdef ENABLE_NLS /* initialize locale */ setlocale( LC_ALL, "" ); - bindtextdomain( "pmount", NULL ); - textdomain( "pmount" ); -+#endif +- bindtextdomain( "pmount", NULL ); +- textdomain( "pmount" ); ++ bindtextdomain(PACKAGE, NULL ); ++ textdomain(PACKAGE); if( argc < 2 ) { help(); -Index: pmount-0.9.17/src/utils.h +Index: pmount-0.9.18/src/utils.h =================================================================== ---- pmount-0.9.17.orig/src/utils.h 2007-07-07 09:05:06.000000000 +0200 -+++ pmount-0.9.17/src/utils.h 2008-10-08 23:19:09.515475595 +0200 -@@ -12,7 +12,12 @@ +--- pmount-0.9.18.orig/src/utils.h 2008-10-09 23:19:46.000000000 +0200 ++++ pmount-0.9.18/src/utils.h 2009-07-12 17:23:01.384780369 +0200 +@@ -12,8 +12,31 @@ #define __utils_h /* gettext abbreviation */ +#ifdef ENABLE_NLS ++ +#include <libintl.h> ++ #define _(String) gettext(String) + ++#ifdef gettext_noop ++#define N_(String) gettext_noop(String) +#else -+#define _(String) (String) ++#define N_(String) (String) +#endif - ++ ++#else /* NLS is disabled */ ++ ++#define _(String) (String) ++#define N_(String) (String) ++#define textdomain(String) (String) ++#define gettext(String) (String) ++#define dgettext(Domain,String) (String) ++#define dcgettext(Domain,String,Type) (String) ++#define bindtextdomain(Domain,Directory) (Domain) ++#define bind_textdomain_codeset(Domain,Codeset) (Codeset) ++ ++#endif /* ENABLE_NLS */ ++ /* global flag whether to print debug messages (false by default) */ extern int enable_debug; -Index: pmount-0.9.17/configure.ac + +Index: pmount-0.9.18/configure.ac =================================================================== ---- pmount-0.9.17.orig/configure.ac 2007-12-14 20:27:23.000000000 +0100 -+++ pmount-0.9.17/configure.ac 2008-10-08 23:19:09.598820915 +0200 -@@ -77,10 +77,7 @@ +--- pmount-0.9.18.orig/configure.ac 2008-10-18 21:02:18.000000000 +0200 ++++ pmount-0.9.18/configure.ac 2009-07-12 17:16:00.719122863 +0200 +@@ -5,8 +5,6 @@ + AC_CONFIG_SRCDIR(src) + AM_INIT_AUTOMAKE(pmount, 0.9.18) + +-AC_PROG_INTLTOOL([0.21]) +- + AM_MAINTAINER_MODE + AC_ISC_POSIX + AC_HEADER_STDC +@@ -77,10 +75,13 @@ fi AM_CONDITIONAL(PMOUNT_HAL, test -n "$BUILD_HAL") @@ -65,69 +88,110 @@ Index: pmount-0.9.17/configure.ac -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) -AM_GLIB_GNU_GETTEXT ++ ++IT_PROG_INTLTOOL([0.21]) ++GETTEXT_PACKAGE=$PACKAGE ++AC_SUBST([GETTEXT_PACKAGE]) ++AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) +AM_GNU_GETTEXT([external]) ++AM_GNU_GETTEXT_VERSION([0.17]) AC_OUTPUT([ Makefile -Index: pmount-0.9.17/src/pmount.c +Index: pmount-0.9.18/src/pmount.c =================================================================== ---- pmount-0.9.17.orig/src/pmount.c 2008-10-08 23:36:44.452037557 +0200 -+++ pmount-0.9.17/src/pmount.c 2008-10-08 23:37:38.778816969 +0200 -@@ -21,9 +21,12 @@ +--- pmount-0.9.18.orig/src/pmount.c 2008-10-18 20:49:54.000000000 +0200 ++++ pmount-0.9.18/src/pmount.c 2009-07-12 17:16:00.722456315 +0200 +@@ -21,7 +21,6 @@ #include <errno.h> #include <locale.h> #include <langinfo.h> -#include <libintl.h> #include <sys/stat.h> -+#ifdef ENABLE_NLS -+#include <libintl.h> -+#endif -+ #include "fs.h" - #include "policy.h" - #include "utils.h" -@@ -619,10 +622,12 @@ - { NULL, 0, NULL, 0} - }; +@@ -652,8 +651,8 @@ -+#ifdef ENABLE_NLS /* initialize locale */ setlocale( LC_ALL, "" ); - bindtextdomain( "pmount", NULL ); - textdomain( "pmount" ); -+#endif +- bindtextdomain( "pmount", NULL ); +- textdomain( "pmount" ); ++ bindtextdomain(PACKAGE, NULL ); ++ textdomain(PACKAGE); /* If pmount is run without a single argument, print out the list of removable devices. Does not require root privileges, just read access -Index: pmount-0.9.17/src/pumount.c +Index: pmount-0.9.18/src/pumount.c =================================================================== ---- pmount-0.9.17.orig/src/pumount.c 2008-10-08 23:38:21.122028300 +0200 -+++ pmount-0.9.17/src/pumount.c 2008-10-08 23:38:47.972023678 +0200 -@@ -16,9 +16,12 @@ +--- pmount-0.9.18.orig/src/pumount.c 2008-10-09 23:19:46.000000000 +0200 ++++ pmount-0.9.18/src/pumount.c 2009-07-12 17:16:00.722456315 +0200 +@@ -16,9 +16,9 @@ #include <sys/wait.h> #include <limits.h> #include <getopt.h> -#include <libintl.h> #include <locale.h> -+#ifdef ENABLE_NLS -+#include <libintl.h> -+#endif + #include "policy.h" #include "utils.h" #include "luks.h" -@@ -172,10 +175,12 @@ - { NULL, 0, NULL, 0} - }; +@@ -174,8 +174,8 @@ -+#ifdef ENABLE_NLS /* initialize locale */ setlocale( LC_ALL, "" ); - bindtextdomain( "pmount", NULL ); - textdomain( "pmount" ); -+#endif +- bindtextdomain( "pmount", NULL ); +- textdomain( "pmount" ); ++ bindtextdomain(PACKAGE, NULL ); ++ textdomain(PACKAGE); /* are we root? */ if( geteuid() ) { +Index: pmount-0.9.18/src/luks.c +=================================================================== +--- pmount-0.9.18.orig/src/luks.c 2009-07-12 17:17:45.278704656 +0200 ++++ pmount-0.9.18/src/luks.c 2009-07-12 17:17:49.627119155 +0200 +@@ -14,7 +14,6 @@ + #include <stdio.h> + #include <limits.h> + #include <sys/stat.h> +-#include <libintl.h> + + enum decrypt_status + luks_decrypt( const char* device, char* decrypted, int decrypted_size, +Index: pmount-0.9.18/src/policy.c +=================================================================== +--- pmount-0.9.18.orig/src/policy.c 2009-07-12 17:17:55.502449663 +0200 ++++ pmount-0.9.18/src/policy.c 2009-07-12 17:18:03.200672861 +0200 +@@ -18,7 +18,6 @@ + #include <stdlib.h> + #include <errno.h> + #include <dirent.h> +-#include <libintl.h> + #include <sys/stat.h> + #include <sysfs/libsysfs.h> + #include <regex.h> +Index: pmount-0.9.18/src/realpath.c +=================================================================== +--- pmount-0.9.18.orig/src/realpath.c 2009-07-12 17:18:27.354526224 +0200 ++++ pmount-0.9.18/src/realpath.c 2009-07-12 17:18:32.256256916 +0200 +@@ -31,7 +31,6 @@ + #include <errno.h> + #include <stdio.h> + #include "realpath.h" +-#include <libintl.h> + #include "utils.h" + + #define MAX_READLINKS 32 +Index: pmount-0.9.18/src/utils.c +=================================================================== +--- pmount-0.9.18.orig/src/utils.c 2009-07-12 17:18:09.718277410 +0200 ++++ pmount-0.9.18/src/utils.c 2009-07-12 17:18:13.935179014 +0200 +@@ -21,7 +21,6 @@ + #include <unistd.h> + #include <fcntl.h> + #include <signal.h> +-#include <libintl.h> + + /* File name used to tag directories created by pmount */ + #define CREATED_DIR_STAMP ".created_by_pmount" diff --git a/recipes/pmount/pmount-0.9.19/gettext.patch b/recipes/pmount/pmount-0.9.19/gettext.patch new file mode 100644 index 0000000000..a784e32440 --- /dev/null +++ b/recipes/pmount/pmount-0.9.19/gettext.patch @@ -0,0 +1,197 @@ +Index: pmount-0.9.18/src/pmount-hal.c +=================================================================== +--- pmount-0.9.18.orig/src/pmount-hal.c 2008-10-09 23:19:46.000000000 +0200 ++++ pmount-0.9.18/src/pmount-hal.c 2009-07-12 17:16:00.719122863 +0200 +@@ -16,7 +16,6 @@ + #include <dirent.h> + #include <sys/stat.h> + #include <locale.h> +-#include <libintl.h> + #include <libhal-storage.h> + + #include "policy.h" +@@ -25,9 +24,6 @@ + + #include "realpath.h" + +-/* gettext abbreviation */ +-#define _(String) gettext(String) +- + void help() { + puts( _( + "pmount-hal - execute pmount with additional information from hal\n\n" +@@ -198,8 +194,8 @@ + + /* initialize locale */ + setlocale( LC_ALL, "" ); +- bindtextdomain( "pmount", NULL ); +- textdomain( "pmount" ); ++ bindtextdomain(PACKAGE, NULL ); ++ textdomain(PACKAGE); + + if( argc < 2 ) { + help(); +Index: pmount-0.9.18/src/utils.h +=================================================================== +--- pmount-0.9.18.orig/src/utils.h 2008-10-09 23:19:46.000000000 +0200 ++++ pmount-0.9.18/src/utils.h 2009-07-12 17:23:01.384780369 +0200 +@@ -12,8 +12,31 @@ + #define __utils_h + + /* gettext abbreviation */ ++#ifdef ENABLE_NLS ++ ++#include <libintl.h> ++ + #define _(String) gettext(String) + ++#ifdef gettext_noop ++#define N_(String) gettext_noop(String) ++#else ++#define N_(String) (String) ++#endif ++ ++#else /* NLS is disabled */ ++ ++#define _(String) (String) ++#define N_(String) (String) ++#define textdomain(String) (String) ++#define gettext(String) (String) ++#define dgettext(Domain,String) (String) ++#define dcgettext(Domain,String,Type) (String) ++#define bindtextdomain(Domain,Directory) (Domain) ++#define bind_textdomain_codeset(Domain,Codeset) (Codeset) ++ ++#endif /* ENABLE_NLS */ ++ + /* global flag whether to print debug messages (false by default) */ + extern int enable_debug; + +Index: pmount-0.9.18/configure.ac +=================================================================== +--- pmount-0.9.18.orig/configure.ac 2008-10-18 21:02:18.000000000 +0200 ++++ pmount-0.9.18/configure.ac 2009-07-12 17:16:00.719122863 +0200 +@@ -5,8 +5,6 @@ + AC_CONFIG_SRCDIR(src) + AM_INIT_AUTOMAKE(pmount, 0.9.18) + +-AC_PROG_INTLTOOL([0.21]) +- + AM_MAINTAINER_MODE + AC_ISC_POSIX + AC_HEADER_STDC +@@ -77,10 +75,13 @@ + fi + AM_CONDITIONAL(PMOUNT_HAL, test -n "$BUILD_HAL") + +-GETTEXT_PACKAGE="pmount" +-AC_SUBST(GETTEXT_PACKAGE) +-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) +-AM_GLIB_GNU_GETTEXT ++ ++IT_PROG_INTLTOOL([0.21]) ++GETTEXT_PACKAGE=$PACKAGE ++AC_SUBST([GETTEXT_PACKAGE]) ++AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) ++AM_GNU_GETTEXT([external]) ++AM_GNU_GETTEXT_VERSION([0.17]) + + AC_OUTPUT([ + Makefile +Index: pmount-0.9.18/src/pmount.c +=================================================================== +--- pmount-0.9.18.orig/src/pmount.c 2008-10-18 20:49:54.000000000 +0200 ++++ pmount-0.9.18/src/pmount.c 2009-07-12 17:16:00.722456315 +0200 +@@ -21,7 +21,6 @@ + #include <errno.h> + #include <locale.h> + #include <langinfo.h> +-#include <libintl.h> + #include <sys/stat.h> + + #include "fs.h" +@@ -652,8 +651,8 @@ + + /* initialize locale */ + setlocale( LC_ALL, "" ); +- bindtextdomain( "pmount", NULL ); +- textdomain( "pmount" ); ++ bindtextdomain(PACKAGE, NULL ); ++ textdomain(PACKAGE); + + /* If pmount is run without a single argument, print out the list + of removable devices. Does not require root privileges, just read access +Index: pmount-0.9.18/src/pumount.c +=================================================================== +--- pmount-0.9.18.orig/src/pumount.c 2008-10-09 23:19:46.000000000 +0200 ++++ pmount-0.9.18/src/pumount.c 2009-07-12 17:16:00.722456315 +0200 +@@ -16,9 +16,9 @@ + #include <sys/wait.h> + #include <limits.h> + #include <getopt.h> +-#include <libintl.h> + #include <locale.h> + ++ + #include "policy.h" + #include "utils.h" + #include "luks.h" +@@ -174,8 +174,8 @@ + + /* initialize locale */ + setlocale( LC_ALL, "" ); +- bindtextdomain( "pmount", NULL ); +- textdomain( "pmount" ); ++ bindtextdomain(PACKAGE, NULL ); ++ textdomain(PACKAGE); + + /* are we root? */ + if( geteuid() ) { +Index: pmount-0.9.18/src/luks.c +=================================================================== +--- pmount-0.9.18.orig/src/luks.c 2009-07-12 17:17:45.278704656 +0200 ++++ pmount-0.9.18/src/luks.c 2009-07-12 17:17:49.627119155 +0200 +@@ -14,7 +14,6 @@ + #include <stdio.h> + #include <limits.h> + #include <sys/stat.h> +-#include <libintl.h> + + enum decrypt_status + luks_decrypt( const char* device, char* decrypted, int decrypted_size, +Index: pmount-0.9.18/src/policy.c +=================================================================== +--- pmount-0.9.18.orig/src/policy.c 2009-07-12 17:17:55.502449663 +0200 ++++ pmount-0.9.18/src/policy.c 2009-07-12 17:18:03.200672861 +0200 +@@ -18,7 +18,6 @@ + #include <stdlib.h> + #include <errno.h> + #include <dirent.h> +-#include <libintl.h> + #include <sys/stat.h> + #include <sysfs/libsysfs.h> + #include <regex.h> +Index: pmount-0.9.18/src/realpath.c +=================================================================== +--- pmount-0.9.18.orig/src/realpath.c 2009-07-12 17:18:27.354526224 +0200 ++++ pmount-0.9.18/src/realpath.c 2009-07-12 17:18:32.256256916 +0200 +@@ -31,7 +31,6 @@ + #include <errno.h> + #include <stdio.h> + #include "realpath.h" +-#include <libintl.h> + #include "utils.h" + + #define MAX_READLINKS 32 +Index: pmount-0.9.18/src/utils.c +=================================================================== +--- pmount-0.9.18.orig/src/utils.c 2009-07-12 17:18:09.718277410 +0200 ++++ pmount-0.9.18/src/utils.c 2009-07-12 17:18:13.935179014 +0200 +@@ -21,7 +21,6 @@ + #include <unistd.h> + #include <fcntl.h> + #include <signal.h> +-#include <libintl.h> + + /* File name used to tag directories created by pmount */ + #define CREATED_DIR_STAMP ".created_by_pmount" diff --git a/recipes/pmount/pmount-0.9.19/install.patch b/recipes/pmount/pmount-0.9.19/install.patch new file mode 100644 index 0000000000..b02942a591 --- /dev/null +++ b/recipes/pmount/pmount-0.9.19/install.patch @@ -0,0 +1,15 @@ +Index: pmount-0.9.17/src/Makefile.am +=================================================================== +--- pmount-0.9.17.orig/src/Makefile.am 2008-10-09 01:22:41.668067209 +0200 ++++ pmount-0.9.17/src/Makefile.am 2008-10-09 01:23:22.144725902 +0200 +@@ -36,8 +36,8 @@ + + install-data-hook: + test -z $(INSTALL_DIR) || mkdir -p -- $(INSTALL_DIR) +- $(INSTALL_DATA) -o root -g root -m 4755 -D $(INSTALL_SRC)/pmount $(INSTALL_DIR)/pmount +- $(INSTALL_DATA) -o root -g root -m 4755 -D $(INSTALL_SRC)/pumount $(INSTALL_DIR)/pumount ++ $(INSTALL_DATA) -m 4755 -D $(INSTALL_SRC)/pmount $(INSTALL_DIR)/pmount ++ $(INSTALL_DATA) -m 4755 -D $(INSTALL_SRC)/pumount $(INSTALL_DIR)/pumount + + uninstall-hook: + rm -f $(INSTALL_DIR)/pmount diff --git a/recipes/pmount/pmount_0.9.18.bb b/recipes/pmount/pmount_0.9.18.bb index 26770b33a9..71a823e698 100644 --- a/recipes/pmount/pmount_0.9.18.bb +++ b/recipes/pmount/pmount_0.9.18.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Policy based mounter that gives the ability to mount removable devices as a user" HOMEPAGE = "http://pmount.alioth.debian.org/" LICENSE = "GPLv2" -PR = "r0" +PR = "r1" DEPENDS = "hal e2fsprogs-libs sysfsutils" RDEPENDS_${PN}-hal = "${PN}" diff --git a/recipes/pmount/pmount_0.9.19.bb b/recipes/pmount/pmount_0.9.19.bb new file mode 100644 index 0000000000..2bab217a29 --- /dev/null +++ b/recipes/pmount/pmount_0.9.19.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Policy based mounter that gives the ability to mount removable devices as a user" +HOMEPAGE = "http://pmount.alioth.debian.org/" +LICENSE = "GPLv2" +PR = "r0" + +DEPENDS = "hal e2fsprogs-libs" +RDEPENDS_${PN}-hal = "${PN}" +RRECOMMENDS_${PN}-hal = "hal" + +SRC_URI = "https://alioth.debian.org/frs/download.php/2867/pmount-0.9.19.tar.gz \ + file://gettext.patch;patch=1 \ + file://install.patch;patch=1 \ + " + +inherit autotools gettext + +EXTRA_OECONF = "--enable-hal" + +PACKAGES =+ "${PN}-hal" + +FILES_${PN}-hal = "${bindir}/pmount-hal" + diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/fixbluezbuild.patch b/recipes/pulseaudio/pulseaudio-0.9.15/fixbluezbuild.patch new file mode 100644 index 0000000000..d817a62b4d --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.15/fixbluezbuild.patch @@ -0,0 +1,13 @@ +Index: pulseaudio-0.9.15/src/Makefile.am +=================================================================== +--- pulseaudio-0.9.15.orig/src/Makefile.am 2009-07-07 22:04:21.313945421 +0200 ++++ pulseaudio-0.9.15/src/Makefile.am 2009-07-07 22:04:32.503184920 +0200 +@@ -1534,7 +1534,7 @@ + + libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h + libbluetooth_ipc_la_LDFLAGS = -avoid-version +-libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la ++libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS) + BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h + diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/gettext.patch b/recipes/pulseaudio/pulseaudio-0.9.15/gettext.patch new file mode 100644 index 0000000000..8727b9819b --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.15/gettext.patch @@ -0,0 +1,140 @@ +Index: pulseaudio-0.9.15/configure.ac +=================================================================== +--- pulseaudio-0.9.15.orig/configure.ac 2009-07-11 20:20:45.430959569 +0200 ++++ pulseaudio-0.9.15/configure.ac 2009-07-11 20:22:47.488992720 +0200 +@@ -460,15 +460,15 @@ + # Check for open64 to know if the current system does have open64() and similar functions + AC_CHECK_FUNCS([open64]) + +-#### [lib]iconv #### ++#### localization support #### + + AM_ICONV +- +-IT_PROG_INTLTOOL([0.35.0]) +-GETTEXT_PACKAGE=pulseaudio ++IT_PROG_INTLTOOL([0.37.0]) ++GETTEXT_PACKAGE=$PACKAGE + AC_SUBST([GETTEXT_PACKAGE]) + AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) +-AM_GLIB_GNU_GETTEXT ++AM_GNU_GETTEXT([external]) ++AM_GNU_GETTEXT_VERSION([0.17]) + + pulselocaledir='${prefix}/${DATADIRNAME}/locale' + AC_SUBST(pulselocaledir) +Index: pulseaudio-0.9.15/src/pulse/i18n.h +=================================================================== +--- pulseaudio-0.9.15.orig/src/pulse/i18n.h 2009-07-11 20:20:45.437631408 +0200 ++++ pulseaudio-0.9.15/src/pulse/i18n.h 2009-07-11 20:20:50.116383023 +0200 +@@ -28,15 +28,13 @@ + + PA_C_DECL_BEGIN + +-#if !defined(GETTEXT_PACKAGE) +-#error "Something is very wrong here, config.h needs to be included first" +-#endif ++ + + #ifdef ENABLE_NLS + + #include <libintl.h> + +-#define _(String) dgettext(GETTEXT_PACKAGE, String) ++#define _(String) dgettext(PACKAGE, String) + #ifdef gettext_noop + #define N_(String) gettext_noop(String) + #else +Index: pulseaudio-0.9.15/src/pulse/i18n.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/pulse/i18n.c 2009-07-11 20:20:45.444294874 +0200 ++++ pulseaudio-0.9.15/src/pulse/i18n.c 2009-07-11 20:20:50.116383023 +0200 +@@ -31,8 +31,8 @@ + + PA_ONCE_BEGIN { + +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); +- bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); ++ bind_textdomain_codeset(PACKAGE, "UTF-8"); + + } PA_ONCE_END; + } +Index: pulseaudio-0.9.15/src/utils/pacat.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/utils/pacat.c 2009-07-11 20:20:45.450959436 +0200 ++++ pulseaudio-0.9.15/src/utils/pacat.c 2009-07-11 20:20:50.116383023 +0200 +@@ -588,7 +588,7 @@ + }; + + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); + + if (!(bn = strrchr(argv[0], '/'))) + bn = argv[0]; +Index: pulseaudio-0.9.15/src/utils/pacmd.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/utils/pacmd.c 2009-07-11 20:20:45.457628031 +0200 ++++ pulseaudio-0.9.15/src/utils/pacmd.c 2009-07-11 20:20:50.116383023 +0200 +@@ -53,7 +53,7 @@ + pa_bool_t ibuf_eof, obuf_eof, ibuf_closed, obuf_closed; + + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); + + if (pa_pid_file_check_running(&pid, "pulseaudio") < 0) { + pa_log("No PulseAudio daemon running, or not running as session daemon."); +Index: pulseaudio-0.9.15/src/utils/pactl.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/utils/pactl.c 2009-07-11 20:20:45.464297385 +0200 ++++ pulseaudio-0.9.15/src/utils/pactl.c 2009-07-11 20:20:50.116383023 +0200 +@@ -808,7 +808,7 @@ + }; + + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); + + if (!(bn = strrchr(argv[0], '/'))) + bn = argv[0]; +Index: pulseaudio-0.9.15/src/utils/paplay.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/utils/paplay.c 2009-07-11 20:20:45.470968508 +0200 ++++ pulseaudio-0.9.15/src/utils/paplay.c 2009-07-11 20:20:50.116383023 +0200 +@@ -236,7 +236,7 @@ + }; + + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); + + if (!(bn = strrchr(argv[0], '/'))) + bn = argv[0]; +Index: pulseaudio-0.9.15/src/utils/pasuspender.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/utils/pasuspender.c 2009-07-11 20:20:45.477632683 +0200 ++++ pulseaudio-0.9.15/src/utils/pasuspender.c 2009-07-11 20:20:50.116383023 +0200 +@@ -233,7 +233,7 @@ + }; + + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); + + if (!(bn = strrchr(argv[0], '/'))) + bn = argv[0]; +Index: pulseaudio-0.9.15/src/utils/pax11publish.c +=================================================================== +--- pulseaudio-0.9.15.orig/src/utils/pax11publish.c 2009-07-11 20:20:45.487631479 +0200 ++++ pulseaudio-0.9.15/src/utils/pax11publish.c 2009-07-11 20:20:50.116383023 +0200 +@@ -50,7 +50,7 @@ + enum { DUMP, EXPORT, IMPORT, REMOVE } mode = DUMP; + + setlocale(LC_ALL, ""); +- bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); ++ bindtextdomain(PACKAGE, PULSE_LOCALEDIR); + + while ((c = getopt(argc, argv, "deiD:S:O:I:c:hr")) != -1) { + switch (c) { diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/tls_m4.patch b/recipes/pulseaudio/pulseaudio-0.9.15/tls_m4.patch new file mode 100644 index 0000000000..7b333e3df9 --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.15/tls_m4.patch @@ -0,0 +1,30 @@ +Index: pulseaudio-0.9.15/m4/tls.m4 +=================================================================== +--- pulseaudio-0.9.15.orig/m4/tls.m4 2008-08-19 23:25:02.000000000 +0200 ++++ pulseaudio-0.9.15/m4/tls.m4 2009-07-10 09:55:25.266365511 +0200 +@@ -1,12 +1,19 @@ + AC_DEFUN([CC_CHECK_TLS], [ + AC_CACHE_CHECK([whether $CC knows __thread for Thread-Local Storage], + cc_cv_tls___thread, +- [AC_COMPILE_IFELSE( +- AC_LANG_PROGRAM( +- [[static __thread int a = 6;]], +- [[a = 5;]]), +- [cc_cv_tls___thread=yes], +- [cc_cv_tls___thread=no]) ++ [AC_LINK_IFELSE([__thread int a; int b; int main() { return a = b; }], ++ [chktls_save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" ++ chktls_save_CFLAGS="$CFLAGS" ++ CFLAGS="-fPIC $CFLAGS" ++ dnl If -shared works, test if TLS works in a shared library. ++ AC_LINK_IFELSE([int f() { return 0; }], ++ AC_LINK_IFELSE([__thread int a; int b; int f() { return a = b; }], ++ [cc_cv_tls___thread=yes], ++ [cc_cv_tls___thread=no]), ++ [cc_cv_tls___thread=yes]) ++ CFLAGS="$chktls_save_CFLAGS" ++ LDFLAGS="$chktls_save_LDFLAGS"], [cc_cv_tls___thread=no]) + ]) + + AS_IF([test "x$cc_cv_tls___thread" = "xyes"], diff --git a/recipes/pulseaudio/pulseaudio_0.9.15.bb b/recipes/pulseaudio/pulseaudio_0.9.15.bb index 4b16b474d2..639e449ccb 100644 --- a/recipes/pulseaudio/pulseaudio_0.9.15.bb +++ b/recipes/pulseaudio/pulseaudio_0.9.15.bb @@ -1,7 +1,9 @@ require pulseaudio.inc DEPENDS += "gdbm speex" -PR = "${INC_PR}.1" +PR = "${INC_PR}.4" + +inherit gettext SRC_URI += "\ file://buildfix.patch;patch=1 \ @@ -9,6 +11,9 @@ SRC_URI += "\ file://periodfix.patch;patch=1 \ file://fallback.patch;patch=1 \ file://autoconf_version.patch;patch=1 \ + file://gettext.patch;patch=1 \ + file://fixbluezbuild.patch;patch=1 \ + file://tls_m4.patch;patch=1 \ " do_compile_prepend() { diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc index 427bbaecb4..42e2726e5a 100644 --- a/recipes/qt4/qt4.inc +++ b/recipes/qt4/qt4.inc @@ -110,7 +110,7 @@ do_configure() { cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf mkspecs/common/ echo "[Paths]" > $QT_CONF_PATH - echo "Prefix=${prefix}" >> $QT_CONF_PATH + echo "Prefix=${prefix}/" >> $QT_CONF_PATH echo "Documentation=${docdir}/${QT_DIR_NAME}" >> $QT_CONF_PATH echo "Headers=${includedir}/${QT_DIR_NAME}" >> $QT_CONF_PATH echo "Libraries=${libdir}" >> $QT_CONF_PATH @@ -125,7 +125,7 @@ do_configure() { ${EXTRA_QMAKE_MUNGE}|| true (echo o; echo yes) | ./configure -v \ - -prefix ${prefix} \ + -prefix ${prefix}/ \ -bindir ${bindir} \ -libdir ${libdir} \ -datadir ${datadir}/${QT_DIR_NAME} \ diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc index 55cff83b7e..3c723664d3 100644 --- a/recipes/uclibc/uclibc.inc +++ b/recipes/uclibc/uclibc.inc @@ -69,8 +69,9 @@ UCLIBC_LOCALE_URI = "http://www.uclibc.org/downloads/${UCLIBC_LOCALE_FILE}" UCLIBC_LOCALE_URI_arm = "http://wiki.openembedded.net/dl/uclibc-locale/${UCLIBC_LOCALE_FILE}" SRC_URI = "${@['${UCLIBC_LOCALE_URI}', ''][bb.data.getVar('USE_NLS', d, 1) != 'yes']} \ - file://uClibc.config" - + file://uClibc.config \ + http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2 \ + " UCLIBC_STAGE_PREFIX = "${STAGING_DIR_HOST}${layout_prefix}" # do_stage barfs on a CC with whitepspace, therefore put the 'HOST_CC_ARCH' in diff --git a/recipes/uclibc/uclibc_0.9.26.bb b/recipes/uclibc/uclibc_0.9.26.bb index add217efb0..71fb7eb753 100644 --- a/recipes/uclibc/uclibc_0.9.26.bb +++ b/recipes/uclibc/uclibc_0.9.26.bb @@ -2,8 +2,9 @@ PR = "r12" require uclibc.inc -SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2 \ - file://26headers.patch;patch=1 \ - file://nokernelheadercheck.patch;patch=1 \ - file://dyn-ldconfig.patch;patch=1" +SRC_URI += "file://26headers.patch;patch=1 \ + file://nokernelheadercheck.patch;patch=1 \ + file://dyn-ldconfig.patch;patch=1 \ + " + S = "${WORKDIR}/uClibc-${PV}" diff --git a/recipes/uclibc/uclibc_0.9.27.bb b/recipes/uclibc/uclibc_0.9.27.bb index 56575da4ac..7a9976d1d8 100644 --- a/recipes/uclibc/uclibc_0.9.27.bb +++ b/recipes/uclibc/uclibc_0.9.27.bb @@ -11,8 +11,7 @@ require uclibc.inc PATCH_ipc_h ?= "" PATCH_ipc_h_ixp4xx = "file://kernel-key-t-ipc.h.patch;patch=1" -SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2 \ - file://dyn-ldconfig.patch;patch=1 \ +SRC_URI += "file://dyn-ldconfig.patch;patch=1 \ file://nokernelheadercheck.patch;patch=1" SRC_URI += " file://armeb-kernel-stat.h.patch;patch=1" SRC_URI += "${PATCH_ipc_h}" diff --git a/recipes/uclibc/uclibc_0.9.28.bb b/recipes/uclibc/uclibc_0.9.28.bb index adf7a7400a..8ad4343313 100644 --- a/recipes/uclibc/uclibc_0.9.28.bb +++ b/recipes/uclibc/uclibc_0.9.28.bb @@ -9,8 +9,6 @@ require uclibc.inc KERNEL_SOURCE = "${STAGING_DIR_HOST}/${exec_prefix}" PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" -SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2" - S = "${WORKDIR}/uClibc-${PV}" #*** PATCHES *** diff --git a/recipes/uclibc/uclibc_0.9.29.bb b/recipes/uclibc/uclibc_0.9.29.bb index f6bc68902d..de98a637c9 100644 --- a/recipes/uclibc/uclibc_0.9.29.bb +++ b/recipes/uclibc/uclibc_0.9.29.bb @@ -39,6 +39,4 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" #however: we can't depend on virtual/kernel when nptl hits due to depends deadlocking .... KERNEL_SOURCE = "${STAGING_DIR_HOST}/${exec_prefix}" -SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2" - S = "${WORKDIR}/uClibc-${UCLIBC_BASE}" diff --git a/recipes/uclibc/uclibc_0.9.30.1.bb b/recipes/uclibc/uclibc_0.9.30.1.bb index dbdcbb6740..3ddaad4ab6 100644 --- a/recipes/uclibc/uclibc_0.9.30.1.bb +++ b/recipes/uclibc/uclibc_0.9.30.1.bb @@ -28,6 +28,4 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" #however: we can't depend on virtual/kernel when nptl hits due to depends deadlocking .... KERNEL_SOURCE = "${STAGING_DIR_HOST}/${exec_prefix}" -SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2" - S = "${WORKDIR}/uClibc-${UCLIBC_BASE}" diff --git a/recipes/uclibc/uclibc_0.9.30.bb b/recipes/uclibc/uclibc_0.9.30.bb index 317edf03a9..1337da9b94 100644 --- a/recipes/uclibc/uclibc_0.9.30.bb +++ b/recipes/uclibc/uclibc_0.9.30.bb @@ -29,6 +29,4 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" #however: we can't depend on virtual/kernel when nptl hits due to depends deadlocking .... KERNEL_SOURCE = "${STAGING_DIR_HOST}/${exec_prefix}" -SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2" - S = "${WORKDIR}/uClibc-${UCLIBC_BASE}" |