aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2020-01-02 13:07:21 +0100
committerJohannes Huber <johu@gentoo.org>2020-01-02 13:08:04 +0100
commitc937e8520446a50ff9072a76c4de7f0ca39d422a (patch)
treee991aa620d8fe0b96e052ffe393460d480fb5ea9
parentdev-libs/qtkeychain: Sync w/ gentoo main repo (diff)
downloadjohu-c937e8520446a50ff9072a76c4de7f0ca39d422a.tar.gz
johu-c937e8520446a50ff9072a76c4de7f0ca39d422a.tar.bz2
johu-c937e8520446a50ff9072a76c4de7f0ca39d422a.zip
app-editors/atom-bin: Drop pkg
Signed-off-by: Johannes Huber <johu@gentoo.org>
-rw-r--r--app-editors/atom-bin/Manifest1
-rw-r--r--app-editors/atom-bin/atom-bin-1.16.0.ebuild96
-rw-r--r--app-editors/atom-bin/files/atom-1.12.6-lintian7
-rw-r--r--app-editors/atom-bin/files/atom-1.12.7-lintian7
-rw-r--r--app-editors/atom-bin/files/atom-1.13.0-lintian7
-rw-r--r--app-editors/atom-bin/files/atom-1.13.1-lintian7
-rw-r--r--app-editors/atom-bin/files/atom-bin128
-rw-r--r--app-editors/atom-bin/files/atom-lintian7
-rw-r--r--app-editors/atom-bin/metadata.xml11
9 files changed, 0 insertions, 271 deletions
diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest
deleted file mode 100644
index dcf6b0e..0000000
--- a/app-editors/atom-bin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST atom-amd64-1.16.0.tar.gz 90189086 BLAKE2B 3dff85f16ae1d734730bfd6f0ffef385e883f077c6008f083c9edf225e7fd76a7fc14d80188ec6be475298a3244ee011dd6523bc1cecf69a6866495e8b3c4daa SHA512 59b66ec35b17fb3abecf7f743de61e42523b05f22652ae555faee55dd8f70d985994085837ce370425f9d4f730feeef486973ce9f8cc5fecbcb6d8ef1b0528de
diff --git a/app-editors/atom-bin/atom-bin-1.16.0.ebuild b/app-editors/atom-bin/atom-bin-1.16.0.ebuild
deleted file mode 100644
index 3418dcf..0000000
--- a/app-editors/atom-bin/atom-bin-1.16.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit flag-o-matic python-any-r1 eutils unpacker pax-utils
-
-DESCRIPTION="A hackable text editor for the 21st Century. - Binary package"
-HOMEPAGE="https://atom.io"
-MY_PN="atom"
-SRC_URI="
- https://github.com/${MY_PN}/${MY_PN}/releases/download/v${PV}/${MY_PN}-amd64.tar.gz -> ${MY_PN}-amd64-${PV}.tar.gz"
-
-RESTRICT="mirror"
-
-KEYWORDS="-* ~amd64"
-SLOT="0"
-LICENSE="MIT"
-
-IUSE="system-node"
-
-DEPEND="${PYTHON_DEPS}
- media-fonts/inconsolata
- !!dev-util/atom-shell
- !dev-util/apm
- !app-editors/atom"
-
-RDEPEND="${DEPEND}
- x11-libs/gtk+:2
- x11-libs/libnotify
- gnome-base/libgnome-keyring
- dev-libs/nss
- dev-libs/nspr
- gnome-base/gconf
- media-libs/alsa-lib
- net-print/cups
- sys-libs/libcap
- system-node? ( net-libs/nodejs[npm] )
- x11-libs/libXtst
- x11-libs/pango"
-
-QA_PRESTRIPPED="
- /usr/share/${MY_PN}/${MY_PN}
- /usr/share/${MY_PN}/chromedriver/chromedriver
- /usr/share/${MY_PN}/libffmpegsumo.so
- /usr/share/${MY_PN}/libnotify.so.4
- /usr/share/${MY_PN}/libchromiumcontent.so
- /usr/share/${MY_PN}/libgcrypt.so.11
- /usr/share/${MY_PN}/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux"
-
-S="${WORKDIR}/${MY_PN}-${PV}-amd64"
-
-pkg_setup() {
- python-any-r1_pkg_setup
-}
-
-src_prepare(){
- #If you want to use the system node, we don't need the local one, so we must delete it first
- if use system-node; then
- rm resources/app/apm/bin/node
- rm resources/app/apm/bin/npm
- #Fix apm binary to use the nodejs binary rather than the built-in
- sed -i "s#\$binDir\/\$nodeBin#\$\(which \$nodeBin\)#" resources/app/apm/bin/apm
- fi
- eapply_user
-}
-
-src_install() {
- pax-mark m ${MY_PN}
- insinto /usr/share/${MY_PN}
- doins -r .
- doicon ${MY_PN}.png
- insinto /usr/share/doc/${MY_PN}
- newins resources/LICENSE.md copyright
- newbin "${FILESDIR}/${PN}" ${MY_PN}
- insinto /usr/share/lintian/overrides
- newins "${FILESDIR}/${MY_PN}-lintian" ${MY_PN}
- dosym ../share/${MY_PN}/resources/app/apm/bin/apm /usr/bin/apm
-
- # Fixes permissions
- fperms +x /usr/bin/${MY_PN}
- fperms +x /usr/share/${MY_PN}/${MY_PN}
- fperms +x /usr/share/${MY_PN}/resources/app/${MY_PN}.sh
- if use !system-node; then
- fperms +x /usr/share/${MY_PN}/resources/app/apm/bin/node
- fperms +x /usr/share/${MY_PN}/resources/app/apm/bin/npm
- fi
- fperms +x /usr/share/${MY_PN}/resources/app/apm/bin/apm
- fperms +x /usr/share/${MY_PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
- fperms +x /usr/share/${MY_PN}/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
-
- make_desktop_entry "/usr/bin/${MY_PN} %U" "${MY_PN}" "${MY_PN}" \
- "GNOME;GTK;Utility;TextEditor;Development;" \
- "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=${MY_PN}"
-}
diff --git a/app-editors/atom-bin/files/atom-1.12.6-lintian b/app-editors/atom-bin/files/atom-1.12.6-lintian
deleted file mode 100644
index 8a33af0..0000000
--- a/app-editors/atom-bin/files/atom-1.12.6-lintian
+++ /dev/null
@@ -1,7 +0,0 @@
-atom: arch-dependent-file-in-usr-share
-atom: changelog-file-missing-in-native-package
-atom: copyright-file-contains-full-apache-2-license
-atom: copyright-should-refer-to-common-license-file-for-apache-2
-atom: embedded-library
-atom: package-installs-python-bytecode
-atom: unstripped-binary-or-object
diff --git a/app-editors/atom-bin/files/atom-1.12.7-lintian b/app-editors/atom-bin/files/atom-1.12.7-lintian
deleted file mode 100644
index 8a33af0..0000000
--- a/app-editors/atom-bin/files/atom-1.12.7-lintian
+++ /dev/null
@@ -1,7 +0,0 @@
-atom: arch-dependent-file-in-usr-share
-atom: changelog-file-missing-in-native-package
-atom: copyright-file-contains-full-apache-2-license
-atom: copyright-should-refer-to-common-license-file-for-apache-2
-atom: embedded-library
-atom: package-installs-python-bytecode
-atom: unstripped-binary-or-object
diff --git a/app-editors/atom-bin/files/atom-1.13.0-lintian b/app-editors/atom-bin/files/atom-1.13.0-lintian
deleted file mode 100644
index 8a33af0..0000000
--- a/app-editors/atom-bin/files/atom-1.13.0-lintian
+++ /dev/null
@@ -1,7 +0,0 @@
-atom: arch-dependent-file-in-usr-share
-atom: changelog-file-missing-in-native-package
-atom: copyright-file-contains-full-apache-2-license
-atom: copyright-should-refer-to-common-license-file-for-apache-2
-atom: embedded-library
-atom: package-installs-python-bytecode
-atom: unstripped-binary-or-object
diff --git a/app-editors/atom-bin/files/atom-1.13.1-lintian b/app-editors/atom-bin/files/atom-1.13.1-lintian
deleted file mode 100644
index 8a33af0..0000000
--- a/app-editors/atom-bin/files/atom-1.13.1-lintian
+++ /dev/null
@@ -1,7 +0,0 @@
-atom: arch-dependent-file-in-usr-share
-atom: changelog-file-missing-in-native-package
-atom: copyright-file-contains-full-apache-2-license
-atom: copyright-should-refer-to-common-license-file-for-apache-2
-atom: embedded-library
-atom: package-installs-python-bytecode
-atom: unstripped-binary-or-object
diff --git a/app-editors/atom-bin/files/atom-bin b/app-editors/atom-bin/files/atom-bin
deleted file mode 100644
index b68716b..0000000
--- a/app-editors/atom-bin/files/atom-bin
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/bash
-
-if [ "$(uname)" == 'Darwin' ]; then
- OS='Mac'
-elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then
- OS='Linux'
-else
- echo "Your platform ($(uname -a)) is not supported."
- exit 1
-fi
-
-if [ "$(basename $0)" == 'atom-beta' ]; then
- BETA_VERSION=true
-else
- BETA_VERSION=
-fi
-
-while getopts ":wtfvh-:" opt; do
- case "$opt" in
- -)
- case "${OPTARG}" in
- wait)
- WAIT=1
- ;;
- help|version)
- REDIRECT_STDERR=1
- EXPECT_OUTPUT=1
- ;;
- foreground|test)
- EXPECT_OUTPUT=1
- ;;
- esac
- ;;
- w)
- WAIT=1
- ;;
- h|v)
- REDIRECT_STDERR=1
- EXPECT_OUTPUT=1
- ;;
- f|t)
- EXPECT_OUTPUT=1
- ;;
- esac
-done
-
-if [ $REDIRECT_STDERR ]; then
- exec 2> /dev/null
-fi
-
-if [ $EXPECT_OUTPUT ]; then
- export ELECTRON_ENABLE_LOGGING=1
-fi
-
-if [ $OS == 'Mac' ]; then
- if [ -n "$BETA_VERSION" ]; then
- ATOM_APP_NAME="Atom Beta.app"
- else
- ATOM_APP_NAME="Atom.app"
- fi
-
- if [ -z "${ATOM_PATH}" ]; then
- # If ATOM_PATH isnt set, check /Applications and then ~/Applications for Atom.app
- if [ -x "/Applications/$ATOM_APP_NAME" ]; then
- ATOM_PATH="/Applications"
- elif [ -x "$HOME/Applications/$ATOM_APP_NAME" ]; then
- ATOM_PATH="$HOME/Applications"
- else
- # We havent found an Atom.app, use spotlight to search for Atom
- ATOM_PATH="$(mdfind "kMDItemCFBundleIdentifier == 'com.github.atom'" | grep -v ShipIt | head -1 | xargs -0 dirname)"
-
- # Exit if Atom can't be found
- if [ ! -x "$ATOM_PATH/$ATOM_APP_NAME" ]; then
- echo "Cannot locate Atom.app, it is usually located in /Applications. Set the ATOM_PATH environment variable to the directory containing Atom.app."
- exit 1
- fi
- fi
- fi
-
- if [ $EXPECT_OUTPUT ]; then
- "$ATOM_PATH/$ATOM_APP_NAME/Contents/MacOS/Atom" --executed-from="$(pwd)" --pid=$$ "$@"
- exit $?
- else
- open -a "$ATOM_PATH/$ATOM_APP_NAME" -n --args --executed-from="$(pwd)" --pid=$$ --path-environment="$PATH" "$@"
- fi
-elif [ $OS == 'Linux' ]; then
- SCRIPT=$(readlink -f "$0")
- USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..)
-
- if [ -n "$BETA_VERSION" ]; then
- ATOM_PATH="$USR_DIRECTORY/share/atom-beta/atom"
- else
- ATOM_PATH="$USR_DIRECTORY/share/atom/atom"
- fi
-
- ATOM_HOME="${ATOM_HOME:-$HOME/.atom}"
- mkdir -p "$ATOM_HOME"
-
- : ${TMPDIR:=/tmp}
-
- [ -x "$ATOM_PATH" ] || ATOM_PATH="$TMPDIR/atom-build/Atom/atom"
-
- if [ $EXPECT_OUTPUT ]; then
- "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@"
- exit $?
- else
- (
- nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
- if [ $? -ne 0 ]; then
- cat "$ATOM_HOME/nohup.out"
- exit $?
- fi
- ) &
- fi
-fi
-
-# Exits this process when Atom is used as $EDITOR
-on_die() {
- exit 0
-}
-trap 'on_die' SIGQUIT SIGTERM
-
-# If the wait flag is set, don't exit this process until Atom tells it to.
-if [ $WAIT ]; then
- while true; do
- sleep 1
- done
-fi
diff --git a/app-editors/atom-bin/files/atom-lintian b/app-editors/atom-bin/files/atom-lintian
deleted file mode 100644
index 8a33af0..0000000
--- a/app-editors/atom-bin/files/atom-lintian
+++ /dev/null
@@ -1,7 +0,0 @@
-atom: arch-dependent-file-in-usr-share
-atom: changelog-file-missing-in-native-package
-atom: copyright-file-contains-full-apache-2-license
-atom: copyright-should-refer-to-common-license-file-for-apache-2
-atom: embedded-library
-atom: package-installs-python-bytecode
-atom: unstripped-binary-or-object
diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml
deleted file mode 100644
index 00f8ace..0000000
--- a/app-editors/atom-bin/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>johu@gentoo.org</email>
- <name>Johannes Huber</name>
- </maintainer>
- <use>
- <flag name="system-node">Use node.js system implementation instead of the built-in one.</flag>
- </use>
-</pkgmetadata>