diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-10-08 13:10:10 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-10-08 13:10:10 +0200 |
commit | 654709921bc38cf463437c7230c72fdbca471ff8 (patch) | |
tree | d4640fe99c77c5a5287af28f08967a0fe373f3e5 /eclass | |
parent | Remove some masked for removal packages (diff) | |
download | gentoo-654709921bc38cf463437c7230c72fdbca471ff8.tar.gz gentoo-654709921bc38cf463437c7230c72fdbca471ff8.tar.bz2 gentoo-654709921bc38cf463437c7230c72fdbca471ff8.zip |
Remove masked for removal eclasses
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/common-lisp-common-2.eclass | 85 | ||||
-rw-r--r-- | eclass/common-lisp-common-3.eclass | 87 | ||||
-rw-r--r-- | eclass/mozilla-launcher.eclass | 128 |
3 files changed, 0 insertions, 300 deletions
diff --git a/eclass/common-lisp-common-2.eclass b/eclass/common-lisp-common-2.eclass deleted file mode 100644 index 820d234fe499..000000000000 --- a/eclass/common-lisp-common-2.eclass +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -# -# @DEAD -# This eclass is deprecated and no longer used. It will be removed -# in 30 days, #551906. - - -# Author Matthew Kennedy <mkennedy@gentoo.org> -# -# Sundry code common to many Common Lisp related ebuilds. - -# Some handy constants - -inherit eutils multilib - -CLSOURCEROOT=/usr/share/common-lisp/source/ -CLSYSTEMROOT=/usr/share/common-lisp/systems/ - -# Many of our Common Lisp ebuilds are either inspired by, or actually -# use packages and files from the Debian project's archives. - -do-debian-credits() { - docinto debian - for i in copyright README.Debian changelog; do - test -f $i && dodoc "${S}"/debian/${i} - done - docinto . -} - -# BIG FAT HACK: Since the Portage emerge step kills file timestamp -# information, we need to compensate by ensuring all FASL files are -# more recent than their source files. - -# The following `impl-*-timestamp-hack' functions SHOULD NOT be used -# outside of this eclass. - -impl-save-timestamp-hack() { - local impl=$1 - dodir /usr/share/${impl} - tar cpjf "${D}"/usr/share/${impl}/portage-timestamp-compensate -C "${D}"/usr/$(get_libdir)/${impl} . -} - -impl-restore-timestamp-hack() { - local impl=$1 - tar xjpfo /usr/share/${impl}/portage-timestamp-compensate -C /usr/$(get_libdir)/${impl} -} - -impl-remove-timestamp-hack() { - local impl=$1 - rm -rf /usr/$(get_libdir)/${impl} &>/dev/null || true -} - -standard-impl-postinst() { - local impl=$1 - unregister-common-lisp-implementation cmucl - case ${impl} in - cmucl|sbcl) - impl-restore-timestamp-hack ${impl} - ;; - *) - ;; - esac - register-common-lisp-implementation ${impl} -} - -standard-impl-postrm() { - local impl=$1 impl_binary=$2 - if [ ! -x ${impl_binary} ]; then - case ${impl} in - cmucl|sbcl) - impl-remove-timestamp-hack ${impl} - ;; - *) - ;; - esac - rm -rf /var/cache/common-lisp-controller/*/${impl} - fi -} - -# Local Variables: *** -# mode: shell-script *** -# tab-width: 4 *** -# End: *** diff --git a/eclass/common-lisp-common-3.eclass b/eclass/common-lisp-common-3.eclass deleted file mode 100644 index d61d19e93c27..000000000000 --- a/eclass/common-lisp-common-3.eclass +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# @DEAD -# This eclass is deprecated and no longer used. It will be removed -# in 30 days, #551906. - -# -# Author Matthew Kennedy <mkennedy@gentoo.org> -# -# Sundry code common to many Common Lisp related ebuilds. Some -# implementation use the Portage time stamp hack to ensure their -# installed files have the right modification time relative to each -# other. - -inherit eutils multilib - -CLSOURCEROOT=/usr/share/common-lisp/source/ -CLSYSTEMROOT=/usr/share/common-lisp/systems/ - -# Many of our Common Lisp ebuilds are either inspired by, or actually -# use packages and files from the Debian project's archives. - -do-debian-credits() { - docinto debian - for i in copyright README.Debian changelog; do - test -f $i && dodoc "${S}"/debian/${i} - done - docinto . -} - -# BIG FAT HACK: Since the Portage emerge step kills file timestamp -# information, we need to compensate by ensuring all FASL files are -# more recent than their source files. - -# The following `impl-*-timestamp-hack' functions SHOULD NOT be used -# outside of this eclass. - -# Bug https://bugs.gentoo.org/show_bug.cgi?id=16162 should remove the -# need for this hack. - -impl-save-timestamp-hack() { - local impl=$1 - dodir /usr/share/${impl} - tar cpjf "${D}"/usr/share/${impl}/portage-timestamp-compensate -C "${D}"/usr/$(get_libdir)/${impl} . -} - -impl-restore-timestamp-hack() { - local impl=$1 - tar xjpfo /usr/share/${impl}/portage-timestamp-compensate -C /usr/$(get_libdir)/${impl} -} - -impl-remove-timestamp-hack() { - local impl=$1 - rm -rf /usr/$(get_libdir)/${impl} &>/dev/null || true -} - -standard-impl-postinst() { - local impl=$1 - case ${impl} in - cmucl|sbcl) - impl-restore-timestamp-hack ${impl} - ;; - *) - ;; - esac -} - -standard-impl-postrm() { - local impl=$1 impl_binary=$2 - if [ ! -x ${impl_binary} ]; then - case ${impl} in - cmucl|sbcl) - impl-remove-timestamp-hack ${impl} - ;; - *) - ;; - esac - rm -rf /var/cache/common-lisp-controller/*/${impl} - fi -} - -# Local Variables: *** -# mode: shell-script *** -# tab-width: 4 *** -# End: *** diff --git a/eclass/mozilla-launcher.eclass b/eclass/mozilla-launcher.eclass deleted file mode 100644 index 5b5ba1bed3b4..000000000000 --- a/eclass/mozilla-launcher.eclass +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# @DEAD -# This eclass is deprecated and no longer used. It will be removed -# in 30 days, #551916. - - -inherit nsplugins multilib - -if [[ ${PN: -4} != "-bin" ]] ; then - IUSE="moznopango" -fi - -# update_mozilla_launcher_symlinks -# -------------------------------- -# Create or remove the following symlinks in /usr/bin: -# -# firefox -> firefox-bin -# thunderbird -> thunderbird-bin -# mozilla -> mozilla-bin -# sunbird -> sunbird-bin -# seamonkey -> seamonkey-bin -# -# The symlinks are removed if they're found to be dangling. They are -# created according to the following rules: -# -# - If there's a -bin symlink in /usr/bin, and no corresponding -# non-bin symlink, then create one. -# -# - Can't do this in src_install otherwise it overwrites the one -# for the non-bin package. -# -# - Link to the -bin symlink so it's easier to detect when to -# remove the symlink. -# -# NOTE: This eclass does *not* manage the launcher stubs in /usr/bin except -# when a -bin package is installed and the corresponding from-source -# package is not installed. The usual stubs are actually installed in -# src_install so they are included in the package inventory. -# -update_mozilla_launcher_symlinks() { - local f browsers="mozilla firefox thunderbird sunbird seamonkey" - cd "${ROOT}"/usr/bin - - # Remove launcher symlinks that no longer apply - - for f in ${browsers}; do - if [[ -L ${f} && ! -f ${f} ]]; then - einfo "Removing dangling ${f} launcher" - rm -f ${f} - fi - done - - # Create new symlinks - - for f in ${browsers}; do - if [[ -e ${f}-bin && ! -e ${f} ]]; then - einfo "Adding link from ${f}-bin to ${f}" - ln -s ${f}-bin ${f} - fi - done -} - -# install_mozilla_launcher_stub name libdir -# ----------------------------------------- -# Install a stub called /usr/bin/$name that executes mozilla-launcher -# -# Note: $PLUGINS_DIR comes from nsplugins (specifically the deprecated section). -# -install_mozilla_launcher_stub() { - [[ -n $2 ]] || die "install_launcher_stub requires two arguments" - declare name=$1 - declare libdir=$2 - - # If we use xulrunner, the name of the binary should be the same - if [[ ${name: -3} == "xul" ]]; then - name=${name/xul/} - declare appname=xulrunner - declare xulparams="export XUL_PARAMS=${libdir}/application.ini" - declare libdir="/usr/$(get_libdir)/xulrunner-1.9" - else - declare appname=${name} - fi - - dodir /usr/bin - - if [[ ${PN: -4} == "-bin" ]] || ! use moznopango; then - cat <<EOF >"${D}"/usr/bin/${name} -#!/bin/sh -# -# Stub script to run mozilla-launcher. We used to use a symlink here -# but OOo brokenness makes it necessary to use a stub instead: -# https://bugs.gentoo.org/show_bug.cgi?id=78890 - -export MOZILLA_LAUNCHER=${appname} -export MOZILLA_LIBDIR=${libdir} -export MOZ_PLUGIN_PATH=\${MOZ_PLUGIN_PATH:-/usr/$(get_libdir)/$PLUGINS_DIR} -${xulparams} -exec /usr/libexec/mozilla-launcher "\$@" -EOF - else - cat <<EOF >"${D}"/usr/bin/${name} -#!/bin/sh -# -# Stub script to run mozilla-launcher. We used to use a symlink here -# but OOo brokenness makes it necessary to use a stub instead: -# https://bugs.gentoo.org/show_bug.cgi?id=78890 - -export MOZILLA_LAUNCHER=${appname} -export MOZILLA_LIBDIR=${libdir} -export MOZ_PLUGIN_PATH=\${MOZ_PLUGIN_PATH:-/usr/$(get_libdir)/$PLUGINS_DIR} -export MOZ_DISABLE_PANGO=1 -${xulparams} -exec /usr/libexec/mozilla-launcher "\$@" -EOF - fi - chmod 0755 "${D}"/usr/bin/${name} -} - -warn_mozilla_launcher_stub() { - elog "Not all locales support the disabling of pango." - elog "If your locale does not support disabling pango," - elog "please open a bug report on https://bugs.gentoo.org" - elog "Then we can filter around the problem with those" - elog "specific locales." -} |