Compare commits

...

263 Commits

Author SHA1 Message Date
Stephan Raue
ef74282f2e VERSION: set version to 0.99.5 (RC-5)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 16:48:40 +02:00
Stephan Raue
ca9fa311c0 Merge branch 'master' into openelec-1.0 2011-04-03 16:47:49 +02:00
Stephan Raue
66041a1f30 busybox: add applet 'openvt', use openvt for our shells
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 16:46:37 +02:00
Stephan Raue
24c19605c5 busybox: start klogd too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 16:29:59 +02:00
Stephan Raue
e357736644 gtk+: update to gtk+-2.24.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 15:43:59 +02:00
Stephan Raue
50f8722107 evtest: update to evtest-1.27
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 15:42:52 +02:00
Stephan Raue
8c9de76a6b v4l-utils: dont install config file and udev rule for now
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 15:42:25 +02:00
Stephan Raue
7605743690 connman: update to connman-0.72
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 15:41:42 +02:00
Stephan Raue
9db6adb8ba glib: update to glib-2.28.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-03 15:30:14 +02:00
Stephan Raue
d0c439d6cc fakeroot: update to fakeroot-1.15.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 18:11:51 +02:00
Stephan Raue
e2613c7c7e xz: update to xz-5.0.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 18:11:17 +02:00
Stephan Raue
2927aa71f0 bluez: update to bluez-4.91
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 18:10:52 +02:00
Stephan Raue
5eaddc6ade cloog-ppl: update to cloog-ppl-0.15.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 18:03:03 +02:00
Stephan Raue
f0ee422712 portmap: update upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 17:46:12 +02:00
Stephan Raue
b77f0a9dd6 Revert "netmount: add support for busybox's NFS and CIFS mounts, add support for adding options to NFS mounts"
This reverts commit 89d24da738.
2011-04-02 12:38:22 +02:00
Stephan Raue
bb2e1d1f03 Revert "libnfsidmap: remove package 'libnfsidmap'"
This reverts commit 1e1797045a.
2011-04-02 12:36:14 +02:00
Stephan Raue
200b2bc13e Revert "cifs-utils: remove package 'cifs-utils', CIFS mounts now supported via busybox"
This reverts commit 5bc7eaeba1.
2011-04-02 12:35:52 +02:00
Stephan Raue
a0eef8090f Revert "nfs-utils: remove package 'nfs-utils', NFS mounts now supported via busybox"
This reverts commit 6876101c29.
2011-04-02 12:35:20 +02:00
Stephan Raue
ce99f5b618 Revert "portmap: remove package 'portmap'"
This reverts commit 1709a9f3c4.
2011-04-02 12:34:32 +02:00
Stephan Raue
afe893a2a4 Revert "udisks: add patch to work with busybox's 'mount' applet"
This reverts commit a44ab5529c.
2011-04-02 12:33:43 +02:00
Stephan Raue
0b39f59a30 Revert "util-linux: dont build 'mount' and 'umount' anymore, replaced by busybox's applets"
This reverts commit ad69a9260e.
2011-04-02 12:32:53 +02:00
Stephan Raue
f76faf0c8c Revert "busybox: add 'mount' applet with support for nfs and cifs mounts"
This reverts commit d59d4af64e.
2011-04-02 12:32:00 +02:00
Stephan Raue
65c70a4aba Revert "netmount: add options 'tcp' and 'timeo=600' per default to force tcp connections and a bigger timeout"
This reverts commit 8b05b0848a.
2011-04-02 12:29:52 +02:00
Stephan Raue
8b05b0848a netmount: add options 'tcp' and 'timeo=600' per default to force tcp connections and a bigger timeout
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 11:12:52 +02:00
Stephan Raue
32e1c368e1 linux: add default option 'nohwcrypt=1' as default for loading the ath9k driver. it's reported the driver will work more stable with this option
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-02 11:09:20 +02:00
Stephan Raue
758eb9bfdb xbmc: add patch to support gcc-4.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-01 20:44:06 +02:00
Stephan Raue
990fde2279 binutils: depends on bison
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-01 20:42:56 +02:00
Stephan Raue
c8f158871f flashrom: update to flashrom-1283
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-01 20:41:44 +02:00
Stephan Raue
ad5489fc75 scripts/checkdeps: remove byacc dep, should be not more needed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-01 20:40:51 +02:00
Stephan Raue
1b3690399c eventlircd: update to eventlircd-42
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-01 20:36:47 +02:00
Stephan Raue
64e19cddfd Merge branch 'master' into openelec-1.0 2011-03-30 20:27:46 +02:00
Stephan Raue
78485c000c xbmc: use lm_sensors only for getting cpu temp
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 19:28:53 +02:00
Stephan Raue
aa3736b8f7 udev: update to udev-167
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 19:12:55 +02:00
Stephan Raue
6b9755b0f9 xbmc-theme-Confluence: add patch to fix bookmarks menu
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 18:44:27 +02:00
Stephan Raue
5013eb773b projects/ATV: switch to libdrm-next
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 17:32:41 +02:00
Stephan Raue
a6e4f85db9 libdrm: update alternative libdrm version to libdrm-5cb554a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 17:32:19 +02:00
Stephan Raue
0c899b4bd8 xf86-video-nouveau: update to xf86-video-nouveau-8378443
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 16:56:32 +02:00
Stephan Raue
cc4869b9ad Mesa: update alternative version to Mesa-ee8d182
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 16:55:55 +02:00
Stephan Raue
37968b4cfa flex: fix download url, cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 13:15:37 +02:00
Stephan Raue
ae1ef4dc06 binutils: depends on flex
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 13:15:14 +02:00
Stephan Raue
1beb766b9c scripts/checkdeps: update checkdeps script, we now build nasm, flex and bison as part of our toolchain
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 11:26:09 +02:00
Stephan Raue
40f35acdbb new package: add package 'bison'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 11:24:23 +02:00
Stephan Raue
3a0e6dae44 linux: update nouveau upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 11:14:57 +02:00
Stephan Raue
4d0fac661e flex: build for host, move to toolchain, build with toolchain
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 11:13:37 +02:00
Stephan Raue
b2b8c52e0b linux: update alternative version to linux-2.6.39-rc1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-30 09:55:46 +02:00
Stephan Raue
f4c3e79e37 xf86-video-intel: update to xf86-video-intel-2.14.902
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 17:57:23 +02:00
Stephan Raue
92db173ebc xorg-server: update to xorg-server-1.10.0.901
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 17:56:39 +02:00
Stephan Raue
d279a81241 xbmc: fix cdrip via vorbis
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 16:56:47 +02:00
Stephan Raue
093073755d xbmc: add patch to add a option for en/diasable build with lame support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 15:19:33 +02:00
Stephan Raue
2af081fab9 libvorbis: various cleanups
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 15:18:25 +02:00
Stephan Raue
59de46f76b flac: various cleanups, change download url
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 15:18:04 +02:00
Stephan Raue
5d99a6825b dvb-firmware: update to dvb-firmware-0.0.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 15:04:42 +02:00
Stephan Raue
6f74498961 dvb-firmware: update to dvb-firmware-0.0.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 14:59:39 +02:00
Stephan Raue
1c9fdd5394 lm_sensors: update to lm_sensors-3.3.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 14:59:08 +02:00
Stephan Raue
5f1d7d95d6 connman: wait longer until network comes up
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 12:02:35 +02:00
Stephan Raue
66d7880de2 lame: dont build parallel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 11:57:25 +02:00
Stephan Raue
124403b19e v4l-utils: install /etc/rc_maps.cfg too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 11:56:44 +02:00
Stephan Raue
933ec94127 glib: update to glib-2.28.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 11:55:39 +02:00
Stephan Raue
0a2c6a9bce linux: update to linux-2.6.39-next-20110328
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-29 11:54:53 +02:00
Stephan Raue
dcb354cfbf linux: add appleir kernel driver patch for 2.6.39-next-20110324
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-28 10:19:31 +02:00
Stephan Raue
64820211e4 linux: add ti-omap4 kernel patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-28 10:18:54 +02:00
Stephan Raue
79f8a34dac linux: update to linux-2.6.38.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-28 10:17:58 +02:00
Stephan Raue
97bd961289 new package: add package 'nasm'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-27 12:45:29 +02:00
Stephan Raue
c30c2b92b4 lirc: update to lirc-0.9.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-26 08:10:29 +01:00
Stephan Raue
72ba432f04 lame: add more options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-26 03:20:36 +01:00
Stephan Raue
b6c7088ab1 SABnzbd: update to SABnzbd-0.6.0Beta4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-26 03:19:46 +01:00
Stephan Raue
f88f9fbe66 new package: add package 'lame'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-25 13:10:32 +01:00
Stephan Raue
a59caf4486 Merge branch 'master' into openelec-1.0 2011-03-25 07:58:42 +01:00
Stephan Raue
6b901f25af installer: fix permissions
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 21:54:38 +01:00
Stephan Raue
8fa33ccb83 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2011-03-24 21:53:28 +01:00
newphreak
9cf9cc687f installer: cosmetics+typo 2011-03-24 13:50:10 -07:00
Stephan Raue
d48b50eb13 dvb-firmware: update to dvb-firmware-0.0.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 20:09:59 +01:00
Stephan Raue
8c91f65455 linux: fix install paths
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 19:54:35 +01:00
Stephan Raue
295a7986a1 busybox: fix install paths
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 19:53:15 +01:00
Stephan Raue
9272f769ba xbmc: update splash images
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 19:49:31 +01:00
Stephan Raue
6323e47233 busybox-initramfs: fix file locations
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 18:14:44 +01:00
Stephan Raue
6f34e15c7d plymouth-lite: install to /sbin, install splash to /splash, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 18:13:14 +01:00
Stephan Raue
d6c91a01cb linux: set initramfs install dir to $(kernel_path)/initramfs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 18:11:44 +01:00
Stephan Raue
d60feb1087 linux: update alternate version to linux-2.6.39-next-20110324
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-24 13:43:43 +01:00
Stephan Raue
2d945f8f50 README: cleanup 2011-03-23 23:38:15 -07:00
Stephan Raue
74e7180426 linux: remove unneeded patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 10:27:39 +01:00
Stephan Raue
44aca974d7 v4l-utils: add patch to fix support for 'OTHER' protocol, thanks much to nektarios
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 10:27:11 +01:00
Stephan Raue
8a9c2837a1 installer: fix file permissions, thanks to gr8rx
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 07:20:39 +01:00
Stephan Raue
2a96df12ec xproto: update to xproto-7.0.21
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 03:09:34 +01:00
Stephan Raue
dbe9095551 config/arch.x86_64: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 03:07:37 +01:00
Stephan Raue
2a2653191b config/path: move some optimizations to config/optimize
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 03:07:20 +01:00
Stephan Raue
f8d5713ffd projects/*/linux: add DVB NGENE support to various builds (Intel, ION, Generic)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-23 03:04:07 +01:00
Stephan Raue
c1c5562770 v4l-utils: add patch to fix an overflow so imon MCE remotes should work after loding ir-keytable, thanks much to nektarios
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-22 22:52:29 +01:00
Stephan Raue
d43dbbfbbb mysql: dont hardcode default charset, let mysql choose the right one
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-22 21:31:07 +01:00
Stephan Raue
26465a829f config/functions: remove strip_kmod function
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-22 11:26:32 +01:00
Stephan Raue
c15963bd13 upower: update to upower-0.9.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-22 11:24:26 +01:00
Stephan Raue
d186f00eba linux: update alternative kernel version to linux-2.6.39-next-20110321
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 22:18:54 +01:00
Stephan Raue
0ceecbd45a bcm_sta: cleanup, we are stripping kernel modules before we creating the image globally
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:48:13 +01:00
Stephan Raue
b04889f135 linux: cleanup, we are stripping kernel modules before we creating the image globally
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:47:42 +01:00
Stephan Raue
e3d84bcd4f xf86-video-nvidia: cleanup, we are stripping kernel modules before we creating the image globally
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:47:16 +01:00
Stephan Raue
6fc2e85b60 crystalhd: cleanup, we are stripping kernel modules before we creating the image globally
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:46:53 +01:00
Stephan Raue
b4dc2bb065 rtl8192se: cleanup, we are stripping kernel modules before we creating the image globally
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:46:32 +01:00
Stephan Raue
98853a9daa config/path: move ARCH specific options to ARCH specific config files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:39:29 +01:00
Stephan Raue
d854ac4369 config/arch: split in to seperate ARCH configurations
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 01:30:30 +01:00
Stephan Raue
8f1775260d config/path: seperate ARCH specific options to config/arch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-20 23:48:48 +01:00
Stephan Raue
96fb256041 config/path: rename $TARGET_FAMILY to $TARGET-SUBARCH
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-20 23:34:38 +01:00
Stephan Raue
7f5e77d605 eglibc: add getlogin() support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-20 05:05:03 +01:00
Stephan Raue
616c6585c3 linux-headers: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-20 05:04:19 +01:00
Stephan Raue
a9d3e9bd71 samba: add /media as an default share to share mounted drives
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 09:35:16 +01:00
Stephan Raue
6630de46a1 mysql: dont build with LTO support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 09:26:17 +01:00
Stephan Raue
d18001b979 mysql: install charsets too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 09:25:49 +01:00
newphreak
2aefcdac87 installer: cleanup+typo 2011-03-18 20:24:51 -07:00
Stephan Raue
6fadefe78a libXi: update to libXi-1.4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 01:20:55 +01:00
Stephan Raue
4c26f1cb09 sqlite: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 01:01:50 +01:00
Stephan Raue
07b81b7d26 binutils: update to binutils-2.21.51.0.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 01:01:26 +01:00
Stephan Raue
7d2aee3976 connman: update to connman-0.71
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 00:59:37 +01:00
Stephan Raue
926b1f1d85 libX11: update to libX11-1.4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 00:59:11 +01:00
Stephan Raue
501ba6ec5a xf86-video-ati: update to xf86-video-ati-6.14.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 00:58:44 +01:00
Stephan Raue
a11f7acd79 eglibc: update to eglibc-2.13-13177
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-19 00:57:57 +01:00
Stephan Raue
5d579def2f enca: be sure we install symlinks correctly
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-16 02:11:15 +01:00
Stephan Raue
9fb59e2d46 gnutls: prevent installing unneeded *.so*T files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-16 02:10:33 +01:00
Stephan Raue
367797ee8d tiff: prevent installing unneeded *.so*T files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-16 02:10:15 +01:00
Stephan Raue
7b637130ae new package: add package 'xf86-video-omapfb'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 18:46:49 +01:00
Stephan Raue
164b7f45af linux: add support to use a special kernel, add support for Ti's OMAP kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 18:46:02 +01:00
Stephan Raue
dc7511f40c linux: remove old patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 18:44:07 +01:00
Stephan Raue
fd72b258bb linux: update to linux-2.6.38
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 18:43:03 +01:00
Stephan Raue
59515b5536 util-macros: update to util-macros-1.13.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 17:57:25 +01:00
Stephan Raue
e84b49e88c eglibc: set minimal kernel version back to 2.6.35
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 17:56:53 +01:00
Stephan Raue
2092dc5c70 linux: remove actually not needed patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-15 17:33:33 +01:00
Stephan Raue
17773aab93 mkpkg: remove unneeded script 'mkpkg_libjpeg-turbo'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 21:57:12 +01:00
Stephan Raue
36c53f4d3a Merge branch 'master' into openelec-1.0
Conflicts:
	packages/linux/patches/linux-2.6.38-rc8-110-drm_nouveau_upstream-20110222.patch
	packages/linux/patches/linux-2.6.38-rc8-110-drm_nouveau_upstream-20110312.3.patch
	packages/linux/patches/linux-2.6.38-rc8-110-drm_nouveau_upstream-20110312.patch
2011-03-14 05:45:06 +01:00
Stephan Raue
f3da08d405 libva: update to libva-bdc106e
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 05:39:35 +01:00
Stephan Raue
c3bb9f16b9 dialog: update to dialog-1.1-20110302
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 05:38:55 +01:00
Stephan Raue
6cfc093e5b linux: rename nouveau patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 05:38:19 +01:00
Stephan Raue
c52748feb8 Mesa: update alternative version to Mesa-0f84dda, enable Mesa-master on ATV
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 05:37:49 +01:00
Stephan Raue
179734a81f w_scan: update to w_scan-20110306
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 01:00:02 +01:00
Stephan Raue
61489571a0 busybox: update to busybox-1.18.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-14 00:31:58 +01:00
Stephan Raue
eb6fe8fbae ConsoleKit: update to ConsoleKit-0.4.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:58:15 +01:00
Stephan Raue
ffa7cbcd12 gnutls: update to gnutls-2.10.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:57:45 +01:00
Stephan Raue
3f6ece2eb3 polkit: update to polkit-0.101
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:57:06 +01:00
Stephan Raue
82e2b9ef62 pygobject: update to pygobject-2.28.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:56:25 +01:00
Stephan Raue
9c8448663b avahi: update to avahi-0.6.29
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:54:48 +01:00
Stephan Raue
41b5cccd17 libjpeg-turbo: update to libjpeg-turbo-1.1.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:54:19 +01:00
Stephan Raue
3190178824 ncurses: update to ncurses-5.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:53:49 +01:00
Stephan Raue
ccf142f5d4 boost: update to boost-1.46.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-13 13:53:18 +01:00
Stephan Raue
2315f30b81 Revert "linux: update nouveau upstream patches"
This reverts commit a0bad11b9f.
2011-03-13 03:05:26 +01:00
Stephan Raue
3f1eb7a509 Merge branch 'master' into openelec-1.0 2011-03-12 22:42:59 +01:00
Stephan Raue
a0bad11b9f linux: update nouveau upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 22:42:26 +01:00
Stephan Raue
1e35c7c217 xf86-video-nouveau: update to xf86-video-nouveau-20110312
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 22:42:00 +01:00
Stephan Raue
4518dda55f Merge branch 'master' into openelec-1.0 2011-03-12 20:32:05 +01:00
Stephan Raue
5a0ef65596 projects/ATV/options: use released Mesa for ATV build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 20:31:46 +01:00
Stephan Raue
798c4df658 Merge branch 'master' into openelec-1.0 2011-03-12 20:07:50 +01:00
Stephan Raue
15fbf11c31 Mesa: add Mesa build patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 20:07:16 +01:00
Stephan Raue
f56dd613ae Merge branch 'master' into openelec-1.0 2011-03-12 18:42:59 +01:00
Stephan Raue
bd5b6f539c xf86-video-ati: fix build against xorg-server-1.10
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 18:40:14 +01:00
Stephan Raue
fa8242f7ad VERSION: set version to 0.99.4 (RC-4)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 03:42:25 +01:00
Stephan Raue
f5c7297361 Merge branch 'master' into openelec-1.0 2011-03-12 03:41:05 +01:00
Stephan Raue
ded3314942 wlan-firmware: update to wlan-firmware-0.0.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 02:21:04 +01:00
Stephan Raue
276768618d projects/*/linux: add (more) support for Aetheros WLAN hardware
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 02:14:09 +01:00
Stephan Raue
35f213f603 projects/*/linux: add support fot multiple SCSI LUN's
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:32:56 +01:00
Stephan Raue
a10dbe48ca projects/*/linux: build dvb-usb statically, syncing config with last patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:25:01 +01:00
Stephan Raue
d09abfd756 xbmc-addon-settings: disable options for tvheadend, will be started if dvb hardware is detected
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:10:17 +01:00
Stephan Raue
3e913677f5 hts-tvheadend: add udev rule to start tvheadend, rework and rename suspend script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:07:58 +01:00
Stephan Raue
ee3d2b0e3f autoupdate: rename suspend scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:07:01 +01:00
Stephan Raue
a0aa6c96db connman: remove suspend script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:06:32 +01:00
Stephan Raue
96bff937d0 xbmc: rename suspend scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-12 01:05:34 +01:00
Stephan Raue
453aaa6785 xbmc: simplyfing wakeup script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:23:06 +01:00
Stephan Raue
0ceda4690f lcdproc: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:22:41 +01:00
Stephan Raue
8527c0a36c setxkbmap: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:22:16 +01:00
Stephan Raue
d5efec1a95 autoupdate: simplyfing autoupdate script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:21:49 +01:00
Stephan Raue
6b139171b2 transmission: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:21:21 +01:00
Stephan Raue
ef9833b4dc samba: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:21:09 +01:00
Stephan Raue
7a010ba2a5 connman: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:20:52 +01:00
Stephan Raue
1d004a7fbb SABnzbd: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:20:40 +01:00
Stephan Raue
1bf39de9c4 busybox: create system config file to use with our init scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:19:52 +01:00
Stephan Raue
8f10d83337 busybox: update upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:19:08 +01:00
Stephan Raue
bf2b95de8b linux: add initial OMAP2+ HDMI support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 17:40:23 +01:00
Stephan Raue
78f7287296 glib: update to glib-2.28.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 10:12:46 +01:00
Stephan Raue
fbe652e14e linux: add patch for DSS2 support for OMAP2+ devices
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 02:35:09 +01:00
Stephan Raue
5b3c9e353d libXt: update to libXt-1.1.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 02:33:13 +01:00
Stephan Raue
7f0a04b638 busybox: use /bin/sh instead /bin/bash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 02:31:53 +01:00
Stephan Raue
f79892e399 busybox: use /bin/sh anstead /bin/bash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 02:31:15 +01:00
Stephan Raue
7af059d59f u-boot: fix bootloader config location
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 02:28:36 +01:00
Stephan Raue
71673b5469 busybox: remove unneeded files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 02:27:32 +01:00
Stephan Raue
54ec6df710 projects/ION/options: adding imonlcd driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 13:08:36 +01:00
Stephan Raue
2411a87e5e xbmc: cputemp output with parsing more lines
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 02:42:49 +01:00
Stephan Raue
136704bf7a Revert "zlib: use cmake for building zlib library"
This reverts commit 3ba6ca9586.
2011-03-09 01:38:39 +01:00
Stephan Raue
89d24da738 netmount: add support for busybox's NFS and CIFS mounts, add support for adding options to NFS mounts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:24:15 +01:00
Stephan Raue
1e1797045a libnfsidmap: remove package 'libnfsidmap'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:23:12 +01:00
Stephan Raue
5bc7eaeba1 cifs-utils: remove package 'cifs-utils', CIFS mounts now supported via busybox
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:19:13 +01:00
Stephan Raue
6876101c29 nfs-utils: remove package 'nfs-utils', NFS mounts now supported via busybox
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:18:41 +01:00
Stephan Raue
1709a9f3c4 portmap: remove package 'portmap'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:17:55 +01:00
Stephan Raue
a44ab5529c udisks: add patch to work with busybox's 'mount' applet
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:17:26 +01:00
Stephan Raue
ad69a9260e util-linux: dont build 'mount' and 'umount' anymore, replaced by busybox's applets
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:16:38 +01:00
Stephan Raue
d59d4af64e busybox: add 'mount' applet with support for nfs and cifs mounts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 01:15:55 +01:00
Stephan Raue
3ff7182778 xbmc-addon-settings: enable option to change keyboardlayout, add more supported keyboardlayouts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-09 00:41:47 +01:00
Stephan Raue
2d3fe2065d dropbear: update to dropbear-0.53.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 23:55:09 +01:00
Stephan Raue
2827d929ae xbmc-addon-settings: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 23:54:08 +01:00
Stephan Raue
d6032ba070 libXfixes: update to libXfixes-5.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 23:53:07 +01:00
Stephan Raue
55e507abc7 fixesproto: update to fixesproto-5.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 23:52:44 +01:00
Stephan Raue
fdf2e1a6e2 libX11: add i18n support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 23:52:07 +01:00
Stephan Raue
7caffb4533 projects/*/options: syncing with last changes
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 16:05:09 +01:00
Stephan Raue
d895494d07 linux: drop unneeded patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 15:56:22 +01:00
Stephan Raue
7920ac2d28 linux: dont build parallel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 15:55:46 +01:00
Stephan Raue
9fe3be699c linux: update to linux-2.6.38-rc8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 09:14:54 +01:00
Stephan Raue
f2e470a1e8 xbmc-theme-Confluence: update to xbmc-10.1-Dharma-theme-Confluence (final)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 08:13:09 +01:00
Stephan Raue
d44e88908c xbmc: update to xbmc-10.1-Dharma (final)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 08:12:47 +01:00
Stephan Raue
7367f6e4d5 scripts/image_squashfs: fix script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 08:12:06 +01:00
Stephan Raue
baca215d48 mkpkg: update mkpkg_xbmc-dharma-10.1 to xbmc-10.1 final
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 03:21:56 +01:00
Stephan Raue
dbfa4e441f samba: update to samba-3.5.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-08 03:20:29 +01:00
Stephan Raue
fa425887e9 linux: update alternative kernel version
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 21:50:13 +01:00
Stephan Raue
ce2b3a6e26 config/path: add initial ARM support to our toolchain
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 16:04:00 +01:00
Stephan Raue
8c10086158 mkpkg: update mkpkg_xbmc-dharma-10.1 script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 13:48:33 +01:00
Stephan Raue
da11d8ba29 samba: remove talloc dependencies
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 13:47:32 +01:00
Stephan Raue
195eb1d87f Mesa: dont depend anymore on talloc
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 13:46:44 +01:00
Stephan Raue
1c57ae9d1b gdb: fix build with ARM
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 13:45:41 +01:00
Stephan Raue
6a3da77cf0 talloc: rempve package 'talloc'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 13:45:16 +01:00
Stephan Raue
c5038f51b7 xbmc: update ARM patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-07 13:44:47 +01:00
Stephan Raue
1b0bb854db config/options: fix comments
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 17:00:33 +01:00
Stephan Raue
43c8e9bc00 config/optimize: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 16:59:00 +01:00
Stephan Raue
926c09944b u-boot: add README for the patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 13:40:46 +01:00
Stephan Raue
c20e8c75e5 xbmc: update ARM related patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 12:21:23 +01:00
Stephan Raue
74aa03fbd7 installer: dont install flashrom on unsupported devices, add $BOOTLOADER variable
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 12:20:34 +01:00
Stephan Raue
e88153590c linux: add patch to fix ARM builds
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 12:19:17 +01:00
Stephan Raue
07f53e8651 new package: add package u-boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 12:17:56 +01:00
Stephan Raue
7d4604fedd libdrm: update to libdrm-2.4.24
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 12:08:12 +01:00
Stephan Raue
3ba6ca9586 zlib: use cmake for building zlib library
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 10:03:46 +01:00
Stephan Raue
d223095bc9 fontconfig: dont build with LTO support, fails on ARM
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 08:54:08 +01:00
Stephan Raue
451fb60dd3 libXt: update to libXt-1.1.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 08:52:02 +01:00
Stephan Raue
cac623d9f3 pixman: add ARM config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 08:51:04 +01:00
Stephan Raue
3d0c1c6a21 openssl: add ARM config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 08:50:30 +01:00
Stephan Raue
635b01ccef grep: depends on libiconv
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-06 08:49:37 +01:00
Stephan Raue
dc3be1d1ec sshfs-fuse: add patche for dropbear support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-04 04:16:19 +01:00
Stephan Raue
b16dadf475 xbmc: add patch to add xbmcvfs module, now some more python addons should work (Subtitles, EyeTV Parser...), thanks much to Amet
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 17:45:59 +01:00
Stephan Raue
d9c013dcd2 xorg-server: update to xorg-server-1.10.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 15:54:08 +01:00
Stephan Raue
aeeee06176 xorg-server: update to xorg-server-1.9.99.903
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 08:45:42 +01:00
Stephan Raue
050b64a1b8 xf86-video-nvidia: fix download url
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 08:42:56 +01:00
Stephan Raue
f81cea1455 xf86-video-nvidia: update to xf86-video-nvidia-270.30, remove unneeded config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 05:18:08 +01:00
Stephan Raue
2b1920fe8e squashfs: update to squashfs-4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 05:17:13 +01:00
Stephan Raue
c7fe9741d7 dvb-firmware: update to dvb-firmware-0.0.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 01:50:17 +01:00
Stephan Raue
0dc884a4b1 linux-firmware: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 01:49:56 +01:00
Stephan Raue
6bfbecc5e3 m4: update to m4-1.4.16
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 01:38:43 +01:00
Stephan Raue
d388db05b7 Mesa: update to Mesa-7.10.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 01:16:49 +01:00
Stephan Raue
8c385d3e46 ppl: update to ppl-0.11.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-03 01:16:29 +01:00
Stephan Raue
b1f3b9d8db Merge branch 'master' into openelec-1.0 2011-03-02 04:31:53 +01:00
Stephan Raue
cea834629e linux: update to linux-2.6.38-rc7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 04:31:19 +01:00
Stephan Raue
33648e3ed9 VERSION: set version to 0.99.3 (RC-3)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:59:15 +01:00
Stephan Raue
35957e8f67 Merge branch 'master' into openelec-1.0 2011-03-02 03:58:04 +01:00
Stephan Raue
097c95cd0c xbmc-addon-settings: add german language file, thanks to sCAPe and birds
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:54:32 +01:00
Stephan Raue
123136a069 linux-firmware: rework firmware packages, we have our now our own firmware repos at https://github.com/OpenELEC/dvb-firmware and https://github.com/OpenELEC/wlan-firmware, this saves us much space again :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:41:23 +01:00
Stephan Raue
14ebb58d15 new package: add package 'wlan-firmware'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:39:37 +01:00
Stephan Raue
30ffc7b1fa new package: add package 'dvb-firmware'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:39:24 +01:00
Stephan Raue
c515993641 b43-fw: remove package 'b43-fw'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:38:24 +01:00
Stephan Raue
bf19953eba ipw2100-fw: remove package 'ipw2100-fw'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:38:08 +01:00
Stephan Raue
05cdc9a3c1 ipw2200-fw: remove package 'ipw2200-fw'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:37:46 +01:00
Stephan Raue
a63e18dee6 zd1211-firmware: remove package 'zd1211-firmware'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:37:27 +01:00
Stephan Raue
f096a98756 linuxtv-dvb-firmware: remove package 'linuxtv-dvb-firmware'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-02 03:37:04 +01:00
Stephan Raue
8e873064bc xbmc: add boxee remote support hack, thanks to elum
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-01 04:24:22 +01:00
Stephan Raue
248c68af4e connman: update to connman-3634185
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-28 20:06:34 +01:00
Stephan Raue
20faf6a8fb linux: add patch to fix wakeup from standby if using the nuvoton driver, thanks to demod
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-28 15:56:50 +01:00
Stephan Raue
859a84f5b8 xbmc: change detection of GPU temperature because of a format change in output of nvidia-smi, thanks to gilphilbert and xe`
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-28 15:53:55 +01:00
Stephan Raue
4950cfdc7a xf86-video-nvidia: add a proper symlink so nvidia-smi is now running
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-28 15:52:19 +01:00
Stephan Raue
7e1fd18d37 autoupdate: use /storage/.xbmc/temp as tempdir for downloading and extracting (fixes update problems on low memory devices like ATV1)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-28 00:26:57 +01:00
Stephan Raue
c2c4fa8c4d samba: add printers section in samba.conf to hide some ugly log messages, thanks to Milhouse
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-27 23:52:12 +01:00
Stephan Raue
83dbd9556b xf86-video-nvidia: install libnvidia-ml.so* too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-27 23:43:59 +01:00
Stephan Raue
97b55b181e xextproto: update to xextproto-7.2.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-27 20:31:16 +01:00
newphreak
f0f0205166 xbmc-addon-settings: update norwegian translations 2011-02-26 17:48:13 -08:00
Stephan Raue
50850b1623 xbmc-addon-settings: add initailly (default) norwegian language file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-27 02:39:53 +01:00
375 changed files with 44306 additions and 30843 deletions

6
README
View File

@@ -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

View File

@@ -1 +1 @@
0.99.2
0.99.5

42
config/arch.arm Normal file
View 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
View 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
View 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"

View File

@@ -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
}

View File

@@ -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

View File

@@ -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

View File

@@ -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
@@ -95,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
@@ -107,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++
@@ -150,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=""

View File

@@ -23,14 +23,12 @@
. 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 \

View File

@@ -24,7 +24,7 @@ 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_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"
@@ -33,4 +33,4 @@ 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"

View 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
View 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

View File

@@ -23,4 +23,4 @@
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libtalloc.so* $INSTALL/usr/lib
cp -P $PKG_BUILD/libmp3lame/.libs/libmp3lame.so* $INSTALL/usr/lib

View File

@@ -18,19 +18,19 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="ipw2100-fw"
PKG_VERSION="1.3"
PKG_NAME="lame"
PKG_VERSION="3.98.4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Free-to-use"
PKG_SITE="http://ipw2100.sourceforge.net/"
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_LICENSE="LGPL"
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="linux-firmware"
PKG_SHORTDESC="ipw2100-fw: Intel PRO/Wireless 2100 Driver for Linux"
PKG_LONGDESC="This project was created by Intel to enable support for the Intel PRO/Wireless 2100 Network Connection mini PCI adapter. This project (IPW2100) is intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)."
PKG_SECTION="audio"
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="no"
PKG_AUTORECONF="yes"

View 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, &micro) != 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

View File

@@ -32,5 +32,4 @@ cd $PKG_BUILD
--with-ogg=$SYSROOT_PREFIX/usr
make
$MAKEINSTALL

View File

@@ -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 \

View File

@@ -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

View File

@@ -37,7 +37,6 @@ cd $PKG_BUILD
--enable-dynamic-extensions \
--with-gnu-ld
make
$STRIP .libs/sqlite3

View File

@@ -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

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="w_scan"
PKG_VERSION="20110206"
PKG_VERSION="20110306"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -1,11 +0,0 @@
diff -Naur w_scan-20110206/countries.c w_scan-20110206.patch/countries.c
--- w_scan-20110206/countries.c 2011-02-05 20:03:50.000000000 +0100
+++ w_scan-20110206.patch/countries.c 2011-02-21 23:21:51.194553010 +0100
@@ -31,7 +31,6 @@
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
-#include <linux/videodev.h>
#include <linux/dvb/frontend.h>
#ifdef VDRVERSNUM

View File

@@ -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"

View File

@@ -52,7 +52,7 @@ glib_cv_stack_grows='no' \
--disable-dtrace \
--disable-systemtap \
--disable-gcov \
--with-libiconv=gnu \
--with-libiconv \
--enable-Bsymbolic \
--disable-rebuilds \
--disable-gtk-doc \

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="glib"
PKG_VERSION="2.28.1"
PKG_VERSION="2.28.5"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"

View File

@@ -1,24 +0,0 @@
diff -Naur glib-2.28.1-old/configure.ac glib-2.28.1-new/configure.ac
--- glib-2.28.1-old/configure.ac 2011-02-17 20:33:11.000000000 -0800
+++ glib-2.28.1-new/configure.ac 2011-02-18 09:19:32.000000000 -0800
@@ -858,6 +858,7 @@
AC_CHECK_HEADERS([sys/vfs.h sys/mount.h sys/vmount.h sys/statfs.h sys/statvfs.h])
AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
AC_CHECK_HEADERS([sys/uio.h sys/mkdev.h])
+AC_CHECK_HEADERS([linux/magic.h])
# check for structure fields
AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct stat.st_atimensec, struct stat.st_atim.tv_nsec, struct stat.st_ctimensec, struct stat.st_ctim.tv_nsec])
diff -Naur glib-2.28.1-old/glib/gfileutils.c glib-2.28.1-new/glib/gfileutils.c
--- glib-2.28.1-old/glib/gfileutils.c 2011-02-11 07:23:12.000000000 -0800
+++ glib-2.28.1-new/glib/gfileutils.c 2011-02-18 09:19:32.000000000 -0800
@@ -54,7 +54,9 @@
#include "glibintl.h"
#ifdef __linux__ /* for btrfs check */
+#ifdef HAVE_LINUX_MAGIC_H
#include <linux/magic.h>
+#endif
#include <sys/vfs.h>
#endif

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="ncurses"
PKG_VERSION="5.7"
PKG_VERSION="5.8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"

View File

@@ -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

View 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 )

View 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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -22,5 +22,6 @@
. config/options $1
mkdir -p $INSTALL/lib/firmware
cp -PR $PKG_BUILD/*.fw* $INSTALL/lib/firmware
cd $PKG_BUILD
DESTDIR=.install ./install

View File

@@ -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

View File

@@ -18,19 +18,19 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="b43-fw"
PKG_VERSION="20110211"
PKG_NAME="dvb-firmware"
PKG_VERSION="0.0.6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Free-to-use"
PKG_SITE="http://www.broadcom.com"
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="b43-fw: Broadcom B43 Firmware"
PKG_LONGDESC="b43-fw: Broadcom B43 Firmware"
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"

View File

@@ -1,38 +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
if [ "$FIRMWARE" = "external" ]; then
mkdir -p $INSTALL/lib/firmware
cp -R $PKG_BUILD/* $INSTALL/lib/firmware
fi
for firmware in $ADDITIONAL_FIRMWARE; do
[ $firmware = b43 ] && $SCRIPTS/install b43-fw
[ $firmware = ipw2100 ] && $SCRIPTS/install ipw2100-fw
[ $firmware = ipw2200 ] && $SCRIPTS/install ipw2200-fw
[ $firmware = zd1211 ] && $SCRIPTS/install zd1211-firmware
[ $firmware = dvb-firmware ] && $SCRIPTS/install linuxtv-dvb-firmware
done
exit 0

View File

@@ -19,18 +19,18 @@
################################################################################
PKG_NAME="linux-firmware"
PKG_VERSION="20110222"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree"
PKG_URL="http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_SITE=""
PKG_URL=""
PKG_DEPENDS="$FIRMWARE"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="linux-firmware"
PKG_SECTION="firmware"
PKG_SHORTDESC="linux-firmware: various free firmware drivers"
PKG_LONGDESC="linux-firmware is a package to install 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"

View 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

View File

@@ -22,5 +22,5 @@
. config/options $1
mkdir -p $INSTALL/lib/firmware
cp -PR $PKG_BUILD/* $INSTALL/lib/firmware
mkdir -p $INSTALL
cp -PR $PKG_BUILD/.install/* $INSTALL

View File

@@ -18,19 +18,19 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="linuxtv-dvb-firmware"
PKG_VERSION="20110212"
PKG_NAME="wlan-firmware"
PKG_VERSION="0.0.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Free-to-use"
PKG_SITE="http://www.linuxtv.org"
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="linux-firmware"
PKG_SHORTDESC="linuxtv-dvb-firmware: firmwarefiles for various DVB Cards."
PKG_LONGDESC="firmwarefiles for various DVB Cards."
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"

View File

@@ -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/zd1211
cp -P $BUILD/$PKG_NAME/zd1211* $INSTALL/lib/firmware/zd1211

View File

@@ -1,36 +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="zd1211-firmware"
PKG_VERSION="1.4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Free-to-use"
PKG_SITE="http://sourceforge.net/projects/zd1211/"
PKG_URL="$SOURCEFORGE_SRC/zd1211/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="linux-firmware"
PKG_SHORTDESC="zd1211-firmware: firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip Firmware"
PKG_LONGDESC="zd1211-firmware: firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip Firmware"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@@ -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

View File

@@ -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

View File

@@ -30,21 +30,18 @@ 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
if [ "$FIRMWARE" = "internal" ]; then
# 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
fi
# 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
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

View File

@@ -19,13 +19,13 @@
################################################################################
PKG_NAME="linux"
PKG_VERSION="2.6.38-rc6"
PKG_VERSION="2.6.38.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
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_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 xz"
PKG_PRIORITY="optional"
@@ -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

View 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

View File

@@ -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

View File

@@ -1,20 +0,0 @@
http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.37/2.6.37-ck2/patches/
2.6.37-sched-bfs-363.patch
2637-bfs363-nonhotplug_fix.patch
sched-add-above-background-load-function.patch
mm-zero_swappiness.patch
mm-enable_swaptoken_only_when_swap_full.patch
mm-drop_swap_cache_aggressively.patch
mm-kswapd_inherit_prio-1.patch
mm-background_scan.patch
mm-idleprio_prio-1.patch
mm-lru_cache_add_lru_tail.patch
mm-decrease_default_dirty_ratio.patch
kconfig-expose_vmsplit_option.patch
hz-default_1000.patch
hz-no_default_250.patch
hz-raise_max.patch
preempt-desktop-tune.patch
cpufreq-bfs_tweaks.patch
ck2-version.patch

View File

@@ -1,60 +0,0 @@
Fix a failure to build if CPU hotplug is disabled with BFS.
-ck
---
kernel/sched_bfs.c | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
Index: linux-2.6.37-ck2/kernel/sched_bfs.c
===================================================================
--- linux-2.6.37-ck2.orig/kernel/sched_bfs.c 2011-02-14 09:50:24.351252002 +1100
+++ linux-2.6.37-ck2/kernel/sched_bfs.c 2011-02-14 09:53:53.820252000 +1100
@@ -4812,6 +4812,23 @@
grq_unlock_irqrestore(&flags);
}
+/*
+ * Ensures that the idle task is using init_mm right before its cpu goes
+ * offline.
+ */
+void idle_task_exit(void)
+{
+ struct mm_struct *mm = current->active_mm;
+
+ BUG_ON(cpu_online(smp_processor_id()));
+
+ if (mm != &init_mm)
+ switch_mm(mm, &init_mm, current);
+ mmdrop(mm);
+}
+
+#endif /* CONFIG_HOTPLUG_CPU */
+
void sched_set_stop_task(int cpu, struct task_struct *stop)
{
struct sched_param stop_param = { .sched_priority = STOP_PRIO };
@@ -4841,23 +4858,6 @@
}
}
-/*
- * Ensures that the idle task is using init_mm right before its cpu goes
- * offline.
- */
-void idle_task_exit(void)
-{
- struct mm_struct *mm = current->active_mm;
-
- BUG_ON(cpu_online(smp_processor_id()));
-
- if (mm != &init_mm)
- switch_mm(mm, &init_mm, current);
- mmdrop(mm);
-}
-
-#endif /* CONFIG_HOTPLUG_CPU */
-
#if defined(CONFIG_SCHED_DEBUG) && defined(CONFIG_SYSCTL)
static struct ctl_table sd_ctl_dir[] = {

View File

@@ -1,19 +0,0 @@
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
Index: linux-2.6.37-ck2/Makefile
===================================================================
--- linux-2.6.37-ck2.orig/Makefile 2011-01-06 14:04:07.000000000 +1100
+++ linux-2.6.37-ck2/Makefile 2011-02-14 10:11:20.469252000 +1100
@@ -10,6 +10,10 @@
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.
+CKVERSION = -ck2
+CKNAME = BFS Powered
+EXTRAVERSION := $(EXTRAVERSION)$(CKVERSION)
+
# Do not:
# o use make's built-in rules and variables
# (this increases performance and avoids hard-to-debug behaviour);

View File

@@ -1,37 +0,0 @@
---
drivers/cpufreq/cpufreq_ondemand.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: linux-2.6.37-ck2/drivers/cpufreq/cpufreq_ondemand.c
===================================================================
--- linux-2.6.37-ck2.orig/drivers/cpufreq/cpufreq_ondemand.c 2011-01-06 14:04:08.000000000 +1100
+++ linux-2.6.37-ck2/drivers/cpufreq/cpufreq_ondemand.c 2011-02-14 10:11:11.438252001 +1100
@@ -28,12 +28,12 @@
* It helps to keep variable names smaller, simpler
*/
-#define DEF_FREQUENCY_DOWN_DIFFERENTIAL (10)
-#define DEF_FREQUENCY_UP_THRESHOLD (80)
+#define DEF_FREQUENCY_DOWN_DIFFERENTIAL (17)
+#define DEF_FREQUENCY_UP_THRESHOLD (63)
#define DEF_SAMPLING_DOWN_FACTOR (1)
#define MAX_SAMPLING_DOWN_FACTOR (100000)
#define MICRO_FREQUENCY_DOWN_DIFFERENTIAL (3)
-#define MICRO_FREQUENCY_UP_THRESHOLD (95)
+#define MICRO_FREQUENCY_UP_THRESHOLD (80)
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000)
#define MIN_FREQUENCY_UP_THRESHOLD (11)
#define MAX_FREQUENCY_UP_THRESHOLD (100)
@@ -513,10 +513,10 @@
/*
* Every sampling_rate, we check, if current idle time is less
- * than 20% (default), then we try to increase frequency
+ * than 37% (default), then we try to increase frequency
* Every sampling_rate, we look for a the lowest
* frequency which can sustain the load while keeping idle time over
- * 30%. If such a frequency exist, we try to decrease to this frequency.
+ * 50%. If such a frequency exist, we try to decrease to this frequency.
*
* Any frequency increase takes it to the maximum frequency.
* Frequency reduction happens at minimum steps of

View File

@@ -1,17 +0,0 @@
---
kernel/Kconfig.hz | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.37-ck2/kernel/Kconfig.hz
===================================================================
--- linux-2.6.37-ck2.orig/kernel/Kconfig.hz 2009-06-10 13:05:27.000000000 +1000
+++ linux-2.6.37-ck2/kernel/Kconfig.hz 2011-02-14 10:11:10.474252000 +1100
@@ -4,7 +4,7 @@
choice
prompt "Timer frequency"
- default HZ_250
+ default HZ_1000
help
Allows the configuration of the timer frequency. It is customary
to have the timer interrupt run at 1000 Hz but 100 Hz may be more

View File

@@ -1,47 +0,0 @@
---
kernel/Kconfig.hz | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Index: linux-2.6.37-ck2/kernel/Kconfig.hz
===================================================================
--- linux-2.6.37-ck2.orig/kernel/Kconfig.hz 2011-02-14 10:11:10.474252000 +1100
+++ linux-2.6.37-ck2/kernel/Kconfig.hz 2011-02-14 10:11:10.702252000 +1100
@@ -23,13 +23,14 @@
with lots of processors that may show reduced performance if
too many timer interrupts are occurring.
- config HZ_250
+ config HZ_250_NODEFAULT
bool "250 HZ"
help
- 250 Hz is a good compromise choice allowing server performance
- while also showing good interactive responsiveness even
- on SMP and NUMA systems. If you are going to be using NTSC video
- or multimedia, selected 300Hz instead.
+ 250 HZ is a lousy compromise choice allowing server interactivity
+ while also showing desktop throughput and no extra power saving on
+ laptops. No good for anything.
+
+ Recommend 100 or 1000 instead.
config HZ_300
bool "300 HZ"
@@ -43,14 +44,16 @@
bool "1000 HZ"
help
1000 Hz is the preferred choice for desktop systems and other
- systems requiring fast interactive responses to events.
+ systems requiring fast interactive responses to events. Laptops
+ can also benefit from this choice without sacrificing battery life
+ if dynticks is also enabled.
endchoice
config HZ
int
default 100 if HZ_100
- default 250 if HZ_250
+ default 250 if HZ_250_NODEFAULT
default 300 if HZ_300
default 1000 if HZ_1000

View File

@@ -1,174 +0,0 @@
---
arch/x86/kernel/cpu/proc.c | 2 -
arch/x86/kernel/smpboot.c | 2 -
include/linux/nfsd/stats.h | 4 +-
include/net/inet_timewait_sock.h | 10 ++++--
init/calibrate.c | 2 -
kernel/Kconfig.hz | 64 +++++++++++++++++++++++++++++++++++++++
6 files changed, 76 insertions(+), 8 deletions(-)
Index: linux-2.6.37-ck2/arch/x86/kernel/cpu/proc.c
===================================================================
--- linux-2.6.37-ck2.orig/arch/x86/kernel/cpu/proc.c 2009-12-03 21:39:58.000000000 +1100
+++ linux-2.6.37-ck2/arch/x86/kernel/cpu/proc.c 2011-02-14 10:11:10.919252001 +1100
@@ -109,7 +109,7 @@
seq_printf(m, "\nbogomips\t: %lu.%02lu\n",
c->loops_per_jiffy/(500000/HZ),
- (c->loops_per_jiffy/(5000/HZ)) % 100);
+ (c->loops_per_jiffy * 10 /(50000/HZ)) % 100);
#ifdef CONFIG_X86_64
if (c->x86_tlbsize > 0)
Index: linux-2.6.37-ck2/arch/x86/kernel/smpboot.c
===================================================================
--- linux-2.6.37-ck2.orig/arch/x86/kernel/smpboot.c 2011-01-06 14:04:08.000000000 +1100
+++ linux-2.6.37-ck2/arch/x86/kernel/smpboot.c 2011-02-14 10:11:10.920252001 +1100
@@ -497,7 +497,7 @@
"Total of %d processors activated (%lu.%02lu BogoMIPS).\n",
num_online_cpus(),
bogosum/(500000/HZ),
- (bogosum/(5000/HZ))%100);
+ (bogosum * 10/(50000/HZ))%100);
pr_debug("Before bogocount - setting activated=1.\n");
}
Index: linux-2.6.37-ck2/include/linux/nfsd/stats.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/nfsd/stats.h 2009-06-10 13:05:27.000000000 +1000
+++ linux-2.6.37-ck2/include/linux/nfsd/stats.h 2011-02-14 10:11:10.920252001 +1100
@@ -11,8 +11,8 @@
#include <linux/nfs4.h>
-/* thread usage wraps very million seconds (approx one fortnight) */
-#define NFSD_USAGE_WRAP (HZ*1000000)
+/* thread usage wraps every one hundred thousand seconds (approx one day) */
+#define NFSD_USAGE_WRAP (HZ*100000)
#ifdef __KERNEL__
Index: linux-2.6.37-ck2/include/net/inet_timewait_sock.h
===================================================================
--- linux-2.6.37-ck2.orig/include/net/inet_timewait_sock.h 2010-08-02 11:12:25.000000000 +1000
+++ linux-2.6.37-ck2/include/net/inet_timewait_sock.h 2011-02-14 10:11:10.920252001 +1100
@@ -39,8 +39,8 @@
* If time > 4sec, it is "slow" path, no recycling is required,
* so that we select tick to get range about 4 seconds.
*/
-#if HZ <= 16 || HZ > 4096
-# error Unsupported: HZ <= 16 or HZ > 4096
+#if HZ <= 16 || HZ > 16384
+# error Unsupported: HZ <= 16 or HZ > 16384
#elif HZ <= 32
# define INET_TWDR_RECYCLE_TICK (5 + 2 - INET_TWDR_RECYCLE_SLOTS_LOG)
#elif HZ <= 64
@@ -55,8 +55,12 @@
# define INET_TWDR_RECYCLE_TICK (10 + 2 - INET_TWDR_RECYCLE_SLOTS_LOG)
#elif HZ <= 2048
# define INET_TWDR_RECYCLE_TICK (11 + 2 - INET_TWDR_RECYCLE_SLOTS_LOG)
-#else
+#elif HZ <= 4096
# define INET_TWDR_RECYCLE_TICK (12 + 2 - INET_TWDR_RECYCLE_SLOTS_LOG)
+#elif HZ <= 8192
+# define INET_TWDR_RECYCLE_TICK (13 + 2 - INET_TWDR_RECYCLE_SLOTS_LOG)
+#else
+# define INET_TWDR_RECYCLE_TICK (14 + 2 - INET_TWDR_RECYCLE_SLOTS_LOG)
#endif
/* TIME_WAIT reaping mechanism. */
Index: linux-2.6.37-ck2/init/calibrate.c
===================================================================
--- linux-2.6.37-ck2.orig/init/calibrate.c 2010-02-25 21:51:52.000000000 +1100
+++ linux-2.6.37-ck2/init/calibrate.c 2011-02-14 10:11:10.921252001 +1100
@@ -176,7 +176,7 @@
if (!printed)
pr_cont("%lu.%02lu BogoMIPS (lpj=%lu)\n",
loops_per_jiffy/(500000/HZ),
- (loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
+ (loops_per_jiffy * 10 /(50000/HZ)) % 100, loops_per_jiffy);
printed = true;
}
Index: linux-2.6.37-ck2/kernel/Kconfig.hz
===================================================================
--- linux-2.6.37-ck2.orig/kernel/Kconfig.hz 2011-02-14 10:11:10.702252000 +1100
+++ linux-2.6.37-ck2/kernel/Kconfig.hz 2011-02-14 10:11:10.921252001 +1100
@@ -48,6 +48,63 @@
can also benefit from this choice without sacrificing battery life
if dynticks is also enabled.
+ config HZ_1500
+ bool "1500 HZ"
+ help
+ 1500 Hz is an insane value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+ config HZ_2000
+ bool "2000 HZ"
+ help
+ 2000 Hz is an insane value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+ config HZ_3000
+ bool "3000 HZ"
+ help
+ 3000 Hz is an insane value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+ config HZ_4000
+ bool "4000 HZ"
+ help
+ 4000 Hz is an insane value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+ config HZ_5000
+ bool "5000 HZ"
+ help
+ 5000 Hz is an obscene value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+ config HZ_7500
+ bool "7500 HZ"
+ help
+ 7500 Hz is an obscene value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+ config HZ_10000
+ bool "10000 HZ"
+ help
+ 10000 Hz is an obscene value to use to run broken software that is Hz
+ limited.
+
+ Being over 1000, driver breakage is likely.
+
+
endchoice
config HZ
@@ -56,6 +113,13 @@
default 250 if HZ_250_NODEFAULT
default 300 if HZ_300
default 1000 if HZ_1000
+ default 1500 if HZ_1500
+ default 2000 if HZ_2000
+ default 3000 if HZ_3000
+ default 4000 if HZ_4000
+ default 5000 if HZ_5000
+ default 7500 if HZ_7500
+ default 10000 if HZ_10000
config SCHED_HRTICK
def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)

