Compare commits
248 Commits
2009.02_rc
...
2009.02_rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec382bb38a | ||
|
|
37e6f8b7d0 | ||
|
|
4847ef7087 | ||
|
|
f777dee1d4 | ||
|
|
59f084017e | ||
|
|
c1bb025dff | ||
|
|
228f4f8e39 | ||
|
|
d97e32744d | ||
|
|
78491a711d | ||
|
|
c8ce0bed9e | ||
|
|
ba7113b7f2 | ||
|
|
8a446caa89 | ||
|
|
9e7881ccc9 | ||
|
|
398dfc42b7 | ||
|
|
657563f2d7 | ||
|
|
c4cd1bcb84 | ||
|
|
2b3ad678ff | ||
|
|
8bf5071cf3 | ||
|
|
caa31fcc62 | ||
|
|
c1e444ff72 | ||
|
|
040bd64849 | ||
|
|
0c54ef9c9a | ||
|
|
9ce75bf893 | ||
|
|
e4051615c4 | ||
|
|
92bd25c9eb | ||
|
|
81ddf3d083 | ||
|
|
acc182cea2 | ||
|
|
b8d6dff991 | ||
|
|
777de7caa5 | ||
|
|
ea57d89bcc | ||
|
|
a72794391a | ||
|
|
ebf47824cc | ||
|
|
7eec8ea560 | ||
|
|
c528189f96 | ||
|
|
4b25f84ab9 | ||
|
|
0effa31366 | ||
|
|
4ab2b56d19 | ||
|
|
0ed2265be4 | ||
|
|
a1e2f48a2c | ||
|
|
6031f96b50 | ||
|
|
9aa7366856 | ||
|
|
8a97c4ea19 | ||
|
|
1a070853d6 | ||
|
|
b389a73cf1 | ||
|
|
acaf54afe1 | ||
|
|
43036ab968 | ||
|
|
495d0d69f0 | ||
|
|
ae46e5bc89 | ||
|
|
38986e2cc2 | ||
|
|
6087c68fe5 | ||
|
|
f8cdfdaada | ||
|
|
3a7e2fd783 | ||
|
|
b31e63aaf1 | ||
|
|
ad54aa3ba7 | ||
|
|
010a1acb23 | ||
|
|
97515c6cae | ||
|
|
9d58dd7384 | ||
|
|
e87389229e | ||
|
|
6071bb4e1a | ||
|
|
37ae66f462 | ||
|
|
7f44fb1ae2 | ||
|
|
b3e516ec8d | ||
|
|
e5fbca8e8f | ||
|
|
80aa788939 | ||
|
|
c73c1193f3 | ||
|
|
7785182e46 | ||
|
|
2f1eb9e4b8 | ||
|
|
83e903468c | ||
|
|
6e7f92310a | ||
|
|
85d756d5cc | ||
|
|
8186a3edee | ||
|
|
142f88f746 | ||
|
|
260d3b4ac2 | ||
|
|
a77bf1ecde | ||
|
|
b47232e869 | ||
|
|
d459b1bc3d | ||
|
|
2389a4591b | ||
|
|
97925424aa | ||
|
|
3813096b28 | ||
|
|
30f4e13c03 | ||
|
|
c8cfd7b510 | ||
|
|
7b83993c3e | ||
|
|
d608e26d48 | ||
|
|
1c5e72a98c | ||
|
|
b99fffde07 | ||
|
|
378f899324 | ||
|
|
d5664ee995 | ||
|
|
45616607b4 | ||
|
|
0441f3c64b | ||
|
|
c6da11ea45 | ||
|
|
0053483c96 | ||
|
|
b84a6adc28 | ||
|
|
ad9402dba5 | ||
|
|
c0fd0f62f9 | ||
|
|
f2b2e82138 | ||
|
|
6653646d66 | ||
|
|
814ca6d548 | ||
|
|
0dbf9dd7ab | ||
|
|
78fa0d4eb4 | ||
|
|
87c5abadfa | ||
|
|
d141a6985a | ||
|
|
13ba121cdb | ||
|
|
e8b1e036f9 | ||
|
|
8586be28d4 | ||
|
|
b30d673c06 | ||
|
|
33cabc1cb6 | ||
|
|
d6803a8a56 | ||
|
|
cf7d9872f2 | ||
|
|
d1d142dd91 | ||
|
|
e496ff2141 | ||
|
|
e03683e066 | ||
|
|
68bc1e172e | ||
|
|
d2c6e22040 | ||
|
|
132b010efc | ||
|
|
4d097fe8f9 | ||
|
|
7f4cb62a1b | ||
|
|
3bab463be4 | ||
|
|
6218173ce2 | ||
|
|
377773e2f7 | ||
|
|
f529db89db | ||
|
|
2440801bd1 | ||
|
|
3c0dea728e | ||
|
|
1510bb58fe | ||
|
|
329f68e794 | ||
|
|
3ba91efea2 | ||
|
|
7e3d659e8c | ||
|
|
8e2390fdaf | ||
|
|
ebcaf669f2 | ||
|
|
67750e96de | ||
|
|
7af4d10d17 | ||
|
|
fab832dd57 | ||
|
|
6360be7fe1 | ||
|
|
a6ab997f6f | ||
|
|
d45093b23a | ||
|
|
b5a4f6247c | ||
|
|
51a28ab3d3 | ||
|
|
86c392e504 | ||
|
|
9dc75a871b | ||
|
|
dd31a9d285 | ||
|
|
147b034d0d | ||
|
|
070de4f146 | ||
|
|
13a85e3c04 | ||
|
|
4374b75504 | ||
|
|
9f20b5f97f | ||
|
|
4f081d489d | ||
|
|
cf965728d2 | ||
|
|
9d68c3bdb2 | ||
|
|
119562f2de | ||
|
|
690ba839c0 | ||
|
|
6dc301e0be | ||
|
|
ae3e3d1325 | ||
|
|
f85f2de174 | ||
|
|
d411d3a66c | ||
|
|
7e41b89b56 | ||
|
|
d7cb72db64 | ||
|
|
df8f9549fd | ||
|
|
ed7f49bf49 | ||
|
|
67d74d8a7a | ||
|
|
1162372c9a | ||
|
|
81a9f04114 | ||
|
|
b3f1b6a02e | ||
|
|
d661484784 | ||
|
|
38a1831b51 | ||
|
|
f5371f72f3 | ||
|
|
a467f95953 | ||
|
|
309ff4f976 | ||
|
|
80161f54e3 | ||
|
|
fd80603320 | ||
|
|
085163341a | ||
|
|
9f71646cf1 | ||
|
|
ecdd71417c | ||
|
|
2b192f0815 | ||
|
|
9cc8af5d5c | ||
|
|
7b981dbf06 | ||
|
|
e7eda55f00 | ||
|
|
9d51c94e35 | ||
|
|
ce6ecb3b0a | ||
|
|
b44a99026e | ||
|
|
e202b5c378 | ||
|
|
7a69b7a3f6 | ||
|
|
89aa4113ee | ||
|
|
76c5b603c8 | ||
|
|
bf8203de71 | ||
|
|
501c007158 | ||
|
|
44cb792353 | ||
|
|
6f39a7c62e | ||
|
|
c7f715639c | ||
|
|
06b99ea303 | ||
|
|
7b2ec61074 | ||
|
|
ea8a25f932 | ||
|
|
d04321356a | ||
|
|
e4c96c2d26 | ||
|
|
77662160bb | ||
|
|
9caca74d26 | ||
|
|
a7614aecf5 | ||
|
|
5f1fb36aa3 | ||
|
|
79cdd94154 | ||
|
|
6d496c4e6a | ||
|
|
6fd0d36d32 | ||
|
|
0496551eac | ||
|
|
2f4722048b | ||
|
|
5f79c0bf44 | ||
|
|
b6dbf2eb86 | ||
|
|
2e02904b04 | ||
|
|
0b62a657cf | ||
|
|
9f89b9bad9 | ||
|
|
a5e5bdd51b | ||
|
|
87d040ee50 | ||
|
|
6e20da741b | ||
|
|
98186f1d47 | ||
|
|
02407b4c05 | ||
|
|
a57170cb02 | ||
|
|
d7d5b3852e | ||
|
|
b9df282721 | ||
|
|
324f61f798 | ||
|
|
678496e167 | ||
|
|
ad862e2ffb | ||
|
|
31647bd0c6 | ||
|
|
40e98127de | ||
|
|
dc8ff28549 | ||
|
|
81dc300b4d | ||
|
|
999026df2b | ||
|
|
49c682dcab | ||
|
|
17c17213f1 | ||
|
|
8a97f125ab | ||
|
|
877a486ac9 | ||
|
|
5a46761446 | ||
|
|
b71c76a10a | ||
|
|
983780cc9a | ||
|
|
30b21413a0 | ||
|
|
bc65432230 | ||
|
|
4bcbf87c99 | ||
|
|
675b479c2f | ||
|
|
6ce30eef5a | ||
|
|
ebca742682 | ||
|
|
6da70de503 | ||
|
|
c86f23b770 | ||
|
|
6b00041b87 | ||
|
|
fa2273f409 | ||
|
|
22ba8bcf0e | ||
|
|
03e3b81d4c | ||
|
|
3eecdf6166 | ||
|
|
bdac3e337f | ||
|
|
2326230ea0 | ||
|
|
e4c50fe464 | ||
|
|
d597e790bc | ||
|
|
c90a6e7215 | ||
|
|
3434dc6cc5 |
14
Config.in
14
Config.in
@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
|
||||
|
||||
config BR2_VERSION
|
||||
string
|
||||
default "2009.02-rc1"
|
||||
default "2009.02-rc3"
|
||||
|
||||
source "target/Config.in.arch"
|
||||
source "target/device/Config.in"
|
||||
@@ -69,6 +69,13 @@ config BR2_DL_DIR
|
||||
|
||||
The default is $(BASE_DIR)/dl
|
||||
|
||||
config BR2_COPYTO
|
||||
string "Copy result to..."
|
||||
default ""
|
||||
help
|
||||
Setting this variable will (eventually) override
|
||||
any other copyto configurations in buildroot.
|
||||
|
||||
source "target/device/Config.in.mirrors"
|
||||
|
||||
config BR2_STAGING_DIR
|
||||
@@ -182,7 +189,6 @@ config BR2_RECENT
|
||||
|
||||
config BR2_CONFIG_CACHE
|
||||
bool "Use a central configure cache file"
|
||||
default n
|
||||
help
|
||||
This determines if a central config cache is used by
|
||||
packages, reducing the configure time for packages as each
|
||||
@@ -237,14 +243,14 @@ choice
|
||||
|
||||
config BR2_STRIP_strip
|
||||
bool "strip"
|
||||
depends on !BR2_ENABLE_DEBUG
|
||||
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
||||
help
|
||||
strip is the normal strip command
|
||||
|
||||
config BR2_STRIP_sstrip
|
||||
bool "sstrip"
|
||||
select BR2_PACKAGE_SSTRIP_HOST
|
||||
depends on !BR2_ENABLE_DEBUG
|
||||
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
||||
help
|
||||
sstrip is a strip that discards more than the normal strip
|
||||
|
||||
|
||||
18
Makefile
18
Makefile
@@ -40,6 +40,11 @@ else
|
||||
BR2_LOCAL:=$(TOPDIR)/local
|
||||
endif
|
||||
|
||||
# Variables for use in Make constructs
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
|
||||
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
||||
# Pull in the user's configuration file
|
||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
@@ -127,9 +132,6 @@ HOSTCPP:=$(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
|
||||
HOSTLD:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
|
||||
HOSTLN:=$(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
||||
HOSTNM:=$(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
||||
HOST_GLIB_BIN:=`dirname $(shell which glib-genmarshal || echo /usr/bin/glib-genmarshal)`
|
||||
HOST_GLIB:=$(shell dirname $(HOST_GLIB_BIN) || echo /usr)
|
||||
|
||||
|
||||
ifndef CFLAGS_FOR_BUILD
|
||||
CFLAGS_FOR_BUILD:=-g -O2
|
||||
@@ -211,7 +213,7 @@ BASE_TARGETS:=uclibc
|
||||
endif
|
||||
TARGETS:=
|
||||
|
||||
# setup our pathes
|
||||
# setup our paths
|
||||
include project/Makefile.in
|
||||
|
||||
BR2_DEPENDS_DIR=$(PROJECT_BUILD_DIR)/buildroot-config
|
||||
@@ -471,14 +473,18 @@ clean:
|
||||
distclean: clean
|
||||
rm -rf sources/*
|
||||
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
flush:
|
||||
rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
|
||||
|
||||
%_defconfig: $(CONFIG)/conf
|
||||
cp $(shell find ./target/ -name $@) .config
|
||||
-@$(MAKE) oldconfig
|
||||
|
||||
update:
|
||||
cp .config $(BOARD_PATH)/$(BOARD_NAME)_defconfig
|
||||
cp .config $(BOARD_PATH)/$(PROJECT)_defconfig
|
||||
|
||||
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
|
||||
|
||||
@@ -506,6 +512,7 @@ help:
|
||||
@echo 'Configuration:'
|
||||
@echo ' menuconfig - interactive curses-based configurator'
|
||||
@echo ' oldconfig - resolve any unresolved symbols in .config'
|
||||
@echo ' configured - make {uclibc/busybox/linux26}-config'
|
||||
@echo ' saveconfig - save current configuration under local/<project>'
|
||||
@echo ' getconfig - restore saved configuration from local/<project>'
|
||||
@echo
|
||||
@@ -513,6 +520,7 @@ help:
|
||||
@echo ' source - download all sources needed for offline-build'
|
||||
@echo ' source-check - check all packages for valid download URLs'
|
||||
@echo ' external-deps - list external packages used'
|
||||
@echo ' flush - flush configuration cache'
|
||||
@echo
|
||||
@echo 'See docs/README and docs/buildroot.html for further details'
|
||||
@echo
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
<li>HOSTCC</li>
|
||||
<li>UCLIBC_CONFIG_FILE=<path/to/.config></li>
|
||||
<li>BUSYBOX_CONFIG_FILE=<path/to/.config></li>
|
||||
<li>BUILDROOT_COPYTO</li>
|
||||
<li>BUILDROOT_DL_DIR</li>
|
||||
<li>BUILDROOT_LOCAL</li>
|
||||
<li>BUILDROOT_USE_XWINDOWS</li>
|
||||
</ul>
|
||||
|
||||
<p>An example that uses config files located in the toplevel directory and
|
||||
@@ -261,6 +265,16 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config
|
||||
$ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
|
||||
</pre>
|
||||
|
||||
<p>If you want the result of your build to be copied to another directory
|
||||
like /tftpboot for downloading to a board using tftp, then you
|
||||
can use BUILDROOT_COPYTO to specify your location</p>
|
||||
<p>Typically, this is set in your ~/.bashrc file
|
||||
|
||||
<pre>
|
||||
$ export BUILDROOT_COPYTO=/tftpboot
|
||||
</pre>
|
||||
|
||||
|
||||
<h3><a name="helper_completion" id="helper_completion"></a>
|
||||
Using auto-completion</h3>
|
||||
|
||||
@@ -635,52 +649,22 @@ $ make me<TAB>
|
||||
conflicts, but will use unique build directories, where the user
|
||||
can configure the build. </p>
|
||||
|
||||
<p><b>THINGS TO DO</b></p>
|
||||
|
||||
<h2><a name="Linux" id="Linux"></a>Linux</h2>
|
||||
<ol>
|
||||
|
||||
<li>Linux</li>
|
||||
|
||||
<p>The current Linux implementation is flawed. It only works
|
||||
if the user chooses to use one of the few kernels selected
|
||||
as base for the kernel-headers. While the Makefile seems to have
|
||||
hooks, allowing the developer to specify whatever version he/she
|
||||
wants in the target/device/*/* Makefiles, the build will fail
|
||||
if another kernel version is choosen.</p>
|
||||
|
||||
<p>The reason for this is that the kernel patches are not
|
||||
applied by the <code>"target/linux/linux.mk"</code>
|
||||
build script fragment. They are only applied by the
|
||||
<code>"toolchain/kernel-headers/*.makefile"</code>
|
||||
build script fragments</p>
|
||||
|
||||
<p>If the kernel-header version and the linux version differs,
|
||||
there will be two <code>"linux-2.6.X.Y"</code>
|
||||
directories in
|
||||
<code>"build_<ARCH>/<>"</code>,
|
||||
each with its own set of patches. </p>
|
||||
|
||||
<p>The solution in the works, is to move the build of Linux to
|
||||
<code>"project_build_<ARCH>/<project name>/linux-2.6.X.Y"</code> combined with method to configure
|
||||
which patches can be applied. Possibly, the linux source tree
|
||||
used to generate the kernel headers will be moved to the
|
||||
<code>"toolchain_build_<ARCH>"</code>
|
||||
directory
|
||||
</p>
|
||||
|
||||
<p>The user will be able to select from three different
|
||||
Linux strategies:
|
||||
<p>The user can select from three different Linux strategies:
|
||||
|
||||
<ul>
|
||||
<li>Conservative Strategy: Only use version ssupported by the kernel headers</li>
|
||||
<li>Stable Linux Strategy: Allow any 2.6.X.Y combination.
|
||||
<li>Legacy: Only use version supported by the kernel headers</li>
|
||||
<li>Advanced: Allow any 2.6.X.Y combination.
|
||||
(Minimum 2.6.19)</li>
|
||||
<li>Power-User Strategy: Allow
|
||||
<code>"-git"</code>, or
|
||||
<code>"-mm"</code>, or user downloadable kernels</li>
|
||||
</ul>
|
||||
|
||||
<p>The current kernel patches can be configured to be applied to the
|
||||
<p>The current kernel patches can be applied to the
|
||||
linux source tree even if the version differs from the
|
||||
kernel header version. </p>
|
||||
|
||||
@@ -690,7 +674,7 @@ $ make me<TAB>
|
||||
proprietary kernel-patch or decide to not apply the kernel
|
||||
patches</p>
|
||||
|
||||
<p>Other optional patches will be <u>board specific</u> or
|
||||
<p>There is also support for <u>board specific</u> and
|
||||
<u>architecture specific</u> patches. </p>
|
||||
|
||||
<p>There will also be a way for the user to supply absolute
|
||||
@@ -702,8 +686,17 @@ $ make me<TAB>
|
||||
<p>Maybe, there will also be a possibility to supply an
|
||||
<code>"URL"</code> to a patch available on Internet. </p>
|
||||
|
||||
<li>Configurable packages</li>
|
||||
<p>
|
||||
If there is no linux config file available,
|
||||
buildroot starts the linux configuration system, which
|
||||
defaults to "make menuconfig".
|
||||
</p>
|
||||
</ol>
|
||||
|
||||
<h2><a name="Todo" id="Todo"></a>Todo</h2>
|
||||
<ol>
|
||||
|
||||
<li>Configurable packages</li>
|
||||
<p>Many packages can, on top of the simple
|
||||
"enable/disable build",
|
||||
be further configured using Kconfig.
|
||||
|
||||
@@ -6,10 +6,14 @@
|
||||
|
||||
<p>
|
||||
|
||||
The best way to obtain and update your own copy of buildroot is to fetch the
|
||||
latest version using <a href="subversion.html">Subversion</a>. You can also
|
||||
obtain <a href= "downloads/snapshots/">Daily Snapshots</a> of the latest
|
||||
buildroot source tree but cannot or do not wish to use Subversion (svn).
|
||||
The latest release can always be dowloaded from
|
||||
<a href="/downloads/">http://buildroot.uclibc.org/downloads/</a>.
|
||||
|
||||
<p>
|
||||
|
||||
You can also obtain <a href="/downloads/snapshots/">Daily
|
||||
Snapshots</a> of the latest Buildroot source tree if you want to to
|
||||
follow development, but cannot or do not wish to use Subversion (svn).
|
||||
|
||||
<ul>
|
||||
<li> Click here to <a href="downloads/snapshots/">Daily Snapshots</a>.
|
||||
|
||||
@@ -3,6 +3,28 @@
|
||||
|
||||
<ul>
|
||||
|
||||
<li><b>23 January 2009 -- 2009.02-rc2 released</b>
|
||||
<p>Another week, another release candidate with a bunch of
|
||||
cleanups and build fixes.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc2.tar.bz2">2009.02-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>16 January 2009 -- Release candidate and new maintainer</b>
|
||||
<p>It has been a long time coming, but we finally have a new
|
||||
release candidate! - And a new maintainer to match (Peter Korsgaard).</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc1.tar.bz2">2009.02-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>. The plan is to
|
||||
release 2009.02 in time for <a
|
||||
href="http://www.fosdem.org/2009/">FOSDEM</a>.</p>
|
||||
|
||||
<li><b>16 July 2006 -- Buildroot mailing list</b>
|
||||
<p>Buildroot now has its own <a href=lists.html>mailing list</a>.</p>
|
||||
|
||||
|
||||
@@ -189,6 +189,7 @@ source "package/openvpn/Config.in"
|
||||
source "package/openswan/Config.in"
|
||||
source "package/portmap/Config.in"
|
||||
source "package/pppd/Config.in"
|
||||
source "package/radvd/Config.in"
|
||||
source "package/rp-pppoe/Config.in"
|
||||
source "package/pptp-linux/Config.in"
|
||||
source "package/proftpd/Config.in"
|
||||
@@ -255,7 +256,6 @@ source "package/mtd/Config.in"
|
||||
source "package/ntfs-3g/Config.in"
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/pcmcia/Config.in"
|
||||
source "package/raidtools2/Config.in"
|
||||
source "package/setserial/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
# busybox has fdisk
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
# environment passed to the <configure> script
|
||||
# FOO_CONF_OPT [default empty]
|
||||
# arguments passed to the <configure> script
|
||||
# FOO_MAKE [default $(MAKE)]
|
||||
# command to use to execute <make>
|
||||
# FOO_MAKE_ENV [default empty]
|
||||
# environment passed to all calls to <make> in the package source
|
||||
# directory
|
||||
@@ -248,19 +250,22 @@ $(BUILD_DIR)/%/.stamp_configured:
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
$(DISABLE_DOCUMENTATION) \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(QUIET) $($(PKG)_CONF_OPT)
|
||||
$(Q)touch $@
|
||||
|
||||
# Build
|
||||
$(BUILD_DIR)/%/.stamp_built:
|
||||
$(call MESSAGE,"Building")
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$(Q)touch $@
|
||||
|
||||
# Install to staging dir
|
||||
$(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
$(call MESSAGE,'Installing to host (staging directory)')
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
# toolchain/replace.sh $(STAGING_DIR)/usr/lib ".*\.la" "\(['= ]\)/usr" "\\1$(STAGING_DIR)/usr"
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib/ -name "*.la"); do \
|
||||
cp $$i $$i~; \
|
||||
@@ -271,7 +276,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
# Install to target dir
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
|
||||
$(call MESSAGE,"Installing to target")
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR)
|
||||
$(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \
|
||||
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
||||
done)
|
||||
@@ -285,14 +290,14 @@ $(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_cleaned:
|
||||
$(call MESSAGE,"Cleaning up")
|
||||
-$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
-$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $(@D)/.stamp_built
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_uninstalled:
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $(@D)/.stamp_staging_installed
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_TARGET) $($(PKG)_HOOK_POST_INSTALL)
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_dircleaned:
|
||||
@@ -328,6 +333,7 @@ $(2)_LIBTOOL_PATCH ?= YES
|
||||
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
||||
$(2)_CONF_ENV ?=
|
||||
$(2)_CONF_OPT ?=
|
||||
$(2)_MAKE ?= $(MAKE)
|
||||
$(2)_MAKE_ENV ?=
|
||||
$(2)_MAKE_OPT ?=
|
||||
$(2)_INSTALL_STAGING ?= NO
|
||||
|
||||
@@ -71,6 +71,10 @@ ifeq ($(BR2_SOFT_FLOAT),y)
|
||||
TARGET_CFLAGS+=-msoft-float
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_VFP_FLOAT),y)
|
||||
TARGET_CFLAGS+=-mfpu=vfp
|
||||
endif
|
||||
|
||||
# enable VIS for v9a and v9b
|
||||
ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_sparc64_v9b)),y)
|
||||
TARGET_CFLAGS+=-mvis
|
||||
@@ -84,6 +88,14 @@ ifeq ($(BR2_LARGEFILE),y)
|
||||
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
endif
|
||||
|
||||
# Handle bug fixes in toolchain
|
||||
ifeq ($(BR2_arm),y)
|
||||
ifeq ($(BR2_GCC_VERSION_4_3_2),y)
|
||||
# Removes segment violation in mpg123.
|
||||
TARGET_CFLAGS+=-DARM_UNROLL_FIX
|
||||
endif
|
||||
endif
|
||||
|
||||
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
||||
|
||||
# else it's an external toolchain
|
||||
@@ -181,6 +193,10 @@ INSTALL=/usr/bin/install
|
||||
FLEX:=$(shell which flex || type -p flex)
|
||||
BISON:=$(shell which bison || type -p bison)
|
||||
|
||||
# hostcc version as an integer - E.G. 4.3.2 => 432
|
||||
HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \
|
||||
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
|
||||
|
||||
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
|
||||
-e 's/sparc.*/sparc/' \
|
||||
-e 's/arm.*/arm/g' \
|
||||
@@ -345,6 +361,10 @@ ifneq ($(BR2_LARGEFILE),y)
|
||||
DISABLE_LARGEFILE= --disable-largefile
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
DISABLE_IPV6= --disable-ipv6
|
||||
endif
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- acpid-1.0.4/ud_socket.c
|
||||
+++ acpid-1.0.4/ud_socket.c
|
||||
@@ -58,7 +58,7 @@ ud_accept(int listenfd, struct ucred *cr
|
||||
while (1) {
|
||||
int newsock = 0;
|
||||
struct sockaddr_un cliaddr;
|
||||
- int len = sizeof(struct sockaddr_un);
|
||||
+ socklen_t len = sizeof(struct sockaddr_un);
|
||||
|
||||
newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
|
||||
if (newsock < 0) {
|
||||
@@ -1,11 +0,0 @@
|
||||
--- acpid-1.0.4/acpid.h
|
||||
+++ acpid-1.0.4/acpid.h
|
||||
@@ -32,7 +32,7 @@
|
||||
#define ACPI_EVENTFILE ACPI_PROCDIR "/event"
|
||||
#define ACPI_CONFDIR "/etc/acpi/events"
|
||||
#define ACPI_LOGFILE "/var/log/acpid"
|
||||
-#define ACPI_SOCKETFILE "/var/run/acpid.socket"
|
||||
+#define ACPI_SOCKETFILE "/tmp/acpid.socket"
|
||||
#define ACPI_SOCKETMODE 0666
|
||||
#define ACPI_MAX_ERRS 5
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
comment "argus has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_ARGUS
|
||||
|
||||
config BR2_PACKAGE_ARGUS
|
||||
bool "argus"
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# autoconf
|
||||
#
|
||||
#############################################################
|
||||
AUTOCONF_VERSION:=2.61
|
||||
AUTOCONF_VERSION:=2.63
|
||||
AUTOCONF_SOURCE:=autoconf-$(AUTOCONF_VERSION).tar.bz2
|
||||
AUTOCONF_SITE:=$(BR2_GNU_MIRROR)/autoconf
|
||||
AUTOCONF_CAT:=$(BZCAT)
|
||||
|
||||
@@ -158,6 +158,7 @@ $(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
|
||||
chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
cp -af package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $@
|
||||
rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
comment "bind has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_BIND
|
||||
|
||||
config BR2_PACKAGE_BIND
|
||||
bool "bind"
|
||||
help
|
||||
|
||||
@@ -11,7 +11,7 @@ BRIDGE_AUTORECONF:=YES
|
||||
BRIDGE_INSTALL_STAGING:=NO
|
||||
BRIDGE_INSTALL_TARGET:=YES
|
||||
BRIDGE_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install
|
||||
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR) $(DISABLE_NLS)
|
||||
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR)
|
||||
BRIDGE_DEPENDENCIES:=uclibc
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bridge))
|
||||
|
||||
121
package/busybox/busybox-1.13.2-depmod.patch
Normal file
121
package/busybox/busybox-1.13.2-depmod.patch
Normal file
@@ -0,0 +1,121 @@
|
||||
--- busybox-1.13.2/modutils/depmod.c Sun Nov 9 18:28:03 2008
|
||||
+++ busybox-1.13.2-depmod/modutils/depmod.c Mon Jan 12 23:12:59 2009
|
||||
@@ -33,7 +33,7 @@
|
||||
enum {
|
||||
ARG_a = (1<<0), /* All modules, ignore mods in argv */
|
||||
ARG_A = (1<<1), /* Only emit .ko that are newer than modules.dep file */
|
||||
- ARG_b = (1<<2), /* not /lib/modules/$(uname -r)/ but this base-dir */
|
||||
+ ARG_b = (1<<2), /* base directory when modules are in staging area */
|
||||
ARG_e = (1<<3), /* with -F, print unresolved symbols */
|
||||
ARG_F = (1<<4), /* System.map that contains the symbols */
|
||||
ARG_n = (1<<5) /* dry-run, print to stdout only */
|
||||
@@ -57,7 +57,7 @@
|
||||
*first = info;
|
||||
|
||||
info->dnext = info->dprev = info;
|
||||
- info->name = xstrdup(fname);
|
||||
+ info->name = xasprintf("/%s", fname);
|
||||
info->modname = filename2modname(fname, NULL);
|
||||
for (ptr = image; ptr < image + len - 10; ptr++) {
|
||||
if (strncmp(ptr, "depends=", 8) == 0) {
|
||||
@@ -123,44 +123,61 @@
|
||||
}
|
||||
}
|
||||
|
||||
+static void xfreopen_write(const char *file, FILE *f)
|
||||
+{
|
||||
+ if (freopen(file, "w", f) == NULL)
|
||||
+ bb_perror_msg_and_die("can't open '%s'", file);
|
||||
+}
|
||||
+
|
||||
int depmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int depmod_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
module_info *modules = NULL, *m, *dep;
|
||||
- char *moddir_base = (char *)CONFIG_DEFAULT_MODULES_DIR;
|
||||
+ const char *moddir_base = "/";
|
||||
+ char *moddir, *version;
|
||||
+ struct utsname uts;
|
||||
int tmp;
|
||||
|
||||
getopt32(argv, "aAb:eF:n", &moddir_base, NULL);
|
||||
argv += optind;
|
||||
|
||||
/* goto modules location */
|
||||
+ xchdir(moddir_base);
|
||||
|
||||
/* If a version is provided, then that kernel version's module directory
|
||||
* is used, rather than the current kernel version (as returned by
|
||||
* "uname -r"). */
|
||||
- xchdir(moddir_base);
|
||||
- if (*argv && (sscanf(*argv, "%d.%d.%d", &tmp, &tmp, &tmp) == 3)) {
|
||||
- xchdir(*argv++);
|
||||
+ if (*argv && sscanf(*argv, "%d.%d.%d", &tmp, &tmp, &tmp) == 3) {
|
||||
+ version = *argv++;
|
||||
} else {
|
||||
- struct utsname uts;
|
||||
uname(&uts);
|
||||
- xchdir(uts.release);
|
||||
+ version = uts.release;
|
||||
}
|
||||
- /* If no modules are given on the command-line, -a is on per default. */
|
||||
- option_mask32 |= *argv == NULL;
|
||||
+ moddir = concat_path_file(&CONFIG_DEFAULT_MODULES_DIR[1], version);
|
||||
|
||||
/* Scan modules */
|
||||
- moddir_base = xrealloc_getcwd_or_warn(NULL);
|
||||
- do {
|
||||
- recursive_action((option_mask32 & ARG_a) ? moddir_base : *argv,
|
||||
- ACTION_RECURSE, parse_module, NULL, &modules, 0);
|
||||
- } while (!(option_mask32 & ARG_a) && *(++argv));
|
||||
+ if (*argv) {
|
||||
+ char *modfile;
|
||||
+ struct stat sb;
|
||||
+ do {
|
||||
+ modfile = concat_path_file(moddir, *argv);
|
||||
+ xstat(modfile, &sb);
|
||||
+ parse_module(modfile, &sb, &modules, 0);
|
||||
+ free(modfile);
|
||||
+ } while (*(++argv));
|
||||
+ } else {
|
||||
+ recursive_action(moddir, ACTION_RECURSE,
|
||||
+ parse_module, NULL, &modules, 0);
|
||||
+ }
|
||||
+
|
||||
+ /* Prepare for writing out the dep files */
|
||||
+ xchdir(moddir);
|
||||
if (ENABLE_FEATURE_CLEAN_UP)
|
||||
- free(moddir_base);
|
||||
+ free(moddir);
|
||||
|
||||
/* Generate dependency and alias files */
|
||||
if (!(option_mask32 & ARG_n))
|
||||
- freopen(CONFIG_DEFAULT_DEPMOD_FILE, "w", stdout);
|
||||
+ xfreopen_write(CONFIG_DEFAULT_DEPMOD_FILE, stdout);
|
||||
for (m = modules; m != NULL; m = m->next) {
|
||||
printf("%s:", m->name);
|
||||
|
||||
@@ -174,12 +191,12 @@
|
||||
dep->dprev->dnext = dep->dnext;
|
||||
dep->dnext = dep->dprev = dep;
|
||||
}
|
||||
- puts("");
|
||||
+ bb_putchar('\n');
|
||||
}
|
||||
|
||||
#if ENABLE_FEATURE_MODUTILS_ALIAS
|
||||
if (!(option_mask32 & ARG_n))
|
||||
- freopen("modules.alias", "w", stdout);
|
||||
+ xfreopen_write("modules.alias", stdout);
|
||||
for (m = modules; m != NULL; m = m->next) {
|
||||
while (m->aliases) {
|
||||
printf("alias %s %s\n",
|
||||
@@ -190,7 +207,7 @@
|
||||
#endif
|
||||
#if ENABLE_FEATURE_MODUTILS_SYMBOLS
|
||||
if (!(option_mask32 & ARG_n))
|
||||
- freopen("modules.symbols", "w", stdout);
|
||||
+ xfreopen_write("modules.symbols", stdout);
|
||||
for (m = modules; m != NULL; m = m->next) {
|
||||
while (m->symbols) {
|
||||
printf("alias symbol:%s %s\n",
|
||||
11
package/busybox/busybox-1.13.2-tar.patch
Normal file
11
package/busybox/busybox-1.13.2-tar.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- busybox-1.13.2/archival/tar.c Sun Nov 9 18:28:02 2008
|
||||
+++ busybox-1.13.2-tar/archival/tar.c Tue Jan 20 03:52:04 2009
|
||||
@@ -591,8 +591,6 @@
|
||||
struct TarBallInfo tbInfo;
|
||||
|
||||
tbInfo.hlInfoHead = NULL;
|
||||
-
|
||||
- fchmod(tar_fd, 0644);
|
||||
tbInfo.tarFd = tar_fd;
|
||||
tbInfo.verboseFlag = verboseFlag;
|
||||
|
||||
@@ -42,18 +42,10 @@ else
|
||||
endif
|
||||
touch $@
|
||||
|
||||
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
||||
$(BUSYBOX_DIR)/.config: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
||||
cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.config
|
||||
$(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_0_1),y)
|
||||
$(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\PREFIX=$(TARGET_DIR),;" \
|
||||
$(BUSYBOX_DIR)/Rules.mak
|
||||
endif
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_1_3),y)
|
||||
$(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
endif
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_2_2_1),y)
|
||||
$(SED) s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
@@ -105,7 +97,7 @@ endif
|
||||
touch $@
|
||||
|
||||
|
||||
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured
|
||||
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
|
||||
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
@@ -137,9 +129,9 @@ busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||
|
||||
busybox-unpacked: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
|
||||
|
||||
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.configured
|
||||
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.config
|
||||
|
||||
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.configured
|
||||
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
|
||||
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
|
||||
|
||||
busybox-update:
|
||||
|
||||
@@ -40,7 +40,7 @@ $(STAGING_DIR)/usr/lib/libbz2.so.$(BZIP2_VERSION): $(BZIP2_DIR)/.unpacked
|
||||
cp $(BZIP2_DIR)/libbz2.so.$(BZIP2_VERSION) $(STAGING_DIR)/usr/lib/
|
||||
cp $(BZIP2_DIR)/libbz2.a $(STAGING_DIR)/usr/lib/
|
||||
(cd $(STAGING_DIR)/usr/lib/; \
|
||||
ln -snf ../../lib/libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||
)
|
||||
(cd $(STAGING_DIR)/usr/lib; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
||||
|
||||
@@ -46,7 +46,6 @@ ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
||||
CAIRO_CONF_OPT = --disable-xlib --without-x --enable-directfb
|
||||
CAIRO_DEPENDENCIES_EXTRA = directfb
|
||||
endif
|
||||
CAIRO_CONF_OPT += --disable-gtk-doc --without-html-dir
|
||||
|
||||
CAIRO_DEPENDENCIES = uclibc gettext libintl pkgconfig zlib libpng fontconfig $(CAIRO_DEPENDENCIES_EXTRA) pixman $(XSERVER)
|
||||
|
||||
|
||||
@@ -3,23 +3,59 @@
|
||||
# cups
|
||||
#
|
||||
################################################################################
|
||||
CUPS_VERSION = 1.3.5
|
||||
CUPS_VERSION = 1.3.9
|
||||
CUPS_NAME = cups-$(CUPS_VERSION)
|
||||
CUPS_DIR = $(BUILD_DIR)/$(CUPS_NAME)
|
||||
CUPS_SITE = http://ftp.easysw.com/pub/cups/1.3.5
|
||||
CUPS_SITE = http://ftp.easysw.com/pub/cups/$(CUPS_VERSION)
|
||||
CUPS_SOURCE:=$(CUPS_NAME)-source.tar.bz2
|
||||
CUPS_DESTDIR:=$(STAGING_DIR)/usr/lib
|
||||
CUPS_CAT:=$(BZCAT)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
CUPS_CONF_OPT_DBUS =--enable-dbus
|
||||
CUPS_DEPENDENCIES_DBUS = dbus
|
||||
CUPS_CONF_OPT += --enable-dbus
|
||||
CUPS_DEPENDENCIES += dbus
|
||||
else
|
||||
CUPS_CONF_OPT_DBUS =--disable-dbus
|
||||
CUPS_CONF_OPT += --disable-dbus
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
|
||||
CUPS_DEPENDENCIES_X = xlib_libX11
|
||||
CUPS_DEPENDENCIES += xlib_libX11
|
||||
endif
|
||||
|
||||
CUPS_CONF_OPT += --disable-perl
|
||||
CUPS_CONF_OPT += --disable-java
|
||||
CUPS_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PERL),disabled) # We do not provide perl (yet)
|
||||
CUPS_CONF_ENV += ac_cv_path_perl=$(STAGING_DIR)/usr/bin/perl
|
||||
CUPS_CONF_OPT += --with-perl
|
||||
CUPS_DEPENDENCIES += microperl
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-perl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP),y)
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/main
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/regex
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/TSRM
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/Zend
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/ext
|
||||
CUPS_CONF_ENV += ac_cv_path_php=$(STAGING_DIR)/usr/bin/php
|
||||
CUPS_CONF_OPT += --with-php
|
||||
CUPS_DEPENDENCIES += php
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-php
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
|
||||
CUPS_CONF_ENV += ac_cv_path_python=$(STAGING_DIR)/usr/bin/python
|
||||
CUPS_CONF_OPT += --with-python
|
||||
CUPS_DEPENDENCIES += python
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-python
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(CUPS_SOURCE):
|
||||
@@ -35,13 +71,25 @@ $(CUPS_DIR)/.configured: $(CUPS_DIR)/.unpacked
|
||||
(cd $(CUPS_DIR) && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(CUPS_CONF_ENV) \
|
||||
CFLAGS="$(CUPS_CFLAGS)" \
|
||||
./configure \
|
||||
--prefix=/usr $(CUPS_CONF_OPT_DBUS) --includedir=/usr/include \
|
||||
--libdir=/usr/lib --disable-gnutls --disable-gssapi --host=$(ARCH) \ )
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-config-file-path=/etc \
|
||||
--disable-gnutls \
|
||||
--disable-gssapi \
|
||||
$(CUPS_CONF_OPT) \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(CUPS_DIR)/.compiled: $(CUPS_DIR)/.configured
|
||||
$(MAKE) -C $(CUPS_DIR) cups backend berkeley cgi-bin filter \
|
||||
$(MAKE) CFLAGS="$(CUPS_CFLAGS)" -C $(CUPS_DIR) cups backend berkeley cgi-bin filter \
|
||||
locale monitor notifier pdftops scheduler systemv scripting/php \
|
||||
conf data doc fonts ppd templates
|
||||
touch $@
|
||||
@@ -55,11 +103,14 @@ $(CUPS_DIR)/.installed: $(CUPS_DIR)/.compiled
|
||||
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/bin/cups-config
|
||||
touch $@
|
||||
|
||||
cups: uclibc $(CUPS_DEPENDENCIES_DBUS) $(CUPS_DEPENDENCIES_X) $(CUPS_DIR)/.installed
|
||||
cups: uclibc $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
|
||||
|
||||
cups-clean:
|
||||
-$(MAKE) -C $(CUPS_DIR) clean
|
||||
|
||||
cups-dirclean:
|
||||
rm -fr $(CUPS_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
@@ -67,4 +118,5 @@ cups-clean:
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||
TARGETS+=cups
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
config BR2_PACKAGE_MYSQL_CLIENT
|
||||
bool "MySQL 5.1 client"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
MySQL client
|
||||
|
||||
comment "Mysql client requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -8,23 +8,24 @@ MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
|
||||
MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
|
||||
MYSQL_CLIENT_INSTALL_TARGET = YES
|
||||
MYSQL_CLIENT_INSTALL_STAGING = YES
|
||||
MYSQL_CLIENT_DEPENDENCIES = uclibc readline
|
||||
MYSQL_CLIENT_DEPENDENCIES = uclibc readline ncurses
|
||||
|
||||
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
|
||||
MYSQL_CLIENT_CONF_OPT = \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--program-prefix="" \
|
||||
--prefix=/usr \
|
||||
--without-ndb-binlog \
|
||||
--without-server \
|
||||
--without-docs \
|
||||
--without-man \
|
||||
--without-readline \
|
||||
--without-libedit \
|
||||
--with-readline=$(STAGING_DIR)/usr \
|
||||
--with-low-memory \
|
||||
--enable-thread-safe-client \
|
||||
$(ENABLE_DEBUG)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package/database,mysql_client))
|
||||
|
||||
$(MYSQL_CLIENT_HOOK_POST_INSTALL):
|
||||
rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
|
||||
touch $@
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_SQLITE
|
||||
bool "sqlite"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_READLINE
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
SQLite is a small C library that implements a self-contained,
|
||||
embeddable, zero-configuration SQL database engine.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
SQLITE_VERSION:=3.6.4
|
||||
SQLITE_VERSION:=3.6.10
|
||||
SQLITE_SOURCE:=sqlite-$(SQLITE_VERSION).tar.gz
|
||||
SQLITE_SITE:=http://www.sqlite.org
|
||||
SQLITE_DIR:=$(BUILD_DIR)/sqlite-$(SQLITE_VERSION)
|
||||
@@ -55,7 +55,7 @@ $(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libsqlite3.so
|
||||
|
||||
sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3
|
||||
sqlite: uclibc ncurses $(TARGET_DIR)/usr/bin/sqlite3
|
||||
|
||||
sqlite-source: $(DL_DIR)/$(SQLITE_SOURCE)
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ $(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked
|
||||
DBUS_CFLAGS="-I$(STAGING_DIR)/usr/include/dbus-1.0 -I$(STAGING_DIR)/usr/lib/dbus-1.0/include" \
|
||||
DBUS_LIBS="$(STAGING_DIR)/usr/lib/libdbus-1.so" \
|
||||
DBUS_GLIB_CFLAGS="-I$(STAGING_DIR)/usr/include/glib-2.0 -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
|
||||
DBUS_GLIB_LIBS="$(STAGING_DIR)/lib/libglib-2.0.so $(STAGING_DIR)/lib/libgobject-2.0.so $(STAGING_DIR)/lib/libgmodule-2.0.so $(STAGING_DIR)/lib/libgthread-2.0.so" \
|
||||
DBUS_GLIB_LIBS="$(STAGING_DIR)/usr/lib/libglib-2.0.so $(STAGING_DIR)/usr/lib/libgobject-2.0.so $(STAGING_DIR)/usr/lib/libgmodule-2.0.so $(STAGING_DIR)/usr/lib/libgthread-2.0.so" \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
@@ -47,7 +47,7 @@ $(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked
|
||||
touch $(DBUS_GLIB_DIR)/.configured
|
||||
|
||||
$(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY): $(DBUS_GLIB_DIR)/.configured
|
||||
$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/lib/libexpat.so" -C $(DBUS_GLIB_DIR) all
|
||||
$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so" -C $(DBUS_GLIB_DIR) all
|
||||
|
||||
$(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0: $(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY)
|
||||
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/libdbus-glib-1.so* $(STAGING_DIR)/usr/lib
|
||||
@@ -58,7 +58,7 @@ $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-glib-1.
|
||||
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/dbus-binding-tool $(TARGET_DIR)/usr/bin
|
||||
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
|
||||
|
||||
dbus-glib: uclibc pkgconfig dbus libglib2 $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY)
|
||||
dbus-glib: uclibc pkgconfig dbus expat libglib2 $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY)
|
||||
|
||||
dbus-glib-clean:
|
||||
rm -f $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2*
|
||||
|
||||
@@ -13,14 +13,10 @@ DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
|
||||
|
||||
ifeq ($(BR2_DBUS_EXPAT),y)
|
||||
DBUS_XML:=expat
|
||||
# depend on the exact library file instead of expat so dbus isn't always
|
||||
# considered out-of-date
|
||||
DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
||||
DBUS_XML_DEP:=expat
|
||||
else
|
||||
DBUS_XML:=libxml
|
||||
# Makefile.autotools.in unfortunately has broken dependency handling,
|
||||
# so we cannot do the same for libxml2
|
||||
DBUS_XML_DEP:=libxml2-install-staging
|
||||
DBUS_XML_DEP:=libxml2
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(DBUS_SOURCE):
|
||||
@@ -64,9 +60,12 @@ $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
|
||||
|
||||
$(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
|
||||
$(MAKE) -C $(DBUS_DIR) all
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
|
||||
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libdbus-1.la
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY)
|
||||
mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
|
||||
@@ -87,7 +86,7 @@ ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
|
||||
dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
|
||||
dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
|
||||
|
||||
dbus-clean:
|
||||
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
|
||||
@@ -114,3 +113,5 @@ dbus-dirclean:
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
TARGETS+=dbus
|
||||
endif
|
||||
|
||||
|
||||
|
||||
17
package/directfb/directfb-1.2.7-ppc-compile-fix.patch
Normal file
17
package/directfb/directfb-1.2.7-ppc-compile-fix.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
lib/direct/ppcasm_memcpy_cachable.S | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
Index: DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
|
||||
===================================================================
|
||||
--- DirectFB-1.2.7.orig/lib/direct/ppcasm_memcpy_cachable.S
|
||||
+++ DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
|
||||
@@ -34,8 +34,6 @@
|
||||
|
||||
#define __ASSEMBLY__
|
||||
|
||||
-#include <linux/config.h>
|
||||
-
|
||||
#if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
|
||||
#define L1_CACHE_LINE_SIZE 16
|
||||
#define LG_L1_CACHE_LINE_SIZE 4
|
||||
@@ -3,19 +3,16 @@
|
||||
# directfb
|
||||
#
|
||||
#############################################################
|
||||
#DIRECTFB_VERSION:=0.9.25.1
|
||||
#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
|
||||
DIRECTFB_VERSION_MAJOR:=1.2
|
||||
DIRECTFB_VERSION:=1.2.6
|
||||
DIRECTFB_VERSION:=1.2.7
|
||||
#DIRECTFB_VERSION:=1.3.0 is a development version
|
||||
#DIRECTFB_VERSION_MAJOR:=1.3
|
||||
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
|
||||
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
|
||||
DIRECTFB_CAT:=$(ZCAT)
|
||||
DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
|
||||
DIRECTFB_STAGING:=directfb-$(DIRECTFB_VERSION_MAJOR)-0
|
||||
DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_VERSION_MAJOR).so.0
|
||||
DIRECTFB_DEP:=zlib
|
||||
DIRECTFB_AUTORECONF = NO
|
||||
DIRECTFB_LIBTOOL_PATCH = NO
|
||||
DIRECTFB_INSTALL_STAGING = YES
|
||||
DIRECTFB_INSTALL_TARGET = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
|
||||
DIRECTFB_MULTI:=--enable-multi --enable-fusion
|
||||
@@ -55,9 +52,6 @@ endif
|
||||
ifeq ($(DIRECTFB_GFX),)
|
||||
DIRECTFB_GFX:=none
|
||||
else
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
DIRECTFB_GFX:=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
|
||||
endif
|
||||
|
||||
@@ -78,9 +72,6 @@ endif
|
||||
ifeq ($(DIRECTFB_INPUT),)
|
||||
DIRECTFB_INPUT:=none
|
||||
else
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
DIRECTFB_INPUT:=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
|
||||
endif
|
||||
|
||||
@@ -105,96 +96,29 @@ else
|
||||
DIRECTFB_JPEG:=--disable-jpeg
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(DIRECTFB_SOURCE):
|
||||
$(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
|
||||
DIRECTFB_CONF_OPT = \
|
||||
--localstatedir=/var \
|
||||
--with-gfxdrivers=$(DIRECTFB_GFX) \
|
||||
--with-inputdrivers=$(DIRECTFB_INPUT) \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-explicit-deps \
|
||||
$(DIRECTFB_MULTI) \
|
||||
$(DIRECTFB_X) \
|
||||
$(DIRECTFB_JPEG) \
|
||||
$(DIRECTFB_PNG) \
|
||||
$(DIRECTFB_GIF) \
|
||||
$(DIRECTFB_UNIQUE) \
|
||||
--enable-linux-input \
|
||||
--enable-zlib \
|
||||
--enable-freetype \
|
||||
--enable-fbdev \
|
||||
--disable-sysfs \
|
||||
--disable-sdl \
|
||||
--disable-vnc \
|
||||
--disable-video4linux \
|
||||
--disable-video4linux2
|
||||
|
||||
directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
||||
DIRECTFB_DEPENDENCIES = uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
|
||||
|
||||
$(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
||||
$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ DirectFB-$(DIRECTFB_VERSION)\*.patch
|
||||
touch $@
|
||||
|
||||
$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
|
||||
(cd $(DIRECTFB_DIR); rm -f config.cache; \
|
||||
ac_cv_header_linux_wm97xx_h=no \
|
||||
ac_cv_header_linux_sisfb_h=no \
|
||||
ac_cv_header_asm_page_h=no \
|
||||
$(AUTO_CONFIGURE_TARGET) \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-gfxdrivers=$(DIRECTFB_GFX) \
|
||||
--with-inputdrivers=$(DIRECTFB_INPUT) \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(DIRECTFB_MULTI) \
|
||||
$(DIRECTFB_X) \
|
||||
$(DIRECTFB_JPEG) \
|
||||
$(DIRECTFB_PNG) \
|
||||
$(DIRECTFB_GIF) \
|
||||
$(DIRECTFB_UNIQUE) \
|
||||
--enable-linux-input \
|
||||
--enable-zlib \
|
||||
--enable-freetype \
|
||||
--enable-fbdev \
|
||||
--disable-sysfs \
|
||||
--disable-sdl \
|
||||
--disable-vnc \
|
||||
--disable-video4linux \
|
||||
--disable-video4linux2 )
|
||||
touch $@
|
||||
|
||||
$(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
|
||||
$(MAKE) PATH=$(STAGING_DIR)/usr/lib:$(PATH) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
-C $(DIRECTFB_DIR)
|
||||
touch $(DIRECTFB_DIR)/.compiled
|
||||
|
||||
$(STAGING_DIR)/$(DIRECTFB_BIN): $(DIRECTFB_DIR)/.compiled
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DIRECTFB_DIR) install
|
||||
$(SED) "s, /usr/lib, $(STAGING_DIR)/usr/lib,g" \
|
||||
$(STAGING_DIR)/usr/lib/libdirect.la \
|
||||
$(STAGING_DIR)/usr/lib/libdirectfb.la \
|
||||
$(STAGING_DIR)/usr/lib/libfusion.la \
|
||||
`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/ -name '*.la'`
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
$(STAGING_DIR)/usr/bin/*directfb-config
|
||||
|
||||
$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
|
||||
cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
|
||||
| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/gfxdrivers
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
|
||||
endif
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libdirect*.so.* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
|
||||
$(TARGET_DIR)/usr/lib/libdirect*.so.* \
|
||||
$(TARGET_DIR)/usr/lib/libfusion*.so.*
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
|
||||
$(TARGET_DIR)/usr/lib/libuniquewm*.so.*
|
||||
endif
|
||||
|
||||
directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
|
||||
|
||||
directfb-unpacked: $(DIRECTFB_DIR)/.unpacked
|
||||
|
||||
directfb-clean:
|
||||
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
|
||||
-$(MAKE) -C $(DIRECTFB_DIR) clean
|
||||
rm -f $(DIRECTFB_DIR)/.configured $(DIRECTFB_DIR)/.compiled
|
||||
|
||||
directfb-dirclean:
|
||||
rm -rf $(DIRECTFB_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
||||
TARGETS+=directfb
|
||||
endif
|
||||
$(eval $(call AUTOTARGETS,package,directfb))
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
comment "dmraid has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_DMRAID
|
||||
|
||||
config BR2_PACKAGE_DMRAID
|
||||
bool "dmraid"
|
||||
select BR2_PACKAGE_DM
|
||||
|
||||
@@ -4,13 +4,14 @@
|
||||
#
|
||||
#############################################################
|
||||
FREETYPE_VERSION = $(strip $(subst ",, $(BR2_FREETYPE_VERSION)))
|
||||
#"))
|
||||
FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype
|
||||
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
|
||||
FREETYPE_LIBTOOL_PATCH = NO
|
||||
FREETYPE_INSTALL_STAGING = YES
|
||||
FREETYPE_INSTALL_TARGET = YES
|
||||
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
|
||||
FREETYPE_DEPENDENCIES = uclibc pkgconfig zlib
|
||||
FREETYPE_DEPENDENCIES = uclibc pkgconfig $(if $(BR2_PACKAGE_ZLIB),zlib)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,freetype))
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_GAMIN
|
||||
bool "gamin"
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
the File Alteration Monitor
|
||||
|
||||
|
||||
@@ -10,13 +10,17 @@ GAMIN_AUTORECONF = NO
|
||||
GAMIN_INSTALL_STAGING = YES
|
||||
GAMIN_INSTALL_TARGET = YES
|
||||
|
||||
GAMIN_CONF_OPT = --program-prefix=""
|
||||
GAMIN_CONF_OPT = --program-prefix="" --disable-debug
|
||||
|
||||
GAMIN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
|
||||
GAMIN_CONF_ENV = have_abstract_sockets=no
|
||||
|
||||
GAMIN_DEPENDENCIES = uclibc libgtk2
|
||||
ifneq ($(BR2_LARGEFILE),y)
|
||||
GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
|
||||
endif
|
||||
|
||||
GAMIN_DEPENDENCIES = uclibc libglib2
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,gamin))
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ GMPC_SOURCE = gmpc-$(GMPC_VERSION).tar.gz
|
||||
GMPC_SITE = http://download.sarine.nl/download/Programs/gmpc/$(GMPC_VERSION)/
|
||||
GMPC_LIBTOOL_PATCH = NO
|
||||
GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes
|
||||
GMPC_CONF_OPT = --disable-mmkeys $(DISABLE_NLS)
|
||||
GMPC_CONF_OPT = --disable-mmkeys
|
||||
|
||||
|
||||
GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
config BR2_PACKAGE_ICU
|
||||
bool "icu"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
International Components for Unicode.
|
||||
|
||||
http://icu-project.org/
|
||||
|
||||
comment "icu requires a toolchain with C++ support and WCHAR enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
||||
|
||||
18
package/input-tools/joystick-20051019-rint.patch
Normal file
18
package/input-tools/joystick-20051019-rint.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff -urN joystick-20051019.orig/utils/jscal.c joystick-20051019/utils/jscal.c
|
||||
--- joystick-20051019.orig/utils/jscal.c 2004-10-19 09:51:52.000000000 +0200
|
||||
+++ joystick-20051019/utils/jscal.c 2009-01-18 10:48:50.000000000 +0100
|
||||
@@ -141,10 +141,10 @@
|
||||
c = 32767.0 / (inputs.cmin[1] - inputs.cmax[0]);
|
||||
d = 32767.0 / (inputs.cmin[2] - inputs.cmax[1]);
|
||||
|
||||
- results[0] = rint(a);
|
||||
- results[1] = rint(b);
|
||||
- results[2] = rint(c*16384.0);
|
||||
- results[3] = rint(d*16384.0);
|
||||
+ results[0] = (int) (a + 0.5);
|
||||
+ results[1] = (int) (b + 0.5);
|
||||
+ results[2] = (int) (c*16384.0 + 0.5);
|
||||
+ results[3] = (int) (d*16384.0 + 0.5);
|
||||
|
||||
return 1;
|
||||
}
|
||||
@@ -51,7 +51,7 @@ config BR2_PACKAGE_IPSEC_TOOLS_IPV6
|
||||
|
||||
config BR2_PACKAGE_IPSEC_TOOLS_READLINE
|
||||
depends on BR2_PACKAGE_IPSEC_TOOLS
|
||||
select BR2_READLINE
|
||||
select BR2_PACKAGE_READLINE
|
||||
bool "Enable readline input support if available."
|
||||
|
||||
config BR2_PACKAGE_IPSEC_TOOLS_LIBS
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
menuconfig BR2_PACKAGE_IRDA_UTILS
|
||||
bool "irda_utils"
|
||||
depends on BROKEN
|
||||
help
|
||||
Tools for accessing the irda-Subsystem of the Linux-Kernel
|
||||
Tools for accessing the irda-Subsystem of the Linux-Kernel
|
||||
The makefile is totally broken.
|
||||
|
||||
if BR2_PACKAGE_IRDA_UTILS
|
||||
config IRDA_IRATTACH
|
||||
@@ -39,5 +41,5 @@ config IRDA_SMCINIT
|
||||
help
|
||||
Some Toshiba Laptops have buggy BIOSes which didn't initialize
|
||||
Irda. This may help those.
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
comment "kismet has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_KISMET
|
||||
|
||||
config BR2_PACKAGE_KISMET
|
||||
bool "kismet"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
|
||||
45
package/kismet/kismet-2007-10-R1-memset.patch
Normal file
45
package/kismet/kismet-2007-10-R1-memset.patch
Normal file
@@ -0,0 +1,45 @@
|
||||
diff -urN kismet-2007-10-R1-0rig//kismet_wrapper.cc kismet-2007-10-R1/kismet_wrapper.cc
|
||||
--- kismet-2007-10-R1-0rig//kismet_wrapper.cc 2007-10-06 23:50:03.000000000 +0200
|
||||
+++ kismet-2007-10-R1/kismet_wrapper.cc 2009-01-21 01:12:42.000000000 +0100
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
+#include <string.h>
|
||||
|
||||
/* Blob of globals since sighandler needs them */
|
||||
vector<string> postcli_err;
|
||||
diff -urN kismet-2007-10-R1-0rig//ringbuf.cc kismet-2007-10-R1/ringbuf.cc
|
||||
--- kismet-2007-10-R1-0rig//ringbuf.cc 2005-12-11 20:14:39.000000000 +0100
|
||||
+++ kismet-2007-10-R1/ringbuf.cc 2009-01-21 01:12:26.000000000 +0100
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "ringbuf.h"
|
||||
+#include <string.h>
|
||||
|
||||
RingBuffer::RingBuffer(int in_size) {
|
||||
ring_len = in_size;
|
||||
diff -urN kismet-2007-10-R1-0rig//util.cc kismet-2007-10-R1/util.cc
|
||||
--- kismet-2007-10-R1-0rig//util.cc 2006-08-28 22:37:29.000000000 +0200
|
||||
+++ kismet-2007-10-R1/util.cc 2009-01-21 01:12:26.000000000 +0100
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
|
||||
// We need this to make uclibc happy since they don't even have rintf...
|
||||
#ifndef rintf
|
||||
diff -urN kismet-2007-10-R1-0rig//util.h kismet-2007-10-R1/util.h
|
||||
--- kismet-2007-10-R1-0rig//util.h 2006-08-28 22:37:29.000000000 +0200
|
||||
+++ kismet-2007-10-R1/util.h 2009-01-21 01:12:26.000000000 +0100
|
||||
@@ -65,7 +65,7 @@
|
||||
end = op.end;
|
||||
return *this;
|
||||
}
|
||||
-};
|
||||
+} swt;
|
||||
vector<smart_word_token> SmartStrTokenize(string in_str, string in_split, int return_partial = 1);
|
||||
|
||||
vector<string> LineWrap(string in_txt, unsigned int in_hdr_len, unsigned int in_maxlen);
|
||||
@@ -62,6 +62,7 @@ $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY): $(KISMET_DIR)/$(KISME
|
||||
|
||||
kismet: uclibc ncurses libpcap dbus $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY)
|
||||
|
||||
kismet-unpacked: $(KISMET_DIR)/.patched
|
||||
|
||||
kismet-clean:
|
||||
rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
config BR2_PACKAGE_LIBCGICC
|
||||
bool "libcgicc"
|
||||
select BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
GNU cgicc is a C++ class library that greatly simplifies
|
||||
the creation of CGI applications for the World Wide Web.
|
||||
|
||||
http://www.cgicc.com
|
||||
|
||||
comment "libcgicc requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
12
package/libcgicc/cgicc-3.2.7-memset.patch
Normal file
12
package/libcgicc/cgicc-3.2.7-memset.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -urN cgicc-3.2.7-0rig//demo/dns.cpp cgicc-3.2.7/demo/dns.cpp
|
||||
--- cgicc-3.2.7-0rig//demo/dns.cpp 2009-01-21 00:24:13.000000000 +0100
|
||||
+++ cgicc-3.2.7/demo/dns.cpp 2009-01-21 00:24:30.000000000 +0100
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
+#include <string.h>
|
||||
|
||||
#include "cgicc/CgiDefs.h"
|
||||
#include "cgicc/Cgicc.h"
|
||||
|
||||
@@ -17,7 +17,8 @@ libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE)
|
||||
|
||||
$(LIBCGICC_DIR)/.unpacked: $(DL_DIR)/$(LIBCGICC_SOURCE)
|
||||
$(LIBCGICC_CAT) $(DL_DIR)/$(LIBCGICC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
touch $(LIBCGICC_DIR)/.unpacked
|
||||
toolchain/patch-kernel.sh $(LIBCGICC_DIR) package/libcgicc cgicc\*.patch
|
||||
touch $@
|
||||
|
||||
$(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
|
||||
(cd $(LIBCGICC_DIR); rm -f config.cache; \
|
||||
@@ -29,32 +30,27 @@ $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
|
||||
--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=/include \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--disable-demos \
|
||||
)
|
||||
touch $(LIBCGICC_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(LIBCGICC_DIR)/.compiled: $(LIBCGICC_DIR)/.configured
|
||||
$(MAKE) -C $(LIBCGICC_DIR)
|
||||
touch $(LIBCGICC_DIR)/.compiled
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled
|
||||
$(STAGING_DIR)/usr/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBCGICC_DIR) install
|
||||
touch -c $(STAGING_DIR)/lib/libcgicc.so
|
||||
touch -c $(STAGING_DIR)/usr/lib/libcgicc.so
|
||||
|
||||
$(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/lib/libcgicc.so
|
||||
cp -dpf $(STAGING_DIR)/lib/libcgicc.so* $(TARGET_DIR)/usr/lib/
|
||||
$(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/usr/lib/libcgicc.so
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libcgicc.so* $(TARGET_DIR)/usr/lib/
|
||||
|
||||
libcgicc: uclibc $(TARGET_DIR)/usr/lib/libcgicc.so
|
||||
|
||||
libcgicc-unpacked: $(LIBCGICC_DIR)/.unpacked
|
||||
|
||||
libcgicc-clean:
|
||||
-$(MAKE) -C $(LIBCGICC_DIR) clean
|
||||
|
||||
|
||||
34
package/libconfuse/libconfuse-2.6-dont-use-werror.patch
Normal file
34
package/libconfuse/libconfuse-2.6-dont-use-werror.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
confuse: don't compile with -Werror
|
||||
|
||||
Werror isn't really a robust setting for !development.
|
||||
---
|
||||
src/Makefile.am | 2 +-
|
||||
src/Makefile.in | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: confuse-2.6/src/Makefile.am
|
||||
===================================================================
|
||||
--- confuse-2.6.orig/src/Makefile.am
|
||||
+++ confuse-2.6/src/Makefile.am
|
||||
@@ -10,7 +10,7 @@
|
||||
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|
||||
|
||||
if cc_is_gcc
|
||||
-AM_CFLAGS=-Wall -Werror
|
||||
+AM_CFLAGS=-Wall
|
||||
endif
|
||||
|
||||
LIBS = @LIBS@
|
||||
Index: confuse-2.6/src/Makefile.in
|
||||
===================================================================
|
||||
--- confuse-2.6.orig/src/Makefile.in
|
||||
+++ confuse-2.6/src/Makefile.in
|
||||
@@ -196,7 +196,7 @@
|
||||
libconfuse_la_SOURCES = confuse.c lexer.l
|
||||
libconfuse_la_LIBADD = $(LTLIBINTL)
|
||||
include_HEADERS = confuse.h
|
||||
-@cc_is_gcc_TRUE@AM_CFLAGS = -Wall -Werror
|
||||
+@cc_is_gcc_TRUE@AM_CFLAGS = -Wall
|
||||
CLEANFILES = *~ \#*\#
|
||||
AM_LFLAGS = -Pcfg_yy -olex.yy.c
|
||||
all: all-am
|
||||
@@ -10,7 +10,7 @@ LIBCONFUSE_AUTORECONF:=NO
|
||||
LIBCONFUSE_INSTALL_STAGING:=YES
|
||||
LIBCONFUSE_INSTALL_TARGET:=YES
|
||||
|
||||
LIBCONFUSE_CONF_OPT:=--enable-shared --disable-rpath $(DISABLE_NLS)
|
||||
LIBCONFUSE_CONF_OPT:=--enable-shared --disable-rpath
|
||||
|
||||
LIBCONFUSE_DEPENDENCIES = uclibc
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.bz2
|
||||
LIBCURL_SITE = http://curl.haxx.se/download/
|
||||
LIBCURL_INSTALL_STAGING = YES
|
||||
LIBCURL_CONF_OPT = --disable-verbose --disable-manual --enable-hidden-symbols \
|
||||
$(DISABLE_NLS) $(DISABLE_LARGEFILE) $(DISABLE_IPV6)
|
||||
$(DISABLE_IPV6)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBCURL_DEPENDENCIES += openssl
|
||||
|
||||
@@ -11,7 +11,7 @@ LIBDAEMON_AUTORECONF:=no
|
||||
LIBDAEMON_INSTALL_STAGING:=YES
|
||||
LIBDAEMON_INSTALL_TARGET:=YES
|
||||
LIBDAEMON_CONF_ENV:=ac_cv_func_setpgrp_void=no
|
||||
LIBDAEMON_CONF_OPT:=--disable-lynx $(DISABLE_NLS) $(DISABLE_LARGEFILE)
|
||||
LIBDAEMON_CONF_OPT:=--disable-lynx
|
||||
|
||||
LIBDAEMON_DEPENDENCIES:=uclibc pkgconfig
|
||||
|
||||
|
||||
@@ -10,7 +10,12 @@ LIBDNET_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/l
|
||||
LIBDNET_INSTALL_STAGING = YES
|
||||
LIBDNET_INSTALL_TARGET = YES
|
||||
LIBDNET_AUTORECONF = YES
|
||||
LIBDNET_CONF_OPT = --with-gnu-ld --enable-shared --enable-static
|
||||
LIBDNET_CONF_OPT = \
|
||||
--with-gnu-ld \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--with-check=no
|
||||
|
||||
LIBDNET_DEPENDENCIES = uclibc
|
||||
|
||||
ifneq ($(BR2_PACKAGE_LIBDNET_PYTHON),)
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
comment "libeXosip2 has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_LIBEXOSIP2
|
||||
|
||||
config BR2_PACKAGE_LIBEXOSIP2
|
||||
bool "libeXosip2"
|
||||
select BR2_PACKAGE_LIBOSIP2
|
||||
help
|
||||
GNU Higher level SIP (Session Initiation Protocol)
|
||||
This library aims to provide multimedia and telecom software
|
||||
|
||||
@@ -26,16 +26,12 @@ $(LIBEXOSIP2_DIR)/.configured: $(LIBEXOSIP2_DIR)/.unpacked
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=$(STAGING_DIR) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--libexecdir=/usr/lib \
|
||||
--libdir=/usr/lib \
|
||||
--includedir=$(STAGING_DIR)/usr/include \
|
||||
--oldincludedir=/usr/include \
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_LIBFLOAT
|
||||
bool "libfloat"
|
||||
depends on BR2_DEPRECATED
|
||||
help
|
||||
Soft floating point library.
|
||||
|
||||
|
||||
88
package/libglib12/libglib-libtool.patch
Normal file
88
package/libglib12/libglib-libtool.patch
Normal file
@@ -0,0 +1,88 @@
|
||||
--- 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
|
||||
Binary file not shown.
@@ -3,14 +3,21 @@
|
||||
# libglib2
|
||||
#
|
||||
#############################################################
|
||||
LIBGLIB2_VERSION = 2.16.6
|
||||
LIBGLIB2_VERSION_MAJOR = 2.16
|
||||
LIBGLIB2_VERSION_MINOR = 6
|
||||
LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).$(LIBGLIB2_VERSION_MINOR)
|
||||
LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.bz2
|
||||
LIBGLIB2_SITE = http://ftp.gtk.org/pub/glib/2.16
|
||||
LIBGLIB2_SITE = http://ftp.gtk.org/pub/glib/$(LIBGLIB2_VERSION_MAJOR)
|
||||
|
||||
LIBGLIB2_AUTORECONF = NO
|
||||
LIBGLIB2_INSTALL_STAGING = YES
|
||||
LIBGLIB2_INSTALL_TARGET = YES
|
||||
LIBGLIB2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
|
||||
|
||||
# detect install prefix of host glib development stuff
|
||||
HOST_GLIB_BIN:=`dirname $(shell which glib-genmarshal || echo /usr/bin/glib-genmarshal)`
|
||||
HOST_GLIB:=$(shell dirname $(HOST_GLIB_BIN) || echo /usr)
|
||||
|
||||
LIBGLIB2_CONF_ENV = \
|
||||
ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
|
||||
glib_cv_uscore=no ac_cv_func_strtod=yes \
|
||||
@@ -45,8 +52,6 @@ LIBGLIB2_CONF_ENV = \
|
||||
gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no)
|
||||
|
||||
LIBGLIB2_CONF_OPT = --enable-shared \
|
||||
--disable-gtk-doc \
|
||||
--with-html-dir=/dev/null \
|
||||
--enable-static
|
||||
|
||||
LIBGLIB2_DEPENDENCIES = uclibc gettext libintl pkgconfig
|
||||
@@ -55,4 +60,16 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
LIBGLIB2_DEPENDENCIES+=libiconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
LIBGLIB2_CONF_OPT += --with-libiconv=gnu
|
||||
LIBGLIB2_DEPENDENCIES+=libiconv
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,libglib2))
|
||||
|
||||
# we NEED a host glib-genmarshal
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
ifeq ($(wildcard $(HOST_GLIB)/bin/glib-genmarshal),)
|
||||
$(error Host glib-genmarshal not found. Please install glib development package on your host (something like libglib2.0-dev))
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -3,9 +3,13 @@
|
||||
# libgtk2.0
|
||||
#
|
||||
#############################################################
|
||||
LIBGTK2_VERSION = 2.12.12
|
||||
#LIBGTK2_VERSION = 2.15.0
|
||||
LIBGTK2_VERSION_MAJOR:=2.12
|
||||
LIBGTK2_VERSION_MINOR:=12
|
||||
LIBGTK2_VERSION = $(LIBGTK2_VERSION_MAJOR).$(LIBGTK2_VERSION_MINOR)
|
||||
|
||||
LIBGTK2_SOURCE = gtk+-$(LIBGTK2_VERSION).tar.bz2
|
||||
LIBGTK2_SITE = ftp://ftp.gtk.org/pub/gtk/2.12
|
||||
LIBGTK2_SITE = ftp://ftp.gtk.org/pub/gtk/$(LIBGTK2_VERSION_MAJOR)
|
||||
LIBGTK2_AUTORECONF = NO
|
||||
LIBGTK2_INSTALL_STAGING = YES
|
||||
LIBGTK2_INSTALL_TARGET = YES
|
||||
@@ -75,7 +79,6 @@ LIBGTK2_CONF_OPT = --enable-shared \
|
||||
--disable-glibtest \
|
||||
--enable-explicit-deps=no \
|
||||
--disable-debug \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(LIBGTK2_CONF_OPT_X) \
|
||||
$(LIBGTK2_CONF_OPT_DFB)
|
||||
|
||||
@@ -97,6 +100,10 @@ else
|
||||
LIBGTK2_CONF_OPT += --without-x
|
||||
endif
|
||||
|
||||
# Buildroot does not support JPEG2000 library
|
||||
ifeq ($(LIBGTK2_VERSION_MAJOR),2.15)
|
||||
LIBGTK2_CONF_OPT += --without-libjasper
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
LIBGTK2_DEPENDENCIES += libpng
|
||||
|
||||
16
package/liboil/liboil-0.3.15-arm-vfp.patch
Normal file
16
package/liboil/liboil-0.3.15-arm-vfp.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 06a0ac9..b8d1640 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -158,7 +158,10 @@ if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
|
||||
true)
|
||||
fi
|
||||
|
||||
-if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
|
||||
+AC_ARG_ENABLE(vfp,
|
||||
+ AC_HELP_STRING([--enable-vfp],[compile with Vector Floating-point unit support]),
|
||||
+ enable_vfp=$enableval,enable_vfp=yes)
|
||||
+if test "x$enable-vfp" = xyes -a x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes; then
|
||||
AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"],
|
||||
[LIBOIL_CFLAGS="$LIBOIL_CFLAGS -mfpu=vfp"],
|
||||
true)
|
||||
@@ -6,7 +6,7 @@
|
||||
LIBOIL_VERSION = 0.3.15
|
||||
LIBOIL_SOURCE = liboil-$(LIBOIL_VERSION).tar.gz
|
||||
LIBOIL_SITE = http://liboil.freedesktop.org/download
|
||||
LIBOIL_AUTORECONF = NO
|
||||
LIBOIL_AUTORECONF = YES
|
||||
LIBOIL_INSTALL_STAGING = YES
|
||||
LIBOIL_INSTALL_TARGET = YES
|
||||
|
||||
@@ -26,10 +26,16 @@ ifeq ($(BR2_x86_64),y)
|
||||
LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
|
||||
endif
|
||||
|
||||
LIBOIL_CONF_OPT+=--with-gnu-ld
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
LIBOIL_GLIB_DEP = libglib2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_VFP_FLOAT),y)
|
||||
LIBOIL_CONF_OPT+=--enable-vfp
|
||||
endif
|
||||
|
||||
LIBOIL_DEPENDENCIES = uclibc $(LIBOIL_GLIB_DEP)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,liboil))
|
||||
@@ -37,4 +43,4 @@ $(eval $(call AUTOTARGETS,package,liboil))
|
||||
$(LIBOIL_HOOK_POST_INSTALL):
|
||||
# Remove useless bugreport program from the target
|
||||
rm -f $(TARGET_DIR)/usr/bin/oil-bugreport
|
||||
touch $@
|
||||
touch $@
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_LIBSEXY
|
||||
bool "libsexy"
|
||||
depends on BR2_PACKAGE_LIBGTK2
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
libsexy is a collection of GTK+ widgets that extend the
|
||||
functionality of such standard widgets as GtkEntry and
|
||||
|
||||
@@ -8,7 +8,7 @@ LIBSEXY_VERSION = 0.1.11
|
||||
LIBSEXY_SOURCE = libsexy-$(LIBSEXY_VERSION).tar.gz
|
||||
LIBSEXY_SITE = http://releases.chipx86.com/libsexy/libsexy/
|
||||
LIBSEXY_AUTORECONF = NO
|
||||
LIBSEXY_DEPENDENCIES = xlib_libX11 libgtk2
|
||||
LIBSEXY_DEPENDENCIES = libgtk2 libxml2
|
||||
LIBSEXY_INSTALL_TARGET = YES
|
||||
LIBSEXY_INSTALL_STAGING = YES
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ endif
|
||||
LIBXML2_CONF_OPT = --with-gnu-ld --enable-shared \
|
||||
--enable-static $(DISABLE_IPV6) \
|
||||
--without-debugging --without-python \
|
||||
--without-threads $(DISABLE_NLS)
|
||||
--without-threads
|
||||
|
||||
LIBXML2_DEPENDENCIES = uclibc
|
||||
|
||||
@@ -25,6 +25,7 @@ $(eval $(call AUTOTARGETS,package,libxml2))
|
||||
$(LIBXML2_HOOK_POST_EXTRACT):
|
||||
rm -f $(LIBXML2_DIR)/win32/Makefile.msvc.rej
|
||||
rm -f $(LIBXML2_DIR)/macos/src/XMLTestPrefix.h.rej
|
||||
touch $@
|
||||
|
||||
$(LIBXML2_HOOK_POST_INSTALL):
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config
|
||||
|
||||
@@ -38,11 +38,11 @@ $(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked
|
||||
touch $(LSOF_DIR)/.configured
|
||||
|
||||
$(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured
|
||||
ifeq ($(UCLIBC_HAS_WCHAR),)
|
||||
ifeq ($(BR2_USE_WCHAR),)
|
||||
$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h
|
||||
$(SED) 's,^#define[[:space:]]*WIDECHARINCL.*,,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h
|
||||
endif
|
||||
ifeq ($(UCLIBC_HAS_LOCALE),)
|
||||
ifeq ($(BR2_ENABLE_LOCALE),)
|
||||
$(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h
|
||||
endif
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" -C $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
comment "ltrace has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_LTRACE
|
||||
|
||||
config BR2_PACKAGE_LTRACE
|
||||
bool "ltrace"
|
||||
#depends on BR2_LARGEFILE
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
config BR2_PACKAGE_LTT
|
||||
bool "LTT (Linux Trace Toolkit)"
|
||||
depends on BR2_DEPRECATED
|
||||
help
|
||||
A suite of tools designed to extract program execution
|
||||
details from the Linux operating system and interpret them.
|
||||
|
||||
http://www.opersys.com/LTT/
|
||||
The package is obsolete and has been replaced by ltt-ng
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_LUA
|
||||
bool "lua"
|
||||
select BR2_READLINE
|
||||
select BR2_PACKAGE_READLINE
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Lua is a powerful, fast, light-weight, embeddable scripting language.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# lzma
|
||||
#
|
||||
#############################################################
|
||||
LZMA_VERSION:=4.32.4
|
||||
LZMA_VERSION:=4.32.6
|
||||
LZMA_SOURCE:=lzma-$(LZMA_VERSION).tar.gz
|
||||
LZMA_CAT:=$(ZCAT)
|
||||
LZMA_SITE:=http://tukaani.org/lzma/
|
||||
|
||||
@@ -11,7 +11,6 @@ LZO_INSTALL_STAGING = YES
|
||||
LZO_INSTALL_TARGET = YES
|
||||
LZO_INSTALL_STAGING_OPT = CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) install
|
||||
LZO_CONF_ENV =
|
||||
LZO_CONF_OPT = $(DISABLE_LARGEFILE)
|
||||
LZO_DEPENDENCIES = uclibc
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,lzo))
|
||||
|
||||
@@ -15,7 +15,7 @@ M4_TARGET_BINARY:=usr/bin/m4
|
||||
ifeq ($(UCLIBC_HAS_REGEX),y)
|
||||
gl_cv_func_re_compile_pattern_working=gl_cv_func_re_compile_pattern_working=yes
|
||||
endif
|
||||
ifneq ($(UCLIBC_HAS_WCHAR),y)
|
||||
ifneq ($(BR2_USE_WCHAR),y)
|
||||
gt_cv_c_wchar_t=gt_cv_c_wchar_t=no
|
||||
gl_cv_absolute_wchar_h=gl_cv_absolute_wchar_h=__fpending.h
|
||||
endif
|
||||
|
||||
@@ -23,18 +23,38 @@ $(DL_DIR)/$(MICROPERL_SOURCE):
|
||||
|
||||
$(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
|
||||
$(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
chmod -R u+w $(MICROPERL_DIR)
|
||||
touch $@
|
||||
|
||||
$(MICROPERL_DIR)/.configured: $(MICROPERL_DIR)/.source
|
||||
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
|
||||
$(MICROPERL_DIR)/.host_configured: $(MICROPERL_DIR)/.source
|
||||
# we need to build a perl for the host just for Errno.pm
|
||||
(cd $(MICROPERL_DIR); ./Configure -de; \
|
||||
$(MAKE) CC="$(HOSTCC)"; \
|
||||
$(SHELL) ext/util/make_ext nonxs Errno MAKE="$(firstword $(MAKE))"; \
|
||||
(cd $(MICROPERL_DIR); ./Configure -Dcc=$(HOSTCC) -de )
|
||||
touch $@
|
||||
|
||||
|
||||
$(MICROPERL_DIR)/.host_configured_and_fixed: $(MICROPERL_DIR)/.host_configured
|
||||
$(SED) 's/^.*<command-line>.*//g' $(MICROPERL_DIR)/makefile
|
||||
$(SED) 's/^.*<command-line>.*//g' $(MICROPERL_DIR)/x2p/makefile
|
||||
touch $@
|
||||
|
||||
$(MICROPERL_DIR)/.host_make: $(MICROPERL_DIR)/.host_configured_and_fixed
|
||||
$(MAKE) -C $(MICROPERL_DIR) || echo "An error is expected on make"
|
||||
touch $@
|
||||
|
||||
$(MICROPERL_DIR)/.host_make_fixed: $(MICROPERL_DIR)/.host_make
|
||||
$(SED) 's#^.*<asm/page.h>.*##g' $(MICROPERL_DIR)/ext/IPC/SysV/SysV.c
|
||||
$(MAKE) -C $(MICROPERL_DIR) test || echo "An error is expected on make test"
|
||||
touch $@
|
||||
|
||||
$(MICROPERL_DIR)/.configured: $(MICROPERL_DIR)/.host_make_fixed
|
||||
# we need to build a perl for the host just for Errno.pm
|
||||
(cd $(MICROPERL_DIR); \
|
||||
chmod a+x ext/util/make_ext; \
|
||||
ext/util/make_ext nonxs Errno MAKE="$(firstword $(MAKE))" \
|
||||
)
|
||||
endif
|
||||
(cd $(MICROPERL_DIR); chmod u+w uconfig.h; . ./uconfig.sh; \
|
||||
$(MAKE) -f Makefile.micro regen_uconfig; \
|
||||
(cd $(MICROPERL_DIR); \
|
||||
chmod u+w uconfig.h; ./uconfig.sh; \
|
||||
$(MAKE) -f $(MICROPERL_DIR)/Makefile.micro regen_uconfig; \
|
||||
$(SED) 's,PRIVLIB ".*,PRIVLIB "/$(MICROPERL_MODS_DIR)",' \
|
||||
-e 's,PRIVLIB_EXP ".*,PRIVLIB_EXP "$(MICROPERL_MODS_DIR)",' \
|
||||
-e 's,BIN ".*,BIN "/usr/bin",' \
|
||||
@@ -43,7 +63,7 @@ endif
|
||||
touch $@
|
||||
|
||||
$(MICROPERL_DIR)/microperl: $(MICROPERL_DIR)/.configured
|
||||
$(MAKE) -f Makefile.micro CC=$(TARGET_CC) \
|
||||
$(MAKE) -f $(MICROPERL_DIR)/Makefile.micro CC=$(TARGET_CC) \
|
||||
OPTIMIZE="$(TARGET_CFLAGS)" -C $(MICROPERL_DIR)
|
||||
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
|
||||
#(cd $(@D); \
|
||||
@@ -58,7 +78,7 @@ ifneq ($(MICROPERL_MODS),)
|
||||
[ -d $$i ] || mkdir -p $$i; \
|
||||
done; \
|
||||
for i in $(MICROPERL_MODS); do \
|
||||
cp -dpf lib/$$i $(TARGET_DIR)/$(MICROPERL_MODS_DIR)/$$i; \
|
||||
cp -dpf $(MICROPERL_DIR)/lib/$$i $(TARGET_DIR)/$(MICROPERL_MODS_DIR)/$$i; \
|
||||
done; \
|
||||
)
|
||||
endif
|
||||
@@ -69,6 +89,14 @@ microperl: uclibc $(TARGET_DIR)/usr/bin/microperl
|
||||
|
||||
microperl-source: $(DL_DIR)/$(MICROPERL_SOURCE)
|
||||
|
||||
microperl-unpacked: $(MICROPERL_DIR)/.source
|
||||
|
||||
microperl-config: $(MICROPERL_DIR)/.host_configured
|
||||
|
||||
microperl-host: $(MICROPERL_DIR)/.host_make
|
||||
|
||||
microperl-host-fixed: $(MICROPERL_DIR)/.host_make_fixed
|
||||
|
||||
microperl-clean:
|
||||
rm -rf $(TARGET_DIR)/usr/bin/microperl \
|
||||
$(TARGET_DIR)/$(MICROPERL_MODS_DIR) $(TARGET_DIR)/usr/bin/perl
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_MODUTILS
|
||||
bool "modutils"
|
||||
depends on !BR2_PACKAGE_MODULE_INIT_TOOLS
|
||||
depends on BR2_DEPRECATED
|
||||
help
|
||||
The modutils packages includes the kerneld program for automatic
|
||||
loading and unloading of modules, as well as other module
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
mkfs.jffs2.c: fix device_table handling
|
||||
|
||||
find_filesystem_entry would ignore device_table entries for existing elements
|
||||
if the device type / permissions weren't exactly the same, effectively
|
||||
rendering device_table useless.
|
||||
---
|
||||
mkfs.jffs2.c | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
Index: mtd-utils-1.1.0/mkfs.jffs2.c
|
||||
===================================================================
|
||||
--- mtd-utils-1.1.0.orig/mkfs.jffs2.c
|
||||
+++ mtd-utils-1.1.0/mkfs.jffs2.c
|
||||
@@ -246,8 +246,7 @@
|
||||
e = dir->files;
|
||||
}
|
||||
while (e) {
|
||||
- /* Only bother to do the expensive strcmp on matching file types */
|
||||
- if (type == (e->sb.st_mode & S_IFMT)) {
|
||||
+ if (1) {
|
||||
if (S_ISDIR(e->sb.st_mode)) {
|
||||
int len = strlen(e->fullname);
|
||||
|
||||
@@ -5,3 +5,14 @@ config BR2_PACKAGE_ALSA_LIB
|
||||
functionality to the Linux operating system.
|
||||
|
||||
http://www.alsa-project.org/
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_PYTHON
|
||||
bool "Python support for alsa-lib"
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_PYTHON
|
||||
help
|
||||
Add python support for alsa-lib.
|
||||
Python will be built and libpython will be installed
|
||||
in the target directory
|
||||
http://www.alsa-project.org/
|
||||
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
diff -urN alsa-lib-1.0.18-0rig//src/pcm/pcm_local.h alsa-lib-1.0.18/src/pcm/pcm_local.h
|
||||
--- alsa-lib-1.0.18-0rig//src/pcm/pcm_local.h 2009-01-31 11:02:12.000000000 +0100
|
||||
+++ alsa-lib-1.0.18/src/pcm/pcm_local.h 2009-01-31 11:03:24.000000000 +0100
|
||||
@@ -611,6 +611,13 @@
|
||||
snd_pcm_hw_param_t var);
|
||||
int _snd_pcm_hw_param_set(snd_pcm_hw_params_t *params,
|
||||
snd_pcm_hw_param_t var, unsigned int val, int dir);
|
||||
+
|
||||
+#if defined(AVR32_INLINE_BUG)
|
||||
+int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
|
||||
+ snd_pcm_format_t val);
|
||||
+int _snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_t *params,
|
||||
+ snd_pcm_subformat_t val);
|
||||
+#else
|
||||
static inline int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
|
||||
snd_pcm_format_t val)
|
||||
{
|
||||
@@ -624,7 +631,7 @@
|
||||
return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_SUBFORMAT,
|
||||
(unsigned long) val, 0);
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
int _snd_pcm_hw_param_set_min(snd_pcm_hw_params_t *params,
|
||||
snd_pcm_hw_param_t var, unsigned int val, int dir);
|
||||
int _snd_pcm_hw_param_set_max(snd_pcm_hw_params_t *params,
|
||||
diff -urN alsa-lib-1.0.18-0rig//src/pcm/pcm_route.c alsa-lib-1.0.18/src/pcm/pcm_route.c
|
||||
--- alsa-lib-1.0.18-0rig//src/pcm/pcm_route.c 2009-01-31 11:02:12.000000000 +0100
|
||||
+++ alsa-lib-1.0.18/src/pcm/pcm_route.c 2009-01-31 11:03:18.000000000 +0100
|
||||
@@ -26,6 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
+
|
||||
#include <byteswap.h>
|
||||
#include <math.h>
|
||||
#include "pcm_local.h"
|
||||
@@ -106,6 +107,23 @@
|
||||
|
||||
#endif /* DOC_HIDDEN */
|
||||
|
||||
+
|
||||
+#if defined(AVR32_INLINE_BUG)
|
||||
+int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
|
||||
+ snd_pcm_format_t val)
|
||||
+{
|
||||
+ return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_FORMAT,
|
||||
+ (unsigned long) val, 0);
|
||||
+}
|
||||
+
|
||||
+int _snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_t *params,
|
||||
+ snd_pcm_subformat_t val)
|
||||
+{
|
||||
+ return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_SUBFORMAT,
|
||||
+ (unsigned long) val, 0);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
static void snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area,
|
||||
snd_pcm_uframes_t dst_offset,
|
||||
const snd_pcm_channel_area_t *src_areas ATTRIBUTE_UNUSED,
|
||||
@@ -483,6 +501,8 @@
|
||||
snd_pcm_uframes_t frames,
|
||||
snd_pcm_route_params_t *params)
|
||||
{
|
||||
+#if defined(AVR32_INLINE_BUG)
|
||||
+#endif
|
||||
unsigned int dst_channel;
|
||||
snd_pcm_route_ttable_dst_t *dstp;
|
||||
const snd_pcm_channel_area_t *dst_area;
|
||||
@@ -551,8 +571,20 @@
|
||||
_snd_pcm_hw_param_set_mask(sparams, SND_PCM_HW_PARAM_ACCESS,
|
||||
&saccess_mask);
|
||||
if (route->sformat != SND_PCM_FORMAT_UNKNOWN) {
|
||||
+#if defined(AVR32_INLINE_BUG)
|
||||
+/* Start of of problem */
|
||||
+#endif
|
||||
_snd_pcm_hw_params_set_format(sparams, route->sformat);
|
||||
_snd_pcm_hw_params_set_subformat(sparams, SND_PCM_SUBFORMAT_STD);
|
||||
+#if 0
|
||||
+ _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT,
|
||||
+ (unsigned long) route->sformat, 0);
|
||||
+ _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_SUBFORMAT,
|
||||
+ (unsigned long) SND_PCM_SUBFORMAT_STD, 0);
|
||||
+#endif
|
||||
+#if defined(AVR32_INLINE_BUG)
|
||||
+/* End of problem */
|
||||
+#endif
|
||||
}
|
||||
if (route->schannels >= 0) {
|
||||
_snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_CHANNELS,
|
||||
@@ -0,0 +1,30 @@
|
||||
From c821f2e7f2534ece24a10402df3f501536a09cbd Mon Sep 17 00:00:00 2001
|
||||
From: Takashi Iwai <tiwai@suse.de>
|
||||
Date: Wed, 28 Jan 2009 15:00:35 +0100
|
||||
Subject: [PATCH] Fix off_t in kernel struct
|
||||
|
||||
The off_t in kernel struct (for ioctls) is actually different from the
|
||||
definition of user-space off_t. The kernel off_t is equial with long
|
||||
while user-space off_t depends on the large-file support.
|
||||
|
||||
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||||
---
|
||||
include/sound/asound.h | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/include/sound/asound.h b/include/sound/asound.h
|
||||
index 977b2d6..62d1e57 100644
|
||||
--- a/include/sound/asound.h
|
||||
+++ b/include/sound/asound.h
|
||||
@@ -402,7 +402,7 @@ struct sndrv_pcm_sw_params {
|
||||
|
||||
struct sndrv_pcm_channel_info {
|
||||
unsigned int channel;
|
||||
- off_t offset; /* mmap offset */
|
||||
+ long offset; /* mmap offset */
|
||||
unsigned int first; /* offset to first sample in bits */
|
||||
unsigned int step; /* samples distance in bits */
|
||||
};
|
||||
--
|
||||
1.5.6.5
|
||||
|
||||
@@ -12,13 +12,20 @@ ALSA_LIB_BINARY:=libasound.so.2.0.0
|
||||
ALSA_LIB_TARGET_BINARY:=usr/lib/$(ALSA_LIB_BINARY)
|
||||
|
||||
ifeq ($(BR2_arm),y)
|
||||
ALSA_LIB_ABI:=-mabi=aapcs-linux
|
||||
ALSA_LIB_ABI+=-mabi=aapcs-linux
|
||||
else
|
||||
ALSA_LIB_ABI:=
|
||||
ALSA_LIB_ABI+=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
ifeq ($(BR2_avr32),y)
|
||||
ALSA_LIB_ABI+=-DAVR32_INLINE_BUG
|
||||
else
|
||||
ALSA_LIB_ABI+=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
|
||||
ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
|
||||
ALSA_LIB_DEPS = libpython
|
||||
else
|
||||
ALSA_LIB_CONFIGURE_OPTS += --disable-python
|
||||
endif
|
||||
@@ -74,9 +81,11 @@ $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY): $(STAGING_DIR)/$(ALSA_LIB_TARGET_BINARY
|
||||
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/alsa-lib/smixer/*.so
|
||||
touch -c $@
|
||||
|
||||
alsa-lib: uclibc $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)
|
||||
alsa-lib: uclibc $(ALSA_LIB_DEPS) $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)
|
||||
|
||||
alsa-lib-source: $(DL_DIR)/$(ALSA-LIB_SOURCE)
|
||||
alsa-lib-unpacked: $(ALSA_LIB_DIR)/.unpacked
|
||||
|
||||
alsa-lib-source: $(DL_DIR)/$(ALSA_LIB_SOURCE)
|
||||
|
||||
alsa-lib-clean:
|
||||
rm -f $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
When configuring alsa-utils, it will use the hosts <ncurses.h>
|
||||
See: alsa-utils <VERSION> / alsamixer/.deps/alsamicer.Po
|
||||
This will, on OpenSuSE 11.0, and possibly other distributions
|
||||
result in that the preprocessor directive:
|
||||
#define acs_map _nc_acs_map
|
||||
which is present in the Buildroot build of ncurses,
|
||||
is not executed, and the
|
||||
extern <chartype> acs_map[];
|
||||
declaration in the host ncurses will
|
||||
result in an undefined symbol: acs_map.
|
||||
|
||||
This patches give up trying to force alsa-utils to use the correct
|
||||
ncurses, and just defines a byte with the needed symbol.
|
||||
|
||||
|
||||
diff -urN alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c alsa-utils-1.0.18/alsamixer/alsamixer.c
|
||||
--- alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c 2008-10-29 13:42:11.000000000 +0100
|
||||
+++ alsa-utils-1.0.18/alsamixer/alsamixer.c 2009-01-22 23:35:29.000000000 +0100
|
||||
@@ -115,6 +115,10 @@
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <locale.h>
|
||||
+/* Ugly hack to get rid of undefined "acs_map" */
|
||||
+/* This is caused by configure using host ncurses.h */
|
||||
+/* instead of buildroot's ncurses.h */
|
||||
+unsigned long acs_map[1];
|
||||
|
||||
#ifndef CURSESINC
|
||||
#include <ncurses.h>
|
||||
@@ -0,0 +1,29 @@
|
||||
When configuring alsa-utils, it will use the hosts <ncurses.h>
|
||||
See: alsa-utils <VERSION> / alsamixer/.deps/alsamicer.Po
|
||||
This will, on OpenSuSE 11.0, and possibly other distributions
|
||||
result in that the preprocessor directive:
|
||||
#define acs_map _nc_acs_map
|
||||
which is present in the Buildroot build of ncurses,
|
||||
is not executed, and the
|
||||
extern <chartype> acs_map[];
|
||||
declaration in the host ncurses will
|
||||
result in an undefined symbol: acs_map.
|
||||
|
||||
This patches give up trying to force alsa-utils to use the correct
|
||||
ncurses, and just defines a byte with the needed symbol.
|
||||
|
||||
|
||||
diff -urN alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c alsa-utils-1.0.18/alsamixer/alsamixer.c
|
||||
--- alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c 2008-10-29 13:42:11.000000000 +0100
|
||||
+++ alsa-utils-1.0.18/alsamixer/alsamixer.c 2009-01-22 23:35:29.000000000 +0100
|
||||
@@ -115,6 +115,10 @@
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <locale.h>
|
||||
+/* Ugly hack to get rid of undefined "acs_map" */
|
||||
+/* This is caused by configure using host ncurses.h */
|
||||
+/* instead of buildroot's ncurses.h */
|
||||
+unsigned long acs_map[1];
|
||||
|
||||
#ifndef CURSESINC
|
||||
#include <ncurses.h>
|
||||
@@ -0,0 +1,20 @@
|
||||
--- a/alsactl/init_parse.c 2009-01-15 10:44:48.000000000 +0000
|
||||
+++ b/alsactl/init_parse.c 2009-01-15 10:46:41.000000000 +0000
|
||||
@@ -381,7 +381,7 @@ static int set_ctl_value(struct space *s
|
||||
snd_ctl_elem_value_set_integer(space->ctl_value, idx, val);
|
||||
} else if (items > 2 && value[items-2] == 'd' && value[items-1] == 'B') {
|
||||
val = strtol(value, NULL, 0) * 100;
|
||||
- if ((pos2 = index(value, '.')) != NULL) {
|
||||
+ if ((pos2 = strchr(value, '.')) != NULL) {
|
||||
if (isdigit(*(pos2-1)) && isdigit(*(pos2-2))) {
|
||||
if (val < 0)
|
||||
val -= strtol(pos2 + 1, NULL, 0);
|
||||
@@ -1253,7 +1253,7 @@ static char *new_root_dir(const char *fi
|
||||
|
||||
res = strdup(filename);
|
||||
if (res) {
|
||||
- tmp = rindex(res, '/');
|
||||
+ tmp = strrchr(res, '/');
|
||||
if (tmp)
|
||||
*tmp = '\0';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/alsactl/Makefile.in 2009-01-15 10:59:38.000000000 +0000
|
||||
+++ b/alsactl/Makefile.in 2009-01-15 10:59:34.000000000 +0000
|
||||
@@ -204,7 +204,7 @@ sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
SUBDIRS = init
|
||||
-man_MANS = alsactl.1 alsactl_init.7
|
||||
+man_MANS = alsactl.1
|
||||
EXTRA_DIST = alsactl.1 alsactl_init.xml
|
||||
alsactl_SOURCES = alsactl.c state.c utils.c init_parse.c
|
||||
noinst_HEADERS = alsactl.h list.h init_sysdeps.c init_utils_string.c init_utils_run.c init_sysfs.c
|
||||
@@ -16,7 +16,8 @@ $(DL_DIR)/$(ALSA_UTILS_SOURCE):
|
||||
|
||||
$(ALSA_UTILS_DIR)/.unpacked: $(DL_DIR)/$(ALSA_UTILS_SOURCE)
|
||||
$(ALSA_UTILS_CAT) $(DL_DIR)/$(ALSA_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/multimedia/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch\*
|
||||
toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/multimedia/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch
|
||||
toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/multimedia/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch.$(ARCH)
|
||||
$(CONFIG_UPDATE) $(ALSA_UTILS_DIR)
|
||||
touch $@
|
||||
|
||||
@@ -73,6 +74,8 @@ $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY): $(ALSA_UTILS_DIR)/$(ALSA_UTILS_BINARY
|
||||
|
||||
alsa-utils: uclibc alsa-lib ncurses $(if $(BR2_PACKAGE_LIBINTL),libintl) $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY)
|
||||
|
||||
alsa-utils-unpacked: $(ALSA_UTILS_DIR)/.unpacked
|
||||
|
||||
alsa-utils-source: $(DL_DIR)/$(ALSA_UTILS_SOURCE)
|
||||
|
||||
alsa-utils-clean:
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_ASTERISK
|
||||
bool "asterisk"
|
||||
depends on BROKEN
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_ZLIB
|
||||
depends on BR2_PACKAGE_OPENSSL
|
||||
@@ -10,3 +11,4 @@ config BR2_PACKAGE_ASTERISK
|
||||
comment "asterisk - disabled (required openssl and mpg123)"
|
||||
depends on !BR2_PACKAGE_OPENSSL || ! BR2_PACKAGE_MPG123
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -ur /tmp/asterisk-1.2.0-beta1/dns.c asterisk-1.2.0-beta1/dns.c
|
||||
--- /tmp/asterisk-1.2.0-beta1/dns.c 2005-08-14 04:23:33.000000000 +0200
|
||||
+++ asterisk-1.2.0-beta1/dns.c 2005-08-31 09:42:36.000000000 +0200
|
||||
@@ -157,7 +157,7 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-#if defined(res_ninit)
|
||||
+#if (defined(res_ninit) && !defined(__UCLIBC__))
|
||||
#define HAS_RES_NINIT
|
||||
#else
|
||||
AST_MUTEX_DEFINE_STATIC(res_lock);
|
||||
@@ -17,9 +17,7 @@ GST_PLUGINS_BASE_CONF_OPT = \
|
||||
--disable-xshm \
|
||||
--disable-oggtest \
|
||||
--disable-vorbistest \
|
||||
--disable-freetypetest \
|
||||
--disable-gtk-doc \
|
||||
--without-html-dir
|
||||
--disable-freetypetest
|
||||
|
||||
GST_PLUGINS_BASE_DEPENDENCIES = gstreamer liboil
|
||||
|
||||
|
||||
@@ -10,6 +10,30 @@ menuconfig BR2_PACKAGE_GST_PLUGINS_GOOD
|
||||
|
||||
if BR2_PACKAGE_GST_PLUGINS_GOOD
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG
|
||||
bool "jpeg (JPEG support)"
|
||||
select BR2_PACKAGE_JPEG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PNG
|
||||
bool "png (PNG support)"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2
|
||||
bool "bz2 support"
|
||||
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
|
||||
select BR2_PACKAGE_BZIP2
|
||||
help
|
||||
Enable bz2 support for the following plugins:
|
||||
matroska
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB
|
||||
bool "zlib support"
|
||||
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Enable zlib support for the following plugins:
|
||||
id3demux, qtdemux, matroska
|
||||
|
||||
comment "dependency-less plugins"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER
|
||||
@@ -119,4 +143,13 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
|
||||
bool "wavparse (*.wav audio)"
|
||||
default y
|
||||
|
||||
comment "plugins with external dependencies"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
|
||||
bool "annodex (XML Library)"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
|
||||
bool "ossaudio (OSS audio)"
|
||||
|
||||
endif
|
||||
|
||||
@@ -23,11 +23,38 @@ GST_PLUGINS_GOOD_CONF_OPT = \
|
||||
--disable-esdtest \
|
||||
--disable-shout2 \
|
||||
--disable-shout2test \
|
||||
--disable-gtk-doc \
|
||||
--without-html-dir
|
||||
--disable-esd
|
||||
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-jpeg
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PNG),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-libpng
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += libpng
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-libpng
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-bz2
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += bzip2
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-bz2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-zlib
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += zlib
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-videofilter
|
||||
else
|
||||
@@ -144,6 +171,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-matroska
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += zlib bzip2
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-matroska
|
||||
endif
|
||||
@@ -238,4 +266,17 @@ else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-wavparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += libxml2
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-annodex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-oss
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-oss
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-good))
|
||||
|
||||
@@ -9,9 +9,7 @@ GST_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
||||
|
||||
GST_PLUGINS_UGLY_CONF_OPT = \
|
||||
$(DISABLE_NLS) \
|
||||
--disable-examples \
|
||||
--disable-gtk-doc \
|
||||
--without-html-dir
|
||||
--disable-examples
|
||||
|
||||
GST_PLUGINS_UGLY_DEPENDENCIES = gstreamer gst-plugins-base
|
||||
|
||||
|
||||
@@ -19,13 +19,9 @@ GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
|
||||
endif
|
||||
|
||||
GSTREAMER_CONF_OPT = \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
--disable-examples \
|
||||
--disable-tests \
|
||||
--disable-failing-tests \
|
||||
--disable-gtk-doc \
|
||||
--without-html-dir
|
||||
--disable-failing-tests
|
||||
|
||||
GSTREAMER_DEPENDENCIES = libglib2 libxml2 pkgconfig
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
libmad: remove deprecated cflags (-fforce-mem)
|
||||
|
||||
fforce-mem has long been deprecated, and is completely removed from
|
||||
gcc 4.3.x on.
|
||||
---
|
||||
configure | 1 -
|
||||
configure.ac | 1 -
|
||||
2 files changed, 2 deletions(-)
|
||||
|
||||
Index: libmad-0.15.1b/configure.ac
|
||||
===================================================================
|
||||
--- libmad-0.15.1b.orig/configure.ac
|
||||
+++ libmad-0.15.1b/configure.ac
|
||||
@@ -140,7 +140,6 @@
|
||||
case "$optimize" in
|
||||
-O|"-O "*)
|
||||
optimize="-O"
|
||||
- optimize="$optimize -fforce-mem"
|
||||
optimize="$optimize -fforce-addr"
|
||||
: #x optimize="$optimize -finline-functions"
|
||||
: #- optimize="$optimize -fstrength-reduce"
|
||||
Index: libmad-0.15.1b/configure
|
||||
===================================================================
|
||||
--- libmad-0.15.1b.orig/configure
|
||||
+++ libmad-0.15.1b/configure
|
||||
@@ -19099,7 +19099,6 @@
|
||||
case "$optimize" in
|
||||
-O|"-O "*)
|
||||
optimize="-O"
|
||||
- optimize="$optimize -fforce-mem"
|
||||
optimize="$optimize -fforce-addr"
|
||||
: #x optimize="$optimize -finline-functions"
|
||||
: #- optimize="$optimize -fstrength-reduce"
|
||||
@@ -10,3 +10,4 @@ config BR2_PACKAGE_MPG123_ALSA
|
||||
bool
|
||||
default y
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
diff -ruN mpg123-0.59r.orig/Makefile mpg123-0.59r/Makefile
|
||||
--- mpg123-0.59r.orig/Makefile 1999-06-15 22:39:06.000000000 +0200
|
||||
+++ mpg123-0.59r/Makefile 2006-12-14 15:52:44.000000000 +0100
|
||||
@@ -103,14 +103,14 @@
|
||||
mpg123-make
|
||||
|
||||
linux:
|
||||
- $(MAKE) CC=gcc LDFLAGS= \
|
||||
+ $(MAKE) LDFLAGS= \
|
||||
OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
|
||||
audio_oss.o term.o' \
|
||||
CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
|
||||
-DREAD_MMAP -DOSS -DTERM_CONTROL\
|
||||
- -Wall -O2 -m486 \
|
||||
+ -Wall \
|
||||
-fomit-frame-pointer -funroll-all-loops \
|
||||
- -finline-functions -ffast-math' \
|
||||
+ -finline-functions -ffast-math $(CFLAGS)' \
|
||||
mpg123-make
|
||||
|
||||
linux-3dnow:
|
||||
@@ -246,6 +246,22 @@
|
||||
-finline-functions -ffast-math' \
|
||||
mpg123-make
|
||||
|
||||
+linux-bigend:
|
||||
+ $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \
|
||||
+ CFLAGS+='-DREAL_IS_FLOAT -DLINUX -DREAD_MMAP \
|
||||
+ -DOSS -DOSS_BIG_ENDIAN -Wall \
|
||||
+ -fomit-frame-pointer -funroll-loops \
|
||||
+ -finline-functions -ffast-math $(CFLAGS)' \
|
||||
+ mpg123-make
|
||||
+
|
||||
+linux-littleend:
|
||||
+ $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \
|
||||
+ CFLAGS='-DREAL_IS_FLOAT -DLINUX -DREAD_MMAP \
|
||||
+ -DOSS -Wall \
|
||||
+ -fomit-frame-pointer -funroll-loops \
|
||||
+ -finline-functions -ffast-math $(CFLAGS)' \
|
||||
+ mpg123-make
|
||||
+
|
||||
linux-sajber:
|
||||
@ $(MAKE) FRONTEND=sajberplay-make linux-frontend
|
||||
|
||||
2126
package/multimedia/mpg123/mpg123-0.66-arm-unroll.patch
Normal file
2126
package/multimedia/mpg123/mpg123-0.66-arm-unroll.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,10 @@ MPG123_USE_ALSA:=--with-audio=alsa
|
||||
MPG123_ALSA_DEP:=alsa-lib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPG123_ARM_UNROLL_FIX),y)
|
||||
MPG123_ARM_UNROLL_FIX:= -DMPG123_ARM_UNROLL_FIX
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(MPG123_SOURCE):
|
||||
$(call DOWNLOAD,$(MPG123_SITE),$(MPG123_SOURCE))
|
||||
|
||||
@@ -31,7 +35,7 @@ $(MPG123_DIR)/.configured: $(MPG123_DIR)/.unpacked
|
||||
(cd $(MPG123_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(MPG123_ARM_UNROLL_FIX)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
./configure \
|
||||
--target=$(REAL_GNU_TARGET_NAME) \
|
||||
@@ -55,6 +59,11 @@ $(TARGET_DIR)/$(MPG123_TARGET_BIN): $(MPG123_DIR)/$(MPG123_BIN)
|
||||
|
||||
mpg123: uclibc $(MPG123_ALSA_DEP) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
|
||||
|
||||
mpg123x:
|
||||
touch $(MPG123_DIR)/.configured
|
||||
|
||||
mpg123-unpacked: $(MPG123_DIR)/.unpacked
|
||||
|
||||
mpg123-clean:
|
||||
-$(MAKE) -C $(MPG123_DIR) clean
|
||||
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
create mode 100644 libswscale/pico-avr32.h
|
||||
create mode 100644 libswscale/yuv2rgb_avr32.c
|
||||
|
||||
diff --git a/cfg-common.h b/cfg-common.h
|
||||
index 780df38..7d878a8 100644
|
||||
--- a/cfg-common.h
|
||||
+++ b/cfg-common.h
|
||||
@@ -235,6 +235,10 @@
|
||||
@@ -48,8 +46,6 @@ index 780df38..7d878a8 100644
|
||||
// draw by slices or whole frame (useful with libmpeg2/libavcodec)
|
||||
{"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||
{"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
||||
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
|
||||
index 411b748..addf791 100644
|
||||
--- a/cfg-mencoder.h
|
||||
+++ b/cfg-mencoder.h
|
||||
@@ -5,6 +5,10 @@
|
||||
@@ -63,8 +59,6 @@ index 411b748..addf791 100644
|
||||
#ifdef USE_FAKE_MONO
|
||||
extern int fakemono; // defined in dec_audio.c
|
||||
#endif
|
||||
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
|
||||
index 62b6eac..31499c2 100644
|
||||
--- a/cfg-mplayer.h
|
||||
+++ b/cfg-mplayer.h
|
||||
@@ -4,6 +4,10 @@
|
||||
@@ -78,8 +72,6 @@ index 62b6eac..31499c2 100644
|
||||
extern int noconsolecontrols;
|
||||
|
||||
#if defined(HAVE_FBDEV)||defined(HAVE_VESA)
|
||||
diff --git a/configure b/configure
|
||||
index 29002c8..56c6fe4 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -1203,6 +1203,15 @@ EOF
|
||||
@@ -116,8 +108,6 @@ index 29002c8..56c6fe4 100755
|
||||
if test -f "$I/X11/Xlib.h" ; then
|
||||
_inc_x11="-I$I"
|
||||
_x11_headers="yes"
|
||||
diff --git a/libaf/af_format.c b/libaf/af_format.c
|
||||
index e5b7cc9..5d7ea6d 100644
|
||||
--- a/libaf/af_format.c
|
||||
+++ b/libaf/af_format.c
|
||||
@@ -20,7 +20,14 @@
|
||||
@@ -135,11 +125,9 @@ index e5b7cc9..5d7ea6d 100644
|
||||
#else
|
||||
#define lrintf(x) ((int)(x))
|
||||
#endif
|
||||
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
|
||||
index 17b6c45..8e1dc96 100644
|
||||
--- a/libavcodec/Makefile
|
||||
+++ b/libavcodec/Makefile
|
||||
@@ -360,6 +360,12 @@ OBJS-$(TARGET_ARCH_SPARC) += sparc/dsputil_vis.o \
|
||||
@@ -360,6 +360,12 @@ OBJS-$(TARGET_ARCH_SPARC) +
|
||||
|
||||
sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
|
||||
|
||||
@@ -160,9 +148,6 @@ index 17b6c45..8e1dc96 100644
|
||||
armv4l/*.o armv4l/*~ \
|
||||
mlib/*.o mlib/*~ \
|
||||
alpha/*.o alpha/*~ \
|
||||
diff --git a/libavcodec/avr32/dsputil_avr32.c b/libavcodec/avr32/dsputil_avr32.c
|
||||
new file mode 100644
|
||||
index 0000000..200284d
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/avr32/dsputil_avr32.c
|
||||
@@ -0,0 +1,2678 @@
|
||||
@@ -2844,9 +2829,6 @@ index 0000000..200284d
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
diff --git a/libavcodec/avr32/fdct.S b/libavcodec/avr32/fdct.S
|
||||
new file mode 100644
|
||||
index 0000000..be45b86
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/avr32/fdct.S
|
||||
@@ -0,0 +1,541 @@
|
||||
@@ -3391,9 +3373,6 @@ index 0000000..be45b86
|
||||
+
|
||||
+
|
||||
+
|
||||
diff --git a/libavcodec/avr32/h264idct.S b/libavcodec/avr32/h264idct.S
|
||||
new file mode 100644
|
||||
index 0000000..4b23e2d
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/avr32/h264idct.S
|
||||
@@ -0,0 +1,451 @@
|
||||
@@ -3848,9 +3827,6 @@ index 0000000..4b23e2d
|
||||
+
|
||||
+// }
|
||||
+//}
|
||||
diff --git a/libavcodec/avr32/idct.S b/libavcodec/avr32/idct.S
|
||||
new file mode 100644
|
||||
index 0000000..e7551ec
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/avr32/idct.S
|
||||
@@ -0,0 +1,829 @@
|
||||
@@ -4683,9 +4659,6 @@ index 0000000..e7551ec
|
||||
+ .short - FIX_1_961570560, - FIX_0_390180644, FIX_0_298631336, FIX_2_053119869
|
||||
+ .short FIX_3_072711026, FIX_1_501321110, - FIX_0_899976223, - FIX_2_562915447
|
||||
+
|
||||
diff --git a/libavcodec/avr32/mc.S b/libavcodec/avr32/mc.S
|
||||
new file mode 100644
|
||||
index 0000000..07a002d
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/avr32/mc.S
|
||||
@@ -0,0 +1,434 @@
|
||||
@@ -5123,9 +5096,6 @@ index 0000000..07a002d
|
||||
+avg_pixels8_avr32:
|
||||
+avg_no_rnd_pixels8_avr32:
|
||||
+ pixels8 0
|
||||
diff --git a/libavcodec/avr32/pico.h b/libavcodec/avr32/pico.h
|
||||
new file mode 100644
|
||||
index 0000000..32201ba
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/avr32/pico.h
|
||||
@@ -0,0 +1,260 @@
|
||||
@@ -5389,8 +5359,6 @@ index 0000000..32201ba
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
|
||||
index 26b4f8d..1f8fabf 100644
|
||||
--- a/libavcodec/bitstream.h
|
||||
+++ b/libavcodec/bitstream.h
|
||||
@@ -171,7 +171,7 @@ typedef struct RL_VLC_ELEM {
|
||||
@@ -5513,11 +5481,9 @@ index 26b4f8d..1f8fabf 100644
|
||||
|
||||
/**
|
||||
* parses a vlc code, faster then get_vlc()
|
||||
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
|
||||
index 56c42b9..8fc10c6 100644
|
||||
--- a/libavcodec/dsputil.c
|
||||
+++ b/libavcodec/dsputil.c
|
||||
@@ -4197,6 +4197,9 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx)
|
||||
@@ -4197,6 +4197,9 @@ void dsputil_init(DSPContext* c, AVCodec
|
||||
#ifdef ARCH_BFIN
|
||||
dsputil_init_bfin(c,avctx);
|
||||
#endif
|
||||
@@ -5527,8 +5493,6 @@ index 56c42b9..8fc10c6 100644
|
||||
|
||||
for(i=0; i<64; i++){
|
||||
if(!c->put_2tap_qpel_pixels_tab[0][i])
|
||||
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
|
||||
index 865e80a..8f7c3f1 100644
|
||||
--- a/libavcodec/h264.c
|
||||
+++ b/libavcodec/h264.c
|
||||
@@ -3258,7 +3258,12 @@ static void free_tables(H264Context *h){
|
||||
@@ -5544,7 +5508,7 @@ index 865e80a..8f7c3f1 100644
|
||||
h->dequant8_coeff[0] = h->dequant8_buffer[0];
|
||||
h->dequant8_coeff[1] = h->dequant8_buffer[1];
|
||||
|
||||
@@ -3281,7 +3286,13 @@ static void init_dequant8_coeff_table(H264Context *h){
|
||||
@@ -3281,7 +3286,13 @@ static void init_dequant8_coeff_table(H2
|
||||
|
||||
static void init_dequant4_coeff_table(H264Context *h){
|
||||
int i,j,q,x;
|
||||
@@ -5558,7 +5522,7 @@ index 865e80a..8f7c3f1 100644
|
||||
for(i=0; i<6; i++ ){
|
||||
h->dequant4_coeff[i] = h->dequant4_buffer[i];
|
||||
for(j=0; j<i; j++){
|
||||
@@ -4663,7 +4674,11 @@ static int decode_slice_header(H264Context *h){
|
||||
@@ -4663,7 +4674,11 @@ static int decode_slice_header(H264Conte
|
||||
if (MPV_common_init(s) < 0)
|
||||
return -1;
|
||||
|
||||
@@ -5570,11 +5534,9 @@ index 865e80a..8f7c3f1 100644
|
||||
memcpy(h->zigzag_scan, zigzag_scan, 16*sizeof(uint8_t));
|
||||
memcpy(h-> field_scan, field_scan, 16*sizeof(uint8_t));
|
||||
}else{
|
||||
diff --git a/libavutil/common.h b/libavutil/common.h
|
||||
index 3ae5971..7e52b90 100644
|
||||
--- a/libavutil/common.h
|
||||
+++ b/libavutil/common.h
|
||||
@@ -283,23 +283,39 @@ static inline int mid_pred(int a, int b, int c)
|
||||
@@ -283,23 +283,39 @@ static inline int mid_pred(int a, int b,
|
||||
* @param amax maximum value of the clip range
|
||||
* @return cliped value
|
||||
*/
|
||||
@@ -5614,8 +5576,6 @@ index 3ae5971..7e52b90 100644
|
||||
|
||||
/* math */
|
||||
int64_t ff_gcd(int64_t a, int64_t b);
|
||||
diff --git a/libavutil/internal.h b/libavutil/internal.h
|
||||
index 285d304..a8b0718 100644
|
||||
--- a/libavutil/internal.h
|
||||
+++ b/libavutil/internal.h
|
||||
@@ -210,6 +210,15 @@ if((y)<(x)){\
|
||||
@@ -5634,8 +5594,6 @@ index 285d304..a8b0718 100644
|
||||
#ifndef HAVE_LRINTF
|
||||
/* XXX: add ISOC specific test to avoid specific BSD testing. */
|
||||
/* better than nothing implementation. */
|
||||
diff --git a/libfaad2/common.h b/libfaad2/common.h
|
||||
index f809042..6c5fb21 100644
|
||||
--- a/libfaad2/common.h
|
||||
+++ b/libfaad2/common.h
|
||||
@@ -67,7 +67,7 @@ extern "C" {
|
||||
@@ -5647,8 +5605,6 @@ index f809042..6c5fb21 100644
|
||||
#define FIXED_POINT
|
||||
#endif
|
||||
|
||||
diff --git a/libmpcodecs/ad_libmad.c b/libmpcodecs/ad_libmad.c
|
||||
index 076359a..51b77fe 100644
|
||||
--- a/libmpcodecs/ad_libmad.c
|
||||
+++ b/libmpcodecs/ad_libmad.c
|
||||
@@ -86,6 +86,11 @@ static int init(sh_audio_t *sh){
|
||||
@@ -5663,9 +5619,6 @@ index 076359a..51b77fe 100644
|
||||
sh->samplesize=2;
|
||||
|
||||
return 1;
|
||||
diff --git a/libswscale/pico-avr32.h b/libswscale/pico-avr32.h
|
||||
new file mode 100644
|
||||
index 0000000..7ac6200
|
||||
--- /dev/null
|
||||
+++ b/libswscale/pico-avr32.h
|
||||
@@ -0,0 +1,137 @@
|
||||
@@ -5806,8 +5759,6 @@ index 0000000..7ac6200
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
|
||||
index ecd28f5..3221d0c 100644
|
||||
--- a/libswscale/swscale_internal.h
|
||||
+++ b/libswscale/swscale_internal.h
|
||||
@@ -173,7 +173,7 @@ typedef struct SwsContext{
|
||||
@@ -5819,8 +5770,6 @@ index ecd28f5..3221d0c 100644
|
||||
|
||||
//FIXME replace this with something faster
|
||||
#define isPlanarYUV(x) ((x)==PIX_FMT_YUV410P || (x)==PIX_FMT_YUV420P \
|
||||
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
|
||||
index 71759bc..fa83985 100644
|
||||
--- a/libswscale/yuv2rgb.c
|
||||
+++ b/libswscale/yuv2rgb.c
|
||||
@@ -44,6 +44,10 @@
|
||||
@@ -5834,7 +5783,7 @@ index 71759bc..fa83985 100644
|
||||
#define DITHER1XBPP // only for mmx
|
||||
|
||||
const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={
|
||||
@@ -601,6 +605,12 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
|
||||
@@ -601,6 +605,12 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext
|
||||
if(t) return t;
|
||||
}
|
||||
#endif
|
||||
@@ -5847,7 +5796,7 @@ index 71759bc..fa83985 100644
|
||||
#ifdef HAVE_ALTIVEC
|
||||
if (c->flags & SWS_CPU_CAPS_ALTIVEC)
|
||||
{
|
||||
@@ -678,6 +688,10 @@ int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange,
|
||||
@@ -678,6 +688,10 @@ int yuv2rgb_c_init_tables (SwsContext *c
|
||||
//printf("%lld %lld %lld %lld %lld\n", cy, crv, cbu, cgu, cgv);
|
||||
oy -= 256*brightness;
|
||||
|
||||
@@ -5858,9 +5807,6 @@ index 71759bc..fa83985 100644
|
||||
for (i = 0; i < 1024; i++) {
|
||||
int j;
|
||||
|
||||
diff --git a/libswscale/yuv2rgb_avr32.c b/libswscale/yuv2rgb_avr32.c
|
||||
new file mode 100644
|
||||
index 0000000..4a8341e
|
||||
--- /dev/null
|
||||
+++ b/libswscale/yuv2rgb_avr32.c
|
||||
@@ -0,0 +1,416 @@
|
||||
@@ -6280,8 +6226,6 @@ index 0000000..4a8341e
|
||||
+
|
||||
+
|
||||
+#undef RGB
|
||||
diff --git a/libvo/vo_fbdev2.c b/libvo/vo_fbdev2.c
|
||||
index 053c193..7017770 100644
|
||||
--- a/libvo/vo_fbdev2.c
|
||||
+++ b/libvo/vo_fbdev2.c
|
||||
@@ -22,6 +22,9 @@
|
||||
@@ -6310,7 +6254,7 @@ index 053c193..7017770 100644
|
||||
fb_bpp = fb_vinfo.bits_per_pixel;
|
||||
|
||||
/* 16 and 15 bpp is reported as 16 bpp */
|
||||
@@ -289,6 +301,10 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
@@ -289,6 +301,10 @@ static int config(uint32_t width, uint32
|
||||
mp_msg(MSGT_VO, MSGL_ERR, "[fbdev2] Can't malloc next_frame: %s\n", strerror(errno));
|
||||
return 1;
|
||||
}
|
||||
@@ -6423,7 +6367,7 @@ index 053c193..7017770 100644
|
||||
}
|
||||
|
||||
static void uninit(void)
|
||||
@@ -403,6 +478,10 @@ static int control(uint32_t request, void *data, ...)
|
||||
@@ -403,6 +478,10 @@ static int control(uint32_t request, voi
|
||||
switch (request) {
|
||||
case VOCTRL_QUERY_FORMAT:
|
||||
return query_format(*((uint32_t*)data));
|
||||
@@ -6434,8 +6378,6 @@ index 053c193..7017770 100644
|
||||
}
|
||||
return VO_NOTIMPL;
|
||||
}
|
||||
diff --git a/version.sh b/version.sh
|
||||
index 44b5c5d..cf22a68 100755
|
||||
--- a/version.sh
|
||||
+++ b/version.sh
|
||||
@@ -1,2 +1,2 @@
|
||||
|
||||
150
package/multimedia/mplayer/mplayer-1.0rc1-fix-alsa-output.patch
Normal file
150
package/multimedia/mplayer/mplayer-1.0rc1-fix-alsa-output.patch
Normal file
@@ -0,0 +1,150 @@
|
||||
--- a/libao2/ao_alsa.c
|
||||
+++ b/libao2/ao_alsa.c
|
||||
@@ -263,48 +263,49 @@ static int str_maxlen(strarg_t *str) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
-/* change a PCM definition for correct AC-3 playback */
|
||||
-static void set_non_audio(snd_config_t *root, const char *name_with_args)
|
||||
+static int try_open_device(const char *device, int open_mode, int try_ac3)
|
||||
{
|
||||
- char *name, *colon, *old_value_str;
|
||||
- snd_config_t *config, *args, *aes0, *old_def, *def;
|
||||
- int value, err;
|
||||
-
|
||||
- /* strip the parameters from the PCM name */
|
||||
- if ((name = strdup(name_with_args)) != NULL) {
|
||||
- if ((colon = strchr(name, ':')) != NULL)
|
||||
- *colon = '\0';
|
||||
- /* search the PCM definition that we'll later use */
|
||||
- if (snd_config_search_alias_hooks(root, strchr(name, '.') ? NULL : "pcm",
|
||||
- name, &config) >= 0) {
|
||||
- /* does this definition have an "AES0" parameter? */
|
||||
- if (snd_config_search(config, "@args", &args) >= 0 &&
|
||||
- snd_config_search(args, "AES0", &aes0) >= 0) {
|
||||
- /* read the old default value */
|
||||
- value = IEC958_AES0_CON_NOT_COPYRIGHT |
|
||||
- IEC958_AES0_CON_EMPHASIS_NONE;
|
||||
- if (snd_config_search(aes0, "default", &old_def) >= 0) {
|
||||
- /* don't use snd_config_get_integer() because alsa-lib <= 1.0.12
|
||||
- * parses hex numbers as strings */
|
||||
- if (snd_config_get_ascii(old_def, &old_value_str) >= 0) {
|
||||
- sscanf(old_value_str, "%i", &value);
|
||||
- free(old_value_str);
|
||||
- }
|
||||
- } else
|
||||
- old_def = NULL;
|
||||
- /* set the non-audio bit */
|
||||
- value |= IEC958_AES0_NONAUDIO;
|
||||
- /* set the new default value */
|
||||
- if (snd_config_imake_integer(&def, "default", value) >= 0) {
|
||||
- if (old_def)
|
||||
- snd_config_substitute(old_def, def);
|
||||
- else
|
||||
- snd_config_add(aes0, def);
|
||||
- }
|
||||
+ int err, len;
|
||||
+ char *ac3_device, *args;
|
||||
+
|
||||
+ if (try_ac3) {
|
||||
+ /* to set the non-audio bit, use AES0=6 */
|
||||
+ len = strlen(device);
|
||||
+ ac3_device = malloc(len + 7 + 1);
|
||||
+ if (!ac3_device)
|
||||
+ return -ENOMEM;
|
||||
+ strcpy(ac3_device, device);
|
||||
+ args = strchr(ac3_device, ':');
|
||||
+ if (!args) {
|
||||
+ /* no existing parameters: add it behind device name */
|
||||
+ strcat(ac3_device, ":AES0=6");
|
||||
+ } else {
|
||||
+ do
|
||||
+ ++args;
|
||||
+ while (isspace(*args));
|
||||
+ if (*args == '\0') {
|
||||
+ /* ":" but no parameters */
|
||||
+ strcat(ac3_device, "AES0=6");
|
||||
+ } else if (*args != '{') {
|
||||
+ /* a simple list of parameters: add it at the end of the list */
|
||||
+ strcat(ac3_device, ",AES0=6");
|
||||
+ } else {
|
||||
+ /* parameters in config syntax: add it inside the { } block */
|
||||
+ do
|
||||
+ --len;
|
||||
+ while (len > 0 && isspace(ac3_device[len]));
|
||||
+ if (ac3_device[len] == '}')
|
||||
+ strcpy(ac3_device + len, " AES0=6}");
|
||||
}
|
||||
}
|
||||
- free(name);
|
||||
+ err = snd_pcm_open(&alsa_handler, ac3_device, SND_PCM_STREAM_PLAYBACK,
|
||||
+ open_mode);
|
||||
+ free(ac3_device);
|
||||
}
|
||||
+ if (!try_ac3 || err < 0)
|
||||
+ err = snd_pcm_open(&alsa_handler, device, SND_PCM_STREAM_PLAYBACK,
|
||||
+ open_mode);
|
||||
+ return err;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -316,7 +317,6 @@ static int init(int rate_hz, int channel
|
||||
int err;
|
||||
int block;
|
||||
strarg_t device;
|
||||
- snd_config_t *my_config;
|
||||
snd_pcm_uframes_t bufsize;
|
||||
snd_pcm_uframes_t boundary;
|
||||
opt_t subopts[] = {
|
||||
@@ -496,24 +496,12 @@ static int init(int rate_hz, int channel
|
||||
}
|
||||
|
||||
if (!alsa_handler) {
|
||||
- if ((err = snd_config_update()) < 0) {
|
||||
- mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: cannot read ALSA configuration: %s\n", snd_strerror(err));
|
||||
- return 0;
|
||||
- }
|
||||
- if ((err = snd_config_copy(&my_config, snd_config)) < 0) {
|
||||
- mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: cannot copy configuration: %s\n", snd_strerror(err));
|
||||
- return 0;
|
||||
- }
|
||||
- if (format == AF_FORMAT_AC3)
|
||||
- set_non_audio(my_config, alsa_device);
|
||||
//modes = 0, SND_PCM_NONBLOCK, SND_PCM_ASYNC
|
||||
- if ((err = snd_pcm_open_lconf(&alsa_handler, alsa_device,
|
||||
- SND_PCM_STREAM_PLAYBACK, open_mode, my_config)) < 0)
|
||||
+ if ((err = try_open_device(alsa_device, open_mode, format == AF_FORMAT_AC3)) < 0)
|
||||
{
|
||||
if (err != -EBUSY && ao_noblock) {
|
||||
mp_msg(MSGT_AO,MSGL_INFO,"alsa-init: open in nonblock-mode failed, trying to open in block-mode\n");
|
||||
- if ((err = snd_pcm_open_lconf(&alsa_handler, alsa_device,
|
||||
- SND_PCM_STREAM_PLAYBACK, 0, my_config)) < 0) {
|
||||
+ if ((err = try_open_device(alsa_device, 0, format == AF_FORMAT_AC3)) < 0) {
|
||||
mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: playback open error: %s\n", snd_strerror(err));
|
||||
return(0);
|
||||
}
|
||||
@@ -522,12 +510,11 @@ static int init(int rate_hz, int channel
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
- snd_config_delete(my_config);
|
||||
|
||||
if ((err = snd_pcm_nonblock(alsa_handler, 0)) < 0) {
|
||||
mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: error set block-mode %s\n", snd_strerror(err));
|
||||
} else {
|
||||
- mp_msg(MSGT_AO,MSGL_V,"alsa-init: pcm opend in blocking mode\n");
|
||||
+ mp_msg(MSGT_AO,MSGL_V,"alsa-init: pcm opened in blocking mode\n");
|
||||
}
|
||||
|
||||
snd_pcm_hw_params_alloca(&alsa_hwparams);
|
||||
@@ -879,8 +866,8 @@ static int get_space(void)
|
||||
}
|
||||
|
||||
ret = snd_pcm_status_get_avail(status) * bytes_per_sample;
|
||||
- if (ret > MAX_OUTBURST)
|
||||
- ret = MAX_OUTBURST;
|
||||
+ if (ret > ao_data.buffersize) // Buffer underrun?
|
||||
+ ret = ao_data.buffersize;
|
||||
return(ret);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
diff -urN MPlayer-1.0rc1-0rig/stream/stream_dvb.c MPlayer-1.0rc1/stream/stream_dvb.c
|
||||
--- MPlayer-1.0rc1-0rig/stream/stream_dvb.c 2006-10-23 00:32:25.000000000 +0200
|
||||
+++ MPlayer-1.0rc1/stream/stream_dvb.c 2007-09-25 08:37:54.000000000 +0200
|
||||
@@ -37,9 +37,7 @@
|
||||
--- a/stream/stream_dvb.c
|
||||
+++ b/stream/stream_dvb.c
|
||||
@@ -37,9 +37,7 @@ Foundation, Inc., 675 Mass Ave, Cambridg
|
||||
#include <sys/poll.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
@@ -11,7 +10,7 @@ diff -urN MPlayer-1.0rc1-0rig/stream/stream_dvb.c MPlayer-1.0rc1/stream/stream_d
|
||||
|
||||
#include "stream.h"
|
||||
#include "libmpdemux/demuxer.h"
|
||||
@@ -168,7 +166,7 @@
|
||||
@@ -168,7 +166,7 @@ static dvb_channels_list *dvb_get_channe
|
||||
if((line[0] == '#') || (strlen(line) == 0))
|
||||
continue;
|
||||
|
||||
|
||||
18
package/multimedia/mplayer/mplayer-1.0rc1-largefile.patch
Normal file
18
package/multimedia/mplayer/mplayer-1.0rc1-largefile.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
mplayer: don't unconditionally force largefile support for libraries
|
||||
---
|
||||
common.mak | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: MPlayer-1.0rc1/common.mak
|
||||
===================================================================
|
||||
--- MPlayer-1.0rc1.orig/common.mak
|
||||
+++ MPlayer-1.0rc1/common.mak
|
||||
@@ -5,7 +5,7 @@
|
||||
SRC_DIR = $(SRC_PATH)/lib$(NAME)
|
||||
VPATH = $(SRC_DIR)
|
||||
|
||||
-CFLAGS += -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||||
+CFLAGS += -DHAVE_AV_CONFIG_H \
|
||||
-D_ISOC9X_SOURCE -I$(BUILD_ROOT) -I$(SRC_PATH) \
|
||||
-I$(SRC_PATH)/libavutil $(OPTFLAGS)
|
||||
SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
|
||||
@@ -0,0 +1,27 @@
|
||||
mplayer: configure: handle target=powerpc-linux as well as ppc-linux
|
||||
---
|
||||
configure | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: MPlayer-1.0rc1/configure
|
||||
===================================================================
|
||||
--- MPlayer-1.0rc1.orig/configure
|
||||
+++ MPlayer-1.0rc1/configure
|
||||
@@ -133,7 +133,7 @@
|
||||
|
||||
ppc() {
|
||||
case "$host_arch" in
|
||||
- ppc) return 0;;
|
||||
+ ppc|powerpc) return 0;;
|
||||
*) return 1;;
|
||||
esac
|
||||
}
|
||||
@@ -1213,7 +1213,7 @@
|
||||
_optimizing=''
|
||||
;;
|
||||
|
||||
- ppc)
|
||||
+ ppc|powerpc)
|
||||
_def_arch='#define ARCH_POWERPC 1'
|
||||
_def_dcbzl='#define NO_DCBZL 1'
|
||||
_target_arch='TARGET_ARCH_POWERPC = yes'
|
||||
@@ -0,0 +1,12 @@
|
||||
win32.c:67:23: error: sys/timeb.h: No such file or directory
|
||||
|
||||
--- a/loader/win32.c 2009-01-26 01:53:20.000000000 +0100
|
||||
+++ b/loader/win32.c 2009-01-26 01:53:39.000000000 +0100
|
||||
@@ -64,7 +64,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/time.h>
|
||||
-#include <sys/timeb.h>
|
||||
#ifdef HAVE_KSTAT
|
||||
#include <kstat.h>
|
||||
#endif
|
||||
@@ -17,6 +17,19 @@ else
|
||||
MPLAYER_ENDIAN:=--disable-big-endian
|
||||
endif
|
||||
|
||||
# mplayer unfortunately uses --disable-largefileS, so we cannot use
|
||||
# DISABLE_LARGEFILE
|
||||
ifeq ($(BR2_LARGEFILE),y)
|
||||
MPLAYER_LARGEFILE:=--enable-largefiles
|
||||
else
|
||||
MPLAYER_LARGEFILE:=--disable-largefiles
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_i386),y)
|
||||
# This seems to be required to compile some of the inline asm
|
||||
MPLAYER_CFLAGS:=-fomit-frame-pointer
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(MPLAYER_SOURCE):
|
||||
$(call DOWNLOAD,$(MPLAYER_SITE),$(MPLAYER_SOURCE))
|
||||
|
||||
@@ -30,7 +43,7 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
|
||||
(cd $(MPLAYER_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(MPLAYER_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
@@ -45,6 +58,8 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
|
||||
--enable-mad \
|
||||
--enable-fbdev \
|
||||
$(MPLAYER_ENDIAN) \
|
||||
$(MPLAYER_LARGEFILE) \
|
||||
--enable-cross-compile \
|
||||
--disable-mpdvdkit \
|
||||
--disable-ivtv \
|
||||
--disable-tv \
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user