[arch-commits] Commit in firefox/repos (6 files)

2020-07-27 Thread Jan Steffens via arch-commits
Date: Monday, July 27, 2020 @ 22:03:52
  Author: heftig
Revision: 392596

archrelease: copy trunk to testing-x86_64

Added:
  firefox/repos/testing-x86_64/
  
firefox/repos/testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch
(from rev 392595, 
firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch)
  firefox/repos/testing-x86_64/PKGBUILD
(from rev 392595, firefox/trunk/PKGBUILD)
  firefox/repos/testing-x86_64/bug1654465.diff
(from rev 392595, firefox/trunk/bug1654465.diff)
  firefox/repos/testing-x86_64/firefox.desktop
(from rev 392595, firefox/trunk/firefox.desktop)
  firefox/repos/testing-x86_64/upload-symbol-archive
(from rev 392595, firefox/trunk/upload-symbol-archive)

+
 0001-Use-remoting-name-for-GDK-application-names.patch |   59 ++
 PKGBUILD   |  225 +
 bug1654465.diff|   77 +++
 firefox.desktop|  340 +++
 upload-symbol-archive  |   25 +
 5 files changed, 726 insertions(+)

Copied: 
firefox/repos/testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch
 (from rev 392595, 
firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch)
===
--- testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch   
(rev 0)
+++ testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch   
2020-07-27 22:03:52 UTC (rev 392596)
@@ -0,0 +1,59 @@
+From 5025aab61517c8608b555ba929c61eb0706bd6bd Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Mon, 25 Mar 2019 20:30:11 +0100
+Subject: [PATCH] Use remoting name for GDK application names
+
+---
+ toolkit/xre/nsAppRunner.cpp |  6 +-
+ widget/gtk/nsAppShell.cpp   | 11 ---
+ 2 files changed, 5 insertions(+), 12 deletions(-)
+
+diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
+index da8289200e72..452195b146f3 100644
+--- a/toolkit/xre/nsAppRunner.cpp
 b/toolkit/xre/nsAppRunner.cpp
+@@ -3785,11 +3785,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
+   // consistently.
+ 
+   // Set program name to the one defined in application.ini.
+-  {
+-nsAutoCString program(gAppData->name);
+-ToLowerCase(program);
+-g_set_prgname(program.get());
+-  }
++  g_set_prgname(gAppData->remotingName);
+ 
+   // Initialize GTK here for splash.
+ 
+diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
+index 163a93e2d1a4..4b6d45217671 100644
+--- a/widget/gtk/nsAppShell.cpp
 b/widget/gtk/nsAppShell.cpp
+@@ -24,6 +24,7 @@
+ #  include "WakeLockListener.h"
+ #endif
+ #include "gfxPlatform.h"
++#include "nsAppRunner.h"
+ #include "ScreenHelperGTK.h"
+ #include "HeadlessScreenHelper.h"
+ #include "mozilla/widget/ScreenManager.h"
+@@ -175,13 +176,9 @@ nsresult nsAppShell::Init() {
+   // See https://bugzilla.gnome.org/show_bug.cgi?id=747634
+   //
+   // Only bother doing this for the parent process, since it's the one
+-  // creating top-level windows. (At this point, a child process hasn't
+-  // received the list of registered chrome packages, so the
+-  // GetBrandShortName call would fail anyway.)
+-  nsAutoString brandName;
+-  mozilla::widget::WidgetUtils::GetBrandShortName(brandName);
+-  if (!brandName.IsEmpty()) {
+-gdk_set_program_class(NS_ConvertUTF16toUTF8(brandName).get());
++  // creating top-level windows.
++  if (gAppData) {
++gdk_set_program_class(gAppData->remotingName);
+   }
+ }
+   }
+-- 
+2.26.1
+

Copied: firefox/repos/testing-x86_64/PKGBUILD (from rev 392595, 
firefox/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-07-27 22:03:52 UTC (rev 392596)
@@ -0,0 +1,225 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+# Contributor: Jakub Schmidtke 
+
+pkgname=firefox
+pkgver=79.0
+pkgrel=1
+pkgdesc="Standalone web browser from mozilla.org"
+arch=(x86_64)
+license=(MPL GPL LGPL)
+url="https://www.mozilla.org/firefox/;
+depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
+makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
+ autoconf2.13 rust clang llvm jack gtk2 nodejs cbindgen nasm
+ python-setuptools python-psutil lld)
+optdepends=('networkmanager: Location detection via available WiFi networks'
+'libnotify: Notification integration'
+'pulseaudio: Audio support'
+'speech-dispatcher: Text-to-Speech'
+'hunspell-en_US: Spell checking, American English')
+options=(!emptydirs !makeflags !strip)

[arch-commits] Commit in firefox/repos (6 files)

2019-12-02 Thread Jan Steffens via arch-commits
Date: Tuesday, December 3, 2019 @ 01:22:59
  Author: heftig
Revision: 370250

