Merge branch 'master' of gitlab.com:src_prepare/src_prepare-overlay
This commit is contained in:
commit
71d3e72e45
@ -1 +1,2 @@
|
||||
DIST ONLYOFFICE-DesktopEditors-5.4.2_amd64.deb 163646374 BLAKE2B 19824eb921cd4262e5eb8f3b6bd70472e33d67badadc3d748ab325d90f980413c8e48e776058ebd23de804ca95bc6c87f70bc24bf53756ce0aa2417c9702db67 SHA512 2b85119722d9ba0d4112a2782d365e3eb29e3bce868b6dc68547caf14e2d4df6e4bcd94da2b31670b9574874f13b8a65a3d84aa2e58ce0eeea1f1b1a6aca6888
|
||||
DIST ONLYOFFICE-DesktopEditors-5.5.1_amd64.deb 179305960 BLAKE2B 7d1e50b6a9fec1e2bd37ccf3988b35f908f752fb1925b1eccb2a9f113d8d50929cbd10bc9aed7f8b3f1315ee903bd8a4f78d9876bd8ddc25e6eefcc027c956fd SHA512 8a87eba1ed160b8ae89c949db427614a282e54b525562476ef7145a4d141b56723fd967b7171cd16aaa2d99922080c7c6ca2baa90d3823564885241c48ae97ea
|
||||
|
@ -1,7 +1,5 @@
|
||||
# Copyright 1999-2020 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
# This ebuild was based on Jorgicio's ebuild; all credits go to him.
|
||||
|
||||
EAPI=7
|
||||
|
||||
@ -15,7 +13,6 @@ HOMEPAGE="https://www.onlyoffice.com/"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
||||
@ -71,10 +68,8 @@ NATIVE_DEPEND="
|
||||
media-fonts/crosextrafonts-carlito
|
||||
net-print/cups
|
||||
net-misc/wget
|
||||
sys-devel/gcc
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gtkglext
|
||||
"
|
||||
RDEPEND="
|
||||
${NATIVE_DEPEND}
|
||||
@ -87,12 +82,12 @@ DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack(){
|
||||
unpack_deb "${A}"
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p ${D}
|
||||
cp -r . ${D}
|
||||
mkdir -p "${D}"
|
||||
cp -r . "${D}"
|
||||
local res
|
||||
for res in 16 24 32 48 64 128 256; do
|
||||
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
|
||||
|
114
app-office/onlyoffice-bin/onlyoffice-bin-5.5.1.ebuild
Normal file
114
app-office/onlyoffice-bin/onlyoffice-bin-5.5.1.ebuild
Normal file
@ -0,0 +1,114 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop gnome2-utils multilib unpacker xdg-utils
|
||||
|
||||
MY_PN="ONLYOFFICE-DesktopEditors"
|
||||
MY_P="${MY_PN}-${PVR//r}"
|
||||
|
||||
DESCRIPTION="onlyoffice is an office productivity suite (binary version)"
|
||||
HOMEPAGE="https://www.onlyoffice.com/"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
||||
)
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
RESTRICT="mirror strip"
|
||||
LICENSE="AGPL-3"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/libffi
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/nss
|
||||
dev-libs/atk
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/freetype:2
|
||||
media-libs/glu
|
||||
media-libs/gst-plugins-base
|
||||
media-libs/gstreamer
|
||||
net-misc/curl
|
||||
virtual/opengl
|
||||
media-libs/tiff
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
x11-libs/libdrm
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXxf86vm
|
||||
media-libs/libmng
|
||||
media-fonts/dejavu
|
||||
media-fonts/crosextrafonts-carlito
|
||||
net-print/cups
|
||||
net-misc/wget
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-db/sqlite:3
|
||||
net-libs/libcurl-gnutls
|
||||
!app-office/onlyoffice
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack(){
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"
|
||||
cp -r . "${D}"
|
||||
local res
|
||||
for res in 16 24 32 48 64 128 256; do
|
||||
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
|
||||
done
|
||||
dosym "${EPREFIX}/usr/$(get_libdir)/libcurl-gnutls.so.4" "${EPREFIX}/opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4"
|
||||
}
|
||||
|
||||
pkg_preinst(){
|
||||
gnome2_gconf_savelist
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_gconf_install
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_gconf_uninstall
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
1
dev-python/pyfiglet/Manifest
Normal file
1
dev-python/pyfiglet/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pyfiglet-0.8.0.tar.gz 1412945 BLAKE2B 601d8edd22d1cd3bb1999a1000717ac5074024c1511068f613a22c21663b6f62fa3671bc329a99a7527444f8694c9c6342a34ff0bef52c64daa4f66d18f5dfec SHA512 47cbe6f539d2559fb7c545d42cb0a085c85d7a18729453f0b3f62a735f580026b5c9fe40eef896c038cfc9a5400b6bc6dc382e7014c6733d2797bb03c2a9dc49
|
7
dev-python/pyfiglet/metadata.xml
Normal file
7
dev-python/pyfiglet/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">pwaller/pyfiglet</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
26
dev-python/pyfiglet/pyfiglet-0.8.0.ebuild
Normal file
26
dev-python/pyfiglet/pyfiglet-0.8.0.ebuild
Normal file
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of figlet written in Python"
|
||||
HOMEPAGE="https://github.com/pwaller/pyfiglet"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/pwaller/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/pwaller/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
26
dev-python/pyfiglet/pyfiglet-9999.ebuild
Normal file
26
dev-python/pyfiglet/pyfiglet-9999.ebuild
Normal file
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of figlet written in Python"
|
||||
HOMEPAGE="https://github.com/pwaller/pyfiglet"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/pwaller/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/pwaller/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
213
eclass/palemoon-v1.eclass
Normal file
213
eclass/palemoon-v1.eclass
Normal file
@ -0,0 +1,213 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
# @ECLASS: palemoon-v1.eclass
|
||||
# @MAINTAINER: src_prepare group
|
||||
# @AUTHOR: src_prepare group
|
||||
# @SUPPORTED_EAPIS: 6 7
|
||||
# @BLURB: Common configuration eclass for Palemoon
|
||||
# @DESCRIPTION: This eclass is used in palemoon ebuilds
|
||||
|
||||
|
||||
case ${EAPI} in
|
||||
0 | 1 | 2 | 3 | 4 | 5 )
|
||||
die "EAPI=${EAPI} not supported"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
inherit check-reqs desktop toolchain-funcs xdg-utils
|
||||
|
||||
EXPORT_FUNCTIONS pkg_pretend pkg_postinst pkg_postrm pkg_setup
|
||||
|
||||
|
||||
# @FUNCTION: palemoon-v1_pkg_pretend
|
||||
# @DESCRIPTION: pkg_pretend for palemoon
|
||||
|
||||
palemoon-v1_pkg_pretend() {
|
||||
|
||||
# Ensure that we have enough disk space to compile:
|
||||
CHECKREQS_DISK_BUILD="${REQUIRED_BUILDSPACE}"
|
||||
check-reqs_pkg_setup
|
||||
|
||||
# Ensure that we are on a supported compiler profile:
|
||||
einfo "Checking compiler profile..."
|
||||
if [[ ${PALEMOON_ENABLE_UNSUPPORTED_COMPILERS} == 1 ]]; then
|
||||
unsupported_compiler_warning "$(tc-get-compiler-type)"
|
||||
else
|
||||
if ! [[ tc-is-gcc && "${GCC_SUPPORTED_VERSIONS}" =~ (^| )"$(gcc-version)"($| ) ]]; then
|
||||
unsupported_compiler_error "$(tc-get-compiler-type)"
|
||||
die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: palemoon-v1_pkg_postinst
|
||||
# @DESCRIPTION: pkg_postinst for palemoon
|
||||
|
||||
palemoon-v1_pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: palemoon-v1_pkg_postrm
|
||||
# @DESCRIPTION: pkg_postrm for palemoon
|
||||
|
||||
palemoon-v1_pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: palemoon-v1_pkg_setup
|
||||
# @DESCRIPTION: pkg_setup for palemoon
|
||||
|
||||
palemoon-v1_pkg_setup() {
|
||||
|
||||
# Nested configure scripts in mozilla products generate unrecognized
|
||||
# options false positives when toplevel configure passes downwards:
|
||||
export QA_CONFIGURE_OPTIONS=".*"
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: official-branding_warning
|
||||
# @DESCRIPTION: Warn when enabling official branding
|
||||
|
||||
official-branding_warning() {
|
||||
elog "You are enabling the official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Moonchild Productions."
|
||||
elog "You can disable the official branding by emerging ${PN} _without_"
|
||||
elog "the official-branding USE flag."
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: unsupported_compiler_warning
|
||||
# @DESCRIPTION: Warn when unsupported compiler is detected
|
||||
|
||||
unsupported_compiler_warning() {
|
||||
ewarn "Building Pale Moon with a compiler other than a supported gcc version"
|
||||
ewarn "may result in an unstable build."
|
||||
ewarn "Be aware that building Pale Moon with an unsupported compiler"
|
||||
ewarn "means that the official support channels may refuse to offer any"
|
||||
ewarn "kind of help in case the build fails or the browser behaves incorrectly."
|
||||
ewarn "Supported GCC versions: ${GCC_SUPPORTED_VERSIONS// /, }"
|
||||
if [[ "${1}" == "gcc" ]]; then
|
||||
ewarn "Selected GCC version: $(gcc-version)"
|
||||
else
|
||||
ewarn "Unsupported compiler selected: ${1}"
|
||||
fi
|
||||
ewarn "To disable this warning unset the PALEMOON_ENABLE_UNSUPPORTED_COMPILERS"
|
||||
ewarn "environment variable."
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: unsupported_compiler_error
|
||||
# @DESCRIPTION: Error when unsupported compiler is detected
|
||||
|
||||
unsupported_compiler_error() {
|
||||
eerror "Building Pale Moon with a compiler other than a supported gcc version"
|
||||
eerror "may result in an unstable build."
|
||||
eerror "You can use gcc-config to change your compiler profile, just remember"
|
||||
eerror "to change it back afterwards."
|
||||
eerror "You need to have the appropriate versions of gcc installed for them"
|
||||
eerror "to be shown in gcc-config."
|
||||
eerror "Alternatively, you can set the PALEMOON_ENABLE_UNSUPPORTED_COMPILERS"
|
||||
eerror "environment variable to 1 either by exporting it from the current shell"
|
||||
eerror "or by adding it to your make.conf file."
|
||||
eerror "Be aware though that building Pale Moon with an unsupported compiler"
|
||||
eerror "means that the official support channels may refuse to offer any"
|
||||
eerror "kind of help in case the build fails or the browser behaves incorrectly."
|
||||
eerror "Supported GCC versions: ${GCC_SUPPORTED_VERSIONS// /, }"
|
||||
if [[ "${1}" == "gcc" ]]; then
|
||||
eerror "Selected GCC version: $(gcc-version)"
|
||||
else
|
||||
eerror "Unsupported compiler selected: ${1}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: mozconfig_init
|
||||
# @DESCRIPTION: Initialize mozconfig
|
||||
|
||||
mozconfig_init() {
|
||||
echo "ac_add_options --enable-application=palemoon" > "${S}/.mozconfig"
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: mozconfig_enable
|
||||
# @DESCRIPTION: Enable a mozconfig option
|
||||
|
||||
mozconfig_enable() {
|
||||
for option in "${@}"; do
|
||||
echo "ac_add_options --enable-${option}" >> "${S}/.mozconfig"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: mozconfig_disable
|
||||
# @DESCRIPTION: Disable a mozconfig option
|
||||
|
||||
mozconfig_disable() {
|
||||
for option in "${@}"; do
|
||||
echo "ac_add_options --disable-${option}" >> "${S}/.mozconfig"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: mozconfig_with
|
||||
# @DESCRIPTION: Enable a mozconfig option
|
||||
|
||||
mozconfig_with() {
|
||||
for option in "${@}"; do
|
||||
echo "ac_add_options --with-${option}" >> "${S}/.mozconfig"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: mozconfig_var
|
||||
# @DESCRIPTION: Enable a mozconfig viariable
|
||||
|
||||
mozconfig_var() {
|
||||
echo "mk_add_options ${1}=${2}" >> "${S}/.mozconfig"
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: set_pref
|
||||
# @DESCRIPTION: Enable a (Java Script) preference
|
||||
|
||||
set_pref() {
|
||||
echo "pref(\"${1}\", ${2});" >> "${S}/${obj_dir}/dist/bin/browser/defaults/preferences/palemoon.js"
|
||||
}
|
||||
|
||||
|
||||
# @FUNCTION: install_branding_files
|
||||
# @DESCRIPTION: Install icons and desktop file
|
||||
|
||||
install_branding_files() {
|
||||
cp -rL "${S}/${obj_dir}/dist/branding" "${extracted_dir}/"
|
||||
|
||||
local size sizes icon_path icon name
|
||||
icon="${PN}"
|
||||
icon_path="${extracted_dir}/branding"
|
||||
name="Pale Moon"
|
||||
sizes="16 32 48"
|
||||
|
||||
for size in ${sizes}; do
|
||||
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newins "${icon_path}/default${size}.png" "${icon}.png"
|
||||
done
|
||||
|
||||
# The 128x128 icon has a different name:
|
||||
insinto "/usr/share/icons/hicolor/128x128/apps"
|
||||
newins "${icon_path}/mozicon128.png" "${icon}.png"
|
||||
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs:
|
||||
newicon "${icon_path}/default48.png" "${icon}.png"
|
||||
newmenu "${FILESDIR}/${PN}.desktop" "${PN}.desktop"
|
||||
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
|
||||
"${ED}/usr/share/applications/${PN}.desktop" || die
|
||||
}
|
10
sys-kernel/ck-sources/Manifest
Normal file
10
sys-kernel/ck-sources/Manifest
Normal file
@ -0,0 +1,10 @@
|
||||
DIST genpatches-5.4-32.base.tar.xz 1184244 BLAKE2B 335fa30de35222c3f8bf14d9c2ee6201775671255062929d95c092e2c887c33bf22f1591fa2942db0595b5c02f951d191db51f3a24e192ccd1919c3ba0a5e938 SHA512 9bcd822c03d5733b72c066341c5d730c3ad644a41ebca77b6ae9d8e240f2bb20ec06ef92e317dc74533683bdff85f41d6e8d80d91928faba7d8a5f6a04452f1d
|
||||
DIST genpatches-5.4-32.experimental.tar.xz 6144 BLAKE2B ecd0a93fa523b52b3e13d8be2858f5f3c79484e0be2ef5fc8d560b41a3e51246777cfc99dadbe16e6fb7a7c5a556927e71339e1cf9268bcf7db92fa35357234a SHA512 310c2a015891207673ce96e857d51a7fde0ee7b5f80ba42e10f538c28d65a7bb33f6891e36babbba527b69dee4ce09f2038600ab8f19fc07dcf78f028be541b8
|
||||
DIST genpatches-5.4-32.extras.tar.xz 1744 BLAKE2B bf702c213be8e247b5c2e5e25c1d010584e7f227e7bc94c366e770ad71df46c77948c6b9ef47d10cf3dfdecc6fa31f069b35478b750c341d92784d982c99bf21 SHA512 da797e1d8766f310e40e4def65f9dfc95409f3d776cb45a5f00bfab7eb97357e565da4d95df9b425490d77b6ae21939943d39441ad4b8dc33917bd62a0a7b1ef
|
||||
DIST genpatches-5.5-19.base.tar.xz 677808 BLAKE2B 4de5b85677fa35c6340610ebd91f659253a297ad7ec065758d6f32d33eda294c8b683a0d2660c2bdc145ff751a48d59e4c36d7df330aedc000f41e57381b479b SHA512 d31f1123b493259f134cea8abdc8c25c2e83a696b0043109910ff296d581e5ff723114f6677a688f50ace99764556b559db5ad7df223ca90bfd693664c575850
|
||||
DIST genpatches-5.5-19.experimental.tar.xz 5600 BLAKE2B 9a2e2fda2858e80bcd253d9b4ad07e4751429a32624f29ee6956a9b5fee6ef972b2a1c2a0b80b61ee5130dd2845c987742fa56b5a49f28992bec9b1c8b1a7006 SHA512 844adb7b685033e2d43db49be3f52e9800938ab906f6f6ce62d48b660f87c18c63a4dfd9caf1ecaabef3549ecbef83b5b023425d3ddfd0179b646024b0bd90d4
|
||||
DIST genpatches-5.5-19.extras.tar.xz 1740 BLAKE2B 0e3c41a6f03140a067657d85435ec2a6b77cd5486bcab51d781d8310683b31e3ce8dcf389431d166db297e2e0dea719d78bb2ab57ec10b42f1e719386ecd5c40 SHA512 cdb60a030ee7ce4cbca9e58393de2b9de96e0294053e1d6ef62e16508758e879e4406ea1fbc01842d1cb499d524d7fd0a293f082240f0c4b2939e1fd267a4dab
|
||||
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
|
||||
DIST linux-5.5.tar.xz 110713660 BLAKE2B 36b990d3650c409652206c319c93c0cf68885334050bc286b479c8b844bc47354547e19eebb58caafb026b96d134f39f0c7ce38b4eebe9da7ea6d1610a1e2af2 SHA512 fa74fdabb5e63384a39e54da05b86a9ae9ea16179524b041fbbdffc7177e80b53600ae98d76be127ba216148f9dc55fe07ab20637e22c6d6030cb4aa09eb2f86
|
||||
DIST patch-5.4-ck1.xz 104668 BLAKE2B 8faff0d2b95eda0b96e8042367634c45c1e823238e99793daeda5614efdc448dfe28172bf13f0d988cf4d5cbb4892089893e0183cd8825de7f54942283f2b5a0 SHA512 a2ea79df39b79dfc2d1c7a6acf745dfe4d5c9f4da1c54b9a5d9ff6227d0d0715cd372b7f448454976c1c6a8eb171bc248d004ee55931521ef74d5b7be8f14c6a
|
||||
DIST patch-5.5-ck1.xz 89580 BLAKE2B 54bdd9958d8fa9c3affa1972ca7d9821330394fbacf7ed25e098675d439764d0c918b4ee6554aaea23762bb90060cb2ee952bff569f54903e6b27fa10e8f4b09 SHA512 d2fa4fc4581cd4aa3a4043c5b6dfd933b28e203a7f1d497389ad89c9c312ca27205eadfd1ae7c6468b9298a59fab8efcfddee749f46b22ff5cb1b7ee654a4544
|
30
sys-kernel/ck-sources/ck-sources-5.4.32.ebuild
Normal file
30
sys-kernel/ck-sources/ck-sources-5.4.32.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="32"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
|
||||
http://kernel.kolivas.org/"
|
||||
IUSE="experimental"
|
||||
|
||||
DESCRIPTION="Gentoo's genpatches for Linux ${K_BRANCH_ID}, with Con Kolivas' MuQSS process scheduler."
|
||||
|
||||
K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
|
||||
|
||||
CK_EXTRAVERSION="ck1"
|
||||
CK_URI="http://ck.kolivas.org/patches/5.0/${K_BRANCH_ID}/${K_BRANCH_ID}-${CK_EXTRAVERSION}/patch-${K_BRANCH_ID}-${CK_EXTRAVERSION}.xz"
|
||||
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
|
||||
|
||||
UNIPATCH_LIST="${DISTDIR}/patch-${K_BRANCH_ID}-${CK_EXTRAVERSION}.xz
|
||||
"${FILESDIR}"/ck-5.4-revert-version.patch"
|
||||
UNIPATCH_STRICTORDER="yes"
|
30
sys-kernel/ck-sources/ck-sources-5.5.17.ebuild
Normal file
30
sys-kernel/ck-sources/ck-sources-5.5.17.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="19"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/
|
||||
http://kernel.kolivas.org/"
|
||||
IUSE="experimental"
|
||||
|
||||
DESCRIPTION="Gentoo's genpatches for Linux ${K_BRANCH_ID}, with Con Kolivas' MuQSS process scheduler."
|
||||
|
||||
K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
|
||||
|
||||
CK_EXTRAVERSION="ck1"
|
||||
CK_URI="http://ck.kolivas.org/patches/5.0/${K_BRANCH_ID}/${K_BRANCH_ID}-${CK_EXTRAVERSION}/patch-${K_BRANCH_ID}-${CK_EXTRAVERSION}.xz"
|
||||
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
|
||||
|
||||
UNIPATCH_LIST="${DISTDIR}/patch-${K_BRANCH_ID}-${CK_EXTRAVERSION}.xz
|
||||
"${FILESDIR}"/ck-5.5-revert-version.patch"
|
||||
UNIPATCH_STRICTORDER="yes"
|
27
sys-kernel/ck-sources/files/ck-5.4-revert-version.patch
Normal file
27
sys-kernel/ck-sources/files/ck-5.4-revert-version.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 4473747a792ea06f8e20c3a8b06a64d0f8082b5c Mon Sep 17 00:00:00 2001
|
||||
From: Jory Pratt <anarchy@gentoo.org>
|
||||
Date: Thu, 12 Dec 2019 23:14:45 -0600
|
||||
Subject: [PATCH] Revert Add -ck1 version.
|
||||
|
||||
---
|
||||
Makefile | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c9d6e972a..a0685a256 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -15,10 +15,6 @@ NAME = Kleptomaniac Octopus
|
||||
PHONY := _all
|
||||
_all:
|
||||
|
||||
-CKVERSION = -ck1
|
||||
-CKNAME = MuQSS Powered
|
||||
-EXTRAVERSION := $(EXTRAVERSION)$(CKVERSION)
|
||||
-
|
||||
# We are using a recursive build, so we need to do a little thinking
|
||||
# to get the ordering right.
|
||||
#
|
||||
--
|
||||
2.24.1
|
||||
|
27
sys-kernel/ck-sources/files/ck-5.5-revert-version.patch
Normal file
27
sys-kernel/ck-sources/files/ck-5.5-revert-version.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 4473747a792ea06f8e20c3a8b06a64d0f8082b5c Mon Sep 17 00:00:00 2001
|
||||
From: Jory Pratt <anarchy@gentoo.org>
|
||||
Date: Thu, 12 Dec 2019 23:14:45 -0600
|
||||
Subject: [PATCH] Revert Add -ck1 version.
|
||||
|
||||
---
|
||||
Makefile | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c9d6e972a..a0685a256 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -15,10 +15,6 @@ NAME = Kleptomaniac Octopus
|
||||
PHONY := _all
|
||||
_all:
|
||||
|
||||
-CKVERSION = -ck1
|
||||
-CKNAME = MuQSS Powered
|
||||
-EXTRAVERSION := $(EXTRAVERSION)$(CKVERSION)
|
||||
-
|
||||
# We are using a recursive build, so we need to do a little thinking
|
||||
# to get the ordering right.
|
||||
#
|
||||
--
|
||||
2.24.1
|
||||
|
11
sys-kernel/ck-sources/metadata.xml
Normal file
11
sys-kernel/ck-sources/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<use>
|
||||
<flag name="experimental">Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
|
||||
<remote-id type="github">ckolivas/linux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -10,3 +10,4 @@ DIST v5.5.13-zen1.patch.xz 817020 BLAKE2B 7f12655d61fac261db026fd4d4057c442158b0
|
||||
DIST v5.5.9-zen1.patch.xz 728472 BLAKE2B 7f49112a8d05744183fe6a73a938867ed50b9e67de4bd6f735e30eab0e1ce1e286ca1908aede4ee9c9ba698c58c3a3d95ecb0f57d8e1e0f3127184d01e12aedf SHA512 15b1b5cbc4cbe0e43b56e7ed528df4a58fbe76273655f9fdfa10b28b337faf07267e4d2245be638431e8e6e6be7cde7e17e02e4279fba64ab1072523ff5f7e73
|
||||
DIST v5.6.2-zen1.patch.xz 79444 BLAKE2B e4ce8c020ab40d40f0e5c9d6dfe9fe57fcb8408c3de4d80d1ab23b7ca8f5c8a251da4e9f85c675fcbb6969b83d0c68c803aace8e9210c9a9794287a24aa10b74 SHA512 80e261406743eb17e3f58e09c22114733816a0e9f1748fc145c120c52882b484c3f1c1ba675044b793af9c6c4538b24d3319d31249fd1befbe0413a2f40675f9
|
||||
DIST v5.6.3-zen1.patch.xz 88584 BLAKE2B ee6b456a41d991a1468708baefe808693c8f44881f6a60206c0b7d242c793ed98375601b7cdf22a7da5e6518fafd0825cd573b2c814555d339885a58d73c34a9 SHA512 f0e2a80759c0519ea3bd62a6ca4ded0da9e1671eeb346a3b02cf158ac4bbd4297ad439a5e093a835b5abd44eda7ef3f2b0bce805bb801670b49e49ca74f33c03
|
||||
DIST v5.6.4-zen1.patch.xz 105228 BLAKE2B 3d434d8371fe6465bf60d5f9972a8076daec6c034547b4c58b472c802bb2605d4c8dce3c2b11dd0831ba2a8b3321d4b0c4757382eaad90839e7130472321f49d SHA512 afd59a9528ad3abc57fbca5917a89e595e51da8235ce356ce951089ddc1041cc79b2ea3482be11cc945492fd9586556472b740965fb615027818f70a62c1eccd
|
||||
|
42
sys-kernel/zen-sources/zen-sources-5.6.4.ebuild
Normal file
42
sys-kernel/zen-sources/zen-sources-5.6.4.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="2"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
K_NOSETEXTRAVERSION="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
HOMEPAGE="https://github.com/zen-kernel"
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="The Zen Kernel Live Sources"
|
||||
|
||||
ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen1/v${PV}-zen1.patch.xz"
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}"
|
||||
|
||||
UNIPATCH_LIST="${DISTDIR}/v${PV}-zen1.patch.xz"
|
||||
UNIPATCH_STRICTORDER="yes"
|
||||
|
||||
K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
|
||||
${HOMEPAGE}, also go to #zen-sources on freenode"
|
||||
|
||||
pkg_setup() {
|
||||
ewarn
|
||||
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
|
||||
ewarn "If you need support, please contact the zen developers directly."
|
||||
ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
|
||||
ewarn "the ebuilds. Thank you."
|
||||
ewarn
|
||||
kernel-2_pkg_setup
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
9
www-client/palemoon/files/palemoon.desktop
Normal file
9
www-client/palemoon/files/palemoon.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Categories=Network;WebBrowser;
|
||||
Comment=Web Browser
|
||||
Exec=palemoon %u
|
||||
Icon=@ICON@
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
|
||||
Name=@NAME@
|
||||
Terminal=false
|
||||
Type=Application
|
33
www-client/palemoon/metadata.xml
Normal file
33
www-client/palemoon/metadata.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">MoonchildProductions/Pale-Moon</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="devtools">
|
||||
Enable Mozilla Developer Tools
|
||||
</flag>
|
||||
<flag name="gtk2">
|
||||
Use <pkg>x11-libs/gtk+</pkg>:2
|
||||
</flag>
|
||||
<flag name="gtk3">
|
||||
Use <pkg>x11-libs/gtk+</pkg>:3
|
||||
</flag>
|
||||
<flag name="jemalloc">
|
||||
Replace memory allocator with jemalloc
|
||||
</flag>
|
||||
<flag name="necko-wifi">
|
||||
Enable the necko wifi scanner
|
||||
</flag>
|
||||
<flag name="official-branding">
|
||||
Enable official branding
|
||||
</flag>
|
||||
<flag name="optimize">
|
||||
Enable compiler optimization
|
||||
</flag>
|
||||
<flag name="valgrind">
|
||||
Enable Valgrind integration hooks
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
253
www-client/palemoon/palemoon-28.9.1.ebuild
Normal file
253
www-client/palemoon/palemoon-28.9.1.ebuild
Normal file
@ -0,0 +1,253 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
GCC_SUPPORTED_VERSIONS="4.9 5.4 7.3 8.2 8.3 9.2"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
REQUIRED_BUILDSPACE='9G'
|
||||
|
||||
inherit palemoon-v1 git-r3 flag-o-matic pax-utils python-any-r1
|
||||
|
||||
DESCRIPTION="Pale Moon Web Browser"
|
||||
HOMEPAGE="https://www.palemoon.org/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/MoonchildProductions/Pale-Moon.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/MoonchildProductions/Pale-Moon.git"
|
||||
EGIT_COMMIT="${PV}_Release"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cpu_flags_x86_sse
|
||||
cpu_flags_x86_sse2
|
||||
dbus
|
||||
+devtools
|
||||
debug
|
||||
gnome
|
||||
-gtk2
|
||||
+gtk3
|
||||
+jemalloc
|
||||
pulseaudio
|
||||
-necko-wifi
|
||||
official-branding
|
||||
+optimize
|
||||
threads
|
||||
-valgrind
|
||||
"
|
||||
REQUIRED_USE="
|
||||
optimize? (
|
||||
!debug
|
||||
)
|
||||
jemalloc? (
|
||||
!valgrind
|
||||
)
|
||||
^^ (
|
||||
gtk2
|
||||
gtk3
|
||||
)
|
||||
necko-wifi? (
|
||||
dbus
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.6
|
||||
>=sys-devel/autoconf-2.13:2.1
|
||||
dev-lang/yasm
|
||||
"
|
||||
RDEPEND="
|
||||
app-arch/zip
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
virtual/ffmpeg[x264]
|
||||
x11-libs/libXt
|
||||
dbus? (
|
||||
>=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.60
|
||||
)
|
||||
gnome? (
|
||||
gnome-base/gconf
|
||||
)
|
||||
gtk2? (
|
||||
>=x11-libs/gtk+-2.18.0:2
|
||||
)
|
||||
gtk3? (
|
||||
>=x11-libs/gtk+-3.4.0:3
|
||||
)
|
||||
necko-wifi? (
|
||||
net-wireless/wireless-tools
|
||||
)
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
)
|
||||
valgrind? (
|
||||
dev-util/valgrind
|
||||
)
|
||||
optimize? (
|
||||
sys-libs/glibc
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# Ensure that our plugins dir is enabled by default:
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${S}/platform/xpcom/io/nsAppFileLocationProvider.cpp" \
|
||||
|| die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${S}/platform/xpcom/io/nsAppFileLocationProvider.cpp" \
|
||||
|| die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Does not build with -fno-common
|
||||
filter-flags -fno-common
|
||||
append-flags -fcommon
|
||||
|
||||
# Basic configuration:
|
||||
mozconfig_init
|
||||
|
||||
mozconfig_disable updater install-strip accessibility
|
||||
|
||||
if use official-branding; then
|
||||
official-branding_warning
|
||||
mozconfig_enable official-branding
|
||||
fi
|
||||
|
||||
if use optimize; then
|
||||
O='-O2'
|
||||
if use cpu_flags_x86_sse && use cpu_flags_x86_sse2; then
|
||||
O="${O} -msse2 -mfpmath=sse"
|
||||
fi
|
||||
mozconfig_enable "optimize=\"${O}\""
|
||||
filter-flags '-O*' '-msse2' '-mfpmath=sse'
|
||||
else
|
||||
mozconfig_disable optimize
|
||||
fi
|
||||
|
||||
if use threads; then
|
||||
mozconfig_with pthreads
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
mozconfig_var MOZ_DEBUG_SYMBOLS 1
|
||||
mozconfig_enable "debug-symbols=\"-gdwarf-2\""
|
||||
fi
|
||||
|
||||
if use jemalloc; then
|
||||
mozconfig_enable jemalloc
|
||||
fi
|
||||
|
||||
if use valgrind; then
|
||||
mozconfig_enable valgrind
|
||||
fi
|
||||
|
||||
if ! use dbus; then
|
||||
mozconfig_disable dbus
|
||||
fi
|
||||
|
||||
if ! use gnome; then
|
||||
mozconfig_disable gconf
|
||||
fi
|
||||
|
||||
if use gtk2; then
|
||||
mozconfig_enable default-toolkit=\"cairo-gtk2\"
|
||||
fi
|
||||
|
||||
if use gtk3; then
|
||||
mozconfig_enable default-toolkit=\"cairo-gtk3\"
|
||||
fi
|
||||
|
||||
if ! use necko-wifi; then
|
||||
mozconfig_disable necko-wifi
|
||||
fi
|
||||
|
||||
if ! use pulseaudio; then
|
||||
mozconfig_disable pulseaudio
|
||||
fi
|
||||
|
||||
if use devtools; then
|
||||
mozconfig_enable devtools
|
||||
fi
|
||||
|
||||
# Enabling this causes xpcshell to hang during the packaging process,
|
||||
# so disabling it until the cause can be tracked down. It most likely
|
||||
# has something to do with the sandbox since the issue goes away when
|
||||
# building with FEATURES="-sandbox -usersandbox".
|
||||
mozconfig_disable precompiled-startupcache
|
||||
|
||||
# Mainly to prevent system's NSS/NSPR from taking precedence over
|
||||
# the built-in ones:
|
||||
append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/palemoon"
|
||||
|
||||
export MOZBUILD_STATE_PATH="${WORKDIR}/mach_state"
|
||||
mozconfig_var PYTHON "$(which python2)"
|
||||
mozconfig_var AUTOCONF "$(which autoconf-2.13)"
|
||||
mozconfig_var MOZ_MAKE_FLAGS "\"${MAKEOPTS}\""
|
||||
|
||||
# Shorten obj dir to limit some errors linked to the path size hitting
|
||||
# a kernel limit (127 chars):
|
||||
mozconfig_var MOZ_OBJDIR "@TOPSRCDIR@/o"
|
||||
|
||||
# Disable mach notifications, which also cause sandbox access violations:
|
||||
export MOZ_NOSPAM=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Prevents portage from setting its own XARGS which messes with the
|
||||
# Pale Moon build system checks:
|
||||
# See: https://gitweb.gentoo.org/proj/portage.git/tree/bin/isolated-functions.sh
|
||||
XARGS="$(which xargs)"
|
||||
export XARGS
|
||||
|
||||
python2 "${S}/platform/mach" build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# obj_dir changes depending on arch, compiler, etc:
|
||||
local obj_dir="$(echo */config.log)"
|
||||
obj_dir="${obj_dir%/*}"
|
||||
|
||||
# Disable MPROTECT for startup cache creation:
|
||||
pax-mark m "${obj_dir}"/dist/bin/xpcshell
|
||||
|
||||
# Set the backspace behaviour to be consistent with the other platforms:
|
||||
set_pref "browser.backspace_action" 0
|
||||
|
||||
# Gotta create the package, unpack it and manually install the files
|
||||
# from there not to miss anything (e.g. the statusbar extension):
|
||||
einfo "Creating the package..."
|
||||
python2 "${S}/platform/mach" mozpackage || die
|
||||
local extracted_dir="${T}/package"
|
||||
mkdir -p "${extracted_dir}"
|
||||
cd "${extracted_dir}"
|
||||
einfo "Extracting the package..."
|
||||
find "${S}/${obj_dir}/dist/" -name "*.bz2" -printf "${S}/${obj_dir}/dist/%P" | xargs tar xjpf || die
|
||||
einfo "Installing the package..."
|
||||
local dest_libdir="/usr/$(get_libdir)"
|
||||
mkdir -p "${D}/${dest_libdir}"
|
||||
cp -rL "${PN}" "${D}/${dest_libdir}"
|
||||
dosym "${dest_libdir}/${PN}/${PN}" "/usr/bin/${PN}"
|
||||
einfo "Done installing the package."
|
||||
|
||||
# Until JIT-less builds are supported,
|
||||
# also disable MPROTECT on the main executable:
|
||||
pax-mark m "${D}/${dest_libdir}/${PN}/"{palemoon,palemoon-bin,plugin-container}
|
||||
|
||||
# Install icons and .desktop for menu entry:
|
||||
install_branding_files
|
||||
}
|
253
www-client/palemoon/palemoon-9999.ebuild
Normal file
253
www-client/palemoon/palemoon-9999.ebuild
Normal file
@ -0,0 +1,253 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
GCC_SUPPORTED_VERSIONS="4.9 5.4 7.3 8.2 8.3 9.2"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
REQUIRED_BUILDSPACE='9G'
|
||||
|
||||
inherit palemoon-v1 git-r3 flag-o-matic pax-utils python-any-r1
|
||||
|
||||
DESCRIPTION="Pale Moon Web Browser"
|
||||
HOMEPAGE="https://www.palemoon.org/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/MoonchildProductions/Pale-Moon.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/MoonchildProductions/Pale-Moon.git"
|
||||
EGIT_COMMIT="${PV}_Release"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cpu_flags_x86_sse
|
||||
cpu_flags_x86_sse2
|
||||
dbus
|
||||
+devtools
|
||||
debug
|
||||
gnome
|
||||
-gtk2
|
||||
+gtk3
|
||||
+jemalloc
|
||||
pulseaudio
|
||||
-necko-wifi
|
||||
official-branding
|
||||
+optimize
|
||||
threads
|
||||
-valgrind
|
||||
"
|
||||
REQUIRED_USE="
|
||||
optimize? (
|
||||
!debug
|
||||
)
|
||||
jemalloc? (
|
||||
!valgrind
|
||||
)
|
||||
^^ (
|
||||
gtk2
|
||||
gtk3
|
||||
)
|
||||
necko-wifi? (
|
||||
dbus
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.6
|
||||
>=sys-devel/autoconf-2.13:2.1
|
||||
dev-lang/yasm
|
||||
"
|
||||
RDEPEND="
|
||||
app-arch/zip
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
virtual/ffmpeg[x264]
|
||||
x11-libs/libXt
|
||||
dbus? (
|
||||
>=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.60
|
||||
)
|
||||
gnome? (
|
||||
gnome-base/gconf
|
||||
)
|
||||
gtk2? (
|
||||
>=x11-libs/gtk+-2.18.0:2
|
||||
)
|
||||
gtk3? (
|
||||
>=x11-libs/gtk+-3.4.0:3
|
||||
)
|
||||
necko-wifi? (
|
||||
net-wireless/wireless-tools
|
||||
)
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
)
|
||||
valgrind? (
|
||||
dev-util/valgrind
|
||||
)
|
||||
optimize? (
|
||||
sys-libs/glibc
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# Ensure that our plugins dir is enabled by default:
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${S}/platform/xpcom/io/nsAppFileLocationProvider.cpp" \
|
||||
|| die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${S}/platform/xpcom/io/nsAppFileLocationProvider.cpp" \
|
||||
|| die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Does not build with -fno-common
|
||||
filter-flags -fno-common
|
||||
append-flags -fcommon
|
||||
|
||||
# Basic configuration:
|
||||
mozconfig_init
|
||||
|
||||
mozconfig_disable updater install-strip accessibility
|
||||
|
||||
if use official-branding; then
|
||||
official-branding_warning
|
||||
mozconfig_enable official-branding
|
||||
fi
|
||||
|
||||
if use optimize; then
|
||||
O='-O2'
|
||||
if use cpu_flags_x86_sse && use cpu_flags_x86_sse2; then
|
||||
O="${O} -msse2 -mfpmath=sse"
|
||||
fi
|
||||
mozconfig_enable "optimize=\"${O}\""
|
||||
filter-flags '-O*' '-msse2' '-mfpmath=sse'
|
||||
else
|
||||
mozconfig_disable optimize
|
||||
fi
|
||||
|
||||
if use threads; then
|
||||
mozconfig_with pthreads
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
mozconfig_var MOZ_DEBUG_SYMBOLS 1
|
||||
mozconfig_enable "debug-symbols=\"-gdwarf-2\""
|
||||
fi
|
||||
|
||||
if use jemalloc; then
|
||||
mozconfig_enable jemalloc
|
||||
fi
|
||||
|
||||
if use valgrind; then
|
||||
mozconfig_enable valgrind
|
||||
fi
|
||||
|
||||
if ! use dbus; then
|
||||
mozconfig_disable dbus
|
||||
fi
|
||||
|
||||
if ! use gnome; then
|
||||
mozconfig_disable gconf
|
||||
fi
|
||||
|
||||
if use gtk2; then
|
||||
mozconfig_enable default-toolkit=\"cairo-gtk2\"
|
||||
fi
|
||||
|
||||
if use gtk3; then
|
||||
mozconfig_enable default-toolkit=\"cairo-gtk3\"
|
||||
fi
|
||||
|
||||
if ! use necko-wifi; then
|
||||
mozconfig_disable necko-wifi
|
||||
fi
|
||||
|
||||
if ! use pulseaudio; then
|
||||
mozconfig_disable pulseaudio
|
||||
fi
|
||||
|
||||
if use devtools; then
|
||||
mozconfig_enable devtools
|
||||
fi
|
||||
|
||||
# Enabling this causes xpcshell to hang during the packaging process,
|
||||
# so disabling it until the cause can be tracked down. It most likely
|
||||
# has something to do with the sandbox since the issue goes away when
|
||||
# building with FEATURES="-sandbox -usersandbox".
|
||||
mozconfig_disable precompiled-startupcache
|
||||
|
||||
# Mainly to prevent system's NSS/NSPR from taking precedence over
|
||||
# the built-in ones:
|
||||
append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/palemoon"
|
||||
|
||||
export MOZBUILD_STATE_PATH="${WORKDIR}/mach_state"
|
||||
mozconfig_var PYTHON "$(which python2)"
|
||||
mozconfig_var AUTOCONF "$(which autoconf-2.13)"
|
||||
mozconfig_var MOZ_MAKE_FLAGS "\"${MAKEOPTS}\""
|
||||
|
||||
# Shorten obj dir to limit some errors linked to the path size hitting
|
||||
# a kernel limit (127 chars):
|
||||
mozconfig_var MOZ_OBJDIR "@TOPSRCDIR@/o"
|
||||
|
||||
# Disable mach notifications, which also cause sandbox access violations:
|
||||
export MOZ_NOSPAM=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Prevents portage from setting its own XARGS which messes with the
|
||||
# Pale Moon build system checks:
|
||||
# See: https://gitweb.gentoo.org/proj/portage.git/tree/bin/isolated-functions.sh
|
||||
XARGS="$(which xargs)"
|
||||
export XARGS
|
||||
|
||||
python2 "${S}/platform/mach" build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# obj_dir changes depending on arch, compiler, etc:
|
||||
local obj_dir="$(echo */config.log)"
|
||||
obj_dir="${obj_dir%/*}"
|
||||
|
||||
# Disable MPROTECT for startup cache creation:
|
||||
pax-mark m "${obj_dir}"/dist/bin/xpcshell
|
||||
|
||||
# Set the backspace behaviour to be consistent with the other platforms:
|
||||
set_pref "browser.backspace_action" 0
|
||||
|
||||
# Gotta create the package, unpack it and manually install the files
|
||||
# from there not to miss anything (e.g. the statusbar extension):
|
||||
einfo "Creating the package..."
|
||||
python2 "${S}/platform/mach" mozpackage || die
|
||||
local extracted_dir="${T}/package"
|
||||
mkdir -p "${extracted_dir}"
|
||||
cd "${extracted_dir}"
|
||||
einfo "Extracting the package..."
|
||||
find "${S}/${obj_dir}/dist/" -name "*.bz2" -printf "${S}/${obj_dir}/dist/%P" | xargs tar xjpf || die
|
||||
einfo "Installing the package..."
|
||||
local dest_libdir="/usr/$(get_libdir)"
|
||||
mkdir -p "${D}/${dest_libdir}"
|
||||
cp -rL "${PN}" "${D}/${dest_libdir}"
|
||||
dosym "${dest_libdir}/${PN}/${PN}" "/usr/bin/${PN}"
|
||||
einfo "Done installing the package."
|
||||
|
||||
# Until JIT-less builds are supported,
|
||||
# also disable MPROTECT on the main executable:
|
||||
pax-mark m "${D}/${dest_libdir}/${PN}/"{palemoon,palemoon-bin,plugin-container}
|
||||
|
||||
# Install icons and .desktop for menu entry:
|
||||
install_branding_files
|
||||
}
|
1
x11-misc/pscircle/Manifest
Normal file
1
x11-misc/pscircle/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pscircle-1.3.1.tar.gz 6376531 BLAKE2B 27ab445eaacf5811bdb3eecb5ac24434f60a2e92acc5e267e0b4c19b0518276ba1c220d02bba0304b85b0426a7bf044145029c992092944481e73de6937e7e3d SHA512 cfb0345b6402c14d5a49913c9e7078dc75bd5fedd203d7d1228b0ac523addffbc8ccae670dcb724f6b9e9c7ffdd8cf84b795f74fe4a6885cb0b084432b910608
|
33
x11-misc/pscircle/pscircle-1.3.1.ebuild
Normal file
33
x11-misc/pscircle/pscircle-1.3.1.ebuild
Normal file
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Visualizes Linux processes in a radial tree"
|
||||
HOMEPAGE="https://gitlab.com/mildlyparallel/pscircle"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/mildlyparallel/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://gitlab.com/mildlyparallel/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
x11-libs/cairo
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-libs/libpng
|
||||
x11-libs/libX11
|
||||
"
|
@ -1,21 +1,33 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3 meson
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="pscircle visualizes Linux processes in a form of radial tree"
|
||||
DESCRIPTION="Visualizes Linux processes in a radial tree"
|
||||
HOMEPAGE="https://gitlab.com/mildlyparallel/pscircle"
|
||||
EGIT_REPO_URI="${HOMEPAGE}.git"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/mildlyparallel/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://gitlab.com/mildlyparallel/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/cairo"
|
||||
RDEPEND="${DEPEND}
|
||||
DEPEND="
|
||||
x11-libs/cairo
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-libs/libpng
|
||||
x11-libs/libX11
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user