Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135524 - Ebuild for mugshot
Summary: Ebuild for mugshot
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.mugshot.org, http://develo...
Whiteboard:
Keywords: EBUILD
Depends on: 215271 190836
Blocks:
  Show dependency tree
 
Reported: 2006-06-04 08:46 UTC by Ryan Newberry
Modified: 2016-01-13 00:57 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for mugshot (mugshot-1.1.3.ebuild,942 bytes, text/plain)
2006-06-04 08:46 UTC, Ryan Newberry
Details
Updated and tweaked ebuild for mugshot (mugshot-1.1.13.ebuild,772 bytes, text/plain)
2006-09-03 13:50 UTC, John Patterson
Details
new version: mugshot-1.1.16.ebuild (mugshot-1.1.16.ebuild,990 bytes, text/plain)
2006-09-27 06:20 UTC, Sebi Ryffel
Details
patch required by mugshot-1.1.16.ebuild (mugshot-1.1.16-configure.patch,713 bytes, patch)
2006-09-27 06:24 UTC, Sebi Ryffel
Details | Diff
mugshot-1.1.16.ebuild (mugshot-1.1.16.ebuild,1.36 KB, text/plain)
2006-09-28 04:55 UTC, Sebi Ryffel
Details
mugshot-1.1.16-firefox-update.sh (mugshot-1.1.16-firefox-update.sh,783 bytes, text/plain)
2006-09-28 04:56 UTC, Sebi Ryffel
Details
mugshot-1.1.16.ebuild (mugshot-1.1.16.ebuild,1.38 KB, text/plain)
2006-09-28 05:08 UTC, Sebi Ryffel
Details
mugshot-1.1.22-firefox-update.sh (mugshot-1.1.22-firefox-update.sh,783 bytes, text/plain)
2006-10-25 15:56 UTC, Alexandre Rostovtsev (RETIRED)
Details
mugshot-1.1.22-as-needed.patch (mugshot-1.1.22-as-needed.patch,1.67 KB, patch)
2006-10-25 15:58 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
app-misc/mugshot-1.1.22.ebuild (mugshot-1.1.22.ebuild,1.41 KB, text/plain)
2006-10-25 16:01 UTC, Alexandre Rostovtsev (RETIRED)
Details
mugshot-1.1.24-use-firefox.patch (mugshot-1.1.24-use-firefox.patch,3.46 KB, patch)
2006-11-09 12:37 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
app-misc/mugshot-1.1.24.ebuild (mugshot-1.1.24.ebuild,1.63 KB, text/plain)
2006-11-09 12:39 UTC, Alexandre Rostovtsev (RETIRED)
Details
app-misc/mugshot-1.1.25.ebuild (mugshot-1.1.25.ebuild,1.67 KB, text/plain)
2006-11-23 08:18 UTC, Alexandre Rostovtsev (RETIRED)
Details
mugshot-1.1.26-firefox-update.sh (mugshot-1.1.26-firefox-update.sh,809 bytes, text/plain)
2006-12-01 13:45 UTC, Alexandre Rostovtsev (RETIRED)
Details
mugshot-1.1.26.ebuild (mugshot-1.1.26.ebuild,1.71 KB, text/plain)
2006-12-01 13:48 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Newberry 2006-06-04 08:46:27 UTC
I have attached an ebuild for mugshot, RedHat's new program that is basically an open source take on myspace.com and similar websites. If a version of Rhythmbox is installed greater than 0.94 with dbus support, mugshot can upload what song you are listening to to the mugshot website and share that information with your friends. Hopefully, people will be authoring plugins for other media players so that this functionality isn't limited to Rhythmbox only. I really don't know what portage category this goes into, maybe net-misc??

More info:
http://www.mugshot.org
http://developer.mugshot.org
Comment 1 Ryan Newberry 2006-06-04 08:46:59 UTC
Created attachment 88351 [details]
Ebuild for mugshot
Comment 2 John Patterson 2006-09-03 13:50:21 UTC
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 :)
Comment 3 Sebi Ryffel 2006-09-27 06:20:06 UTC
Created attachment 98230 [details]
new version: mugshot-1.1.16.ebuild

This is an ebuild for the newest version of mugshot.
Comment 4 Sebi Ryffel 2006-09-27 06:24:48 UTC
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
...
Comment 5 John Patterson 2006-09-27 13:35:17 UTC
Thanks!  Seems to build and install fine on AMD64 (with ~amd64 added to the keywords), too.
Comment 6 John Patterson 2006-09-27 14:13:57 UTC
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.
Comment 7 John Patterson 2006-09-27 14:18:34 UTC
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).
Comment 8 Sebi Ryffel 2006-09-28 04:55:15 UTC
Created attachment 98305 [details]
mugshot-1.1.16.ebuild

A new version of the ebuild. It installs the firefox extension now too.
Comment 9 Sebi Ryffel 2006-09-28 04:56:11 UTC
Created attachment 98306 [details]
mugshot-1.1.16-firefox-update.sh

A firefox-update script that works for gentoo.
Comment 10 Sebi Ryffel 2006-09-28 05:08:25 UTC
Created attachment 98308 [details]
mugshot-1.1.16.ebuild

I forgot to add gnome2_pkg_postinst to the ebuild. Sorry.
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-10-04 17:07:50 UTC
Mugshot requires the X screensaver extensions. You need to add x11-libs/libXScrnSaver to RDEPEND.
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-10-25 15:56:43 UTC
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)
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-10-25 15:58:03 UTC
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"
Comment 14 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-10-25 16:01:27 UTC
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.
Comment 15 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-11-09 12:37:27 UTC
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)
Comment 16 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-11-09 12:39:56 UTC
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.
Comment 17 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-11-23 08:18:40 UTC
Created attachment 102601 [details]
app-misc/mugshot-1.1.25.ebuild

New ebuild for mugshot-1.1.25. Now supports firefox-2.
Comment 18 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-12-01 13:45:43 UTC
Created attachment 103161 [details]
mugshot-1.1.26-firefox-update.sh

Updated firefox-update.sh for multilib compatibility
Comment 19 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-12-01 13:48:12 UTC
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.
Comment 20 Alexandre Rostovtsev (RETIRED) gentoo-dev 2006-12-01 14:35:09 UTC
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).
Comment 21 Olivier Crete (RETIRED) gentoo-dev 2007-01-14 22:05:24 UTC
The firefox dep doesnt seem to be optional since it builds against it even if the flag is off (requires the gecko sdk..)
Comment 22 Alexandre Rostovtsev (RETIRED) gentoo-dev 2007-01-15 00:16:49 UTC
(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?
Comment 23 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-06 19:05:03 UTC
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)
Comment 24 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-08-06 16:08:05 UTC
The package has been removed from the Sunrise overlay.
Comment 25 Alex Xu (Hello71) 2016-01-13 00:57:28 UTC
I am assuming that this project no longer exists. Please feel free to reopen if this is not the case.