View File

@@ -1,40 +0,0 @@
---
arch/x86/Kconfig | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: linux-2.6.37-ck2/arch/x86/Kconfig
===================================================================
--- linux-2.6.37-ck2.orig/arch/x86/Kconfig 2011-01-06 14:04:08.000000000 +1100
+++ linux-2.6.37-ck2/arch/x86/Kconfig 2011-02-14 10:11:10.260252001 +1100
@@ -1046,7 +1046,7 @@
choice
depends on EXPERIMENTAL
- prompt "Memory split" if EMBEDDED
+ prompt "Memory split"
default VMSPLIT_3G
depends on X86_32
---help---
@@ -1066,17 +1066,17 @@
option alone!
config VMSPLIT_3G
- bool "3G/1G user/kernel split"
+ bool "Default 896MB lowmem (3G/1G user/kernel split)"
config VMSPLIT_3G_OPT
depends on !X86_PAE
- bool "3G/1G user/kernel split (for full 1G low memory)"
+ bool "1GB lowmem (3G/1G user/kernel split)"
config VMSPLIT_2G
- bool "2G/2G user/kernel split"
+ bool "2GB lowmem (2G/2G user/kernel split)"
config VMSPLIT_2G_OPT
depends on !X86_PAE
- bool "2G/2G user/kernel split (for full 2G low memory)"
+ bool "2GB lowmem (2G/2G user/kernel split)"
config VMSPLIT_1G
- bool "1G/3G user/kernel split"
+ bool "3GB lowmem (1G/3G user/kernel split)"
endchoice
config PAGE_OFFSET

