This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 .../conf/distro/include/moblin-fixed-revisions.inc |    4 ++
 .../sreadahead/sreadahead-0.02/set_to_idle.patch   |   39 ++++++++++++++++++++
 meta-moblin/packages/sreadahead/sreadahead_0.02.bb |    3 +-
 meta/packages/atk/atk_1.24.0.bb                    |    6 +++
 .../cairo/cairo-1.8.2/hardcoded_libtool.patch      |   17 +++++++++
 meta/packages/cairo/cairo_1.8.2.bb                 |    6 +++
 meta/packages/pango/pango-1.22.2/no-tests.patch    |   12 ++++++
 meta/packages/pango/pango_1.22.2.bb                |    3 ++
 meta/packages/xorg-lib/pixman_0.12.0.bb            |    4 ++
 9 files changed, 93 insertions(+), 1 deletions(-)

New commits:
commit 0ed68d5ed4d5d0123e783bf890d2e5d4f760cca7
Author: Peter Zhu <[EMAIL PROTECTED]>
Date:   Wed Nov 12 14:40:17 2008 +0800

    upgrade PR of sreadahead_0.02.bb

commit 29f395a3a637862ca53730cec5df67bfa11cc35e
Author: austin <[EMAIL PROTECTED]>
Date:   Fri Nov 7 05:01:12 2008 -0500

    sreadahead: Add a patch to set the app to io-idle running status.
    
    This patch sets the sreadahead to io-idle stauts when it is running,
    so that sreadahead will not preempt IO with other apps.

commit 55bfa55ee647de2c09c66826e99acdc2aef62d60
Merge: 5698e0be46718ac32888ae2ee13423d370018a07 
7252a3f082036f9d11364f34dcefc3e4ed027991
Author: peterzhu <[EMAIL PROTECTED]>
Date:   Tue Nov 11 22:55:21 2008 +0800

    Merge commit 'staging/lixu/MF' into peter

commit 7252a3f082036f9d11364f34dcefc3e4ed027991
Author: Xu Li <[EMAIL PROTECTED]>
Date:   Tue Nov 11 20:26:01 2008 +0800

    upgrade pango to 1.22.2; disable pango tests

commit bfb5d767182323028846bbbaab9b8cc40497cd8c
Author: Xu Li <[EMAIL PROTECTED]>
Date:   Tue Nov 11 20:15:17 2008 +0800

    upgrade cairo to 1.8.2; add patch to fix its libtool issue

commit f30cd0c73f268e84434f4e1eb6ae5cdb21a0f7f6
Author: Xu Li <[EMAIL PROTECTED]>
Date:   Tue Nov 11 20:02:01 2008 +0800

    upgrade pixman to 0.12.0

commit a4498449a24cb238ebf0922f7870d38c619ad577
Author: Xu Li <[EMAIL PROTECTED]>
Date:   Tue Nov 11 19:55:28 2008 +0800

    upgrade atk to 1.24.0


Diff in this email is a maximum of 400 lines.
diff --git a/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc 
b/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc
index d8a7b89..9c92bc6 100644
--- a/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc
+++ b/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc
@@ -3,3 +3,7 @@
 # from Poky:
 #
 
