From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 24 20:10:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4357116A500 for ; Sun, 24 Dec 2006 20:10:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id DB98413C479 for ; Sun, 24 Dec 2006 20:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBOKAEHI044687 for ; Sun, 24 Dec 2006 20:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBOKAEGp044686; Sun, 24 Dec 2006 20:10:14 GMT (envelope-from gnats) Resent-Date: Sun, 24 Dec 2006 20:10:14 GMT Resent-Message-Id: <200612242010.kBOKAEGp044686@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ashish Shukla Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EE5716A509 for ; Sun, 24 Dec 2006 20:07:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3F79813C48B for ; Sun, 24 Dec 2006 20:07:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBOK7QJk095523 for ; Sun, 24 Dec 2006 20:07:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kBOK7PYh095522; Sun, 24 Dec 2006 20:07:26 GMT (envelope-from nobody) Message-Id: <200612242007.kBOK7PYh095522@www.freebsd.org> Date: Sun, 24 Dec 2006 20:07:26 GMT From: Ashish Shukla To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/107174: New port: net/mugshot: The official client for Mugshot network X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Dec 2006 20:10:15 -0000 >Number: 107174 >Category: ports >Synopsis: New port: net/mugshot: The official client for Mugshot network >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 24 20:10:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ashish Shukla >Release: 6.1-RELEASE >Organization: N/A >Environment: FreeBSD chateau-d-lf 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:15:57 UTC 2006 root@bloom.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64 >Description: This is the port of mugshot, an official client for Mugshot network. Mugshot makes it easy to show off what you're doing online and keep track of what your friends are up to. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mugshot/ # mugshot/distinfo # mugshot/Makefile # mugshot/pkg-plist # mugshot/pkg-install # mugshot/pkg-descr # mugshot/files # mugshot/files/patch-firefox-update.sh # echo c - mugshot/ mkdir -p mugshot/ > /dev/null 2>&1 echo x - mugshot/distinfo sed 's/^X//' >mugshot/distinfo << 'END-of-mugshot/distinfo' XMD5 (mugshot-1.1.30.tar.gz) = 282102620ec24371baa69011eb3d4e9a XSHA256 (mugshot-1.1.30.tar.gz) = 8faafba70464046e765661f09ef3759a996154d9e6f8ba59c90545262f009398 XSIZE (mugshot-1.1.30.tar.gz) = 738440 END-of-mugshot/distinfo echo x - mugshot/Makefile sed 's/^X//' >mugshot/Makefile << 'END-of-mugshot/Makefile' X# New ports collection makefile for: mugshot X# Date Created: 24 December 2006 X# Whom: wahjava X# X# $FreeBSD$ X# X XPORTNAME= mugshot XPORTVERSION= 1.1.30 XCATEGORIES= net XMASTER_SITES= http://download.mugshot.org/client/sources/linux/ X XMAINTAINER= wahjava@gmail.com XCOMMENT= The official client for Mugshot network X XBUILD_DEPENDS= ${PKGCONFIG_LOCAL_BASE}/dbus-1.pc:${PORTSDIR}/devel/dbus:install \ X ${PKGCONFIG_LOCAL_BASE}/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib:install \ X ${PKGCONFIG_LOCAL_BASE}/loudmouth-1.0.pc:${PORTSDIR}/net-im/loudmouth:install \ X ${PKGCONFIG_LOCAL_BASE}/cairo.pc:${PORTSDIR}/graphics/cairo:install \ X ${PKGCONFIG_LOCAL_BASE}/libcurl.pc:${PORTSDIR}/ftp/curl:install \ X ${LOCALBASE}/include/firefox/caps/nsIScriptSecurityManager.h:${PORTSDIR}/www/firefox:install \ X ${LOCALBASE}/lib/firefox/xpidl:${PORTSDIR}/www/firefox:install \ X ${X11BASE}/include/X11/extensions/scrnsaver.h:${PORTSDIR}/x11/xorg-libraries:install X XLIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg:install \ X Xss.1:${PORTSDIR}/x11/xorg-libraries:install X XUSE_GNOME= gnomehack gconf2 glib20 gtk20 pango XGNU_CONFIGURE= yes XUSE_GMAKE= yes X XGCONF_SCHEMAS= mugshot-uri-handler.schemas XINSTALLS_ICONS= yes X XUSE_LDCONFIG= yes XLDCONFIG_DIRS= %%PREFIX%%/lib/mugshot/firefox/components X XPKGCONFIG_LOCAL_BASE= ${LOCALBASE}/libdata/pkgconfig XPKGCONFIG_X11_BASE= ${X11BASE}/libdata/pkgconfig X X.include X XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" XCONFIGURE_ARGS= "--with-gecko-idl=${FIREFOX_IDL_PATH}" \ X "--with-gecko-headers=${LOCALBASE}/include/firefox" \ X "--with-xpidl=${LOCALBASE}/lib/firefox/xpidl" X Xpost-patch: XFIREFOX_IDL_PATH!= for i in ${LOCALBASE}/share/idl/firefox-*; do [ -e $$i/nsIURI.idl ] && ${ECHO} $$i && exit 0; done XBUILD_DEPENDS+=${FIREFOX_IDL_PATH}/nsIURI.idl:${PORTSDIR}/www/firefox:install X Xpost-install: X @${SED} -i "" -e "s|%%PREFIX%%|${PREFIX}|" ${PREFIX}/share/mugshot/firefox-update.sh X @${PREFIX}/share/mugshot/firefox-update.sh install X X.include END-of-mugshot/Makefile echo x - mugshot/pkg-plist sed 's/^X//' >mugshot/pkg-plist << 'END-of-mugshot/pkg-plist' X@unexec killall mugshot Xbin/mugshot Xbin/mugshot-uri-handler Xlib/mugshot/firefox/components/hippoIExtension.xpt Xlib/mugshot/firefox/components/hippoIControl.xpt Xlib/mugshot/firefox/components/hippoIControlListener.xpt Xlib/mugshot/firefox/components/libhippofirefox.so Xlib/mugshot/firefox/components/libhippofirefox.la Xlib/mugshot/firefox/components/libhippofirefox.a Xlib/mugshot/firefox/chrome/content/overlay.js Xlib/mugshot/firefox/chrome/content/overlay.xul Xlib/mugshot/firefox/chrome/locale/en-US/overlay.dtd Xlib/mugshot/firefox/chrome/skin/linkswarm16x16.png Xlib/mugshot/firefox/chrome/skin/linkswarm24x24.png Xlib/mugshot/firefox/chrome/skin/mugshot32x32.png Xlib/mugshot/firefox/chrome/skin/toolbar.css Xlib/mugshot/firefox/chrome.manifest Xlib/mugshot/firefox/install.rdf Xlib/mugshot/firefox/defaults/preferences/prefs.js Xshare/autostart/mugshot.desktop X@unexec %%PREFIX%%/share/mugshot/firefox-update.sh remove Xshare/mugshot/firefox-update.sh Xshare/mugshot/version Xshare/icons/hicolor/128x128/apps/mugshot.png Xshare/icons/hicolor/32x32/apps/mugshot.gif Xshare/icons/hicolor/48x48/apps/mugshot.gif Xshare/icons/hicolor/16x16/apps/mugshot.png Xshare/icons/hicolor/16x16/apps/mugshot_note_on.png Xshare/icons/hicolor/16x16/apps/mugshot_note_off.png Xshare/icons/hicolor/22x22/apps/mugshot_notification.png Xshare/icons/hicolor/22x22/apps/mugshot_notification_disabled.png Xshare/icons/hicolor/22x22/apps/mugshot_swarm_1.png Xshare/icons/hicolor/22x22/apps/mugshot_swarm_2.png Xshare/icons/hicolor/22x22/apps/mugshot_swarm_3.png Xshare/icons/hicolor/22x22/apps/mugshot_swarm_4.png Xshare/icons/hicolor/22x22/apps/mugshot_swarm_5.png Xshare/icons/hicolor/24x24/apps/mugshot.gif X@dirrm lib/mugshot/firefox/components X@dirrm lib/mugshot/firefox/chrome/content X@dirrm lib/mugshot/firefox/chrome/locale/en-US X@dirrm lib/mugshot/firefox/chrome/locale X@dirrm lib/mugshot/firefox/chrome/skin X@dirrm lib/mugshot/firefox/chrome X@dirrm lib/mugshot/firefox/defaults/preferences X@dirrm lib/mugshot/firefox/defaults X@dirrm lib/mugshot/firefox X@dirrm lib/mugshot X@dirrm share/mugshot END-of-mugshot/pkg-plist echo x - mugshot/pkg-install sed 's/^X//' >mugshot/pkg-install << 'END-of-mugshot/pkg-install' X#!/bin/sh X XFFUPDATE=${PKG_PREFIX}/share/mugshot/firefox-update.sh X Xcase $2 in XPOST-INSTALL) X ${FFUPDATE} install X ;; XPRE-DEINSTALL) X killall mugshot X ${FFUPDATE} remove X ;; Xesac END-of-mugshot/pkg-install echo x - mugshot/pkg-descr sed 's/^X//' >mugshot/pkg-descr << 'END-of-mugshot/pkg-descr' XThis is the port of mugshot, an official client for XMugshot network. Mugshot makes it easy to show off Xwhat you're doing online and keep track of what Xyour friends are up to. X XWWW: http://www.mugshot.org/ X X- Ashish Shukla Xwahjava@gmail.com END-of-mugshot/pkg-descr echo c - mugshot/files mkdir -p mugshot/files > /dev/null 2>&1 echo x - mugshot/files/patch-firefox-update.sh sed 's/^X//' >mugshot/files/patch-firefox-update.sh << 'END-of-mugshot/files/patch-firefox-update.sh' X--- firefox-update.sh.orig Sun Dec 24 22:31:37 2006 X+++ firefox-update.sh Sun Dec 24 22:34:38 2006 X@@ -6,7 +6,7 @@ X # Firefox is installed into versioned directories in /usr/lib[64]/firefox X # X if [ "$1" = "install" ] ; then X- for libdir in /usr/lib /usr/lib64 ; do X+ libdir=%%PREFIX%%/lib X # Add symlinks to any firefox directory that looks like it is part of a X # currently installed package X for d in $libdir/firefox* ; do X@@ -19,9 +19,8 @@ X ln -s $target $link X fi X done X- done X elif [ "$1" = "remove" ] ; then X- for libdir in /usr/lib /usr/lib64 ; do X+ libdir=%%PREFIX%%/lib X # Remove any symlinks we've created into any firefox directory X for d in $libdir/firefox* ; do X if [ d = "$libdir/firefox*" ] ; then X@@ -32,7 +31,6 @@ X rm $link X fi X done X- done X else X echo "Usage firefox-update.sh [install/remove]" X fi END-of-mugshot/files/patch-firefox-update.sh exit >Release-Note: >Audit-Trail: >Unformatted: