Package Details: pencil 2.0.18-1

Git Clone URL: https://aur.archlinux.org/pencil.git (read-only)
Package Base: pencil
Description: Sketching and GUI prototyping/wireframing tool
Upstream URL: http://github.com/prikhi/pencil
Licenses: GPL2
Submitter: tinhtruong
Maintainer: lysergia
Last Packager: lysergia
Votes: 138
Popularity: 5.415236
First Submitted: 2012-10-11 10:13
Last Updated: 2016-03-15 20:17

Latest Comments

nullnan commented on 2016-08-22 15:11

This PKG seems unmaintained?

@see https://aur.archlinux.org/packages/evolus-pencil-bin/
for v3RC1

nullnan commented on 2016-08-01 07:03

There're tags available now for v3.0.0-X:

https://github.com/evolus/pencil/tags

You might want to change to the official repository or do another PKG for 3.0.0 RC/beta?

lysergia commented on 2016-02-09 09:40

@SRChiP Is there a way to specify required dependencies as "either/or" or do you mean making xulrunner and firefox both optional dependencies?

SRChiP commented on 2015-11-13 03:18

Since this package could be run without xulrunner by using firefox instead wouldn't it be better to give a choice?

lysergia commented on 2015-07-18 23:53

I(the app's maintainer) can take back package maintainer status if you'd like.

lysergia commented on 2015-05-29 02:10

New version includes below fixes & 3rd party stencil collections as optional dependencies.

geosam commented on 2015-05-27 02:08

Thanks @reci

hugao commented on 2015-05-26 18:31

@reci it worked. Thanks

reci commented on 2015-05-26 17:24

Change lines in /usr/share/evolus-pencil/application.ini to this:

...
[Gecko]
MinVersion=36.0
MaxVersion=38.*

Works for me.

hugao commented on 2015-05-26 08:38

Same problem of @Neuromancien and @rouhouch fix doesn't work for me

Neuromancien commented on 2015-05-25 19:52

It does not work for me :
/usr/bin/pencil contains :
BINARIES="xulrunner"

But I still get the error :
(process:7145): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Error: Platform version '38.0.1' is not compatible with
minVersion >= 36.0
maxVersion <= 37.*

lysergia commented on 2015-05-18 18:38

Thanks for the reports, I've fixed this upstream and will put a new version out within the next few days.

ronjouch commented on 2015-05-18 17:59

I have the same problem as @florianb : I use a more recent firefox (40.0a2 currently), living in a bin folder that I prepend to my $PATH. This results in the `pencil` script finding it and preferring it to the correctly-at-37.0 xulrunner installed as a dependency of pencil:

(process:8731): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Error: Platform version '40.0a2' is not compatible with
minVersion >= 36.0
maxVersion <= 37.*

Problem is easily fixed by editing `/usr/bin/pencil` and just leaving BINARIES="xulrunner". Maintainer could fix this properly by adding a break statement in the for loop searching for a binary. Thanks for the packaging! Nice to see someone caring for this neat app.

florianb commented on 2015-05-18 17:49

does not work for me.

$ pencil

(process:24164): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Error: Platform version '38.0.1' is not compatible with
minVersion >= 36.0
maxVersion <= 37.*

portaloffreedom commented on 2015-05-14 01:09

And here they are, sorry for the long wait.
https://aur.archlinux.org/packages/pencil-android-lollipop-stencils-git/
https://aur.archlinux.org/packages/pencil-material-icons-git/

I did a quick test and they should work fine. If the packages have any issue, please tell me.

It would be nice also if they are added as optional dependencies for this package ;)

lysergia commented on 2015-04-20 13:59

Each should stencil collection should be in their own folder within /usr/share/evolus-pencil/content/pencil/stencil/. For example:

<pre>
$ l /usr/share/evolus-pencil/content/pencil/stencil/SketchyGUI [09:57:06]
total 144K
drwxr-xr-x 3 root root 4.0K Apr 14 00:27 .
drwxr-xr-x 13 root root 4.0K Mar 30 12:36 ..
-rw-r--r-- 1 root root 115K Apr 14 00:26 Definition.xml
-rw-r--r-- 1 root root 16K Apr 14 00:26 .Definition.xml.swp
drwxr-xr-x 2 root root 4.0K Apr 14 00:27 Icons
</pre>

portaloffreedom commented on 2015-04-16 10:38

@anderraso if you tell me where these files should be located in the file system, I should have no problem making the AUR packages.

portaloffreedom commented on 2015-04-16 10:38

@anderraso if you tell me where this files should be located in the file system, I should have no problem making the AUR packages.

anderraso commented on 2015-04-14 14:24

Would be nice to have an AUR package for this Google Material Design extensions, here are the links if someone wants to take a look =)
https://github.com/nathanielw/Android-Lollipop-Pencil-Stencils
https://github.com/nathanielw/Material-Icons-for-Pencil

