Page MenuHomeSolus

D825.id1818.diff
No OneTemporary

D825.id1818.diff

Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: abi_used_libs
===================================================================
--- /dev/null
+++ 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
Index: files/0001-solbuild-fixes.patch
===================================================================
--- /dev/null
+++ files/0001-solbuild-fixes.patch
@@ -0,0 +1,48 @@
+From 0ba86dbd51a12f4656ef87a8320a889cf0773b1a Mon Sep 17 00:00:00 2001
+From: Joey Riches <josephriches@gmail.com>
+Date: Wed, 16 Aug 2017 14:16:30 +0100
+Subject: [PATCH 1/1] solbuild fixes
+
+---
+ bin/package.js | 4 ++--
+ package.json | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/bin/package.js b/bin/package.js
+index 9f59a19..fa105dd 100755
+--- a/bin/package.js
++++ b/bin/package.js
+@@ -109,7 +109,7 @@ const all = {
+
+ // Runs `npm prune --production` which remove the packages specified in
+ // "devDependencies" before starting to package the app.
+- prune: true,
++ prune: false,
+
+ // The Electron version that the app is built with (without the leading 'v')
+ electronVersion: require('electron/package.json').version
+@@ -175,7 +175,7 @@ const linux = {
+ platform: 'linux',
+
+ // Build ia32 and x64 binaries.
+- arch: ['ia32', 'x64']
++ arch: ['x64']
+
+ // Note: Application icon for Linux is specified via the BrowserWindow `icon` option.
+ }
+diff --git a/package.json b/package.json
+index fe5820c..2a0da76 100644
+--- a/package.json
++++ b/package.json
+@@ -101,7 +101,7 @@
+ "gh-release": "gh-release",
+ "open-config": "node ./bin/open-config.js",
+ "package": "node ./bin/package.js",
+- "prepublish": "npm run build",
++ "prepublish": "npm run build --unsafe-perm",
+ "start": "npm run build && electron .",
+ "test": "standard && depcheck --ignores=buble,nodemon,gh-release --ignore-dirs=build,dist && node ./bin/extra-lint.js",
+ "test-integration": "npm run build && node ./test",
+--
+2.14.1
+
Index: files/webtorrent-desktop.desktop
===================================================================
--- /dev/null
+++ files/webtorrent-desktop.desktop
@@ -0,0 +1,33 @@
+[Desktop Entry]
+Name=WebTorrent
+Version=1.0
+GenericName=BitTorrent Client
+X-GNOME-FullName=WebTorrent
+Comment=Download and share files over BitTorrent
+Encoding=UTF-8
+Type=Application
+Icon=webtorrent-desktop
+Terminal=false
+Path=/usr/share/webtorrent-desktop
+Exec=/usr/bin/webtorrent-desktop %U
+TryExec=/usr/bin/webtorrent-desktop
+StartupNotify=false
+Categories=Network;FileTransfer;P2P;
+MimeType=application/x-bittorrent;x-scheme-handler/magnet;x-scheme-handler/stream-magnet;
+
+Actions=CreateNewTorrent;OpenTorrentFile;OpenTorrentAddress;
+
+[Desktop Action CreateNewTorrent]
+Name=Create New Torrent...
+Exec=/usr/bin/webtorrent-desktop -n
+Path=/usr/share/webtorrent-desktop
+
+[Desktop Action OpenTorrentFile]
+Name=Open Torrent File...
+Exec=/usr/bin/webtorrent-desktop -o
+Path=/usr/share/webtorrent-desktop
+
+[Desktop Action OpenTorrentAddress]
+Name=Open Torrent Address...
+Exec=/usr/bin/webtorrent-desktop -u
+Path=/usr/share/webtorrent-desktop
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,38 @@
+name : webtorrent-desktop
+version : 0.18.0
+release : 1
+source :
+ - https://github.com/webtorrent/webtorrent-desktop/archive/v0.18.0.tar.gz : 25b92aab9cc6d076715a12bdaeae950f6885da19d87948a6acf007ba246b9494
+license : MIT
+component : multimedia.video
+networking : yes
+summary : Cross platform streaming torrent app
+description: |
+ Webtorrent allows you to stream torrent files sequentially and watch them as you download, rather than downloading first, and then watching the files.
+builddeps :
+ - pkgconfig(alsa)
+ - pkgconfig(gconf-2.0)
+ - pkgconfig(gtk+-x11-2.0)
+ - pkgconfig(xcursor)
+ - pkgconfig(xcomposite)
+ - pkgconfig(xi)
+ - pkgconfig(xrandr)
+ - pkgconfig(xscrnsaver)
+ - nodejs
+setup : |
+ %patch -p1 < $pkgfiles/0001-solbuild-fixes.patch
+build : |
+ npm config set unsafe-perm=true
+ npm install
+ npm run package linux
+install : |
+ install -Dm644 $workdir/static/WebTorrent.png $installdir/usr/share/pixmaps/webtorrent-desktop.png
+ install -Dm644 $pkgfiles/webtorrent-desktop.desktop $installdir/usr/share/applications/webtorrent-desktop.desktop
+
+ install -dm755 $installdir/usr/share/webtorrent-desktop
+ cp -r $workdir/dist/WebTorrent-linux-x64/* $installdir/usr/share/webtorrent-desktop/
+
+ install -dm755 $installdir/usr/bin/
+ ln -sv /usr/share/webtorrent-desktop/WebTorrent $installdir/usr/bin/webtorrent-desktop
+
+
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,37 @@
+<PISI>
+ <Source>
+ <Name>webtorrent-desktop</Name>
+ <Packager>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Packager>
+ <License>MIT</License>
+ <PartOf>multimedia.video</PartOf>
+ <Summary xml:lang="en">Cross platform streaming torrent app</Summary>
+ <Description xml:lang="en">Webtorrent allows you to stream torrent files sequentially and watch them as you download, rather than downloading first, and then watching the files.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>webtorrent-desktop</Name>
+ <Summary xml:lang="en">Cross platform streaming torrent app</Summary>
+ <Description xml:lang="en">Webtorrent allows you to stream torrent files sequentially and watch them as you download, rather than downloading first, and then watching the files.
+</Description>
+ <PartOf>multimedia.video</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="data">/usr/share/applications/webtorrent-desktop.desktop</Path>
+ <Path fileType="data">/usr/share/pixmaps/webtorrent-desktop.png</Path>
+ <Path fileType="data">/usr/share/webtorrent-desktop</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2017-08-16</Date>
+ <Version>0.18.0</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Jun 1 2023, 3:55 PM (10 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5846589
Default Alt Text
D825.id1818.diff (7 KB)

Event Timeline