+PREFERRED_VERSION_atk ?= "1.24.0"
+PREFERRED_VERSION_pixman ?= "0.12.0"
+PREFERRED_VERSION_cairo ?= "1.8.2"
+PREFERRED_VERSION_pango ?= "1.22.2"
diff --git a/meta-moblin/packages/sreadahead/sreadahead-0.02/set_to_idle.patch 
b/meta-moblin/packages/sreadahead/sreadahead-0.02/set_to_idle.patch
new file mode 100644
index 0000000..b486590
--- /dev/null
+++ b/meta-moblin/packages/sreadahead/sreadahead-0.02/set_to_idle.patch
@@ -0,0 +1,39 @@
+diff -Naurp sreadahead-0.02/readahead.c sreadahead-0.02-nice/readahead.c
+--- sreadahead-0.02/readahead.c        2008-11-06 00:57:17.000000000 -0500
++++ sreadahead-0.02-nice/readahead.c   2008-11-06 02:28:29.000000000 -0500
+@@ -26,7 +26,18 @@
+ #include <errno.h>
+ 
+ #include "readahead.h"
++#include <sys/syscall.h>
+ 
++# if defined(__i386__)
++#  define __NR_ioprio_set     289
++# elif defined(__x86_64__)
++#  define __NR_ioprio_set     251
++# else
++#  error "Unsupported arch"
++# endif
++
++#define IOPRIO_WHO_PROCESS    1
++#define IOPRIO_CLASS_SHIFT    13
+ #define MAXR 1024
+ static struct readahead files[MAXR];
+ static unsigned int total_files = 0;
+@@ -68,7 +79,15 @@ void *one_thread(void *ptr)
+ 
+ int main(int argc, char **argv)
+ {
+-      FILE *file = fopen("/etc/readahead.packed", "r");
++      int iopriority = 7; /* hard code for idle */
++      int iopriority_class = 3; /* 3 stands for idle */
++      int pid = 0;
++      FILE *file;
++
++      if (syscall(__NR_ioprio_set, IOPRIO_WHO_PROCESS, pid, iopriority | 
iopriority_class << IOPRIO_CLASS_SHIFT) == -1)
++              perror("Can not set priority to idle class");
++
++      file = fopen("/etc/readahead.packed", "r");
+       if (!file) {
+               perror("Couldnt open /etc/readahead.packed");
+               return -errno;
diff --git a/meta-moblin/packages/sreadahead/sreadahead_0.02.bb 
b/meta-moblin/packages/sreadahead/sreadahead_0.02.bb
index 1ca5f16..c29a1de 100644
--- a/meta-moblin/packages/sreadahead/sreadahead_0.02.bb
+++ b/meta-moblin/packages/sreadahead/sreadahead_0.02.bb
@@ -2,13 +2,14 @@ DESCRIPTION = "Super readahead, part of the fastboot tool 
set."
 SECTION = "base"
 HOMEPAGE = "http://www.moblin.org";
 LICENSE = "GPLv2"
-PR = "r12"
+PR = "r13"
 
 inherit update-rc.d
 
 SRC_URI = "http://www.moblin.org/sites/all/files/sreadahead-${PV}.tar.gz \
          file://sreadahead-0.02-make.patch;patch=1 \
          file://readahead_c.patch;patch=1 \
+         file://set_to_idle.patch;patch=1 \
          file://sreadahead-generate.sh \
          file://sreadahead.sh"
 
diff --git a/meta/packages/atk/atk_1.24.0.bb b/meta/packages/atk/atk_1.24.0.bb
new file mode 100644
index 0000000..804e9b3
--- /dev/null
+++ b/meta/packages/atk/atk_1.24.0.bb
@@ -0,0 +1,6 @@
+require atk.inc
+
+SRC_URI = "http://download.gnome.org/sources/atk/1.24/${PN}-${PV}.tar.bz2";
+
+
+
diff --git a/meta/packages/cairo/cairo-1.8.2/hardcoded_libtool.patch 
b/meta/packages/cairo/cairo-1.8.2/hardcoded_libtool.patch
new file mode 100644
index 0000000..afdf2c8
--- /dev/null
+++ b/meta/packages/cairo/cairo-1.8.2/hardcoded_libtool.patch
@@ -0,0 +1,17 @@
+Index: cairo-1.8.2/build/aclocal.dolt.m4
+===================================================================
+--- cairo-1.8.2.orig/build/aclocal.dolt.m4
++++ cairo-1.8.2/build/aclocal.dolt.m4
+@@ -163,7 +163,11 @@ done
+ if $modeok && $tagok ; then
+     . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
+ else
+-    exec ${top_builddir_slash}libtool "$[]@"
++__DOLTLIBTOOL__EOF__
++
++echo '    exec ${top_builddir_slash}'${host_alias}-libtool' "$[]@"' >> 
doltlibtool
++
++    cat << '__DOLTLIBTOOL__EOF__' >> doltlibtool
+ fi
+ __DOLTLIBTOOL__EOF__
+ 
diff --git a/meta/packages/cairo/cairo_1.8.2.bb 
b/meta/packages/cairo/cairo_1.8.2.bb
new file mode 100644
index 0000000..fd8a99b
--- /dev/null
+++ b/meta/packages/cairo/cairo_1.8.2.bb
@@ -0,0 +1,6 @@
+require cairo.inc
+
+PR = "r1"
+
+SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz \
+           file://hardcoded_libtool.patch;patch=1"
diff --git a/meta/packages/pango/pango-1.22.2/no-tests.patch 
b/meta/packages/pango/pango-1.22.2/no-tests.patch
new file mode 100644
index 0000000..4a74d8c
--- /dev/null
+++ b/meta/packages/pango/pango-1.22.2/no-tests.patch
@@ -0,0 +1,12 @@
+Index: pango-1.22.2/Makefile.am
+===================================================================
+--- pango-1.22.2.orig/Makefile.am
++++ pango-1.22.2/Makefile.am
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to create Makefile.in.
+ 
+-SUBDIRS= pango modules pango-view examples docs tools tests
++SUBDIRS= pango modules pango-view examples docs tools
+ 
+ EXTRA_DIST =                  \
+       autogen.sh              \
diff --git a/meta/packages/pango/pango_1.22.2.bb 
b/meta/packages/pango/pango_1.22.2.bb
new file mode 100644
index 0000000..be37e8f
--- /dev/null
+++ b/meta/packages/pango/pango_1.22.2.bb
@@ -0,0 +1,3 @@
+require pango.inc
+
+SRC_URI += "file://no-tests.patch;patch=1"
diff --git a/meta/packages/xorg-lib/pixman_0.12.0.bb 
b/meta/packages/xorg-lib/pixman_0.12.0.bb
new file mode 100644
index 0000000..e413295
--- /dev/null
+++ b/meta/packages/xorg-lib/pixman_0.12.0.bb
@@ -0,0 +1,4 @@
+require xorg-lib-common.inc
+
+DESCRIPTION = "Library for lowlevel pixel operations"
+DEPENDS = "virtual/libx11"
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to