archrelease: copy trunk to testing-x86_64

Added:
  firefox/repos/testing-x86_64/
  
firefox/repos/testing-x86_64/0001-Bug-1212502-Switch-mozinfo-to-using-the-distro-packa.patch
(from rev 370249, 
firefox/trunk/0001-Bug-1212502-Switch-mozinfo-to-using-the-distro-packa.patch)
  
firefox/repos/testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch
(from rev 370249, 
firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch)
  firefox/repos/testing-x86_64/PKGBUILD
(from rev 370249, firefox/trunk/PKGBUILD)
  firefox/repos/testing-x86_64/firefox.desktop
(from rev 370249, firefox/trunk/firefox.desktop)
  firefox/repos/testing-x86_64/upload-symbol-archive
(from rev 370249, firefox/trunk/upload-symbol-archive)

-+
 0001-Bug-1212502-Switch-mozinfo-to-using-the-distro-packa.patch | 7312 
++
 0001-Use-remoting-name-for-GDK-application-names.patch  |   55 
 PKGBUILD|  230 
 firefox.desktop |  340 
 upload-symbol-archive   |   25 
 5 files changed, 7962 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 370249:370250 to see the changes.


[arch-commits] Commit in firefox/repos (6 files)

2019-09-02 Thread Jan Steffens via arch-commits
Date: Monday, September 2, 2019 @ 21:30:02
  Author: heftig
Revision: 361501

archrelease: copy trunk to testing-x86_64

Added:
  firefox/repos/testing-x86_64/
  
firefox/repos/testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch
(from rev 361500, 
firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch)
  firefox/repos/testing-x86_64/PKGBUILD
(from rev 361500, firefox/trunk/PKGBUILD)
  firefox/repos/testing-x86_64/firefox-symbolic.svg
(from rev 361500, firefox/trunk/firefox-symbolic.svg)
  firefox/repos/testing-x86_64/firefox.desktop
(from rev 361500, firefox/trunk/firefox.desktop)
  firefox/repos/testing-x86_64/upload-symbol-archive
(from rev 361500, firefox/trunk/upload-symbol-archive)

+
 0001-Use-remoting-name-for-GDK-application-names.patch |   56 ++
 PKGBUILD   |  177 +++
 firefox-symbolic.svg   |   64 ++
 firefox.desktop|  340 +++
 upload-symbol-archive  |   25 +
 5 files changed, 662 insertions(+)

Copied: 
firefox/repos/testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch
 (from rev 361500, 
firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch)
===
--- testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch   
(rev 0)
+++ testing-x86_64/0001-Use-remoting-name-for-GDK-application-names.patch   
2019-09-02 21:30:02 UTC (rev 361501)
@@ -0,0 +1,56 @@
+From 1cab10b39cfda068100cab8c598f1ca0f50e4131 Mon Sep 17 00:00:00 2001
+Message-Id: 
<1cab10b39cfda068100cab8c598f1ca0f50e4131.1553597287.git.jan.steff...@gmail.com>
+From: "Jan Alexander Steffens (heftig)" 
+Date: Mon, 25 Mar 2019 20:30:11 +0100
+Subject: [PATCH] Use remoting name for GDK application names
+
+---
+ toolkit/xre/nsAppRunner.cpp | 6 +-
+ widget/gtk/nsAppShell.cpp   | 7 +++
+ 2 files changed, 4 insertions(+), 9 deletions(-)
+
+diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
+index 0b808ef215f06..28911c0ffeaec 100644
+--- a/toolkit/xre/nsAppRunner.cpp
 b/toolkit/xre/nsAppRunner.cpp
+@@ -3728,11 +3728,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
+   // consistently.
+ 
+   // Set program name to the one defined in application.ini.
+-  {
+-nsAutoCString program(gAppData->name);
+-ToLowerCase(program);
+-g_set_prgname(program.get());
+-  }
++  g_set_prgname(gAppData->remotingName);
+ 
+   // Initialize GTK here for splash.
+ 
+diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
+index 0686ff814916b..ae4a4ea55f420 100644
+--- a/widget/gtk/nsAppShell.cpp
 b/widget/gtk/nsAppShell.cpp