lysergia commented on 2015-03-30 16:35

Adopted, updated & switched to xulrunner.

lysergia commented on 2015-03-13 08:01

This was broken by backwards-incompatible API changes in firefox/xulrunner 36.

The diff is here: https://github.com/prikhi/pencil/commit/3f0d3161caee7f0fdc1a21a0cfddb655a5902ce0#diff-bcc1d302a64540a0d0d70970cc2fb8f1L264

orschiro commented on 2015-01-27 06:28

@frederik

I agree. Have you tried contacting the maintainer via email already?

frederik commented on 2015-01-27 02:04

Yes, anyway it would be nice to have the package not dependent on firefox for those who are still using it (as i suggested in 2014).

orschiro commented on 2015-01-25 15:54

@frederik

The last release was in Nov 2013 [1]. Seems to be under no active development anymore.

[1] https://code.google.com/p/evoluspencil/downloads/list

frederik commented on 2015-01-25 15:14

Any progress here?

frederik commented on 2014-08-08 22:22

you do not need firefox as dependency. This app can run standalone with xulrunner:

Patch:
diff -aur aaa/pencil/usr/bin/pencil bbb/pencil/usr/bin/pencil
--- aaa/pencil/usr/bin/pencil 2014-08-09 00:11:40.264295243 +0200
+++ bbb/pencil/usr/bin/pencil 2014-08-09 00:13:50.436430146 +0200
@@ -1,4 +1,3 @@
#!/bin/sh
-#

-/usr/bin/firefox --app "/usr/share/pencil/application.ini"
\ No newline at end of file
+xulrunner /usr/share/pencil/application.ini


