Package Details: simplenote-electron-bin 2.21.0-1

Git Clone URL: https://aur.archlinux.org/simplenote-electron-bin.git (read-only, click to copy)
Package Base: simplenote-electron-bin
Description: The simplest way to keep notes
Upstream URL: https://github.com/Automattic/simplenote-electron
Keywords: cloud notes simplenote writer
Licenses: GPL2
Provides: simplenote
Submitter: swalladge
Maintainer: Kewl
Last Packager: Kewl
Votes: 87
Popularity: 0.051533
First Submitted: 2016-03-30 08:47 (UTC)
Last Updated: 2021-10-19 21:57 (UTC)

Pinned Comments

Kewl commented on 2018-06-19 06:21 (UTC) (edited on 2018-06-19 06:26 (UTC) by Kewl)

Warning: the release .deb file has been known to be silently modified, resulting in a different checksum. If the checksum fails to validate, this is most likely the cause. If you are concerned about the security implications of this, please do not install this package. The web app at https://app.simplenote.com/ may better suit. This issue has been raised with Automattic on GitHub: https://github.com/Automattic/simplenote-electron/issues/759

Latest Comments

Kewl commented on 2021-06-25 19:13 (UTC)

Adding complexity and dependencies in order to support non-official architectures is not what I would expect in the AUR. This would maybe fit better in some Arch derivatives repo supporting these architectures. The deb packages are adequate for a x86_64 bin package.

Feakster commented on 2021-06-25 11:07 (UTC)

@Kewl Hmm... it appears that fuse is required. So yes, it would add a dependency. Having said that, I'm not sure whether that's fuse2 or fuse3.

Kewl commented on 2021-06-25 10:59 (UTC) (edited on 2021-06-25 10:59 (UTC) by Kewl)

@Feakster doesn't ./$_appimage --appimage-extract introduce more dependencies?

Feakster commented on 2021-06-25 09:57 (UTC) (edited on 2021-06-25 10:01 (UTC) by Feakster)

Hi @Kewl & @jonathon,

This would be my suggestions for an AppImage-based PKGBUILD:

# Contributor: Feakster <feakster at posteo dot eu>
# Maintainer: Kewl <xrjy@nygb.rh.bet(rot13)>

### Info ###
pkgname=simplenote-electron-bin
_pkgname=${pkgname%-electron-bin}
pkgver=2.13.0
_appimage="simplenote-electron-${pkgver}-${CARCH}.AppImage"
pkgrel=2
pkgdesc='The simplest way to keep notes'
arch=('armv7h' 'aarch64' 'i686' 'pentium4' 'x86_64')
url='https://github.com/Automattic/simplenote-electron'
license=('GPL2')
depends=('gtk3' 'hicolor-icon-theme' 'libxss' 'mesa' 'nss')
optdepends=(
    'libnotify: desktop notifications'
    'noto-fonts-emoji: emoji support'
    'ttf-joypixels: emoji support'
)
makedepends=('zlib')
provides=('simplenote')
replaces=('simplenote-electron-arm-bin')
options=(!strip)
source_armv7h=("simplenote-electron-${pkgver}-armv7h.AppImage"::"${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-armv7l.AppImage")
source_aarch64=("simplenote-electron-${pkgver}-aarch64.AppImage"::"${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-arm64.AppImage")
source_i686=("simplenote-electron-${pkgver}-i686.AppImage"::"${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-i386.AppImage")
source_pentium4=("simplenote-electron-${pkgver}-pentium4.AppImage"::"${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-i386.AppImage")
source_x86_64=("simplenote-electron-${pkgver}-x86_64.AppImage"::"${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-x86_64.AppImage")
noextract=("${source[@]%%::*}")
b2sums_armv7h=('73915723c884d741465b47049159496aadb9378fb487f4bbf165568675e69ad0a2de2a5af18b281eee1a2dc35eb805b3a5c8684885c50c383ee44d645d240a7d')
b2sums_aarch64=('1df436f6b106528d44e4bd3ed3f8ed0fcbf41d129174291545dffba8dbcdca57722fb7447d8d6edcb7df0be6d8d69c695379f07c15df37331a77e8b67098dd63')
b2sums_i686=('45a2c06bf37824b968d28f7c6a94da97218ee51e71b3472c2156f2dfdd01294bd1044e7e4d27255b3071bf14b7d26c86ef33ae454152c32090a0fd24f6ed29f7')
b2sums_pentium4=('45a2c06bf37824b968d28f7c6a94da97218ee51e71b3472c2156f2dfdd01294bd1044e7e4d27255b3071bf14b7d26c86ef33ae454152c32090a0fd24f6ed29f7')
b2sums_x86_64=('27f858e19861cf15b482161f8a6167d1a3839464e76dcdc59fdd5e2472df0544f805813f4711bd76643b1893fbfebc3f90f469e189ba0bac8a034a7ccc77d054')

### Prepare ###
prepare() {
    ## Change Directory ##
    cd "$srcdir"

    ## Mark AppImage as Executable ##
    chmod a+x $_appimage

    ## Extract AppImage into squashfs-root Directory ##
    ./$_appimage --appimage-extract

    ## Remove Unnecessary Files ##
    rm squashfs-root/{.DirIcon,AppRun,$_pkgname.png}

    ## Fix Permissions ##
    find squashfs-root -type d -exec chmod 0755 {} \;
    find squashfs-root -type f -name '*.so' -exec chmod 0755 {} \;

    ## Modify Desktop File ##
    sed -i \
    -e "s|^Exec=.*|Exec=/usr/bin/${_pkgname}|" \
    -e '/^TryExec=.*/d' \
    -e '/^X-AppImage-Version=.*/d' \
    squashfs-root/${_pkgname}.desktop
    echo "TryExec=/opt/${_pkgname}/${_pkgname}" >> squashfs-root/${_pkgname}.desktop
}

### Package ###
package() {
    ## Move AppImage Contents to /opt/$_pkgname ##
    install -dm0755 "$pkgdir"/opt/$_pkgname
    cp -RT "$srcdir"/squashfs-root "$pkgdir"/opt/$_pkgname

    ## SUID Sandbox ##
    chmod 4755 "$pkgdir"/opt/$_pkgname/chrome-sandbox

    ## Executable Binary ##
    install -dm0755 "$pkgdir"/usr/bin
    ln -fs \
    /opt/$_pkgname/$_pkgname \
    "$pkgdir"/usr/bin/$_pkgname

    ## Install Icons ##
    for SIZE in 16 32 48 64 128 256 512 1024
    do
        install -dm0755 "$pkgdir"/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
        ln -fs \
        /opt/$_pkgname/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${_pkgname}.png \
        "$pkgdir"/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${_pkgname}.png
    done

    ## Desktop Icon ##
    install -dm0755 "$pkgdir"/usr/share/applications
    ln -fs \
    /opt/$_pkgname/${_pkgname}.desktop \
    "$pkgdir"/usr/share/applications/${_pkgname}.desktop

    ## Licenses ##
    install -dm0755 "$pkgdir"/usr/share/licenses/$pkgname
    ln -fs \
    /opt/$_pkgname/LICENSE.electron.txt \
    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.electron.txt
    ln -fs \
    /opt/$_pkgname/LICENSES.chromium.html \
    "$pkgdir"/usr/share/licenses/$pkgname/LICENSES.chromium.html
}

It could be simplified further. I'm not sure the ## Remove Unnecessary Files ## & ## Fix Permissions ## steps are necessary.

Apologies for pestering. A trusted user has marked the ARM version of the package I maintain for deletion because it doesn't support x86_64 architectures.

Kewl commented on 2021-06-24 16:14 (UTC)

@jonathon: I see, you can check the much more complicated PKGBUILD handling the AppImage ARM package in the AUR. I would prefer to keep it simple and support Arch compatible architectures. Then if you have a simple generic PKGBUILD supporting more binaries, you can share it, why not.

jonathon commented on 2021-06-24 14:54 (UTC)

Actually, I meant there there are .tar.gz archives with a pre-compiled binary, e.g. https://github.com/Automattic/simplenote-electron/releases/download/v2.13.0/Simplenote-linux-2.13.0-x64.tar.gz . There are several listed under the releases tag (https://github.com/Automattic/simplenote-electron/releases/tag/v2.13.0). The AppImage archive is another option with wider architecture support.

Kewl commented on 2021-06-24 06:11 (UTC)

@jonathon as indicated in the name this is the bin package, I would also like to see the package from source.

jonathon commented on 2021-06-23 22:34 (UTC)

Why does this package use the .deb rather than the .tar.gz? e.g. using the .tar.gz would provide aarch64.

Kewl commented on 2021-02-27 14:32 (UTC)

