SPEC: http://fedora.roving-it.com/rawhide/prism.spec SRPM: http://fedora.roving-it.com/rawhide/prism-0.9-0.1.cvs20080416.fc9.src.rpm This is my first hack at getting prism for Fedora. The spec file is based on a very hacked up copy of the firefox.spec file. It includes a full copy of the mozilla source code (like xulrunner and firefox) as you need the mozilla build system to be able to build it (see b.m.o # 381900 for details) and a horrid install section as the mozilla build system returns "Prism can't be installed directly." on a 'make install' although I can't be sure that's not due to my patches to allow the build of prism without doing a full mozilla build. Loads of feedback welcome :-)
"gecko-devel-unstable" is a BuildRequires, but where is it?
Not sure what you mean by "but where is it?". Do you mean where is the package, where is it required as a BuildReq or something else?
Sorry, Peter -- I meant that that "gecko-devel-unstable" doesn't seem to exist in the Fedora universe. I tried building and it failed due to that BuildReq, and I can't find that package in the repositories, Koji, or as a review request. Building in mock with that line disabled fails.
gecko-devel-unstable is provided by xulrunner-devel-unstable, only available on F-9+.
Its provided by xulrunner-devel-unstable and is the naming convention that is used by the firefox spec so that why I used it as opposed to xulrunner-devel-unstable [root@euuklonw7300b1n ~]# yum whatprovides gecko-devel-unstable Loaded plugins: refresh-packagekit, refresh-updatesd xulrunner-devel-unstable.x86_64 : Development files for Gecko, which are not considered stable xulrunner-devel-unstable.x86_64 : Development files for Gecko, which are not considered stable
Build fails in mock with F9 profile. Adding BuildRequires for these packages allows the mock build to succeed: python, gtk2-devel, dbus-glib-devel, libIDL-devel
I thought there might be some BuildReq issues as I trimmed some of them out from the original firefox spec as wasn't sure whether they'd be needed. Python's an interesting one. Will update the spec soon. Thanks for the update.
The mozilla build system increasingly uses python (moz2 even more so), so not that unusual.
There is now a new prism.spec in the same location as the old one. I'm currently having issue getting the new srpm up there. There's no others changes so it can just go over the other one. I'll upload another srpm tomorrow when I have more bandwidth.
Will continue review when the srpm is up.
New srpm and spec now both uploaded.
rpmlint -v prism.spec: prism.spec:46: W: unversioned-explicit-provides webrunner Mock build with F9 profile is successful (on x86_64). The generated package doesn't run: $ prism /usr/bin/prism: line 181: /usr/lib64/prism-0.9/run-mozilla.sh: No such file or directory /usr/bin/prism: line 181: exec: /usr/lib64/prism-0.9/run-mozilla.sh: cannot execute: No such file or directory run-mozilla.sh is not included in the package: $ rpm -ql prism | grep -c run-mozilla.sh 0
There's another srpm/spec up now with the fix for run-mozilla.sh in.
Updated to the latest svn snapshot. Chris did the last update fix the issue you were seeing? SPEC: http://fedora.roving-it.com/rawhide/prism.spec SRPM: http://fedora.roving-it.com/rawhide/prism-0.9-0.2.cvs20080617.fc9.src.rpm
Hi Peter -- sorry for the delay with this, I'm on the road back from FUDCon and will continue the review when I get back to decent connectivity on Tuesday.
No problems. Also I've seen a similar cpio md5 mismatch to the one below. I'm not sure if its just my laptop or something else. http://blogs.linux.ie/caolan/2005/02/23/cpio-md5-sum-mismatch/
The package builds cleanly under mock and installs OK, but it doesn't seem to *do* anything, whether invoked with a "-webapp ..." argument or without. I've tested it on two x86_64 systems, each running F9 in a fairly clean configuration, and get the same result on both: no UI appears, and no error messages appear. mfinkle suggested running "xulrunner /usr/lib64/prism-0.9/application.ini", but that produces the same effect. The binary download from http://people.mozilla.org/~mfinkle/prism/prism-0.9.en-US.linux-i686.tar.bz2 does present a UI in a window. Also, I am getting SELinux alerts when run in enforcing mode due to /tmp access.
Additional info: [B] is the binary download from pmo/~mfinkle (32 bit) [F] is the fedora package (64 bit) xulrunner[B]+application.ini[F] does not work xulrunner[F]+application.ini[B] does work xulrunner[F]+application.ini[F] does not work xulrunner[B]+application.ini[B] does work
Yes, I'm seeing the same issues. Mozilla has a weird build system for this in that there's no 'make install' equivalent. I'm looking into this and trying to see where things go weird.
SPEC: http://pbrobinson.fedorapeople.org/prism.spec SRPM: http://pbrobinson.fedorapeople.org/prism-0.9-0.3.cvs20080717.fc9.src.rpm I've been playing some more with the build but its still not perfect. Updated srpms here. Issue seems to be with xul and the .jar packages.