Package Details: writerscafe 2.42-2

Git Clone URL: https://aur.archlinux.org/writerscafe.git (read-only, click to copy)
Package Base: writerscafe
Description: A set of power tools for all fiction writers, whether experienced or just starting out
Upstream URL: http://writerscafe.co.uk/
Licenses: custom
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 12
Popularity: 0.000015
First Submitted: 2010-05-08 10:11
Last Updated: 2017-08-25 10:46

Latest Comments

1 2 3 4 Next › Last »

yangfan commented on 2020-10-04 10:20

Maintainer: Can Celasun dcelasun@gmail.com
See: http://aur.archlinux.org/packages.php?ID=37074
and http://wiki.archlinux.org/index.php/AUR

pkgname=writerscafe pkgver=2.44 pkgrel=1 pkgdesc="A set of power tools for all fiction writers, whether experienced or just starting out" url="http://writerscafe.co.uk/" license=("custom") arch=(i686 x86_64) depends=('libjpeg6')

if [ "${CARCH}" = "x86_64" ]; then source=(http://writerscafe.co.uk/WritersCafe-${pkgver}-x86_64.tar.gz) md5sums=('5fb474ce638d2d98339f51f039525bf7') fi if [ "${CARCH}" = "i686" ]; then source=(http://writerscafe.co.uk/WritersCafe-${pkgver}-i386.tar.gz) md5sums=('d3df240ca9f7be3b9269f57d9cecef3c') fi

package() {

cd $srcdir
tar -xzf WritersCafeData.tar.gz

msg "Cleaning files"
rm -f WritersCafeData.tar.gz
if [ "${CARCH}" = "x86_64" ]; then
    rm -f WritersCafe-${pkgver}-x86_64.tar.gz
fi
if [ "${CARCH}" = "i686" ]; then
    rm -f WritersCafe-${pkgver}-i386.tar.gz
fi

msg "Copying files"
install -dm755 $pkgdir/usr/share/writerscafe2
cp -R * $pkgdir/usr/share/writerscafe2
mkdir -p $pkgdir/usr/bin
ln -s $pkgdir/usr/share/writerscafe2/writerscafe $pkgdir/usr/bin/writerscafe

msg "Creating desktop file"
mkdir -p $pkgdir/usr/share/applications
cp $pkgdir/usr/share/writerscafe2/writerscafe2.desktop $pkgdir/usr/share/applications

msg "Creating icons"
mkdir -p $pkgdir/usr/share/pixmaps
cp $pkgdir/usr/share/writerscafe2/appicons/writerscafe128x128.png $pkgdir/usr/share/pixmaps/writerscafe2.png

}

dcelasun commented on 2017-08-25 10:47

Nice catch! I've pushed a workaround for the /usr/bin symlink issue.

bernarcher commented on 2017-08-25 05:57

I think the language problem is caused by the current locale bug where systemd resets the user locales so that there is only (on my system)

LANG=de_DE.utf8

while writerscafe obviously tries to read LC_ALL instead. Hence LC_ALL has to be passed in the command. For the time being I put a small wrapper script in my ~/bin:

~/bin% cat writerscafe2
#!/bin/bash
cd /usr/share/writerscafe2
LC_ALL=de_DE.utf8 ./writerscafe

bernarcher commented on 2017-08-24 23:21

The PKGBUILD installs writerscafe in /usr/share/writerscafe2 and puts a symbolic link to there in /usr/bin.

Yet, the program unfortunately assumes its ressources in the directory it has been started from, hence /usr/bin where it cannot find them, however. It needs to be started from the /usr/share/writerscafe2 directory instead.

A simple link from /usr/bin will thusly not work. For the time being I do switch to /usr/share/writerscafe2 and start the program manually from there.

bernarcher commented on 2017-08-24 20:41

At least it starts with LC_ALL locales, yet there are some startup error messages.

% LC_ALL=de_DE.UTF8 writerscafe2
Could not initialise locale for language 87 (de_DE). Trying system locale.
Could not initialise locale for 87 (de_DE) either.

Clean start with LC_ALL=C

I did report this to upstream.

dcelasun commented on 2017-08-24 20:34

I see. I'm afraid I can't be any more helpful. Maybe someone else has an idea...

bernarcher commented on 2017-08-24 20:32

I did try before already. This is what I get:

LANG=en_US.UTF-8 writerscafe
Could not initialise locale for language 57 (de_DE). Trying system locale.
zsh: segmentation fault (core dumped) LANG=en_US.UTF-8 writerscafe2

Wait - it works with LC_ALL=C writerscafe2

dcelasun commented on 2017-08-24 11:25

Maybe try to launch with the English locale?

LANG=en_US.UTF-8 writerscafe

or:

LC_ALL=C writerscafe

bernarcher commented on 2017-08-24 11:01

Upstream obviously cannot help. This is what I got in response to the bug report:

"Sorry to hear that. Unfortunately it's hard to target all versions of
Linux with one binary, and I find Arch Linux is too hard for me to
install to make it a worthwhile target.

If you can run W.C. inside gdb, it might give more information that I
could use."

Personnally I have no time to do so. Perhaps somebody else can do. (If the fault is not caused by my system only.)

dcelasun commented on 2017-08-23 19:57

Since this program is distributed as a precompiled binary, segmentation faults should be reported upstream: http://writerscafe.co.uk/support.htm