I currently have limited access and will update the package in March, I don't see critical security updates in 2.7 that would require an emergency update.

Feakster commented on 2021-02-19 12:03 (UTC)

Is there any way to stop the "Review Your Account" prompt from appearing each time I launch the programme? Even when I select "Confirm", and click the link sent to me in the email, it still pops up next time I launch it.

Feakster commented on 2021-01-27 10:28 (UTC)

Hi @jal666,

I don’t suppose OpenGL could be non-functional on your system? Did any of the previous versions of Simplenote work for you?

jal666 commented on 2021-01-26 11:46 (UTC) (edited on 2021-01-26 11:46 (UTC) by jal666)

Hi Feakster,

Same same:

./squashfs-root/simplenote


../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
[28010:0126/114142.135250:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

Feakster commented on 2021-01-26 11:37 (UTC) (edited on 2021-01-26 11:45 (UTC) by Feakster)

It's interesting that you would get the same problem with both this package and the simplenote-electron-arm-bin as they build from two different starting points: The deb file for 'this' package, and the AppImage for simplenote-electron-arm-bin. If you download the AppImage from GitHub can you extract the contents and run the binary without error?

Assuming your on ARMv7:

cd ~/Downloads
wget https://github.com/Automattic/simplenote-electron/releases/download/v2.5.0/Simplenote-linux-2.5.0-armv7l.AppImage
chmod a+x Simplenote-linux-2.5.0-armv7l.AppImage
./Simplenote-linux-2.5.0-armv7l.AppImage --appimage-extract
./squashfs-root/simplenote

jal666 commented on 2021-01-26 11:21 (UTC) (edited on 2021-01-26 11:22 (UTC) by jal666)

Regrettably, the issue persists.

../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[25773:0126/111928.111216:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

both simplenote-electron-bin & simplenote-electron-arm-bin, fresh installs.

Let me know if I can help with testing at all.

Feakster commented on 2021-01-26 00:09 (UTC)

Cool. I hope the upstream devs will release ARM64 deb files again one day soon. Will be able to shut down my Simplenote AUR package again then.

Kewl commented on 2021-01-25 18:44 (UTC)

The package should work with ARMv7 now

Feakster commented on 2021-01-25 15:29 (UTC) (edited on 2021-01-25 15:38 (UTC) by Feakster)

Does this package work for you on ARMv7 @jal666? Ah... I see @Kewl's just added the ARMv7 binary to the source. Cool.

jal666 commented on 2021-01-25 14:18 (UTC) (edited on 2021-01-25 15:59 (UTC) by jal666)

Runs nicely on ARMv7, if that helps.

EDIT: My mistake, installs - crashes on launch.

../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[13214:0125/155656.221903:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

Trace/breakpoint trap (core dumped)

Feakster commented on 2020-11-17 11:39 (UTC)

Looks like the next release (2.2.0) will have the Linux ARM builds back again.

Feakster commented on 2020-10-20 05:51 (UTC)

Having seen the latest upstream release, it looks as though you are going to need to drop aarch64 support for now.

Feakster commented on 2020-08-09 21:08 (UTC)

@kewl Just tried it on my aarch64 laptop. Works perfectly. Will request deletion of my *-arm package tomorrow.

Many thanks,

Ben

Kewl commented on 2020-08-09 14:32 (UTC)

@Feakster please check the new PKGBUILD and revert

Feakster commented on 2020-08-09 13:35 (UTC)

Hi,

I've just created an ARM version of this package, using your PKGBUILD as a template (https://aur.archlinux.org/packages/simplenote-electron-bin-arm/). However, I was thinking that a better approach might be if you could make this package multi-arch. Then I could file a request for mine to be deleted. It should be quite trivial to do.

Ben

Kewl commented on 2018-06-19 06:21 (UTC) (edited on 2018-06-19 06:26 (UTC) by Kewl)

Warning: the release .deb file has been known to be silently modified, resulting in a different checksum. If the checksum fails to validate, this is most likely the cause. If you are concerned about the security implications of this, please do not install this package. The web app at https://app.simplenote.com/ may better suit. This issue has been raised with Automattic on GitHub: https://github.com/Automattic/simplenote-electron/issues/759

swalladge commented on 2018-06-15 13:04 (UTC)

Thanks to the out-of-date flagger. Expect a new package soon! :)

swalladge commented on 2018-05-30 04:43 (UTC)

@caillou, confirmed it requires libxss, updated the pkgbuild. Thanks. :)

swalladge commented on 2018-05-24 23:51 (UTC)

@caillou, yes most likely. I'll check it out as soon as I get time. In the meantime, please try installing libxss and see if that fixes the problem. Thanks for reporting.

caillou commented on 2018-05-24 15:36 (UTC) (edited on 2018-05-24 18:41 (UTC) by caillou)

After installing this package I get the following error:

/opt/Simplenote/simplenote: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Should this be added as a dependency

edres commented on 2018-05-02 19:58 (UTC)

Thank you for the fast fix, swalladge! Insallation is working fine now :)

