mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
465 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef74282f2e | ||
|
|
ca9fa311c0 | ||
|
|
66041a1f30 | ||
|
|
24c19605c5 | ||
|
|
e357736644 | ||
|
|
50f8722107 | ||
|
|
8c9de76a6b | ||
|
|
7605743690 | ||
|
|
9db6adb8ba | ||
|
|
d0c439d6cc | ||
|
|
e2613c7c7e | ||
|
|
2927aa71f0 | ||
|
|
5eaddc6ade | ||
|
|
f0ee422712 | ||
|
|
b77f0a9dd6 | ||
|
|
bb2e1d1f03 | ||
|
|
200b2bc13e | ||
|
|
a0eef8090f | ||
|
|
ce99f5b618 | ||
|
|
afe893a2a4 | ||
|
|
0b39f59a30 | ||
|
|
f76faf0c8c | ||
|
|
65c70a4aba | ||
|
|
8b05b0848a | ||
|
|
32e1c368e1 | ||
|
|
758eb9bfdb | ||
|
|
990fde2279 | ||
|
|
c8f158871f | ||
|
|
ad5489fc75 | ||
|
|
1b3690399c | ||
|
|
64e19cddfd | ||
|
|
78485c000c | ||
|
|
aa3736b8f7 | ||
|
|
6b9755b0f9 | ||
|
|
5013eb773b | ||
|
|
a6e4f85db9 | ||
|
|
0c899b4bd8 | ||
|
|
cc4869b9ad | ||
|
|
37968b4cfa | ||
|
|
ae1ef4dc06 | ||
|
|
1beb766b9c | ||
|
|
40f35acdbb | ||
|
|
3a0e6dae44 | ||
|
|
4d0fac661e | ||
|
|
b2b8c52e0b | ||
|
|
f4c3e79e37 | ||
|
|
92db173ebc | ||
|
|
d279a81241 | ||
|
|
093073755d | ||
|
|
2af081fab9 | ||
|
|
59de46f76b | ||
|
|
5d99a6825b | ||
|
|
6f74498961 | ||
|
|
1c9fdd5394 | ||
|
|
5f1d7d95d6 | ||
|
|
66d7880de2 | ||
|
|
124403b19e | ||
|
|
933ec94127 | ||
|
|
0a2c6a9bce | ||
|
|
dcb354cfbf | ||
|
|
64820211e4 | ||
|
|
79f8a34dac | ||
|
|
97bd961289 | ||
|
|
c30c2b92b4 | ||
|
|
72ba432f04 | ||
|
|
b6c7088ab1 | ||
|
|
f88f9fbe66 | ||
|
|
a59caf4486 | ||
|
|
6b901f25af | ||
|
|
8fa33ccb83 | ||
|
|
9cf9cc687f | ||
|
|
d48b50eb13 | ||
|
|
8c91f65455 | ||
|
|
295a7986a1 | ||
|
|
9272f769ba | ||
|
|
6323e47233 | ||
|
|
6f34e15c7d | ||
|
|
d6c91a01cb | ||
|
|
d60feb1087 | ||
|
|
2d945f8f50 | ||
|
|
74e7180426 | ||
|
|
44aca974d7 | ||
|
|
8a9c2837a1 | ||
|
|
2a96df12ec | ||
|
|
dbe9095551 | ||
|
|
2a2653191b | ||
|
|
f8d5713ffd | ||
|
|
c1c5562770 | ||
|
|
d43dbbfbbb | ||
|
|
26465a829f | ||
|
|
c15963bd13 | ||
|
|
d186f00eba | ||
|
|
0ceecbd45a | ||
|
|
b04889f135 | ||
|
|
e3d84bcd4f | ||
|
|
6fc2e85b60 | ||
|
|
b4dc2bb065 | ||
|
|
98853a9daa | ||
|
|
d854ac4369 | ||
|
|
8f1775260d | ||
|
|
96fb256041 | ||
|
|
7f5e77d605 | ||
|
|
616c6585c3 | ||
|
|
a9d3e9bd71 | ||
|
|
6630de46a1 | ||
|
|
d18001b979 | ||
|
|
2aefcdac87 | ||
|
|
6fadefe78a | ||
|
|
4c26f1cb09 | ||
|
|
07b81b7d26 | ||
|
|
7d2aee3976 | ||
|
|
926b1f1d85 | ||
|
|
501ba6ec5a | ||
|
|
a11f7acd79 | ||
|
|
5d579def2f | ||
|
|
9fb59e2d46 | ||
|
|
367797ee8d | ||
|
|
7b637130ae | ||
|
|
164b7f45af | ||
|
|
dc7511f40c | ||
|
|
fd72b258bb | ||
|
|
59515b5536 | ||
|
|
e84b49e88c | ||
|
|
2092dc5c70 | ||
|
|
17773aab93 | ||
|
|
36c53f4d3a | ||
|
|
f3da08d405 | ||
|
|
c3bb9f16b9 | ||
|
|
6cfc093e5b | ||
|
|
c52748feb8 | ||
|
|
179734a81f | ||
|
|
61489571a0 | ||
|
|
eb6fe8fbae | ||
|
|
ffa7cbcd12 | ||
|
|
3f6ece2eb3 | ||
|
|
82e2b9ef62 | ||
|
|
9c8448663b | ||
|
|
41b5cccd17 | ||
|
|
3190178824 | ||
|
|
ccf142f5d4 | ||
|
|
2315f30b81 | ||
|
|
3f1eb7a509 | ||
|
|
a0bad11b9f | ||
|
|
1e35c7c217 | ||
|
|
4518dda55f | ||
|
|
5a0ef65596 | ||
|
|
798c4df658 | ||
|
|
15fbf11c31 | ||
|
|
f56dd613ae | ||
|
|
bd5b6f539c | ||
|
|
fa8242f7ad | ||
|
|
f5c7297361 | ||
|
|
ded3314942 | ||
|
|
276768618d | ||
|
|
35f213f603 | ||
|
|
a10dbe48ca | ||
|
|
d09abfd756 | ||
|
|
3e913677f5 | ||
|
|
ee3d2b0e3f | ||
|
|
a0aa6c96db | ||
|
|
96bff937d0 | ||
|
|
453aaa6785 | ||
|
|
0ceda4690f | ||
|
|
8527c0a36c | ||
|
|
d5efec1a95 | ||
|
|
6b139171b2 | ||
|
|
ef9833b4dc | ||
|
|
7a010ba2a5 | ||
|
|
1d004a7fbb | ||
|
|
1bf39de9c4 | ||
|
|
8f10d83337 | ||
|
|
bf2b95de8b | ||
|
|
78f7287296 | ||
|
|
fbe652e14e | ||
|
|
5b3c9e353d | ||
|
|
7f0a04b638 | ||
|
|
f79892e399 | ||
|
|
7af059d59f | ||
|
|
71673b5469 | ||
|
|
54ec6df710 | ||
|
|
2411a87e5e | ||
|
|
136704bf7a | ||
|
|
89d24da738 | ||
|
|
1e1797045a | ||
|
|
5bc7eaeba1 | ||
|
|
6876101c29 | ||
|
|
1709a9f3c4 | ||
|
|
a44ab5529c | ||
|
|
ad69a9260e | ||
|
|
d59d4af64e | ||
|
|
3ff7182778 | ||
|
|
2d3fe2065d | ||
|
|
2827d929ae | ||
|
|
d6032ba070 | ||
|
|
55e507abc7 | ||
|
|
fdf2e1a6e2 | ||
|
|
7caffb4533 | ||
|
|
d895494d07 | ||
|
|
7920ac2d28 | ||
|
|
9fe3be699c | ||
|
|
f2e470a1e8 | ||
|
|
d44e88908c | ||
|
|
7367f6e4d5 | ||
|
|
baca215d48 | ||
|
|
dbfa4e441f | ||
|
|
fa425887e9 | ||
|
|
ce2b3a6e26 | ||
|
|
8c10086158 | ||
|
|
da11d8ba29 | ||
|
|
195eb1d87f | ||
|
|
1c57ae9d1b | ||
|
|
6a3da77cf0 | ||
|
|
c5038f51b7 | ||
|
|
1b0bb854db | ||
|
|
43c8e9bc00 | ||
|
|
926c09944b | ||
|
|
c20e8c75e5 | ||
|
|
74aa03fbd7 | ||
|
|
e88153590c | ||
|
|
07f53e8651 | ||
|
|
7d4604fedd | ||
|
|
3ba6ca9586 | ||
|
|
d223095bc9 | ||
|
|
451fb60dd3 | ||
|
|
cac623d9f3 | ||
|
|
3d0c1c6a21 | ||
|
|
635b01ccef | ||
|
|
dc3be1d1ec | ||
|
|
b16dadf475 | ||
|
|
d9c013dcd2 | ||
|
|
aeeee06176 | ||
|
|
050b64a1b8 | ||
|
|
f81cea1455 | ||
|
|
2b1920fe8e | ||
|
|
c7fe9741d7 | ||
|
|
0dc884a4b1 | ||
|
|
6bfbecc5e3 | ||
|
|
d388db05b7 | ||
|
|
8c385d3e46 | ||
|
|
b1f3b9d8db | ||
|
|
cea834629e | ||
|
|
33648e3ed9 | ||
|
|
35957e8f67 | ||
|
|
097c95cd0c | ||
|
|
123136a069 | ||
|
|
14ebb58d15 | ||
|
|
30ffc7b1fa | ||
|
|
c515993641 | ||
|
|
bf19953eba | ||
|
|
05cdc9a3c1 | ||
|
|
a63e18dee6 | ||
|
|
f096a98756 | ||
|
|
8e873064bc | ||
|
|
248c68af4e | ||
|
|
20faf6a8fb | ||
|
|
859a84f5b8 | ||
|
|
4950cfdc7a | ||
|
|
7e1fd18d37 | ||
|
|
c2c4fa8c4d | ||
|
|
83dbd9556b | ||
|
|
97b55b181e | ||
|
|
f0f0205166 | ||
|
|
50850b1623 | ||
|
|
9cd6e7e25e | ||
|
|
4b9b167379 | ||
|
|
55f7de11be | ||
|
|
624710450d | ||
|
|
f508c8aba3 | ||
|
|
431bb91abd | ||
|
|
63d2716a73 | ||
|
|
fecd1de7f9 | ||
|
|
79c6be8d82 | ||
|
|
c80f0ba02d | ||
|
|
d215d9e7de | ||
|
|
0fc1ca126d | ||
|
|
e1a5fb4337 | ||
|
|
b24327d73e | ||
|
|
969ed215a7 | ||
|
|
87dba4ef13 | ||
|
|
c076056963 | ||
|
|
5049f06873 | ||
|
|
a763008d60 | ||
|
|
f962e093f6 | ||
|
|
d13f066f3a | ||
|
|
b735f906b1 | ||
|
|
a47b58903c | ||
|
|
353a170a69 | ||
|
|
756c6ff157 | ||
|
|
35e44a74ca | ||
|
|
165c0a4f27 | ||
|
|
9bec7052ba | ||
|
|
aadac6c033 | ||
|
|
1d8876d335 | ||
|
|
c29f853680 | ||
|
|
a3aaf06e79 | ||
|
|
d81c647f7a | ||
|
|
84edbe314e | ||
|
|
15117b4588 | ||
|
|
4c82bfc1ad | ||
|
|
7e7fc9ae5f | ||
|
|
605b0591f1 | ||
|
|
bc2833c2e4 | ||
|
|
fc12804537 | ||
|
|
187c5dce9d | ||
|
|
98f46f0b12 | ||
|
|
6cd77a72d9 | ||
|
|
0393f40589 | ||
|
|
ccb49fee6d | ||
|
|
70d7a00b59 | ||
|
|
dcf877beb8 | ||
|
|
7ac06939e6 | ||
|
|
ac57c41530 | ||
|
|
0ba577ee1c | ||
|
|
dfb5bc3e2d | ||
|
|
c4fc70a470 | ||
|
|
895ef0d378 | ||
|
|
4cacfd32cf | ||
|
|
ce7f475277 | ||
|
|
ea67c0ccfb | ||
|
|
6e37722144 | ||
|
|
cfe08eec07 | ||
|
|
c6a40e1fb4 | ||
|
|
61ef9e9f99 | ||
|
|
6995888555 | ||
|
|
0b5574147c | ||
|
|
4142b81abf | ||
|
|
0a8ed30135 | ||
|
|
fce7385e58 | ||
|
|
88814b8f8e | ||
|
|
dc2ba861cf | ||
|
|
c99e51ef80 | ||
|
|
fb74e167e7 | ||
|
|
2bbfccde55 | ||
|
|
243f1dafc7 | ||
|
|
af4200f983 | ||
|
|
723781c1b4 | ||
|
|
d1e49c5008 | ||
|
|
32ba6fe666 | ||
|
|
18a28114d4 | ||
|
|
d17535f49d | ||
|
|
ea9af6cc4d | ||
|
|
f86e99581a | ||
|
|
f0c109331a | ||
|
|
51efca1023 | ||
|
|
1883d5e9ae | ||
|
|
bf076872f9 | ||
|
|
8a732a3b80 | ||
|
|
c65a934c73 | ||
|
|
be36fcdb45 | ||
|
|
ae19e572fd | ||
|
|
d5c6c14184 | ||
|
|
1c7912b894 | ||
|
|
564f07fcb9 | ||
|
|
a263db0be9 | ||
|
|
3085ad620b | ||
|
|
5a399f8670 | ||
|
|
224b921297 | ||
|
|
f48d8d90f3 | ||
|
|
4df7efd8b4 | ||
|
|
571b352108 | ||
|
|
0343f1f828 | ||
|
|
236436c9d8 | ||
|
|
aeb5dcf959 | ||
|
|
dae58939f7 | ||
|
|
cac0ba5e16 | ||
|
|
b54da3f238 | ||
|
|
141e648401 | ||
|
|
a4b99fb29d | ||
|
|
6b79ef6727 | ||
|
|
56013bd9c8 | ||
|
|
57fbb8eeff | ||
|
|
fa0c4d0815 | ||
|
|
554f3d880f | ||
|
|
709250078a | ||
|
|
cee30ed2a1 | ||
|
|
d65f9be155 | ||
|
|
c11fc9f290 | ||
|
|
293e01c334 | ||
|
|
ff738ff5f7 | ||
|
|
c479bd4fe9 | ||
|
|
f70a67151f | ||
|
|
e2ea18b4da | ||
|
|
2be5288945 | ||
|
|
1cc83b8977 | ||
|
|
73b3540d2f | ||
|
|
afc3f42019 | ||
|
|
a202107525 | ||
|
|
9c02712f0c | ||
|
|
4a644c7d71 | ||
|
|
e15214b903 | ||
|
|
97a4d83f7f | ||
|
|
8884087e78 | ||
|
|
bb507df214 | ||
|
|
322687552d | ||
|
|
858a526bba | ||
|
|
9ceb783c6c | ||
|
|
57c50b4bef | ||
|
|
a34105d78a | ||
|
|
cb6bebb5be | ||
|
|
63dd3806a5 | ||
|
|
d73e7301b9 | ||
|
|
768d657f46 | ||
|
|
669fa5aec6 | ||
|
|
1410cc2c72 | ||
|
|
a097bdcbc9 | ||
|
|
abc786553d | ||
|
|
5862070527 | ||
|
|
ec17c47a98 | ||
|
|
ce57a79070 | ||
|
|
3790305f90 | ||
|
|
4da24285e6 | ||
|
|
93f757744d | ||
|
|
ef2006c581 | ||
|
|
8b799346e6 | ||
|
|
1936c96bd1 | ||
|
|
c5e111f5a9 | ||
|
|
8e39b0161d | ||
|
|
dc7246cb2e | ||
|
|
a2a34178e4 | ||
|
|
2135fea28a | ||
|
|
b73600087d | ||
|
|
7b884783ec | ||
|
|
d9c4879f0d | ||
|
|
3f1e8daaa1 | ||
|
|
d987eae679 | ||
|
|
2a001130d9 | ||
|
|
2877c38648 | ||
|
|
ac5fb842f4 | ||
|
|
1a0a0a57e5 | ||
|
|
15c2f0113d | ||
|
|
998fc20bcd | ||
|
|
4006786d37 | ||
|
|
6abe1ae9fe | ||
|
|
1dd216b9bd | ||
|
|
ad4d4a694a | ||
|
|
7c72689bf5 | ||
|
|
614b5a2320 | ||
|
|
c4305bf8a5 | ||
|
|
6a1089d683 | ||
|
|
7e79b5cc8c | ||
|
|
8e403f9f15 | ||
|
|
596600daa6 | ||
|
|
93496d07d0 | ||
|
|
69874c7aa3 | ||
|
|
318139f3c5 | ||
|
|
fcfbf813b8 | ||
|
|
9463762bfc | ||
|
|
96d21d9e3d | ||
|
|
b74ad71d18 | ||
|
|
279d9d7f70 | ||
|
|
988bd30300 | ||
|
|
44b86705dc | ||
|
|
937ae03d14 | ||
|
|
d960690435 | ||
|
|
35f577d692 | ||
|
|
ccf99acf63 | ||
|
|
4d1623495f | ||
|
|
6c217678f6 | ||
|
|
e33fa2e17a | ||
|
|
77322e6a2f | ||
|
|
8751c2929c | ||
|
|
22b7a78f27 | ||
|
|
ba9529dfe3 | ||
|
|
ac505f57f7 | ||
|
|
74bcc3d3cc |
6
README
6
README
@@ -1,8 +1,8 @@
|
||||
http://www.OpenELEC.tv
|
||||
|
||||
The Open Embedded Linux Enterainment Center – OpenELEC.tv
|
||||
OpenELEC - Open Embedded Linux Enterainment Center
|
||||
|
||||
OpenELEC.tv runs XBMC, a complete media center solution (xbmc.org).
|
||||
OpenELEC runs XBMC, a complete media center solution (xbmc.org).
|
||||
The base system has been designed and built from the ground up to be as
|
||||
efficient as possible – consuming only a tiny footprint, cutting edge
|
||||
hardware support and a set-top box experience.
|
||||
@@ -52,4 +52,4 @@ freenode.
|
||||
|
||||
Happy XBMC'ing
|
||||
|
||||
OpenELEC.tv Development Team
|
||||
OpenELEC Development Team
|
||||
|
||||
42
config/arch.arm
Normal file
42
config/arch.arm
Normal file
@@ -0,0 +1,42 @@
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=cortex-a8
|
||||
fi
|
||||
|
||||
# TARGET_CPU:
|
||||
# arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d
|
||||
# arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c
|
||||
# arm7100 arm720 arm7500 arm7500fe arm7tdmi arm7tdmi-s arm710t
|
||||
# arm720t arm740t strongarm strongarm110 strongarm1100
|
||||
# strongarm1110 arm8 arm810 arm9 arm9e arm920 arm920t arm922t
|
||||
# arm946e-s arm966e-s arm968e-s arm926ej-s arm940t arm9tdmi
|
||||
# arm10tdmi arm1020t arm1026ej-s arm10e arm1020e arm1022e
|
||||
# arm1136j-s arm1136jf-s mpcore mpcorenovfp arm1156t2-s
|
||||
# arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4
|
||||
# cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312.
|
||||
|
||||
# TARGET_FPU:
|
||||
# This specifies what floating point hardware (or hardware emulation) is
|
||||
# available on the target. Permissible names are:
|
||||
# fpa fpe2 fpe3 maverick vfp vfpv3 vfpv3-fp16 vfpv3-d16 vfpv3-d16-fp16
|
||||
# vfpv3xd vfpv3xd-fp16 neon neon-fp16 vfpv4 vfpv4-d16 fpv4-sp-d16
|
||||
# neon-vfpv4.
|
||||
|
||||
# determine architecture's family
|
||||
case $TARGET_CPU in
|
||||
cortex-a8)
|
||||
TARGET_SUBARCH=armv7-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_FPU="neon"
|
||||
;;
|
||||
cortex-a9)
|
||||
TARGET_SUBARCH=armv7-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_FPU="neon"
|
||||
;;
|
||||
esac
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-fPIC -march=$TARGET_SUBARCH -mtune=$TARGET_CPU -mabi=aapcs-linux"
|
||||
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS -mfpu=$TARGET_FPU"
|
||||
TARGET_LDFLAGS="-fPIC -march=$TARGET_SUBARCH -mtune=$TARGET_CPU"
|
||||
11
config/arch.i386
Normal file
11
config/arch.i386
Normal file
@@ -0,0 +1,11 @@
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=i686
|
||||
fi
|
||||
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH=i686
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_CPU -m32"
|
||||
TARGET_LDFLAGS="-march=$TARGET_CPU -m32"
|
||||
11
config/arch.x86_64
Normal file
11
config/arch.x86_64
Normal file
@@ -0,0 +1,11 @@
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=core2
|
||||
fi
|
||||
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH=x86_64
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-fPIC -march=$TARGET_CPU -m64"
|
||||
TARGET_LDFLAGS="-fPIC -march=$TARGET_CPU -m64"
|
||||
@@ -134,7 +134,7 @@ do_autoreconf() {
|
||||
export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf -v -f -i -I $ACLOCAL_DIR"
|
||||
|
||||
mkdir -p $ACLOCAL_DIR
|
||||
autoreconf --verbose --force --install -I $ACLOCAL_DIR $@
|
||||
autoreconf --force --install -I $ACLOCAL_DIR $@
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -154,8 +154,3 @@ strip_linker_plugin() {
|
||||
# strip out usage from linker plugin
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
|
||||
}
|
||||
|
||||
strip_kmod() {
|
||||
[ -z $1 ] && echo "usage strip_kmod <dir>" && exit 1
|
||||
find $1 -type f -name '*.ko' | xargs -r $STRIP --strip-debug
|
||||
}
|
||||
|
||||
@@ -26,3 +26,31 @@ LD_OPTIM="$LD_OPTIM -fuse-linker-plugin"
|
||||
LD_OPTIM="$LD_OPTIM -fuse-ld=gold"
|
||||
LD_OPTIM="$LD_OPTIM -Wl,--as-needed"
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -ggdb"
|
||||
else
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -fomit-frame-pointer"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -fomit-frame-pointer"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -s"
|
||||
fi
|
||||
|
||||
TARGET_CPPFLAGS=
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $PROJECT_CFLAGS"
|
||||
TARGET_CXXFLAGS="$TARGET_CFLAGS"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS $GCC_OPTIM $LD_OPTIM"
|
||||
|
||||
HOST_CPPFLAGS=""
|
||||
HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
|
||||
HOST_CXXFLAGS="$HOST_CFLAGS"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
|
||||
|
||||
# use -fPIC when necessary
|
||||
case "`uname -m`" in
|
||||
x86_64|ppc64|arm|armeb|armel)
|
||||
HOST_CFLAGS="$HOST_CFLAGS -fPIC"
|
||||
HOST_CXXFLAGS="$HOST_CXXFLAGS -fPIC"
|
||||
HOST_LDFLAGS="$HOST_LDFLAGS -fPIC"
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -6,7 +6,7 @@ else
|
||||
PROJECT="$PROJECT"
|
||||
fi
|
||||
|
||||
# determines TARGET_ARCH, if not forced by user (i386 / x86_64 / powerpc)
|
||||
# determines TARGET_ARCH, if not forced by user (i386 / x86_64 / arm)
|
||||
# default is i386
|
||||
if [ -z "$ARCH" ]; then
|
||||
TARGET_ARCH="i386"
|
||||
@@ -63,7 +63,6 @@ fi
|
||||
# set jpeg library depending on ARCH
|
||||
if [ "$TARGET_ARCH" = "i386" -o "$TARGET_ARCH" = "x86_64" ]; then
|
||||
LIBJPEG="libjpeg-turbo"
|
||||
# LIBJPEG="jpeg"
|
||||
else
|
||||
LIBJPEG="jpeg"
|
||||
fi
|
||||
@@ -89,6 +88,7 @@ get_graphicdrivers() {
|
||||
[ "$drv" = "r600" ] && MESA_DRIVERS="$MESA_DRIVERS,r600"
|
||||
[ "$drv" = "radeon" ] && MESA_DRIVERS="$MESA_DRIVERS,radeon"
|
||||
[ "$drv" = "nouveau" ] && MESA_DRIVERS="$MESA_DRIVERS,nouveau"
|
||||
[ "$drv" = "omapfb" ] && MESA_DRIVERS="$MESA_DRIVERS,swrast"
|
||||
|
||||
if [ "$drv" = "i915" -o "$drv" = "i965" ]; then
|
||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||
@@ -107,6 +107,10 @@ get_graphicdrivers() {
|
||||
XINERAMA_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if [ "$drv" = "omapfb" ]; then
|
||||
XORG_DRIVERS="$XORG_DRIVERS ompafb"
|
||||
fi
|
||||
|
||||
if [ "$drv" = "vmware" ]; then
|
||||
XINERAMA_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
78
config/path
78
config/path
@@ -1,30 +1,6 @@
|
||||
set -e
|
||||
|
||||
# determine architecture's family
|
||||
case $TARGET_ARCH in
|
||||
i386)
|
||||
TARGET_FAMILY=i686
|
||||
;;
|
||||
|
||||
x86_64)
|
||||
TARGET_FAMILY=x86_64
|
||||
;;
|
||||
esac
|
||||
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
case $TARGET_ARCH in
|
||||
i386)
|
||||
TARGET_CPU=i686
|
||||
;;
|
||||
|
||||
x86_64)
|
||||
TARGET_CPU=i686
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# setup initial directorys
|
||||
# setup initial directorys (relative to root)
|
||||
CONFIG=config
|
||||
SCRIPTS=scripts
|
||||
PACKAGES=packages
|
||||
@@ -33,8 +9,11 @@ fi
|
||||
TARGET=target
|
||||
ADDONS=addons
|
||||
|
||||
# include ARCH specific options
|
||||
. config/arch.$TARGET_ARCH
|
||||
|
||||
HOST_NAME=`$SCRIPTS/configtools/config.guess`
|
||||
TARGET_NAME=$TARGET_FAMILY-openelec-linux-gnu
|
||||
TARGET_NAME=$(echo $TARGET_SUBARCH | sed -e "s,-,,")-openelec-linux-gnu${TARGET_ABI}
|
||||
|
||||
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OPENELEC_VERSION
|
||||
TARGET_IMG=$ROOT/$TARGET
|
||||
@@ -85,9 +64,6 @@ SED="sed -i"
|
||||
[ -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION}`
|
||||
[ -d $BUILD/${PKG_NAME}${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}${PKG_VERSION}`
|
||||
|
||||
XORG_PATH_ENCODINGS=/usr/share/X11/encodings
|
||||
XORG_PATH_FONTS=/usr/share/X11/fonts
|
||||
XORG_PATH_MAPS=$XORG_PATH_FONTS/util
|
||||
XORG_PATH_DRI=/usr/lib/dri
|
||||
XORG_PATH_XKB=/usr/share/X11/xkb
|
||||
XORG_PATH_XKB_OUTPUT=/var/lib/xkb
|
||||
@@ -98,8 +74,6 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
|
||||
TOOLCHAIN_LANGUAGES=c
|
||||
[ "$TOOLCHAIN_CXX" = yes ] && TOOLCHAIN_LANGUAGES=${TOOLCHAIN_LANGUAGES},c++
|
||||
|
||||
. config/optimize
|
||||
|
||||
TARGET_CC=${TARGET_PREFIX}gcc
|
||||
TARGET_CXX=${TARGET_PREFIX}g++
|
||||
TARGET_LD=${TARGET_PREFIX}ld
|
||||
@@ -110,38 +84,12 @@ TARGET_RANLIB=${TARGET_PREFIX}ranlib
|
||||
TARGET_OBJCOPY=${TARGET_PREFIX}objcopy
|
||||
TARGET_STRIP=${TARGET_PREFIX}strip
|
||||
|
||||
TARGET_CPPFLAGS=
|
||||
TARGET_CFLAGS="-Wall -pipe $GCC_OPTIM $PROJECT_CFLAGS"
|
||||
TARGET_CXXFLAGS="$TARGET_CFLAGS"
|
||||
TARGET_LDFLAGS="$GCC_OPTIM $LD_OPTIM"
|
||||
|
||||
case $TARGET_ARCH in
|
||||
i386)
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -march=$TARGET_CPU -m32"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -march=$TARGET_CPU -m32"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -march=$TARGET_CPU -m32"
|
||||
;;
|
||||
x86_64)
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -fPIC -march=$TARGET_CPU -m64"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -fPIC -march=$TARGET_CPU -m64"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -fPIC -march=$TARGET_CPU -m64"
|
||||
;;
|
||||
esac
|
||||
. config/optimize
|
||||
|
||||
TARGET_PKG_CONFIG_PATH=""
|
||||
TARGET_PKG_CONFIG_LIBDIR="$SYSROOT_PREFIX/usr/lib/pkgconfig:$SYSROOT_PREFIX/usr/share/pkgconfig"
|
||||
TARGET_PKG_CONFIG_SYSROOT_DIR="$SYSROOT_PREFIX"
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -ggdb"
|
||||
else
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -fomit-frame-pointer"
|
||||
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -fomit-frame-pointer"
|
||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -s"
|
||||
fi
|
||||
|
||||
HOST_AWK=gawk
|
||||
HOST_CC=$ROOT/$TOOLCHAIN/bin/host-gcc
|
||||
HOST_CXX=$ROOT/$TOOLCHAIN/bin/host-g++
|
||||
@@ -153,20 +101,6 @@ HOST_RANLIB=ranlib
|
||||
HOST_OBJCOPY=objcopy
|
||||
HOST_STRIP=strip
|
||||
|
||||
HOST_CPPFLAGS=""
|
||||
HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
|
||||
HOST_CXXFLAGS="$HOST_CFLAGS"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
|
||||
|
||||
# use -fPIC when necessary
|
||||
case "`uname -m`" in
|
||||
x86_64|ppc64|arm|armeb|armel)
|
||||
HOST_CFLAGS="$HOST_CFLAGS -fPIC"
|
||||
HOST_CXXFLAGS="$HOST_CXXFLAGS -fPIC"
|
||||
HOST_LDFLAGS="$HOST_LDFLAGS -fPIC"
|
||||
;;
|
||||
esac
|
||||
|
||||
HOST_PKG_CONFIG_PATH=""
|
||||
HOST_PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pkgconfig"
|
||||
HOST_PKG_CONFIG_SYSROOT_DIR=""
|
||||
|
||||
@@ -110,7 +110,7 @@ fi
|
||||
|
||||
# find UUID
|
||||
echo -n "finding UUID from $PART ..."
|
||||
UUID=`blkid $PART -s UUID -o export`
|
||||
UUID=`blkid $PART -s UUID -o value`
|
||||
echo "$UUID"
|
||||
|
||||
# create bootloader
|
||||
@@ -121,7 +121,7 @@ fi
|
||||
echo " " >> /tmp/usb_install/syslinux.cfg
|
||||
echo "LABEL linux" >> /tmp/usb_install/syslinux.cfg
|
||||
echo " KERNEL /KERNEL" >> /tmp/usb_install/syslinux.cfg
|
||||
echo " APPEND boot=$UUID installer quiet" >> /tmp/usb_install/syslinux.cfg
|
||||
echo " APPEND boot=UUID=$UUID installer quiet" >> /tmp/usb_install/syslinux.cfg
|
||||
|
||||
# copy files
|
||||
echo "copy files to $PART..."
|
||||
@@ -136,14 +136,28 @@ fi
|
||||
cp README /tmp/usb_install
|
||||
cp RELEASE /tmp/usb_install
|
||||
|
||||
# syncing disk
|
||||
echo "syncing disk..."
|
||||
sync
|
||||
|
||||
# unmount partition
|
||||
echo "unmounting partition $PART..."
|
||||
umount "$PART"
|
||||
|
||||
# write mbr
|
||||
echo "writing mbr..."
|
||||
if [ -f /usr/lib/syslinux/mbr.bin ]; then
|
||||
MBR="/usr/lib/syslinux/mbr.bin" # example: ubuntu
|
||||
elif [ -f /usr/share/syslinux/mbr.bin ]; then
|
||||
MBR="/usr/share/syslinux/mbr.bin" # example: fedora
|
||||
else
|
||||
echo "Dont find mbr.bin on Host OS"
|
||||
fi
|
||||
|
||||
if [ -n "$MBR" ]; then
|
||||
cat "$MBR" > "$DISK"
|
||||
fi
|
||||
|
||||
# syncing disk
|
||||
echo "syncing disk..."
|
||||
sync
|
||||
|
||||
# cleaning
|
||||
echo "cleaning tempdir..."
|
||||
rmdir /tmp/usb_install
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="atk"
|
||||
PKG_VERSION="1.32.0"
|
||||
PKG_VERSION="1.33.6"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://library.gnome.org/devel/atk/"
|
||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/1.32/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/1.33/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="glib"
|
||||
PKG_BUILD_DEPENDS="toolchain glib"
|
||||
PKG_PRIORITY="optional"
|
||||
|
||||
@@ -34,5 +34,3 @@ mkdir -p $INSTALL/usr/share/alsa/init
|
||||
cp $PKG_BUILD/alsactl/init/* $INSTALL/usr/share/alsa/init
|
||||
rm -rf $INSTALL/usr/share/alsa/init/Makefile*
|
||||
|
||||
mkdir -p $INSTALL/lib/udev/rules.d
|
||||
cp $PKG_DIR/config/rules.d/* $INSTALL/lib/udev/rules.d
|
||||
|
||||
@@ -31,6 +31,7 @@ cd $PKG_BUILD
|
||||
--without-xmms \
|
||||
--without-drm \
|
||||
--without-mpeg4ip \
|
||||
--with-gnu-ld
|
||||
|
||||
make
|
||||
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 10_faad-stdio.dpatch by <matthew@ibis.bells>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad faad2-2.6.1~/frontend/faad.man faad2-2.6.1/frontend/faad.man
|
||||
--- faad2-2.6.1~/frontend/faad.man 2008-06-17 04:27:16.000000000 +0100
|
||||
+++ faad2-2.6.1/frontend/faad.man 2008-06-17 04:27:17.000000000 +0100
|
||||
@@ -73,7 +73,7 @@
|
||||
Quiet \- Suppresses status messages during processing.
|
||||
.TP
|
||||
.B \-t ", \-\^\-oldformat"
|
||||
-Sets the processing to use the old MPEG\(hy4 AAC ADTS format when outputting in said format.
|
||||
+Sets the processing output to be sent to the standard out. Only raw PCM may be sent to the standard out, as headers cannot currently be streamed.
|
||||
.TP
|
||||
.B \-w ", \-\^\-stdio"
|
||||
Sets the processing output to be sent to the standard out.
|
||||
diff -urNad faad2-2.6.1~/frontend/main.c faad2-2.6.1/frontend/main.c
|
||||
--- faad2-2.6.1~/frontend/main.c 2007-11-01 12:33:29.000000000 +0000
|
||||
+++ faad2-2.6.1/frontend/main.c 2008-06-17 03:58:33.000000000 +0100
|
||||
@@ -1190,9 +1190,10 @@
|
||||
}
|
||||
|
||||
/* only allow raw data on stdio */
|
||||
- if (writeToStdio == 1)
|
||||
+ if (writeToStdio && (format != 2))
|
||||
{
|
||||
- format = 2;
|
||||
+ faad_fprintf(stderr, "Only raw PCM data (2) may be sent to the standard out.\n");
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
/* point to the specified file name */
|
||||
@@ -23,22 +23,21 @@
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
do_autoreconf -I m4
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld \
|
||||
--disable-altivec \
|
||||
--disable-doxygen-docs \
|
||||
--disable-thorough-tests \
|
||||
--disable-cpplibs \
|
||||
--disable-xmms-plugin \
|
||||
--disable-oggtest \
|
||||
--with-ogg=$SYSROOT_PREFIX/usr
|
||||
--with-ogg="$SYSROOT_PREFIX/usr" \
|
||||
--with-libiconv-prefix="$SYSROOT_PREFIX/usr" \
|
||||
--with-gnu-ld
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
||||
|
||||
@@ -24,13 +24,13 @@ PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://flac.sourceforge.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="libogg"
|
||||
PKG_BUILD_DEPENDS="toolchain libogg libiconv"
|
||||
PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="libiconv libogg"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv libogg"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="flac: An Free Lossless Audio Codec"
|
||||
PKG_LONGDESC="Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
24
packages/audio/flac/patches/flac-1.2.1-configure.patch
Normal file
24
packages/audio/flac/patches/flac-1.2.1-configure.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -Naur flac-1.2.1-old/configure.in flac-1.2.1-new/configure.in
|
||||
--- flac-1.2.1-old/configure.in 2007-09-13 08:48:42.000000000 -0700
|
||||
+++ flac-1.2.1-new/configure.in 2010-08-17 20:51:01.000000000 -0700
|
||||
@@ -21,6 +21,8 @@
|
||||
AC_INIT(src/flac/main.c)
|
||||
AM_INIT_AUTOMAKE(flac, 1.2.1)
|
||||
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
+
|
||||
# Don't automagically regenerate autoconf/automake generated files unless
|
||||
# explicitly requested. Eases autobuilding -mdz
|
||||
AM_MAINTAINER_MODE
|
||||
diff -Naur flac-1.2.1-old/Makefile.am flac-1.2.1-new/Makefile.am
|
||||
--- flac-1.2.1-old/Makefile.am 2007-09-16 12:29:29.000000000 -0700
|
||||
+++ flac-1.2.1-new/Makefile.am 2010-08-17 20:51:27.000000000 -0700
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.7
|
||||
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
+
|
||||
SUBDIRS = doc include m4 man src examples test build obj
|
||||
|
||||
DISTCLEANFILES = libtool-disable-static
|
||||
56
packages/audio/lame/build
Executable file
56
packages/audio/lame/build
Executable file
@@ -0,0 +1,56 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
# dont build parallel
|
||||
MAKEFLAGS=-j1
|
||||
|
||||
cd $PKG_BUILD
|
||||
GTK_CONFIG='no' \
|
||||
ac_cv_c_stack_direction=-1 \
|
||||
alex_cv_ieee854_float80=no \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-nasm \
|
||||
--disable-cpml \
|
||||
--disable-gtktest \
|
||||
--disable-efence \
|
||||
--disable-analyzer-hooks \
|
||||
--enable-decoder \
|
||||
--enable-decode-layer1 \
|
||||
--enable-decode-layer2 \
|
||||
--disable-frontend \
|
||||
--disable-mp3x \
|
||||
--disable-mp3rtp \
|
||||
--disable-brhist \
|
||||
--disable-all-float \
|
||||
--enable-expopt=no \
|
||||
--enable-debug=no \
|
||||
--with-gnu-ld \
|
||||
--with-fileio=lame
|
||||
|
||||
make
|
||||
$MAKEINSTALL
|
||||
@@ -23,4 +23,4 @@
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libfaac/.libs/*.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libmp3lame/.libs/libmp3lame.so* $INSTALL/usr/lib
|
||||
@@ -18,19 +18,19 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="faac"
|
||||
PKG_VERSION="1.28"
|
||||
PKG_NAME="lame"
|
||||
PKG_VERSION="3.98.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.audiocoding.com/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/faac/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_SITE="http://lame.sourceforge.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/lame/lame/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="faac: An MPEG-4 AAC encoder"
|
||||
PKG_LONGDESC="The FAAC project includes the AAC encoder supporting several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless encoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles."
|
||||
PKG_SHORTDESC="lame: LAME Ain't an Mp3 Encoder"
|
||||
PKG_LONGDESC="LAME originally stood for LAME Ain't an Mp3 Encoder. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
242
packages/audio/lame/patches/lame-3.98.4-am_path_gtk.patch
Normal file
242
packages/audio/lame/patches/lame-3.98.4-am_path_gtk.patch
Normal file
@@ -0,0 +1,242 @@
|
||||
diff -Naur lame-3.98.4/configure.in lame-3.98.4.patch/configure.in
|
||||
--- lame-3.98.4/configure.in 2010-03-22 21:40:17.000000000 +0100
|
||||
+++ lame-3.98.4.patch/configure.in 2011-03-25 12:11:44.982662225 +0100
|
||||
@@ -21,6 +21,8 @@
|
||||
AC_INIT([lame],[3.98.4],[lame-dev@lists.sf.net])
|
||||
AC_CONFIG_SRCDIR([libmp3lame/lame.c])
|
||||
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
+
|
||||
dnl check system
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
@@ -385,7 +387,7 @@
|
||||
|
||||
dnl configure use of features
|
||||
|
||||
-AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
|
||||
+AM_PATH_GTK_2_0(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
|
||||
|
||||
dnl ElectricFence malloc debugging
|
||||
AC_MSG_CHECKING(use of ElectricFence malloc debugging)
|
||||
diff -Naur lame-3.98.4/m4/gtk-2.0.m4 lame-3.98.4.patch/m4/gtk-2.0.m4
|
||||
--- lame-3.98.4/m4/gtk-2.0.m4 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ lame-3.98.4.patch/m4/gtk-2.0.m4 2010-12-22 03:34:53.000000000 +0100
|
||||
@@ -0,0 +1,196 @@
|
||||
+# Configure paths for GTK+
|
||||
+# Owen Taylor 1997-2001
|
||||
+
|
||||
+dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
+dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
|
||||
+dnl pass to pkg-config
|
||||
+dnl
|
||||
+AC_DEFUN([AM_PATH_GTK_2_0],
|
||||
+[dnl
|
||||
+dnl Get the cflags and libraries from pkg-config
|
||||
+dnl
|
||||
+AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
|
||||
+ , enable_gtktest=yes)
|
||||
+
|
||||
+ pkg_config_args=gtk+-2.0
|
||||
+ for module in . $4
|
||||
+ do
|
||||
+ case "$module" in
|
||||
+ gthread)
|
||||
+ pkg_config_args="$pkg_config_args gthread-2.0"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ done
|
||||
+
|
||||
+ no_gtk=""
|
||||
+
|
||||
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
+
|
||||
+ if test x$PKG_CONFIG != xno ; then
|
||||
+ if pkg-config --atleast-pkgconfig-version 0.7 ; then
|
||||
+ :
|
||||
+ else
|
||||
+ echo "*** pkg-config too old; version 0.7 or better required."
|
||||
+ no_gtk=yes
|
||||
+ PKG_CONFIG=no
|
||||
+ fi
|
||||
+ else
|
||||
+ no_gtk=yes
|
||||
+ fi
|
||||
+
|
||||
+ min_gtk_version=ifelse([$1], ,2.0.0,$1)
|
||||
+ AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
|
||||
+
|
||||
+ if test x$PKG_CONFIG != xno ; then
|
||||
+ ## don't try to run the test against uninstalled libtool libs
|
||||
+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
|
||||
+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
|
||||
+ enable_gtktest=no
|
||||
+ fi
|
||||
+
|
||||
+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
|
||||
+ :
|
||||
+ else
|
||||
+ no_gtk=yes
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
+ if test x"$no_gtk" = x ; then
|
||||
+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
|
||||
+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
|
||||
+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
+ if test "x$enable_gtktest" = "xyes" ; then
|
||||
+ ac_save_CFLAGS="$CFLAGS"
|
||||
+ ac_save_LIBS="$LIBS"
|
||||
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
+ LIBS="$GTK_LIBS $LIBS"
|
||||
+dnl
|
||||
+dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
|
||||
+dnl checks the results of pkg-config to some extent)
|
||||
+dnl
|
||||
+ rm -f conf.gtktest
|
||||
+ AC_TRY_RUN([
|
||||
+#include <gtk/gtk.h>
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+ int major, minor, micro;
|
||||
+ char *tmp_version;
|
||||
+
|
||||
+ fclose (fopen ("conf.gtktest", "w"));
|
||||
+
|
||||
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
+ tmp_version = g_strdup("$min_gtk_version");
|
||||
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
+ printf("%s, bad version string\n", "$min_gtk_version");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
+ if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
+ (gtk_minor_version != $gtk_config_minor_version) ||
|
||||
+ (gtk_micro_version != $gtk_config_micro_version))
|
||||
+ {
|
||||
+ printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
+ printf ("*** was found! If pkg-config was correct, then it is best\n");
|
||||
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
+ printf("*** required on your system.\n");
|
||||
+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
|
||||
+ printf("*** to point to the correct configuration files\n");
|
||||
+ }
|
||||
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
+ (gtk_micro_version != GTK_MICRO_VERSION))
|
||||
+ {
|
||||
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
+ printf("*** library (version %d.%d.%d)\n",
|
||||
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if ((gtk_major_version > major) ||
|
||||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
+ {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
+ major, minor, micro);
|
||||
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
+ printf("***\n");
|
||||
+ printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
|
||||
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
|
||||
+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
|
||||
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
+ printf("*** so that the correct libraries are found at run-time))\n");
|
||||
+ }
|
||||
+ }
|
||||
+ return 1;
|
||||
+}
|
||||
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
+ CFLAGS="$ac_save_CFLAGS"
|
||||
+ LIBS="$ac_save_LIBS"
|
||||
+ fi
|
||||
+ fi
|
||||
+ if test "x$no_gtk" = x ; then
|
||||
+ AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
||||
+ ifelse([$2], , :, [$2])
|
||||
+ else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ if test "$PKG_CONFIG" = "no" ; then
|
||||
+ echo "*** A new enough version of pkg-config was not found."
|
||||
+ echo "*** See http://pkgconfig.sourceforge.net"
|
||||
+ else
|
||||
+ if test -f conf.gtktest ; then
|
||||
+ :
|
||||
+ else
|
||||
+ echo "*** Could not run GTK+ test program, checking why..."
|
||||
+ ac_save_CFLAGS="$CFLAGS"
|
||||
+ ac_save_LIBS="$LIBS"
|
||||
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
+ LIBS="$LIBS $GTK_LIBS"
|
||||
+ AC_TRY_LINK([
|
||||
+#include <gtk/gtk.h>
|
||||
+#include <stdio.h>
|
||||
+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
+ [ echo "*** The test program compiled, but did not run. This usually means"
|
||||
+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
|
||||
+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
|
||||
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
+ echo "*** is required on your system"
|
||||
+ echo "***"
|
||||
+ echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
|
||||
+ CFLAGS="$ac_save_CFLAGS"
|
||||
+ LIBS="$ac_save_LIBS"
|
||||
+ fi
|
||||
+ fi
|
||||
+ GTK_CFLAGS=""
|
||||
+ GTK_LIBS=""
|
||||
+ ifelse([$3], , :, [$3])
|
||||
+ fi
|
||||
+ AC_SUBST(GTK_CFLAGS)
|
||||
+ AC_SUBST(GTK_LIBS)
|
||||
+ rm -f conf.gtktest
|
||||
+])
|
||||
diff -Naur lame-3.98.4/Makefile.am lame-3.98.4.patch/Makefile.am
|
||||
--- lame-3.98.4/Makefile.am 2010-02-26 23:33:06.000000000 +0100
|
||||
+++ lame-3.98.4.patch/Makefile.am 2011-03-25 12:15:37.951078720 +0100
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
include $(top_srcdir)/Makefile.am.global
|
||||
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
+
|
||||
.PHONY: test
|
||||
|
||||
SUBDIRS = mpglib libmp3lame frontend Dll debian doc include misc dshow ACM \
|
||||
diff -Naur lame-3.98.4/Makefile.am.global lame-3.98.4.patch/Makefile.am.global
|
||||
--- lame-3.98.4/Makefile.am.global 2006-06-03 15:07:36.000000000 +0200
|
||||
+++ lame-3.98.4.patch/Makefile.am.global 2011-03-25 12:15:25.020333213 +0100
|
||||
@@ -3,5 +3,4 @@
|
||||
# global section for every Makefile.am
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.9 foreign $(top_srcdir)/ansi2knr
|
||||
-
|
||||
# end global section
|
||||
@@ -44,6 +44,7 @@ cd $PKG_BUILD
|
||||
--with-iso-info \
|
||||
--with-iso-read \
|
||||
--without-versioned-libs \
|
||||
--with-libiconv-prefix="$SYSROOT_PREFIX/usr" \
|
||||
|
||||
make -C lib
|
||||
make -C include
|
||||
|
||||
@@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/libcdio/"
|
||||
PKG_URL="http://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_DEPENDS="libiconv"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="libcdio: A CD-ROM reading and control library"
|
||||
|
||||
@@ -32,5 +32,4 @@ cd $PKG_BUILD
|
||||
--with-ogg=$SYSROOT_PREFIX/usr
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
||||
|
||||
@@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.wavpack.com"
|
||||
PKG_URL="http://www.wavpack.com/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_DEPENDS="libiconv"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="wavpack: a completely open audio compression format"
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
# mysql fails to build with LTO support
|
||||
strip_lto
|
||||
|
||||
cd $PKG_BUILD
|
||||
ac_cv_c_stack_direction=-1 \
|
||||
ac_cv_sys_restartable_syscalls=yes \
|
||||
@@ -43,8 +46,6 @@ ac_cv_sys_restartable_syscalls=yes \
|
||||
--with-big-tables \
|
||||
--with-mysqld-user=mysqld \
|
||||
--with-extra-charsets=all \
|
||||
--with-charset=utf8 \
|
||||
--with-collation=utf8_unicode_ci \
|
||||
--with-pthread \
|
||||
--with-named-thread-libs=-lpthread \
|
||||
--enable-thread-safe-client \
|
||||
|
||||
@@ -23,4 +23,7 @@
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/libmysql/.libs/libmysqlclient.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libmysql/.libs/libmysqlclient.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/share/mysql/charsets
|
||||
cp -R $PKG_BUILD/sql/share/charsets/*.xml $INSTALL/usr/share/mysql/charsets
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mysql"
|
||||
PKG_VERSION="5.1.54"
|
||||
PKG_VERSION="5.1.55"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
|
||||
@@ -37,7 +37,6 @@ cd $PKG_BUILD
|
||||
--enable-dynamic-extensions \
|
||||
--with-gnu-ld
|
||||
|
||||
|
||||
make
|
||||
|
||||
$STRIP .libs/sqlite3
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="sqlite"
|
||||
PKG_VERSION="autoconf-3070400"
|
||||
PKG_VERSION="autoconf-3070500"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="PublicDomain"
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
strip_lto
|
||||
|
||||
export bash_cv_have_mbstate_t=set
|
||||
|
||||
export CC_FOR_BUILD="$HOST_CC"
|
||||
@@ -38,5 +40,6 @@ mkdir -p objdir && cd objdir
|
||||
--without-x \
|
||||
--disable-tui \
|
||||
--disable-libada \
|
||||
--disable-werror \
|
||||
|
||||
make
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="w_scan"
|
||||
PKG_VERSION="20101204"
|
||||
PKG_VERSION="20110306"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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
|
||||
@@ -23,17 +24,15 @@
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
||||
cp -P libattr/.libs/*.so* $SYSROOT_PREFIX/usr/lib/
|
||||
28
packages/devel/attr/install
Executable file
28
packages/devel/attr/install
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libattr/.libs/*.so* $INSTALL/usr/lib
|
||||
|
||||
35
packages/devel/attr/meta
Normal file
35
packages/devel/attr/meta
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="attr"
|
||||
PKG_VERSION="2.4.44"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://download.savannah.gnu.org/releases-noredirect/attr/$PKG_NAME-$PKG_VERSION.src.tar.gz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="accessibility"
|
||||
PKG_SHORTDESC="attr: Extended Attributes Of Filesystem Objects"
|
||||
PKG_LONGDESC="Extended attributes are name:value pairs associated permanently with files and directories, similar to the environment strings associated with a process. An attribute may be defined or undefined. If it is defined, its value may be empty or non-empty. Extended attributes are extensions to the normal attributes which are associated with all inodes in the system (i.e. the stat(2) data). They are often used to provide additional functionality to a filesystem - for example, additional security features such as Access Control Lists (ACLs) may be implemented using extended attributes."
|
||||
PKG_IS_ADDON="no"
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="boost"
|
||||
PKG_VERSION="1_45_0"
|
||||
PKG_VERSION="1_46_0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
|
||||
@@ -26,7 +26,7 @@ PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain dbus-host gtk-doc"
|
||||
PKG_BUILD_DEPENDS="toolchain gtk-doc"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="glib-host: C support library"
|
||||
|
||||
@@ -52,6 +52,7 @@ glib_cv_stack_grows='no' \
|
||||
--disable-dtrace \
|
||||
--disable-systemtap \
|
||||
--disable-gcov \
|
||||
--with-libiconv \
|
||||
--enable-Bsymbolic \
|
||||
--disable-rebuilds \
|
||||
--disable-gtk-doc \
|
||||
@@ -60,10 +61,8 @@ make
|
||||
|
||||
$MAKEINSTALL
|
||||
|
||||
#mkdir -p $SYSROOT_PREFIX/usr/include/glib-2.0
|
||||
# cp glib/glibconfig.h $SYSROOT_PREFIX/usr/include/glib-2.0
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||
cp g*-2.0.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/share/aclocal
|
||||
cp ../m4macros/glib-gettext.m4 $SYSROOT_PREFIX/usr/share/aclocal
|
||||
cp ../m4macros/glib-gettext.m4 $SYSROOT_PREFIX/usr/share/aclocal
|
||||
|
||||
@@ -38,4 +38,3 @@ mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/.build-target/gio/.libs/libgio*.so* $INSTALL/usr/lib
|
||||
rm -rf $INSTALL/usr/lib/libgio*.so*T
|
||||
|
||||
cp $PKG_BUILD/.build-target/glib/libcharset/charset.alias $INSTALL/usr/lib
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="glib"
|
||||
PKG_VERSION="2.27.5"
|
||||
PKG_VERSION="2.28.5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.27/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="zlib dbus"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib dbus gtk-doc glib-host"
|
||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.28/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="zlib libiconv"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib libiconv gtk-doc glib-host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="glib: C support library"
|
||||
|
||||
36
packages/devel/libcap/build
Executable file
36
packages/devel/libcap/build
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
make CC=$HOST_CC -C libcap _makenames
|
||||
|
||||
setup_toolchain target
|
||||
|
||||
make CC=$TARGET_CC
|
||||
|
||||
$MAKEINSTALL -j1 RAISE_SETFCAP=no
|
||||
27
packages/devel/libcap/install
Executable file
27
packages/devel/libcap/install
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, 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
|
||||
35
packages/devel/libcap/meta
Normal file
35
packages/devel/libcap/meta
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libcap"
|
||||
PKG_VERSION="2.20"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="attr"
|
||||
PKG_BUILD_DEPENDS="toolchain attr"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="libcap: A library for getting and setting POSIX.1e capabilities"
|
||||
PKG_LONGDESC="As of Linux 2.2.0, the power of the superuser has been partitioned into a set of discrete capabilities (in other places, these capabilities are know as privileges). The contents of the libcap package are a library and a number of simple programs that are intended to show how an application/daemon can be protected (with wrappers) or rewritten to take advantage of this fine grained approach to constraining the danger to your system from programs running as 'root'."
|
||||
PKG_IS_ADDON="no"
|
||||
@@ -23,5 +23,18 @@
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
mkdir -p $SYSROOT_PREFIX/usr/share/aclocal
|
||||
cp srcm4/*.m4 $SYSROOT_PREFIX/usr/share/aclocal
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-nls \
|
||||
--disable-extra-encodings \
|
||||
--with-gnu-ld
|
||||
|
||||
make
|
||||
$MAKEINSTALL
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/share/aclocal
|
||||
cp srcm4/*.m4 $SYSROOT_PREFIX/usr/share/aclocal
|
||||
|
||||
28
packages/devel/libiconv/install
Executable file
28
packages/devel/libiconv/install
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/lib/.libs/*.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libcharset/lib/.libs/*.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/lib/charset.alias $INSTALL/usr/lib
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="ncurses"
|
||||
PKG_VERSION="5.7"
|
||||
PKG_VERSION="5.8"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="Mesa"
|
||||
PKG_VERSION="7.10"
|
||||
PKG_VERSION="7.10.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.mesa3d.org/"
|
||||
PKG_URL="ftp://ftp.freedesktop.org/pub/mesa/$PKG_VERSION/MesaLib-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="libXdamage libdrm talloc expat libXext libXfixes libXxf86vm libxcb libX11"
|
||||
PKG_BUILD_DEPENDS="toolchain Python makedepend libxml2-host talloc expat glproto dri2proto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11"
|
||||
PKG_DEPENDS="libXdamage libdrm expat libXext libXfixes libXxf86vm libxcb libX11"
|
||||
PKG_BUILD_DEPENDS="toolchain Python makedepend libxml2-host expat glproto dri2proto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="graphics"
|
||||
PKG_SHORTDESC="mesa: 3-D graphics library with OpenGL API"
|
||||
@@ -36,6 +36,6 @@ PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
if [ "$MESA_MASTER" = "yes" ]; then
|
||||
PKG_VERSION="20110110"
|
||||
PKG_VERSION="ee8d182"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
fi
|
||||
|
||||
15
packages/graphics/Mesa/patches/Mesa-7.10.1-__atom.patch
Normal file
15
packages/graphics/Mesa/patches/Mesa-7.10.1-__atom.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/r200/r200_cmdbuf.c Mesa-7.10.1-new/src/mesa/drivers/dri/r200/r200_cmdbuf.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/r200/r200_cmdbuf.c 2011-03-02 17:30:39.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/r200/r200_cmdbuf.c 2011-03-02 17:31:59.000000000 -0800
|
||||
@@ -47,9 +47,8 @@
|
||||
*/
|
||||
#define insert_at_tail_if(atom_list, atom) \
|
||||
do { \
|
||||
- struct radeon_state_atom* __atom = (atom); \
|
||||
- if (__atom->check) \
|
||||
- insert_at_tail((atom_list), __atom); \
|
||||
+ if ((atom)->check) \
|
||||
+ insert_at_tail((atom_list), (atom)); \
|
||||
} while(0)
|
||||
|
||||
void r200SetUpAtomList( r200ContextPtr rmesa )
|
||||
208
packages/graphics/Mesa/patches/Mesa-7.10.1-libdrm_nouveau.patch
Normal file
208
packages/graphics/Mesa/patches/Mesa-7.10.1-libdrm_nouveau.patch
Normal file
@@ -0,0 +1,208 @@
|
||||
diff -Naur Mesa-7.10.1-old/src/gallium/drivers/nv50/nv50_context.h Mesa-7.10.1-new/src/gallium/drivers/nv50/nv50_context.h
|
||||
--- Mesa-7.10.1-old/src/gallium/drivers/nv50/nv50_context.h 2010-12-15 15:02:44.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/gallium/drivers/nv50/nv50_context.h 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include "nouveau/nouveau_winsys.h"
|
||||
#include "nouveau/nouveau_gldefs.h"
|
||||
+/* Hack to silence warnings caused by nouveau/nouveau_stateobj.h using BEGIN_BIND marcro */
|
||||
+#include <nouveau/nv04_pushbuf.h>
|
||||
#include "nouveau/nouveau_stateobj.h"
|
||||
#include "nv50_reg.h"
|
||||
|
||||
diff -Naur Mesa-7.10.1-old/src/gallium/drivers/nvfx/nv04_2d.c Mesa-7.10.1-new/src/gallium/drivers/nvfx/nv04_2d.c
|
||||
--- Mesa-7.10.1-old/src/gallium/drivers/nvfx/nv04_2d.c 2011-01-25 15:52:45.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/gallium/drivers/nvfx/nv04_2d.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <nouveau/nouveau_bo.h>
|
||||
#include <nouveau/nouveau_notifier.h>
|
||||
#include <nouveau/nouveau_grobj.h>
|
||||
+#include <nouveau/nv04_pushbuf.h>
|
||||
#include "nv04_2d.h"
|
||||
|
||||
#include "nouveau/nv_object.xml.h"
|
||||
diff -Naur Mesa-7.10.1-old/src/gallium/drivers/nvfx/nvfx_buffer.c Mesa-7.10.1-new/src/gallium/drivers/nvfx/nvfx_buffer.c
|
||||
--- Mesa-7.10.1-old/src/gallium/drivers/nvfx/nvfx_buffer.c 2010-12-15 15:02:44.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/gallium/drivers/nvfx/nvfx_buffer.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -1,4 +1,3 @@
|
||||
-
|
||||
#include "util/u_inlines.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "util/u_math.h"
|
||||
diff -Naur Mesa-7.10.1-old/src/gallium/drivers/nvfx/nvfx_screen.c Mesa-7.10.1-new/src/gallium/drivers/nvfx/nvfx_screen.c
|
||||
--- Mesa-7.10.1-old/src/gallium/drivers/nvfx/nvfx_screen.c 2011-01-25 15:52:45.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/gallium/drivers/nvfx/nvfx_screen.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -10,6 +10,8 @@
|
||||
#include "nvfx_resource.h"
|
||||
#include "nvfx_tex.h"
|
||||
|
||||
+#include "nouveau/nv04_pushbuf.h"
|
||||
+
|
||||
#define NV30_3D_CHIPSET_3X_MASK 0x00000003
|
||||
#define NV34_3D_CHIPSET_3X_MASK 0x00000010
|
||||
#define NV35_3D_CHIPSET_3X_MASK 0x000001e0
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv04_driver.h Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv04_driver.h
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv04_driver.h 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv04_driver.h 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -28,6 +28,7 @@
|
||||
#define __NV04_DRIVER_H__
|
||||
|
||||
#include "nv04_context.h"
|
||||
+#include "nv04_pushbuf.h"
|
||||
|
||||
enum {
|
||||
NOUVEAU_STATE_BLEND = NUM_NOUVEAU_STATE,
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_render.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_render.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_render.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_render.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "nouveau_driver.h"
|
||||
#include "nouveau_context.h"
|
||||
#include "nv10_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
|
||||
#define NUM_VERTEX_ATTRS 8
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_fb.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_fb.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_fb.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_fb.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "nouveau_util.h"
|
||||
#include "nv_object.xml.h"
|
||||
#include "nv10_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
|
||||
static inline unsigned
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_frag.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_frag.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_frag.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "nv10_3d.xml.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv10_driver.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
#define RC_IN_SHIFT_A 24
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_polygon.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_polygon.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_polygon.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_polygon.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv10_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_raster.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_raster.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_raster.c 2011-01-25 15:52:45.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_raster.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv10_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_tex.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_tex.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_tex.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_tex.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "nouveau_texture.h"
|
||||
#include "nv10_3d.xml.h"
|
||||
#include "nouveau_util.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv10_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_render.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_render.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_render.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_render.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "nouveau_driver.h"
|
||||
#include "nouveau_context.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
#define NUM_VERTEX_ATTRS 16
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_fb.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_fb.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_fb.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_fb.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
static inline unsigned
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_frag.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_frag.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_frag.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_frag.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "nouveau_context.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
#include "nv10_driver.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_polygon.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_polygon.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_polygon.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_polygon.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "nouveau_context.h"
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_raster.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_raster.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_raster.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_raster.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_tex.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_tex.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_tex.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_tex.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "nouveau_texture.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
#include "nouveau_util.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
void
|
||||
diff -Naur Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c
|
||||
--- Mesa-7.10.1-old/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c 2010-12-14 13:43:15.000000000 -0800
|
||||
+++ Mesa-7.10.1-new/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c 2011-03-02 17:31:09.000000000 -0800
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nouveau_gldefs.h"
|
||||
#include "nouveau_util.h"
|
||||
#include "nv20_3d.xml.h"
|
||||
+#include "nv04_driver.h"
|
||||
#include "nv10_driver.h"
|
||||
#include "nv20_driver.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="glew"
|
||||
PKG_VERSION="1.5.7"
|
||||
PKG_VERSION="1.5.8"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libdrm"
|
||||
PKG_VERSION="2.4.23"
|
||||
PKG_VERSION="2.4.24"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
@@ -36,6 +36,6 @@ PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
if [ "$LIBDRM_MASTER" = "yes" ]; then
|
||||
PKG_VERSION="20101222"
|
||||
PKG_VERSION="5cb554a"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
fi
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libjpeg-turbo"
|
||||
PKG_VERSION="1.0.1"
|
||||
PKG_VERSION="1.1.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/.libs/libpng14.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/.libs/libpng*.so* $INSTALL/usr/lib
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
diff -Naur libpng-1.4.1/pngconf.h libpng-1.4.1.patch/pngconf.h
|
||||
--- libpng-1.4.1/pngconf.h 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngconf.h 2010-04-16 21:09:43.641352386 +0200
|
||||
@@ -869,6 +869,10 @@
|
||||
diff -Naur libpng-1.4.5/pngconf.h libpng-1.4.5.patch/pngconf.h
|
||||
--- libpng-1.4.5/pngconf.h 2010-12-09 14:48:10.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngconf.h 2011-02-08 11:49:58.016628521 +0100
|
||||
@@ -894,6 +894,10 @@
|
||||
# define PNG_READ_tRNS_SUPPORTED
|
||||
# define PNG_tRNS_SUPPORTED
|
||||
#endif
|
||||
@@ -12,7 +12,7 @@ diff -Naur libpng-1.4.1/pngconf.h libpng-1.4.1.patch/pngconf.h
|
||||
#ifndef PNG_NO_READ_zTXt
|
||||
# define PNG_READ_zTXt_SUPPORTED
|
||||
# define PNG_zTXt_SUPPORTED
|
||||
@@ -1028,6 +1032,14 @@
|
||||
@@ -1053,6 +1057,14 @@
|
||||
# define PNG_TEXT_SUPPORTED
|
||||
# endif
|
||||
#endif
|
||||
@@ -27,9 +27,9 @@ diff -Naur libpng-1.4.1/pngconf.h libpng-1.4.1.patch/pngconf.h
|
||||
|
||||
#ifdef PNG_WRITE_tIME_SUPPORTED
|
||||
# ifndef PNG_NO_CONVERT_tIME
|
||||
diff -Naur libpng-1.4.1/pngget.c libpng-1.4.1.patch/pngget.c
|
||||
--- libpng-1.4.1/pngget.c 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngget.c 2010-04-16 21:09:34.942347204 +0200
|
||||
diff -Naur libpng-1.4.5/pngget.c libpng-1.4.5.patch/pngget.c
|
||||
--- libpng-1.4.5/pngget.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngget.c 2011-02-08 11:49:58.009628646 +0100
|
||||
@@ -842,6 +842,167 @@
|
||||
}
|
||||
#endif
|
||||
@@ -198,10 +198,10 @@ diff -Naur libpng-1.4.1/pngget.c libpng-1.4.1.patch/pngget.c
|
||||
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
||||
png_uint_32 PNGAPI
|
||||
png_get_unknown_chunks(png_structp png_ptr, png_infop info_ptr,
|
||||
diff -Naur libpng-1.4.1/png.h libpng-1.4.1.patch/png.h
|
||||
--- libpng-1.4.1/png.h 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/png.h 2010-04-16 21:09:36.985444853 +0200
|
||||
@@ -888,6 +888,19 @@
|
||||
diff -Naur libpng-1.4.5/png.h libpng-1.4.5.patch/png.h
|
||||
--- libpng-1.4.5/png.h 2010-12-09 14:48:10.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/png.h 2011-02-08 11:49:58.011628611 +0100
|
||||
@@ -902,6 +902,19 @@
|
||||
png_fixed_point int_y_blue PNG_DEPSTRUCT;
|
||||
#endif
|
||||
|
||||
@@ -221,7 +221,7 @@ diff -Naur libpng-1.4.1/png.h libpng-1.4.1.patch/png.h
|
||||
} png_info;
|
||||
|
||||
typedef png_info FAR * png_infop;
|
||||
@@ -985,6 +998,10 @@
|
||||
@@ -999,6 +1012,10 @@
|
||||
#define PNG_INFO_sPLT 0x2000 /* ESR, 1.0.6 */
|
||||
#define PNG_INFO_sCAL 0x4000 /* ESR, 1.0.6 */
|
||||
#define PNG_INFO_IDAT 0x8000L /* ESR, 1.0.6 */
|
||||
@@ -232,7 +232,7 @@ diff -Naur libpng-1.4.1/png.h libpng-1.4.1.patch/png.h
|
||||
|
||||
/* This is used for the transformation routines, as some of them
|
||||
* change these values for the row. It also should enable using
|
||||
@@ -1026,6 +1043,10 @@
|
||||
@@ -1040,6 +1057,10 @@
|
||||
typedef void (PNGAPI *png_progressive_end_ptr) PNGARG((png_structp, png_infop));
|
||||
typedef void (PNGAPI *png_progressive_row_ptr) PNGARG((png_structp, png_bytep,
|
||||
png_uint_32, int));
|
||||
@@ -243,7 +243,7 @@ diff -Naur libpng-1.4.1/png.h libpng-1.4.1.patch/png.h
|
||||
#endif
|
||||
|
||||
#if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \
|
||||
@@ -1445,6 +1466,36 @@
|
||||
@@ -1459,6 +1480,36 @@
|
||||
png_uint_32 user_chunk_cache_max PNG_DEPSTRUCT;
|
||||
#endif
|
||||
|
||||
@@ -280,94 +280,94 @@ diff -Naur libpng-1.4.1/png.h libpng-1.4.1.patch/png.h
|
||||
/* New member added in libpng-1.0.25 and 1.2.17 */
|
||||
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
||||
/* Storage for unknown chunk that the library doesn't recognize. */
|
||||
@@ -1773,6 +1824,18 @@
|
||||
extern PNG_EXPORT(void,png_write_image) PNGARG((png_structp png_ptr,
|
||||
@@ -1796,6 +1847,18 @@
|
||||
PNG_EXPORT(void,png_write_image) PNGARG((png_structp png_ptr,
|
||||
png_bytepp image));
|
||||
|
||||
+#ifdef PNG_WRITE_APNG_SUPPORTED
|
||||
+extern PNG_EXPORT (void,png_write_frame_head) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT (void,png_write_frame_head) PNGARG((png_structp png_ptr,
|
||||
+ png_infop png_info, png_bytepp row_pointers,
|
||||
+ png_uint_32 width, png_uint_32 height,
|
||||
+ png_uint_32 x_offset, png_uint_32 y_offset,
|
||||
+ png_uint_16 delay_num, png_uint_16 delay_den, png_byte dispose_op,
|
||||
+ png_byte blend_op));
|
||||
+
|
||||
+extern PNG_EXPORT (void,png_write_frame_tail) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT (void,png_write_frame_tail) PNGARG((png_structp png_ptr,
|
||||
+ png_infop png_info));
|
||||
+#endif
|
||||
+
|
||||
/* Write the end of the PNG file. */
|
||||
extern PNG_EXPORT(void,png_write_end) PNGARG((png_structp png_ptr,
|
||||
PNG_EXPORT(void,png_write_end) PNGARG((png_structp png_ptr,
|
||||
png_infop info_ptr));
|
||||
@@ -2017,6 +2080,11 @@
|
||||
@@ -2040,6 +2103,11 @@
|
||||
png_voidp progressive_ptr,
|
||||
png_progressive_info_ptr info_fn, png_progressive_row_ptr row_fn,
|
||||
png_progressive_end_ptr end_fn));
|
||||
+#ifdef PNG_READ_APNG_SUPPORTED
|
||||
+extern PNG_EXPORT(void,png_set_progressive_frame_fn) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT(void,png_set_progressive_frame_fn) PNGARG((png_structp png_ptr,
|
||||
+ png_progressive_frame_ptr frame_info_fn,
|
||||
+ png_progressive_frame_ptr frame_end_fn));
|
||||
+#endif
|
||||
|
||||
/* Returns the user pointer associated with the push read functions */
|
||||
extern PNG_EXPORT(png_voidp,png_get_progressive_ptr)
|
||||
@@ -2443,6 +2511,53 @@
|
||||
PNG_EXPORT(png_voidp,png_get_progressive_ptr)
|
||||
@@ -2466,6 +2534,53 @@
|
||||
#endif
|
||||
#endif /* PNG_sCAL_SUPPORTED || PNG_WRITE_sCAL_SUPPORTED */
|
||||
|
||||
+#ifdef PNG_APNG_SUPPORTED
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_acTL) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT(png_uint_32,png_get_acTL) PNGARG((png_structp png_ptr,
|
||||
+ png_infop info_ptr, png_uint_32 *num_frames, png_uint_32 *num_plays));
|
||||
+extern PNG_EXPORT(png_uint_32,png_set_acTL) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT(png_uint_32,png_set_acTL) PNGARG((png_structp png_ptr,
|
||||
+ png_infop info_ptr, png_uint_32 num_frames, png_uint_32 num_plays));
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_num_frames) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT(png_uint_32,png_get_num_frames) PNGARG((png_structp png_ptr,
|
||||
+ png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_num_plays)
|
||||
+PNG_EXPORT(png_uint_32,png_get_num_plays)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_next_frame_fcTL)
|
||||
+PNG_EXPORT(png_uint_32,png_get_next_frame_fcTL)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 *width,
|
||||
+ png_uint_32 *height, png_uint_32 *x_offset, png_uint_32 *y_offset,
|
||||
+ png_uint_16 *delay_num, png_uint_16 *delay_den, png_byte *dispose_op,
|
||||
+ png_byte *blend_op));
|
||||
+extern PNG_EXPORT(png_uint_32,png_set_next_frame_fcTL)
|
||||
+PNG_EXPORT(png_uint_32,png_set_next_frame_fcTL)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 width,
|
||||
+ png_uint_32 height, png_uint_32 x_offset, png_uint_32 y_offset,
|
||||
+ png_uint_16 delay_num, png_uint_16 delay_den, png_byte dispose_op,
|
||||
+ png_byte blend_op));
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_next_frame_width)
|
||||
+PNG_EXPORT(png_uint_32,png_get_next_frame_width)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_next_frame_height)
|
||||
+PNG_EXPORT(png_uint_32,png_get_next_frame_height)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_next_frame_x_offset)
|
||||
+PNG_EXPORT(png_uint_32,png_get_next_frame_x_offset)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_32,png_get_next_frame_y_offset)
|
||||
+PNG_EXPORT(png_uint_32,png_get_next_frame_y_offset)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_16,png_get_next_frame_delay_num)
|
||||
+PNG_EXPORT(png_uint_16,png_get_next_frame_delay_num)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_16,png_get_next_frame_delay_den)
|
||||
+PNG_EXPORT(png_uint_16,png_get_next_frame_delay_den)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_byte,png_get_next_frame_dispose_op)
|
||||
+PNG_EXPORT(png_byte,png_get_next_frame_dispose_op)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_byte,png_get_next_frame_blend_op)
|
||||
+PNG_EXPORT(png_byte,png_get_next_frame_blend_op)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_byte,png_get_first_frame_is_hidden)
|
||||
+PNG_EXPORT(png_byte,png_get_first_frame_is_hidden)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr));
|
||||
+extern PNG_EXPORT(png_uint_32,png_set_first_frame_is_hidden)
|
||||
+PNG_EXPORT(png_uint_32,png_set_first_frame_is_hidden)
|
||||
+ PNGARG((png_structp png_ptr, png_infop info_ptr, png_byte is_hidden));
|
||||
+#endif /* PNG_APNG_SUPPORTED */
|
||||
+
|
||||
+#ifdef PNG_READ_APNG_SUPPORTED
|
||||
+extern PNG_EXPORT(void,png_read_frame_head) PNGARG((png_structp png_ptr,
|
||||
+PNG_EXPORT(void,png_read_frame_head) PNGARG((png_structp png_ptr,
|
||||
+ png_infop info_ptr));
|
||||
+#endif
|
||||
+
|
||||
#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
|
||||
/* Provide a list of chunks and how they are to be handled, if the built-in
|
||||
handling or default unknown chunk handling is not desired. Any chunks not
|
||||
diff -Naur libpng-1.4.1/pngpread.c libpng-1.4.1.patch/pngpread.c
|
||||
--- libpng-1.4.1/pngpread.c 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngpread.c 2010-04-16 21:09:45.794352317 +0200
|
||||
diff -Naur libpng-1.4.5/pngpread.c libpng-1.4.5.patch/pngpread.c
|
||||
--- libpng-1.4.5/pngpread.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngpread.c 2011-02-08 11:49:58.023628393 +0100
|
||||
@@ -205,6 +205,11 @@
|
||||
#ifdef PNG_READ_zTXt_SUPPORTED
|
||||
PNG_zTXt;
|
||||
@@ -614,7 +614,7 @@ diff -Naur libpng-1.4.1/pngpread.c libpng-1.4.1.patch/pngpread.c
|
||||
}
|
||||
if (png_ptr->idat_size && png_ptr->save_buffer_size)
|
||||
{
|
||||
@@ -1716,6 +1904,17 @@
|
||||
@@ -1756,6 +1944,17 @@
|
||||
png_set_read_fn(png_ptr, progressive_ptr, png_push_fill_buffer);
|
||||
}
|
||||
|
||||
@@ -632,10 +632,10 @@ diff -Naur libpng-1.4.1/pngpread.c libpng-1.4.1.patch/pngpread.c
|
||||
png_voidp PNGAPI
|
||||
png_get_progressive_ptr(png_structp png_ptr)
|
||||
{
|
||||
diff -Naur libpng-1.4.1/pngpriv.h libpng-1.4.1.patch/pngpriv.h
|
||||
--- libpng-1.4.1/pngpriv.h 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngpriv.h 2010-04-16 21:09:39.167350934 +0200
|
||||
@@ -98,6 +98,10 @@
|
||||
diff -Naur libpng-1.4.5/pngpriv.h libpng-1.4.5.patch/pngpriv.h
|
||||
--- libpng-1.4.5/pngpriv.h 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngpriv.h 2011-02-08 11:49:58.013628575 +0100
|
||||
@@ -96,6 +96,10 @@
|
||||
#define PNG_BACKGROUND_IS_GRAY 0x800
|
||||
#define PNG_HAVE_PNG_SIGNATURE 0x1000
|
||||
#define PNG_HAVE_CHUNK_AFTER_IDAT 0x2000 /* Have another chunk after IDAT */
|
||||
@@ -646,7 +646,7 @@ diff -Naur libpng-1.4.1/pngpriv.h libpng-1.4.1.patch/pngpriv.h
|
||||
|
||||
/* Flags for the transformations the PNG library does on the image data */
|
||||
#define PNG_BGR 0x0001
|
||||
@@ -231,6 +235,14 @@
|
||||
@@ -229,6 +233,14 @@
|
||||
#define PNG_tIME PNG_CONST png_byte png_tIME[5] = {116, 73, 77, 69, '\0'}
|
||||
#define PNG_tRNS PNG_CONST png_byte png_tRNS[5] = {116, 82, 78, 83, '\0'}
|
||||
#define PNG_zTXt PNG_CONST png_byte png_zTXt[5] = {122, 84, 88, 116, '\0'}
|
||||
@@ -661,7 +661,7 @@ diff -Naur libpng-1.4.1/pngpriv.h libpng-1.4.1.patch/pngpriv.h
|
||||
|
||||
|
||||
/* Inhibit C++ name-mangling for libpng functions but not for system calls. */
|
||||
@@ -468,6 +480,17 @@
|
||||
@@ -469,6 +481,17 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -679,7 +679,7 @@ diff -Naur libpng-1.4.1/pngpriv.h libpng-1.4.1.patch/pngpriv.h
|
||||
/* Called when finished processing a row of data */
|
||||
PNG_EXTERN void png_write_finish_row PNGARG((png_structp png_ptr));
|
||||
|
||||
@@ -520,6 +543,20 @@
|
||||
@@ -521,6 +544,20 @@
|
||||
PNG_EXTERN void png_read_transform_info PNGARG((png_structp png_ptr,
|
||||
png_infop info_ptr));
|
||||
|
||||
@@ -700,7 +700,7 @@ diff -Naur libpng-1.4.1/pngpriv.h libpng-1.4.1.patch/pngpriv.h
|
||||
/* These are the functions that do the transformations */
|
||||
#ifdef PNG_READ_FILLER_SUPPORTED
|
||||
PNG_EXTERN void png_do_read_filler PNGARG((png_row_infop row_info,
|
||||
@@ -736,6 +773,25 @@
|
||||
@@ -737,6 +774,25 @@
|
||||
png_uint_32 length));
|
||||
#endif
|
||||
|
||||
@@ -726,10 +726,10 @@ diff -Naur libpng-1.4.1/pngpriv.h libpng-1.4.1.patch/pngpriv.h
|
||||
PNG_EXTERN void png_handle_unknown PNGARG((png_structp png_ptr,
|
||||
png_infop info_ptr, png_uint_32 length));
|
||||
|
||||
diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
--- libpng-1.4.1/pngread.c 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngread.c 2010-04-16 21:09:26.430319940 +0200
|
||||
@@ -300,6 +300,11 @@
|
||||
diff -Naur libpng-1.4.5/pngread.c libpng-1.4.5.patch/pngread.c
|
||||
--- libpng-1.4.5/pngread.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngread.c 2011-02-08 11:49:58.008628665 +0100
|
||||
@@ -278,6 +278,11 @@
|
||||
#ifdef PNG_READ_zTXt_SUPPORTED
|
||||
PNG_zTXt;
|
||||
#endif
|
||||
@@ -741,7 +741,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
png_uint_32 length = png_read_chunk_header(png_ptr);
|
||||
PNG_CONST png_bytep chunk_name = png_ptr->chunk_name;
|
||||
|
||||
@@ -343,6 +348,9 @@
|
||||
@@ -321,6 +326,9 @@
|
||||
!(png_ptr->mode & PNG_HAVE_PLTE))
|
||||
png_error(png_ptr, "Missing PLTE before IDAT");
|
||||
|
||||
@@ -751,7 +751,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
png_ptr->idat_size = length;
|
||||
png_ptr->mode |= PNG_HAVE_IDAT;
|
||||
break;
|
||||
@@ -415,12 +423,95 @@
|
||||
@@ -393,12 +401,95 @@
|
||||
else if (!png_memcmp(chunk_name, png_iTXt, 4))
|
||||
png_handle_iTXt(png_ptr, info_ptr, length);
|
||||
#endif
|
||||
@@ -847,7 +847,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
/* Optional call to update the users info_ptr structure */
|
||||
void PNGAPI
|
||||
png_read_update_info(png_structp png_ptr, png_infop info_ptr)
|
||||
@@ -461,6 +552,10 @@
|
||||
@@ -439,6 +530,10 @@
|
||||
png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row)
|
||||
{
|
||||
PNG_IDAT;
|
||||
@@ -858,7 +858,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
PNG_CONST int png_pass_dsp_mask[7] = {0xff, 0x0f, 0xff, 0x33, 0xff, 0x55,
|
||||
0xff};
|
||||
PNG_CONST int png_pass_mask[7] = {0x80, 0x08, 0x88, 0x22, 0xaa, 0x55, 0xff};
|
||||
@@ -596,13 +691,39 @@
|
||||
@@ -581,13 +676,39 @@
|
||||
{
|
||||
if (!(png_ptr->zstream.avail_in))
|
||||
{
|
||||
@@ -900,7 +900,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
}
|
||||
png_ptr->zstream.avail_in = (uInt)png_ptr->zbuf_size;
|
||||
png_ptr->zstream.next_in = png_ptr->zbuf;
|
||||
@@ -620,6 +741,9 @@
|
||||
@@ -605,6 +726,9 @@
|
||||
png_benign_error(png_ptr, "Extra compressed data");
|
||||
png_ptr->mode |= PNG_AFTER_IDAT;
|
||||
png_ptr->flags |= PNG_FLAG_ZLIB_FINISHED;
|
||||
@@ -910,7 +910,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
break;
|
||||
}
|
||||
if (ret != Z_OK)
|
||||
@@ -875,6 +999,11 @@
|
||||
@@ -860,6 +984,11 @@
|
||||
#ifdef PNG_READ_zTXt_SUPPORTED
|
||||
PNG_zTXt;
|
||||
#endif
|
||||
@@ -922,7 +922,7 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
png_uint_32 length = png_read_chunk_header(png_ptr);
|
||||
PNG_CONST png_bytep chunk_name = png_ptr->chunk_name;
|
||||
|
||||
@@ -974,6 +1103,14 @@
|
||||
@@ -959,6 +1088,14 @@
|
||||
else if (!png_memcmp(chunk_name, png_iTXt, 4))
|
||||
png_handle_iTXt(png_ptr, info_ptr, length);
|
||||
#endif
|
||||
@@ -937,10 +937,10 @@ diff -Naur libpng-1.4.1/pngread.c libpng-1.4.1.patch/pngread.c
|
||||
else
|
||||
png_handle_unknown(png_ptr, info_ptr, length);
|
||||
} while (!(png_ptr->mode & PNG_HAVE_IEND));
|
||||
diff -Naur libpng-1.4.1/pngrtran.c libpng-1.4.1.patch/pngrtran.c
|
||||
--- libpng-1.4.1/pngrtran.c 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngrtran.c 2010-04-16 21:09:53.311444698 +0200
|
||||
@@ -1325,7 +1325,7 @@
|
||||
diff -Naur libpng-1.4.5/pngrtran.c libpng-1.4.5.patch/pngrtran.c
|
||||
--- libpng-1.4.5/pngrtran.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngrtran.c 2011-02-08 11:49:58.034628193 +0100
|
||||
@@ -1335,7 +1335,7 @@
|
||||
* pixels. This check added to libpng-1.2.19
|
||||
*/
|
||||
#if (PNG_WARN_UNINITIALIZED_ROW==1)
|
||||
@@ -949,10 +949,10 @@ diff -Naur libpng-1.4.1/pngrtran.c libpng-1.4.1.patch/pngrtran.c
|
||||
#else
|
||||
png_warning(png_ptr, "Uninitialized row");
|
||||
#endif
|
||||
diff -Naur libpng-1.4.1/pngrutil.c libpng-1.4.1.patch/pngrutil.c
|
||||
--- libpng-1.4.1/pngrutil.c 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngrutil.c 2010-04-16 21:09:49.604444890 +0200
|
||||
@@ -434,6 +434,11 @@
|
||||
diff -Naur libpng-1.4.5/pngrutil.c libpng-1.4.5.patch/pngrutil.c
|
||||
--- libpng-1.4.5/pngrutil.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngrutil.c 2011-02-08 11:49:58.026628338 +0100
|
||||
@@ -499,6 +499,11 @@
|
||||
filter_type = buf[11];
|
||||
interlace_type = buf[12];
|
||||
|
||||
@@ -964,7 +964,7 @@ diff -Naur libpng-1.4.1/pngrutil.c libpng-1.4.1.patch/pngrutil.c
|
||||
/* Set internal variables */
|
||||
png_ptr->width = width;
|
||||
png_ptr->height = height;
|
||||
@@ -2318,6 +2323,172 @@
|
||||
@@ -2394,6 +2399,172 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1137,7 +1137,7 @@ diff -Naur libpng-1.4.1/pngrutil.c libpng-1.4.1.patch/pngrutil.c
|
||||
/* This function is called when we haven't found a handler for a
|
||||
chunk. If there isn't a problem with the chunk itself (ie bad
|
||||
chunk name, CRC, or a critical chunk), the chunk is silently ignored
|
||||
@@ -3353,4 +3524,73 @@
|
||||
@@ -3422,4 +3593,73 @@
|
||||
|
||||
png_ptr->flags |= PNG_FLAG_ROW_INIT;
|
||||
}
|
||||
@@ -1211,9 +1211,9 @@ diff -Naur libpng-1.4.1/pngrutil.c libpng-1.4.1.patch/pngrutil.c
|
||||
+}
|
||||
+#endif /* PNG_READ_APNG_SUPPORTED */
|
||||
#endif /* PNG_READ_SUPPORTED */
|
||||
diff -Naur libpng-1.4.1/pngset.c libpng-1.4.1.patch/pngset.c
|
||||
--- libpng-1.4.1/pngset.c 2010-02-25 12:38:29.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngset.c 2010-04-16 21:09:47.875332919 +0200
|
||||
diff -Naur libpng-1.4.5/pngset.c libpng-1.4.5.patch/pngset.c
|
||||
--- libpng-1.4.5/pngset.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngset.c 2011-02-08 11:49:58.024628375 +0100
|
||||
@@ -260,6 +260,11 @@
|
||||
info_ptr->rowbytes = 0;
|
||||
else
|
||||
@@ -1226,7 +1226,7 @@ diff -Naur libpng-1.4.1/pngset.c libpng-1.4.1.patch/pngset.c
|
||||
}
|
||||
|
||||
#ifdef PNG_oFFs_SUPPORTED
|
||||
@@ -932,6 +937,142 @@
|
||||
@@ -939,6 +944,142 @@
|
||||
}
|
||||
#endif /* PNG_sPLT_SUPPORTED */
|
||||
|
||||
@@ -1369,9 +1369,9 @@ diff -Naur libpng-1.4.1/pngset.c libpng-1.4.1.patch/pngset.c
|
||||
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
|
||||
void PNGAPI
|
||||
png_set_unknown_chunks(png_structp png_ptr,
|
||||
diff -Naur libpng-1.4.1/pngwrite.c libpng-1.4.1.patch/pngwrite.c
|
||||
--- libpng-1.4.1/pngwrite.c 2010-02-25 12:38:30.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngwrite.c 2010-04-16 21:09:40.967447171 +0200
|
||||
diff -Naur libpng-1.4.5/pngwrite.c libpng-1.4.5.patch/pngwrite.c
|
||||
--- libpng-1.4.5/pngwrite.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngwrite.c 2011-02-08 11:49:58.014628557 +0100
|
||||
@@ -57,6 +57,10 @@
|
||||
/* The rest of these check to see if the valid field has the appropriate
|
||||
* flag set, and if it does, writes the chunk.
|
||||
@@ -1434,10 +1434,10 @@ diff -Naur libpng-1.4.1/pngwrite.c libpng-1.4.1.patch/pngwrite.c
|
||||
+#endif /* PNG_WRITE_APNG_SUPPORTED */
|
||||
+
|
||||
#endif /* PNG_WRITE_SUPPORTED */
|
||||
diff -Naur libpng-1.4.1/pngwutil.c libpng-1.4.1.patch/pngwutil.c
|
||||
--- libpng-1.4.1/pngwutil.c 2010-02-25 12:38:30.000000000 +0100
|
||||
+++ libpng-1.4.1.patch/pngwutil.c 2010-04-16 21:09:51.260444582 +0200
|
||||
@@ -539,6 +539,11 @@
|
||||
diff -Naur libpng-1.4.5/pngwutil.c libpng-1.4.5.patch/pngwutil.c
|
||||
--- libpng-1.4.5/pngwutil.c 2010-12-09 14:48:11.000000000 +0100
|
||||
+++ libpng-1.4.5.patch/pngwutil.c 2011-02-08 11:49:58.031628246 +0100
|
||||
@@ -541,6 +541,11 @@
|
||||
/* Write the chunk */
|
||||
png_write_chunk(png_ptr, (png_bytep)png_IHDR, buf, (png_size_t)13);
|
||||
|
||||
@@ -1449,7 +1449,7 @@ diff -Naur libpng-1.4.1/pngwutil.c libpng-1.4.1.patch/pngwutil.c
|
||||
/* Initialize zlib with PNG info */
|
||||
png_ptr->zstream.zalloc = png_zalloc;
|
||||
png_ptr->zstream.zfree = png_zfree;
|
||||
@@ -661,6 +666,9 @@
|
||||
@@ -663,6 +668,9 @@
|
||||
png_write_IDAT(png_structp png_ptr, png_bytep data, png_size_t length)
|
||||
{
|
||||
PNG_IDAT;
|
||||
@@ -1459,7 +1459,7 @@ diff -Naur libpng-1.4.1/pngwutil.c libpng-1.4.1.patch/pngwutil.c
|
||||
|
||||
png_debug(1, "in png_write_IDAT");
|
||||
|
||||
@@ -705,7 +713,28 @@
|
||||
@@ -707,7 +715,28 @@
|
||||
"Invalid zlib compression method or flags in IDAT");
|
||||
}
|
||||
|
||||
@@ -1488,7 +1488,7 @@ diff -Naur libpng-1.4.1/pngwutil.c libpng-1.4.1.patch/pngwutil.c
|
||||
png_ptr->mode |= PNG_HAVE_IDAT;
|
||||
}
|
||||
|
||||
@@ -1712,6 +1741,66 @@
|
||||
@@ -1714,6 +1743,66 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1555,7 +1555,7 @@ diff -Naur libpng-1.4.1/pngwutil.c libpng-1.4.1.patch/pngwutil.c
|
||||
/* Initializes the row writing capability of libpng */
|
||||
void /* PRIVATE */
|
||||
png_write_start_row(png_structp png_ptr)
|
||||
@@ -2113,8 +2202,8 @@
|
||||
@@ -2115,8 +2204,8 @@
|
||||
#ifndef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
|
||||
if (png_ptr->row_number == 0 && filter_to_do == PNG_ALL_FILTERS)
|
||||
{
|
||||
@@ -1564,9 +1564,9 @@ diff -Naur libpng-1.4.1/pngwutil.c libpng-1.4.1.patch/pngwutil.c
|
||||
+ /* These use previous row */
|
||||
+ filter_to_do &= ~(PNG_FILTER_UP | PNG_FILTER_AVG | PNG_FILTER_PAETH);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -2783,4 +2872,39 @@
|
||||
@@ -2785,4 +2874,39 @@
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -23,4 +23,6 @@
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libtiff/.libs/*.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libtiff/.libs/libtiff.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libtiff/.libs/libtiffxx.so* $INSTALL/usr/lib
|
||||
rm -rf $INSTALL/usr/lib/libtiffxx.so*T
|
||||
@@ -28,8 +28,6 @@ mkdir -p $INSTALL/lib/modules/$VER/bcm_sta
|
||||
[ "$TARGET_ARCH" = "i386" ] && cp $PKG_BUILD/x86-32/wl.ko $INSTALL/lib/modules/$VER/bcm_sta
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && cp $PKG_BUILD/x86-64/wl.ko $INSTALL/lib/modules/$VER/bcm_sta
|
||||
|
||||
strip_kmod $INSTALL/lib/modules/$VER/bcm_sta
|
||||
|
||||
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
|
||||
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
|
||||
rm -f $i
|
||||
|
||||
@@ -30,8 +30,6 @@ mkdir -p $INSTALL/lib/modules/$VER/rtl8192se
|
||||
mkdir -p $INSTALL/lib/firmware/RTL8192SE
|
||||
cp $PKG_BUILD/firmware/RTL8192SE/* $INSTALL/lib/firmware/RTL8192SE
|
||||
|
||||
strip_kmod $INSTALL/lib/modules/$VER/rtl8192se
|
||||
|
||||
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
|
||||
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
|
||||
rm -f $i
|
||||
|
||||
@@ -24,4 +24,4 @@
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
make CC=$TARGET_CC dmidecode
|
||||
DESTDIR=.install ./install
|
||||
@@ -22,5 +22,5 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/wgetpaste $INSTALL/usr/bin
|
||||
mkdir -p $INSTALL
|
||||
cp -PR $PKG_BUILD/.install/* $INSTALL
|
||||
@@ -18,19 +18,19 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="linuxtv-dvb-firmware"
|
||||
PKG_VERSION="20110120"
|
||||
PKG_NAME="dvb-firmware"
|
||||
PKG_VERSION="0.0.6"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.linuxtv.org"
|
||||
PKG_SITE="https://github.com/OpenELEC/dvb-firmware"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="linuxtv-dvb-firmware: firmwarefiles for various DVB Cards."
|
||||
PKG_LONGDESC="firmwarefiles for various DVB Cards."
|
||||
PKG_SECTION="firmware"
|
||||
PKG_SHORTDESC="dvb-firmware: firmwares for various DVB drivers"
|
||||
PKG_LONGDESC="dvb-firmware: firmwares for various DVB drivers"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-1000-ucode"
|
||||
PKG_VERSION="128.50.3.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-1000-ucode: Intel PRO/Wireless 1000 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 1000 Network Connection mini PCI adapter. This project (iwl1000) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-3945-ucode"
|
||||
PKG_VERSION="15.32.2.9"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-3945-ucode: Intel PRO/Wireless 3945 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 3945 Network Connection mini PCI adapter. This project (iwl3945) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-4965-ucode"
|
||||
PKG_VERSION="228.61.2.24"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-4965-ucode: Intel PRO/Wireless 4965 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 4965 Network Connection mini PCI adapter. This project (iwl4965) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-5000-ucode"
|
||||
PKG_VERSION="8.24.2.12"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-5000-ucode: Intel PRO/Wireless 5000 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 5000 Network Connection mini PCI adapter. This project (iwl5000) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-5150-ucode"
|
||||
PKG_VERSION="8.24.2.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-5150-ucode: Intel PRO/Wireless 5150 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 5150 Network Connection mini PCI adapter. This project (iwl5150) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-6000-ucode"
|
||||
PKG_VERSION="9.193.4.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-6000-ucode: Intel PRO/Wireless 6000 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 6000 Network Connection mini PCI adapter. This project (iwl6000) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
@@ -1,37 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="iwlwifi-6050-ucode"
|
||||
PKG_VERSION="9.201.4.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="http://www.intellinuxwireless.org"
|
||||
#PKG_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tgz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="iwlwifi-6050-ucode: Intel PRO/Wireless 6050 Driver for Linux"
|
||||
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 6050 Network Connection mini PCI adapter. This project (iwl6050) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -PR $PKG_BUILD/*.fw* $INSTALL/lib/firmware
|
||||
@@ -23,14 +23,14 @@ PKG_VERSION=""
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.openelec.tv"
|
||||
PKG_SITE=""
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS=""
|
||||
PKG_DEPENDS="$FIRMWARE"
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux-firmware"
|
||||
PKG_SHORTDESC="linux-firmware: Meta package to install firmware drivers"
|
||||
PKG_LONGDESC="linux-firmware is a Meta package to install firmware drivers"
|
||||
PKG_SECTION="firmware"
|
||||
PKG_SHORTDESC="linux-firmware: various free firmware drivers"
|
||||
PKG_LONGDESC="linux-firmware is a meta-package to install various free firmware drivers"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
27
packages/linux-firmware/wlan-firmware/build
Executable file
27
packages/linux-firmware/wlan-firmware/build
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
DESTDIR=.install ./install
|
||||
@@ -22,5 +22,5 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
cp -P $PKG_BUILD/* $INSTALL/lib/firmware
|
||||
mkdir -p $INSTALL
|
||||
cp -PR $PKG_BUILD/.install/* $INSTALL
|
||||
@@ -18,19 +18,19 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="wgetpaste"
|
||||
PKG_VERSION="2.18"
|
||||
PKG_NAME="wlan-firmware"
|
||||
PKG_VERSION="0.0.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://wgetpaste.zlin.dk"
|
||||
PKG_URL="http://wgetpaste.zlin.dk/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="wget"
|
||||
PKG_LICENSE="Free-to-use"
|
||||
PKG_SITE="https://github.com/OpenELEC/wlan-firmware"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="wgetpaste: Upload Directly to Pastebin from the Linux Shell"
|
||||
PKG_LONGDESC="Wgetpaste is a tool for Uploading Directly to Pastebin from the Linux Shell"
|
||||
PKG_SECTION="firmware"
|
||||
PKG_SHORTDESC="wlan-firmware: firmwares for various WLAN drivers"
|
||||
PKG_LONGDESC="wlan-firmware: firmwares for various WLAN drivers"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -22,11 +22,21 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
export INSTALL=$(kernel_path)
|
||||
export INSTALL=$(kernel_path)/initramfs
|
||||
$SCRIPTS/install busybox-initramfs
|
||||
|
||||
if [ "$BOOTLOADER" = "u-boot" ]; then
|
||||
$SCRIPTS/build u-boot
|
||||
KERNEL_IMAGE="uImage"
|
||||
else
|
||||
KERNEL_IMAGE="bzImage"
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
|
||||
# dont build parallel
|
||||
MAKEFLAGS=-j1
|
||||
|
||||
cd $(kernel_path)
|
||||
rm -rf modules
|
||||
mkdir -p modules
|
||||
@@ -36,5 +46,5 @@ make INSTALL_MOD_PATH=modules DEPMOD="$ROOT/$TOOLCHAIN/sbin/depmod" modules_inst
|
||||
rm -f modules/lib/modules/*/build
|
||||
rm -f modules/lib/modules/*/source
|
||||
|
||||
make bzImage
|
||||
make $KERNEL_IMAGE
|
||||
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
dir /dev 755 0 0
|
||||
#nod /dev/tty1 644 0 0 c 4 1
|
||||
#nod /dev/console 644 0 0 c 5 1
|
||||
|
||||
dir /bin 755 1000 1000
|
||||
slink /bin/sh busybox 777 0 0
|
||||
file /bin/busybox initramfs/bin/busybox 4755 0 0
|
||||
file /bin/ply-image initramfs/bin/ply-image 755 0 0
|
||||
|
||||
# dir /lib 755 1000 1000
|
||||
# file /lib/ld-uClibc.so.0 initramfs/lib/ld-uClibc.so.0 755 0 0
|
||||
# file /lib/libc.so.0 initramfs/lib/libc.so.0 755 0 0
|
||||
dir /sbin 755 1000 1000
|
||||
file /sbin/ply-image initramfs/sbin/ply-image 755 0 0
|
||||
|
||||
dir /splash 755 1000 1000
|
||||
file /splash/splash.png initramfs/splash/splash.png 644 0 0
|
||||
|
||||
dir /proc 755 0 0
|
||||
dir /sys 755 0 0
|
||||
@@ -18,4 +17,3 @@ dir /sysroot 755 0 0
|
||||
dir /storage 755 0 0
|
||||
|
||||
file /init initramfs/init 755 0 0
|
||||
file /splash.png initramfs/splash.png 644 0 0
|
||||
|
||||
@@ -30,15 +30,13 @@ mkdir -p $INSTALL/lib/modules/$VER
|
||||
cp -r $PKG_BUILD/modules/* $INSTALL
|
||||
rm -f $INSTALL/lib/modules/$VER/modules.*
|
||||
|
||||
strip_kmod $INSTALL/lib/modules/$VER/kernel
|
||||
|
||||
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
|
||||
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
|
||||
rm -f $i
|
||||
done
|
||||
|
||||
# copy kernel firmwares (if present)
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
# copy kernel firmwares (if present and requested)
|
||||
mkdir -p $INSTALL/lib/firmware
|
||||
[ -d $PKG_BUILD/modules/lib/firmware ] && \
|
||||
cp -rf $PKG_BUILD/modules/lib/firmware/* $INSTALL/lib/firmware || true
|
||||
|
||||
@@ -46,3 +44,4 @@ mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/modules $INSTALL/etc
|
||||
|
||||
mkdir -p $INSTALL/etc/modprobe.d
|
||||
cp $PKG_DIR/modprobe.d/*.conf $INSTALL/etc/modprobe.d
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="linux"
|
||||
PKG_VERSION="2.6.37"
|
||||
PKG_VERSION="2.6.38.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
@@ -27,7 +27,7 @@ PKG_SITE="http://www.kernel.org"
|
||||
PKG_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
#PKG_URL="http://www.kernel.org/pub/linux/kernel/v2.6/testing/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="busybox linux-drivers linux-firmware"
|
||||
PKG_BUILD_DEPENDS="toolchain busybox-hosttools"
|
||||
PKG_BUILD_DEPENDS="toolchain busybox-hosttools xz"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="linux"
|
||||
PKG_SHORTDESC="linux26: The Linux kernel 2.6 precompiled kernel binary image and modules"
|
||||
@@ -36,7 +36,13 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$LINUX_NEXT" = "yes" ]; then
|
||||
PKG_VERSION="2.6.37"
|
||||
if [ "$LINUX_NEXT" = "yes" -a "$LINUX" = "default" ]; then
|
||||
PKG_VERSION="2.6.39-rc1"
|
||||
# PKG_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="http://www.kernel.org/pub/linux/kernel/v2.6/testing/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
fi
|
||||
|
||||
if [ "$LINUX" = "ti-omap4" ]; then
|
||||
PKG_VERSION="2.6.38-ti-omap4"
|
||||
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
fi
|
||||
|
||||
5
packages/linux/modprobe.d/ath9k.conf
Normal file
5
packages/linux/modprobe.d/ath9k.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
# /etc/modprobe.d/ath9k: setup modload options for module ath9k.
|
||||
# see:
|
||||
# http://openelec.tv/forum/28-issue-reports/4644-addons-download-not-working#4778
|
||||
|
||||
options ath9k nohwcrypt=1
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,22 @@
|
||||
diff -Naur linux-2.6.35-980.1release14/arch/arm/mach-omap2/Makefile linux-2.6.35-980.1release14a/arch/arm/mach-omap2/Makefile
|
||||
--- linux-2.6.35-980.1release14/arch/arm/mach-omap2/Makefile 2011-01-19 11:27:25.000000000 +0100
|
||||
+++ linux-2.6.35-980.1release14a/arch/arm/mach-omap2/Makefile 2011-02-27 17:50:38.370778859 +0100
|
||||
@@ -29,7 +29,9 @@
|
||||
obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o \
|
||||
omap4-wakeupgen.o
|
||||
|
||||
-AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a
|
||||
+plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
||||
+AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec)
|
||||
+AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
|
||||
|
||||
# Functions loaded to SRAM
|
||||
obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
|
||||
@@ -63,6 +65,7 @@
|
||||
|
||||
AFLAGS_sleep24xx.o :=-Wa,-march=armv6
|
||||
AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a
|
||||
+AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec)
|
||||
|
||||
ifeq ($(CONFIG_PM_VERBOSE),y)
|
||||
CFLAGS_pm_bus.o += -DDEBUG
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -Naur linux-2.6.37/drivers/ata/libata-core.c linux-2.6.37.patch/drivers/ata/libata-core.c
|
||||
--- linux-2.6.37/drivers/ata/libata-core.c 2011-01-05 01:50:19.000000000 +0100
|
||||
+++ linux-2.6.37.patch/drivers/ata/libata-core.c 2011-01-11 14:39:29.399037122 +0100
|
||||
@@ -4138,6 +4138,7 @@
|
||||
* device and controller are SATA.
|
||||
*/
|
||||
{ "PIONEER DVD-RW DVRTD08", "1.00", ATA_HORKAGE_NOSETXFER },
|
||||
+ { "PIONEER DVD-RW DVR-212D", "1.28", ATA_HORKAGE_NOSETXFER },
|
||||
|
||||
/* End Marker */
|
||||
{ }
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -Naur linux-2.6.37/drivers/ata/libata-core.c linux-2.6.37.patch/drivers/ata/libata-core.c
|
||||
--- linux-2.6.37/drivers/ata/libata-core.c 2011-01-11 16:44:09.983014222 +0100
|
||||
+++ linux-2.6.37.patch/drivers/ata/libata-core.c 2011-01-11 16:43:58.733876132 +0100
|
||||
@@ -4139,6 +4139,7 @@
|
||||
*/
|
||||
{ "PIONEER DVD-RW DVRTD08", "1.00", ATA_HORKAGE_NOSETXFER },
|
||||
{ "PIONEER DVD-RW DVR-212D", "1.28", ATA_HORKAGE_NOSETXFER },
|
||||
+ { "PIONEER DVD-RW DVR-216D", "1.07", ATA_HORKAGE_NOSETXFER },
|
||||
|
||||
/* End Marker */
|
||||
{ }
|
||||
@@ -1,23 +0,0 @@
|
||||
diff -Naur linux-2.6.37/fs/ext4/mballoc.c linux-2.6.37.patch/fs/ext4/mballoc.c
|
||||
--- linux-2.6.37/fs/ext4/mballoc.c 2011-01-05 01:50:19.000000000 +0100
|
||||
+++ linux-2.6.37.patch/fs/ext4/mballoc.c 2011-01-11 16:40:40.592434028 +0100
|
||||
@@ -4819,6 +4819,8 @@
|
||||
ext4_group_t group, ngroups = ext4_get_groups_count(sb);
|
||||
ext4_grpblk_t cnt = 0, first_block, last_block;
|
||||
uint64_t start, len, minlen, trimmed;
|
||||
+ ext4_fsblk_t first_data_blk =
|
||||
+ le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block);
|
||||
int ret = 0;
|
||||
|
||||
start = range->start >> sb->s_blocksize_bits;
|
||||
@@ -4828,6 +4830,10 @@
|
||||
|
||||
if (unlikely(minlen > EXT4_BLOCKS_PER_GROUP(sb)))
|
||||
return -EINVAL;
|
||||
+ if (start < first_data_blk) {
|
||||
+ len -= first_data_blk - start;
|
||||
+ start = first_data_blk;
|
||||
+ }
|
||||
|
||||
/* Determine first and last group to examine based on start and len */
|
||||
ext4_get_group_no_and_offset(sb, (ext4_fsblk_t) start,
|
||||
@@ -1,19 +0,0 @@
|
||||
diff -Naur linux-2.6.37-old/drivers/usb/core/hcd.c linux-2.6.37-new/drivers/usb/core/hcd.c
|
||||
--- linux-2.6.37-old/drivers/usb/core/hcd.c 2011-01-04 16:50:19.000000000 -0800
|
||||
+++ linux-2.6.37-new/drivers/usb/core/hcd.c 2011-01-30 20:06:09.000000000 -0800
|
||||
@@ -1956,7 +1956,6 @@
|
||||
|
||||
dev_dbg(&rhdev->dev, "usb %s%s\n",
|
||||
(msg.event & PM_EVENT_AUTO ? "auto-" : ""), "resume");
|
||||
- clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
|
||||
if (!hcd->driver->bus_resume)
|
||||
return -ENOENT;
|
||||
if (hcd->state == HC_STATE_RUNNING)
|
||||
@@ -1964,6 +1963,7 @@
|
||||
|
||||
hcd->state = HC_STATE_RESUMING;
|
||||
status = hcd->driver->bus_resume(hcd);
|
||||
+ clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
|
||||
if (status == 0) {
|
||||
/* TRSMRCY = 10 msec */
|
||||
msleep(10);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user