PKGBUILD:
package() {
cp -dr "$srcdir/$pkgname-$pkgver/usr" "$pkgdir"
install -Dm644 "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/pencil"
# fix permissions of directories
chmod -R a+rX "$pkgdir"/*
install -Dm755 "$srcdir/pencil" "$pkgdir/usr/bin"
cd "$pkgdir"
patch -p2 -i "$srcdir/xulrunner.patch"
}

frederik commented on 2014-08-08 22:21

you do not need firefox as dependency. This app can run standalone with xulrunner:

Patch:
diff -aur aaa/pencil/usr/bin/pencil bbb/pencil/usr/bin/pencil
--- aaa/pencil/usr/bin/pencil 2014-08-09 00:11:40.264295243 +0200
+++ bbb/pencil/usr/bin/pencil 2014-08-09 00:13:50.436430146 +0200
@@ -1,4 +1,3 @@
#!/bin/sh
-#

-/usr/bin/firefox --app "/usr/share/pencil/application.ini"
\ No newline at end of file
+xulrunner /usr/share/pencil/application.ini


PKGBUIL:
package() {
cp -dr "$srcdir/$pkgname-$pkgver/usr" "$pkgdir"
install -Dm644 "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/pencil"
# fix permissions of directories
chmod -R a+rX "$pkgdir"/*
install -Dm755 "$srcdir/pencil" "$pkgdir/usr/bin"
cd "$pkgdir"
patch -p2 -i "$srcdir/xulrunner.patch"
}

tinhtruong commented on 2014-05-17 05:28

Integrated suggestion from Marcel_K. Thanks.

Marcel_K commented on 2014-05-13 22:50

And as there are no ELF executables in this package, arch should be set to 'any'.

Marcel_K commented on 2014-05-13 22:46

Just a few remarks: you should use a package function when accessing $pkgdir. And you should quote all instances of $srcdir and $pkgdir to allow for spaces in directory names. And you shouldn't use $startdir anymore, just use "$srcdir/pencil". And you really set the right permissions. For instance, text files and pencil.desktop shouldn't be made executable and the world executable bit should be set for all directories. And as you are registering MIME types, you should call `update-desktop-database -q` in an install file.

I edited your PKGBUILD and created an install file: https://gist.github.com/marcelkorpel/096a69f410b062a301a2

orschiro commented on 2014-04-08 13:50

For me, some icons for the Sketchy GUI are missing.

See this screenshot:

https://evoluspencil.googlecode.com/issues/attachment?aid=6240000000&name=missing-icons.png&token=qGTXJ2g6MSQ6og1L_umSrrqzOOQ%3A1396964967516&inline=1

Can anyone confirm this?

XavierCLL commented on 2013-11-21 01:15

Thaks @orschiro! it works, only change any GTK theme different to Oxygen-gtk

orschiro commented on 2013-11-20 23:11

@epsilom

I guess you are right. Set the GTK2 theme to Adwaita.

Source: https://forums.zotero.org/discussion/31858/

XavierCLL commented on 2013-11-20 23:07

Hi @orschiro

yes I have firefox and works fine, actually I use KDE, maybe are there any compatibility problem with KDE?

orschiro commented on 2013-11-20 23:00

@epsilom

I cannot reproduce this. Does firefox itself work?

XavierCLL commented on 2013-11-20 15:07

when I clicked any menu, the program crashed saying:

###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 4 requests ago: file /build/firefox/src/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 4 requests ago: file /build/firefox/src/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
/usr/bin/pencil: line 4: 13065 Segmentation fault (core dumped) /usr/bin/firefox --app "/usr/share/pencil/application.ini"

orschiro commented on 2013-11-10 11:47

@milouse

I can only agree. Thanks for pointing me to russo79's PKGBUILD. This is much cleaner.

@tinhtruong

Can you please update your PKGBUILD and make pencil depending on xulrunner?

milouse commented on 2013-11-10 11:28

Hello,

I vote for the PKGBUILD version of russo79. It is more logical to depends on xulrunner for an independant application than depends on firefox. In that last case, users will probably directly install the extension version available on the evolus website.

BTW, I purpose to replace the arch array with arch = ("any") as this package is architecture independant. I purpose to put it in the editor or office category rather than x11 one, which is more useful to describe low-level interface library.

orschiro commented on 2013-10-19 15:18

Why is Firefox pulled as a dependency? On the website [1] it is stated that there are two different versions. One Firefox extension and one standalone.

[1] http://pencil.evolus.vn/Downloads.html

AdanOva commented on 2013-10-14 16:14

Hi.
tinhtruong, are you going to maintain the package any further? If, not, I think russo79 should become the new maintainer (of course, he/she wants to).
Thanks.

Addow commented on 2013-10-02 03:57

Thanks russo79.
Needed this version very badly, because of a free text export bug.
(no invalid SSL warning btw)

russo79 commented on 2013-10-01 11:38

Hi

Version 2.0.5 is out.

I made a PKGBUILD for it that you'll find here [1].

Besides the version bump, I made some changes:
1. Use pkgname and pkgver variables in the source array
2. Use the package function, since there is nothing to build
3. Make pencil depend on xulrunner instead of firefox. It doesn't need firefox installed to run.

Feel free to take it.

Oh, and if you have a invalid SSL certificate warning, you don't need to worry.
Is just that I don't have enough to pay for having one official ;)

[1] https://cloud.russo79.com/public.php?service=files&t=10fa4bb046a98ac5d886825c65e2abcf

russo79 commented on 2013-10-01 11:37

Hi

Version 2.0.5 is out.

I made a PKGBUILD for it that you'll find here [1].

Besides the version bump, I made some changes:
1. Use pkgname and pkgver variables in the source array
2. Use the package function, since there is nothing to build
3. Make pencil depend on xulrunner instead of firefox. It doesn't need firefox installed to run.

Feel free to take it.

[1] https://cloud.russo79.com/public.php?service=files&t=10fa4bb046a98ac5d886825c65e2abcf

trusktr commented on 2013-03-17 23:36

Just curious, why does this depend on firefox?

tinhtruong commented on 2013-01-18 09:59

Updated to 2.0.4
Cheers.

arcxyz commented on 2013-01-17 15:15

2.0.4 is out

http://evoluspencil.googlecode.com/files/pencil-2.0.4.tar.gz

Anonymous comment on 2012-12-06 06:54

Not working with latest version of Firefox (17.0-1). Almost all of the shapes are broken. Downgrading Firefox to 16.0.2-1 fixes it.

tinhtruong commented on 2012-12-01 09:09

Updated to 2.0.3

tinhtruong commented on 2012-10-13 08:38

PKGBUILD updated:
* Checksum fixed
* Apply the workaround for xulrunner

Anonymous comment on 2012-10-13 07:51

MD5sum-entry in PKGBUILD doesn't match the md5sum of the pencil-2.0.2.tar.gz file.
PKGBUILD-entry
md5sums=('39acf58e6e97408f696141a0712acc84')

md5sum
d8acf755324d653e04138e7ab95d992f pencil-2.0.2.tar.gz

So long,

Anonymous comment on 2012-10-13 06:15

This package requires xulrunner which is reported to be conflict with eclipse and may be some others in the system. The conflict needs to be resolved by maintainers of the xulrunner and eclipse. I won't suggest you to remove any of them since both of them are important and is the must have for many of the users.

For ones that encounter the conflict while installing Pencil because of xulrunner, the workaround is to change the dependency onto firefox which is also capable of being an XRE. To do this, please follow the following steps:

1. While installing Pencil, at the step that you are asked for editing the PKGBUILD, answer yes and change the dependency from 'xulrunner' to 'firefox'
2. After installing, being as root and modify the file at /usr/bin/pencil, replacing xulrunner with firefox which means that the file should be as:
#!/bin/sh

/usr/bin/firefox --app "/usr/share/pencil/application.ini"