From 4304d91af802aad96323f7391d7d76c7ddba063a Mon Sep 17 00:00:00 2001 From: Will Featherston Date: Thu, 23 Feb 2017 17:12:26 -0500 Subject: [PATCH 1/1] Initial commit of riot --- Makefile | 1 + abi_used_libs | 41 +++++++++++++++++++++++ files/0001-patch-deb-electron-build.patch | 24 ++++++++++++++ files/remove-google-analytics.patch | 53 ++++++++++++++++++++++++++++++ files/riot.desktop | 9 ++++++ package.yml | 54 +++++++++++++++++++++++++++++++ pspec_x86_64.xml | 53 ++++++++++++++++++++++++++++++ 7 files changed, 235 insertions(+) create mode 100644 Makefile create mode 100644 abi_used_libs create mode 100644 files/0001-patch-deb-electron-build.patch create mode 100644 files/remove-google-analytics.patch create mode 100644 files/riot.desktop create mode 100644 package.yml create mode 100644 pspec_x86_64.xml diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0a42375 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include ../Makefile.common diff --git a/abi_used_libs b/abi_used_libs new file mode 100644 index 0000000..0500ea6 --- /dev/null +++ b/abi_used_libs @@ -0,0 +1,41 @@ +ld-linux-x86-64.so.2 +libX11.so.6 +libXcomposite.so.1 +libXcursor.so.1 +libXdamage.so.1 +libXext.so.6 +libXfixes.so.3 +libXi.so.6 +libXrandr.so.2 +libXrender.so.1 +libXss.so.1 +libXtst.so.6 +libasound.so.2 +libatk-1.0.so.0 +libc.so.6 +libcairo.so.2 +libcups.so.2 +libdbus-1.so.3 +libdl.so.2 +libexpat.so.1 +libfontconfig.so.1 +libfreetype.so.6 +libgcc_s.so.1 +libgconf-2.so.4 +libgdk-x11-2.0.so.0 +libgdk_pixbuf-2.0.so.0 +libgio-2.0.so.0 +libglib-2.0.so.0 +libgmodule-2.0.so.0 +libgobject-2.0.so.0 +libgtk-x11-2.0.so.0 +libm.so.6 +libnspr4.so +libnss3.so +libnssutil3.so +libpango-1.0.so.0 +libpangocairo-1.0.so.0 +libpthread.so.0 +librt.so.1 +libsmime3.so +libstdc++.so.6 diff --git a/files/0001-patch-deb-electron-build.patch b/files/0001-patch-deb-electron-build.patch new file mode 100644 index 0000000..da6a224 --- /dev/null +++ b/files/0001-patch-deb-electron-build.patch @@ -0,0 +1,24 @@ +From cd6606b8aa50a20a1b82f7c456ecfb182976029e Mon Sep 17 00:00:00 2001 +From: Will Featherston +Date: Mon, 13 Feb 2017 20:26:52 -0500 +Subject: [PATCH 1/1] patch deb electron build + +--- + package.json | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/package.json b/package.json +index 155523af..1078e4ec 100644 +--- a/package.json ++++ b/package.json +@@ -150,7 +150,7 @@ + "package.json" + ], + "linux": { +- "target": "deb", ++ "target": "dir", + "maintainer": "support@riot.im", + "desktop": { + "StartupWMClass": "riot-web" +-- +2.11.1 diff --git a/files/remove-google-analytics.patch b/files/remove-google-analytics.patch new file mode 100644 index 0000000..442c0f1 --- /dev/null +++ b/files/remove-google-analytics.patch @@ -0,0 +1,53 @@ +From 6a7daaf6c4a9526068bf6a4595e063e87e0b6a36 Mon Sep 17 00:00:00 2001 +From: Matthew Hodgson +Date: Fri, 10 Feb 2017 17:21:02 +0000 +Subject: [PATCH] remove GA, given it's increasingly useless given Riot/Desktop + doesn't use it, plus it obviously has privacy implications. It may get + re-added as opt-in in future, so we're not sailing entirely blind on how + folks use the app, or we may switch to Piwik etc instead. + +--- + src/vector/index.html | 19 ------------------- + src/vector/index.js | 1 - + 2 files changed, 20 deletions(-) + +diff --git a/src/vector/index.html b/src/vector/index.html +index 3ab667c..e86f299 100644 +--- a/src/vector/index.html ++++ b/src/vector/index.html +@@ -62,24 +62,5 @@ + + +