1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

gecko: restore support for native extensions after r470668/r470672

PR:		226919
This commit is contained in:
Jan Beich 2018-05-23 05:19:16 +00:00
parent e343dd85af
commit 35d5410cfa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470675
10 changed files with 19 additions and 19 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= thunderbird
DISTVERSION= 52.8.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= mail news net-im ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source

View File

@ -45,7 +45,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
addon.isPlatformCompatible = Array.some(nodes, function(aNode) {
let text = aNode.textContent.toLowerCase().trim();
- return text == "all" || text == Services.appinfo.OS.toLowerCase();
+ return text == "all" || text == "linux";
+ return text == "all" || text == "linux" || text == Services.appinfo.OS.toLowerCase();
});
break;
case "install":
@ -54,7 +54,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
let os = node.getAttribute("os").trim().toLowerCase();
// If the os is not ALL and not the current OS then ignore this xpi
- if (os != "all" && os != Services.appinfo.OS.toLowerCase())
+ if (os != "all" && os != "linux")
+ if (os != "all" && os != "linux" && os != Services.appinfo.OS.toLowerCase())
break;
}
@ -67,7 +67,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
try {
for (let platform of this.targetPlatforms) {
- if (platform.os == Services.appinfo.OS) {
+ if (platform.os == "Linux") {
+ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) {
if (platform.abi) {
needsABI = true;
if (platform.abi === abi)

View File

@ -4,7 +4,7 @@
PORTNAME= firefox
DISTVERSION= 52.8.0
DISTVERSIONSUFFIX=esr
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \

View File

@ -44,7 +44,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
addon.isPlatformCompatible = Array.some(nodes, function(aNode) {
let text = aNode.textContent.toLowerCase().trim();
- return text == "all" || text == Services.appinfo.OS.toLowerCase();
+ return text == "all" || text == "linux";
+ return text == "all" || text == "linux" || text == Services.appinfo.OS.toLowerCase();
});
break;
case "install":
@ -53,7 +53,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
let os = node.getAttribute("os").trim().toLowerCase();
// If the os is not ALL and not the current OS then ignore this xpi
- if (os != "all" && os != Services.appinfo.OS.toLowerCase())
+ if (os != "all" && os != "linux")
+ if (os != "all" && os != "linux" && os != Services.appinfo.OS.toLowerCase())
break;
}
@ -66,7 +66,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
try {
for (let platform of this.targetPlatforms) {
- if (platform.os == Services.appinfo.OS) {
+ if (platform.os == "Linux") {
+ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) {
if (platform.abi) {
needsABI = true;
if (platform.abi === abi)

View File

@ -3,7 +3,7 @@
PORTNAME= firefox
DISTVERSION= 60.0.1
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

View File

@ -36,7 +36,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
if (Array.isArray(aEntry.current_version.files)) {
for (let file of aEntry.current_version.files) {
- if (file.platform == "all" || file.platform == Services.appinfo.OS.toLowerCase()) {
+ if (file.platform == "all" || file.platform == "linux") {
+ if (file.platform == "all" || file.platform == "linux" || file.platform == Services.appinfo.OS.toLowerCase()) {
if (file.url) {
addon.sourceURI = NetUtil.newURI(file.url);
}
@ -49,7 +49,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
try {
for (let platform of this.targetPlatforms) {
- if (platform.os == Services.appinfo.OS) {
+ if (platform.os == "Linux") {
+ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) {
if (platform.abi) {
needsABI = true;
if (platform.abi === abi)

View File

@ -3,7 +3,7 @@
PORTNAME= seamonkey
DISTVERSION= 2.49.3
PORTREVISION= 6
PORTREVISION= 7
MOZILLA_VER= 52 # above + 3
CATEGORIES?= www mail news editors irc ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

View File

@ -42,7 +42,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
addon.isPlatformCompatible = Array.some(nodes, function(aNode) {
let text = aNode.textContent.toLowerCase().trim();
- return text == "all" || text == Services.appinfo.OS.toLowerCase();
+ return text == "all" || text == "linux";
+ return text == "all" || text == "linux" || text == Services.appinfo.OS.toLowerCase();
});
break;
case "install":
@ -51,7 +51,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
let os = node.getAttribute("os").trim().toLowerCase();
// If the os is not ALL and not the current OS then ignore this xpi
- if (os != "all" && os != Services.appinfo.OS.toLowerCase())
+ if (os != "all" && os != "linux")
+ if (os != "all" && os != "linux" && os != Services.appinfo.OS.toLowerCase())
break;
}
@ -64,7 +64,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
try {
for (let platform of this.targetPlatforms) {
- if (platform.os == Services.appinfo.OS) {
+ if (platform.os == "Linux") {
+ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) {
if (platform.abi) {
needsABI = true;
if (platform.abi === abi)

View File

@ -3,7 +3,7 @@
PORTNAME= waterfox
DISTVERSION= 56.2.0-13
DISTVERSIONSUFFIX= -gd2cdd42f4115b
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www ipv6
MAINTAINER= jbeich@FreeBSD.org

View File

@ -42,7 +42,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
addon.isPlatformCompatible = Array.some(nodes, function(aNode) {
let text = aNode.textContent.toLowerCase().trim();
- return text == "all" || text == Services.appinfo.OS.toLowerCase();
+ return text == "all" || text == "linux";
+ return text == "all" || text == "linux" || text == Services.appinfo.OS.toLowerCase();
});
break;
case "install":
@ -51,7 +51,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
let os = node.getAttribute("os").trim().toLowerCase();
// If the os is not ALL and not the current OS then ignore this xpi
- if (os != "all" && os != Services.appinfo.OS.toLowerCase())
+ if (os != "all" && os != "linux")
+ if (os != "all" && os != "linux" && os != Services.appinfo.OS.toLowerCase())
break;
}
@ -64,7 +64,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
try {
for (let platform of this.targetPlatforms) {
- if (platform.os == Services.appinfo.OS) {
+ if (platform.os == "Linux") {
+ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) {
if (platform.abi) {
needsABI = true;
if (platform.abi === abi)