1) Context
======
I am trying to rebuild all Clutter stuff from RPM source
and I fail on a patch request from the build script.
2) Process
=======
# source download
[r...@moblin-desktop ~]# ls clutter
clutter-1.0.8-5.2.moblin2.src.rpm
clutter-box2d-0.9~20090609-3.1.moblin2.src.rpm
clutter-gesture-0.0.1-3.3.moblin2.src.rpm
clutter-gst-0.10~20090729-2.2.moblin2.src.rpm
clutter-helix-1.0-4.1.moblin2.src.rpm
clutter-imcontext-0.1.5-4.5.moblin2.src.rpm
clutter-mozembed-0.10.5_20091028-1.1.moblin2.src.rpm
clutter-qt-0.9~20090720-3.13.moblin2.src.rpm
pyclutter-0.9.2-1.2.moblin2.src.rpm
# install source packages
rpm -i *clutter*
# packages need to compile clutter, build, compile and install
yum install "pkgconfig(glib-2.0)" "pkgconfig(pango)"
"pkgconfig(xdamage)" "pkgconfig(gtk+-2.0)" gtk-doc
rpmbuild --target=i586 -bb rpmbuild/SPECS/clutter.spec
rpm -i --force rpmbuild/RPMS/i586/clutter-*
# packages need to compile clutter-gst, build, compile and install
yum install "pkgconfig(gstreamer-0.10)"
"pkgconfig(gstreamer-plugins-base-0.10)" libtool
rpmbuild --target=i586 -bb rpmbuild/SPECS/clutter-gst.spec
rpm -iv --force rpmbuild/RPMS/i586/clutter-gst-*
# pakages needed to build clutter-qt, build, compile and install
yum install "pkgconfig(QtCore)" "pkgconfig(QtGui)"
rpmbuild --target=i586 -bb rpmbuild/SPECS/clutter-qt.spec
rpm -iv --force rpmbuild/RPMS/i586/clutter-qt-*
# pakages needed to build clutter-helix, build, compile and install
yum install "pkgconfig(hxmediasink)" "gettext-devel"
rpmbuild --target=i586 -bb rpmbuild/SPECS/clutter-helix.spec
rpm -iv --force rpmbuild/RPMS/i586/clutter-helix-*
# pakages needed to build clutter-box2d, build, compile and install
rpmbuild --target=i586 -bb rpmbuild/SPECS/clutter-box2d.spec
!!!! FAILS to build on a patch request
3) Error
========
The build tries to apply the patch
/root/rpmbuild/SOURCES/clutter-1.0-dependency.patch
But that patch does not seems to be needed (already applied in
clutter-qt rpm)
Any one knows what that about ?
Can I take the patch out with no risk ?
Is there a specific order to follow when compiling Clutter from source
?
Thanks for any help.
Dominig
------------- Console log start
[r...@moblin-desktop ~]# rpm -iv --force
rpmbuild/RPMS/i586/clutter-helix-*
Preparing packages for installation...
clutter-helix-1.0-4.1.moblin2
clutter-helix-debuginfo-1.0-4.1.moblin2
clutter-helix-devel-1.0-4.1.moblin2
[r...@moblin-desktop ~]#
[r...@moblin-desktop ~]# rpmbuild --target=i586 -bb
rpmbuild/SPECS/clutter-box2d.spec
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FsXsGu
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clutter-box2d-0.9~20090609
+ /usr/bin/bzip2 -dc
/root/rpmbuild/SOURCES/clutter-box2d-0.9~20090609.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clutter-box2d-0.9~20090609
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clutter-1.0-dependency.patch):'
Patch #0 (clutter-1.0-dependency.patch):
+ /bin/cat /root/rpmbuild/SOURCES/clutter-1.0-dependency.patch
+ /usr/bin/patch -s -p1 -b --suffix .clutter-1.0-dependency --fuzz=2
The text leading up to this was:
--------------------------
|diff -urN clutter-qt-0.9~20090720.orig/clutter-qt/Makefile.am
clutter-qt-0.9~20090720/clutter-qt/Makefile.am
|--- clutter-qt-0.9~20090720.orig/clutter-qt/Makefile.am 2009-07-20
12:25:24.000000000 +0100
|+++ clutter-qt-0.9~20090720/clutter-qt/Makefile.am 2009-07-29
14:44:27.000000000 +0100
--------------------------
File to patch:
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists