summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2010-08-06 16:02:58 +0000
committerMichał Górny <mgorny@gentoo.org>2010-08-06 16:02:58 +0000
commitb841d44d5545564de7ef1420b65b6c85446155a4 (patch)
treeed8ab91228c868d2363ba747e4c50148a3843bef /net-misc
parentdev-perl/perl-xyne-arch: Regenerate manifest. (diff)
downloadsunrise-b841d44d5545564de7ef1420b65b6c85446155a4.tar.gz
sunrise-b841d44d5545564de7ef1420b65b6c85446155a4.tar.bz2
sunrise-b841d44d5545564de7ef1420b65b6c85446155a4.zip
dev-embedded/s51dude, dev-php5/php-xmlsec, dev-util/debug, games-engines/dagii, net-misc/mugshot, sci-libs/candystore, x11-misc/gestikk: Remove a set of packages for which neither SRC_URI nor HOMEPAGE is reachable any longer.
svn path=/sunrise/; revision=11097
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/mugshot/ChangeLog120
-rw-r--r--net-misc/mugshot/Manifest7
-rw-r--r--net-misc/mugshot/files/mugshot-1.1.58-firefox-update.sh27
-rw-r--r--net-misc/mugshot/files/mugshot-1.1.92-libxpcom.patch61
-rw-r--r--net-misc/mugshot/files/mugshot-1.1.93-use-firefox.patch80
-rw-r--r--net-misc/mugshot/metadata.xml12
-rw-r--r--net-misc/mugshot/mugshot-1.1.95.ebuild97
7 files changed, 0 insertions, 404 deletions
diff --git a/net-misc/mugshot/ChangeLog b/net-misc/mugshot/ChangeLog
deleted file mode 100644
index 632108bf3..000000000
--- a/net-misc/mugshot/ChangeLog
+++ /dev/null
@@ -1,120 +0,0 @@
-# ChangeLog for net-misc/mugshot
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 01 Aug 2010; Markos Chandras <hwoarang@gentoo.org> mugshot-1.1.95.ebuild:
- Rename mozilla-firefox -> firefox
-
- 04 Aug 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
- mugshot-1.1.95.ebuild:
- epatch dies on its own
-
- 04 Jun 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
- mugshot-1.1.95.ebuild:
- Remove trailing whitespace
-
- 16 May 2008; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -mugshot-1.1.93.ebuild, +mugshot-1.1.95.ebuild:
- Version bump
-
- 04 Apr 2008; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -mugshot-1.1.92.ebuild, -files/mugshot-1.1.92-use-firefox.patch,
- +mugshot-1.1.93.ebuild, +files/mugshot-1.1.93-use-firefox.patch,
- metadata.xml:
- Version bump. Now works with latest firefox-3 nightlies.
-
- 30 Mar 2008; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.42-libxpcom.patch,
- -files/mugshot-1.1.56-use-firefox.patch, -mugshot-1.1.58.ebuild,
- +mugshot-1.1.92.ebuild, +files/mugshot-1.1.92-libxpcom.patch,
- +files/mugshot-1.1.92-use-firefox.patch:
- Version bump. Now with firefox-3 support.
-
- 31 Jan 2008; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- mugshot-1.1.58.ebuild:
- Improved comments, as requested by jakub.
-
- 20 Jan 2008; Jakub Moc <jakub@gentoo.org> mugshot-1.1.58.ebuild:
- Fix mozilla-firefox dependency
-
- 13 Jan 2008; (Tommy[D]) tommy100@gmx.de mugshot-1.1.58.ebuild:
- drop WANT_AUTO*
-
- 10 Jan 2008; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.40-firefox-update.sh,
- +files/mugshot-1.1.58-firefox-update.sh, -mugshot-1.1.56.ebuild,
- +mugshot-1.1.58.ebuild:
- Version bump. Fix broken firefox extension symlink management.
-
- 29 Oct 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.32-use-firefox.patch,
- -files/mugshot-1.1.46-as-needed.patch,
- +files/mugshot-1.1.56-use-firefox.patch, metadata.xml,
- -mugshot-1.1.46.ebuild, +mugshot-1.1.56.ebuild:
- Version bump; mugshot now includes the ddm library (part of the Online Desktop)
-
- 03 Sep 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.22-as-needed.patch,
- +files/mugshot-1.1.46-as-needed.patch, -mugshot-1.1.45.ebuild,
- +mugshot-1.1.46.ebuild:
- Version bump
-
- 20 Jun 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -mugshot-1.1.42.ebuild, +mugshot-1.1.45.ebuild:
- Version bump
-
- 27 Apr 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.32-libxpcom.patch, -mugshot-1.1.40.ebuild,
- +mugshot-1.1.42.ebuild, +files/mugshot-1.1.42-libxpcom.patch:
- Version bump
-
- 03 Apr 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.26-firefox-update.sh, -mugshot-1.1.37.ebuild,
- +mugshot-1.1.40.ebuild, +files/mugshot-1.1.40-firefox-update.sh:
- Version bump. Now supports compiling against xulrunner (for those who use
- mozilla-firefox-bin).
-
- 02 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
- mugshot-1.1.37.ebuild:
- added trailing slash to HOMEPAGE URI
-
- 01 Mar 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -mugshot-1.1.33.ebuild, +mugshot-1.1.37.ebuild, metadata.xml:
- Version bump, update description and dependencies
-
- 14 Feb 2007; Jakub Moc <jakub@gentoo.org> mugshot-1.1.33.ebuild:
- Nuke legacy dbus dependencies
-
- 09 Feb 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -mugshot-1.1.32.ebuild, +mugshot-1.1.33.ebuild:
- Version bump
-
- 02 Feb 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- mugshot-1.1.32.ebuild, +files/mugshot-1.1.32-libxpcom.patch,
- files/mugshot-1.1.32-use-firefox.patch:
- Patch to prevent browser crashes
-
- 02 Feb 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -mugshot-1.1.30.ebuild, -files/mugshot-1.1.30-use-firefox.patch,
- +mugshot-1.1.32.ebuild, +files/mugshot-1.1.32-use-firefox.patch:
- Version bump
-
- 21 Dec 2006; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- -files/mugshot-1.1.24-use-firefox.patch, -mugshot-1.1.28.ebuild,
- +mugshot-1.1.30.ebuild, +files/mugshot-1.1.30-use-firefox.patch:
- Version bump, tiny updates to dependencies and the firefox patch
-
- 07 Dec 2006; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- +mugshot-1.1.28.ebuild:
- Version bump, new-style dbus dependencies, added WANT_AUTOCONF and
- WANT_AUTOMAKE, this time with old ebuild removed
-
- 01 Dec 2006; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
- +files/mugshot-1.1.22-as-needed.patch,
- +files/mugshot-1.1.22-firefox-update.sh,
- +files/mugshot-1.1.24-use-firefox.patch, +mugshot-1.1.26.ebuild,
- +metadata.xml:
- New ebuild for bug 135524. Also thanks to Bobby Ryan Newberry
- <brnewber@gmail.com>, John Patterson <gentoo_j@ninecats.org>, and Sebi
- Ryffel <sryffel@ee.ethz.ch>.
-
diff --git a/net-misc/mugshot/Manifest b/net-misc/mugshot/Manifest
deleted file mode 100644
index 8da2c75ba..000000000
--- a/net-misc/mugshot/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX mugshot-1.1.58-firefox-update.sh 908 RMD160 0b3491101111a71e3ca4b3fbff98e8cc29ebed68 SHA1 dfe14fa9776e13794ba46ccdd36f25d85b2fe4ae SHA256 f6c5276d5f86c0fa3e83659b16092fa9ec6c9d6a7bb84abffa49acbfb83f59a1
-AUX mugshot-1.1.92-libxpcom.patch 2433 RMD160 8742d49906554022d53de8a3551389595390ce59 SHA1 2eb689d24e2c4499394f08ca2c386e87fc26365b SHA256 b9dbe5a1171cc34d12e469969aa7db28e918fff408af43298110107d91de0d5c
-AUX mugshot-1.1.93-use-firefox.patch 3271 RMD160 e3e28ba0c47542381f67db3c06cb44eaaf3149bb SHA1 12c0912639ea6f422c822c912fd3eab5baf31370 SHA256 714e24e22a3ae5d77914461182c4a77325957df5c7313d2fb9b8d3d76ff742ac
-DIST mugshot-1.1.95.tar.gz 657088 RMD160 9798dbab8048aae7f86b75191c0fbd929d66400d SHA1 bd3b97cccad60a91871632d1d784a623d91b66cf SHA256 13b33f46371a504b34bc7bafa68b801b01944542025a6acf5522272e68491351
-EBUILD mugshot-1.1.95.ebuild 2701 RMD160 ad94e4c19bcd082ba108e2d52f3e9cab3ce76906 SHA1 9352d169b19e9c85336d90503532f0c822bef84d SHA256 cf99d7751d18fafbcd96a3b9001e6da0014b7192a1699ace89f695c6c597d2db
-MISC ChangeLog 4877 RMD160 9c7707c10543d7c2c85bbe55eb03219c3abecd41 SHA1 c4dd63a66ce492c14b5a0e170d5cc08cb1cb981a SHA256 be0cac8a6f5c60abd9586fadc725e317d7718c19e89c563db17da75af774d1d7
-MISC metadata.xml 516 RMD160 8b302615a4771f07fe3902971a315517a3624f97 SHA1 e9547264352e95b0b0feb9eb106f669f58724f05 SHA256 9edd32739ec38385fcd0a8f689a72f50fac3da870fc51e4fde65ba2d45c4cb6c
diff --git a/net-misc/mugshot/files/mugshot-1.1.58-firefox-update.sh b/net-misc/mugshot/files/mugshot-1.1.58-firefox-update.sh
deleted file mode 100644
index e2384d826..000000000
--- a/net-misc/mugshot/files/mugshot-1.1.58-firefox-update.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# This script is used to add and remove our extension from the Firefox
-# directory, and is run from 'triggers' when Firefox is installed or
-# upgraded, as well as when our package is installed.
-#
-
-firedirs="FIREDIRS"
-
-if [ "$1" = "install" ] ; then
- for d in ${firedirs} ; do
- # Add symlink to the firefox directory that looks like it is part of a
- # currently installed package
- if [ -e "$d/firefox-bin" -a -d "$d/extensions" -a ! -L "$d/extensions/firefox@mugshot.org" ] ; then
- ln -s /usr/GET_LIBDIR/mugshot/firefox "$d/extensions/firefox@mugshot.org"
- fi
- done
-elif [ "$1" = "remove" ] ; then
- for d in ${firedirs} ; do
- # Remove the symlink we've created
- if [ -L "$d/extensions/firefox@mugshot.org" ] ; then
- rm "$d/extensions/firefox@mugshot.org"
- fi
- done
-else
- echo "Usage firefox-update.sh [install/remove]"
-fi
diff --git a/net-misc/mugshot/files/mugshot-1.1.92-libxpcom.patch b/net-misc/mugshot/files/mugshot-1.1.92-libxpcom.patch
deleted file mode 100644
index 8be91cc32..000000000
--- a/net-misc/mugshot/files/mugshot-1.1.92-libxpcom.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -ru mugshot-1.1.92.orig/configure.ac mugshot-1.1.92.xpcom/configure.ac
---- mugshot-1.1.92.orig/configure.ac 2008-03-20 16:21:21.000000000 -0400
-+++ mugshot-1.1.92.xpcom/configure.ac 2008-03-29 16:00:20.000000000 -0400
-@@ -426,6 +426,8 @@
- have_full_gecko=false
- sdk_includes_nspr=false
- need_separate_js=false
-+sdk_includes_xpcom_core=false
-+sdk_includes_xpcom=false
-
- if test "x$with_gecko_sdk" != x -a "x$with_gecko_sdk" != xyes -a "x$with_gecko_sdk" != xno ; then
- GECKO_IDLDIR="$with_gecko_sdk/idl"
-@@ -435,6 +437,13 @@
- if test -f "$GECKO_INCLUDEDIR/nspr.h" ; then
- sdk_includes_nspr=true
- fi
-+
-+ if test -f "$with_gecko_sdk/lib/libxpcom.so" ; then
-+ sdk_includes_xpcom=true
-+ if test -f "$with_gecko_sdk/lib/libxpcom_core.so" ; then
-+ sdk_includes_xpcom_core=true
-+ fi
-+ fi
- fi
-
- if test "x$with_gecko_idl" != x -a "x$with_gecko_idl" != xyes -a "x$with_gecko_idl" != xno ; then
-@@ -584,7 +593,24 @@
- fi
- fi
-
--PKG_CHECK_MODULES(LIBHIPPOFIREFOX, gobject-2.0 dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED $NSPR_PACKAGES $JS_PACKAGES gtk+-2.0)
-+if $sdk_includes_xpcom ; then
-+ if $sdk_includes_xpcom_core ; then
-+ XPCOM_LIBS="-L $with_gecko_sdk/lib -xpcom_core"
-+ else
-+ XPCOM_LIBS="-L $with_gecko_sdk/lib -lxpcom"
-+ fi
-+else
-+ for pkg in firefox-xpcom xulrunner-xpcom ; do
-+ if test "x$XPCOM_PACKAGES" = x ; then
-+ PKG_CHECK_EXISTS($pkg, XPCOM_PACKAGES=$pkg)
-+ fi
-+ done
-+ if test "x$XPCOM_PACKAGES" = x ; then
-+ AC_MSG_ERROR([Can't find xpcom])
-+ fi
-+fi
-+
-+PKG_CHECK_MODULES(LIBHIPPOFIREFOX, gobject-2.0 dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED $NSPR_PACKAGES $JS_PACKAGES $XPCOM_PACKAGES gtk+-2.0)
-
- if test "x${have_xulrunner}"; then
- LIBHIPPOFIREFOX_CFLAGS="`pkg-config --cflags libxul-unstable` ${LIBHIPPOFIREFOX_CFLAGS}"
-@@ -592,7 +618,7 @@
- # Should have -lxpcom here, but that upsets libtool for unknown reasons. Or
- # should we use -lxpcomglue instead? We don't actually link to anything private, though
- # we use some private interfaces
--LIBHIPPOFIREFOX_LIBS="$LIBHIPPOFIREFOX_LIBS $NSPR_LIBS"
-+LIBHIPPOFIREFOX_LIBS="$LIBHIPPOFIREFOX_LIBS $NSPR_LIBS $XPCOM_LIBS"
- if test "x${have_xulrunner}" = "xtrue"; then
- # We need to match the mozilla version by compiling with short-wchar
- LIBHIPPOFIREFOX_LIBS="${LIBHIPPOFIREFOX_LIBS} `pkg-config --libs libxul-unstable`"
diff --git a/net-misc/mugshot/files/mugshot-1.1.93-use-firefox.patch b/net-misc/mugshot/files/mugshot-1.1.93-use-firefox.patch
deleted file mode 100644
index e769386db..000000000
--- a/net-misc/mugshot/files/mugshot-1.1.93-use-firefox.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-diff -ru mugshot-1.1.93.libxpcom/configure.ac mugshot-1.1.93/configure.ac
---- mugshot-1.1.93.libxpcom/configure.ac 2008-04-04 15:22:27.603493000 -0400
-+++ mugshot-1.1.93/configure.ac 2008-04-04 15:31:37.696493211 -0400
-@@ -410,6 +410,16 @@
- ##
- ## Checks for Firefox build environment
- ##
-+AC_ARG_ENABLE(firefox,
-+ AC_HELP_STRING([--enable-firefox],
-+ [Build a Firefox extension [[default=yes]]]),
-+ [case "${enableval}" in
-+ yes) firefox=true ;;
-+ no) firefox=false ;;
-+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-firefox) ;;
-+ esac],[firefox=true])
-+AM_CONDITIONAL(USE_FIREFOX, test "x$firefox" = xtrue)
-+
- AC_ARG_WITH(gecko_sdk,
- AC_HELP_STRING([--with-gecko-sdk=DIR],
- [Path to Gecko SDK]))
-@@ -429,6 +439,8 @@
- sdk_includes_xpcom_core=false
- sdk_includes_xpcom=false
-
-+if test "x$firefox" = xtrue ; then
-+
- if test "x$with_gecko_sdk" != x -a "x$with_gecko_sdk" != xyes -a "x$with_gecko_sdk" != xno ; then
- GECKO_IDLDIR="$with_gecko_sdk/idl"
- GECKO_INCLUDEDIR="$with_gecko_sdk/include"
-@@ -646,6 +658,12 @@
- LIBHIPPOFIREFOX_LIBS="${LIBHIPPOFIREFOX_LIBS} `$PKG_CONFIG --libs $xulrunner_package`"
- fi
-
-+else
-+ AM_CONDITIONAL(HAVE_FULL_GECKO, false)
-+ AM_CONDITIONAL(USE_XULRUNNER, false)
-+fi ### test "x$firefox" = xtrue
-+
-+
- #### define absolute path to srcdir for debugging-only code
- ABSOLUTE_TOP_SRCDIR=`cd ${srcdir} && pwd`
- AC_DEFINE_UNQUOTED(ABSOLUTE_TOP_SRCDIR, "$ABSOLUTE_TOP_SRCDIR", [full path to srcdir])
-@@ -669,6 +687,7 @@
-
- prefix: ${prefix}
- compiler: ${CC}
-+ build Firefox extension: ${firefox}
- xpidl: ${XPIDL}
- Gecko includes: ${GECKO_INCLUDEDIR}
- Gecko idl files: ${GECKO_IDLDIR}
-diff -ru mugshot-1.1.93.libxpcom/Makefile.am mugshot-1.1.93/Makefile.am
---- mugshot-1.1.93.libxpcom/Makefile.am 2008-03-26 15:02:48.000000000 -0400
-+++ mugshot-1.1.93/Makefile.am 2008-04-04 15:24:22.154493070 -0400
-@@ -34,8 +34,13 @@
- rmdir $(BUILT_SRC_DIR) ; \
- fi
-
-+if USE_FIREFOX
- dist-hook: libhippo-dist-hook libhippoipc-dist-hook libhippofirefox-dist-hook mugshot-dist-hook libstacker-dist-hook
- .PHONY: libhippo-dist-hook libhippoipc-dist-hook libhippofirefox-dist-hook mugshot-dist-hook libstacker-dist-hook
-+else
-+dist-hook: libhippo-dist-hook libhippoipc-dist-hook mugshot-dist-hook libstacker-dist-hook
-+.PHONY: libhippo-dist-hook libhippoipc-dist-hook mugshot-dist-hook libstacker-dist-hook
-+endif
-
- # These are added to using += in the included files
- bin_PROGRAMS =
-diff -ru mugshot-1.1.93.libxpcom/Makefile-libhippofirefox.am mugshot-1.1.93/Makefile-libhippofirefox.am
---- mugshot-1.1.93.libxpcom/Makefile-libhippofirefox.am 2008-04-01 10:56:52.000000000 -0400
-+++ mugshot-1.1.93/Makefile-libhippofirefox.am 2008-04-04 15:24:22.154493070 -0400
-@@ -1,3 +1,4 @@
-+if USE_FIREFOX
- FIREFOX_SRCDIR = $(COMMONSRCDIR)/firefox
- GECKO_PRIVATE_INCLUDEDIR=$(FIREFOX_SRCDIR)/gecko-private/include
- EXTENSION_ID = firefox@mugshot.org
-@@ -198,3 +199,4 @@
- cp $(GECKO_PRIVATE_IDL_FILES) $(distdir)/common-dist/firefox/gecko-private/idl
- mkdir $(distdir)/common-dist/firefox/gecko-private/include
- cp $(GECKO_PRIVATE_INCLUDE_FILES) $(distdir)/common-dist/firefox/gecko-private/include
-+endif
diff --git a/net-misc/mugshot/metadata.xml b/net-misc/mugshot/metadata.xml
deleted file mode 100644
index 6adeb3289..000000000
--- a/net-misc/mugshot/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
-<longdescription lang="en">
-Mugshot works with the server at mugshot.org to extend the panel, web browser,
-music player and other parts of the desktop with a "live social experience"
-and interoperation with online services you and your friends use. It's fun
-and easy.
-</longdescription>
-</pkgmetadata>
diff --git a/net-misc/mugshot/mugshot-1.1.95.ebuild b/net-misc/mugshot/mugshot-1.1.95.ebuild
deleted file mode 100644
index ce74c4cd7..000000000
--- a/net-misc/mugshot/mugshot-1.1.95.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-GCONF_DEBUG="no"
-SCROLLKEEPER_UPDATE="no"
-
-inherit autotools eutils gnome2 multilib
-
-DESCRIPTION="Companion software for mugshot.org"
-HOMEPAGE="http://www.mugshot.org/"
-SRC_URI="http://download.mugshot.org/client/sources/linux/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="firefox xulrunner"
-
-RDEPEND=">=dev-libs/glib-2.6
- >=dev-libs/dbus-glib-0.71
- media-libs/jpeg
- >=gnome-extra/desktop-data-model-1.2
- >=net-misc/curl-7.13.1
- >=sys-apps/dbus-1
- x11-libs/cairo
- >=x11-libs/gtk+-2.10
- x11-libs/libXScrnSaver
- >=x11-libs/hippo-canvas-0.2.30
- x11-libs/pango
- firefox? ( !xulrunner? ( www-client/firefox ) )
- xulrunner? ( net-libs/xulrunner )"
-
-DEPEND=">=dev-util/pkgconfig-0.19
- >=gnome-base/gconf-2
- ${RDEPEND}"
-
-FIREDIRS="/usr/$(get_libdir)/mozilla-firefox"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # configure looks in the wrong place for xpidl
- sed -e 's:bin/xpidl:xpidl:' -i configure.ac
- epatch "${FILESDIR}/${PN}-1.1.92-libxpcom.patch"
- epatch "${FILESDIR}/${PN}-1.1.93-use-firefox.patch"
- eautoreconf
- if use firefox || use xulrunner ; then
- G2CONF="--enable-firefox"
- if use xulrunner ; then
- G2CONF="${G2CONF} --with-gecko-sdk=/usr/$(get_libdir)/xulrunner"
- else
- G2CONF="${G2CONF} --with-gecko-sdk=/usr/$(get_libdir)/mozilla-firefox"
- fi
-
- # use the correct libdir in the firefox-update.sh script
- sed -e "s:GET_LIBDIR:$(get_libdir):" \
- "${FILESDIR}/${PN}-1.1.58-firefox-update.sh" > "${S}/firefox-update.sh"
-
- # add support for (32-bit) mozilla-firefox-bin if our profile is
- # x86 or amd64 with a 32-bit userland
- if [ "${ARCH}" = "x86" -o "${ABI}" = "x86" ] ; then
- FIREDIRS="${FIREDIRS} /opt/firefox"
- fi
- sed -e "s:FIREDIRS:${FIREDIRS}:" -i "${S}/firefox-update.sh"
- else
- G2CONF="--disable-firefox"
- fi
-}
-
-src_install() {
- gnome2_src_install
-
- # this replaces the broken pkg_prerm logic we had before, which removed the
- # firefox extensions on every upgrade.
- if use firefox || use xulrunner ; then
- einfo "Installing firefox extension."
- for d in ${FIREDIRS} ; do
- if [ -e "$d/firefox-bin" -a -d "$d/extensions" ] ; then
- dosym "/usr/$(get_libdir)/mugshot/firefox" "${d}/extensions/firefox@mugshot.org"
- fi
- done
- fi
-}
-
-pkg_postinst () {
- gnome2_pkg_postinst
-
- if use firefox || use xulrunner ; then
- # pkg_prerm logic was broken in older ebuilds
- elog
- elog "If you are upgrading from <net-misc/mugshot-1.1.58 please run"
- elog " /usr/share/firefox-update.sh install"
- elog "to properly install the firefox extension."
- elog
- elog "Please restart firefox in order to use the mugshot extension."
- fi
-}