FS#6140 - Mugshot does not compile

Attached to Project: Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Tuesday, 02 January 2007, 23:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I wanted to compile mugshot for arch (the current AUR package is too old), but it won't compile:
http://download.mugshot.org/client/sources/linux/mugshot-1.1.30.tar.gz
The configure script complains that no gecko-sdk exists. I know that you guys have switched to xulrunner, but when I try to give that folder as gecko-idl or -sdk or -headers, it still won't configure properly. Is gecko-sdk not used anymore by mozilla officially, or archlinux uses bleeding edge stuff? Who's fault is the non-configure issue?
This task depends upon

Closed by  arjan timmerman (blaasvis)
Friday, 05 January 2007, 08:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  more of a support request...
Comment by arjan timmerman (blaasvis) - Wednesday, 03 January 2007, 07:49 GMT
The bug trackers isn't meant to support aur PKGBUILDS.

but look at this one it might help you on your way:
http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/gnome/epiphany/PKGBUILD?rev=1.50&cvsroot=Extra&only_with_tag=CURRENT&content-type=text/vnd.viewcvs-markup
Comment by Eugenia Loli-Queru (Eugenia) - Wednesday, 03 January 2007, 08:08 GMT
The reason I posted this here is because nothing I tried worked. As far as I am concerned, this application is not source-compatible with Arch Linux because Arch has deprecated the gecko-sdk package. So from one point of view, it is Arch's problem, not Mugshot's. The Epiphany build uses "--with-mozilla=xulrunner" which doesn't help me with Mugshot which requires specifying a direct folder for the idl and header mozilla files (it requires to specify --with-gecko-sdk --with-gecko-idl and --with-gecko-headers).
Comment by arjan timmerman (blaasvis) - Wednesday, 03 January 2007, 08:27 GMT
imho it is mugshot's problem, they need to support xulrunner.
Comment by Jan de Groot (JGC) - Wednesday, 03 January 2007, 10:05 GMT
./configure --with-gecko-idl=/opt/mozilla/share/idl/xulrunner --with-gecko-headers=/opt/mozilla/include/xulrunner --with-xpidl=/opt/mozilla/lib/xulrunner/xpidl
make LDFLAGS+="-R/opt/mozilla/lib/xulrunner"

there you go, compiles fine, also runs "fine" from the source directory, didn't test make install because I don't want to install mugshot.
Comment by Eugenia Loli-Queru (Eugenia) - Friday, 05 January 2007, 05:33 GMT
Thanks Jan, it compiled and installed, but when it is running, it doesn't have its icon in the notification taskbar. It shows as a broken icon...
Comment by arjan timmerman (blaasvis) - Friday, 05 January 2007, 07:45 GMT
make sure you install the icon into the right place, you will probably need to add "install -m755 ${startdir}/src/file ${startdir}/pkg/file" to the pkgbuild
Comment by Eugenia Loli-Queru (Eugenia) - Friday, 05 January 2007, 08:02 GMT
I didn't create a pkgbuild, I just build it the way JGC said and then made install. The icon should have been installed in the right place...
Comment by arjan timmerman (blaasvis) - Friday, 05 January 2007, 08:16 GMT
try running gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor and update-desktop-database -q
if not go to the mugshot devs then, there build files probably are broken.
Comment by Eugenia Loli-Queru (Eugenia) - Friday, 05 January 2007, 08:19 GMT
That was it, thanks.

Loading...