View File

@@ -1,69 +0,0 @@
---
mm/vmscan.c | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
Index: linux-2.6.37-ck2/mm/vmscan.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/vmscan.c 2011-02-14 10:11:00.986252001 +1100
+++ linux-2.6.37-ck2/mm/vmscan.c 2011-02-14 10:11:01.254252001 +1100
@@ -1855,6 +1855,33 @@
}
/*
+ * Helper functions to adjust nice level of kswapd, based on the priority of
+ * the task (p) that called it. If it is already higher priority we do not
+ * demote its nice level since it is still working on behalf of a higher
+ * priority task. With kernel threads we leave it at nice 0.
+ *
+ * We don't ever run kswapd real time, so if a real time task calls kswapd we
+ * set it to highest SCHED_NORMAL priority.
+ */
+static inline int effective_sc_prio(struct task_struct *p)
+{
+ if (likely(p->mm)) {
+ if (rt_task(p))
+ return -20;
+ return task_nice(p);
+ }
+ return 0;
+}
+
+static void set_kswapd_nice(struct task_struct *kswapd, int active)
+{
+ long nice = effective_sc_prio(current);
+
+ if (task_nice(kswapd) > nice || !active)
+ set_user_nice(kswapd, nice);
+}
+
+/*
* This is the direct reclaim path, for page-allocating processes. We only
* try to reclaim pages from zones which will satisfy the caller's allocation
* request.
@@ -2457,6 +2484,7 @@
}
}
+ set_user_nice(tsk, 0);
order = pgdat->kswapd_max_order;
}
finish_wait(&pgdat->kswapd_wait, &wait);
@@ -2483,6 +2511,7 @@
void wakeup_kswapd(struct zone *zone, int order)
{
pg_data_t *pgdat;
+ int active;
if (!populated_zone(zone))
return;
@@ -2495,7 +2524,9 @@
trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, zone_idx(zone), order);
if (!cpuset_zone_allowed_hardwall(zone, GFP_KERNEL))
return;
- if (!waitqueue_active(&pgdat->kswapd_wait))
+ active = waitqueue_active(&pgdat->kswapd_wait);
+ set_kswapd_nice(pgdat->kswapd, active);
+ if (!active)
return;
wake_up_interruptible(&pgdat->kswapd_wait);
}

View File

@@ -1,34 +0,0 @@
The default dirty ratio is chosen to be a compromise between throughput and
overall system latency. On a desktop, if an application writes to disk a lot,
that application should be the one to slow down rather than the desktop as a
whole. At higher dirty ratio settings, an application could write a lot to
disk and then happily use lots of CPU time after that while the rest of the
system is busy waiting on that naughty applications disk writes to complete
before anything else happening.
Lower ratios mean that the application that do a lot of disk writes end up
being responsible for their own actions and they're the ones that slow down
rather than the system in general.
This does decrease overall write throughput slightly, but to the benefit of
the latency of the system as a whole.
-ck
---
mm/page-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.37-ck2/mm/page-writeback.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/page-writeback.c 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/mm/page-writeback.c 2011-02-14 10:11:10.037252000 +1100
@@ -78,7 +78,7 @@
/*
* The generator of dirty data starts writeback at this percentage
*/
-int vm_dirty_ratio = 20;
+int vm_dirty_ratio = 5;
/*
* vm_dirty_bytes starts at 0 (disabled) so that it is a function of

View File

@@ -1,87 +0,0 @@
---
include/linux/swap.h | 2 +-
mm/memory.c | 2 +-
mm/swapfile.c | 9 ++++-----
mm/vmscan.c | 2 +-
4 files changed, 7 insertions(+), 8 deletions(-)
Index: linux-2.6.37-ck2/include/linux/swap.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/swap.h 2011-02-14 10:11:00.763252001 +1100
+++ linux-2.6.37-ck2/include/linux/swap.h 2011-02-14 10:11:00.982252001 +1100
@@ -192,7 +192,7 @@
int next; /* swapfile to be used next */
};
-/* Swap 50% full? Release swapcache more aggressively.. */
+/* Swap 50% full? */
#define vm_swap_full() (nr_swap_pages*2 < total_swap_pages)
/* linux/mm/page_alloc.c */
Index: linux-2.6.37-ck2/mm/memory.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/memory.c 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/mm/memory.c 2011-02-14 10:11:00.984252001 +1100
@@ -2754,7 +2754,7 @@
mem_cgroup_commit_charge_swapin(page, ptr);
swap_free(entry);
- if (vm_swap_full() || (vma->vm_flags & VM_LOCKED) || PageMlocked(page))
+ if ((vma->vm_flags & VM_LOCKED) || PageMlocked(page))
try_to_free_swap(page);
unlock_page(page);
if (swapcache) {
Index: linux-2.6.37-ck2/mm/swapfile.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/swapfile.c 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/mm/swapfile.c 2011-02-14 10:11:00.985252001 +1100
@@ -321,7 +321,7 @@
scan_base = offset = si->lowest_bit;
/* reuse swap entry of cache-only swap if not busy. */
- if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) {
+ if (si->swap_map[offset] == SWAP_HAS_CACHE) {
int swap_was_freed;
spin_unlock(&swap_lock);
swap_was_freed = __try_to_reclaim_swap(si, offset);
@@ -410,7 +410,7 @@
spin_lock(&swap_lock);
goto checks;
}
- if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) {
+ if (si->swap_map[offset] == SWAP_HAS_CACHE) {
spin_lock(&swap_lock);
goto checks;
}
@@ -425,7 +425,7 @@
spin_lock(&swap_lock);
goto checks;
}
- if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) {
+ if (si->swap_map[offset] == SWAP_HAS_CACHE) {
spin_lock(&swap_lock);
goto checks;
}
@@ -739,8 +739,7 @@
* Not mapped elsewhere, or swap space full? Free it!
* Also recheck PageSwapCache now page is locked (above).
*/
- if (PageSwapCache(page) && !PageWriteback(page) &&
- (!page_mapped(page) || vm_swap_full())) {
+ if (PageSwapCache(page) && !PageWriteback(page)) {
delete_from_swap_cache(page);
SetPageDirty(page);
}
Index: linux-2.6.37-ck2/mm/vmscan.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/vmscan.c 2011-02-14 10:11:00.536252000 +1100
+++ linux-2.6.37-ck2/mm/vmscan.c 2011-02-14 10:11:00.986252001 +1100
@@ -900,7 +900,7 @@
activate_locked:
/* Not a candidate for swapping, so reclaim swap space. */
- if (PageSwapCache(page) && vm_swap_full())
+ if (PageSwapCache(page))
try_to_free_swap(page);
VM_BUG_ON(PageActive(page));
SetPageActive(page);

View File

@@ -1,20 +0,0 @@
---
include/linux/swap.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6.37-ck2/include/linux/swap.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/swap.h 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/include/linux/swap.h 2011-02-14 10:11:00.763252001 +1100
@@ -348,9 +348,10 @@
extern void grab_swap_token(struct mm_struct *);
extern void __put_swap_token(struct mm_struct *);
+/* Only allow swap token to have effect if swap is full */
static inline int has_swap_token(struct mm_struct *mm)
{
- return (mm == swap_token_mm);
+ return (mm == swap_token_mm && vm_swap_full());
}
static inline void put_swap_token(struct mm_struct *mm)

View File

@@ -1,137 +0,0 @@
---
include/linux/mmzone.h | 6 +++++-
mm/vmscan.c | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 1 deletion(-)
Index: linux-2.6.37-ck2/include/linux/mmzone.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/mmzone.h 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/include/linux/mmzone.h 2011-02-14 10:11:01.470252001 +1100
@@ -15,6 +15,7 @@
#include <linux/seqlock.h>
#include <linux/nodemask.h>
#include <linux/pageblock-flags.h>
+#include <linux/timer.h>
#include <generated/bounds.h>
#include <asm/atomic.h>
#include <asm/page.h>
@@ -161,12 +162,14 @@
WMARK_MIN,
WMARK_LOW,
WMARK_HIGH,
+ WMARK_LOTS,
NR_WMARK
};
#define min_wmark_pages(z) (z->watermark[WMARK_MIN])
#define low_wmark_pages(z) (z->watermark[WMARK_LOW])
#define high_wmark_pages(z) (z->watermark[WMARK_HIGH])
+#define lots_wmark_pages(z) (z->watermark[WMARK_LOTS])
struct per_cpu_pages {
int count; /* number of pages in the list */
@@ -343,7 +346,7 @@
ZONE_PADDING(_pad1_)
/* Fields commonly accessed by the page reclaim scanner */
- spinlock_t lru_lock;
+ spinlock_t lru_lock;
struct zone_lru {
struct list_head list;
} lru[NR_LRU_LISTS];
@@ -645,6 +648,7 @@
wait_queue_head_t kswapd_wait;
struct task_struct *kswapd;
int kswapd_max_order;
+ struct timer_list watermark_timer;
} pg_data_t;
#define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages)
Index: linux-2.6.37-ck2/mm/vmscan.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/vmscan.c 2011-02-14 10:11:01.254252001 +1100
+++ linux-2.6.37-ck2/mm/vmscan.c 2011-02-14 10:11:01.471252001 +1100
@@ -36,6 +36,7 @@
#include <linux/rwsem.h>
#include <linux/delay.h>
#include <linux/kthread.h>
+#include <linux/timer.h>
#include <linux/freezer.h>
#include <linux/memcontrol.h>
#include <linux/delayacct.h>
@@ -2398,6 +2399,8 @@
return sc.nr_reclaimed;
}
+#define WT_EXPIRY (HZ * 5) /* Time to wakeup watermark_timer */
+
/*
* The background pageout daemon, started as a kernel thread
* from the init process.
@@ -2448,6 +2451,8 @@
unsigned long new_order;
int ret;
+ /* kswapd has been busy so delay watermark_timer */
+ mod_timer(&pgdat->watermark_timer, jiffies + WT_EXPIRY);
prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE);
new_order = pgdat->kswapd_max_order;
pgdat->kswapd_max_order = 0;
@@ -2632,20 +2637,57 @@
}
/*
+ * We wake up kswapd every WT_EXPIRY till free ram is above pages_lots
+ */
+static void watermark_wakeup(unsigned long data)
+{
+ pg_data_t *pgdat = (pg_data_t *)data;
+ struct timer_list *wt = &pgdat->watermark_timer;
+ int i;
+
+ if (!waitqueue_active(&pgdat->kswapd_wait) || above_background_load())
+ goto out;
+ for (i = pgdat->nr_zones - 1; i >= 0; i--) {
+ struct zone *z = pgdat->node_zones + i;
+
+ if (!populated_zone(z) || is_highmem(z)) {
+ /* We are better off leaving highmem full */
+ continue;
+ }
+ if (!zone_watermark_ok(z, 0, lots_wmark_pages(z), 0, 0)) {
+ wake_up_interruptible(&pgdat->kswapd_wait);
+ goto out;
+ }
+ }
+out:
+ mod_timer(wt, jiffies + WT_EXPIRY);
+ return;
+}
+
+/*
* This kswapd start function will be called by init and node-hot-add.
* On node-hot-add, kswapd will moved to proper cpus if cpus are hot-added.
*/
int kswapd_run(int nid)
{
pg_data_t *pgdat = NODE_DATA(nid);
+ struct timer_list *wt;
int ret = 0;
if (pgdat->kswapd)
return 0;
+ wt = &pgdat->watermark_timer;
+ init_timer(wt);
+ wt->data = (unsigned long)pgdat;
+ wt->function = watermark_wakeup;
+ wt->expires = jiffies + WT_EXPIRY;
+ add_timer(wt);
+
pgdat->kswapd = kthread_run(kswapd, pgdat, "kswapd%d", nid);
if (IS_ERR(pgdat->kswapd)) {
/* failure at boot is fatal */
+ del_timer(wt);
BUG_ON(system_state == SYSTEM_BOOTING);
printk("Failed to start kswapd on node %d\n",nid);
ret = -1;

View File

@@ -1,33 +0,0 @@
---
include/linux/sched.h | 2 +-
mm/vmscan.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6.37-ck1/include/linux/sched.h
===================================================================
--- linux-2.6.37-ck1.orig/include/linux/sched.h 2011-01-06 14:07:19.971048973 +1100
+++ linux-2.6.37-ck1/include/linux/sched.h 2011-01-06 14:07:58.442334300 +1100
@@ -38,9 +38,9 @@
#define SCHED_BATCH 3
/* SCHED_ISO: Implemented on BFS only */
#define SCHED_IDLE 5
+#define SCHED_IDLEPRIO SCHED_IDLE
#ifdef CONFIG_SCHED_BFS
#define SCHED_ISO 4
-#define SCHED_IDLEPRIO SCHED_IDLE
#define SCHED_MAX (SCHED_IDLEPRIO)
#define SCHED_RANGE(policy) ((policy) <= SCHED_MAX)
#endif
Index: linux-2.6.37-ck1/mm/vmscan.c
===================================================================
--- linux-2.6.37-ck1.orig/mm/vmscan.c 2011-01-06 14:07:58.305326159 +1100
+++ linux-2.6.37-ck1/mm/vmscan.c 2011-01-06 14:07:58.443334359 +1100
@@ -1874,6 +1874,8 @@ static inline int effective_sc_prio(stru
if (likely(p->mm)) {
if (rt_task(p))
return -20;
+ if (p->policy == SCHED_IDLEPRIO)
+ return 19;
return task_nice(p);
}
return 0;

View File

@@ -1,250 +0,0 @@
---
include/linux/mm_inline.h | 14 +++++++++++-
include/linux/swap.h | 8 ++++++-
mm/filemap.c | 50 +++++++++++++++++++++++++++++++++++++++-------
mm/swap.c | 30 ++++++++++++++++++++++-----
4 files changed, 86 insertions(+), 16 deletions(-)
Index: linux-2.6.37-ck2/include/linux/mm_inline.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/mm_inline.h 2009-12-03 21:40:09.000000000 +1100
+++ linux-2.6.37-ck2/include/linux/mm_inline.h 2011-02-14 10:11:09.770252000 +1100
@@ -20,14 +20,24 @@
}
static inline void
-add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list l)
+__add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list l, int tail)
{
- list_add(&page->lru, &zone->lru[l].list);
+ /* See if this should be added to the tail of this lru list */
+ if (tail)
+ list_add_tail(&page->lru, &zone->lru[l].list);
+ else
+ list_add(&page->lru, &zone->lru[l].list);
__inc_zone_state(zone, NR_LRU_BASE + l);
mem_cgroup_add_lru_list(page, l);
}
static inline void
+add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list l)
+{
+ __add_page_to_lru_list(zone, page, l, 0);
+}
+
+static inline void
del_page_from_lru_list(struct zone *zone, struct page *page, enum lru_list l)
{
list_del(&page->lru);
Index: linux-2.6.37-ck2/include/linux/swap.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/swap.h 2011-02-14 10:11:00.982252001 +1100
+++ linux-2.6.37-ck2/include/linux/swap.h 2011-02-14 10:11:09.770252000 +1100
@@ -206,6 +206,7 @@
/* linux/mm/swap.c */
+extern void ____lru_cache_add(struct page *, enum lru_list lru, int tail);
extern void __lru_cache_add(struct page *, enum lru_list lru);
extern void lru_cache_add_lru(struct page *, enum lru_list lru);
extern void activate_page(struct page *);
@@ -226,9 +227,14 @@
__lru_cache_add(page, LRU_INACTIVE_ANON);
}
+static inline void lru_cache_add_file_tail(struct page *page, int tail)
+{
+ ____lru_cache_add(page, LRU_INACTIVE_FILE, tail);
+}
+
static inline void lru_cache_add_file(struct page *page)
{
- __lru_cache_add(page, LRU_INACTIVE_FILE);
+ ____lru_cache_add(page, LRU_INACTIVE_FILE, 0);
}
/* LRU Isolation modes. */
Index: linux-2.6.37-ck2/mm/filemap.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/filemap.c 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/mm/filemap.c 2011-02-14 10:11:09.772252000 +1100
@@ -439,8 +439,8 @@
}
EXPORT_SYMBOL(add_to_page_cache_locked);
-int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
- pgoff_t offset, gfp_t gfp_mask)
+int __add_to_page_cache_lru(struct page *page, struct address_space *mapping,
+ pgoff_t offset, gfp_t gfp_mask, int tail)
{
int ret;
@@ -456,12 +456,18 @@
ret = add_to_page_cache(page, mapping, offset, gfp_mask);
if (ret == 0) {
if (page_is_file_cache(page))
- lru_cache_add_file(page);
+ lru_cache_add_file_tail(page, tail);
else
lru_cache_add_anon(page);
}
return ret;
}
+
+int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
+ pgoff_t offset, gfp_t gfp_mask)
+{
+ return __add_to_page_cache_lru(page, mapping, offset, gfp_mask, 0);
+}
EXPORT_SYMBOL_GPL(add_to_page_cache_lru);
#ifdef CONFIG_NUMA
@@ -968,6 +974,28 @@
ra->ra_pages /= 4;
}
+static inline int nr_mapped(void)
+{
+ return global_page_state(NR_FILE_MAPPED) +
+ global_page_state(NR_ANON_PAGES);
+}
+
+/*
+ * This examines how large in pages a file size is and returns 1 if it is
+ * more than half the unmapped ram. Avoid doing read_page_state which is
+ * expensive unless we already know it is likely to be large enough.
+ */
+static int large_isize(unsigned long nr_pages)
+{
+ if (nr_pages * 6 > vm_total_pages) {
+ unsigned long unmapped_ram = vm_total_pages - nr_mapped();
+
+ if (nr_pages * 2 > unmapped_ram)
+ return 1;
+ }
+ return 0;
+}
+
/**
* do_generic_file_read - generic file read routine
* @filp: the file to read
@@ -992,7 +1020,7 @@
pgoff_t prev_index;
unsigned long offset; /* offset into pagecache page */
unsigned int prev_offset;
- int error;
+ int error, tail = 0;
index = *ppos >> PAGE_CACHE_SHIFT;
prev_index = ra->prev_pos >> PAGE_CACHE_SHIFT;
@@ -1003,7 +1031,7 @@
for (;;) {
struct page *page;
pgoff_t end_index;
- loff_t isize;
+ loff_t isize = 0;
unsigned long nr, ret;
cond_resched();
@@ -1177,8 +1205,16 @@
desc->error = -ENOMEM;
goto out;
}
- error = add_to_page_cache_lru(page, mapping,
- index, GFP_KERNEL);
+ /*
+ * If we know the file is large we add the pages read to the
+ * end of the lru as we're unlikely to be able to cache the
+ * whole file in ram so make those pages the first to be
+ * dropped if not referenced soon.
+ */
+ if (large_isize(end_index))
+ tail = 1;
+ error = __add_to_page_cache_lru(page, mapping,
+ index, GFP_KERNEL, tail);
if (error) {
page_cache_release(page);
if (error == -EEXIST)
Index: linux-2.6.37-ck2/mm/swap.c
===================================================================
--- linux-2.6.37-ck2.orig/mm/swap.c 2011-01-06 14:04:10.000000000 +1100
+++ linux-2.6.37-ck2/mm/swap.c 2011-02-14 10:11:09.772252000 +1100
@@ -215,15 +215,23 @@
EXPORT_SYMBOL(mark_page_accessed);
-void __lru_cache_add(struct page *page, enum lru_list lru)
+void ______pagevec_lru_add(struct pagevec *pvec, enum lru_list lru, int tail);
+
+void ____lru_cache_add(struct page *page, enum lru_list lru, int tail)
{
struct pagevec *pvec = &get_cpu_var(lru_add_pvecs)[lru];
page_cache_get(page);
if (!pagevec_add(pvec, page))
- ____pagevec_lru_add(pvec, lru);
+ ______pagevec_lru_add(pvec, lru, tail);
put_cpu_var(lru_add_pvecs);
}
+EXPORT_SYMBOL(____lru_cache_add);
+
+void __lru_cache_add(struct page *page, enum lru_list lru)
+{
+ ____lru_cache_add(page, lru, 0);
+}
EXPORT_SYMBOL(__lru_cache_add);
/**
@@ -231,7 +239,7 @@
* @page: the page to be added to the LRU.
* @lru: the LRU list to which the page is added.
*/
-void lru_cache_add_lru(struct page *page, enum lru_list lru)
+void __lru_cache_add_lru(struct page *page, enum lru_list lru, int tail)
{
if (PageActive(page)) {
VM_BUG_ON(PageUnevictable(page));
@@ -242,7 +250,12 @@
}
VM_BUG_ON(PageLRU(page) || PageActive(page) || PageUnevictable(page));
- __lru_cache_add(page, lru);
+ ____lru_cache_add(page, lru, tail);
+}
+
+void lru_cache_add_lru(struct page *page, enum lru_list lru)
+{
+ __lru_cache_add_lru(page, lru, 0);
}
/**
@@ -403,7 +416,7 @@
* Add the passed pages to the LRU, then drop the caller's refcount
* on them. Reinitialises the caller's pagevec.
*/
-void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru)
+void ______pagevec_lru_add(struct pagevec *pvec, enum lru_list lru, int tail)
{
int i;
struct zone *zone = NULL;
@@ -431,7 +444,7 @@
if (active)
SetPageActive(page);
update_page_reclaim_stat(zone, page, file, active);
- add_page_to_lru_list(zone, page, lru);
+ __add_page_to_lru_list(zone, page, lru, tail);
}
if (zone)
spin_unlock_irq(&zone->lru_lock);
@@ -439,6 +452,11 @@
pagevec_reinit(pvec);
}
+void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru)
+{
+ ______pagevec_lru_add(pvec, lru, 0);
+}
+
EXPORT_SYMBOL(____pagevec_lru_add);
/*

View File

@@ -1,36 +0,0 @@
---
kernel/Kconfig.preempt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: linux-2.6.37-ck2/kernel/Kconfig.preempt
===================================================================
--- linux-2.6.37-ck2.orig/kernel/Kconfig.preempt 2009-06-10 13:05:27.000000000 +1000
+++ linux-2.6.37-ck2/kernel/Kconfig.preempt 2011-02-14 10:11:11.217252001 +1100
@@ -1,7 +1,7 @@
choice
prompt "Preemption Model"
- default PREEMPT_NONE
+ default PREEMPT
config PREEMPT_NONE
bool "No Forced Preemption (Server)"
@@ -17,7 +17,7 @@
latencies.
config PREEMPT_VOLUNTARY
- bool "Voluntary Kernel Preemption (Desktop)"
+ bool "Voluntary Kernel Preemption (Nothing)"
help
This option reduces the latency of the kernel by adding more
"explicit preemption points" to the kernel code. These new
@@ -31,7 +31,8 @@
applications to run more 'smoothly' even when the system is
under load.
- Select this if you are building a kernel for a desktop system.
+ Select this for no system in particular (choose Preemptible
+ instead on a desktop if you know what's good for you).
config PREEMPT
bool "Preemptible Kernel (Low-Latency Desktop)"

View File

@@ -1,61 +0,0 @@
---
include/linux/sched.h | 7 +++++++
kernel/sched_bfs.c | 20 ++++++++++++++++++++
2 files changed, 27 insertions(+)
Index: linux-2.6.37-ck2/include/linux/sched.h
===================================================================
--- linux-2.6.37-ck2.orig/include/linux/sched.h 2011-02-14 09:47:50.988252000 +1100
+++ linux-2.6.37-ck2/include/linux/sched.h 2011-02-14 10:11:00.292251999 +1100
@@ -1558,6 +1558,7 @@
return (p->policy == SCHED_ISO);
}
extern void remove_cpu(unsigned long cpu);
+extern int above_background_load(void);
#else /* CFS */
extern int runqueue_is_locked(int cpu);
#define tsk_seruntime(t) ((t)->se.sum_exec_runtime)
@@ -1581,6 +1582,12 @@
static inline void remove_cpu(unsigned long cpu)
{
}
+
+/* Anyone feel like implementing this? */
+static inline int above_background_load(void)
+{
+ return 1;
+}
#endif /* CONFIG_SCHED_BFS */
/* Future-safe accessor for struct task_struct's cpus_allowed. */
Index: linux-2.6.37-ck2/kernel/sched_bfs.c
===================================================================
--- linux-2.6.37-ck2.orig/kernel/sched_bfs.c 2011-02-14 09:53:53.820252000 +1100
+++ linux-2.6.37-ck2/kernel/sched_bfs.c 2011-02-14 10:11:00.294252001 +1100
@@ -559,6 +559,26 @@
grq_unlock();
}
+/*
+ * Look for any tasks *anywhere* that are running nice 0 or better. We do
+ * this lockless for overhead reasons since the occasional wrong result
+ * is harmless.
+ */
+int above_background_load(void)
+{
+ struct task_struct *cpu_curr;
+ unsigned long cpu;
+
+ for_each_online_cpu(cpu) {
+ cpu_curr = cpu_rq(cpu)->curr;
+ if (unlikely(!cpu_curr))
+ continue;
+ if (PRIO_TO_NICE(cpu_curr->static_prio) < 1)
+ return 1;
+ }
+ return 0;
+}
+
#ifndef __ARCH_WANT_UNLOCKED_CTXSW
static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next)
{

View File

@@ -0,0 +1,22 @@
--- linux-2.6.24-rc2.orig/arch/x86/boot/tools/build.c 2007-10-06 12:26:14.000000000 +0200
+++ linux-2.6.24-rc2/arch/x86/boot/tools/build.c 2007-10-06 12:27:36.000000000 +0200
@@ -29,7 +29,6 @@
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
@@ -42,6 +41,11 @@
#define DEFAULT_MAJOR_ROOT 0
#define DEFAULT_MINOR_ROOT 0
+#undef major
+#define major(dev) ((int)(((dev) >> 8) & 0xff))
+#undef minor
+#define minor(dev) ((int)((dev) & 0xff))
+
/* Minimal number of setup sectors */
#define SETUP_SECT_MIN 5
#define SETUP_SECT_MAX 64

View File

@@ -0,0 +1,15 @@
Index: linux-2.6.16/scripts/gen_initramfs_list.sh
===================================================================
--- linux-2.6.16.orig/scripts/gen_initramfs_list.sh 2006-03-20 18:41:34.000000000 +0100
+++ linux-2.6.16/scripts/gen_initramfs_list.sh 2006-03-20 18:42:40.000000000 +0100
@@ -56,9 +56,7 @@
parse() {
local location="$1"
- local name="${location/${srcdir}//}"
- # change '//' into '/'
- name="${name//\/\///}"
+ local name="$(echo "$location" | sed -e 's%$srcdir%%' -e 's%//*%/%g')"
local mode="$2"
local uid="$3"
local gid="$4"

View File

@@ -0,0 +1,20 @@
diff -Naur linux-2.6.34-rc7/init/main.c linux-2.6.34-rc7.patch/init/main.c
--- linux-2.6.34-rc7/init/main.c 2010-05-10 03:36:28.000000000 +0200
+++ linux-2.6.34-rc7.patch/init/main.c 2010-05-15 12:28:34.767241760 +0200
@@ -886,8 +886,14 @@
do_basic_setup();
/* Open the /dev/console on the rootfs, this should never fail */
- if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
+ char *console = "/dev_console";
+
+ if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) {
+ sys_mknod(console, S_IFCHR|0600, (TTYAUX_MAJOR<<8)|1);
+ if (sys_open(console, O_RDWR, 0) < 0)
+ printk(KERN_WARNING "Warning: unable to open an initial console.\n");
+ sys_unlink(console);
+ }
(void) sys_dup(0);
(void) sys_dup(0);

View File

@@ -0,0 +1,24 @@
diff -Naur linux-2.6.23-rc9.orig/arch/i386/boot/tty.c linux-2.6.23-rc9/arch/i386/boot/tty.c
--- linux-2.6.23-rc9.orig/arch/x86/boot/tty.c 2007-10-06 12:26:14.000000000 +0200
+++ linux-2.6.23-rc9/arch/x86/boot/tty.c 2007-10-06 12:37:47.000000000 +0200
@@ -92,7 +92,7 @@
int getchar_timeout(void)
{
- int cnt = 30;
+ int cnt = 3;
int t0, t1;
t0 = gettime();
diff -Naur linux-2.6.23-rc9.orig/arch/i386/boot/video.c linux-2.6.23-rc9/arch/i386/boot/video.c
--- linux-2.6.23-rc9.orig/arch/x86/boot/video.c 2007-10-06 12:26:14.000000000 +0200
+++ linux-2.6.23-rc9/arch/x86/boot/video.c 2007-10-06 12:36:05.000000000 +0200
@@ -329,7 +329,7 @@
unsigned int sel;
puts("Press <ENTER> to see video modes available, "
- "<SPACE> to continue, or wait 30 sec\n");
+ "<SPACE> to continue, or wait 3 sec\n");
kbd_flush();
while (1) {

View File

@@ -0,0 +1,13 @@
Index: linux-2.6.16/scripts/kconfig/confdata.c
===================================================================
--- linux-2.6.16.orig/scripts/kconfig/confdata.c 2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6.16/scripts/kconfig/confdata.c 2006-03-20 18:47:06.000000000 +0100
@@ -340,7 +340,7 @@
int type, l;
const char *str;
time_t now;
- int use_timestamp = 1;
+ int use_timestamp = 0;
char *env;
dirname[0] = 0;

View File

@@ -0,0 +1,25 @@
diff -Naur linux-2.6.31-rc4.orig/fs/fat/inode.c linux-2.6.31-rc4/fs/fat/inode.c
--- linux-2.6.31-rc4.orig/fs/fat/inode.c 2009-07-25 12:47:41.000000000 +0200
+++ linux-2.6.31-rc4/fs/fat/inode.c 2009-07-25 13:38:18.000000000 +0200
@@ -979,7 +979,8 @@
}
opts->name_check = 'n';
opts->quiet = opts->showexec = opts->sys_immutable = opts->dotsOK = 0;
- opts->utf8 = opts->unicode_xlate = 0;
+ opts->utf8 = 1;
+ opts->unicode_xlate = 0;
opts->numtail = 1;
opts->usefree = opts->nocase = 0;
opts->tz_utc = 0;
diff -Naur linux-2.6.31-rc4.orig/fs/isofs/inode.c linux-2.6.31-rc4/fs/isofs/inode.c
--- linux-2.6.31-rc4.orig/fs/isofs/inode.c 2009-07-25 12:47:41.000000000 +0200
+++ linux-2.6.31-rc4/fs/isofs/inode.c 2009-07-25 13:38:49.000000000 +0200
@@ -377,7 +377,7 @@
popt->gid = 0;
popt->uid = 0;
popt->iocharset = NULL;
- popt->utf8 = 0;
+ popt->utf8 = 1;
popt->overriderockperm = 0;
popt->session=-1;
popt->sbsector=-1;

View File

@@ -0,0 +1,30 @@
From 4ff58b642f80dedb20533978123d89b5ac9b1ed5 Mon Sep 17 00:00:00 2001
From: Kyle McMartin <kyle@phobos.i.jkkm.org>
Date: Tue, 30 Mar 2010 00:04:29 -0400
Subject: die-floppy-die
Kill the floppy.ko pnp modalias. We were surviving just fine without
autoloading floppy drivers, tyvm.
Please feel free to register all complaints in the wastepaper bin.
---
drivers/block/floppy.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 90c4038..f4a0b90 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4619,8 +4619,7 @@ static const struct pnp_device_id floppy_pnpids[] = {
{"PNP0700", 0},
{}
};
-
-MODULE_DEVICE_TABLE(pnp, floppy_pnpids);
+/* MODULE_DEVICE_TABLE(pnp, floppy_pnpids); */
#else
--
1.7.0.1

View File

@@ -0,0 +1,22 @@
--- linux-2.6.24-rc2.orig/arch/x86/boot/tools/build.c 2007-10-06 12:26:14.000000000 +0200
+++ linux-2.6.24-rc2/arch/x86/boot/tools/build.c 2007-10-06 12:27:36.000000000 +0200
@@ -29,7 +29,6 @@
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
@@ -42,6 +41,11 @@
#define DEFAULT_MAJOR_ROOT 0
#define DEFAULT_MINOR_ROOT 0
+#undef major
+#define major(dev) ((int)(((dev) >> 8) & 0xff))
+#undef minor
+#define minor(dev) ((int)((dev) & 0xff))
+
/* Minimal number of setup sectors */
#define SETUP_SECT_MIN 5
#define SETUP_SECT_MAX 64

View File

@@ -0,0 +1,15 @@
Index: linux-2.6.16/scripts/gen_initramfs_list.sh
===================================================================
--- linux-2.6.16.orig/scripts/gen_initramfs_list.sh 2006-03-20 18:41:34.000000000 +0100
+++ linux-2.6.16/scripts/gen_initramfs_list.sh 2006-03-20 18:42:40.000000000 +0100
@@ -56,9 +56,7 @@
parse() {
local location="$1"
- local name="${location/${srcdir}//}"
- # change '//' into '/'
- name="${name//\/\///}"
+ local name="$(echo "$location" | sed -e 's%$srcdir%%' -e 's%//*%/%g')"
local mode="$2"
local uid="$3"
local gid="$4"

View File

@@ -0,0 +1,20 @@
diff -Naur linux-2.6.34-rc7/init/main.c linux-2.6.34-rc7.patch/init/main.c
--- linux-2.6.34-rc7/init/main.c 2010-05-10 03:36:28.000000000 +0200
+++ linux-2.6.34-rc7.patch/init/main.c 2010-05-15 12:28:34.767241760 +0200
@@ -886,8 +886,14 @@
do_basic_setup();
/* Open the /dev/console on the rootfs, this should never fail */
- if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
+ char *console = "/dev_console";
+
+ if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) {
+ sys_mknod(console, S_IFCHR|0600, (TTYAUX_MAJOR<<8)|1);
+ if (sys_open(console, O_RDWR, 0) < 0)
+ printk(KERN_WARNING "Warning: unable to open an initial console.\n");
+ sys_unlink(console);
+ }
(void) sys_dup(0);
(void) sys_dup(0);

View File

@@ -0,0 +1,24 @@
diff -Naur linux-2.6.23-rc9.orig/arch/i386/boot/tty.c linux-2.6.23-rc9/arch/i386/boot/tty.c
--- linux-2.6.23-rc9.orig/arch/x86/boot/tty.c 2007-10-06 12:26:14.000000000 +0200
+++ linux-2.6.23-rc9/arch/x86/boot/tty.c 2007-10-06 12:37:47.000000000 +0200
@@ -92,7 +92,7 @@
int getchar_timeout(void)
{
- int cnt = 30;
+ int cnt = 3;
int t0, t1;
t0 = gettime();
diff -Naur linux-2.6.23-rc9.orig/arch/i386/boot/video.c linux-2.6.23-rc9/arch/i386/boot/video.c
--- linux-2.6.23-rc9.orig/arch/x86/boot/video.c 2007-10-06 12:26:14.000000000 +0200
+++ linux-2.6.23-rc9/arch/x86/boot/video.c 2007-10-06 12:36:05.000000000 +0200
@@ -329,7 +329,7 @@
unsigned int sel;
puts("Press <ENTER> to see video modes available, "
- "<SPACE> to continue, or wait 30 sec\n");
+ "<SPACE> to continue, or wait 3 sec\n");
kbd_flush();
while (1) {

View File

@@ -0,0 +1,13 @@
Index: linux-2.6.16/scripts/kconfig/confdata.c
===================================================================
--- linux-2.6.16.orig/scripts/kconfig/confdata.c 2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6.16/scripts/kconfig/confdata.c 2006-03-20 18:47:06.000000000 +0100
@@ -340,7 +340,7 @@
int type, l;
const char *str;
time_t now;
- int use_timestamp = 1;
+ int use_timestamp = 0;
char *env;
dirname[0] = 0;

View File

@@ -0,0 +1,25 @@
diff -Naur linux-2.6.31-rc4.orig/fs/fat/inode.c linux-2.6.31-rc4/fs/fat/inode.c
--- linux-2.6.31-rc4.orig/fs/fat/inode.c 2009-07-25 12:47:41.000000000 +0200
+++ linux-2.6.31-rc4/fs/fat/inode.c 2009-07-25 13:38:18.000000000 +0200
@@ -979,7 +979,8 @@
}
opts->name_check = 'n';
opts->quiet = opts->showexec = opts->sys_immutable = opts->dotsOK = 0;
- opts->utf8 = opts->unicode_xlate = 0;
+ opts->utf8 = 1;
+ opts->unicode_xlate = 0;
opts->numtail = 1;
opts->usefree = opts->nocase = 0;
opts->tz_utc = 0;
diff -Naur linux-2.6.31-rc4.orig/fs/isofs/inode.c linux-2.6.31-rc4/fs/isofs/inode.c
--- linux-2.6.31-rc4.orig/fs/isofs/inode.c 2009-07-25 12:47:41.000000000 +0200
+++ linux-2.6.31-rc4/fs/isofs/inode.c 2009-07-25 13:38:49.000000000 +0200
@@ -377,7 +377,7 @@
popt->gid = 0;
popt->uid = 0;
popt->iocharset = NULL;
- popt->utf8 = 0;
+ popt->utf8 = 1;
popt->overriderockperm = 0;
popt->session=-1;
popt->sbsector=-1;

View File

@@ -0,0 +1,30 @@
From 4ff58b642f80dedb20533978123d89b5ac9b1ed5 Mon Sep 17 00:00:00 2001
From: Kyle McMartin <kyle@phobos.i.jkkm.org>
Date: Tue, 30 Mar 2010 00:04:29 -0400
Subject: die-floppy-die
Kill the floppy.ko pnp modalias. We were surviving just fine without
autoloading floppy drivers, tyvm.
Please feel free to register all complaints in the wastepaper bin.
---
drivers/block/floppy.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 90c4038..f4a0b90 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4619,8 +4619,7 @@ static const struct pnp_device_id floppy_pnpids[] = {
{"PNP0700", 0},
{}
};
-
-MODULE_DEVICE_TABLE(pnp, floppy_pnpids);
+/* MODULE_DEVICE_TABLE(pnp, floppy_pnpids); */
#else
--
1.7.0.1

Some files were not shown because too many files have changed in this diff Show More