mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
442 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
274fa9f350 | ||
|
|
50f99af168 | ||
|
|
085290e7ef | ||
|
|
97ce065cc5 | ||
|
|
350012acd4 | ||
|
|
82ee34035f | ||
|
|
8060fa5140 | ||
|
|
c4d3ee6254 | ||
|
|
e90d9bf31f | ||
|
|
ad35c97be3 | ||
|
|
3cff9d986c | ||
|
|
0988b6df88 | ||
|
|
cf78953dd9 | ||
|
|
5377ae9bea | ||
|
|
37aba25c34 | ||
|
|
864f747525 | ||
|
|
663a4ee4b1 | ||
|
|
a3af455d18 | ||
|
|
1019ad40a1 | ||
|
|
6e0c3c356f | ||
|
|
eb1783e5cf | ||
|
|
6ac8c44c43 | ||
|
|
f858f05017 | ||
|
|
98044fa74f | ||
|
|
003e502a85 | ||
|
|
ccbd1d87a6 | ||
|
|
026073a67d | ||
|
|
14a82dffa2 | ||
|
|
881dc79add | ||
|
|
20433ebe05 | ||
|
|
013c8e8488 | ||
|
|
a93bc1a0a6 | ||
|
|
32780806a3 | ||
|
|
8d2428e077 | ||
|
|
115fa500fc | ||
|
|
21842c61a0 | ||
|
|
367d4ba969 | ||
|
|
a0b214b861 | ||
|
|
8ecdcdc25c | ||
|
|
a4a6962242 | ||
|
|
68976812f5 | ||
|
|
446e3cf5aa | ||
|
|
51853b5a70 | ||
|
|
2479b0ca24 | ||
|
|
217e8649bf | ||
|
|
e92a5c66f3 | ||
|
|
5e5e2602ec | ||
|
|
875923d5db | ||
|
|
75648bc789 | ||
|
|
5356972e5d | ||
|
|
ea28a1a7e7 | ||
|
|
3403fe63a2 | ||
|
|
d1b45a75af | ||
|
|
f0805b0c74 | ||
|
|
cbdac731a9 | ||
|
|
b50a2ef420 | ||
|
|
049ef58199 | ||
|
|
f29ed3c3cc | ||
|
|
8e6ee90308 | ||
|
|
8204bfb0d6 | ||
|
|
5c10845150 | ||
|
|
85ed479c87 | ||
|
|
555eb41b79 | ||
|
|
ed6d87a4cf | ||
|
|
2fa7dcc1f7 | ||
|
|
e48ed84b64 | ||
|
|
b2caf59b88 | ||
|
|
159dd6cc6c | ||
|
|
b9d7cb3dac | ||
|
|
c0409aec72 | ||
|
|
894ce87935 | ||
|
|
c43853b05e | ||
|
|
87f617cec1 | ||
|
|
e8c578b5f1 | ||
|
|
1376b75e58 | ||
|
|
5b15a44ebb | ||
|
|
ebf6effe1a | ||
|
|
47e3653a79 | ||
|
|
a76edc27cb | ||
|
|
340e681945 | ||
|
|
c791fa1af6 | ||
|
|
17bbdb7124 | ||
|
|
7df5825175 | ||
|
|
0bb946ad07 | ||
|
|
a4727ef616 | ||
|
|
4b461c25e5 | ||
|
|
fd403e355e | ||
|
|
4d791a09bf | ||
|
|
87fa6565df | ||
|
|
b0b8ca31c4 | ||
|
|
43a472e082 | ||
|
|
9b341e7d50 | ||
|
|
c2b0ffae86 | ||
|
|
2941faa9ca | ||
|
|
8ec2e7240a | ||
|
|
3c3cb89fbc | ||
|
|
bc5bda62ee | ||
|
|
26b08a48c6 | ||
|
|
2cfa0aac9e | ||
|
|
feb89c18d6 | ||
|
|
1180327b92 | ||
|
|
7e05976c8f | ||
|
|
c08819431a | ||
|
|
10f9a818ba | ||
|
|
100762bd64 | ||
|
|
bfa729f527 | ||
|
|
8cb97d214d | ||
|
|
5718538101 | ||
|
|
a337c45339 | ||
|
|
d0eef6bbf0 | ||
|
|
708664aa8f | ||
|
|
ae50e69249 | ||
|
|
980ea40710 | ||
|
|
89040561c3 | ||
|
|
d41760fe2c | ||
|
|
6e8a1ffab2 | ||
|
|
88cc98d1eb | ||
|
|
12e888f855 | ||
|
|
88b7adbbfe | ||
|
|
ae095d978a | ||
|
|
2187893e81 | ||
|
|
bb0c71794c | ||
|
|
a0bb08367d | ||
|
|
a1c2ff2eff | ||
|
|
bb94a1c06e | ||
|
|
9076237a8a | ||
|
|
a2fa9386b4 | ||
|
|
ce58a1ec2a | ||
|
|
2ae0cf4e19 | ||
|
|
840e0509e0 | ||
|
|
156653921b | ||
|
|
57fff2fd3d | ||
|
|
d5579da552 | ||
|
|
cd866b0a20 | ||
|
|
f27e0561eb | ||
|
|
ef0e56f0e5 | ||
|
|
92a4760172 | ||
|
|
4f36649701 | ||
|
|
a10bbaba4d | ||
|
|
86c3d35256 | ||
|
|
5fe671e354 | ||
|
|
7bcf5c549f | ||
|
|
daaef706f2 | ||
|
|
6bd144cfdc | ||
|
|
c14f40fffc | ||
|
|
748e09b953 | ||
|
|
0d2a8ae278 | ||
|
|
2a0f3238ef | ||
|
|
991d661710 | ||
|
|
ac37dfae4f | ||
|
|
db849d70c7 | ||
|
|
8fb6d522a5 | ||
|
|
459006d946 | ||
|
|
be250c99cb | ||
|
|
a14bf21176 | ||
|
|
abb0c7ffb5 | ||
|
|
795f71cbad | ||
|
|
81635ae19d | ||
|
|
5006bd2073 | ||
|
|
eca2593537 | ||
|
|
b912dd770c | ||
|
|
8838df80b6 | ||
|
|
50fd321948 | ||
|
|
cdd64e47c8 | ||
|
|
ea9308930e | ||
|
|
bb62afa663 | ||
|
|
df92530dfb | ||
|
|
2b3943fbc2 | ||
|
|
311d48675e | ||
|
|
1d33ed7aa0 | ||
|
|
435afa1adb | ||
|
|
535c7f9fba | ||
|
|
76794512f4 | ||
|
|
d34ffbf7ea | ||
|
|
f27bf3e7e8 | ||
|
|
654a08308a | ||
|
|
67d100e1a2 | ||
|
|
620388d307 | ||
|
|
5dd496de25 | ||
|
|
31d8790e15 | ||
|
|
bf38c48586 | ||
|
|
b7a9574ea6 | ||
|
|
e4344663a9 | ||
|
|
851fe8b7bc | ||
|
|
bc5cf335ff | ||
|
|
8b86f57c74 | ||
|
|
6b19a24e64 | ||
|
|
73be075895 | ||
|
|
859c0415b6 | ||
|
|
0bf97f0da1 | ||
|
|
c0d9bb6e09 | ||
|
|
aa6dd8cd1f | ||
|
|
93bfe834f5 | ||
|
|
0ca38238e8 | ||
|
|
fde2bb4da8 | ||
|
|
f26d79510e | ||
|
|
1bab87b42c | ||
|
|
ce57af41e9 | ||
|
|
70e55e654f | ||
|
|
be38ef930c | ||
|
|
79b5bff431 | ||
|
|
ab80a96630 | ||
|
|
22b467f01f | ||
|
|
14cc7b928d | ||
|
|
d87146752e | ||
|
|
0d4e0bb4ce | ||
|
|
2ab36dd62f | ||
|
|
913f85678f | ||
|
|
10d81af0f0 | ||
|
|
fd79dec84b | ||
|
|
252550cd0c | ||
|
|
605e379208 | ||
|
|
a0587ea002 | ||
|
|
baa988b2d5 | ||
|
|
b1d5e175fd | ||
|
|
216e47043b | ||
|
|
a0147f6a12 | ||
|
|
fc24b8019c | ||
|
|
7b32a97b27 | ||
|
|
398df5af31 | ||
|
|
54250b65b6 | ||
|
|
9de9b5e196 | ||
|
|
b9d2270148 | ||
|
|
5bef57fd04 | ||
|
|
a406469e03 | ||
|
|
e65d9950a7 | ||
|
|
9e303b9aa1 | ||
|
|
c9dbfb1a4b | ||
|
|
421e703840 | ||
|
|
5cb0cf883b | ||
|
|
3e7c7806ab | ||
|
|
7c01aa5598 | ||
|
|
073cac2232 | ||
|
|
412141f521 | ||
|
|
8423ab495e | ||
|
|
e2ff29aaba | ||
|
|
654f7f915e | ||
|
|
1871b22418 | ||
|
|
bfd530f8ae | ||
|
|
c0c146e966 | ||
|
|
adcfc51319 | ||
|
|
8bed71f6bd | ||
|
|
4f38d9317a | ||
|
|
1c9e03a7ae | ||
|
|
75b3c30417 | ||
|
|
bc28e915ea | ||
|
|
672e2beddb | ||
|
|
8d449ea3e9 | ||
|
|
802ccf6c06 | ||
|
|
7c53c9ce79 | ||
|
|
08d1947761 | ||
|
|
b587105ecf | ||
|
|
ca9779eed8 | ||
|
|
8534be20a7 | ||
|
|
4ef3138874 | ||
|
|
a7bcd79166 | ||
|
|
327474361b | ||
|
|
463dc63cf3 | ||
|
|
ea8d106ae5 | ||
|
|
e13e9c0dda | ||
|
|
9eb0eccb11 | ||
|
|
b2685567c3 | ||
|
|
dce8242e8f | ||
|
|
dfe2becd18 | ||
|
|
1c57a2c647 | ||
|
|
4d4bbf5c5c | ||
|
|
fabe07ab99 | ||
|
|
14c9ae2284 | ||
|
|
c9af0900b4 | ||
|
|
ff9995e982 | ||
|
|
16442f04bb | ||
|
|
95c0a28bed | ||
|
|
1f6d6dac80 | ||
|
|
ed466a366a | ||
|
|
d885625d24 | ||
|
|
7de221797a | ||
|
|
e84cf14798 | ||
|
|
77aa1eb581 | ||
|
|
51e8121f67 | ||
|
|
e7db42d3c6 | ||
|
|
05a6bab1ef | ||
|
|
34251ce19e | ||
|
|
7bec817c62 | ||
|
|
558aaffd5a | ||
|
|
86724c9b87 | ||
|
|
46a1abc03c | ||
|
|
6308070ac2 | ||
|
|
8c476b3056 | ||
|
|
30d5dda637 | ||
|
|
f85652573f | ||
|
|
1db6430a0c | ||
|
|
5bd4e7e1bb | ||
|
|
10e3f72ede | ||
|
|
6efdba41f7 | ||
|
|
449394cfd6 | ||
|
|
ff6f06149f | ||
|
|
919d71078b | ||
|
|
2a2a8cda2c | ||
|
|
f55a83afcb | ||
|
|
3ce4418833 | ||
|
|
cf2f80badf | ||
|
|
307cf64bfb | ||
|
|
0e5e0a9e04 | ||
|
|
83688801c7 | ||
|
|
fcaac62c5f | ||
|
|
b96a7982ac | ||
|
|
74881c1fd2 | ||
|
|
593b769300 | ||
|
|
477ade7b16 | ||
|
|
036bcad109 | ||
|
|
473b14446a | ||
|
|
ce45d89896 | ||
|
|
321b9dcd34 | ||
|
|
950033c06e | ||
|
|
a18834178b | ||
|
|
14c18a2de5 | ||
|
|
9553f6c11c | ||
|
|
22b62bed59 | ||
|
|
d1ff72f766 | ||
|
|
32502a5cf6 | ||
|
|
6fa2333414 | ||
|
|
152ceec969 | ||
|
|
6fbb705947 | ||
|
|
0e0a7de92f | ||
|
|
f02dead4a7 | ||
|
|
ed1cb4be13 | ||
|
|
29092e2ce5 | ||
|
|
114a9fb370 | ||
|
|
9d21adb6f3 | ||
|
|
a36921fbe6 | ||
|
|
c8f3e6708b | ||
|
|
6256e166aa | ||
|
|
a3c3fa5cce | ||
|
|
573e184cf5 | ||
|
|
fe325e7aed | ||
|
|
b088522f57 | ||
|
|
12f55ac1c6 | ||
|
|
b70a270365 | ||
|
|
a1a9217f8e | ||
|
|
91aa5ed603 | ||
|
|
f298846adb | ||
|
|
767ec892e2 | ||
|
|
07063e9a40 | ||
|
|
0121c1e36b | ||
|
|
7262ed18e4 | ||
|
|
3771c8eb3a | ||
|
|
bc003a1070 | ||
|
|
5c23e3fabc | ||
|
|
15505f80ca | ||
|
|
b7852952ba | ||
|
|
1a97097a30 | ||
|
|
58aaa9f266 | ||
|
|
ffc8962357 | ||
|
|
6069dd14c4 | ||
|
|
7b4edccf81 | ||
|
|
44bc649684 | ||
|
|
c5dbf3d94f | ||
|
|
fa51bfcf57 | ||
|
|
c546b5979a | ||
|
|
aa4fbd7ab1 | ||
|
|
82eb3158ae | ||
|
|
06461b6e7e | ||
|
|
6d16dc9399 | ||
|
|
efa8c1d95a | ||
|
|
a0c977ddfe | ||
|
|
945a7f338f | ||
|
|
0849a34c75 | ||
|
|
77f8e89bfe | ||
|
|
8db2e6705e | ||
|
|
4448113a7b | ||
|
|
bb5c5509f1 | ||
|
|
160ce21140 | ||
|
|
792e217186 | ||
|
|
4ed7faeba3 | ||
|
|
59c41e76a1 | ||
|
|
3f3e198c9b | ||
|
|
ccc1b39a15 | ||
|
|
ad1115e98e | ||
|
|
d9111f52a8 | ||
|
|
9c410eaeef | ||
|
|
e646610990 | ||
|
|
31001afd23 | ||
|
|
80c6730a0f | ||
|
|
004a391f18 | ||
|
|
6e9af9e243 | ||
|
|
f7c8509269 | ||
|
|
b768e322ed | ||
|
|
9029c645b0 | ||
|
|
b14d6da9cb | ||
|
|
96f52fc97f | ||
|
|
d4b844a7ed | ||
|
|
60744990c3 | ||
|
|
ef5d518eb9 | ||
|
|
e61360c9d3 | ||
|
|
2e24540df2 | ||
|
|
caeb39c657 | ||
|
|
a603e3bf18 | ||
|
|
9cb02d21a7 | ||
|
|
e5fa75cf69 | ||
|
|
28fe3c1b40 | ||
|
|
7e1f181168 | ||
|
|
708a34555a | ||
|
|
5e72c74419 | ||
|
|
b3011069c5 | ||
|
|
4f48a19924 | ||
|
|
86538ccb74 | ||
|
|
cd452f8288 | ||
|
|
7c1531f70d | ||
|
|
70064630d8 | ||
|
|
1405b245ea | ||
|
|
cf7af733c3 | ||
|
|
105ede1d39 | ||
|
|
917724673c | ||
|
|
768b7660e0 | ||
|
|
00221bea95 | ||
|
|
2af93e2b15 | ||
|
|
414abbc9e9 | ||
|
|
4d2ca4a68b | ||
|
|
2bf67bb4b0 | ||
|
|
7bccac2c21 | ||
|
|
991521fbbf | ||
|
|
20c48e1fe8 | ||
|
|
5a79bc7598 | ||
|
|
ba633c0e65 | ||
|
|
68391a604e | ||
|
|
b439e9450a | ||
|
|
e84de340b6 | ||
|
|
bc365bd295 | ||
|
|
21c2e30c78 | ||
|
|
2d59aa423e | ||
|
|
1e1dad760a | ||
|
|
80bcd9ba72 | ||
|
|
d0a3988215 | ||
|
|
4db0e6a9e4 | ||
|
|
3c1ef9bd37 | ||
|
|
7f01de9350 | ||
|
|
a9fd32bf62 | ||
|
|
26e29e2ef1 | ||
|
|
8e18629276 | ||
|
|
63cc19754c | ||
|
|
be0fd9c615 | ||
|
|
ee042d786f |
21
CHANGELOG
21
CHANGELOG
@@ -1,20 +1,5 @@
|
|||||||
OpenELEC (Version 2.1)
|
OpenELEC (Version 3.0)
|
||||||
|
|
||||||
Changelog OpenELEC-2.0 to OpenELEC-2.1
|
for a detailed Changelog from OpenELEC-2.0 to OpenELEC-3.0 see:
|
||||||
|
https://github.com/OpenELEC/OpenELEC.tv/compare/2.0.0...3.0.0
|
||||||
|
|
||||||
Added packages:
|
|
||||||
- add package 'ppp'
|
|
||||||
- add package 'pptp'
|
|
||||||
|
|
||||||
Package updates:
|
|
||||||
- update linux to linux-3.5
|
|
||||||
- update dialog to dialog-1.1-20120215
|
|
||||||
- update connman to connman-1.4
|
|
||||||
|
|
||||||
Added functions:
|
|
||||||
- sshd can be enabled via OpenELEC Settings addon
|
|
||||||
- add PPTP support
|
|
||||||
|
|
||||||
Changed functions:
|
|
||||||
|
|
||||||
Removed functions:
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ providing cutting edge hardware support to deliver a set-top box experience.
|
|||||||
|
|
||||||
**Installation**
|
**Installation**
|
||||||
|
|
||||||
* Please read INSTALL for instructions on how to install.
|
* Please read the instructions in our wiki (http://wiki.openelec.tv/index.php?title=Installation) on how to install.
|
||||||
|
|
||||||
**Known issues**
|
**Known issues**
|
||||||
|
|
||||||
|
|||||||
@@ -169,6 +169,11 @@ strip_linker_plugin() {
|
|||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||g"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||g"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strip_gold() {
|
||||||
|
# strip out usage from GOLD linker
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||g"`
|
||||||
|
}
|
||||||
|
|
||||||
fix_module_depends() {
|
fix_module_depends() {
|
||||||
# modify .modinfo section in kernel module to depends on other required modules
|
# modify .modinfo section in kernel module to depends on other required modules
|
||||||
local MODULE="$1"
|
local MODULE="$1"
|
||||||
@@ -233,7 +238,7 @@ dashes="==========================="
|
|||||||
show_config() {
|
show_config() {
|
||||||
dashes="==========================="
|
dashes="==========================="
|
||||||
config_message="$config_message\n $dashes$dashes$dashes"
|
config_message="$config_message\n $dashes$dashes$dashes"
|
||||||
config_message="$config_message\n Configuration for $DISTRONAME"
|
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial"))"
|
||||||
config_message="$config_message\n $dashes$dashes$dashes"
|
config_message="$config_message\n $dashes$dashes$dashes"
|
||||||
|
|
||||||
# Build options
|
# Build options
|
||||||
@@ -247,6 +252,7 @@ show_config() {
|
|||||||
config_message="$config_message\n - SIMD support:\t\t\t $SIMD_SUPPORT"
|
config_message="$config_message\n - SIMD support:\t\t\t $SIMD_SUPPORT"
|
||||||
config_message="$config_message\n - Optimizations:\t\t\t $OPTIMIZATIONS"
|
config_message="$config_message\n - Optimizations:\t\t\t $OPTIMIZATIONS"
|
||||||
config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
|
config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
|
||||||
|
config_message="$config_message\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
|
||||||
config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
|
config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
|
||||||
|
|
||||||
# config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"
|
# config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ if [ "$LTO_SUPPORT" = yes ];then
|
|||||||
LD_OPTIM="$LD_OPTIM -flto"
|
LD_OPTIM="$LD_OPTIM -flto"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$GOLD_SUPPORT" = yes ];then
|
||||||
|
LD_OPTIM="$LD_OPTIM -fuse-ld=gold"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$DEBUG" = yes ]; then
|
if [ "$DEBUG" = yes ]; then
|
||||||
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
|
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
|
||||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
|
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# VERSION: set full version, use "devel" for development version
|
# VERSION: set full version, use "devel" for development version
|
||||||
OPENELEC_VERSION="devel"
|
OPENELEC_VERSION="3.0.5"
|
||||||
|
|
||||||
# OS_VERSION: OS Version
|
# OS_VERSION: OS Version
|
||||||
OS_VERSION="3.0"
|
OS_VERSION="3.0"
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ if [ -z "$(pidof userhdhomerun)" ]; then
|
|||||||
SERIALS=$(cat /var/config/hdhomerun-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_\(.*\)_DVBMODE=.*|\1-\2|gp' | sort | uniq)
|
SERIALS=$(cat /var/config/hdhomerun-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_\(.*\)_DVBMODE=.*|\1-\2|gp' | sort | uniq)
|
||||||
. /var/config/hdhomerun-addon.conf
|
. /var/config/hdhomerun-addon.conf
|
||||||
|
|
||||||
for SERIAL in ${SERIALS[@]}; do
|
for SERIAL in $SERIALS; do
|
||||||
SERIAL_VAR=$(echo $SERIAL | sed 's|-|_|')
|
SERIAL_VAR=$(echo $SERIAL | sed 's|-|_|')
|
||||||
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_DVBMODE)
|
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_DVBMODE)
|
||||||
FULLNAME=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_FULLNAME)
|
FULLNAME=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_FULLNAME)
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ if [ -z "$(pidof mediasrv)" ]; then
|
|||||||
SERIALS=$(cat /var/config/sundtek-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_DVBMODE=.*|\1|gp' | sort | uniq)
|
SERIALS=$(cat /var/config/sundtek-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_DVBMODE=.*|\1|gp' | sort | uniq)
|
||||||
. /var/config/sundtek-addon.conf
|
. /var/config/sundtek-addon.conf
|
||||||
|
|
||||||
for SERIAL in ${SERIALS[@]}; do
|
for SERIAL in $SERIALS; do
|
||||||
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL}_DVBMODE)
|
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL}_DVBMODE)
|
||||||
IRPROT=$(eval echo \$ATTACHED_TUNER_${SERIAL}_IRPROT)
|
IRPROT=$(eval echo \$ATTACHED_TUNER_${SERIAL}_IRPROT)
|
||||||
KEYMAP=$(eval echo \$ATTACHED_TUNER_${SERIAL}_KEYMAP)
|
KEYMAP=$(eval echo \$ATTACHED_TUNER_${SERIAL}_KEYMAP)
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
|
|||||||
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
|
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
|
||||||
PKG_URL="ftp://rsync.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="ftp://rsync.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain $ICONV"
|
PKG_BUILD_DEPENDS="toolchain $ICONV popt"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="network/backup"
|
PKG_SECTION="network/backup"
|
||||||
PKG_SHORTDESC="rsync: A replacement for rcp that has many more features"
|
PKG_SHORTDESC="rsync: A replacement for rcp that has many more features"
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
3.0.7
|
||||||
|
- update to TVHeadend 3.3.511
|
||||||
|
|
||||||
3.0.6
|
3.0.6
|
||||||
- update to TVHeadend 3.3.491
|
- update to TVHeadend 3.3.491
|
||||||
- disable avahi support
|
- disable avahi support
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="tvheadend"
|
PKG_NAME="tvheadend"
|
||||||
PKG_VERSION="3.3.491"
|
PKG_VERSION="3.3.511"
|
||||||
PKG_REV="6"
|
PKG_REV="7"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
|
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
From 30517cb122d0991f0ba51155c9afff6bdc2d8899 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stefan Saraev <stefan@saraev.ca>
|
|
||||||
Date: Wed, 13 Mar 2013 21:30:55 +0200
|
|
||||||
Subject: [PATCH] cwc: syslog: move some log messages to debug
|
|
||||||
|
|
||||||
---
|
|
||||||
src/capmt.c | 4 ++--
|
|
||||||
src/cwc.c | 2 +-
|
|
||||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/capmt.c b/src/capmt.c
|
|
||||||
index ac507bd..9e12e86 100644
|
|
||||||
--- a/src/capmt.c
|
|
||||||
+++ b/src/capmt.c
|
|
||||||
@@ -547,7 +547,7 @@ handle_ca0(capmt_t* capmt) {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if(ct->ct_keystate != CT_RESOLVED)
|
|
||||||
- tvhlog(LOG_INFO, "capmt", "Obtained key for service \"%s\"",t->s_svcname);
|
|
||||||
+ tvhlog(LOG_DEBUG, "capmt", "Obtained key for service \"%s\"",t->s_svcname);
|
|
||||||
|
|
||||||
ct->ct_keystate = CT_RESOLVED;
|
|
||||||
}
|
|
||||||
@@ -851,7 +851,7 @@ capmt_table_input(struct th_descrambler *td, struct service *t,
|
|
||||||
cce->cce_ecmsize = len;
|
|
||||||
|
|
||||||
if(ct->ct_keystate != CT_RESOLVED)
|
|
||||||
- tvhlog(LOG_INFO, "capmt",
|
|
||||||
+ tvhlog(LOG_DEBUG, "capmt",
|
|
||||||
"Trying to obtain key for service \"%s\"",t->s_svcname);
|
|
||||||
|
|
||||||
buf[9] = pmtversion;
|
|
||||||
diff --git a/src/cwc.c b/src/cwc.c
|
|
||||||
index ebafd4f..904213f 100644
|
|
||||||
--- a/src/cwc.c
|
|
||||||
+++ b/src/cwc.c
|
|
||||||
@@ -873,7 +873,7 @@ forbid:
|
|
||||||
}
|
|
||||||
|
|
||||||
if(ct->cs_keystate != CS_RESOLVED)
|
|
||||||
- tvhlog(LOG_INFO, "cwc",
|
|
||||||
+ tvhlog(LOG_DEBUG, "cwc",
|
|
||||||
"Obtained key for service \"%s\" in %"PRId64" ms, from %s:%i",
|
|
||||||
t->s_svcname, delay, ct->cs_cwc->cwc_hostname,
|
|
||||||
ct->cs_cwc->cwc_port);
|
|
||||||
--
|
|
||||||
1.7.10.4
|
|
||||||
|
|
||||||
@@ -1,94 +0,0 @@
|
|||||||
From 07cdfdaf6af06ae08a779ccc9082a517757c6fd3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Sutton <dev@adamsutton.me.uk>
|
|
||||||
Date: Tue, 12 Mar 2013 15:35:21 +0000
|
|
||||||
Subject: [PATCH] Fix #1660 - dvb: stop constant updating of dvb mux
|
|
||||||
configuration files
|
|
||||||
|
|
||||||
---
|
|
||||||
src/dvb/dvb_multiplex.c | 23 ++++++++++++++---------
|
|
||||||
1 file changed, 14 insertions(+), 9 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/dvb/dvb_multiplex.c b/src/dvb/dvb_multiplex.c
|
|
||||||
index ff61558..692ebf1 100644
|
|
||||||
--- a/src/dvb/dvb_multiplex.c
|
|
||||||
+++ b/src/dvb/dvb_multiplex.c
|
|
||||||
@@ -58,9 +58,6 @@
|
|
||||||
{ "OK", TDMI_FE_OK },
|
|
||||||
};
|
|
||||||
|
|
||||||
-static void tdmi_set_enable(th_dvb_mux_instance_t *tdmi, int enabled);
|
|
||||||
-
|
|
||||||
-
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@@ -856,6 +853,9 @@ int dvb_mux_str2hier(const char *str)
|
|
||||||
if (!networkname || !*networkname)
|
|
||||||
return;
|
|
||||||
|
|
||||||
+ if (!strcmp(tdmi->tdmi_network ?: "", networkname))
|
|
||||||
+ return;
|
|
||||||
+
|
|
||||||
free(tdmi->tdmi_network);
|
|
||||||
tdmi->tdmi_network = strdup(networkname);
|
|
||||||
dvb_mux_save(tdmi);
|
|
||||||
@@ -879,8 +879,9 @@ int dvb_mux_str2hier(const char *str)
|
|
||||||
if (tdmi->tdmi_transport_stream_id != 0xFFFF || tsid == 0xFFFF)
|
|
||||||
return;
|
|
||||||
|
|
||||||
- tdmi->tdmi_transport_stream_id = tsid;
|
|
||||||
-
|
|
||||||
+ if (tdmi->tdmi_transport_stream_id == tsid)
|
|
||||||
+ return;
|
|
||||||
+
|
|
||||||
dvb_mux_save(tdmi);
|
|
||||||
|
|
||||||
m = htsmsg_create_map();
|
|
||||||
@@ -900,6 +901,9 @@ int dvb_mux_str2hier(const char *str)
|
|
||||||
if (force)
|
|
||||||
if (tdmi->tdmi_network_id != 0 || onid == 0)
|
|
||||||
return;
|
|
||||||
+
|
|
||||||
+ if (tdmi->tdmi_network_id == onid)
|
|
||||||
+ return;
|
|
||||||
|
|
||||||
tdmi->tdmi_network_id = onid;
|
|
||||||
|
|
||||||
@@ -915,13 +919,13 @@ int dvb_mux_str2hier(const char *str)
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
-static void
|
|
||||||
+static int
|
|
||||||
tdmi_set_enable(th_dvb_mux_instance_t *tdmi, int enabled)
|
|
||||||
{
|
|
||||||
th_dvb_adapter_t *tda = tdmi->tdmi_adapter;
|
|
||||||
|
|
||||||
if(tdmi->tdmi_enabled == enabled)
|
|
||||||
- return;
|
|
||||||
+ return 0;
|
|
||||||
|
|
||||||
if(tdmi->tdmi_enabled) {
|
|
||||||
|
|
||||||
@@ -940,6 +944,7 @@ int dvb_mux_str2hier(const char *str)
|
|
||||||
mux_link_initial(tda, tdmi);
|
|
||||||
|
|
||||||
subscription_reschedule();
|
|
||||||
+ return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@@ -948,8 +953,8 @@ int dvb_mux_str2hier(const char *str)
|
|
||||||
void
|
|
||||||
dvb_mux_set_enable(th_dvb_mux_instance_t *tdmi, int enabled)
|
|
||||||
{
|
|
||||||
- tdmi_set_enable(tdmi, enabled);
|
|
||||||
- dvb_mux_save(tdmi);
|
|
||||||
+ if (tdmi_set_enable(tdmi, enabled))
|
|
||||||
+ dvb_mux_save(tdmi);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
1.7.10
|
|
||||||
|
|
||||||
@@ -78,8 +78,6 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
|||||||
cp -P $BUILD/vdr-plugin-xmltv2vdr*/dist/epgdata2xmltv/epgdata2xmltv $ADDON_BUILD/$PKG_ADDON_ID/bin
|
cp -P $BUILD/vdr-plugin-xmltv2vdr*/dist/epgdata2xmltv/epgdata2xmltv $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||||
|
|
||||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
|
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||||
cp -P $BUILD/attr-[0-9]*/libattr/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
|
||||||
cp -P $BUILD/libcap-[0-9]*/libcap/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
|
||||||
cp -P $BUILD/cxxtools-[0-9]*/.build-target/src/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
cp -P $BUILD/cxxtools-[0-9]*/.build-target/src/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||||
cp -P $BUILD/tntnet-[0-9]*/.build-target/framework/common/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
cp -P $BUILD/tntnet-[0-9]*/.build-target/framework/common/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||||
cp -P $BUILD/libzip-[0-9]*/lib/.libs/libzip*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
cp -P $BUILD/libzip-[0-9]*/lib/.libs/libzip*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="alsa-lib"
|
PKG_NAME="alsa-lib"
|
||||||
PKG_VERSION="1.0.26"
|
PKG_VERSION="1.0.27.1"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
diff -Naur alsa-lib-1.0.26-old/configure.in alsa-lib-1.0.26-new/configure.in
|
|
||||||
--- alsa-lib-1.0.26-old/configure.in 2012-09-06 01:55:14.000000000 -0700
|
|
||||||
+++ alsa-lib-1.0.26-new/configure.in 2012-12-29 06:07:44.000000000 -0800
|
|
||||||
@@ -53,7 +53,7 @@
|
|
||||||
|
|
||||||
dnl Checks for header files.
|
|
||||||
AC_HEADER_STDC
|
|
||||||
-AM_CONFIG_HEADER(include/config.h)
|
|
||||||
+AC_CONFIG_HEADERS(include/config.h)
|
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
AC_C_CONST
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
From: Takashi Iwai <tiwai <at> suse.de>
|
|
||||||
Subject: [PATCH RFC 1/2] control: Simplify using snd_config_get_bool()
|
|
||||||
Newsgroups: gmane.linux.alsa.devel
|
|
||||||
Date: 2012-10-12 15:25:23 GMT (17 weeks, 8 hours and 26 minutes ago)
|
|
||||||
snd_config_get_bool() was improved to parse also ASCII strings now,
|
|
||||||
so we don't have to open-code the boolean parser in
|
|
||||||
src/control/setup.c any longer.
|
|
||||||
|
|
||||||
Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
|
|
||||||
---
|
|
||||||
src/control/setup.c | 37 ++++++-------------------------------
|
|
||||||
1 file changed, 6 insertions(+), 31 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/control/setup.c b/src/control/setup.c
|
|
||||||
index eecda45..bd3599d 100644
|
|
||||||
--- a/src/control/setup.c
|
|
||||||
+++ b/src/control/setup.c
|
|
||||||
@@ -400,7 +400,6 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
|
|
||||||
{
|
|
||||||
snd_config_t *conf;
|
|
||||||
snd_config_iterator_t i, next;
|
|
||||||
- char *tmp;
|
|
||||||
int iface = SND_CTL_ELEM_IFACE_MIXER;
|
|
||||||
const char *name = NULL;
|
|
||||||
long index = 0;
|
|
||||||
@@ -464,33 +463,17 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (strcmp(id, "lock") == 0) {
|
|
||||||
- if ((err = snd_config_get_ascii(n, &tmp)) < 0) {
|
|
||||||
- SNDERR("field %s has an invalid type", id);
|
|
||||||
- goto _err;
|
|
||||||
- }
|
|
||||||
- err = snd_config_get_bool_ascii(tmp);
|
|
||||||
- if (err < 0) {
|
|
||||||
- SNDERR("field %s is not a boolean", id);
|
|
||||||
- free(tmp);
|
|
||||||
+ err = snd_config_get_bool(n);
|
|
||||||
+ if (err < 0)
|
|
||||||
goto _err;
|
|
||||||
- }
|
|
||||||
lock = err;
|
|
||||||
- free(tmp);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (strcmp(id, "preserve") == 0) {
|
|
||||||
- if ((err = snd_config_get_ascii(n, &tmp)) < 0) {
|
|
||||||
- SNDERR("field %s has an invalid type", id);
|
|
||||||
- goto _err;
|
|
||||||
- }
|
|
||||||
- err = snd_config_get_bool_ascii(tmp);
|
|
||||||
- if (err < 0) {
|
|
||||||
- SNDERR("field %s is not a boolean", id);
|
|
||||||
- free(tmp);
|
|
||||||
+ err = snd_config_get_bool(n);
|
|
||||||
+ if (err < 0)
|
|
||||||
goto _err;
|
|
||||||
- }
|
|
||||||
preserve = err;
|
|
||||||
- free(tmp);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (strcmp(id, "value") == 0) {
|
|
||||||
@@ -502,18 +485,10 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (strcmp(id, "optional") == 0) {
|
|
||||||
- if ((err = snd_config_get_ascii(n, &tmp)) < 0) {
|
|
||||||
- SNDERR("field %s has an invalid type", id);
|
|
||||||
- goto _err;
|
|
||||||
- }
|
|
||||||
- err = snd_config_get_bool_ascii(tmp);
|
|
||||||
- if (err < 0) {
|
|
||||||
- SNDERR("field %s is not a boolean", id);
|
|
||||||
- free(tmp);
|
|
||||||
+ err = snd_config_get_bool(n);
|
|
||||||
+ if (err < 0)
|
|
||||||
goto _err;
|
|
||||||
- }
|
|
||||||
optional = err;
|
|
||||||
- free(tmp);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
SNDERR("Unknown field %s", id);
|
|
||||||
--
|
|
||||||
1.7.12.2
|
|
||||||
|
|
||||||
@@ -1,123 +0,0 @@
|
|||||||
From 91e42790dd0a9489a94e3784d220d76ad2d98b36 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Takashi Iwai <tiwai@suse.de>
|
|
||||||
Date: Sat, 16 Feb 2013 18:29:59 +0200
|
|
||||||
Subject: [PATCH] Add workaround for conflicting IEC958 controls for HD-audio
|
|
||||||
|
|
||||||
When both an SPDIF and an HDMI output are present on HD-audio, both
|
|
||||||
try to access IEC958 controls with index=0 although one of them must
|
|
||||||
be wrong. For avoiding this conflict, the recent kernel code (3.9 and
|
|
||||||
3.8 stable) moves the IEC958 controls of an SPDIF with index=16 once
|
|
||||||
when the conflict happens.
|
|
||||||
|
|
||||||
In this patch, the corresponding support is added in alsa-lib side.
|
|
||||||
The new "skip_rest" boolean flag is added to the hooked element
|
|
||||||
definition which indicates that the rest of element array will be
|
|
||||||
ignored once when this element is present and evaluated. With this
|
|
||||||
new flag, the HD-audio config takes device=1 primarily, then take
|
|
||||||
device=0 as fallback.
|
|
||||||
|
|
||||||
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
||||||
---
|
|
||||||
src/conf/cards/HDA-Intel.conf | 16 ++++++++++++++++
|
|
||||||
src/control/setup.c | 19 ++++++++++++++++---
|
|
||||||
2 files changed, 32 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/conf/cards/HDA-Intel.conf b/src/conf/cards/HDA-Intel.conf
|
|
||||||
index d4f2667..3957c12 100644
|
|
||||||
--- a/src/conf/cards/HDA-Intel.conf
|
|
||||||
+++ b/src/conf/cards/HDA-Intel.conf
|
|
||||||
@@ -113,6 +113,22 @@ HDA-Intel.pcm.iec958.0 {
|
|
||||||
hook_args [
|
|
||||||
{
|
|
||||||
name "IEC958 Playback Default"
|
|
||||||
+ index 16
|
|
||||||
+ optional true
|
|
||||||
+ lock true
|
|
||||||
+ preserve true
|
|
||||||
+ value [ $AES0 $AES1 $AES2 $AES3 ]
|
|
||||||
+ }
|
|
||||||
+ {
|
|
||||||
+ name "IEC958 Playback Switch"
|
|
||||||
+ index 16
|
|
||||||
+ optional true
|
|
||||||
+ value true
|
|
||||||
+ # if this element is present, skip the rest
|
|
||||||
+ skip_rest true
|
|
||||||
+ }
|
|
||||||
+ {
|
|
||||||
+ name "IEC958 Playback Default"
|
|
||||||
lock true
|
|
||||||
preserve true
|
|
||||||
value [ $AES0 $AES1 $AES2 $AES3 ]
|
|
||||||
diff --git a/src/control/setup.c b/src/control/setup.c
|
|
||||||
index eecda45..72facb0 100644
|
|
||||||
--- a/src/control/setup.c
|
|
||||||
+++ b/src/control/setup.c
|
|
||||||
@@ -396,7 +396,7 @@ static int snd_config_get_ctl_elem_value(snd_config_t *conf,
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
-static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_data)
|
|
||||||
+static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_data, int *quit)
|
|
||||||
{
|
|
||||||
snd_config_t *conf;
|
|
||||||
snd_config_iterator_t i, next;
|
|
||||||
@@ -409,6 +409,7 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
|
|
||||||
int lock = 0;
|
|
||||||
int preserve = 0;
|
|
||||||
int optional = 0;
|
|
||||||
+ int skip_rest = 0;
|
|
||||||
snd_config_t *value = NULL, *mask = NULL;
|
|
||||||
snd_sctl_elem_t *elem = NULL;
|
|
||||||
int err;
|
|
||||||
@@ -516,6 +517,13 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
|
|
||||||
free(tmp);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
+ if (strcmp(id, "skip_rest") == 0) {
|
|
||||||
+ err = snd_config_get_bool(n);
|
|
||||||
+ if (err < 0)
|
|
||||||
+ goto _err;
|
|
||||||
+ skip_rest = err;
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
SNDERR("Unknown field %s", id);
|
|
||||||
return -EINVAL;
|
|
||||||
}
|
|
||||||
@@ -564,6 +572,9 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
|
|
||||||
if (! optional)
|
|
||||||
SNDERR("Cannot obtain info for CTL elem (%s,'%s',%li,%li,%li): %s", snd_ctl_elem_iface_name(iface), name, index, device, subdevice, snd_strerror(err));
|
|
||||||
goto _err;
|
|
||||||
+ } else {
|
|
||||||
+ if (skip_rest)
|
|
||||||
+ *quit = 1;
|
|
||||||
}
|
|
||||||
snd_ctl_elem_value_set_id(elem->val, elem->id);
|
|
||||||
snd_ctl_elem_value_set_id(elem->old, elem->id);
|
|
||||||
@@ -619,7 +630,7 @@ int snd_sctl_build(snd_sctl_t **sctl, snd_ctl_t *handle, snd_config_t *conf, snd
|
|
||||||
{
|
|
||||||
snd_sctl_t *h;
|
|
||||||
snd_config_iterator_t i, next;
|
|
||||||
- int err;
|
|
||||||
+ int err, quit = 0;
|
|
||||||
|
|
||||||
assert(sctl);
|
|
||||||
assert(handle);
|
|
||||||
@@ -639,11 +650,13 @@ int snd_sctl_build(snd_sctl_t **sctl, snd_ctl_t *handle, snd_config_t *conf, snd
|
|
||||||
INIT_LIST_HEAD(&h->elems);
|
|
||||||
snd_config_for_each(i, next, conf) {
|
|
||||||
snd_config_t *n = snd_config_iterator_entry(i);
|
|
||||||
- err = add_elem(h, n, private_data);
|
|
||||||
+ err = add_elem(h, n, private_data, &quit);
|
|
||||||
if (err < 0) {
|
|
||||||
free_elems(h);
|
|
||||||
return err;
|
|
||||||
}
|
|
||||||
+ if (quit)
|
|
||||||
+ break;
|
|
||||||
}
|
|
||||||
*sctl = h;
|
|
||||||
return 0;
|
|
||||||
--
|
|
||||||
1.7.10
|
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="alsa-plugins"
|
PKG_NAME="alsa-plugins"
|
||||||
PKG_VERSION="1.0.26"
|
PKG_VERSION="1.0.27"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="alsa-utils"
|
PKG_NAME="alsa-utils"
|
||||||
PKG_VERSION="1.0.26"
|
PKG_VERSION="1.0.27.1"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
diff -Naur alsa-utils-1.0.26-old/configure.in alsa-utils-1.0.26-new/configure.in
|
|
||||||
--- alsa-utils-1.0.26-old/configure.in 2012-09-06 01:45:44.000000000 -0700
|
|
||||||
+++ alsa-utils-1.0.26-new/configure.in 2012-12-29 08:01:59.000000000 -0800
|
|
||||||
@@ -290,7 +290,7 @@
|
|
||||||
TESTSOUND="$dir/test.wav")
|
|
||||||
AC_SUBST(TESTSOUND)
|
|
||||||
|
|
||||||
-AM_CONFIG_HEADER(include/aconfig.h)
|
|
||||||
+AC_CONFIG_HEADERS(include/aconfig.h)
|
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
AC_C_CONST
|
|
||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://pulseaudio.org/"
|
PKG_SITE="http://pulseaudio.org/"
|
||||||
PKG_URL="http://freedesktop.org/software/pulseaudio/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="http://freedesktop.org/software/pulseaudio/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS="libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl libcap"
|
PKG_DEPENDS="libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl"
|
||||||
PKG_BUILD_DEPENDS="toolchain libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl libcap"
|
PKG_BUILD_DEPENDS="toolchain libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl libcap"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="mysql"
|
PKG_NAME="mysql"
|
||||||
PKG_VERSION="5.1.67"
|
PKG_VERSION="5.1.68"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="LGPL"
|
PKG_LICENSE="LGPL"
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
diff -Naur mysql-5.1.67-old/configure.in mysql-5.1.67-new/configure.in
|
|
||||||
--- mysql-5.1.67-old/configure.in 2012-12-13 02:05:51.000000000 -0800
|
|
||||||
+++ mysql-5.1.67-new/configure.in 2012-12-30 08:39:00.000000000 -0800
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
AM_INIT_AUTOMAKE([1.9 tar-ustar])
|
|
||||||
AC_PROG_LIBTOOL
|
|
||||||
|
|
||||||
-AM_CONFIG_HEADER([include/config.h])
|
|
||||||
+AC_CONFIG_HEADERS([include/config.h])
|
|
||||||
|
|
||||||
# Request support for automake silent-rules if available.
|
|
||||||
# Default to verbose output. One can use the configure-time
|
|
||||||
@@ -50,15 +50,12 @@ cd $PKG_BUILD
|
|||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
--disable-readline \
|
--disable-readline \
|
||||||
--enable-threadsafe \
|
--enable-threadsafe \
|
||||||
--enable-dynamic-extensions \
|
--enable-dynamic-extensions \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
$STRIP .libs/sqlite3
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="sqlite"
|
PKG_NAME="sqlite"
|
||||||
PKG_VERSION="autoconf-3071600"
|
PKG_VERSION="autoconf-3071700"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="PublicDomain"
|
PKG_LICENSE="PublicDomain"
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ cd $PKG_BUILD
|
|||||||
make PREFIX=/usr \
|
make PREFIX=/usr \
|
||||||
CC="$TARGET_CC" \
|
CC="$TARGET_CC" \
|
||||||
AR="$TARGET_AR" \
|
AR="$TARGET_AR" \
|
||||||
|
HOST=_LINUX \
|
||||||
|
HARDWARE_NAME=$TARGET_ARCH \
|
||||||
BITS=$ACPICA_BITS \
|
BITS=$ACPICA_BITS \
|
||||||
YACC=$ROOT/$TOOLCHAIN/bin/bison \
|
YACC=$ROOT/$TOOLCHAIN/bin/bison \
|
||||||
CWARNINGFLAGS="-O2 $TARGET_CFLAGS"
|
CWARNINGFLAGS="-O2 $TARGET_CFLAGS"
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,13 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="acpica-unix2"
|
PKG_NAME="acpica-unix2"
|
||||||
PKG_VERSION="20130117"
|
PKG_VERSION="20130328"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="i386 x86_64"
|
PKG_ARCH="i386 x86_64"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.acpica.org/"
|
PKG_SITE="http://www.acpica.org/"
|
||||||
PKG_URL="https://www.acpica.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="https://www.acpica.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_URL="https://acpica.org/sites/acpica/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain flex bison"
|
PKG_BUILD_DEPENDS="toolchain flex bison"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
diff -uNr acpica-unix2-20130117-orig/generate/unix/Makefile.common acpica-unix2-20130117/generate/unix/Makefile.common
|
|
||||||
--- acpica-unix2-20130117-orig/generate/unix/Makefile.common 2013-01-17 20:47:44.000000000 +0100
|
|
||||||
+++ acpica-unix2-20130117/generate/unix/Makefile.common 2013-02-07 15:13:59.000000000 +0100
|
|
||||||
@@ -6,7 +6,7 @@
|
|
||||||
# Get the OS machine architecture. Anything with a "64" in the returned
|
|
||||||
# string will be treated as a 64-bit OS. Otherwise, the default is 32-bit.
|
|
||||||
#
|
|
||||||
-HARDWARE_NAME := $(shell uname -m)
|
|
||||||
+HARDWARE_NAME=$(BITS)
|
|
||||||
BITS=0
|
|
||||||
|
|
||||||
#
|
|
||||||
@@ -23,8 +23,15 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
make PREFIX=/usr \
|
make CC="$TARGET_CC" \
|
||||||
CC="$TARGET_CC" \
|
|
||||||
AR="$TARGET_AR" \
|
|
||||||
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
||||||
CPPFLAGS="$TARGET_CPPFLAGS" \
|
-C acpidump acpidump
|
||||||
|
|
||||||
|
make CC="$TARGET_CC" \
|
||||||
|
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
||||||
|
-C acpixtract acpixtract
|
||||||
|
|
||||||
|
make CC="$TARGET_CC" \
|
||||||
|
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
||||||
|
-C madt madt
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,12 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="pmtools"
|
PKG_NAME="pmtools"
|
||||||
PKG_VERSION="20071116"
|
PKG_VERSION="20110323"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="i386 x86_64"
|
PKG_ARCH="i386 x86_64"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://lesswatts.org/projects/acpi/utilities.php"
|
PKG_SITE="https://lesswatts.org/projects/acpi/utilities.php"
|
||||||
PKG_URL="https://lesswatts.org/patches/linux_acpi/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://mirror.linux.org.au/linux/kernel/people/lenb/acpi/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
|
|||||||
25
packages/debug/pmtools/patches/pmtools-madt.patch
Normal file
25
packages/debug/pmtools/patches/pmtools-madt.patch
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
diff -Naur pmtools/madt/Makefile pmtools.patch/madt/Makefile
|
||||||
|
--- pmtools/madt/Makefile 2005-11-11 18:07:04.000000000 +0100
|
||||||
|
+++ pmtools.patch/madt/Makefile 2007-11-16 19:48:56.000000000 +0100
|
||||||
|
@@ -1,6 +1,16 @@
|
||||||
|
+PROG= madt
|
||||||
|
+SRCS= madt.c
|
||||||
|
+
|
||||||
|
+all: madt
|
||||||
|
+$(PROG) : $(SRCS)
|
||||||
|
+ $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
|
||||||
|
+
|
||||||
|
test: madt
|
||||||
|
- ./madt < APIC
|
||||||
|
-madt: madt.c acpi.h tables.c
|
||||||
|
- cc -o madt madt.c
|
||||||
|
-clean:
|
||||||
|
- rm madt
|
||||||
|
+ ./madt < example.APIC.dat
|
||||||
|
+ ./madt < example.APIC.bad.dat
|
||||||
|
+
|
||||||
|
+CLEANFILES= $(PROG)
|
||||||
|
+
|
||||||
|
+clean :
|
||||||
|
+ rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
|
||||||
|
+
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
# Copyright (C) 2013 Dag Wieers (dag@wieers.com)
|
||||||
#
|
#
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://01.org/powertop/"
|
PKG_SITE="https://01.org/powertop/"
|
||||||
PKG_URL="https://01.org/powertop/sites/default/files/downloads/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="https://01.org/powertop/sites/default/files/downloads/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="ncurses pciutils libnl"
|
PKG_DEPENDS="ncurses pciutils"
|
||||||
PKG_BUILD_DEPENDS="toolchain ncurses pciutils libnl"
|
PKG_BUILD_DEPENDS="toolchain ncurses pciutils libnl"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="system"
|
PKG_SECTION="system"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="smem"
|
PKG_NAME="smem"
|
||||||
PKG_VERSION="1.2"
|
PKG_VERSION="1.3"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
|||||||
@@ -22,10 +22,10 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
|
# wireless_tools fails to build on some systems with LTO enabled
|
||||||
|
strip_lto
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
make PREFIX=/usr \
|
make PREFIX=/usr CC="$CC" AR="$AR" \
|
||||||
CC="$TARGET_CC" \
|
CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" iwmulticall
|
||||||
AR="$TARGET_AR" \
|
|
||||||
CFLAGS="$TARGET_CFLAGS" \
|
|
||||||
CPPFLAGS="$TARGET_CPPFLAGS" \
|
|
||||||
|
|||||||
@@ -23,13 +23,8 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin/
|
mkdir -p $INSTALL/usr/bin/
|
||||||
cp $PKG_BUILD/iwconfig $INSTALL/usr/bin/
|
cp $PKG_BUILD/iwmulticall $INSTALL/usr/bin/iwconfig
|
||||||
cp $PKG_BUILD/iwgetid $INSTALL/usr/bin/
|
ln -sf iwconfig $INSTALL/usr/bin/iwgetid
|
||||||
cp $PKG_BUILD/iwevent $INSTALL/usr/bin/
|
ln -sf iwconfig $INSTALL/usr/bin/iwlist
|
||||||
cp $PKG_BUILD/iwlist $INSTALL/usr/bin/
|
ln -sf iwconfig $INSTALL/usr/bin/iwspy
|
||||||
cp $PKG_BUILD/iwspy $INSTALL/usr/bin/
|
ln -sf iwconfig $INSTALL/usr/bin/iwpriv
|
||||||
cp $PKG_BUILD/iwpriv $INSTALL/usr/bin/
|
|
||||||
cp $PKG_BUILD/ifrename $INSTALL/usr/bin/
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/
|
|
||||||
cp $PKG_BUILD/libiw.so.29 $INSTALL/usr/lib/
|
|
||||||
|
|||||||
@@ -24,4 +24,4 @@
|
|||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
make libcofi_rpi.so
|
make libarmmem.so
|
||||||
@@ -26,4 +26,4 @@ mkdir -p $INSTALL/lib
|
|||||||
cp -P $PKG_BUILD/*.so* $INSTALL/lib
|
cp -P $PKG_BUILD/*.so* $INSTALL/lib
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
echo "/lib/libcofi_rpi.so" >> $INSTALL/etc/ld.so.preload
|
echo "/lib/libarmmem.so" >> $INSTALL/etc/ld.so.preload
|
||||||
@@ -18,19 +18,19 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="libcofi"
|
PKG_NAME="arm-mem"
|
||||||
PKG_VERSION="7313fbe"
|
PKG_VERSION="8a1fbee"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="arm"
|
PKG_ARCH="arm"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/simonjhall/copies-and-fills"
|
PKG_SITE="https://github.com/bavison/arm-mem"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
PKG_SHORTDESC="libcofi: a replacement for memcpy and memset functionality for the Raspberry Pi with the intention of gaining greater performance"
|
PKG_SHORTDESC="arm-mem: ARM-accelerated versions of selected functions from string.h"
|
||||||
PKG_LONGDESC="libcofi is a replacement for memcpy and memset functionality for the Raspberry Pi with the intention of gaining greater performance"
|
PKG_LONGDESC="arm-mem is a ARM-accelerated versions of selected functions from string.h"
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
@@ -41,13 +41,13 @@ INSTALL_GROUP=root \
|
|||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--datadir=/usr/share \
|
--datadir=/usr/share \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib/
|
mkdir -p $SYSROOT_PREFIX/usr/lib/
|
||||||
cp -P libattr/.libs/*.so* $SYSROOT_PREFIX/usr/lib/
|
cp libattr/.libs/libattr.a $SYSROOT_PREFIX/usr/lib/
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/include/attr
|
mkdir -p $SYSROOT_PREFIX/usr/include/attr
|
||||||
cp -P include/*.h $SYSROOT_PREFIX/usr/include/attr
|
cp include/*.h $SYSROOT_PREFIX/usr/include/attr
|
||||||
|
|||||||
@@ -34,8 +34,7 @@ sh bootstrap.sh \
|
|||||||
echo "using gcc : `$TARGET_CC -v 2>&1 | tail -n 1 |awk '{print $3}'` : $TARGET_CC : <compileflags>\"$CFLAGS\" <linkflags>\"$LDFLAGS\" ;" \
|
echo "using gcc : `$TARGET_CC -v 2>&1 | tail -n 1 |awk '{print $3}'` : $TARGET_CC : <compileflags>\"$CFLAGS\" <linkflags>\"$LDFLAGS\" ;" \
|
||||||
> tools/build/v2/user-config.jam
|
> tools/build/v2/user-config.jam
|
||||||
|
|
||||||
$ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc \
|
$ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc link=static \
|
||||||
link=shared \
|
|
||||||
--prefix=$SYSROOT_PREFIX/usr \
|
--prefix=$SYSROOT_PREFIX/usr \
|
||||||
--layout=system \
|
--layout=system \
|
||||||
--with-thread \
|
--with-thread \
|
||||||
|
|||||||
@@ -19,12 +19,12 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="boost"
|
PKG_NAME="boost"
|
||||||
PKG_VERSION="1_52_0"
|
PKG_VERSION="1_53_0"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://www.boost.org/"
|
PKG_SITE="http://www.boost.org/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/boost/boost/1.52.0/${PKG_NAME}_${PKG_VERSION}.tar.bz2"
|
PKG_URL="$SOURCEFORGE_SRC/boost/boost/1.53.0/${PKG_NAME}_${PKG_VERSION}.tar.bz2"
|
||||||
PKG_DEPENDS="zlib bzip2"
|
PKG_DEPENDS="zlib bzip2"
|
||||||
PKG_BUILD_DEPENDS="toolchain boost-jam Python-host zlib bzip2"
|
PKG_BUILD_DEPENDS="toolchain boost-jam Python-host zlib bzip2"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ mkdir -p .build-target && cd .build-target
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
--disable-tests \
|
--disable-tests \
|
||||||
--enable-asserts=no \
|
--enable-asserts=no \
|
||||||
--with-introspect-xml="$ROOT/$DBUS_DIR/.build-host/introspect.xml" \
|
--with-introspect-xml="$ROOT/$DBUS_DIR/.build-host/introspect.xml" \
|
||||||
|
|||||||
@@ -34,5 +34,16 @@ cd $PKG_BUILD
|
|||||||
--without-bzlib \
|
--without-bzlib \
|
||||||
--without-lzma \
|
--without-lzma \
|
||||||
|
|
||||||
make V=1
|
make V=1 -C libelf libelf.a
|
||||||
$MAKEINSTALL
|
make V=1 -C libebl libebl.a
|
||||||
|
make V=1 -C libdwfl libdwfl.a
|
||||||
|
make V=1 -C libdw libdw.a
|
||||||
|
|
||||||
|
make DESTDIR="$SYSROOT_PREFIX" -C libelf install-includeHEADERS install-pkgincludeHEADERS
|
||||||
|
make DESTDIR="$SYSROOT_PREFIX" -C libdw install-includeHEADERS install-pkgincludeHEADERS
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp libelf/libelf.a $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp libdw/libdw.a $SYSROOT_PREFIX/usr/lib
|
||||||
|
|
||||||
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
# Copyright (C) 2010-2011 Roman Weber (roman@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/libdw/*.so* $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/libelf/*.so* $INSTALL/usr/lib
|
|
||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="LGPL"
|
PKG_LICENSE="LGPL"
|
||||||
PKG_SITE="http://www.gtk.org/"
|
PKG_SITE="http://www.gtk.org/"
|
||||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.34/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.34/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS="zlib $ICONV libffi pcre"
|
PKG_DEPENDS="zlib $ICONV libffi"
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib $ICONV libffi pcre glib-host Python-host"
|
PKG_BUILD_DEPENDS="toolchain zlib $ICONV libffi pcre glib-host Python-host"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ mkdir -p .objdir-target && cd .objdir-target
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-mpbsd \
|
|
||||||
--disable-cxx \
|
--disable-cxx \
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|||||||
@@ -19,12 +19,12 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="gmp"
|
PKG_NAME="gmp"
|
||||||
PKG_VERSION="5.0.5"
|
PKG_VERSION="5.1.2"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="LGPL"
|
PKG_LICENSE="LGPL"
|
||||||
PKG_SITE="http://gmplib.org/"
|
PKG_SITE="http://gmplib.org/"
|
||||||
PKG_URL="http://ftp.sunet.se/pub/gnu/gmp/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://ftp.gmplib.org/pub/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
diff -Naur gmp-5.0.5/configure.in gmp-5.0.5.patch/configure.in
|
|
||||||
--- gmp-5.0.5/configure.in 2012-05-06 13:19:49.000000000 +0200
|
|
||||||
+++ gmp-5.0.5.patch/configure.in 2013-01-12 02:25:31.897257189 +0100
|
|
||||||
@@ -65,8 +65,8 @@
|
|
||||||
dnl Note that there's a copy of these options in the top-level Makefile.am,
|
|
||||||
dnl so update there too if changing anything.
|
|
||||||
dnl
|
|
||||||
-AM_INIT_AUTOMAKE([1.8 gnu no-dependencies $(top_builddir)/ansi2knr])
|
|
||||||
-AM_CONFIG_HEADER(config.h:config.in)
|
|
||||||
+AM_INIT_AUTOMAKE([1.8 gnu no-dependencies])
|
|
||||||
+AC_CONFIG_HEADERS(config.h:config.in)
|
|
||||||
AM_MAINTAINER_MODE
|
|
||||||
|
|
||||||
|
|
||||||
@@ -2228,9 +2228,6 @@
|
|
||||||
echo " MPN_PATH=\"$path\""
|
|
||||||
|
|
||||||
|
|
||||||
-# Automake ansi2knr support.
|
|
||||||
-AM_C_PROTOTYPES
|
|
||||||
-
|
|
||||||
CL_AS_NOEXECSTACK
|
|
||||||
|
|
||||||
GMP_PROG_AR
|
|
||||||
diff -Naur gmp-5.0.5/Makefile.am gmp-5.0.5.patch/Makefile.am
|
|
||||||
--- gmp-5.0.5/Makefile.am 2012-05-06 13:19:49.000000000 +0200
|
|
||||||
+++ gmp-5.0.5.patch/Makefile.am 2013-01-12 02:25:09.603364249 +0100
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
# Makefiles in subdirectories, but here we must omit it so automake gives
|
|
||||||
# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
|
|
||||||
#
|
|
||||||
-AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
|
|
||||||
+AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
|
|
||||||
|
|
||||||
|
|
||||||
# Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
|
|
||||||
@@ -33,6 +33,11 @@ make CC=$HOST_CC -C libcap _makenames
|
|||||||
|
|
||||||
setup_toolchain target
|
setup_toolchain target
|
||||||
|
|
||||||
make CC=$TARGET_CC CFLAGS="$TARGET_CFLAGS" lib=/lib
|
make CC=$TARGET_CC CFLAGS="$TARGET_CFLAGS" lib=/lib -C libcap libcap.a
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp libcap/libcap.a $SYSROOT_PREFIX/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/include/sys
|
||||||
|
cp libcap/include/sys/capability.h $SYSROOT_PREFIX/usr/include/sys
|
||||||
|
|
||||||
$MAKEINSTALL -j1 RAISE_SETFCAP=no lib=/lib
|
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
# Copyright (C) 2010-2011 Roman Weber (roman@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/libcap/*.so* $INSTALL/usr/lib
|
|
||||||
@@ -29,7 +29,7 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE=""
|
PKG_SITE=""
|
||||||
#PKG_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
#PKG_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_URL="http://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="http://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="attr"
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain attr"
|
PKG_BUILD_DEPENDS="toolchain attr"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
|
|||||||
@@ -19,13 +19,13 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="libcec"
|
PKG_NAME="libcec"
|
||||||
PKG_VERSION="2.1.1"
|
PKG_VERSION="2.1.3"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://libcec.pulse-eight.com/"
|
PKG_SITE="http://libcec.pulse-eight.com/"
|
||||||
PKG_URL="http://packages.pulse-eight.net/pulse/sources/libcec/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://packages.pulse-eight.net/pulse/sources/libcec/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="systemd lockdev"
|
PKG_DEPENDS="systemd"
|
||||||
PKG_BUILD_DEPENDS="toolchain systemd lockdev"
|
PKG_BUILD_DEPENDS="toolchain systemd lockdev"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="system"
|
PKG_SECTION="system"
|
||||||
|
|||||||
@@ -29,9 +29,12 @@ LIBS="-lusb" \
|
|||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
--disable-libftdipp \
|
--disable-libftdipp \
|
||||||
--disable-python-binding \
|
--disable-python-binding \
|
||||||
--without-examples \
|
--without-examples \
|
||||||
|
--without-docs
|
||||||
|
|
||||||
make
|
make
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
||||||
|
|||||||
@@ -23,6 +23,8 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
chmod +x ./configure ./preload/configure ./libcharset/configure
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|||||||
@@ -19,12 +19,13 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="libiconv"
|
PKG_NAME="libiconv"
|
||||||
PKG_VERSION="1.14"
|
PKG_VERSION="20130504"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.gnu.org/software/libiconv/"
|
PKG_SITE="http://www.gnu.org/software/libiconv/"
|
||||||
PKG_URL="http://ftp.gnu.org/pub/gnu/libiconv/$PKG_NAME-$PKG_VERSION.tar.gz"
|
# PKG_URL="http://ftp.gnu.org/pub/gnu/libiconv/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
|
|||||||
98909
packages/devel/libiconv/patches/libiconv-20130504-gnulib.patch
Normal file
98909
packages/devel/libiconv/patches/libiconv-20130504-gnulib.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -28,8 +28,8 @@ mkdir -p m4 && do_autoreconf
|
|||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
|
||||||
@@ -32,5 +32,13 @@ cd $PKG_BUILD
|
|||||||
--without-python \
|
--without-python \
|
||||||
--without-tcl
|
--without-tcl
|
||||||
|
|
||||||
make
|
make libnewt.a
|
||||||
$MAKEINSTALL
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp libnewt.a $SYSROOT_PREFIX/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
cp libnewt.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||||
|
cp newt.h $SYSROOT_PREFIX/usr/include
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="LGPL"
|
PKG_LICENSE="LGPL"
|
||||||
PKG_SITE="https://fedorahosted.org/newt/"
|
PKG_SITE="https://fedorahosted.org/newt/"
|
||||||
PKG_URL="https://fedorahosted.org/releases/n/e/newt/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="https://fedorahosted.org/releases/n/e/newt/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="popt slang"
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain popt slang"
|
PKG_BUILD_DEPENDS="toolchain popt slang"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
|
|||||||
12
packages/devel/newt/patches/newt-libdir.patch
Normal file
12
packages/devel/newt/patches/newt-libdir.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur newt-0.52.14/Makefile.in newt-0.52.14.patch/Makefile.in
|
||||||
|
--- newt-0.52.14/Makefile.in 2011-11-11 12:00:15.000000000 +0100
|
||||||
|
+++ newt-0.52.14.patch/Makefile.in 2013-05-30 23:40:30.104284277 +0200
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
CPP = @CPP@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
-CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@
|
||||||
|
+CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
|
||||||
|
GNU_LD = @GNU_LD@
|
||||||
|
|
||||||
|
VERSION = @VERSION@
|
||||||
@@ -22,6 +22,10 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fPIC"
|
||||||
|
LDFLAGS="$LDFLAGS -fPIC"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
mkdir -p m4 && do_autoreconf
|
mkdir -p m4 && do_autoreconf
|
||||||
|
|
||||||
@@ -32,8 +36,8 @@ mkdir -p .build-target && cd .build-target
|
|||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--datadir=/usr/share \
|
--datadir=/usr/share \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
--enable-utf8 \
|
--enable-utf8 \
|
||||||
--enable-unicode-properties \
|
--enable-unicode-properties \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/.build-target/.libs/libpcre*.so*[.0-9] $INSTALL/usr/lib
|
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="pcre"
|
PKG_NAME="pcre"
|
||||||
PKG_VERSION="8.32"
|
PKG_VERSION="8.33"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ cd $PKG_BUILD
|
|||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--datadir=/usr/share \
|
--datadir=/usr/share \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
|
|
||||||
make
|
make
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
||||||
|
|||||||
@@ -38,5 +38,5 @@ cd $PKG_BUILD
|
|||||||
--without-z \
|
--without-z \
|
||||||
--without-x \
|
--without-x \
|
||||||
|
|
||||||
make -C src
|
make -C src static
|
||||||
$MAKEINSTALL -C src
|
make DESTDIR="$SYSROOT_PREFIX" -C src install-static
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2013 Dag Wieers (dag@wieers.com)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/
|
|
||||||
cp -PR $PKG_BUILD/src/*/libslang.so* $INSTALL/usr/lib/
|
|
||||||
@@ -32,3 +32,5 @@ cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
|||||||
make
|
make
|
||||||
|
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
||||||
|
mv $SYSROOT_PREFIX/usr/lib/libyajl_s.a $SYSROOT_PREFIX/usr/lib/libyajl.a
|
||||||
|
rm $SYSROOT_PREFIX/usr/lib/libyajl.so*
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
get_graphicdrivers
|
get_graphicdrivers
|
||||||
|
|
||||||
|
strip_gold
|
||||||
|
|
||||||
if [ "$LLVM_SUPPORT" = "yes" ]; then
|
if [ "$LLVM_SUPPORT" = "yes" ]; then
|
||||||
export LLVM_CONFIG="$SYSROOT_PREFIX/usr/bin/llvm-config"
|
export LLVM_CONFIG="$SYSROOT_PREFIX/usr/bin/llvm-config"
|
||||||
MESA_GALLIUM_LLVM="--enable-gallium-llvm"
|
MESA_GALLIUM_LLVM="--enable-gallium-llvm"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://www.mesa3d.org/"
|
PKG_SITE="http://www.mesa3d.org/"
|
||||||
PKG_URL="ftp://freedesktop.org/pub/mesa/$PKG_VERSION/MesaLib-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://freedesktop.org/pub/mesa/$PKG_VERSION/MesaLib-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="libXdamage libdrm expat libXext libXfixes libXxf86vm libxcb libX11"
|
PKG_DEPENDS="libXdamage libdrm expat libXext libXfixes libX11"
|
||||||
PKG_BUILD_DEPENDS="toolchain Python-host makedepend libxml2-host expat glproto dri2proto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11"
|
PKG_BUILD_DEPENDS="toolchain Python-host makedepend libxml2-host expat glproto dri2proto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="graphics"
|
PKG_SECTION="graphics"
|
||||||
|
|||||||
@@ -33,4 +33,8 @@ mkdir -p $SYSROOT_PREFIX/usr/include
|
|||||||
cp -PR $FLOAT/opt/vc/include/* $SYSROOT_PREFIX/usr/include
|
cp -PR $FLOAT/opt/vc/include/* $SYSROOT_PREFIX/usr/include
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
cp -PR $FLOAT/opt/vc/lib/*.so* $SYSROOT_PREFIX/usr/lib
|
cp -PR $FLOAT/opt/vc/lib/libEGL.so $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp -PR $FLOAT/opt/vc/lib/libGLESv2.so $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp -PR $FLOAT/opt/vc/lib/libbcm_host.so $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp -PR $FLOAT/opt/vc/lib/libvchiq_arm.so $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp -PR $FLOAT/opt/vc/lib/libvcos.so $SYSROOT_PREFIX/usr/lib
|
||||||
|
|||||||
@@ -22,11 +22,7 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec
|
# runlevels: openelec
|
||||||
|
|
||||||
progress "set vll dir and run vcfiled service"
|
progress "run vcfiled service"
|
||||||
|
|
||||||
/usr/sbin/vcfiled
|
/usr/sbin/vcfiled
|
||||||
|
|
||||||
mkdir -p /storage/.config/vlls
|
|
||||||
|
|
||||||
# seems to still not work
|
|
||||||
# /usr/bin/vcgencmd set_vll_dir /storage/.config/vlls
|
|
||||||
@@ -32,17 +32,20 @@ mkdir -p $INSTALL/usr/sbin
|
|||||||
cp -PR $PKG_BUILD/$FLOAT/opt/vc/sbin/vcfiled $INSTALL/usr/sbin
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/sbin/vcfiled $INSTALL/usr/sbin
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/*.so* $INSTALL/usr/lib
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libEGL.so $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libGLESv2.so $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libbcm_host.so $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libopenmaxil.so $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libvchiq_arm.so $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libvcos.so $INSTALL/usr/lib
|
||||||
|
|
||||||
# some usefull debug tools
|
# some usefull debug tools
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/vcdbg $INSTALL/usr/bin
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/vcdbg $INSTALL/usr/bin
|
||||||
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/lib/libdebug_sym.so $INSTALL/usr/lib
|
||||||
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/vcgencmd $INSTALL/usr/bin
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/vcgencmd $INSTALL/usr/bin
|
||||||
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/tvservice $INSTALL/usr/bin
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/tvservice $INSTALL/usr/bin
|
||||||
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/edidparser $INSTALL/usr/bin
|
cp -PR $PKG_BUILD/$FLOAT/opt/vc/bin/edidparser $INSTALL/usr/bin
|
||||||
|
|
||||||
mkdir -p $INSTALL/opt/vc
|
mkdir -p $INSTALL/opt/vc
|
||||||
ln -sf /usr/lib $INSTALL/opt/vc/lib
|
ln -sf /usr/lib $INSTALL/opt/vc/lib
|
||||||
|
|
||||||
mkdir -p $INSTALL/sd
|
|
||||||
ln -sf /storage/.config/vlls $INSTALL/sd/vlls
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="bcm2835-driver"
|
PKG_NAME="bcm2835-driver"
|
||||||
PKG_VERSION="2bcb2bc"
|
PKG_VERSION="f53948f"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="nonfree"
|
PKG_LICENSE="nonfree"
|
||||||
|
|||||||
@@ -24,14 +24,15 @@
|
|||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
make CC="$CC" \
|
make CC="$CC" LD="$CC" AR="$AR" \
|
||||||
LD="$CC" \
|
POPT="$CFLAGS" LDFLAGS.EXTRA="$LDFLAGS" \
|
||||||
AR="$AR" \
|
GLEW_DEST="/usr" LIBDIR="/usr/lib" lib/libGLEW.a glew.pc
|
||||||
POPT="$CFLAGS" \
|
|
||||||
LDFLAGS.EXTRA="$LDFLAGS" \
|
|
||||||
GLEW_DEST="/usr" \
|
|
||||||
LIBDIR="/usr/lib"
|
|
||||||
|
|
||||||
make GLEW_DEST="$SYSROOT_PREFIX/usr" \
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
LIBDIR="$SYSROOT_PREFIX/usr/lib" \
|
cp -PR lib/libGLEW.a $SYSROOT_PREFIX/usr/lib
|
||||||
install
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
cp -PR glew.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||||
|
cp -PR include/GL $SYSROOT_PREFIX/usr/include
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -PR $PKG_BUILD/lib/lib*.so* $INSTALL/usr/lib
|
|
||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="BSD"
|
PKG_LICENSE="BSD"
|
||||||
PKG_SITE="http://glew.sourceforge.net/"
|
PKG_SITE="http://glew.sourceforge.net/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/glew/glew/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tgz"
|
PKG_URL="$SOURCEFORGE_SRC/glew/glew/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tgz"
|
||||||
PKG_DEPENDS="libX11 libXext libXi libXmu"
|
PKG_DEPENDS="libX11 libXext libXi"
|
||||||
PKG_BUILD_DEPENDS="toolchain libX11 libXext libXi libXmu"
|
PKG_BUILD_DEPENDS="toolchain libX11 libXext libXi libXmu"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="graphics"
|
PKG_SECTION="graphics"
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ cd $PKG_BUILD
|
|||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-udev \
|
--disable-udev \
|
||||||
--enable-largefile \
|
--enable-largefile \
|
||||||
--with-kernel-source=$(kernel_path) \
|
--with-kernel-source=$(kernel_path) \
|
||||||
$DRM_CONFIG \
|
$DRM_CONFIG \
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://dri.freedesktop.org"
|
PKG_SITE="http://dri.freedesktop.org"
|
||||||
PKG_URL="http://dri.freedesktop.org/libdrm/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="http://dri.freedesktop.org/libdrm/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="systemd libpciaccess"
|
PKG_DEPENDS="libpciaccess"
|
||||||
PKG_BUILD_DEPENDS="toolchain libpthread-stubs systemd libpciaccess"
|
PKG_BUILD_DEPENDS="toolchain libpthread-stubs libpciaccess"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="graphics"
|
PKG_SECTION="graphics"
|
||||||
PKG_SHORTDESC="libdrm: Userspace interface to kernel DRM services"
|
PKG_SHORTDESC="libdrm: Userspace interface to kernel DRM services"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="libjpeg-turbo"
|
PKG_NAME="libjpeg-turbo"
|
||||||
PKG_VERSION="1.2.1"
|
PKG_VERSION="1.3.0"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
|||||||
@@ -39,4 +39,19 @@ mkdir -p .build-host && cd .build-host
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/lib
|
||||||
|
cp -PR .libs/*.so* $ROOT/$TOOLCHAIN/lib
|
||||||
|
ln -sf libpng15.so $ROOT/$TOOLCHAIN/lib/libpng.so
|
||||||
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/lib/pkgconfig
|
||||||
|
cp -PR libpng.pc $ROOT/$TOOLCHAIN/lib/pkgconfig/libpng15.pc
|
||||||
|
ln -sf libpng15.pc $ROOT/$TOOLCHAIN/lib/pkgconfig/libpng.pc
|
||||||
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/include/libpng15
|
||||||
|
cp -PR ../png.h $ROOT/$TOOLCHAIN/include/libpng15
|
||||||
|
cp -PR ../pngconf.h $ROOT/$TOOLCHAIN/include/libpng15
|
||||||
|
cp -PR pnglibconf.h $ROOT/$TOOLCHAIN/include/libpng15
|
||||||
|
ln -sf libpng15/png.h $ROOT/$TOOLCHAIN/include/png.h
|
||||||
|
ln -sf libpng15/pngconf.h $ROOT/$TOOLCHAIN/include/pngconf.h
|
||||||
|
ln -sf libpng15/pnglibconf.h $ROOT/$TOOLCHAIN/include/pnglibconf.h
|
||||||
|
|||||||
@@ -42,4 +42,7 @@ $MAKEINSTALL
|
|||||||
$SED "s:\([\"'= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
|
$SED "s:\([\"'= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
|
||||||
$SYSROOT_PREFIX/usr/bin/libpng*-config
|
$SYSROOT_PREFIX/usr/bin/libpng*-config
|
||||||
|
|
||||||
|
$SED "s:libs=\"-lpng15\":libs=\"-lpng15 -lz\":g" \
|
||||||
|
$SYSROOT_PREFIX/usr/bin/libpng*-config
|
||||||
|
|
||||||
cp -P $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin
|
cp -P $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin
|
||||||
|
|||||||
@@ -22,10 +22,10 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
LIBCOFI_DIR="$BUILD/libcofi-*"
|
ARMMEM_DIR="$BUILD/arm-mem-*"
|
||||||
|
|
||||||
mkdir -p $INSTALL/lib
|
mkdir -p $INSTALL/lib
|
||||||
cp -P $LIBCOFI_DIR/*.so* $INSTALL/lib
|
cp -P $ARMMEM_DIR/*.so* $INSTALL/lib
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
echo "/lib/libcofi_rpi.so" > $INSTALL/etc/ld.so.preload
|
echo "/lib/libarmmem.so" > $INSTALL/etc/ld.so.preload
|
||||||
@@ -18,19 +18,19 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="libcofi"
|
PKG_NAME="arm-mem"
|
||||||
PKG_VERSION=""
|
PKG_VERSION=""
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="arm"
|
PKG_ARCH="arm"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/simonjhall/copies-and-fills"
|
PKG_SITE="https://github.com/bavison/arm-mem"
|
||||||
PKG_URL=""
|
PKG_URL=""
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain libcofi"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="initramfs/devel"
|
PKG_SECTION="devel"
|
||||||
PKG_SHORTDESC="libcofi: a replacement for memcpy and memset functionality for the Raspberry Pi with the intention of gaining greater performance"
|
PKG_SHORTDESC="arm-mem: ARM-accelerated versions of selected functions from string.h"
|
||||||
PKG_LONGDESC="libcofi is a replacement for memcpy and memset functionality for the Raspberry Pi with the intention of gaining greater performance"
|
PKG_LONGDESC="arm-mem is a ARM-accelerated versions of selected functions from string.h"
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
@@ -36,5 +36,5 @@ PKG_IS_ADDON="no"
|
|||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
if [ "$OPENMAX" = "bcm2835-driver" ]; then
|
if [ "$OPENMAX" = "bcm2835-driver" ]; then
|
||||||
PKG_DEPENDS="$PKG_DEPENDS libcofi-initramfs"
|
PKG_DEPENDS="$PKG_DEPENDS arm-mem-initramfs"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.openelec.tv"
|
PKG_SITE="http://www.openelec.tv"
|
||||||
PKG_URL=""
|
PKG_URL=""
|
||||||
PKG_DEPENDS="eglibc-initramfs busybox-initramfs linux-initramfs plymouth-lite diskdev_cmds-initramfs"
|
PKG_DEPENDS="eglibc-initramfs busybox-initramfs linux-initramfs plymouth-lite diskdev_cmds-initramfs dosfstools-initramfs e2fsprogs-initramfs"
|
||||||
PKG_BUILD_DEPENDS="toolchain eglibc-initramfs busybox-initramfs"
|
PKG_BUILD_DEPENDS="toolchain eglibc-initramfs busybox-initramfs"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="initramfs"
|
PKG_SECTION="initramfs"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Busybox version: 1.21.0
|
# Busybox version: 1.21.0
|
||||||
# Tue Jan 22 01:39:02 2013
|
# Thu May 30 20:13:41 2013
|
||||||
#
|
#
|
||||||
CONFIG_HAVE_DOT_CONFIG=y
|
CONFIG_HAVE_DOT_CONFIG=y
|
||||||
|
|
||||||
@@ -205,10 +205,10 @@ CONFIG_CHROOT=y
|
|||||||
CONFIG_CP=y
|
CONFIG_CP=y
|
||||||
# CONFIG_FEATURE_CP_LONG_OPTIONS is not set
|
# CONFIG_FEATURE_CP_LONG_OPTIONS is not set
|
||||||
# CONFIG_CUT is not set
|
# CONFIG_CUT is not set
|
||||||
# CONFIG_DD is not set
|
CONFIG_DD=y
|
||||||
# CONFIG_FEATURE_DD_SIGNAL_HANDLING is not set
|
CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
|
||||||
# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
|
CONFIG_FEATURE_DD_THIRD_STATUS_LINE=y
|
||||||
# CONFIG_FEATURE_DD_IBS_OBS is not set
|
CONFIG_FEATURE_DD_IBS_OBS=y
|
||||||
CONFIG_DF=y
|
CONFIG_DF=y
|
||||||
# CONFIG_FEATURE_DF_FANCY is not set
|
# CONFIG_FEATURE_DF_FANCY is not set
|
||||||
# CONFIG_DIRNAME is not set
|
# CONFIG_DIRNAME is not set
|
||||||
|
|||||||
@@ -23,9 +23,9 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# mount all needed special filesystems
|
# mount all needed special filesystems
|
||||||
/bin/busybox mount -t devtmpfs none /dev
|
/bin/busybox mount -t devtmpfs devtmpfs /dev
|
||||||
/bin/busybox mount -t proc none /proc
|
/bin/busybox mount -t proc proc /proc
|
||||||
/bin/busybox mount -t sysfs none /sys
|
/bin/busybox mount -t sysfs sysfs /sys
|
||||||
|
|
||||||
# set needed variables
|
# set needed variables
|
||||||
MODULE_DIR=/lib/modules
|
MODULE_DIR=/lib/modules
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
echo '1 4 1 7' > /proc/sys/kernel/printk
|
echo '1 4 1 7' > /proc/sys/kernel/printk
|
||||||
|
|
||||||
# clear screen and hide cursor
|
# clear screen and hide cursor
|
||||||
/bin/busybox clear
|
clear
|
||||||
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
|
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
|
||||||
|
|
||||||
# parse command line arguments
|
# parse command line arguments
|
||||||
@@ -88,9 +88,6 @@
|
|||||||
progress)
|
progress)
|
||||||
PROGRESS=yes
|
PROGRESS=yes
|
||||||
;;
|
;;
|
||||||
fastboot)
|
|
||||||
FASTBOOT=yes
|
|
||||||
;;
|
|
||||||
nosplash)
|
nosplash)
|
||||||
SPLASH=no
|
SPLASH=no
|
||||||
;;
|
;;
|
||||||
@@ -106,10 +103,6 @@
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if test "$FASTBOOT" = "yes"; then
|
|
||||||
IONICE="/bin/busybox ionice -c 1 -n 0"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$DEBUG" = "yes"; then
|
if test "$DEBUG" = "yes"; then
|
||||||
exec 3>&1
|
exec 3>&1
|
||||||
else
|
else
|
||||||
@@ -129,7 +122,7 @@
|
|||||||
# show cursor
|
# show cursor
|
||||||
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
|
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
|
||||||
|
|
||||||
/bin/busybox sh </dev/tty1 >/dev/tty1 2>&1
|
sh </dev/tty1 >/dev/tty1 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
error() {
|
error() {
|
||||||
@@ -137,7 +130,7 @@
|
|||||||
# $1:action which caused error, $2:message
|
# $1:action which caused error, $2:message
|
||||||
echo "*** Error in $BOOT_STEP: $1: $2 ***"
|
echo "*** Error in $BOOT_STEP: $1: $2 ***"
|
||||||
if [ -z "$DEBUG" ]; then
|
if [ -z "$DEBUG" ]; then
|
||||||
/bin/busybox halt
|
halt
|
||||||
else
|
else
|
||||||
debug_shell
|
debug_shell
|
||||||
fi
|
fi
|
||||||
@@ -164,10 +157,10 @@
|
|||||||
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
|
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
|
||||||
ERR_ENV=1
|
ERR_ENV=1
|
||||||
|
|
||||||
$IONICE /bin/busybox mount $MOUNT_OPTIONS $1 $2 >&$SILENT_OUT 2>&1
|
mount $MOUNT_OPTIONS $1 $2 >&$SILENT_OUT 2>&1
|
||||||
[ "$?" -eq "0" ] && ERR_ENV=0 && break
|
[ "$?" -eq "0" ] && ERR_ENV=0 && break
|
||||||
|
|
||||||
/bin/busybox usleep 1000000
|
usleep 1000000
|
||||||
done
|
done
|
||||||
[ "$ERR_ENV" -ne "0" ] && error "mount_common" "Could not mount $1"
|
[ "$ERR_ENV" -ne "0" ] && error "mount_common" "Could not mount $1"
|
||||||
}
|
}
|
||||||
@@ -253,7 +246,7 @@
|
|||||||
NBD_PORT="${1#*:}"
|
NBD_PORT="${1#*:}"
|
||||||
NBD_DEV="/dev/nbd$NBD_DEVS"
|
NBD_DEV="/dev/nbd$NBD_DEVS"
|
||||||
|
|
||||||
$IONICE /bin/busybox nbd-client $NBD_SERVER $NBD_PORT $NBD_DEV >&$SILENT_OUT 2>&1 || \
|
nbd-client $NBD_SERVER $NBD_PORT $NBD_DEV >&$SILENT_OUT 2>&1 || \
|
||||||
error "nbd-client" "Could not connect to NBD server $1"
|
error "nbd-client" "Could not connect to NBD server $1"
|
||||||
|
|
||||||
mount_common "$NBD_DEV" "$2" "$3" "$4"
|
mount_common "$NBD_DEV" "$2" "$3" "$4"
|
||||||
@@ -281,6 +274,10 @@
|
|||||||
LABEL=*|UUID=*|/*)
|
LABEL=*|UUID=*|/*)
|
||||||
MOUNT_CMD="mount_common"
|
MOUNT_CMD="mount_common"
|
||||||
MOUNT_TARGET="$1"
|
MOUNT_TARGET="$1"
|
||||||
|
# check filesystem
|
||||||
|
if [ -x /sbin/fsck ]; then
|
||||||
|
/sbin/fsck -a $1 &>/dev/null
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
CIFS=*|SMB=*)
|
CIFS=*|SMB=*)
|
||||||
MOUNT_CMD="mount_cifs"
|
MOUNT_CMD="mount_cifs"
|
||||||
@@ -307,49 +304,29 @@
|
|||||||
update() {
|
update() {
|
||||||
if [ -f "$UPDATE_DIR/$2" -a -f "$3" ]; then
|
if [ -f "$UPDATE_DIR/$2" -a -f "$3" ]; then
|
||||||
echo "updating $1..."
|
echo "updating $1..."
|
||||||
$IONICE /bin/busybox mount -o remount,rw /flash
|
mount -o remount,rw /flash
|
||||||
$IONICE /bin/busybox mv $UPDATE_DIR/$2 $3
|
mv $UPDATE_DIR/$2 $3
|
||||||
# loopback file needs writable /flash all the time
|
# loopback file needs writable /flash all the time
|
||||||
if [ "${disk%%=*}" != "FILE" ]; then
|
if [ "${disk%%=*}" != "FILE" ]; then
|
||||||
$IONICE /bin/busybox mount -o remount,ro /flash
|
mount -o remount,ro /flash
|
||||||
fi
|
fi
|
||||||
$IONICE /bin/busybox sync
|
sync
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
update_bootloader() {
|
update_bootloader() {
|
||||||
if [ -f "/flash/$IMAGE_SYSTEM" ]; then
|
export BOOT_ROOT="/flash"
|
||||||
# /flash is filesystem with system image file
|
export SYSTEM_ROOT="/sysroot"
|
||||||
export BOOT_ROOT="/flash"
|
|
||||||
export SYSTEM_ROOT="/sysroot"
|
|
||||||
|
|
||||||
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
||||||
|
|
||||||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/update.sh ]; then
|
if [ -f $SYSTEM_ROOT/usr/share/bootloader/update.sh ]; then
|
||||||
echo "updating Bootloader..."
|
echo "updating Bootloader..."
|
||||||
$IONICE /bin/busybox sh $SYSTEM_ROOT/usr/share/bootloader/update.sh
|
sh $SYSTEM_ROOT/usr/share/bootloader/update.sh
|
||||||
$IONICE /bin/busybox sync
|
sync
|
||||||
fi
|
|
||||||
|
|
||||||
umount /sysroot
|
|
||||||
fi
|
fi
|
||||||
}
|
|
||||||
|
|
||||||
hfsdiskprep() {
|
umount /sysroot
|
||||||
for DEVICE in /dev/sd*; do
|
|
||||||
for device in $(/bin/busybox blkid $DEVICE); do
|
|
||||||
case $device in
|
|
||||||
TYPE=*)
|
|
||||||
FS_TYPE=${device#TYPE=}
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ "$FS_TYPE" = "\"hfs\"" -o "$FS_TYPE" = "\"hfsplus\"" ]; then
|
|
||||||
progress "check filesystem $DEVICE [$FS_TYPE]..."
|
|
||||||
/bin/fsck_hfs -r -y $DEVICE >&$SILENT_OUT 2>&1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
load_modules() {
|
load_modules() {
|
||||||
@@ -358,7 +335,7 @@
|
|||||||
[ ! -f "/etc/modules" ] && return
|
[ ! -f "/etc/modules" ] && return
|
||||||
for module in $(cat /etc/modules); do
|
for module in $(cat /etc/modules); do
|
||||||
progress "Loading kernel module $module"
|
progress "Loading kernel module $module"
|
||||||
/bin/busybox insmod "$MODULE_DIR/$module.ko" || \
|
insmod "$MODULE_DIR/$module.ko" || \
|
||||||
progress "... Failed to load kernel module $module, skipping"
|
progress "... Failed to load kernel module $module, skipping"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -386,15 +363,6 @@
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
check_disks() {
|
|
||||||
progress "Checking disks"
|
|
||||||
|
|
||||||
if [ -x /bin/fsck_hfs ]; then
|
|
||||||
# deal with hfs partitions
|
|
||||||
hfsdiskprep
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
mount_flash() {
|
mount_flash() {
|
||||||
progress "Mounting flash"
|
progress "Mounting flash"
|
||||||
|
|
||||||
@@ -408,11 +376,11 @@
|
|||||||
if [ "${disk%%=*}" = "FILE" ]; then
|
if [ "${disk%%=*}" = "FILE" ]; then
|
||||||
target="${disk%%,*}"
|
target="${disk%%,*}"
|
||||||
storage_loop_file="/flash/${target#*=}"
|
storage_loop_file="/flash/${target#*=}"
|
||||||
$IONICE /bin/busybox mount -o remount,rw /flash
|
mount -o remount,rw /flash
|
||||||
|
|
||||||
if [ ! -f "$storage_loop_file" ]; then
|
if [ ! -f "$storage_loop_file" ]; then
|
||||||
echo "Creating storage loopback file: $storage_loop_file..."
|
echo "Creating storage loopback file: $storage_loop_file..."
|
||||||
STORAGE_USE=$(/bin/busybox df /flash/ | awk '/[0-9]%/{print $4}')
|
STORAGE_USE=$(df /flash/ | awk '/[0-9]%/{print $4}')
|
||||||
STORAGE_USE=$(($STORAGE_USE / 1024 - $LIVE_FLASH_FREE_MIN))
|
STORAGE_USE=$(($STORAGE_USE / 1024 - $LIVE_FLASH_FREE_MIN))
|
||||||
|
|
||||||
options="${disk#*,}"
|
options="${disk#*,}"
|
||||||
@@ -437,27 +405,17 @@
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/flash/$IMAGE_SYSTEM" ]; then
|
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
||||||
# /flash is filesystem with system image file
|
echo "Creating empty file, this can take a long time..."
|
||||||
# use dd and mkfs.ext4 from system
|
dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null
|
||||||
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
echo "Formating to EXT4 filesystem, this can take a long time..."
|
||||||
echo "Creating empty file, this can take a long time..."
|
# use mkfs.ext4 from SYSTEM
|
||||||
/sysroot/bin/busybox dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null
|
LD_LIBRARY_PATH=/sysroot/usr/lib /sysroot/sbin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null
|
||||||
echo "Formating to EXT4 filesystem, this can take a long time..."
|
sync
|
||||||
LD_LIBRARY_PATH=/sysroot/usr/lib /sysroot/usr/bin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null
|
umount /sysroot
|
||||||
/bin/busybox sync
|
|
||||||
umount /sysroot
|
|
||||||
else
|
|
||||||
# /flash is actual root filesystem
|
|
||||||
echo "Creating empty file, this can take a long time..."
|
|
||||||
/flash/bin/busybox dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null
|
|
||||||
echo "Formating to EXT4 filesystem, this can take a long time..."
|
|
||||||
LD_LIBRARY_PATH=/flash/usr/lib /flash/usr/bin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null
|
|
||||||
/bin/busybox sync
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Done..."
|
echo "Done..."
|
||||||
/bin/busybox usleep 2000000
|
usleep 2000000
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mount_part "FILE=$storage_loop_file" "/storage" "loop,rw,noatime"
|
mount_part "FILE=$storage_loop_file" "/storage" "loop,rw,noatime"
|
||||||
@@ -465,11 +423,11 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$OVERLAY" ]; then
|
if [ -n "$OVERLAY" ]; then
|
||||||
OVERLAY_DIR=`cat /sys/class/net/eth0/address | /bin/busybox tr -d :`
|
OVERLAY_DIR=`cat /sys/class/net/eth0/address | tr -d :`
|
||||||
|
|
||||||
mount_part "$disk" "/storage" "rw,noatime"
|
mount_part "$disk" "/storage" "rw,noatime"
|
||||||
mkdir -p /storage/$OVERLAY_DIR
|
mkdir -p /storage/$OVERLAY_DIR
|
||||||
/bin/busybox umount /storage
|
umount /storage
|
||||||
|
|
||||||
# split $disk into $target,$options so we can append $OVERLAY_DIR
|
# split $disk into $target,$options so we can append $OVERLAY_DIR
|
||||||
options="${disk#*,}"
|
options="${disk#*,}"
|
||||||
@@ -500,26 +458,26 @@
|
|||||||
|
|
||||||
# check md5 sums if .nocheck doesn't exist
|
# check md5 sums if .nocheck doesn't exist
|
||||||
if [ "$MD5_NOCHECK" -eq "0" -a -f "$UPDATE_DIR/${UPDATE_KERNEL}.md5" -a -f "$UPDATE_DIR/${UPDATE_SYSTEM}.md5" ] ; then
|
if [ "$MD5_NOCHECK" -eq "0" -a -f "$UPDATE_DIR/${UPDATE_KERNEL}.md5" -a -f "$UPDATE_DIR/${UPDATE_SYSTEM}.md5" ] ; then
|
||||||
/bin/busybox sed -i 's#target#/storage/.update#g' "$UPDATE_DIR/${UPDATE_KERNEL}.md5"
|
sed -i 's#target#/storage/.update#g' "$UPDATE_DIR/${UPDATE_KERNEL}.md5"
|
||||||
/bin/busybox sed -i 's#target#/storage/.update#g' "$UPDATE_DIR/${UPDATE_SYSTEM}.md5"
|
sed -i 's#target#/storage/.update#g' "$UPDATE_DIR/${UPDATE_SYSTEM}.md5"
|
||||||
|
|
||||||
echo "Checking ${UPDATE_KERNEL}.md5..."
|
echo "Checking ${UPDATE_KERNEL}.md5..."
|
||||||
/bin/busybox md5sum -c "$UPDATE_DIR/${UPDATE_KERNEL}.md5" || MD5_FAILED="1"
|
md5sum -c "$UPDATE_DIR/${UPDATE_KERNEL}.md5" || MD5_FAILED="1"
|
||||||
|
|
||||||
echo "Checking ${UPDATE_SYSTEM}.md5..."
|
echo "Checking ${UPDATE_SYSTEM}.md5..."
|
||||||
/bin/busybox md5sum -c "$UPDATE_DIR/${UPDATE_SYSTEM}.md5" || MD5_FAILED="1"
|
md5sum -c "$UPDATE_DIR/${UPDATE_SYSTEM}.md5" || MD5_FAILED="1"
|
||||||
else
|
else
|
||||||
echo "missing ${UPDATE_KERNEL}.md5 or ${UPDATE_SYSTEM}.md5..."
|
echo "missing ${UPDATE_KERNEL}.md5 or ${UPDATE_SYSTEM}.md5..."
|
||||||
MD5_FAILED="1"
|
MD5_FAILED="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# get sizes
|
# get sizes
|
||||||
FLASH_FREE=$(/bin/busybox df /flash/ | awk '/[0-9]%/{print $4}')
|
FLASH_FREE=$(df /flash/ | awk '/[0-9]%/{print $4}')
|
||||||
FLASH_FREE=$(( $FLASH_FREE * 1024 ))
|
FLASH_FREE=$(( $FLASH_FREE * 1024 ))
|
||||||
OLD_KERNEL=$(/bin/busybox stat -t "/flash/$IMAGE_KERNEL" | awk '{print $2}')
|
OLD_KERNEL=$(stat -t "/flash/$IMAGE_KERNEL" | awk '{print $2}')
|
||||||
OLD_SYSTEM=$(/bin/busybox stat -t "/flash/$IMAGE_SYSTEM" | awk '{print $2}')
|
OLD_SYSTEM=$(stat -t "/flash/$IMAGE_SYSTEM" | awk '{print $2}')
|
||||||
NEW_KERNEL=$(/bin/busybox stat -t "$UPDATE_DIR/$UPDATE_KERNEL" | awk '{print $2}')
|
NEW_KERNEL=$(stat -t "$UPDATE_DIR/$UPDATE_KERNEL" | awk '{print $2}')
|
||||||
NEW_SYSTEM=$(/bin/busybox stat -t "$UPDATE_DIR/$UPDATE_SYSTEM" | awk '{print $2}')
|
NEW_SYSTEM=$(stat -t "$UPDATE_DIR/$UPDATE_SYSTEM" | awk '{print $2}')
|
||||||
|
|
||||||
# old KERNEL+SYSTEM+free space - new KERNEL+SYSTEM must be higher then 5MB
|
# old KERNEL+SYSTEM+free space - new KERNEL+SYSTEM must be higher then 5MB
|
||||||
# at least 5MB free after update
|
# at least 5MB free after update
|
||||||
@@ -543,47 +501,41 @@
|
|||||||
update_bootloader
|
update_bootloader
|
||||||
REBOOT="1"
|
REBOOT="1"
|
||||||
else
|
else
|
||||||
/bin/busybox rm -rf $UPDATE_DIR/[0-9a-zA-Z]* &>/dev/null
|
rm -rf $UPDATE_DIR/[0-9a-zA-Z]* &>/dev/null
|
||||||
echo "md5 check failed. normal startup in 30s..."
|
echo "md5 check failed. normal startup in 30s..."
|
||||||
/bin/busybox sync
|
sync
|
||||||
/bin/busybox usleep 30000000
|
usleep 30000000
|
||||||
fi
|
fi
|
||||||
/bin/busybox rm -rf $UPDATE_DIR/[0-9a-zA-Z]* &>/dev/null
|
rm -rf $UPDATE_DIR/[0-9a-zA-Z]* &>/dev/null
|
||||||
else
|
else
|
||||||
/bin/busybox rm -rf $UPDATE_DIR/[0-9a-zA-Z]* &>/dev/null
|
rm -rf $UPDATE_DIR/[0-9a-zA-Z]* &>/dev/null
|
||||||
echo "size check failed. normal startup in 30s..."
|
echo "size check failed. normal startup in 30s..."
|
||||||
/bin/busybox sync
|
sync
|
||||||
/bin/busybox usleep 30000000
|
usleep 30000000
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$REBOOT" -eq "1"; then
|
if test "$REBOOT" -eq "1"; then
|
||||||
echo "System reboots now..."
|
echo "System reboots now..."
|
||||||
/bin/busybox usleep 2000000
|
usleep 2000000
|
||||||
/bin/busybox reboot
|
reboot
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_sysroot() {
|
prepare_sysroot() {
|
||||||
progress "Preparing system"
|
progress "Preparing system"
|
||||||
|
|
||||||
if [ -f "/flash/$IMAGE_SYSTEM" ]; then
|
if [ "$SYSTEM_TORAM" = "no" -o "$INSTALLED_MEMORY" -lt "$SYSTEM_TORAM_LIMIT" ]; then
|
||||||
# /flash is filesystem with system image file
|
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
||||||
if [ "$SYSTEM_TORAM" = "no" -o "$INSTALLED_MEMORY" -lt "$SYSTEM_TORAM_LIMIT" ]; then
|
|
||||||
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
|
||||||
else
|
|
||||||
cp /flash/$IMAGE_SYSTEM /dev/$IMAGE_SYSTEM
|
|
||||||
mount_part "/dev/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
|
||||||
fi
|
|
||||||
|
|
||||||
/bin/busybox mount --move /flash /sysroot/flash
|
|
||||||
else
|
else
|
||||||
# /flash is actual root filesystem
|
cp /flash/$IMAGE_SYSTEM /dev/$IMAGE_SYSTEM
|
||||||
/bin/busybox mount --move /flash /sysroot
|
mount_part "/dev/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mount --move /flash /sysroot/flash
|
||||||
|
|
||||||
if [ -n "$disk" ]; then
|
if [ -n "$disk" ]; then
|
||||||
/bin/busybox mount --move /storage /sysroot/storage
|
mount --move /storage /sysroot/storage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -f "/sysroot/sbin/init" ] || error "final_check" "Could not find system."
|
[ -f "/sysroot/sbin/init" ] || error "final_check" "Could not find system."
|
||||||
@@ -596,7 +548,6 @@
|
|||||||
# main boot sequence
|
# main boot sequence
|
||||||
for BOOT_STEP in \
|
for BOOT_STEP in \
|
||||||
load_modules \
|
load_modules \
|
||||||
check_disks \
|
|
||||||
mount_flash \
|
mount_flash \
|
||||||
load_splash \
|
load_splash \
|
||||||
mount_storage \
|
mount_storage \
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
DISKDEV_CMDS_DIR="$BUILD/diskdev_cmds-*"
|
DISKDEV_CMDS_DIR="$BUILD/diskdev_cmds-*"
|
||||||
|
|
||||||
mkdir -p $INSTALL/bin
|
mkdir -p $INSTALL/sbin
|
||||||
cp $DISKDEV_CMDS_DIR/fsck_hfs.tproj/fsck_hfs $INSTALL/bin
|
cp $DISKDEV_CMDS_DIR/fsck_hfs.tproj/fsck_hfs $INSTALL/sbin
|
||||||
ln -sf fsck_hfs $INSTALL/bin/fsck.hfs
|
ln -sf fsck_hfs $INSTALL/sbin/fsck.hfs
|
||||||
ln -sf fsck_hfs $INSTALL/bin/fsck.hfsplus
|
ln -sf fsck_hfs $INSTALL/sbin/fsck.hfsplus
|
||||||
|
|||||||
@@ -20,9 +20,11 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
DOSFSTOOLS_DIR="$BUILD/dosfstools-*"
|
||||||
cp -P $PKG_BUILD/src/.libs/libftdi.so* $INSTALL/usr/lib
|
|
||||||
|
mkdir -p $INSTALL/sbin
|
||||||
|
cp $DOSFSTOOLS_DIR/dosfsck $INSTALL/sbin
|
||||||
|
ln -sf dosfsck $INSTALL/sbin/fsck.vfat
|
||||||
|
ln -sf dosfsck $INSTALL/sbin/fsck.msdos
|
||||||
@@ -18,19 +18,19 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xwiimote"
|
PKG_NAME="dosfstools-initramfs"
|
||||||
PKG_VERSION="0b79d97"
|
PKG_VERSION=""
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/dvdhrm/xwiimote"
|
PKG_SITE="http://daniel-baumann.ch/software/dosfstools/"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL=""
|
||||||
PKG_DEPENDS="dbus-glib systemd bluez"
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain dbus-glib systemd bluez"
|
PKG_BUILD_DEPENDS="toolchain dosfstools"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="sysutils/remote"
|
PKG_SECTION="tools"
|
||||||
PKG_SHORTDESC="xwiimote: Nintendo Wii Remote Linux Device Driver Tools"
|
PKG_SHORTDESC="dosfstools: utilities for making and checking MS-DOS FAT filesystems."
|
||||||
PKG_LONGDESC="xwiimote contains tools and libraries related to the open source Nintendo Wii Remote linux device driver"
|
PKG_LONGDESC="dosfstools contains utilities for making and checking MS-DOS FAT filesystems."
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
# Copyright (C) 2010-2011 Roman Weber (roman@openelec.tv)
|
|
||||||
#
|
#
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -23,6 +22,17 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
E2FSPROGS_DIR="$BUILD/e2fsprogs-*"
|
||||||
cp -P $PKG_BUILD/libattr/.libs/*.so* $INSTALL/usr/lib
|
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/sbin
|
||||||
|
cp $E2FSPROGS_DIR/e2fsck/e2fsck $INSTALL/sbin
|
||||||
|
ln -sf e2fsck $INSTALL/sbin/fsck.ext2
|
||||||
|
ln -sf e2fsck $INSTALL/sbin/fsck.ext3
|
||||||
|
ln -sf e2fsck $INSTALL/sbin/fsck.ext4
|
||||||
|
ln -sf e2fsck $INSTALL/sbin/fsck.ext4dev
|
||||||
|
cp $E2FSPROGS_DIR/misc/mke2fs $INSTALL/sbin
|
||||||
|
ln -sf mke2fs $INSTALL/sbin/mkfs.ext2
|
||||||
|
ln -sf mke2fs $INSTALL/sbin/mkfs.ext3
|
||||||
|
ln -sf mke2fs $INSTALL/sbin/mkfs.ext4
|
||||||
|
ln -sf mke2fs $INSTALL/sbin/mkfs.ext4dev
|
||||||
|
cp $E2FSPROGS_DIR/misc/fsck $INSTALL/sbin
|
||||||
@@ -18,19 +18,19 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="rpcbind"
|
PKG_NAME="e2fsprogs-initramfs"
|
||||||
PKG_VERSION="0.2.0"
|
PKG_VERSION=""
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://rpcbind.sourceforge.net/"
|
PKG_SITE="http://e2fsprogs.sourceforge.net/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/rpcbind/rpcbind/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL=""
|
||||||
PKG_DEPENDS="libtirpc"
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain libtirpc"
|
PKG_BUILD_DEPENDS="toolchain e2fsprogs"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="network"
|
PKG_SECTION="tools"
|
||||||
PKG_SHORTDESC="rpcbind: a server that converts RPC program numbers into universal addresses."
|
PKG_SHORTDESC="e2fsprogs: Utilities for use with the ext2 filesystem"
|
||||||
PKG_LONGDESC="The rpcbind utility is a server that converts RPC program numbers into universal addresses."
|
PKG_LONGDESC="The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs, dumpe2fs, fsck, and others."
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="no"
|
||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://www.python.org/"
|
PKG_SITE="http://www.python.org/"
|
||||||
PKG_URL="http://www.python.org/ftp/python/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="http://www.python.org/ftp/python/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS="sqlite expat zlib bzip2 openssl libffi file"
|
PKG_DEPENDS="expat zlib bzip2 openssl libffi file"
|
||||||
PKG_BUILD_DEPENDS="toolchain Python-host sqlite expat zlib bzip2 openssl libffi"
|
PKG_BUILD_DEPENDS="toolchain Python-host sqlite expat zlib bzip2 openssl libffi"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="lang"
|
PKG_SECTION="lang"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="OpenSource"
|
PKG_LICENSE="OpenSource"
|
||||||
PKG_SITE="http://www.php.net"
|
PKG_SITE="http://www.php.net"
|
||||||
PKG_URL="http://www.php.net/distributions/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="http://www.php.net/distributions/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="zlib pcre sqlite curl"
|
PKG_DEPENDS="zlib curl"
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib pcre sqlite curl"
|
PKG_BUILD_DEPENDS="toolchain zlib pcre sqlite curl"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="web"
|
PKG_SECTION="web"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="dvb-firmware"
|
PKG_NAME="dvb-firmware"
|
||||||
PKG_VERSION="0.0.31"
|
PKG_VERSION="0.0.35"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="Free-to-use"
|
PKG_LICENSE="Free-to-use"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="wlan-firmware"
|
PKG_NAME="wlan-firmware"
|
||||||
PKG_VERSION="0.0.10"
|
PKG_VERSION="0.0.12"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="Free-to-use"
|
PKG_LICENSE="Free-to-use"
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user