+@@ -24,6 +24,7 @@
+ #  include "WakeLockListener.h"
+ #endif
+ #include "gfxPlatform.h"
++#include "nsAppRunner.h"
+ #include "ScreenHelperGTK.h"
+ #include "HeadlessScreenHelper.h"
+ #include "mozilla/widget/ScreenManager.h"
+@@ -171,10 +172,8 @@ nsresult nsAppShell::Init() {
+ // option when program uses gdk_set_program_class().
+ //
+ // See https://bugzilla.gnome.org/show_bug.cgi?id=747634
+-nsAutoString brandName;
+-mozilla::widget::WidgetUtils::GetBrandShortName(brandName);
+-if (!brandName.IsEmpty()) {
+-  gdk_set_program_class(NS_ConvertUTF16toUTF8(brandName).get());
++if (gAppData) {
++  gdk_set_program_class(gAppData->remotingName);
+ }
+   }
+ 
+-- 
+2.21.0
+

Copied: firefox/repos/testing-x86_64/PKGBUILD (from rev 361500, 
firefox/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-09-02 21:30:02 UTC (rev 361501)
@@ -0,0 +1,177 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+# Contributor: Jakub Schmidtke 
+
+pkgname=firefox
+pkgver=69.0
+pkgrel=1
+pkgdesc="Standalone web browser from mozilla.org"
+arch=(x86_64)
+license=(MPL GPL LGPL)
+url="https://www.mozilla.org/firefox/;
+depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib
+ ffmpeg nss ttf-font libpulse)
+makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils
+ xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2
+ python nodejs python2-psutil cbindgen nasm)
+optdepends=('networkmanager: Location detection via available WiFi networks'
+'libnotify: Notification integration'
+'pulseaudio: Audio support'
+'speech-dispatcher: Text-to-Speech'
+'hunspell-en_US: Spell checking, American English')
+options=(!emptydirs !makeflags !strip)
+source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
+

[arch-commits] Commit in firefox/repos (6 files)

2018-03-27 Thread Evangelos Foutras via arch-commits
Date: Tuesday, March 27, 2018 @ 23:19:19
  Author: foutrelis
Revision: 320447

archrelease: copy trunk to staging-x86_64

Added:
  firefox/repos/staging-x86_64/
  firefox/repos/staging-x86_64/PKGBUILD
(from rev 320446, firefox/trunk/PKGBUILD)
  firefox/repos/staging-x86_64/firefox-symbolic.svg
(from rev 320446, firefox/trunk/firefox-symbolic.svg)
  firefox/repos/staging-x86_64/firefox.desktop
(from rev 320446, firefox/trunk/firefox.desktop)
  firefox/repos/staging-x86_64/no-crmf.diff
(from rev 320446, firefox/trunk/no-crmf.diff)
  firefox/repos/staging-x86_64/upload-symbol-archive
(from rev 320446, firefox/trunk/upload-symbol-archive)

---+
 PKGBUILD  |  178 +++
 firefox-symbolic.svg  |   64 +
 firefox.desktop   |  311 
 no-crmf.diff  |   15 ++
 upload-symbol-archive |   24 +++
 5 files changed, 592 insertions(+)

Copied: firefox/repos/staging-x86_64/PKGBUILD (from rev 320446, 
firefox/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-03-27 23:19:19 UTC (rev 320447)
@@ -0,0 +1,178 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+# Contributor: Jakub Schmidtke 
+
+pkgname=firefox
+pkgver=59.0.2
+pkgrel=2
+pkgdesc="Standalone web browser from mozilla.org"
+arch=(x86_64)
+license=(MPL GPL LGPL)
+url="https://www.mozilla.org/firefox/;
+depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib 
ffmpeg
+ nss hunspell sqlite ttf-font libpulse libvpx icu)
+makedepends=(unzip zip diffutils python2 yasm mesa imake gconf inetutils 
xorg-server-xvfb
+ autoconf2.13 rust mercurial clang llvm jack gtk2)
+optdepends=('networkmanager: Location detection via available WiFi networks'
+'libnotify: Notification integration'
+'pulseaudio: Audio support'
+'speech-dispatcher: Text-to-Speech')
+options=(!emptydirs !makeflags !strip)
+_repo=https://hg.mozilla.org/mozilla-unified
+source=("hg+$_repo#tag=FIREFOX_${pkgver//./_}_RELEASE"
+$pkgname.desktop firefox-symbolic.svg
+no-crmf.diff)
+sha256sums=('SKIP'
+'677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a'
+'9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797'
+'02000d185e647aa20ca336e595b4004bb29cdae9d8f317f90078bdcc7a36e873')
+
+# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact foutre...@archlinux.org for
+# more information.
+_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+
+# Mozilla API keys (see https://location.services.mozilla.com/api)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact hef...@archlinux.org for
+# more information.
+_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
+
+prepare() {
+  mkdir path
+  ln -s /usr/bin/python2 path/python
+
+  cd mozilla-unified
+
+  # https://bugzilla.mozilla.org/show_bug.cgi?id=1371991
+  patch -Np1 -i ../no-crmf.diff
+
+  echo -n "$_google_api_key" >google-api-key
+  echo -n "$_mozilla_api_key" >mozilla-api-key
+
+  cat >.mozconfig 
+  
+
+  
+image/svg+xml
+http://purl.org/dc/dcmitype/StillImage; />
+Gnome Symbolic Icon Theme
+  
+
+  
+  
+  
+
+  
+  Gnome Symbolic Icon Theme
+  
+

Copied: firefox/repos/staging-x86_64/firefox.desktop (from rev 320446, 
firefox/trunk/firefox.desktop)
===
--- staging-x86_64/firefox.desktop