Last active
August 29, 2015 13:57
-
-
Save dffischer/9762086 to your computer and use it in GitHub Desktop.
firefox-gnome-keyring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur a/GnomeKeyring.cpp b/GnomeKeyring.cpp | |
--- a/GnomeKeyring.cpp 2013-12-30 12:00:59.000000000 +0100 | |
+++ b/GnomeKeyring.cpp 2014-03-25 13:49:10.721467356 +0100 | |
@@ -37,6 +37,9 @@ | |
* | |
* ***** END LICENSE BLOCK ***** */ | |
+#define __PRUNICHAR__ | |
+typedef char16_t PRUnichar; | |
+ | |
#include "GnomeKeyring.h" | |
#include "nsMemory.h" | |
#include "nsILoginInfo.h" | |
@@ -614,8 +617,7 @@ | |
return ret; | |
} | |
-NS_IMETHODIMP GnomeKeyring::InitWithFile(nsIFile *aInputFile, | |
- nsIFile *aOutputFile) | |
+NS_IMETHODIMP GnomeKeyring::InitWithFile(nsIFile *aInputFile) | |
{ | |
// TODO | |
return Init(); | |
diff -Naur a/xpcom_abi.cpp b/xpcom_abi.cpp | |
--- a/xpcom_abi.cpp 2013-12-30 12:00:59.000000000 +0100 | |
+++ b/xpcom_abi.cpp 2014-03-25 13:47:39.831765249 +0100 | |
@@ -1,3 +1,4 @@ | |
+#define __PRUNICHAR__ | |
#include <stdio.h> | |
#include <stdint.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname='firefox-gnome-keyring' | |
pkgver=26.0 | |
pkgrel=1 | |
pkgdesc="Gnome-keyring integration for Firefox" | |
arch=('i686' 'x86_64') | |
url='http://github.com/lepokle/firefox-gnome-keyring' | |
license=('GPL') | |
depends=('firefox>=26.0' 'gnome-keyring') | |
makedepends=('zip' 'unzip' 'libgnome-keyring' 'xulrunner-current>=27.0') | |
provides=('firefox-gnome-keyring') | |
source=("${pkgname}-v${pkgver}-$pkgrel.tar.gz::$url/tarball/v$pkgver-$pkgrel" | |
"27.patch") | |
md5sums=('3ee9b05584f8909dd7a05f528b618549' | |
'0d48e79b64a95bae3e52baa61646e1c6') | |
_subdir="lepokle-firefox-gnome-keyring-64de0ee" | |
build() | |
{ | |
cd ${srcdir}/${_subdir} | |
patch -p1 < ../../27.patch | |
msg "Building extension..." | |
make | |
} | |
package() | |
{ | |
cd ${srcdir} | |
mkdir -p ${pkgdir}/usr/lib/firefox/browser/extensions | |
unzip ${srcdir}/${_subdir}/mozilla-gnome-keyring-*.xpi -d ${pkgdir}/usr/lib/firefox/browser/extensions/{6f9d85e0-794d-11dd-ad8b-0800200c9a66} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment