Page MenuHomeSolus

D2334.id5568.diff
No OneTemporary

D2334.id5568.diff

diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,8 +1,8 @@
name : mailspring
-version : 1.0.12
-release : 5
+version : 1.1.4
+release : 6
source :
- - https://github.com/Foundry376/Mailspring/archive/1.0.12.tar.gz : 593d1861151db5274565bb19e1238f9575b58b6644963327e449ac074429a5bd
+ - https://github.com/Foundry376/Mailspring/releases/download/1.1.4/mailspring-1.1.4-amd64.deb : edd32d06aa16ae3bc460c94f6ddddbbe12c3b1ae772aaa5d234e6ddadffd9544
license :
- GPL-3.0
- Distributable # mailsync
@@ -10,6 +10,7 @@
summary : A beautiful, fast and maintained fork of Nylas Mail by one of the original authors.
description: |
Leaving Nylas Mail? Mailspring is a new version by one of the original authors. It's faster, leaner, and shipping today! Mailspring replaces the JavaScript mailsync code in Nylas Mail with a new C++ sync engine based on Mailcore2. It uses roughly half the RAM and CPU of Nylas Mail and idles with almost zero "CPU Wakes", which translates to great battery life. A major overhaul of the package manager and dependency tree mean it launches faster too. You might not even notice it's an Electron app!
+extract : no
networking : yes
replaces : n1
builddeps :
@@ -24,34 +25,11 @@
- pkgconfig(xscrnsaver)
- pkgconfig(xtst)
- cups-devel
- - git
- - nodejs
-setup : |
- %patch -p1 < $pkgfiles/0001-linux-don-t-build-a-deb-or-rpm-please.patch
-
- # Dirty, workaround as we can't build from git as solbuild tries to download the private submodule,
- # but, the build process needs git history or fails.
- git init
- git add *
- git commit -m "mailspring"
-build : |
- npm config set unsafe-perm=true
- npm install
- npm run-script build
install : |
- # Copy to our destination
- install -dm00755 $installdir/usr/share/mailspring
- cp -r $workdir/app/dist/mailspring-linux-x64/* $installdir/usr/share/mailspring/
-
- # Install binary to $PATH
- install -dm00755 $installdir/usr/bin/
- ln -sv /usr/share/mailspring/mailspring $installdir/usr/bin/mailspring
+ ar x $sources/mailspring-${version}-amd64.deb
+ tar xf data.tar.*
+ mkdir -p %installroot%
+ cp -r usr %installroot%/
+ cp %installroot%/usr/share/icons/hicolor/64x64/apps/mailspring.png $installdir/usr/share/pixmaps/mailspring.png
- # Install icons
- for size in 16 32 64 128 256 512; do
- install -Dm00644 $workdir/app/build/resources/linux/icons/$size.png \
- $installdir/usr/share/icons/hicolor/${size}x${size}/apps/mailspring.png
- done
- # Install desktop file
- install -Dm00644 $pkgfiles/mailspring.desktop $installdir/usr/share/applications/mailspring.desktop
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -22,25 +22,27 @@
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications/mailspring.desktop</Path>
+ <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons/hicolor/128x128/apps/mailspring.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/16x16/apps/mailspring.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/256x256/apps/mailspring.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/32x32/apps/mailspring.png</Path>
- <Path fileType="data">/usr/share/icons/hicolor/512x512/apps/mailspring.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/64x64/apps/mailspring.png</Path>
+ <Path fileType="data">/usr/share/lintian/overrides/mailspring</Path>
<Path fileType="data">/usr/share/mailspring</Path>
+ <Path fileType="data">/usr/share/pixmaps/mailspring.png</Path>
</Files>
<Replaces>
<Package>n1</Package>
</Replaces>
</Package>
<History>
- <Update release="5">
- <Date>2017-12-29</Date>
- <Version>1.0.12</Version>
+ <Update release="6">
+ <Date>2018-02-19</Date>
+ <Version>1.1.4</Version>
<Comment>Packaging update</Comment>
<Name>Alec Scott</Name>
<Email>alecbcs@gmail.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Jun 11 2023, 5:49 AM (8 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5791023
Default Alt Text
D2334.id5568.diff (4 KB)

Event Timeline