Summary: | Ebuild for mugshot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Newberry <brnewber> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | alex_y_xu, cgibreak, elreydetodo, gentoo_j, lars, mail, paulo, tetromino |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.mugshot.org, http://developer.mugshot.org | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 215271, 190836 | ||
Bug Blocks: | |||
Attachments: |
Ebuild for mugshot
Updated and tweaked ebuild for mugshot new version: mugshot-1.1.16.ebuild patch required by mugshot-1.1.16.ebuild mugshot-1.1.16.ebuild mugshot-1.1.16-firefox-update.sh mugshot-1.1.16.ebuild mugshot-1.1.22-firefox-update.sh mugshot-1.1.22-as-needed.patch app-misc/mugshot-1.1.22.ebuild mugshot-1.1.24-use-firefox.patch app-misc/mugshot-1.1.24.ebuild app-misc/mugshot-1.1.25.ebuild mugshot-1.1.26-firefox-update.sh mugshot-1.1.26.ebuild |
Description
Ryan Newberry
2006-06-04 08:46:27 UTC
Created attachment 88351 [details]
Ebuild for mugshot
Created attachment 95882 [details]
Updated and tweaked ebuild for mugshot
The original ebuild attached to this bug is for an old version of the mugshot client (that you can no longer connect with), and misses out a few installation steps needed for a fully working client.
This updated ebuild pulls in the current version of the client (1.1.13), and inherits from the gnome2 eclass (so that it installs the mugshot uri handler gconf schema, and updates the gtk icon cache).
I hope this is the right thing to do :)
Created attachment 98230 [details]
new version: mugshot-1.1.16.ebuild
This is an ebuild for the newest version of mugshot.
Created attachment 98231 [details, diff]
patch required by mugshot-1.1.16.ebuild
Without this patch i could not compile mugshot, because some includes were not found:
...
./common-dist/firefox/src/hippoExtension.cpp:3:22: error: nsMemory.h: No such file or directory
./common-dist/firefox/src/hippoExtension.cpp:5:30: error: nsISupportsUtils.h: No such file or directory
...
Thanks! Seems to build and install fine on AMD64 (with ~amd64 added to the keywords), too. Looking into things a bit more, I think it also needs a change to reflect Gentoo's installed locations for firefox, when installing the extensions. E.g. the firefox-update.sh script installed into /usr/share/mugshot adds links to any /usr/lib/firefox*/extensions directories, but we need it to look in /usr/lib/mozilla-firefox (at least). I'm not sure if firefox-update.sh is called as part of the installation process, but editing it and running it manually added the firefox extension, for me. FYI, Owen Taylor has apparently committed "something very similar" to this patch into the Mugshot SVN now (http://groups.google.com/group/mugshot/msg/bc13102f0be2f143). Created attachment 98305 [details]
mugshot-1.1.16.ebuild
A new version of the ebuild. It installs the firefox extension now too.
Created attachment 98306 [details]
mugshot-1.1.16-firefox-update.sh
A firefox-update script that works for gentoo.
Created attachment 98308 [details]
mugshot-1.1.16.ebuild
I forgot to add gnome2_pkg_postinst to the ebuild. Sorry.
Mugshot requires the X screensaver extensions. You need to add x11-libs/libXScrnSaver to RDEPEND. Created attachment 100490 [details]
mugshot-1.1.22-firefox-update.sh
Update for mugshot-1.1.22 (actually, this is the same as the 1.1.16 version)
Created attachment 100491 [details, diff]
mugshot-1.1.22-as-needed.patch
patch for mugshot-1.1.22 so that you can compile it with LDFLAGS="-Wl,--as-needed"
Created attachment 100492 [details]
app-misc/mugshot-1.1.22.ebuild
Updated ebuild for mugshot-1.1.22; slightly updated dependencies, added --as-needed support; the configure patch is no longer needed.
Created attachment 101562 [details, diff]
mugshot-1.1.24-use-firefox.patch
Patch to make the firefox dependency optional (needed because mugshot requires firefox-1.5)
Created attachment 101563 [details]
app-misc/mugshot-1.1.24.ebuild
Ebuild for new mugshot-1.1.24. Major change: firefox dependency is now optional via USE flag because mugshot requires =firefox-1.5* but firefox-2.0 is already in ~x86 and ~amd64.
Created attachment 102601 [details]
app-misc/mugshot-1.1.25.ebuild
New ebuild for mugshot-1.1.25. Now supports firefox-2.
Created attachment 103161 [details]
mugshot-1.1.26-firefox-update.sh
Updated firefox-update.sh for multilib compatibility
Created attachment 103162 [details]
mugshot-1.1.26.ebuild
Updated mugshot to version 1.1.26; added multilib support; various improvements suggested in #gentoo-sunrise.
I am trying to get mugshot into sunrise (so that people will be able to get via layman), and will comment here when it hits sunrise/reviewed.
Bugzilla is perhaps not the most convenient venue for hosting an ebuild which has several patches and requires frequent updates. Therefore, mugshot ebuilds are now hosted in the gentoo-sunrise overlay: http://gentoo-sunrise.org/svn/reviewed/net-misc/mugshot/ You can use layman to get updates (layman -A sunrise). The firefox dep doesnt seem to be optional since it builds against it even if the flag is off (requires the gecko sdk..) (In reply to comment #21) > The firefox dep doesnt seem to be optional since it builds against it even if > the flag is off (requires the gecko sdk..) Are you sure? USE=-firefox works fine on my machine... # emerge --unmerge mozilla-firefox # USE=-firefox emerge =net-misc/mugshot-1.1.30 [...] config.status: executing depfiles commands Mugshot 1.1.30 ================== prefix: /usr compiler: i686-pc-linux-gnu-gcc build Firefox extension: false xpidl: Gecko includes: Gecko idl files: Full Gecko: false LIBHIPPO_CFLAGS: -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 MUGSHOT_CFLAGS: -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/loudmouth-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include LIBHIPPO_LIBS: -pthread -lgthread-2.0 -lloudmouth-1 -lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 MUGSHOT_LIBS: -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgthread-2.0 -lloudmouth-1 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lXss -lcurl -ljpeg [...] (emerges successfully without any gecko headers used anywhere) # qlist mugshot /usr/share/gnome/autostart/mugshot.desktop /usr/share/icons/hicolor/24x24/apps/mugshot.gif /usr/share/icons/hicolor/48x48/apps/mugshot.gif /usr/share/icons/hicolor/32x32/apps/mugshot.gif /usr/share/icons/hicolor/16x16/apps/mugshot_note_on.png /usr/share/icons/hicolor/16x16/apps/mugshot_note_off.png /usr/share/icons/hicolor/16x16/apps/mugshot.png /usr/share/icons/hicolor/22x22/apps/mugshot_swarm_3.png /usr/share/icons/hicolor/22x22/apps/mugshot_swarm_4.png /usr/share/icons/hicolor/22x22/apps/mugshot_swarm_1.png /usr/share/icons/hicolor/22x22/apps/mugshot_notification_disabled.png /usr/share/icons/hicolor/22x22/apps/mugshot_notification.png /usr/share/icons/hicolor/22x22/apps/mugshot_swarm_2.png /usr/share/icons/hicolor/22x22/apps/mugshot_swarm_5.png /usr/share/icons/hicolor/128x128/apps/mugshot.png /usr/share/doc/mugshot-1.1.30/ChangeLog.gz /usr/share/mugshot/version /usr/bin/mugshot-uri-handler /usr/bin/mugshot /etc/gconf/schemas/mugshot-uri-handler.schemas (so the firefox extension is NOT installed) # ldd /usr/bin/mugshot linux-gate.so.1 => (0xb7fb5000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7c4f000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7bce000) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7bb8000) libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7bb0000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7b75000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7b04000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7b00000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7ae9000) libloudmouth-1.so.0 => /usr/lib/libloudmouth-1.so.0 (0xb7adc000) libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb7ac1000) libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7a8e000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7a54000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb79c2000) libXss.so.1 => /usr/lib/libXss.so.1 (0xb79bf000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb78d8000) libcurl.so.3 => /usr/lib/libcurl.so.3 (0xb78a0000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7880000) libc.so.6 => /lib/libc.so.6 (0xb7757000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb773d000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7739000) libdl.so.2 => /lib/libdl.so.2 (0xb7735000) libm.so.6 => /lib/libm.so.6 (0xb7710000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb76e4000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb76d6000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb76ce000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb76cb000) libXi.so.6 => /usr/lib/libXi.so.6 (0xb76c3000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb76bf000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb76b5000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb76b0000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7685000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7619000) libz.so.1 => /lib/libz.so.1 (0xb7607000) libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb75e1000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb75be000) libXCBRenderUtil.so.0 => /usr/lib/libXCBRenderUtil.so.0 (0xb75ba000) libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb75b3000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb759b000) librt.so.1 => /lib/librt.so.1 (0xb7591000) /lib/ld-linux.so.2 (0xb7fb6000) libnsl.so.1 => /lib/libnsl.so.1 (0xb757b000) libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb750d000) libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb74fa000) libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb74a8000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb74a4000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb74a1000) libcares.so.1 => /usr/lib/libcares.so.1 (0xb7497000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb7467000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7429000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb72f3000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb71d9000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb71d6000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb71d1000) (so mugshot is not linked to any gecko or firefox libraries) Are you sure you are using the *-use-firefox.patch? HOMEPAGE & SRC_URI of the Sunrise ebuild no longer work. According to Wikipedia [1], the project has shut down. Thus, I am masking the Sunrise ebuild for removal in 30 days and suggesting closing the bug. [1] http://en.wikipedia.org/wiki/Mugshot_(website) The package has been removed from the Sunrise overlay. I am assuming that this project no longer exists. Please feel free to reopen if this is not the case. |