Compare commits

...

30 Commits

Author SHA1 Message Date
Peter Korsgaard
f3e79a7aae Update for 2011.02
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 21:54:22 +01:00
Peter Korsgaard
42daeb7241 qt: qt3 compatibility needs gui support
Closes #2911

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 21:46:05 +01:00
Peter Korsgaard
910a54002b xerces: disable parallel builds
The build system has a race condition causing build failure with high
BR2_JLEVEL values, so ensure make -j1 is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 17:18:16 +01:00
Peter Korsgaard
da8700c1bd CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 16:11:02 +01:00
Gustavo Zacarias
3f6aa3ec56 ffmpeg: disable mmx for low end x86-type processors
ffmpeg enables mmx by default for x86-class processors, so disable it for
processors that lack it (i386, i486, i586, i686, pentium pro, geode).
Solves bug #3325

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 16:08:55 +01:00
Peter Korsgaard
dfee7243c6 avahi: fix avahi access through dbus
Ensure that the avahi dbus service gets installed if dbus support is
enabled, otherwise avahi access through dbus fails (as clients try
to start the daemon and dbus doesn't know how to do this).

Fixed upstream in 0.6.28 (http://avahi.org/ticket/319) but this
workaround is simpler/safer for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 16:04:54 +01:00
Bjørn Forsman
816303a49d gdb: depend on host-expat to fix remote debugging
This patch fixes the following error when using GDB with gdbserver:

  warning: Can not parse XML target description; XML support was disabled at compile time
  Remote 'g' packet reply is too long: <very long line of hex chars>
  [remote debugging does not work]

Use $(HOST_CONFIGURE_OPTS) so expat is found.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 10:26:17 +01:00
Peter Korsgaard
57ab28928b synergy: fix build with modern toolchains
A number of includes were missing for exit/getenv/memcpy/strlen/...

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 10:24:51 +01:00
Peter Korsgaard
e77bef4cdb CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-27 22:31:05 +01:00
Peter Korsgaard
b89f403e0b xerces: needs wchar support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-27 22:25:58 +01:00
Peter Korsgaard
eb6dcf8c1c webif: mark as deprecated
It's long dead upstream and hasn't seen any updates since it got added
back in 2008.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-27 21:28:50 +01:00
Peter Korsgaard
310a7700ad devmem2: mark as deprecated
Busybox has had a devmem applet for a number of years now, so deprecate
the old standalone program.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-27 21:13:10 +01:00
Daniel Nyström
fab79678f0 qt: add option to hide mouse cursor
Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set.

Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 21:45:31 +01:00
Peter Korsgaard
eaf18b8b78 squashfs: use kconfig to ensure atleast one compressor is selected
Similar to how we do it for mpd now. This way, the selection is clearly
visible to the user, instead of the hidden selection we used to do in
the makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 21:27:40 +01:00
Gustavo Zacarias
53725fafee mpd: forcibly disable oggflac without flac
If flac and libogg were both built but flac isn't selected in mpd it
will be picked up anyway.
Forcibly disable oggflac support if flac support is disabled for
consistency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 21:21:23 +01:00
Gustavo Zacarias
77dfefd43c mpd: move ffmpeg option up
Move the ffmpeg option up to keep the pretty sort order.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 21:21:22 +01:00
Gustavo Zacarias
d428dddf68 mpd: default to tremor input plugin
MPD requires at least one input plugin to build.
If there's none selected default to tremor (vorbis).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 21:20:15 +01:00
Peter Korsgaard
4642701281 alsamixergui: fix alsa dependencies
Alsamixergui needs pcm and mixer support in alsa-lib.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 21:08:35 +01:00
Peter Korsgaard
f83024cf07 mpd: fix alsa dependencies
Alsa output support needs pcm and mixer support in alsa-lib.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 19:51:21 +01:00
Peter Korsgaard
c82d04c415 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 15:31:33 +01:00
Gustavo Zacarias
34ce7fb623 slang: fix mips build failure
Closes #3295

Fix MIPS build failure as reported by Thomas Petazzoni.

We're forcing CFLAGS and busting -fPIC in the process.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 15:25:23 +01:00
Peter Korsgaard
557982c262 nuttcp: fix build on systems without legacy susv3 functions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 15:22:33 +01:00
Peter Korsgaard
9209091780 uClibc: fix uclibc-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:18:45 +01:00
Peter Korsgaard
6c016c07e4 crosstool-ng: fix ctng-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:08:39 +01:00
Peter Korsgaard
ed9737388f linux: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 12:00:37 +01:00
Peter Korsgaard
afba8bc930 kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 11:58:55 +01:00
Peter Korsgaard
b7bb735992 sylpheed: bump version, fix build
The old sylpheed version no longer built with our libgtk2 version, so
move to the latest stable release. At the same time add optional openssl
support.

The sylpheed build system adds -I$includedir to the CFLAGS, so ensure
it points at our staging rather than the host headers.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 11:55:53 +01:00
Peter Korsgaard
2f19259a47 CHANGES: #3259 is resolved
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-24 20:56:15 +01:00
Gustavo Zacarias
6dc2737d9a icu: tweak icu-config exec_prefix output
Closes #3259

We need to tweak icu-config's exec_prefix too, otherwise if the host
system lacks icu the build fails when looking for the libraries in
/usr/lib rather than the staging directory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-24 20:54:29 +01:00
Peter Korsgaard
37126f56c4 docs: fix /know/known/ typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-24 12:53:43 +01:00
31 changed files with 547 additions and 86 deletions

16
CHANGES
View File

@@ -1,3 +1,19 @@
2011.02, Released February 28th, 2011:
Fixes all over the tree.
Updated/fixed packages: alsamixergui, avahi, ffmpeg, icu, mpd,
nuttcp, qt, slang, squashfs, sylpheed, synergy, xerces
Deprecated packages: devmem2, webif
Issues resolved (http://bugs.uclibc.org):
#2911: Qt: Disable qt3support-option, if gui-module isn't selected
#3259: Unable to build webkit (on arm)
#3295: slang fails to build on mipsel
#3325: ffmpeg fails to build
2011.02-rc2, Released February 24th, 2011:
Fixes all over the tree.

View File

@@ -24,7 +24,7 @@
#--------------------------------------------------------------
# Set and export the version string
export BR2_VERSION:=2011.02-rc2
export BR2_VERSION:=2011.02
# This top-level Makefile can *not* be executed in parallel
.NOTPARALLEL:

View File

@@ -50,7 +50,7 @@ cross-compilation process.</p>
toolchain</li>
<li>Has a <b>simple structure</b> that makes it easy to understand
and extend. It relies only on the well-know Makefile language.</li>
and extend. It relies only on the well-known Makefile language.</li>
</ul>

View File

@@ -6,14 +6,14 @@
<p>
The latest stable release is <b>2010.11</b>, which can be downloaded
The latest stable release is <b>2011.02</b>, which can be downloaded
here:<p>
<a href="/downloads/buildroot-2010.11.tar.gz">buildroot-2010.11.tar.gz</a>
<a href="/downloads/buildroot-2011.02.tar.gz">buildroot-2011.02.tar.gz</a>
or
<a href="/downloads/buildroot-2010.11.tar.bz2">buildroot-2010.11.tar.bz2</a>.
<a href="/downloads/buildroot-2011.02.tar.bz2">buildroot-2011.02.tar.bz2</a>.
<p>
<!--
The latest release candidate is <b>2011.02-rc2</b>, which can be
downloaded here:<p>
@@ -21,7 +21,7 @@ downloaded here:<p>
or
<a href="/downloads/buildroot-2011.02-rc2.tar.bz2">buildroot-2011.02-rc2.tar.bz2</a>.
<p>
-->
This and earlier releases can always be downloaded from
<a href="/downloads/">http://buildroot.net/downloads/</a>.

View File

@@ -5,6 +5,15 @@
<p>
<ul>
<li><b>28 February 2011 -- 2011.02 released</b>
<p>The stable 2011.02 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2011.02">CHANGES</a>
file for more details,
and go to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2011.02.tar.bz2">2011.02 release</a>.</p>
<li><b>24 February 2011 -- 2011.02-rc2 released</b>
<p>RC2 is out with more cleanups and bugfixes, see the <a

View File

@@ -22,7 +22,7 @@ choice
default BR2_LINUX_KERNEL_2_6_37
config BR2_LINUX_KERNEL_2_6_37
bool "2.6.37"
bool "2.6.37.2"
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
bool "Same as toolchain kernel headers"
@@ -52,7 +52,7 @@ endchoice
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
string "Kernel version"
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
default "2.6.37"
default "2.6.37.2"
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
string "URL of custom kernel tarball"

View File

@@ -3,6 +3,8 @@ config BR2_PACKAGE_ALSAMIXERGUI
depends on BR2_PACKAGE_ALSA_LIB
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_FLTK
select BR2_PACKAGE_ALSA_LIB_PCM
select BR2_PACKAGE_ALSA_LIB_MIXER
bool "alsamixergui"
help
A nice GUI mixer for Alsa using fltk

View File

@@ -160,8 +160,19 @@ define AVAHI_INSTALL_DAEMON_INITSCRIPT
$(INSTALL) -m 0755 package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
endef
# avahi build sys erroneously only installs dbus service if systemd is enabled
define AVAHI_INSTALL_DAEMON_DBUS_SERVICE
$(INSTALL) -m 0644 -D $(@D)/avahi-daemon/org.freedesktop.Avahi.service \
$(TARGET_DIR)/usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
endef
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_INSTALL_DAEMON_INITSCRIPT
ifeq ($(BR2_PACKAGE_DBUS),y)
AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_INSTALL_DAEMON_DBUS_SERVICE
endif
endif
$(eval $(call AUTOTARGETS,package,avahi))

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_DEVMEM2
bool "devmem2"
depends on BR2_DEPRECATED
help
Simple program to read/write from/to any location in memory.

View File

@@ -16,7 +16,9 @@ ICU_SUBDIR = source
HOST_ICU_SUBDIR = source
define ICU_PREFIX_FIXUP
$(SED) "s,^default_prefix=.*,default_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/icu-config
$(SED) "s,^default_prefix=.*,default_prefix=\'$(STAGING_DIR)/usr\',g" \
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
$(STAGING_DIR)/usr/bin/icu-config
endef
ICU_POST_INSTALL_TARGET_HOOKS += ICU_PREFIX_FIXUP

View File

@@ -124,6 +124,11 @@ else
FFMPEG_CONF_OPT += --disable-zlib
endif
# MMX on is default for x86, disable it for lowly x86-type processors
ifeq ($(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_i686)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
FFMPEG_CONF_OPT += --disable-mmx
endif
FFMPEG_CONF_OPT += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
# Override FFMPEG_CONFIGURE_CMDS: FFmpeg does not support --target and others

View File

@@ -4,6 +4,7 @@ menuconfig BR2_PACKAGE_MPD
depends on BR2_USE_WCHAR
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG)
help
MPD is a flexible, powerful, server-side application
for playing music. Through plugins and libraries
@@ -18,6 +19,8 @@ config BR2_PACKAGE_MPD_ALSA
bool "alsa"
default y
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_PCM
select BR2_PACKAGE_ALSA_LIB_MIXER
help
Enable alsa output support.
@@ -53,6 +56,17 @@ config BR2_PACKAGE_MPD_FLAC
Enable flac input/streaming support.
Select this if you want to play back FLAC files.
config BR2_PACKAGE_MPD_FFMPEG
bool "ffmpeg"
select BR2_PACKAGE_FFMPEG
depends on BR2_LARGEFILE
help
Enable ffmpeg input support.
Select this if you want to play back files supported by ffmpeg.
comment "ffmpeg support requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
config BR2_PACKAGE_MPD_LAME
bool "lame"
select BR2_PACKAGE_LAME
@@ -144,17 +158,6 @@ config BR2_PACKAGE_MPD_WAVPACK
Enable wavpack input support.
Select this if you want to play back WV files.
config BR2_PACKAGE_MPD_FFMPEG
bool "ffmpeg"
select BR2_PACKAGE_FFMPEG
depends on BR2_LARGEFILE
help
Enable ffmpeg input support.
Select this if you want to play back files supported by ffmpeg.
comment "ffmpeg support requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
endif
comment "mpd requires a toolchain with C++ and WCHAR support"

View File

@@ -35,7 +35,7 @@ endif
ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
MPD_DEPENDENCIES += flac
else
MPD_CONF_OPT += --without-flac
MPD_CONF_OPT += --without-flac --disable-oggflac
endif
ifeq ($(BR2_PACKAGE_MPD_CURL),y)

View File

@@ -0,0 +1,264 @@
[PATCH] Replace susv3 legacy function with modern equivalents
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
nuttcp-6.1.2.c | 90 ++++++++++++++++++++++++++++-----------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Index: nuttcp-6.1.2/nuttcp-6.1.2.c
===================================================================
--- nuttcp-6.1.2.orig/nuttcp-6.1.2.c
+++ nuttcp-6.1.2/nuttcp-6.1.2.c
@@ -1925,11 +1925,11 @@
if (udp && !haverateopt)
rate = DEFAULT_UDP_RATE;
- bzero((char *)&frominet, sizeof(frominet));
- bzero((char *)&clientaddr, sizeof(clientaddr));
+ memset((char *)&frominet, 0, sizeof(frominet));
+ memset((char *)&clientaddr, 0, sizeof(clientaddr));
#ifdef AF_INET6
- bzero((char *)&clientaddr6, sizeof(clientaddr6));
+ memset((char *)&clientaddr6, 0, sizeof(clientaddr6));
clientscope6 = 0;
#endif
@@ -1985,7 +1985,7 @@
}
while (stream_idx <= nstream) {
- bzero(&hints, sizeof(hints));
+ memset(&hints, 0, sizeof(hints));
res[stream_idx] = NULL;
if (explicitaf) hints.ai_family = af;
if ((cp2 = strchr(cp1, '/'))) {
@@ -3013,12 +3013,12 @@
if ((stream_idx > 0) && skip_data)
break;
- bzero((char *)&sinme[stream_idx], sizeof(sinme[stream_idx]));
- bzero((char *)&sinhim[stream_idx], sizeof(sinhim[stream_idx]));
+ memset((char *)&sinme[stream_idx], 0, sizeof(sinme[stream_idx]));
+ memset((char *)&sinhim[stream_idx], 0, sizeof(sinhim[stream_idx]));
#ifdef AF_INET6
- bzero((char *)&sinme6[stream_idx], sizeof(sinme6[stream_idx]));
- bzero((char *)&sinhim6[stream_idx], sizeof(sinhim6[stream_idx]));
+ memset((char *)&sinme6[stream_idx], 0, sizeof(sinme6[stream_idx]));
+ memset((char *)&sinhim6[stream_idx], 0, sizeof(sinhim6[stream_idx]));
#endif
if (((trans && !reverse) && (stream_idx > 0)) ||
@@ -3028,15 +3028,15 @@
if (client) {
if (af == AF_INET) {
sinhim[stream_idx].sin_family = af;
- bcopy((char *)&(((struct sockaddr_in *)res[stream_idx]->ai_addr)->sin_addr),
- (char *)&sinhim[stream_idx].sin_addr.s_addr,
+ memcpy((char *)&sinhim[stream_idx].sin_addr.s_addr,
+ (char *)&(((struct sockaddr_in *)res[stream_idx]->ai_addr)->sin_addr),
sizeof(sinhim[stream_idx].sin_addr.s_addr));
}
#ifdef AF_INET6
else if (af == AF_INET6) {
sinhim6[stream_idx].sin6_family = af;
- bcopy((char *)&(((struct sockaddr_in6 *)res[stream_idx]->ai_addr)->sin6_addr),
- (char *)&sinhim6[stream_idx].sin6_addr.s6_addr,
+ memcpy((char *)&sinhim6[stream_idx].sin6_addr.s6_addr,
+ (char *)&(((struct sockaddr_in6 *)res[stream_idx]->ai_addr)->sin6_addr),
sizeof(sinhim6[stream_idx].sin6_addr.s6_addr));
sinhim6[stream_idx].sin6_scope_id = ((struct sockaddr_in6 *)res[stream_idx]->ai_addr)->sin6_scope_id;
}
@@ -3113,8 +3113,8 @@
* to the multicast group
*/
if (af == AF_INET) {
- bcopy((char *)&sinhim[1].sin_addr.s_addr,
- (char *)&save_sinhim.sin_addr.s_addr,
+ memcpy((char *)&save_sinhim.sin_addr.s_addr,
+ (char *)&sinhim[1].sin_addr.s_addr,
sizeof(struct in_addr));
if (!client && (irvers >= 50505)) {
struct sockaddr_in peer;
@@ -3124,8 +3124,8 @@
&peerlen) < 0) {
err("getpeername");
}
- bcopy((char *)&peer.sin_addr.s_addr,
- (char *)&sinhim[1].sin_addr.s_addr,
+ memcpy((char *)&sinhim[1].sin_addr.s_addr,
+ (char *)&peer.sin_addr.s_addr,
sizeof(struct in_addr));
}
else {
@@ -3136,8 +3136,8 @@
&melen) < 0) {
err("getsockname");
}
- bcopy((char *)&me.sin_addr.s_addr,
- (char *)&sinhim[1].sin_addr.s_addr,
+ memcpy((char *)&sinhim[1].sin_addr.s_addr,
+ (char *)&me.sin_addr.s_addr,
sizeof(struct in_addr));
}
sinhim[1].sin_addr.s_addr &=
@@ -4197,13 +4197,13 @@
&melen) < 0) {
err("getsockname");
}
- bcopy((char *)&me.sin_addr.s_addr,
- (char *)&mc_group.imr_multiaddr.s_addr,
+ memcpy((char *)&mc_group.imr_multiaddr.s_addr,
+ (char *)&me.sin_addr.s_addr,
sizeof(struct in_addr));
}
else {
- bcopy((char *)&peer.sin_addr.s_addr,
- (char *)&mc_group.imr_multiaddr.s_addr,
+ memcpy((char *)&mc_group.imr_multiaddr.s_addr,
+ (char *)&peer.sin_addr.s_addr,
sizeof(struct in_addr));
}
mc_group.imr_multiaddr.s_addr &= htonl(0xFFFFFF);
@@ -4330,12 +4330,12 @@
if(udp) {
strcpy(buf, "BOD0");
if (multicast) {
- bcopy((char *)&sinhim[1].sin_addr.s_addr,
- (char *)&save_mc.sin_addr.s_addr,
- sizeof(struct in_addr));
- bcopy((char *)&save_sinhim.sin_addr.s_addr,
+ memcpy((char *)&save_mc.sin_addr.s_addr,
(char *)&sinhim[1].sin_addr.s_addr,
sizeof(struct in_addr));
+ memcpy((char *)&sinhim[1].sin_addr.s_addr,
+ (char *)&save_sinhim.sin_addr.s_addr,
+ sizeof(struct in_addr));
}
(void)Nwrite( fd[stream_idx + 1], buf, 4 ); /* rcvr start */
if (two_bod) {
@@ -4344,8 +4344,8 @@
(void)Nwrite( fd[stream_idx + 1], buf, 4 ); /* rcvr start */
}
if (multicast) {
- bcopy((char *)&save_mc.sin_addr.s_addr,
- (char *)&sinhim[1].sin_addr.s_addr,
+ memcpy((char *)&sinhim[1].sin_addr.s_addr,
+ (char *)&save_mc.sin_addr.s_addr,
sizeof(struct in_addr));
}
if (timeout)
@@ -4361,7 +4361,7 @@
fflush(stdout);
}
if (udplossinfo)
- bcopy(&nbytes, buf + 24, 8);
+ memcpy(buf + 24, &nbytes, 8);
if (!udp && interval && !(format & NORETRANS) &&
((retransinfo == 1) ||
((retransinfo >= 2) &&
@@ -4372,13 +4372,13 @@
tmp = 0x5254524Eu; /* "RTRN" */
else
tmp = 0x48525452u; /* "HRTR" */
- bcopy(&nretrans, buf + 24, 4);
- bcopy(&tmp, buf + 28, 4);
+ memcpy(buf + 24, &nretrans, 4);
+ memcpy(buf + 28, &tmp, 4);
}
else {
send_retrans = 0;
if (!udp)
- bzero(buf + 24, 8);
+ memset(buf + 24, 0, 8);
}
if (nbuf == INT_MAX)
nbuf = ULLONG_MAX;
@@ -4423,12 +4423,12 @@
nbytes += buflen;
cnt = 0;
if (udplossinfo)
- bcopy(&nbytes, buf + 24, 8);
+ memcpy(buf + 24, &nbytes, 8);
if (send_retrans) {
nretrans = get_retrans(
fd[stream_idx + 1]);
nretrans -= iretrans;
- bcopy(&nretrans, buf + 24, 4);
+ memcpy(buf + 24, &nretrans, 4);
}
stream_idx++;
stream_idx = stream_idx % nstream;
@@ -4523,8 +4523,8 @@
nbytes += cnt;
if(udp) {
if (multicast)
- bcopy((char *)&save_sinhim.sin_addr.s_addr,
- (char *)&sinhim[1].sin_addr.s_addr,
+ memcpy((char *)&sinhim[1].sin_addr.s_addr,
+ (char *)&save_sinhim.sin_addr.s_addr,
sizeof(struct in_addr));
strcpy(buf, "EOD0");
(void)Nwrite( fd[stream_idx + 1], buf, 4 ); /* rcvr end */
@@ -4532,7 +4532,7 @@
} else {
first_read = 1;
need_swap = 0;
- bzero(buf + 24, 8);
+ memset(buf + 24, 0, 8);
if (udp) {
ntbytesc = 0;
got_eod0 = 0;
@@ -4584,7 +4584,7 @@
* goes off right here */
if (udplossinfo) {
if (first_read) {
- bcopy(buf + 24, &ntbytesc,
+ memcpy(&ntbytesc, buf + 24,
8);
first_read = 0;
if (ntbytesc > 0x100000000ull)
@@ -4598,7 +4598,7 @@
}
}
if (!need_swap)
- bcopy(buf + 24, &ntbytesc,
+ memcpy(&ntbytesc, buf + 24,
8);
else {
cp1 = (char *)&ntbytesc;
@@ -4627,8 +4627,8 @@
uint32_t tmp;
first_read = 0;
- bcopy(buf + 24, &nretrans, 4);
- bcopy(buf + 28, &tmp, 4);
+ memcpy(&nretrans, buf + 24, 4);
+ memcpy(&tmp, buf + 28, 4);
if (tmp == 0x5254524Eu) {
/* "RTRN" */
retransinfo = 1;
@@ -4661,7 +4661,7 @@
}
if (read_retrans) {
if (!need_swap)
- bcopy(buf + 24, &nretrans,
+ memcpy(&nretrans, buf + 24,
4);
else {
cp1 = (char *)&nretrans;
@@ -5327,10 +5327,10 @@
itimer.it_interval.tv_usec = 0;
setitimer(ITIMER_REAL, &itimer, 0);
signal(SIGALRM, SIG_DFL);
- bzero((char *)&frominet, sizeof(frominet));
- bzero((char *)&clientaddr, sizeof(clientaddr));
+ memset((char *)&frominet, 0, sizeof(frominet));
+ memset((char *)&clientaddr, 0, sizeof(clientaddr));
#ifdef AF_INET6
- bzero((char *)&clientaddr6, sizeof(clientaddr));
+ memset((char *)&clientaddr6, 0, sizeof(clientaddr));
clientscope6 = 0;
#endif
cput = 0.000001;

View File

@@ -57,6 +57,7 @@ config BR2_PACKAGE_QT_LICENSE_APPROVED
config BR2_PACKAGE_QT_QT3SUPPORT
bool "Compatibility with Qt3"
depends on BR2_PACKAGE_QT_GUI_MODULE
help
Turns on support for older Qt3. This will create an additional
library with proxy code and increase the space required on target.

View File

@@ -15,4 +15,11 @@ config BR2_PACKAGE_QT_MOUSE_TSLIB
config BR2_PACKAGE_QT_MOUSE_QVFB
bool "qvfb"
comment "Mouse Options"
config BR2_PACKAGE_QT_MOUSE_NO_QWS_CURSOR
bool "Hide the mouse cursor"
help
Do not show the mouse cursor in QWS.
endmenu

View File

@@ -154,6 +154,9 @@ QT_CONFIGURE += -qt-mouse-qvfb
else
QT_CONFIGURE += -no-mouse-qvfb
endif
ifeq ($(BR2_PACKAGE_QT_MOUSE_NO_QWS_CURSOR),y)
QT_CONFIGURE+= -D QT_NO_QWS_CURSOR
endif
### Keyboard drivers
ifeq ($(BR2_PACKAGE_QT_KEYBOARD_TTY),y)

View File

@@ -8,8 +8,10 @@ SLANG_SOURCE = slang-$(SLANG_VERSION)-mini.tar.bz2
SLANG_SITE = http://www.uclibc.org/
SLANG_INSTALL_STAGING = YES
# We need to add -fPIC since we're busting original CFLAGS
# that have it, see bug #3295
define SLANG_BUILD_CMDS
$(MAKE1) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
$(MAKE1) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -fPIC" \
LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
endef

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_SQUASHFS
bool "squashfs"
depends on BR2_LARGEFILE
select BR2_PACKAGE_SQUASHFS_GZIP if !(BR2_PACKAGE_SQUASHFS_LZMA || BR2_PACKAGE_SQUASHFS_LZO)
help
Tools to generate SquashFS filesystems.

View File

@@ -5,11 +5,6 @@ SQUASHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/sq
# no libattr/xz in BR
SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=0
# we need atleast one compresser, so use gzip if none are enabled
ifeq ($(BR2_PACKAGE_SQUASHFS_GZIP)$(BR2_PACKAGE_SQUASHFS_LZO)$(BR2_PACKAGE_SQUASHFS_LZMA),)
BR2_PACKAGE_SQUASHFS_GZIP=y
endif
ifeq ($(BR2_PACKAGE_SQUASHFS_LZMA),y)
SQUASHFS_DEPENDENCIES += xz
SQUASHFS_MAKE_ARGS += XZ_SUPPORT=1 COMP_DEFAULT=lzma

View File

@@ -1,23 +0,0 @@
--- a/libsylph/Makefile.in 2007-12-20 23:48:26.000000000 -0500
+++ b/libsylph/Makefile.in 2008-02-14 16:34:17.000000000 -0500
@@ -143,7 +143,7 @@ manualdir = @manualdir@
AM_CPPFLAGS = -DG_LOG_DOMAIN=\"LibSylph\" -DSYSCONFDIR=\""$(sysconfdir)"\"
-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir) -I$(includedir)
+INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
#lib_LTLIBRARIES = libsylph.la
noinst_LTLIBRARIES = libsylph.la
--- a/src/Makefile.in 2007-12-20 23:48:26.000000000 -0500
+++ b/src/Makefile.in 2008-02-14 16:47:46.000000000 -0500
@@ -153,7 +153,7 @@ BUILT_SOURCES = quote_fmt_lex.c quote
EXTRA_DIST = quote_fmt_parse.h sylpheed-marshal.list version.h.in sylpheed.rc.in
-INCLUDES = -DG_LOG_DOMAIN=\"Sylpheed\" $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS) $(GPGME_CFLAGS) -I$(includedir) -I$(top_srcdir)/libsylph
+INCLUDES = -DG_LOG_DOMAIN=\"Sylpheed\" $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS) $(GPGME_CFLAGS) -I$(top_srcdir)/libsylph
@HAVE_WINDRES_TRUE@SYLPHEED_RES = sylpheed.res
@HAVE_WINDRES_FALSE@SYLPHEED_RES =

View File

@@ -3,16 +3,22 @@
# sylpheed
#
#############################################################
SYLPHEED_VERSION = 2.4.8
SYLPHEED_VERSION_MAJOR = 3.1
SYLPHEED_VERSION_MINOR = 0
SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).$(SYLPHEED_VERSION_MINOR)
SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.bz2
SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v2.4
SYLPHEED_AUTORECONF = NO
SYLPHEED_INSTALL_STAGING = NO
SYLPHEED_INSTALL_TARGET = YES
SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR)
SYLPHEED_CONF_OPT = --disable-gtkspell --program-prefix=""
SYLPHEED_CONF_OPT = --disable-gtkspell --program-prefix="" \
--includedir=$(STAGING_DIR)/usr/include
SYLPHEED_DEPENDENCIES = host-pkg-config libgtk2
$(eval $(call AUTOTARGETS,package,sylpheed))
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SYLPHEED_DEPENDENCIES += openssl
SYLPHEED_CONF_OPT += --enable-ssl
else
SYLPHEED_CONF_OPT += --disable-ssl
endif
$(eval $(call AUTOTARGETS,package,sylpheed))

View File

@@ -1,21 +0,0 @@
[PATCH] fix build issue in CArchDaemonUnix
exit() needs #include <stdlib.h> for the prototype.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
lib/arch/CArchDaemonUnix.cpp | 1 +
1 file changed, 1 insertion(+)
Index: synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
===================================================================
--- synergy-1.3.1.orig/lib/arch/CArchDaemonUnix.cpp
+++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
@@ -19,6 +19,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
+#include <stdlib.h>
//
// CArchDaemonUnix

View File

@@ -0,0 +1,167 @@
[PATCH] fix build with modern toolchains
Several files are missing the correct includes for exit/getenvmemcpy/strlen/..
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
lib/arch/CArchDaemonUnix.cpp | 1 +
lib/arch/CMultibyte.cpp | 1 +
lib/base/CStringUtil.cpp | 1 +
lib/client/CClient.cpp | 3 ++-
lib/client/CServerProxy.cpp | 1 +
lib/net/CTCPSocket.cpp | 2 +-
lib/platform/CXWindowsScreen.cpp | 1 +
lib/server/CClientProxy1_3.cpp | 1 +
lib/server/CServer.cpp | 1 +
lib/synergy/CPacketStreamFilter.cpp | 1 +
lib/synergy/IKeyState.cpp | 1 +
lib/synergy/IPrimaryScreen.cpp | 1 +
12 files changed, 13 insertions(+), 2 deletions(-)
Index: synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
===================================================================
--- synergy-1.3.1.orig/lib/arch/CArchDaemonUnix.cpp
+++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
@@ -19,6 +19,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
+#include <stdlib.h>
//
// CArchDaemonUnix
Index: synergy-1.3.1/lib/arch/CMultibyte.cpp
===================================================================
--- synergy-1.3.1.orig/lib/arch/CMultibyte.cpp
+++ synergy-1.3.1/lib/arch/CMultibyte.cpp
@@ -19,6 +19,7 @@
#include "CArch.h"
#include <limits.h>
#include <string.h>
+#include <stdlib.h>
#if HAVE_LOCALE_H
# include <locale.h>
#endif
Index: synergy-1.3.1/lib/base/CStringUtil.cpp
===================================================================
--- synergy-1.3.1.orig/lib/base/CStringUtil.cpp
+++ synergy-1.3.1/lib/base/CStringUtil.cpp
@@ -19,6 +19,7 @@
#include <cctype>
#include <cstdio>
#include <cstdlib>
+#include <cstring>
#include <algorithm>
//
Index: synergy-1.3.1/lib/client/CClient.cpp
===================================================================
--- synergy-1.3.1.orig/lib/client/CClient.cpp
+++ synergy-1.3.1/lib/client/CClient.cpp
@@ -26,7 +26,8 @@
#include "CLog.h"
#include "IEventQueue.h"
#include "TMethodEventJob.h"
-
+#include <string.h>
+#include <stdlib.h>
//
// CClient
//
Index: synergy-1.3.1/lib/client/CServerProxy.cpp
===================================================================
--- synergy-1.3.1.orig/lib/client/CServerProxy.cpp
+++ synergy-1.3.1/lib/client/CServerProxy.cpp
@@ -24,6 +24,7 @@
#include "TMethodEventJob.h"
#include "XBase.h"
#include <memory>
+#include <string.h>
//
// CServerProxy
Index: synergy-1.3.1/lib/net/CTCPSocket.cpp
===================================================================
--- synergy-1.3.1.orig/lib/net/CTCPSocket.cpp
+++ synergy-1.3.1/lib/net/CTCPSocket.cpp
@@ -24,7 +24,7 @@
#include "CArch.h"
#include "XArch.h"
#include <string.h>
-
+#include <stdlib.h>
//
// CTCPSocket
//
Index: synergy-1.3.1/lib/platform/CXWindowsScreen.cpp
===================================================================
--- synergy-1.3.1.orig/lib/platform/CXWindowsScreen.cpp
+++ synergy-1.3.1/lib/platform/CXWindowsScreen.cpp
@@ -27,6 +27,7 @@
#include "IEventQueue.h"
#include "TMethodEventJob.h"
#include <cstring>
+#include <stdlib.h>
#if X_DISPLAY_MISSING
# error X11 is required to build synergy
#else
Index: synergy-1.3.1/lib/server/CClientProxy1_3.cpp
===================================================================
--- synergy-1.3.1.orig/lib/server/CClientProxy1_3.cpp
+++ synergy-1.3.1/lib/server/CClientProxy1_3.cpp
@@ -17,6 +17,7 @@
#include "CLog.h"
#include "IEventQueue.h"
#include "TMethodEventJob.h"
+#include <string.h>
//
// CClientProxy1_3
Index: synergy-1.3.1/lib/server/CServer.cpp
===================================================================
--- synergy-1.3.1.orig/lib/server/CServer.cpp
+++ synergy-1.3.1/lib/server/CServer.cpp
@@ -29,6 +29,7 @@
#include "TMethodEventJob.h"
#include "CArch.h"
#include <string.h>
+#include <stdlib.h>
//
// CServer
Index: synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp
===================================================================
--- synergy-1.3.1.orig/lib/synergy/CPacketStreamFilter.cpp
+++ synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp
@@ -16,6 +16,7 @@
#include "IEventQueue.h"
#include "CLock.h"
#include "TMethodEventJob.h"
+#include <string.h>
//
// CPacketStreamFilter
Index: synergy-1.3.1/lib/synergy/IKeyState.cpp
===================================================================
--- synergy-1.3.1.orig/lib/synergy/IKeyState.cpp
+++ synergy-1.3.1/lib/synergy/IKeyState.cpp
@@ -14,6 +14,7 @@
#include "IKeyState.h"
#include <string.h>
+#include <stdlib.h>
//
// IKeyState
Index: synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp
===================================================================
--- synergy-1.3.1.orig/lib/synergy/IPrimaryScreen.cpp
+++ synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp
@@ -13,6 +13,7 @@
*/
#include "IPrimaryScreen.h"
+#include <stdlib.h>
//
// IPrimaryScreen

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_WEBIF
bool "webif - Status Console"
depends on BR2_PACKAGE_BUSYBOX # httpd
depends on BR2_DEPRECATED
select BR2_PACKAGE_HASERL
help
A web interface for showing different network status. This package

View File

@@ -1,11 +1,11 @@
config BR2_PACKAGE_XERCES
bool "xerces-c++"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Xerces-C++ is a validating XML parser written in portable C++.
http://xml.apache.org/xerces-c/
comment "xerces-c++ requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP
comment "xerces-c++ requires a toolchain with C++ and WCHAR support enabled"
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)

View File

@@ -78,7 +78,7 @@ $(XERCES_DIR)/.configured: $(XERCES_DIR)/.unpacked
touch $@
$(XERCES_DIR)/src/.libs/$(LIBXERCES_BINARY): $(XERCES_DIR)/.configured
$(MAKE) $(TARGET_CONFIGURE_OPTS) $(XERCES_MAKE_OPT) -C $(XERCES_DIR)
$(MAKE1) $(TARGET_CONFIGURE_OPTS) $(XERCES_MAKE_OPT) -C $(XERCES_DIR)
$(STAGING_DIR)/usr/lib/$(LIBXERCES_BINARY): $(XERCES_DIR)/src/.libs/$(LIBXERCES_BINARY)
$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(STAGING_DIR) \

View File

@@ -183,6 +183,7 @@ $(GDB_HOST_DIR)/.configured: $(GDB_DIR)/.unpacked
(cd $(GDB_HOST_DIR); \
gdb_cv_func_sigsetjmp=yes \
bash_cv_have_mbstate_t=yes \
$(HOST_CONFIGURE_OPTS) \
$(GDB_DIR)/configure $(QUIET) \
--cache-file=/dev/null \
--prefix=$(STAGING_DIR) \
@@ -207,7 +208,7 @@ $(TARGET_CROSS)gdb: $(GDB_HOST_DIR)/gdb/gdb
ln -snf $(REAL_GNU_TARGET_NAME)-gdb \
$(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-gdb
gdbhost: $(TARGET_CROSS)gdb
gdbhost: host-expat $(TARGET_CROSS)gdb
gdbhost-source: $(DL_DIR)/$(GDB_SOURCE)

View File

@@ -47,6 +47,6 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "2.6.34.8" if BR2_KERNEL_HEADERS_2_6_34
default "2.6.35.11" if BR2_KERNEL_HEADERS_2_6_35
default "2.6.36.4" if BR2_KERNEL_HEADERS_2_6_36
default "2.6.37.1" if BR2_KERNEL_HEADERS_2_6_37
default "2.6.37.2" if BR2_KERNEL_HEADERS_2_6_37
default "2.6" if BR2_KERNEL_HEADERS_SNAP
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION

View File

@@ -395,7 +395,8 @@ $(CTNG_DIR)/.patched: $(CTNG_DIR)/.unpacked
# considered always remade. But we do not want
# to reconfigure and rebuild ct-ng every time
# we need to run it...
$(CTNG_DIR)/.configured: | host-gawk \
$(CTNG_DIR)/.configured: | $(if $(BR2_CCACHE),host-ccache) \
host-gawk \
host-automake
$(CTNG_DIR)/.configured: $(CTNG_DIR)/.patched

View File

@@ -395,6 +395,13 @@ $(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.oldconfig
oldconfig
touch $@
ifeq ($(BR2_CCACHE),y)
# we'll need ccache for the host built before make oldconfig
# if configured, otherwise uclibc-menuconfig will fail.
# Use order-only dependency as host-ccache is a virtual target
$(UCLIBC_DIR)/.config: | host-ccache
endif
$(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.config
$(MAKE1) -C $(UCLIBC_DIR) \
ARCH="$(UCLIBC_TARGET_ARCH)" \