swalladge commented on 2018-05-01 23:58 (UTC)

@edres @alex.forencich it seems that the release deb has been modified again... just updated the checksum in the pkgbuild, please let me know if it works for you. I got the same checksum as @alex.forencich, so I guess it's legit.

edres commented on 2018-05-01 17:53 (UTC)

==> Validating source files with sha256sums... Simplenote-linux-1.1.3.deb ... FAILED ==> ERROR: One or more files did not pass the validity check!

Any idea how to deal with this?

Cheers!

alex.forencich commented on 2018-04-24 18:25 (UTC)

Checksum is wrong, correct checksum appears to be 7ea24983e0a8738a628db9aeccca50b21b098c7725aaf8643416c90ea5e76758 .

swalladge commented on 2018-03-16 07:56 (UTC)

@kewl yes sorry I shouldn't have accused you. I realized that was probably the case after I commented.

It's a shame github allows release attachments to be silently modified. :/

Kewl commented on 2018-03-16 07:46 (UTC) (edited on 2018-03-16 07:53 (UTC) by Kewl)

@swalladge I updated the PKGBUILD to 1.1.3 on 13/2 and it rolled successfully into hundreds of systems including yours (unless you were still using 1.1.2). Upstream made a new package for the same 1.1.3 version, you can see the date in the package is 9/3, post initial release.

swalladge commented on 2018-03-15 23:21 (UTC) (edited on 2018-03-15 23:29 (UTC) by swalladge)

@luisnabais, thanks for the report. It seems that @kewi bumped the version without checking anything else (or upstream uploaded a new package for the same version?).... I'm working on a fix now.

luisnabais commented on 2018-03-15 14:25 (UTC)

It doesn't work.

  • Incorrect sha256sum, correct is c8d88b270e972c1df0ea344ea18a414ada20e7140a85c3c8dbd63d50014506cb
  • bsdtar: Error opening archive: Failed to open '/tmp/yaytmp-1000/simplenote-electron-bin/src/data.tar.gz'

I also tried with pacaur, same error occurred.

swalladge commented on 2018-01-14 23:55 (UTC)

done, thanks :)

Kewl commented on 2018-01-13 13:12 (UTC)

No problem, thanks for the quick response, I have tested a new PKGBUILD for 1.1.2 that I can push if you allow me for co-maintenance.

swalladge commented on 2018-01-13 12:29 (UTC)

Sorry I've been away for a while. Hopefully back and have time to update in a few days. Please feel free to submit a patch and/or request comaintainer if you want. :)

Kewl commented on 2018-01-13 11:50 (UTC) (edited on 2018-01-13 11:59 (UTC) by Kewl)

@swalladge Any issue with the update to 1.1.2 ? I am happy to adopt the package if you are busy. Thanks

scan commented on 2018-01-11 19:25 (UTC)

Simplenote v1.1.2 • Fixes an issue where new accounts could not sign in to the web app. • Security fixes.

swalladge commented on 2017-03-30 01:19 (UTC)

@decleyre the pkgbuild simply extracts the deb package contents. I haven't had a problem with the missing icon (it shows fine in xfce4-appfinder). Perhaps there is something not quite right with the desktop file or where the icon is located - on the issue you linked to there are others with the same problem on other platforms, so I'd say this is an upstream issue.

decleyre commented on 2017-03-30 01:02 (UTC)

I'm getting a generic icon in xfce4-panel on install, though fine in whiskermenu. Issue with the package or the install? Related: https://github.com/Automattic/simplenote-electron/issues/316

libgradev commented on 2016-08-27 08:18 (UTC) (edited on 2016-08-27 08:19 (UTC) by libgradev)

As it feels the need to constantly notify me that there's an update available: md5sum a5be9fbb1bab65d454000291d3d3ecae (1.0.3)