commit
6cdac75d25
@ -1,184 +0,0 @@ |
||||
# This pakcage is keeped until Thunderbird 78 supports OpenPGP. |
||||
# https://www.thunderbird.net/en-US/thunderbird/78.0.1/releasenotes/ |
||||
{ lib, stdenv, fetchurl, config, makeWrapper |
||||
, alsaLib |
||||
, at-spi2-atk |
||||
, atk |
||||
, cairo |
||||
, cups |
||||
, curl |
||||
, dbus-glib |
||||
, dbus |
||||
, fontconfig |
||||
, freetype |
||||
, gdk-pixbuf |
||||
, glib |
||||
, glibc |
||||
, gtk2 |
||||
, gtk3 |
||||
, libkrb5 |
||||
, libX11 |
||||
, libXScrnSaver |
||||
, libXcomposite |
||||
, libXcursor |
||||
, libXdamage |
||||
, libXext |
||||
, libXfixes |
||||
, libXi |
||||
, libXinerama |
||||
, libXrender |
||||
, libXt |
||||
, libxcb |
||||
, libcanberra |
||||
, gnome |
||||
, libGLU, libGL |
||||
, nspr |
||||
, nss |
||||
, pango |
||||
, writeScript |
||||
, xidel |
||||
, coreutils |
||||
, gnused |
||||
, gnugrep |
||||
, gnupg |
||||
, runtimeShell |
||||
}: |
||||
|
||||
# imports `version` and `sources` |
||||
with (import ./68_sources.nix); |
||||
|
||||
let |
||||
arch = if stdenv.hostPlatform.system == "i686-linux" |
||||
then "linux-i686" |
||||
else "linux-x86_64"; |
||||
|
||||
isPrefixOf = prefix: string: |
||||
builtins.substring 0 (builtins.stringLength prefix) string == prefix; |
||||
|
||||
sourceMatches = locale: source: |
||||
(isPrefixOf source.locale locale) && source.arch == arch; |
||||
|
||||
systemLocale = config.i18n.defaultLocale or "en-US"; |
||||
|
||||
defaultSource = lib.findFirst (sourceMatches "en-US") {} sources; |
||||
|
||||
source = lib.findFirst (sourceMatches systemLocale) defaultSource sources; |
||||
|
||||
name = "thunderbird-bin-${version}"; |
||||
in |
||||
|
||||
stdenv.mkDerivation { |
||||
inherit name; |
||||
|
||||
src = fetchurl { |
||||
url = "https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/${version}/${source.arch}/${source.locale}/thunderbird-${version}.tar.bz2"; |
||||
inherit (source) sha256; |
||||
}; |
||||
|
||||
phases = "unpackPhase installPhase"; |
||||
|
||||
libPath = lib.makeLibraryPath |
||||
[ stdenv.cc.cc |
||||
alsaLib |
||||
at-spi2-atk |
||||
atk |
||||
cairo |
||||
cups |
||||
curl |
||||
dbus-glib |
||||
dbus |
||||
fontconfig |
||||
freetype |
||||
gdk-pixbuf |
||||
glib |
||||
glibc |
||||
gtk2 |
||||
gtk3 |
||||
libkrb5 |
||||
libX11 |
||||
libXScrnSaver |
||||
libXcomposite |
||||
libXcursor |
||||
libXdamage |
||||
libXext |
||||
libXfixes |
||||
libXi |
||||
libXinerama |
||||
libXrender |
||||
libXt |
||||
libxcb |
||||
libcanberra |
||||
libGLU libGL |
||||
nspr |
||||
nss |
||||
pango |
||||
] + ":" + lib.makeSearchPathOutput "lib" "lib64" [ |
||||
stdenv.cc.cc |
||||
]; |
||||
|
||||
buildInputs = [ gtk3 gnome.adwaita-icon-theme ]; |
||||
|
||||
nativeBuildInputs = [ makeWrapper ]; |
||||
|
||||
installPhase = |
||||
'' |
||||
mkdir -p "$prefix/usr/lib/thunderbird-bin-${version}" |
||||
cp -r * "$prefix/usr/lib/thunderbird-bin-${version}" |
||||
|
||||
mkdir -p "$out/bin" |
||||
ln -s "$prefix/usr/lib/thunderbird-bin-${version}/thunderbird" "$out/bin/" |
||||
|
||||
for executable in \ |
||||
thunderbird crashreporter thunderbird-bin plugin-container updater |
||||
do |
||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ |
||||
"$out/usr/lib/thunderbird-bin-${version}/$executable" |
||||
done |
||||
|
||||
find . -executable -type f -exec \ |
||||
patchelf --set-rpath "$libPath" \ |
||||
"$out/usr/lib/thunderbird-bin-${version}/{}" \; |
||||
|
||||
# Create a desktop item. |
||||
mkdir -p $out/share/applications |
||||
cat > $out/share/applications/thunderbird.desktop <<EOF |
||||
[Desktop Entry] |
||||
Type=Application |
||||
Exec=$out/bin/thunderbird |
||||
Icon=$out/usr/lib/thunderbird-bin-${version}/chrome/icons/default/default256.png |
||||
Name=Thunderbird |
||||
GenericName=Mail Reader |
||||
Categories=Application;Network; |
||||
EOF |
||||
|
||||
# SNAP_NAME: https://github.com/NixOS/nixpkgs/pull/61980 |
||||
# MOZ_LEGACY_PROFILES and MOZ_ALLOW_DOWNGRADE: |
||||
# commit 87e261843c4236c541ee0113988286f77d2fa1ee |
||||
wrapProgram "$out/bin/thunderbird" \ |
||||
--argv0 "$out/bin/.thunderbird-wrapped" \ |
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:" \ |
||||
--suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \ |
||||
--set SNAP_NAME "thunderbird" \ |
||||
--set MOZ_LEGACY_PROFILES 1 \ |
||||
--set MOZ_ALLOW_DOWNGRADE 1 |
||||
''; |
||||
|
||||
passthru.updateScript = import ./../../browsers/firefox-bin/update.nix { |
||||
inherit name writeScript xidel coreutils gnused gnugrep curl gnupg runtimeShell; |
||||
baseName = "thunderbird"; |
||||
channel = "release"; |
||||
basePath = "pkgs/applications/networking/mailreaders/thunderbird-bin"; |
||||
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/"; |
||||
}; |
||||
meta = with lib; { |
||||
description = "Mozilla Thunderbird, a full-featured email client (binary package)"; |
||||
homepage = "http://www.mozilla.org/thunderbird/"; |
||||
license = { |
||||
free = false; |
||||
url = "http://www.mozilla.org/en-US/foundation/trademarks/policy/"; |
||||
}; |
||||
maintainers = with lib.maintainers; [ ]; |
||||
platforms = platforms.linux; |
||||
knownVulnerabilities = [ "Support ended around Semptember 2020." ]; |
||||
}; |
||||
} |
@ -1,615 +0,0 @@ |
||||
{ |
||||
version = "68.12.0"; |
||||
sources = [ |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ar/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ar"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "70cfb9e6a7a1f285f37a8f13c9a010237e6aabf815b77a12f54ee0deedd36400"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ast/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ast"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "5645657f20d37ffdb11f383f164f03c66ed2024244849b09bfa60075d5d07490"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/be/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "be"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "d38cdcc2ba4534c23a1bb42b93f271623c497f48e1d255a23bf12a368ff339bd"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/bg/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "bg"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "c8883242683dec57f9db502d96d2036ec46753f474a33c0f1ae31f97f2c3113c"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/br/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "br"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "cfb669e2378f97689a14f23e2c55ef4987e2508695eb195be3af75ed1d648345"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ca/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ca"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "9ae4b43e0d5d9edd83291f0be7d53d07e5c84f1d0ad4348654136543b7b53a54"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/cak/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "cak"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "d6d635a15b913679ed943c3501dd03140d099ff36b48c8731a47eacda1b5232b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/cs/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "cs"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "616fbf24e36d63ce3cbc957d69b8972d517524c613a22bedcf5b57534f9a9a41"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/cy/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "cy"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "548c51228d2f3003bb94e1bee91cea0d2edb95bd0f86ee4259c8daef90a2dca8"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/da/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "da"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "ad0e4b7a693d881b8875a5b8cc3e607a3883df759278129f0933522b9a6acd24"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/de/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "de"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "bf9b70b345ffe5df03365d819c5abc3339ed3af4d8a716cdfe7099134864a9b4"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/dsb/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "dsb"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "a2cd7ffb0e8b4c3d1715c18e636d0dcd5efa245200d6d0f14048fc4b399b8121"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/el/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "el"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "07836ce122936848e26cd5a1522967760bee67654582076c53e4ec183cc4c40e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/en-GB/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "en-GB"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "c89fa35af79eca3cc26b492c602a3f8af0dbaf6ce4ee3af93d93f10daf4e9d6e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/en-US/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "en-US"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "6eeea0de838909f91da7270e42ae1513d2b801f412fc758f2f8c682d260a7c24"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/es-AR/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "es-AR"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "e9d84032a91f7feb2db3d22a500c564f273c2b637f97aaab2edf3209b93dda1d"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/es-ES/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "es-ES"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "a986e8a48b59354421193f2dd01e3c291fb6c98031af43531e723dc217a43d4a"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/et/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "et"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "2f7508e83aba4fd64a817c7eb4b44d4ea9371956339a009ba541bf3a349693cf"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/eu/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "eu"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "edbc5ff4ba45106233cdbf5255405c4ee52ba7e6811736958323a616881b943f"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/fi/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "fi"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "f4ad740a724efdbfec54445304ca75e9a16e0881bc18789b8ea35632d8857d4b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/fr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "fr"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "ebf60a227c9fe5237eff22fb81f3c8bc02a593de823d6f0ad9b67f07af129dea"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/fy-NL/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "fy-NL"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "b12983077a62c5bf7353f50dd951348a457ce07f5beb2a579f199c4d77ed0906"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ga-IE/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ga-IE"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "aa7c3a4b54fd6fef0f120a6748c45a3f379268f31e087cb3df07d270bf060bad"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/gd/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "gd"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "39fadb2bd4c01da0eb188cb9f52ccd726ec9f7eb5ced44e2a30ee0cfac2527bf"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/gl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "gl"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "b4ee1f89b0326b22fc7a5b980b857c2652d6881d096060a8bc083015b47762d8"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/he/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "he"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "cefbc742672942e310dc9f4dbcefc8b66cf01d58ac64448ac8c0dc33fdace5ae"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/hr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hr"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "9e132811cb6bd98faee86e298b78e845727bfded84c0cdab41608ed1565f1aee"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/hsb/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hsb"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "2a41d1e188fd5fed93a37a1bedc67cb745367447504a76836f79928194730d3b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/hu/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hu"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "9196df7850b9cff69f52b5db69ec3b64cfa312bba5669380c137b95a8140cf39"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/hy-AM/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hy-AM"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "4a08137a9a714677ecf86a24f165047b809e22eff50d196b92c153e59f943c30"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/id/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "id"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "39784aab0bc3253af47cdcd95824eccdecae4dac819bacf6a04daa7b5c86d6e3"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/is/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "is"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "a041d1af23e9c64967e4d014b6a84ddc80ad24e852146e448f6b380cdd672e67"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/it/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "it"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "b0e3161c801fbaee2f589b1bc61a4fba9968f5f363a62cf0f8af855d23e4782c"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ja/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ja"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "ad416d47930d81be9ac2f20b3699f4c74471c36e08b14f9d5c6ee1af97c7c9d4"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ka/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ka"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "3b30bc5f0971310d71e1909b4ed891481457ac8baf11c1e505c3400b2a7cfb63"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/kab/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "kab"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "abdc58d5d5ef251e63c0c40a48460f90e299a4420cbe4e290d519fbed4c335b8"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/kk/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "kk"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "08018b951de59b1a92717fc82bd98a0c324a019ee0ae14888f09c5351a586284"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ko/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ko"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "1178adc42b3a2ddac46dd50ad8436d1be50db409963e8fac3beb22a431f885fe"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/lt/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "lt"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "18d88a8cbb24d2a78af0de282187a743e707136fdb61912e5f64bf75730e3a76"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ms/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ms"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "e1754cfbf20e286fd6304b8d75337e3794893c5ebd9b242cf624090e6fc6e9ee"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/nb-NO/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "nb-NO"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "6379f6dca3d8bacb466044f0a7d11b32eb61166d3f14c37431f77843eb884c90"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/nl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "nl"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "66a56e218365bb260980848427609d390674e2ba3c70b9adc4121f73c861d9b8"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/nn-NO/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "nn-NO"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "ccdb135d43f5542151fe2c99a8e13cebfbc032367abb0308213433b753dc8125"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/pl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "pl"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "5dc2151d1bb956c4b6fbd1b6185d9328f7091e60fdcd51bad5a9ebaa8fcbb7d7"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/pt-BR/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "pt-BR"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "5ebf77d47bf45b058aaeca857060c908dbf7036bae2c2c5812ff145aed840203"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/pt-PT/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "pt-PT"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "73baa68f79b4a15795fc426dfc9a8d573a05e4ab8a663d122cfd802f93941825"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/rm/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "rm"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "29f8ba57d9000803bae795c2ff977347af9a1f0df123337eaab3bdcc20786734"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ro/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ro"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "b8233ad81c6620c26a02457b9235ce0be0c5d93b81f88d9ddc84bc12f869dbad"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/ru/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ru"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "f959f786dbbb7d06cb33eca24efd9e2763c5ca73fc4ba47e9b933b6298d7f026"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/si/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "si"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "dcf59c0c1ea0acdcc894463b04c54339a72dcceb25fe5478608265eb3ead226a"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/sk/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sk"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "2a06329fd4a9dd6333e2d73a44fca7eaf593032e8ace33736a03dbfffb2920a0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/sl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sl"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "f7bd3e3a407dbab07836342ff29fc143fe3904e7f878ea719522ade3fc4f6b84"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/sq/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sq"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "0edc58751a6794494efab8b0a2ce852374a747ccb73b38455475f0099ea0f238"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/sr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sr"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "91ac5cc0646c062b00b3b064af53ba03c7e034b75afa13dca7586eb80578d377"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/sv-SE/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sv-SE"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "5aa21e4b78f4294835197f784a651f17453d83fce98e7140e49c6da117464fd9"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/tr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "tr"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "3ab2639dd126e3ed9b031fc10f4396c7d98ffa7b7ffca6a9b3f2f47590e3b83c"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/uk/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "uk"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "59be2ddc7c65405e0b3854c2a551dab73df9736842ee362b2a20dc9088242a96"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/uz/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "uz"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "ae196683b283525511fbd2e3ad428339672f2f1339566a323e01f6f649d333c1"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/vi/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "vi"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "9d66b8e4eefbb6b8c0d9893b056fc684310ae583921d626cb676cd8a7b4b39de"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/zh-CN/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "zh-CN"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "2839f2f076a8a6e283a3ffdd6100986a11d19b9108fce074f8e7f127cb0f375e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-x86_64/zh-TW/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "zh-TW"; |
||||
arch = "linux-x86_64"; |
||||
sha256 = "02ef645a7de8abc1c5dd92eb685d64570cf1db971cfe7e248111d6a17b3ddcd9"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ar/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ar"; |
||||
arch = "linux-i686"; |
||||
sha256 = "5c4d899245a38626fa18d849bcf01d50125dee60d715d76224ca0bb4623f73be"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ast/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ast"; |
||||
arch = "linux-i686"; |
||||
sha256 = "f657bdc5b43b75e43578251abccf5c7b9e6d0848fd55c6105060daba33c36721"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/be/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "be"; |
||||
arch = "linux-i686"; |
||||
sha256 = "669a2cbfe600727b9d9a8ed5046272a1f19b80b6af9a6a6977ce1b89f60fa36e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/bg/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "bg"; |
||||
arch = "linux-i686"; |
||||
sha256 = "e1b33857544c10c0191316f6e3d16b34957196b35a922c884315714fe851389b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/br/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "br"; |
||||
arch = "linux-i686"; |
||||
sha256 = "b9e4a530529449446fe5a302277878c4d2192ef7bb48206f8528024087f520ea"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ca/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ca"; |
||||
arch = "linux-i686"; |
||||
sha256 = "aa5e4ae20fa9e5dbb8c0ba275ba18d1ba94900094ba3186aac40ffb27396a96f"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/cak/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "cak"; |
||||
arch = "linux-i686"; |
||||
sha256 = "a812c9150feec48e2ebfb1786f5e30ade33203160fa4102382435641caeaf3b8"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/cs/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "cs"; |
||||
arch = "linux-i686"; |
||||
sha256 = "75813ad7dd0ae5c073964296dd687e5c1289178491adc98d40e853ed812bdca9"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/cy/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "cy"; |
||||
arch = "linux-i686"; |
||||
sha256 = "b3894f05cf905aa96612860dcef0bdb4bb9564901ef84172e11856a9fa9e0ca4"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/da/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "da"; |
||||
arch = "linux-i686"; |
||||
sha256 = "a4f21bd2017043872a962167f98db358b824ae1821fcf03e2df1bef7783e07c0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/de/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "de"; |
||||
arch = "linux-i686"; |
||||
sha256 = "3a079685f75d2ec0320ec9e366b4e037954d67fa3f9e3bda055b8cd7de8fbdd0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/dsb/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "dsb"; |
||||
arch = "linux-i686"; |
||||
sha256 = "295a0f56429b3638dd0dcbf8d97a6376636b67e22d493ce8dfaceeb579466d18"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/el/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "el"; |
||||
arch = "linux-i686"; |
||||
sha256 = "86e4b98ede80cc07cc1aec043af82068a73b7c76820f70df8314e3b91c108d18"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/en-GB/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "en-GB"; |
||||
arch = "linux-i686"; |
||||
sha256 = "2cb03a17f88e3826181911ec6a7455528d1e4c051b065252c964c6c0794175e4"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/en-US/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "en-US"; |
||||
arch = "linux-i686"; |
||||
sha256 = "11fe953ede0d99656534ac676f118e939024744c5301d378acbeac6792e668e5"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/es-AR/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "es-AR"; |
||||
arch = "linux-i686"; |
||||
sha256 = "596264396a25adb873320222697e7f1a58aaab484de9c0d2e85f99962b6d893d"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/es-ES/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "es-ES"; |
||||
arch = "linux-i686"; |
||||
sha256 = "a9512af30e2b1613a6bd1ae6f4ce785f676b2cf70b80a37d85a5e1566bb2b35f"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/et/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "et"; |
||||
arch = "linux-i686"; |
||||
sha256 = "b7dcb196881a23e979edb5ae247a7c07b1cf1250cb4c159ce523d1a26be188c2"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/eu/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "eu"; |
||||
arch = "linux-i686"; |
||||
sha256 = "4066164b4c9242a9885bc2de802c4f5b6b594c928db36ac72c94faabaad86679"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/fi/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "fi"; |
||||
arch = "linux-i686"; |
||||
sha256 = "a7c635cbbbc10725b28052ccc61603fb60b91e06bbf1f240561bdb8f941af55a"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/fr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "fr"; |
||||
arch = "linux-i686"; |
||||
sha256 = "7dba28adb1287e1aa9ae85840fc3aca42aaedd4b2c2aa6cc68d5f793549d19b7"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/fy-NL/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "fy-NL"; |
||||
arch = "linux-i686"; |
||||
sha256 = "bd763e264eb684ec3b0b1f2c68ce295d1df86994d15f5c66c487e4742bfef86e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ga-IE/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ga-IE"; |
||||
arch = "linux-i686"; |
||||
sha256 = "52f9b5694efbdd8ecc76aef58695423c6a4b547b5b0cfedca313386b7500685e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/gd/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "gd"; |
||||
arch = "linux-i686"; |
||||
sha256 = "6c9c1b0f11ad13e0780371d54fedb52d2463713db3bc52adb72c8ea9ff80eb8f"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/gl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "gl"; |
||||
arch = "linux-i686"; |
||||
sha256 = "608bf5c0d6148cc3014758829ba06135222b462242456ca0984e7dc12654c2cd"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/he/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "he"; |
||||
arch = "linux-i686"; |
||||
sha256 = "f92d569a53f34bfdda4dac185834e5692526f13f20853d1943f165af33b54a37"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/hr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hr"; |
||||
arch = "linux-i686"; |
||||
sha256 = "60d2f184219f8d17c2739ee3cc8463bed474142bd2caad74157b97db2306b27f"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/hsb/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hsb"; |
||||
arch = "linux-i686"; |
||||
sha256 = "40ffece26101b2f6a7789511b026d99234bd34ec78e566e7e25065ae3201d693"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/hu/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hu"; |
||||
arch = "linux-i686"; |
||||
sha256 = "e74da0bdb27fe3375dfbd1ab042892de3ded84f33a6f6d46e209fdcaa28183d0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/hy-AM/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "hy-AM"; |
||||
arch = "linux-i686"; |
||||
sha256 = "fd93972c11842b56453449e72617deb3177d020c8f25cf4d5fb687f4a3ddb5c0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/id/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "id"; |
||||
arch = "linux-i686"; |
||||
sha256 = "546825968ad86e4c5c6effefd0f924cc1d10489fff7968f17401e3f84c4d1ab0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/is/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "is"; |
||||
arch = "linux-i686"; |
||||
sha256 = "1f2e2228c685be2d65d6e0b92eef8ff3e58d7b772f846d0707a9b02e6d0ad306"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/it/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "it"; |
||||
arch = "linux-i686"; |
||||
sha256 = "41b27c8195432e1412e3c4645b823b8dd1f673eabf07ddc72f3d792d3f7488da"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ja/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ja"; |
||||
arch = "linux-i686"; |
||||
sha256 = "68940d44d933bb7228d6f9a03406ca01903c54fdf57eb5a1e1033b12ef507df6"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ka/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ka"; |
||||
arch = "linux-i686"; |
||||
sha256 = "ce0aff0fd47b00803ea66278b3514dcf65ecb5547878f8081f7ec6c1f411ce10"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/kab/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "kab"; |
||||
arch = "linux-i686"; |
||||
sha256 = "3936b56eaa1e05a96626f7d10c8fcc3ba9014b1385b21243c049b133b923ddef"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/kk/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "kk"; |
||||
arch = "linux-i686"; |
||||
sha256 = "7fa0aa64d0f0dcc6f71d6a21647cc4fccef935b783deb5d19b88f5b96b4b4ec4"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ko/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ko"; |
||||
arch = "linux-i686"; |
||||
sha256 = "4bddd0ccb747bb12cdc6d88c2c9544354293000c586454bb5932f4d81afbf400"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/lt/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "lt"; |
||||
arch = "linux-i686"; |
||||
sha256 = "f1a3514188c1b887afd2c662a1b6abf6fe37b558864be0cc79e87ed147188461"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ms/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ms"; |
||||
arch = "linux-i686"; |
||||
sha256 = "7ea045d6db78ec7d6ebf164c8e3d28c2540a573238de518e934646573aec71dc"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/nb-NO/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "nb-NO"; |
||||
arch = "linux-i686"; |
||||
sha256 = "d2c0e2099ea60b9da95ebd9bd79a5d0a6a1ebc84b8b490511a68c81355f97761"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/nl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "nl"; |
||||
arch = "linux-i686"; |
||||
sha256 = "48741be79422d80140ec862d004fa75a407f67490f67a3e440c01e0defe1f85f"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/nn-NO/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "nn-NO"; |
||||
arch = "linux-i686"; |
||||
sha256 = "b40f0d7112cadab322c8b71cacce5d6df87fb80f40cc55ca22c279016c3ea805"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/pl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "pl"; |
||||
arch = "linux-i686"; |
||||
sha256 = "e64b10526cb460f437427cc4a7ea90959cc693a75fd6a61b43e9d3fd76ded618"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/pt-BR/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "pt-BR"; |
||||
arch = "linux-i686"; |
||||
sha256 = "bdb558f9430c06871954ec6c7d54267625184a0cba914a87ad199e8f32b03de2"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/pt-PT/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "pt-PT"; |
||||
arch = "linux-i686"; |
||||
sha256 = "4631e8247446653e91f239fdb5ad3c8531f3d007dbdc83818178a4cdc525edf4"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/rm/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "rm"; |
||||
arch = "linux-i686"; |
||||
sha256 = "13e6aca7139fd89e83e7ae9b71253731f0954b0a83cc3560ecc00500b9bc1df7"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ro/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ro"; |
||||
arch = "linux-i686"; |
||||
sha256 = "023a567c42dad9bdbd465c8b99f12cf5f667ef4691e16971e09496c4a7db0f12"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/ru/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "ru"; |
||||
arch = "linux-i686"; |
||||
sha256 = "9ec35bbce5f026a4262a5d708b53a767f47ac8e90314513d36a587d1a49dbb6b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/si/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "si"; |
||||
arch = "linux-i686"; |
||||
sha256 = "c540b94a45deeddf1f7f5a8cca8de7e944ee8ad9f8595a308836c159901ec0b6"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/sk/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sk"; |
||||
arch = "linux-i686"; |
||||
sha256 = "5296241664023773d2c0c4fa55e74eb6470482389c834d1934c252f79e79ebff"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/sl/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sl"; |
||||
arch = "linux-i686"; |
||||
sha256 = "cd0376137d8018875873332fdfae3bc3c0d6b2a2b881dfa970d7d7999e8b312b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/sq/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sq"; |
||||
arch = "linux-i686"; |
||||
sha256 = "6fbf47759ca8c4d7cf30ca3af8a3fd35a01b7738422d29448cfd9eed81eba49b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/sr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sr"; |
||||
arch = "linux-i686"; |
||||
sha256 = "636708320247c7c45622fd9179d5689da97472a9308f11810623129cf5a0e8d7"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/sv-SE/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "sv-SE"; |
||||
arch = "linux-i686"; |
||||
sha256 = "9550c173b047e3ff774f4c3faf2c1f125b3abc34e6feb5801c108fda94e54e4e"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/tr/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "tr"; |
||||
arch = "linux-i686"; |
||||
sha256 = "ffe82a300c7fa7a0e826d11613f5187c003b009efa29f4755f17af0f88d9e73b"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/uk/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "uk"; |
||||
arch = "linux-i686"; |
||||
sha256 = "b018769149c0a4ff323b90b5d51465733629e7c527b39381ba9696cb077ad767"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/uz/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "uz"; |
||||
arch = "linux-i686"; |
||||
sha256 = "b0b59ac4d08c9f385f4ed7980065ce99ef24874734390a83af6e8fbd18173d99"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/vi/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "vi"; |
||||
arch = "linux-i686"; |
||||
sha256 = "901b40a99d84e7c7360fd5be6a14aa04ef6cc04fe1275cac26824b310bbd26e0"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/zh-CN/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "zh-CN"; |
||||
arch = "linux-i686"; |
||||
sha256 = "509478710f7c4fb404eec9fed0b6d22f4c5d76fee09ed833dffcefdacc53d55c"; |
||||
} |
||||
{ url = "http://archive.mozilla.org/pub/thunderbird/releases/68.12.0/linux-i686/zh-TW/thunderbird-68.12.0.tar.bz2"; |
||||
locale = "zh-TW"; |
||||
arch = "linux-i686"; |
||||
sha256 = "a12dd777cc3eaf629cc7a6f4b8d4744cf63c3e778e559d9b3ce332414e509515"; |
||||
} |
||||
]; |
||||
} |
@ -1,343 +0,0 @@ |
||||
# This pakcage is keeped until Thunderbird 78 supports OpenPGP. |
||||
# https://www.thunderbird.net/en-US/thunderbird/78.0.1/releasenotes/ |
||||
{ autoconf213 |
||||
, bzip2 |
||||
, cargo |
||||
, common-updater-scripts |
||||
, copyDesktopItems |
||||
, coreutils |
||||
, curl |
||||
, dbus |
||||
, dbus-glib |
||||
, fetchurl |
||||
, file |
||||
, fontconfig |
||||
, freetype |
||||
, glib |
||||
, gnugrep |
||||
, gnused |
||||
, icu |
||||
, jemalloc |
||||
, lib |
||||
, libGL |
||||
, libGLU |
||||
, libevent |
||||
, libjpeg |
||||
, libnotify |
||||
, libpng |
||||
, libstartup_notification |
||||
, libvpx |
||||
, libwebp |
||||
, llvmPackages |
||||
, m4 |
||||
, makeDesktopItem |
||||
, nasm |
||||
, nodejs |
||||
, nspr |
||||
, nss |
||||
, pango |
||||
, perl |
||||
, pkg-config |
||||
, python2 |
||||
, python3 |
||||
, runtimeShell |
||||
, rust-cbindgen |
||||
, rustc |
||||
, sqlite |
||||
, stdenv |
||||
, systemd |
||||
, unzip |
||||
, which |
||||
, writeScript |
||||
, xidel |
||||
, xorg |
||||
, yasm |
||||
, zip |
||||
, zlib |
||||
|
||||
, debugBuild ? false |
||||
|
||||
, alsaSupport ? stdenv.isLinux, alsaLib |
||||
, pulseaudioSupport ? stdenv.isLinux, libpulseaudio |
||||
, gtk3Support ? true, gtk2, gtk3, wrapGAppsHook |
||||
, waylandSupport ? true |
||||
, libxkbcommon, calendarSupport ? true |
||||
|
||||
# Use official trademarked branding. Permission obtained at: |
||||
# https://github.com/NixOS/nixpkgs/pull/94880#issuecomment-675907971 |
||||
, enableOfficialBranding ? true |
||||
}: |
||||
|
||||
assert waylandSupport -> gtk3Support == true; |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "thunderbird"; |
||||
version = "68.12.0"; |
||||
|
||||
src = fetchurl { |
||||
url = |
||||
"mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; |
||||
sha512 = |
||||
"33350vjgzvsg6sdhdld92z75k1xcf1wmngdcvzsj4f3y3aal73pyw03mlvgg6y36bm0j8fhaxvgbbg5zm7hxhn779z78970m4v9amg7"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
autoconf213 |
||||
cargo |
||||
copyDesktopItems |
||||
gnused |
||||
llvmPackages.llvm |
||||
m4 |
||||
nasm |
||||
nodejs |
||||
perl |
||||
pkg-config |
||||
python2 |
||||
python3 |
||||
rust-cbindgen |
||||
rustc |
||||
which |
||||
yasm |
||||
unzip |
||||
] ++ lib.optional gtk3Support wrapGAppsHook; |
||||
|
||||
buildInputs = [ |
||||
bzip2 |
||||
dbus |
||||
dbus-glib |
||||
file |
||||
fontconfig |
||||
freetype |
||||
glib |
||||
gtk2 |
||||
icu |
||||
jemalloc |
||||
libGL |
||||
libGLU |
||||
libevent |
||||
libjpeg |
||||
libnotify |
||||
libpng |
||||
libstartup_notification |
||||
libvpx |
||||
libwebp |
||||
nspr |
||||
nss |
||||
pango |
||||
perl |
||||
sqlite |
||||
xorg.libX11 |
||||
xorg.libXScrnSaver |
||||
xorg.libXcursor |
||||
xorg.libXext |
||||
xorg.libXft |
||||
xorg.libXi |
||||
xorg.libXrender |
||||
xorg.libXt |
||||
xorg.pixman |
||||
xorg.xorgproto |
||||
zip |
||||
zlib |
||||
] ++ lib.optional alsaSupport alsaLib |
||||
++ lib.optional gtk3Support gtk3 |
||||
++ lib.optional pulseaudioSupport libpulseaudio |
||||
++ lib.optional waylandSupport libxkbcommon; |
||||
|
||||
NIX_CFLAGS_COMPILE =[ |
||||
"-I${glib.dev}/include/gio-unix-2.0" |
||||
"-I${nss.dev}/include/nss" |
||||
]; |
||||
|
||||
patches = [ |
||||
./no-buildconfig-68.patch |
||||
]; |
||||
|
||||
postPatch = '' |
||||
rm -rf obj-x86_64-pc-linux-gnu |
||||
''; |
||||
|
||||
hardeningDisable = [ "format" ]; |
||||
|
||||
preConfigure = '' |
||||
# remove distributed configuration files |
||||
rm -f configure |
||||
rm -f js/src/configure |
||||
rm -f .mozconfig* |
||||
|
||||
configureScript="$(realpath ./mach) configure" |
||||
# AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286 |
||||
unset AS |
||||
|
||||
export MOZCONFIG=$(pwd)/mozconfig |
||||
|
||||
# Set C flags for Rust's bindgen program. Unlike ordinary C |
||||
# compilation, bindgen does not invoke $CC directly. Instead it |
||||
# uses LLVM's libclang. To make sure all necessary flags are |
||||
# included we need to look in a few places. |
||||
# TODO: generalize this process for other use-cases. |
||||
|
||||
BINDGEN_CFLAGS="$(< ${stdenv.cc}/nix-support/libc-cflags) \ |
||||
$(< ${stdenv.cc}/nix-support/cc-cflags) \ |
||||
$(< ${stdenv.cc}/nix-support/libcxx-cxxflags) \ |
||||
${ |
||||
lib.optionalString stdenv.cc.isClang |
||||
"-idirafter ${stdenv.cc.cc}/lib/clang/${ |
||||
lib.getVersion stdenv.cc.cc |
||||
}/include" |
||||
} \ |
||||
${ |
||||
lib.optionalString stdenv.cc.isGNU |
||||
"-isystem ${stdenv.cc.cc}/include/c++/${ |
||||
lib.getVersion stdenv.cc.cc |
||||
} -isystem ${stdenv.cc.cc}/include/c++/${ |
||||
lib.getVersion stdenv.cc.cc |
||||
}/${stdenv.hostPlatform.config}" |
||||
} \ |
||||
$NIX_CFLAGS_COMPILE" |
||||
|
||||
echo "ac_add_options BINDGEN_CFLAGS='$BINDGEN_CFLAGS'" >> $MOZCONFIG |
||||
''; |
||||
|
||||
configureFlags = let |
||||
toolkitSlug = if gtk3Support then |
||||
"3${lib.optionalString waylandSupport "-wayland"}" |
||||
else |
||||
"2"; |
||||
toolkitValue = "cairo-gtk${toolkitSlug}"; |
||||
in [ |
||||
"--enable-application=comm/mail" |
||||
|
||||
"--with-system-bz2" |
||||
"--with-system-icu" |
||||
"--with-system-jpeg" |
||||
"--with-system-libevent" |
||||
"--with-system-nspr" |
||||
"--with-system-nss" |
||||
"--with-system-png" # needs APNG support |
||||
"--with-system-icu" |
||||
"--with-system-zlib" |
||||
"--with-system-webp" |
||||
"--with-system-libvpx" |
||||
|
||||
"--enable-rust-simd" |
||||
"--enable-crashreporter" |
||||
"--enable-default-toolkit=${toolkitValue}" |
||||
"--enable-js-shell" |
||||
"--enable-necko-wifi" |
||||
"--enable-startup-notification" |
||||
"--enable-system-ffi" |
||||
"--enable-system-pixman" |
||||
"--enable-system-sqlite" |
||||
|
||||
"--disable-gconf" |
||||
"--disable-tests" |
||||
"--disable-updater" |
||||
"--enable-jemalloc" |
||||
] ++ (if debugBuild then [ |
||||
"--enable-debug" |
||||
"--enable-profiling" |
||||
] else [ |
||||
"--disable-debug" |
||||
"--enable-release" |
||||
"--disable-debug-symbols" |
||||
"--enable-optimize" |
||||
"--enable-strip" |
||||
]) ++ lib.optionals (!stdenv.hostPlatform.isi686) [ |
||||
# on i686-linux: --with-libclang-path is not available in this configuration |
||||
"--with-libclang-path=${llvmPackages.libclang.lib}/lib" |
||||
"--with-clang-path=${llvmPackages.clang}/bin/clang" |
||||
] ++ lib.optional alsaSupport "--enable-alsa" |
||||
++ lib.optional calendarSupport "--enable-calendar" |
||||
++ lib.optional enableOfficialBranding "--enable-official-branding" |
||||
++ lib.optional pulseaudioSupport "--enable-pulseaudio"; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
postConfigure = '' |
||||
cd obj-* |
||||
''; |
||||
|
||||
makeFlags = lib.optionals enableOfficialBranding [ |
||||
"MOZILLA_OFFICIAL=1" |
||||
"BUILD_OFFICIAL=1" |
||||
]; |
||||
|
||||
doCheck = false; |
||||
|
||||
desktopItems = [ |
||||
(makeDesktopItem { |
||||
categories = lib.concatStringsSep ";" [ "Application" "Network" ]; |
||||
desktopName = "Thunderbird"; |
||||
genericName = "Mail Reader"; |
||||
name = "thunderbird"; |
||||
exec = "thunderbird %U"; |
||||
icon = "$out/lib/thunderbird/chrome/icons/default/default256.png"; |
||||
mimeType = lib.concatStringsSep ";" [ |
||||
# Email |
||||
"x-scheme-handler/mailto" |
||||
"message/rfc822" |
||||
# Feeds |
||||
"x-scheme-handler/feed" |
||||
"application/rss+xml" |
||||
"application/x-extension-rss" |
||||
# Newsgroups |
||||
"x-scheme-handler/news" |
||||
"x-scheme-handler/snews" |
||||
"x-scheme-handler/nntp" |
||||
]; |
||||
}) |
||||
]; |
||||
postInstall = '' |
||||
# TODO: Move to a dev output? |
||||
rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl |
||||
''; |
||||
|
||||
preFixup = '' |
||||
# Needed to find Mozilla runtime |
||||
gappsWrapperArgs+=( |
||||
--argv0 "$out/bin/thunderbird" |
||||
--set MOZ_APP_LAUNCHER thunderbird |
||||
# https://github.com/NixOS/nixpkgs/pull/61980 |
||||
--set SNAP_NAME "thunderbird" |
||||
--set MOZ_LEGACY_PROFILES 1 |
||||
--set MOZ_ALLOW_DOWNGRADE 1 |
||||
) |
||||
''; |
||||
|
||||
# FIXME: The XUL portion of this can probably be removed as soon as we |
||||
# package a Thunderbird >=71.0 since XUL shouldn't be anymore (in use)? |
||||
postFixup = '' |
||||
local xul="$out/lib/thunderbird/libxul.so" |
||||
patchelf --set-rpath "${libnotify}/lib:${lib.getLib systemd}/lib:$(patchelf --print-rpath $xul)" $xul |
||||
''; |
||||
|
||||
doInstallCheck = true; |
||||
installCheckPhase = '' |
||||
"$out/bin/thunderbird" --version |
||||
''; |
||||
|
||||
disallowedRequisites = [ |
||||
stdenv.cc |
||||
]; |
||||
|
||||
passthru.updateScript = import ./../../browsers/firefox/update.nix { |
||||
attrPath = "thunderbird"; |
||||
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/"; |
||||
inherit writeScript lib common-updater-scripts xidel coreutils gnused |
||||
gnugrep curl runtimeShell; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "A full-featured e-mail client"; |
||||
homepage = "https://www.thunderbird.net"; |
||||
maintainers = with maintainers; [ |
||||
eelco |
||||
lovesegfault |
||||
pierron |
||||
vcunat |
||||
]; |
||||
platforms = platforms.linux; |
||||
license = licenses.mpl20; |
||||
knownVulnerabilities = [ "Support ended around Semptember 2020." ]; |
||||
}; |
||||
} |
@ -1,36 +0,0 @@ |
||||
Remove about:buildconfig. If used as-is, it would add unnecessary runtime dependencies.
|
||||
diff -ru -x '*~' a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
|
||||
--- a/docshell/base/nsAboutRedirector.cpp 2017-07-31 18:20:51.000000000 +0200
|
||||
+++ b/docshell/base/nsAboutRedirector.cpp 2017-09-26 22:02:00.814151731 +0200
|
||||
@@ -32,8 +32,6 @@
|
||||
{"about", "chrome://global/content/aboutAbout.xhtml", 0},
|
||||
{"addons", "chrome://mozapps/content/extensions/extensions.xul",
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
- {"buildconfig", "chrome://global/content/buildconfig.html",
|
||||
- nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT},
|
||||
{"checkerboard", "chrome://global/content/aboutCheckerboard.xhtml",
|
||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
diff -ru -x '*~' a/toolkit/content/jar.mn b/toolkit/content/jar.mn
|
||||
--- a/toolkit/content/jar.mn 2017-07-31 18:20:52.000000000 +0200
|
||||
+++ b/toolkit/content/jar.mn 2017-09-26 22:01:42.383350314 +0200
|
||||
@@ -39,7 +39,6 @@
|
||||
content/global/plugins.css
|
||||
content/global/browser-child.js
|
||||
content/global/browser-content.js
|
||||
-* content/global/buildconfig.html
|
||||
content/global/buildconfig.css
|
||||
content/global/contentAreaUtils.js
|
||||
content/global/datepicker.xhtml
|
||||
--- a/comm/mail/base/jar.mn
|
||||
+++ b/comm/mail/base/jar.mn
|
||||
@@ -117,9 +117,7 @@
|
||||
% override chrome://mozapps/content/profile/profileDowngrade.js chrome://messenger/content/profileDowngrade.js
|
||||
% override chrome://mozapps/content/profile/profileDowngrade.xul chrome://messenger/content/profileDowngrade.xul
|
||||
|
||||
-* content/messenger/buildconfig.html (content/buildconfig.html)
|
||||
content/messenger/buildconfig.css (content/buildconfig.css)
|
||||
-% override chrome://global/content/buildconfig.html chrome://messenger/content/buildconfig.html
|
||||
% override chrome://global/content/buildconfig.css chrome://messenger/content/buildconfig.css
|
||||
|
||||
# L10n resources and overrides.
|
@ -0,0 +1,11 @@ |
||||
--- a/build/Makefile
|
||||
+++ b/build/Makefile
|
||||
@@ -11,7 +11,7 @@ LEX = flex
|
||||
LFLAGS = -8
|
||||
YACC = bison
|
||||
YFLAGS = -d
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
IFLAGS = -I$(COMMON_DIR) -I$(MAIN_DIR) -I$(BUILD_DIR)
|
||||
ifneq ($(strip $(LOCALES)),)
|
||||
MOFLAGS = -DMO_DIR=\"$(MO_DIR)\"
|
@ -0,0 +1,254 @@ |
||||
commit 8a3f903b20d646ebb2472c4f094ca1bf225a96c7
|
||||
Author: Michael Weiss <dev.primeos@gmail.com>
|
||||
Date: Fri May 14 19:19:05 2021 +0200
|
||||
|
||||
Fix the build with wlroots 0.13
|
||||
|
||||
diff --git a/main.c b/main.c
|
||||
index 5d7dcda..870fdb0 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -1,6 +1,7 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <cairo/cairo.h>
|
||||
+#include <libdrm/drm_fourcc.h>
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -49,7 +50,7 @@ static void gen_menu_textures(struct wio_server *server) {
|
||||
cairo_surface_flush(surf);
|
||||
unsigned char *data = cairo_image_surface_get_data(surf);
|
||||
server->menu.inactive_textures[i] = wlr_texture_from_pixels(renderer,
|
||||
- WL_SHM_FORMAT_ARGB8888,
|
||||
+ DRM_FORMAT_ARGB8888,
|
||||
cairo_image_surface_get_stride(surf),
|
||||
extents.width + 2, extents.height + 2, data);
|
||||
}
|
||||
@@ -66,7 +67,7 @@ static void gen_menu_textures(struct wio_server *server) {
|
||||
cairo_surface_flush(surf);
|
||||
unsigned char *data = cairo_image_surface_get_data(surf);
|
||||
server->menu.active_textures[i] = wlr_texture_from_pixels(renderer,
|
||||
- WL_SHM_FORMAT_ARGB8888,
|
||||
+ DRM_FORMAT_ARGB8888,
|
||||
cairo_image_surface_get_stride(surf),
|
||||
extents.width + 2, extents.height + 2, data);
|
||||
}
|
||||
@@ -152,7 +153,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
server.wl_display = wl_display_create();
|
||||
- server.backend = wlr_backend_autocreate(server.wl_display, NULL);
|
||||
+ server.backend = wlr_backend_autocreate(server.wl_display);
|
||||
server.renderer = wlr_backend_get_renderer(server.backend);
|
||||
wlr_renderer_init_wl_display(server.renderer, server.wl_display);
|
||||
|
||||
diff --git a/protocols/wlr-layer-shell-unstable-v1.xml b/protocols/wlr-layer-shell-unstable-v1.xml
|
||||
index 90b8bc8..d62fd51 100644
|
||||
--- a/protocols/wlr-layer-shell-unstable-v1.xml
|
||||
+++ b/protocols/wlr-layer-shell-unstable-v1.xml
|
||||
@@ -25,7 +25,7 @@
|
||||
THIS SOFTWARE.
|
||||
</copyright>
|
||||
|
||||
- <interface name="zwlr_layer_shell_v1" version="1">
|
||||
+ <interface name="zwlr_layer_shell_v1" version="4">
|
||||
<description summary="create surfaces that are layers of the desktop">
|
||||
Clients can use this interface to assign the surface_layer role to
|
||||
wl_surfaces. Such surfaces are assigned to a "layer" of the output and
|
||||
@@ -47,6 +47,12 @@
|
||||
or manipulate a buffer prior to the first layer_surface.configure call
|
||||
must also be treated as errors.
|
||||
|
||||
+ After creating a layer_surface object and setting it up, the client
|
||||
+ must perform an initial commit without any buffer attached.
|
||||
+ The compositor will reply with a layer_surface.configure event.
|
||||
+ The client must acknowledge it and is then allowed to attach a buffer
|
||||
+ to map the surface.
|
||||
+
|
||||
You may pass NULL for output to allow the compositor to decide which
|
||||
output to use. Generally this will be the one that the user most
|
||||
recently interacted with.
|
||||
@@ -82,17 +88,35 @@
|
||||
<entry name="top" value="2"/>
|
||||
<entry name="overlay" value="3"/>
|
||||
</enum>
|
||||
+
|
||||
+ <!-- Version 3 additions -->
|
||||
+
|
||||
+ <request name="destroy" type="destructor" since="3">
|
||||
+ <description summary="destroy the layer_shell object">
|
||||
+ This request indicates that the client will not use the layer_shell
|
||||
+ object any more. Objects that have been created through this instance
|
||||
+ are not affected.
|
||||
+ </description>
|
||||
+ </request>
|
||||
</interface>
|
||||
|
||||
- <interface name="zwlr_layer_surface_v1" version="1">
|
||||
+ <interface name="zwlr_layer_surface_v1" version="4">
|
||||
<description summary="layer metadata interface">
|
||||
An interface that may be implemented by a wl_surface, for surfaces that
|
||||
are designed to be rendered as a layer of a stacked desktop-like
|
||||
environment.
|
||||
|
||||
- Layer surface state (size, anchor, exclusive zone, margin, interactivity)
|
||||
- is double-buffered, and will be applied at the time wl_surface.commit of
|
||||
- the corresponding wl_surface is called.
|
||||
+ Layer surface state (layer, size, anchor, exclusive zone,
|
||||
+ margin, interactivity) is double-buffered, and will be applied at the
|
||||
+ time wl_surface.commit of the corresponding wl_surface is called.
|
||||
+
|
||||
+ Attaching a null buffer to a layer surface unmaps it.
|
||||
+
|
||||
+ Unmapping a layer_surface means that the surface cannot be shown by the
|
||||
+ compositor until it is explicitly mapped again. The layer_surface
|
||||
+ returns to the state it had right after layer_shell.get_layer_surface.
|
||||
+ The client can re-map the surface by performing a commit without any
|
||||
+ buffer attached, waiting for a configure event and handling it as usual.
|
||||
</description>
|
||||
|
||||
<request name="set_size">
|
||||
@@ -127,14 +151,19 @@
|
||||
|
||||
<request name="set_exclusive_zone">
|
||||
<description summary="configures the exclusive geometry of this surface">
|
||||
- Requests that the compositor avoids occluding an area of the surface
|
||||
- with other surfaces. The compositor's use of this information is
|
||||
+ Requests that the compositor avoids occluding an area with other
|
||||
+ surfaces. The compositor's use of this information is
|
||||
implementation-dependent - do not assume that this region will not
|
||||
actually be occluded.
|
||||
|
||||
- A positive value is only meaningful if the surface is anchored to an
|
||||
- edge, rather than a corner. The zone is the number of surface-local
|
||||
- coordinates from the edge that is considered exclusive.
|
||||
+ A positive value is only meaningful if the surface is anchored to one
|
||||
+ edge or an edge and both perpendicular edges. If the surface is not
|
||||
+ anchored, anchored to only two perpendicular edges (a corner), anchored
|
||||
+ to only two parallel edges or anchored to all edges, a positive value
|
||||
+ will be treated the same as zero.
|
||||
+
|
||||
+ A positive zone is the distance from the edge in surface-local
|
||||
+ coordinates to consider exclusive.
|
||||
|
||||
Surfaces that do not wish to have an exclusive zone may instead specify
|
||||
how they should interact with surfaces that do. If set to zero, the
|
||||
@@ -174,21 +203,85 @@
|
||||
<arg name="left" type="int"/>
|
||||
</request>
|
||||
|
||||
+ <enum name="keyboard_interactivity">
|
||||
+ <description summary="types of keyboard interaction possible for a layer shell surface">
|
||||
+ Types of keyboard interaction possible for layer shell surfaces. The
|
||||
+ rationale for this is twofold: (1) some applications are not interested
|
||||
+ in keyboard events and not allowing them to be focused can improve the
|
||||
+ desktop experience; (2) some applications will want to take exclusive
|
||||
+ keyboard focus.
|
||||
+ </description>
|
||||
+
|
||||
+ <entry name="none" value="0">
|
||||
+ <description summary="no keyboard focus is possible">
|
||||
+ This value indicates that this surface is not interested in keyboard
|
||||
+ events and the compositor should never assign it the keyboard focus.
|
||||
+
|
||||
+ This is the default value, set for newly created layer shell surfaces.
|
||||
+
|
||||
+ This is useful for e.g. desktop widgets that display information or
|
||||
+ only have interaction with non-keyboard input devices.
|
||||
+ </description>
|
||||
+ </entry>
|
||||
+ <entry name="exclusive" value="1">
|
||||
+ <description summary="request exclusive keyboard focus">
|
||||
+ Request exclusive keyboard focus if this surface is above the shell surface layer.
|
||||
+
|
||||
+ For the top and overlay layers, the seat will always give
|
||||
+ exclusive keyboard focus to the top-most layer which has keyboard
|
||||
+ interactivity set to exclusive. If this layer contains multiple
|
||||
+ surfaces with keyboard interactivity set to exclusive, the compositor
|
||||
+ determines the one receiving keyboard events in an implementation-
|
||||
+ defined manner. In this case, no guarantee is made when this surface
|
||||
+ will receive keyboard focus (if ever).
|
||||
+
|
||||
+ For the bottom and background layers, the compositor is allowed to use
|
||||
+ normal focus semantics.
|
||||
+
|
||||
+ This setting is mainly intended for applications that need to ensure
|
||||
+ they receive all keyboard events, such as a lock screen or a password
|
||||
+ prompt.
|
||||
+ </description>
|
||||
+ </entry>
|
||||
+ <entry name="on_demand" value="2" since="4">
|
||||
+ <description summary="request regular keyboard focus semantics">
|
||||
+ This requests the compositor to allow this surface to be focused and
|
||||
+ unfocused by the user in an implementation-defined manner. The user
|
||||
+ should be able to unfocus this surface even regardless of the layer
|
||||
+ it is on.
|
||||
+
|
||||
+ Typically, the compositor will want to use its normal mechanism to
|
||||
+ manage keyboard focus between layer shell surfaces with this setting
|
||||
+ and regular toplevels on the desktop layer (e.g. click to focus).
|
||||
+ Nevertheless, it is possible for a compositor to require a special
|
||||
+ interaction to focus or unfocus layer shell surfaces (e.g. requiring
|
||||
+ a click even if focus follows the mouse normally, or providing a
|
||||
+ keybinding to switch focus between layers).
|
||||
+
|
||||
+ This setting is mainly intended for desktop shell components (e.g.
|
||||
+ panels) that allow keyboard interaction. Using this option can allow
|
||||
+ implementing a desktop shell that can be fully usable without the
|
||||
+ mouse.
|
||||
+ </description>
|
||||
+ </entry>
|
||||
+ </enum>
|
||||
+
|
||||
<request name="set_keyboard_interactivity">
|
||||
<description summary="requests keyboard events">
|
||||
- Set to 1 to request that the seat send keyboard events to this layer
|
||||
- surface. For layers below the shell surface layer, the seat will use
|
||||
- normal focus semantics. For layers above the shell surface layers, the
|
||||
- seat will always give exclusive keyboard focus to the top-most layer
|
||||
- which has keyboard interactivity set to true.
|
||||
+ Set how keyboard events are delivered to this surface. By default,
|
||||
+ layer shell surfaces do not receive keyboard events; this request can
|
||||
+ be used to change this.
|
||||
+
|
||||
+ This setting is inherited by child surfaces set by the get_popup
|
||||
+ request.
|
||||
|
||||
Layer surfaces receive pointer, touch, and tablet events normally. If
|
||||
you do not want to receive them, set the input region on your surface
|
||||
to an empty region.
|
||||
|
||||
- Events is double-buffered, see wl_surface.commit.
|
||||
+ Keyboard interactivity is double-buffered, see wl_surface.commit.
|
||||
</description>
|
||||
- <arg name="keyboard_interactivity" type="uint"/>
|
||||
+ <arg name="keyboard_interactivity" type="uint" enum="keyboard_interactivity"/>
|
||||
</request>
|
||||
|
||||
<request name="get_popup">
|
||||
@@ -273,6 +366,7 @@
|
||||
<entry name="invalid_surface_state" value="0" summary="provided surface state is invalid"/>
|
||||
<entry name="invalid_size" value="1" summary="size is invalid"/>
|
||||
<entry name="invalid_anchor" value="2" summary="anchor bitfield is invalid"/>
|
||||
+ <entry name="invalid_keyboard_interactivity" value="3" summary="keyboard interactivity is invalid"/>
|
||||
</enum>
|
||||
|
||||
<enum name="anchor" bitfield="true">
|
||||
@@ -281,5 +375,16 @@
|
||||
<entry name="left" value="4" summary="the left edge of the anchor rectangle"/>
|
||||
<entry name="right" value="8" summary="the right edge of the anchor rectangle"/>
|
||||
</enum>
|
||||
+
|
||||
+ <!-- Version 2 additions -->
|
||||
+
|
||||
+ <request name="set_layer" since="2">
|
||||
+ <description summary="change the layer of the surface">
|
||||
+ Change the layer that the surface is rendered on.
|
||||
+
|
||||
+ Layer is double-buffered, see wl_surface.commit.
|
||||
+ </description>
|
||||
+ <arg name="layer" type="uint" enum="zwlr_layer_shell_v1.layer" summary="layer to move this surface to"/>
|
||||
+ </request>
|
||||
</interface>
|
||||
</protocol>
|
@ -0,0 +1,35 @@ |
||||
From 5b562aaddbc6e7a94a079c2e88230b205a7f4d73 Mon Sep 17 00:00:00 2001
|
||||
From: Zane van Iperen <zane@zanevaniperen.com>
|
||||
Date: Sat, 15 May 2021 19:33:52 +1000
|
||||
Subject: [PATCH v2] avcodec/videotoolboxenc: #define TARGET_CPU_ARM64 to 0 if
|
||||
not provided by the SDK
|
||||
|
||||
Fixes build failure on older SDKs without it.
|
||||
|
||||
Fixes #9242
|
||||
|
||||
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
|
||||
---
|
||||
libavcodec/videotoolboxenc.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
NB: This is untested, I do not have a Mac to try it on.
|
||||
|
||||
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
|
||||
index 58239e0ab9..f063a86e73 100644
|
||||
--- a/libavcodec/videotoolboxenc.c
|
||||
+++ b/libavcodec/videotoolboxenc.c
|
||||
@@ -50,6 +50,10 @@ enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' };
|
||||
enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
|
||||
#endif
|
||||
|
||||
+#ifndef TARGET_CPU_ARM64
|
||||
+# define TARGET_CPU_ARM64 0
|
||||
+#endif
|
||||
+
|
||||
typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
||||
size_t parameterSetIndex,
|
||||
const uint8_t **parameterSetPointerOut,
|
||||
--
|
||||
2.29.3
|
||||
|
@ -1,144 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, nspr, perl, zlib, sqlite, fixDarwinDylibNames, buildPackages }: |
||||
|
||||
let |
||||
nssPEM = fetchurl { |
||||
url = "http://dev.gentoo.org/~polynomial-c/mozilla/nss-3.15.4-pem-support-20140109.patch.xz"; |
||||
sha256 = "10ibz6y0hknac15zr6dw4gv9nb5r5z9ym6gq18j3xqx7v7n3vpdw"; |
||||
}; |
||||
version = "3.44.4"; |
||||
underscoreVersion = builtins.replaceStrings ["."] ["_"] version; |
||||
|
||||
in stdenv.mkDerivation rec { |
||||
pname = "nss"; |
||||
inherit version; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://mozilla/security/nss/releases/NSS_${underscoreVersion}_RTM/src/${pname}-${version}.tar.gz"; |
||||
sha256 = "7ec1a52e20fd9a23e1907eeba8f4f2ecd619dac5d20fa023ec5b4faa1843e847"; |
||||
}; |
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ]; |
||||
|
||||
nativeBuildInputs = [ perl ] |
||||
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; |
||||
|
||||
buildInputs = [ zlib sqlite ]; |
||||
|
||||
propagatedBuildInputs = [ nspr ]; |
||||
|
||||
prePatch = '' |
||||
xz -d < ${nssPEM} | patch -p1 |
||||
''; |
||||
|
||||
patches = |
||||
[ |
||||
# Based on http://patch-tracker.debian.org/patch/series/dl/nss/2:3.15.4-1/85_security_load.patch |
||||
./85_security_load-3.44.patch |
||||
./ckpem.patch |
||||
]; |
||||
|
||||
patchFlags = [ "-p0" ]; |
||||
|
||||
postPatch = lib.optionalString stdenv.isDarwin '' |
||||
substituteInPlace nss/coreconf/Darwin.mk --replace '@executable_path/$(notdir $@)' "$out/lib/\$(notdir \$@)" |
||||
''; |
||||
|
||||
outputs = [ "out" "dev" "tools" ]; |
||||
|
||||
preConfigure = "cd nss"; |
||||
|
||||
makeFlags = let |
||||
# NSS's build systems expects aarch32 to be called arm; if we pass in armv6l/armv7l, it |
||||
# fails with a linker error |
||||
cpu = if stdenv.hostPlatform.isAarch32 then "arm" else stdenv.hostPlatform.parsed.cpu.name; |
||||
in [ |
||||
"NSPR_INCLUDE_DIR=${nspr.dev}/include" |
||||
"NSPR_LIB_DIR=${nspr.out}/lib" |
||||
"NSDISTMODE=copy" |
||||
"BUILD_OPT=1" |
||||
"SOURCE_PREFIX=\$(out)" |
||||
"NSS_ENABLE_ECC=1" |
||||
"USE_SYSTEM_ZLIB=1" |
||||
"NSS_USE_SYSTEM_SQLITE=1" |
||||
"NATIVE_CC=${buildPackages.stdenv.cc}/bin/cc" |
||||
] ++ lib.optionals (!stdenv.isDarwin) [ |
||||
# Pass in CPU even if we're not cross compiling, because otherwise it tries to guess with |
||||
# uname, which can be wrong if e.g. we're compiling for aarch32 on aarch64 |
||||
"OS_TEST=${cpu}" |
||||
"CPU_ARCH=${cpu}" |
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ |
||||
"CROSS_COMPILE=1" |
||||
"NSS_DISABLE_GTESTS=1" # don't want to build tests when cross-compiling |
||||
] ++ lib.optional stdenv.is64bit "USE_64=1" |
||||
++ lib.optional stdenv.isDarwin "CCC=clang++"; |
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error"; |
||||
|
||||
# TODO(@oxij): investigate this: `make -n check` works but `make |
||||
# check` fails with "no rule", same for "installcheck". |
||||
doCheck = false; |
||||
doInstallCheck = false; |
||||
|
||||
postInstall = '' |
||||
rm -rf $out/private |
||||
mv $out/public $out/include |
||||
mv $out/*.OBJ/* $out/ |
||||
rmdir $out/*.OBJ |
||||
|
||||
ln -s lib $out/lib64 |
||||
|
||||
# Upstream issue: https://bugzilla.mozilla.org/show_bug.cgi?id=530672 |
||||
# https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/nss/files/nss-3.32-gentoo-fixups.patch?id=af1acce6c6d2c3adb17689261dfe2c2b6771ab8a |
||||
NSS_MAJOR_VERSION=`grep "NSS_VMAJOR" lib/nss/nss.h | awk '{print $3}'` |
||||
NSS_MINOR_VERSION=`grep "NSS_VMINOR" lib/nss/nss.h | awk '{print $3}'` |
||||
NSS_PATCH_VERSION=`grep "NSS_VPATCH" lib/nss/nss.h | awk '{print $3}'` |
||||
PREFIX="$out" |
||||
|
||||
mkdir -p $out/lib/pkgconfig |
||||
sed -e "s,%prefix%,$PREFIX," \ |
||||
-e "s,%exec_prefix%,$PREFIX," \ |
||||
-e "s,%libdir%,$PREFIX/lib64," \ |
||||
-e "s,%includedir%,$dev/include/nss," \ |
||||
-e "s,%NSS_VERSION%,$NSS_MAJOR_VERSION.$NSS_MINOR_VERSION.$NSS_PATCH_VERSION,g" \ |
||||
-e "s,%NSPR_VERSION%,4.16,g" \ |
||||
pkg/pkg-config/nss.pc.in > $out/lib/pkgconfig/nss.pc |
||||
chmod 0644 $out/lib/pkgconfig/nss.pc |
||||
|
||||
sed -e "s,@prefix@,$PREFIX," \ |
||||
-e "s,@MOD_MAJOR_VERSION@,$NSS_MAJOR_VERSION," \ |
||||
-e "s,@MOD_MINOR_VERSION@,$NSS_MINOR_VERSION," \ |
||||
-e "s,@MOD_PATCH_VERSION@,$NSS_PATCH_VERSION," \ |
||||
pkg/pkg-config/nss-config.in > $out/bin/nss-config |
||||
chmod 0755 $out/bin/nss-config |
||||
''; |
||||
|
||||
postFixup = let |
||||
isCross = stdenv.hostPlatform != stdenv.buildPlatform; |
||||
nss = if isCross then buildPackages.nss.tools else "$out"; |
||||
in '' |
||||
for libname in freebl3 nssdbm3 softokn3 |
||||
do '' + |
||||
(if stdenv.isDarwin |
||||
then '' |
||||
libfile="$out/lib/lib$libname.dylib" |
||||
DYLD_LIBRARY_PATH=$out/lib:${nspr.out}/lib \ |
||||
'' else '' |
||||
libfile="$out/lib/lib$libname.so" |
||||
LD_LIBRARY_PATH=$out/lib:${nspr.out}/lib \ |
||||
'') + '' |
||||
${nss}/bin/shlibsign -v -i "$libfile" |
||||
done |
||||
|
||||
moveToOutput bin "$tools" |
||||
moveToOutput bin/nss-config "$dev" |
||||
moveToOutput lib/libcrmf.a "$dev" # needed by firefox, for example |
||||
rm -f "$out"/lib/*.a |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://developer.mozilla.org/en-US/docs/NSS"; |
||||
description = "A set of libraries for development of security-enabled client and server applications"; |
||||
license = licenses.mpl20; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
@ -1,81 +0,0 @@ |
||||
diff -ru -x '*~' -x '*.orig' -x '*.rej' nss/cmd/shlibsign/shlibsign.c nss/cmd/shlibsign/shlibsign.c
|
||||
--- nss/cmd/shlibsign/shlibsign.c 2017-01-04 15:24:24.000000000 +0100
|
||||
+++ nss/cmd/shlibsign/shlibsign.c 2017-01-24 14:43:31.030420852 +0100
|
||||
@@ -875,6 +875,8 @@
|
||||
goto cleanup;
|
||||
}
|
||||
lib = PR_LoadLibrary(libname);
|
||||
+ if (!lib)
|
||||
+ lib = PR_LoadLibrary(NIX_NSS_LIBDIR"libsoftokn3.so");
|
||||
assert(lib != NULL);
|
||||
if (!lib) {
|
||||
PR_fprintf(PR_STDERR, "loading softokn3 failed");
|
||||
diff -ru -x '*~' -x '*.orig' -x '*.rej' nss/coreconf/config.mk nss/coreconf/config.mk
|
||||
--- nss/coreconf/config.mk 2017-01-04 15:24:24.000000000 +0100
|
||||
+++ nss/coreconf/config.mk 2017-01-24 14:43:47.989432372 +0100
|
||||
@@ -202,3 +202,6 @@
|
||||
|
||||
# Hide old, deprecated, TLS cipher suite names when building NSS
|
||||
DEFINES += -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
|
||||
+
|
||||
+# Nix specific stuff.
|
||||
+DEFINES += -DNIX_NSS_LIBDIR=\"$(out)/lib/\"
|
||||
diff -ru -x '*~' -x '*.orig' -x '*.rej' nss/lib/pk11wrap/pk11load.c nss/lib/pk11wrap/pk11load.c
|
||||
--- nss/lib/pk11wrap/pk11load.c 2017-01-04 15:24:24.000000000 +0100
|
||||
+++ nss/lib/pk11wrap/pk11load.c 2017-01-24 14:45:06.883485652 +0100
|
||||
@@ -440,6 +440,13 @@
|
||||
* unload the library if anything goes wrong from here on out...
|
||||
*/
|
||||
library = PR_LoadLibrary(mod->dllName);
|
||||
+ if ((library == NULL) &&
|
||||
+ !rindex(mod->dllName, PR_GetDirectorySeparator())) {
|
||||
+ library = PORT_LoadLibraryFromOrigin(my_shlib_name,
|
||||
+ (PRFuncPtr) &softoken_LoadDSO,
|
||||
+ mod->dllName);
|
||||
+ }
|
||||
+
|
||||
mod->library = (void *)library;
|
||||
|
||||
if (library == NULL) {
|
||||
diff -ru -x '*~' -x '*.orig' -x '*.rej' nss/lib/util/secload.c nss/lib/util/secload.c
|
||||
--- nss/lib/util/secload.c 2017-01-04 15:24:24.000000000 +0100
|
||||
+++ nss/lib/util/secload.c 2017-01-24 14:43:31.030420852 +0100
|
||||
@@ -70,9 +70,14 @@
|
||||
|
||||
/* Remove the trailing filename from referencePath and add the new one */
|
||||
c = strrchr(referencePath, PR_GetDirectorySeparator());
|
||||
+ if (!c) { /* referencePath doesn't contain a / means that dladdr gave us argv[0]
|
||||
+ * and program was called from $PATH. Hack to get libs from NIX_NSS_LIBDIR */
|
||||
+ referencePath = NIX_NSS_LIBDIR;
|
||||
+ c = (char*) &referencePath[sizeof(NIX_NSS_LIBDIR) - 1]; /* last / */
|
||||
+ }
|
||||
if (c) {
|
||||
size_t referencePathSize = 1 + c - referencePath;
|
||||
- fullName = (char*)PORT_Alloc(strlen(name) + referencePathSize + 1);
|
||||
+ fullName = (char*) PORT_Alloc(strlen(name) + referencePathSize + 5);
|
||||
if (fullName) {
|
||||
memcpy(fullName, referencePath, referencePathSize);
|
||||
strcpy(fullName + referencePathSize, name);
|
||||
@@ -82,6 +87,11 @@
|
||||
#endif
|
||||
libSpec.type = PR_LibSpec_Pathname;
|
||||
libSpec.value.pathname = fullName;
|
||||
+ if ((referencePathSize >= 4) &&
|
||||
+ (strncmp(fullName + referencePathSize - 4, "bin", 3) == 0)) {
|
||||
+ memcpy(fullName + referencePathSize -4, "lib", 3);
|
||||
+ }
|
||||
+ strcpy(fullName + referencePathSize, name);
|
||||
dlh = PR_LoadLibraryWithFlags(libSpec, PR_LD_NOW | PR_LD_LOCAL
|
||||
#ifdef PR_LD_ALT_SEARCH_PATH
|
||||
/* allow library's dependencies to be found in the same directory
|
||||
@@ -89,6 +99,10 @@
|
||||
| PR_LD_ALT_SEARCH_PATH
|
||||
#endif
|
||||
);
|
||||
+ if (! dlh) {
|
||||
+ strcpy(fullName + referencePathSize, name);
|
||||
+ dlh = PR_LoadLibraryWithFlags(libSpec, PR_LD_NOW | PR_LD_LOCAL);
|
||||
+ }
|
||||
PORT_Free(fullName);
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@ |
||||
{ lib, fetchurl, buildPythonPackage, python, isPyPy, sip-module ? "sip" }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = sip-module; |
||||
version = "4.19.25"; |
||||
format = "other"; |
||||
|
||||
disabled = isPyPy; |
||||
|
||||
src = fetchurl { |
||||
url = "https://www.riverbankcomputing.com/static/Downloads/sip/${version}/sip-${version}.tar.gz"; |
||||
sha256 = "04a23cgsnx150xq86w1z44b6vr2zyazysy9mqax0fy346zlr77dk"; |
||||
}; |
||||
|
||||
configurePhase = '' |
||||
${python.executable} ./configure.py \ |
||||
--sip-module ${sip-module} \ |
||||
-d $out/${python.sitePackages} \ |
||||
-b $out/bin -e $out/include |
||||
''; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
installCheckPhase = let |
||||
modules = [ |
||||
sip-module |
||||
"sipconfig" |
||||
]; |
||||
imports = lib.concatMapStrings (module: "import ${module};") modules; |
||||
in '' |
||||
echo "Checking whether modules can be imported..." |
||||
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ${python.interpreter} -c "${imports}" |
||||
''; |
||||
|
||||
doCheck = true; |
||||
|
||||
meta = with lib; { |
||||
description = "Creates C++ bindings for Python modules"; |
||||
homepage = "http://www.riverbankcomputing.co.uk/"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ lovek323 sander ]; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
@ -1,40 +0,0 @@ |
||||
{ lib, stdenv, fetchPypi, buildPythonPackage, packaging, toml }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "sip"; |
||||
version = "5.5.0"; |
||||
|
||||
src = fetchPypi { |
||||
pname = "sip"; |
||||
inherit version; |
||||
sha256 = "1idaivamp1jvbbai9yzv471c62xbqxhaawccvskaizihkd0lq0jx"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ packaging toml ]; |
||||
|
||||
# There aren't tests |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "sipbuild" ]; |
||||
|
||||
# FIXME: Why isn't this detected automatically? |
||||
# Needs to be specified in pyproject.toml, e.g.: |
||||
# [tool.sip.bindings.MODULE] |
||||
# tags = [PLATFORM_TAG] |
||||
platform_tag = |
||||
if stdenv.targetPlatform.isLinux then |
||||
"WS_X11" |
||||
else if stdenv.targetPlatform.isDarwin then |
||||
"WS_MACX" |
||||
else if stdenv.targetPlatform.isWindows then |
||||
"WS_WIN" |
||||
else |
||||
throw "unsupported platform"; |
||||
|
||||
meta = with lib; { |
||||
description = "Creates C++ bindings for Python modules"; |
||||
homepage = "http://www.riverbankcomputing.co.uk/"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ eduardosm ]; |
||||
}; |
||||
} |
@ -1,44 +1,40 @@ |
||||
{ lib, fetchurl, buildPythonPackage, python, isPyPy, sip-module ? "sip" }: |
||||
{ lib, stdenv, fetchPypi, buildPythonPackage, packaging, toml }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = sip-module; |
||||
version = "4.19.24"; |
||||
format = "other"; |
||||
pname = "sip"; |
||||
version = "5.5.0"; |
||||
|
||||
disabled = isPyPy; |
||||
|
||||
src = fetchurl { |
||||
url = "https://www.riverbankcomputing.com/static/Downloads/sip/${version}/sip-${version}.tar.gz"; |
||||
sha256 = "1ra15vb5i9gkg2vdvh16cq9x2mmzw1yi3xphxs8q34q1pf83gkgd"; |
||||
src = fetchPypi { |
||||
pname = "sip"; |
||||
inherit version; |
||||
sha256 = "1idaivamp1jvbbai9yzv471c62xbqxhaawccvskaizihkd0lq0jx"; |
||||
}; |
||||
|
||||
configurePhase = '' |
||||
${python.executable} ./configure.py \ |
||||
--sip-module ${sip-module} \ |
||||
-d $out/${python.sitePackages} \ |
||||
-b $out/bin -e $out/include |
||||
''; |
||||
propagatedBuildInputs = [ packaging toml ]; |
||||
|
||||
enableParallelBuilding = true; |
||||
# There aren't tests |
||||
doCheck = false; |
||||
|
||||
installCheckPhase = let |
||||
modules = [ |
||||
sip-module |
||||
"sipconfig" |
||||
]; |
||||
imports = lib.concatMapStrings (module: "import ${module};") modules; |
||||
in '' |
||||
echo "Checking whether modules can be imported..." |
||||
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ${python.interpreter} -c "${imports}" |
||||
''; |
||||
pythonImportsCheck = [ "sipbuild" ]; |
||||
|
||||
doCheck = true; |
||||
# FIXME: Why isn't this detected automatically? |
||||
# Needs to be specified in pyproject.toml, e.g.: |
||||
# [tool.sip.bindings.MODULE] |
||||
# tags = [PLATFORM_TAG] |
||||
platform_tag = |
||||
if stdenv.targetPlatform.isLinux then |
||||
"WS_X11" |
||||
else if stdenv.targetPlatform.isDarwin then |
||||
"WS_MACX" |
||||
else if stdenv.targetPlatform.isWindows then |
||||
"WS_WIN" |
||||
else |
||||
throw "unsupported platform"; |
||||
|
||||
meta = with lib; { |
||||
description = "Creates C++ bindings for Python modules"; |
||||
homepage = "http://www.riverbankcomputing.co.uk/"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ lovek323 sander ]; |
||||
platforms = platforms.all; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ eduardosm ]; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,12 @@ |
||||
diff --git a/src/configuration.h b/src/configuration.h
|
||||
index 34fd690..97fb0e5 100644
|
||||
--- a/src/configuration.h
|
||||
+++ b/src/configuration.h
|
||||
@@ -2,6 +2,7 @@
|
||||
#define CONFIGURATION_H
|
||||
|
||||
#include <map>
|
||||
+#include <string>
|
||||
|
||||
namespace config
|
||||
{
|
Loading…
Reference in new issue