summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2021-06-05 13:57:31 +0200
committerMartin Väth <martin@mvath.de>2021-06-05 13:57:31 +0200
commitcb3060876d22dfa8fb351a474f010e2c9fb4dae6 (patch)
tree3c3407473ae82e2322173c96c7401f6e272ce2ec
parentsys-apps/less: Version bump (diff)
downloadmv-cb3060876d22dfa8fb351a474f010e2c9fb4dae6.tar.gz
mv-cb3060876d22dfa8fb351a474f010e2c9fb4dae6.tar.bz2
mv-cb3060876d22dfa8fb351a474f010e2c9fb4dae6.zip
x11-terms/kitty x11-terms/kitty-terminfo dev-util/flawfinder: remove
Signed-off-by: Martin Väth <martin@mvath.de>
-rw-r--r--dev-util/flawfinder/Manifest1
-rw-r--r--dev-util/flawfinder/flawfinder-2.0.15.ebuild36
-rw-r--r--dev-util/flawfinder/metadata.xml13
-rw-r--r--metadata/pkg_desc_index3
-rw-r--r--x11-terms/kitty-terminfo/Manifest1
-rw-r--r--x11-terms/kitty-terminfo/files/kitty-terminfo-setup-0.20.1.patch46
-rw-r--r--x11-terms/kitty-terminfo/kitty-terminfo-0.20.1.ebuild41
-rw-r--r--x11-terms/kitty-terminfo/metadata.xml15
-rw-r--r--x11-terms/kitty/Manifest1
-rw-r--r--x11-terms/kitty/files/kitty-0.14.4-svg-icon.patch16
-rw-r--r--x11-terms/kitty/files/kitty-0.20.1-flags.patch49
-rw-r--r--x11-terms/kitty/files/kitty-0.20.1-remove-terminfo.patch16
-rw-r--r--x11-terms/kitty/files/kitty-0.20.1-tests.patch11
-rw-r--r--x11-terms/kitty/kitty-0.20.1.ebuild110
-rw-r--r--x11-terms/kitty/metadata.xml15
15 files changed, 0 insertions, 374 deletions
diff --git a/dev-util/flawfinder/Manifest b/dev-util/flawfinder/Manifest
deleted file mode 100644
index 5b443b7b..00000000
--- a/dev-util/flawfinder/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST flawfinder-2.0.15.tar.gz 253677 BLAKE2B 5c4a0e21e0a7f144382c6ca25f713aef9bdb413d4bb5a73f66632ef365f55c75e755ab59cf92fb54dc2d043c8b88be8c28d5f5fca36df6795dabc00313b839f2 SHA512 12b637bae789ee86710c7d6ee203b811e78414ad5d173730bfffe3ea783a76ce999878c57ddaa8019744cac6bf94967663fd9fd80769d7a24b0a79d23c0b0d9d
diff --git a/dev-util/flawfinder/flawfinder-2.0.15.ebuild b/dev-util/flawfinder/flawfinder-2.0.15.ebuild
deleted file mode 100644
index ae622da6..00000000
--- a/dev-util/flawfinder/flawfinder-2.0.15.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Examines C/C++ source code for security flaws"
-HOMEPAGE="https://www.dwheeler.com/flawfinder/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- sed -i "s/${PN}.1.gz/${PN}.1/g" setup.py || die 'sed failed.'
- default
-}
-
-python_test() {
- emake test
-}
-
-python_install_all() {
- local DOCS=( announcement ChangeLog README.md ${PN}.pdf )
- distutils-r1_python_install_all
-}
diff --git a/dev-util/flawfinder/metadata.xml b/dev-util/flawfinder/metadata.xml
deleted file mode 100644
index 885fb2b1..00000000
--- a/dev-util/flawfinder/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
- </maintainer>
- <upstream>
- <changelog>https://sourceforge.net/p/flawfinder/code/ci/master/tree/ChangeLog</changelog>
- <bugs-to>https://sourceforge.net/p/flawfinder/bugs/</bugs-to>
- <remote-id type="sourceforge">flawfinder</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 7f73e08d..cb0929c5 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -58,7 +58,6 @@ dev-python/PyPDF2 1.26.0: Python library to work with pdf files
dev-tex/chklref 2.6.0 2.6.1_alpha20170913: Finds useless references in latex files or unnecessarily numbered environments
dev-util/comp 4.3.1: compare files or directories, including metadata
dev-util/diffhelp 1.12: A frontend, beautifier, and path-fixer for diff -u
-dev-util/flawfinder 2.0.15: Examines C/C++ source code for security flaws
dev-util/mv_perl 4.2: A collection of perl scripts (replacement in files, syncing dirs etc)
dev-util/pyrep 1.5-r1: Search and/or replace regular expressions within many files interactively
dev-util/replacer 3.3: Search and replace python regular expressions within many files interactively
@@ -137,6 +136,4 @@ www-plugins/translate-to-me 1.1: Firefox webextension: translate the selected te
www-plugins/ublock-origin 1.17.2: Firefox webextension: An efficient list-based blocker
x11-libs/gtk+ 2.24.33 3.24.29: Gimp ToolKit +
x11-libs/motif 2.3.8-r1: The Motif user interface component toolkit
-x11-terms/kitty 0.20.1: A modern, hackable, featureful, OpenGL-based terminal emulator
-x11-terms/kitty-terminfo 0.20.1: Terminfo for kitty, an OpenGL-based terminal emulator
x11-themes/fvwm-crystal 3.6.5: Configurable FVWM theme with transparency and freedesktop compatible menu
diff --git a/x11-terms/kitty-terminfo/Manifest b/x11-terms/kitty-terminfo/Manifest
deleted file mode 100644
index e3c85877..00000000
--- a/x11-terms/kitty-terminfo/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kitty-0.20.1.tar.xz 3449932 SHA512 19dfa66eb2a2115877b25fbff0ba7a81071bff00c732236f20342aeb619cca88ae4a4e8ce4e73908ac7d7d12fca5232a76e0167754f2e658af02e442cf5ba0cd
diff --git a/x11-terms/kitty-terminfo/files/kitty-terminfo-setup-0.20.1.patch b/x11-terms/kitty-terminfo/files/kitty-terminfo-setup-0.20.1.patch
deleted file mode 100644
index 67772bfa..00000000
--- a/x11-terms/kitty-terminfo/files/kitty-terminfo-setup-0.20.1.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 115739fc..b933165c 100755
---- a/setup.py
-+++ b/setup.py
-@@ -906,6 +906,14 @@ def create_linux_bundle_gunk(ddir: str, libdir_name: str) -> None:
- os.makedirs(os.path.dirname(in_src_launcher), exist_ok=True)
- os.symlink(os.path.relpath(launcher, os.path.dirname(in_src_launcher)), in_src_launcher)
-
-+def terminfo(args):
-+ ddir = args.prefix
-+ libdir = os.path.join(ddir, args.libdir_name.strip('/'), 'kitty')
-+ build_terminfo = runpy.run_path('build-terminfo', run_name='import_build')
-+ for x in (libdir, os.path.join(ddir, 'share')):
-+ odir = os.path.join(x, 'terminfo')
-+ safe_makedirs(odir)
-+ build_terminfo['compile_terminfo'](odir)
-
- def macos_info_plist() -> bytes:
- import plistlib
-@@ -1093,7 +1101,7 @@ def safe_remove(*entries: str) -> None:
-
- safe_remove(
- 'build', 'compile_commands.json', 'link_commands.json',
-- 'linux-package', 'kitty.app', 'asan-launcher',
-+ 'linux-package', 'linux-terminfo', 'kitty.app', 'asan-launcher',
- 'kitty-profile', 'kitty/launcher')
- exclude = ('.git',)
- for root, dirs, files in os.walk('.', topdown=True):
-@@ -1116,7 +1124,7 @@ def option_parser() -> argparse.ArgumentParser: # {{{
- 'action',
- nargs='?',
- default=Options.action,
-- choices='build test linux-package kitty.app linux-freeze macos-freeze build-launcher build-frozen-launcher clean export-ci-bundles'.split(),
-+ choices='build test linux-package linux-terminfo kitty.app linux-freeze macos-freeze build-launcher build-frozen-launcher clean export-ci-bundles'.split(),
- help='Action to perform (default is build)'
- )
- p.add_argument(
-@@ -1246,6 +1254,8 @@ def main() -> None:
- elif args.action == 'linux-package':
- build(args, native_optimizations=False)
- package(args, bundle_type='linux-package')
-+ elif args.action == 'linux-terminfo':
-+ terminfo(args)
- elif args.action == 'linux-freeze':
- build(args, native_optimizations=False)
- package(args, bundle_type='linux-freeze')
diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-0.20.1.ebuild b/x11-terms/kitty-terminfo/kitty-terminfo-0.20.1.ebuild
deleted file mode 100644
index 5c6af2e1..00000000
--- a/x11-terms/kitty-terminfo/kitty-terminfo-0.20.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-
-inherit python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="Terminfo for kitty, an OpenGL-based terminal emulator"
-HOMEPAGE="https://github.com/kovidgoyal/kitty"
-SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz"
-S="${WORKDIR}/kitty-${PV}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-DEPEND="${PYTHON_DEPS}"
-
-PATCHES=(
- "${FILESDIR}"/kitty-terminfo-setup-0.20.1.patch
-)
-
-# kitty-terminfo is a split package from kitty that only installs the terminfo
-# file. As tests are designed to be run with the whole package compiled they
-# would fail in this case.
-RESTRICT="test"
-
-src_compile() {
- "${EPYTHON}" setup.py \
- --verbose $(usex debug --debug "") \
- --libdir-name $(get_libdir) \
- linux-terminfo || die "Failed to compile kitty."
-}
-
-src_install() {
- insinto /usr
- doins -r linux-package/*
-}
diff --git a/x11-terms/kitty-terminfo/metadata.xml b/x11-terms/kitty-terminfo/metadata.xml
deleted file mode 100644
index c44f7541..00000000
--- a/x11-terms/kitty-terminfo/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>pabloorduna98@gmail.com</email>
- <name>Pablo Orduna</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Gentoo Proxy Maintainers Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">kovidgoyal/kitty</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
deleted file mode 100644
index e3c85877..00000000
--- a/x11-terms/kitty/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kitty-0.20.1.tar.xz 3449932 SHA512 19dfa66eb2a2115877b25fbff0ba7a81071bff00c732236f20342aeb619cca88ae4a4e8ce4e73908ac7d7d12fca5232a76e0167754f2e658af02e442cf5ba0cd
diff --git a/x11-terms/kitty/files/kitty-0.14.4-svg-icon.patch b/x11-terms/kitty/files/kitty-0.14.4-svg-icon.patch
deleted file mode 100644
index 13f874dd..00000000
--- a/x11-terms/kitty/files/kitty-0.14.4-svg-icon.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Use SVG icon instead of PNG.
-
---- kitty-0.14.4/setup.py
-+++ kitty-0.14.4/setup.py
-@@ -710,9 +710,9 @@
- run_tool(['make', 'docs'])
- copy_man_pages(ddir)
- copy_html_docs(ddir)
-- icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps')
-+ icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', 'scalable', 'apps')
- safe_makedirs(icdir)
-- shutil.copy2('logo/kitty.png', icdir)
-+ shutil.copy2('logo/kitty.svg', icdir)
- deskdir = os.path.join(ddir, 'share', 'applications')
- safe_makedirs(deskdir)
- with open(os.path.join(deskdir, 'kitty.desktop'), 'w') as f:
diff --git a/x11-terms/kitty/files/kitty-0.20.1-flags.patch b/x11-terms/kitty/files/kitty-0.20.1-flags.patch
deleted file mode 100644
index 27a44f56..00000000
--- a/x11-terms/kitty/files/kitty-0.20.1-flags.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff --git a/setup.py b/setup.py
-index ce5309ee..9cb59461 100755
---- a/setup.py
-+++ b/setup.py
-@@ -278,7 +278,7 @@ def init_env(
- df += ' -Og'
- float_conversion = '-Wfloat-conversion'
- fortify_source = '' if sanitize and is_macos else '-D_FORTIFY_SOURCE=2'
-- optimize = df if debug or sanitize else '-O3'
-+ optimize = ''
- sanitize_args = get_sanitize_args(cc, ccver) if sanitize else set()
- cppflags_ = os.environ.get(
- 'OVERRIDE_CPPFLAGS', '-D{}DEBUG'.format('' if debug else 'N'),
-@@ -289,7 +289,7 @@ def init_env(
- cflags_ = os.environ.get(
- 'OVERRIDE_CFLAGS', (
- '-Wextra {} -Wno-missing-field-initializers -Wall -Wstrict-prototypes {}'
-- ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden {}'
-+ ' -pedantic-errors {} {} -fwrapv {} {} {} -fvisibility=hidden {}'
- ).format(
- float_conversion,
- '' if is_openbsd else '-std=c11',
-@@ -306,7 +306,7 @@ def init_env(
- )
- ldflags_ = os.environ.get(
- 'OVERRIDE_LDFLAGS',
-- '-Wall ' + ' '.join(sanitize_args) + ('' if debug else ' -O3')
-+ '-Wall ' + ' '.join(sanitize_args)
- )
- ldflags = shlex.split(ldflags_)
- ldflags.append('-shared')
-@@ -764,7 +764,7 @@ def safe_makedirs(path: str) -> None:
-
-
- def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 'source') -> None:
-- cflags = '-Wall -Werror -fpie'.split()
-+ cflags = '-Wall -fpie'.split()
- cppflags = []
- libs: List[str] = []
- if args.profile or args.sanitize:
-@@ -776,8 +776,6 @@ def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 's
- cflags.append('-g')
- if args.profile:
- libs.append('-lprofiler')
-- else:
-- cflags.append('-O3')
- if bundle_type.endswith('-freeze'):
- cppflags.append('-DFOR_BUNDLE')
- cppflags.append('-DPYVER="{}"'.format(sysconfig.get_python_version()))
diff --git a/x11-terms/kitty/files/kitty-0.20.1-remove-terminfo.patch b/x11-terms/kitty/files/kitty-0.20.1-remove-terminfo.patch
deleted file mode 100644
index aeb40e60..00000000
--- a/x11-terms/kitty/files/kitty-0.20.1-remove-terminfo.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/setup.py b/setup.py
-index ce5309ee..02f38c61 100755
---- a/setup.py
-+++ b/setup.py
-@@ -1028,11 +1028,6 @@ def package(args: Options, bundle_type: str) -> None:
- safe_makedirs(launcher_dir)
- build_launcher(args, launcher_dir, bundle_type)
- os.makedirs(os.path.join(libdir, 'logo'))
-- build_terminfo = runpy.run_path('build-terminfo', run_name='import_build') # type: ignore
-- for x in (libdir, os.path.join(ddir, 'share')):
-- odir = os.path.join(x, 'terminfo')
-- safe_makedirs(odir)
-- build_terminfo['compile_terminfo'](odir)
- shutil.copy2('__main__.py', libdir)
- shutil.copy2('logo/kitty-128.png', os.path.join(libdir, 'logo'))
- shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))
diff --git a/x11-terms/kitty/files/kitty-0.20.1-tests.patch b/x11-terms/kitty/files/kitty-0.20.1-tests.patch
deleted file mode 100644
index 210898b8..00000000
--- a/x11-terms/kitty/files/kitty-0.20.1-tests.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/kitty/constants.py
-+++ b/kitty/constants.py
-@@ -64,7 +64,7 @@
- def kitty_exe() -> str:
- rpath = sys._xoptions.get('bundle_exe_dir')
- if not rpath:
-- items = os.environ.get('PATH', '').split(os.pathsep) + [os.path.join(kitty_base_dir, 'kitty', 'launcher')]
-+ items = os.environ.get('PATH', '').split(os.pathsep) + [os.path.join(kitty_base_dir, '../linux-package/bin')]
- seen: Set[str] = set()
- for candidate in filter(None, items):
- if candidate not in seen:
diff --git a/x11-terms/kitty/kitty-0.20.1.ebuild b/x11-terms/kitty/kitty-0.20.1.ebuild
deleted file mode 100644
index 50f3a79b..00000000
--- a/x11-terms/kitty/kitty-0.20.1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-
-inherit optfeature python-single-r1 toolchain-funcs xdg
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="A modern, hackable, featureful, OpenGL-based terminal emulator"
-HOMEPAGE="https://github.com/kovidgoyal/kitty"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="debug wayland"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- media-libs/fontconfig
- media-libs/freetype:2
- >=media-libs/harfbuzz-1.5.0:=
- media-libs/lcms
- media-libs/libcanberra
- media-libs/libpng:0=
- sys-apps/dbus
- sys-libs/zlib
- x11-libs/libxcb[xkb]
- x11-libs/libXcursor
- x11-libs/libXi
- x11-libs/libXinerama
- x11-libs/libxkbcommon[X]
- x11-libs/libXrandr
- x11-terms/kitty-terminfo
- wayland? (
- dev-libs/wayland
- >=dev-libs/wayland-protocols-1.17
- )
- $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_6)
-"
-
-DEPEND="${RDEPEND}
- media-libs/mesa[X]
- sys-libs/ncurses
-"
-
-BDEPEND="virtual/pkgconfig"
-
-[[ ${PV} == *9999 ]] && BDEPEND+=" >=dev-python/sphinx-1.7"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.1-flags.patch
- "${FILESDIR}"/${PN}-0.14.4-svg-icon.patch
- "${FILESDIR}"/${PN}-0.20.1-remove-terminfo.patch
- "${FILESDIR}"/${PN}-0.20.1-tests.patch
-)
-
-src_prepare() {
- default
-
- # disable wayland as required
- if ! use wayland; then
- sed -i "/'x11 wayland'/s/ wayland//" setup.py || die
- # also disable wayland tests
- sed -i "/if not self.is_ci/d" kitty_tests/check_build.py || die
- sed -i "/linux_backends.append('wayland')/d" kitty_tests/check_build.py || die
- fi
-
- # respect doc dir
- sed -i "/htmldir =/s/appname/'${PF}'/" setup.py || die
-
- tc-export CC
-}
-
-src_compile() {
- "${EPYTHON}" setup.py \
- --verbose $(usex debug --debug "") \
- --libdir-name $(get_libdir) \
- --update-check-interval=0 \
- linux-package || die "Failed to compile kitty."
-}
-
-src_test() {
- export KITTY_CONFIG_DIRECTORY=${T}
- "${EPYTHON}" test.py || die
-}
-
-src_install() {
- insinto /usr
- doins -r linux-package/*
- dobin linux-package/bin/kitty
- python_fix_shebang "${ED}"
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
- optfeature "Displaying images in the terminal" virtual/imagemagick-tools
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/x11-terms/kitty/metadata.xml b/x11-terms/kitty/metadata.xml
deleted file mode 100644
index c44f7541..00000000
--- a/x11-terms/kitty/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>pabloorduna98@gmail.com</email>
- <name>Pablo Orduna</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Gentoo Proxy Maintainers Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">kovidgoyal/kitty</remote-id>
- </upstream>
-</pkgmetadata>