Username: Password: Remember me
Search Criteria Advanced
Package Details

pencil-svn 116-1
http://pencil-animation.org/
Animation/drawing software, that lets you create traditional hand-drawn animation using both bitmap and vector graphics

unsupported :: multimedia
Maintainer: N30N
Votes: 46

License: GPL

Last Updated: Mon, 21 Dec 2009 00:11:36 +0000
First Submitted: Wed, 24 Oct 2007 11:29:42 +0000

Tarball :: Files :: PKGBUILD

Dependencies qt

Sources
pencil.desktop
Comment by: viralnexxus on Mon, 21 Dec 2009 13:42:26 +0000
Well thanks N30N, that did the trick! ;)
Comment by: N30N on Mon, 21 Dec 2009 00:17:38 +0000
@viralnexxus/marcosRoriz,
I've removed all removed plug-ins form the package. Making it quite useless till this issue is fixed. :-/
Comment by: viralnexxus on Fri, 18 Dec 2009 01:25:39 +0000
@marcosRoriz
I got the same error. Please add patch and update immediately. Thanks! ;)
Comment by: marcosRoriz on Thu, 19 Nov 2009 00:45:53 +0000
Got an error :(

...
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I../.. -I../../structure -I../../graphics/bitmap -I../../graphics/vector -I. -Iliblinux -I../../../release/build -o ../../../release/build/moc_imageplugin.o ../../../release/build/moc_imageplugin.cpp
rm -f libpencil_imageplugin.so
g++ -Wl,-O1 -shared -o libpencil_imageplugin.so ../../../release/build/imageplugin.o ../../../release/build/moc_imageplugin.o -L/usr/lib -L../../../release -lpencil_structure -Lliblinux -lQtXml -L/usr/lib -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/bin/ld: cannot find -lpencil_structure
collect2: ld returned 1 exit status
make: ** [../../../release/plugins/libpencil_imageplugin.so] Erro 1
==> ERRO: Compilação Falhou.
Abortando...
Error: Makepkg was unable to build pencil-svn package.

Comment by: ikebanto on Wed, 15 Apr 2009 21:20:20 +0000
massa .......... ta funfando lindo !!!
Comment by: N30N on Fri, 13 Mar 2009 11:46:31 +0000
Package updated and working again. SWF/Ming has been dropped till Pencil gets updated to work with the current release.
Comment by: osc on Mon, 02 Mar 2009 05:30:52 +0000
hi,

i also got this error while compiling,

../release/build/main.o: In function `main':
main.cpp:(.text+0x92): undefined reference to `initialise()'
collect2: ld returned 1 exit status
make[1]: ** [../release/Pencil] Erro 1
make[1]: Saindo do diretório `/tmp/yaourt-tmp-livre/aur-pencil-svn/pencil-svn/src/pencil-build/src'
make: ** [sub-src-make_default-ordered] Erro 2
==> ERRO: Compilação Falhou.
Abortando...
Error: Makepkg was unable to build pencil-svn package.
Comment by: N30N on Wed, 04 Feb 2009 21:55:01 +0000
qubodup,
The developer of Pencil is aware of the problems with using ming and is going to make it optional in a future update.
Comment by: qubodup on Sun, 04 Jan 2009 17:34:09 +0000
I also had a problem compiling:
src/external/flash/flash.cpp: In static member function ‘static void Flash::exportFlash(Object*, int, int, QMatrix, QSize, QString, int, int)’:
src/external/flash/flash.cpp:37: error: no matching function for call to ‘SWFSprite::SWFSprite()’
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:45: error: no matching function for call to ‘SWFSprite::SWFSprite()’
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:51: error: no matching function for call to ‘SWFSprite::SWFSprite()’
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:64: error: no matching function for call to ‘SWFSprite::SWFSprite()’
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:70: error: no matching function for call to ‘SWFSprite::SWFSprite()’
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp: At global scope:
src/external/flash/flash.cpp:101: warning: unused parameter ‘object’
make: *** [flash.o] Error 1

but when I did the changes you mentioned in previous post, it went better. Unfortunately it still didn't finish:

object.o: In function `Object::exportFlash(int, int, QMatrix, QSize, QString, int, int)':
object.cpp:(.text+0x2edb): undefined reference to `Flash::exportFlash(Object*, int, int, QMatrix, QSize, QString, int, int)'
editor.o: In function `Editor::exportMov()':
editor.cpp:(.text+0xa5cf): undefined reference to `Object::exportMovie(int, int, QMatrix, Layer*, QSize, QString, int)'
main.o: In function `main':
main.cpp:(.text+0xc2): undefined reference to `initialise()'
collect2: ld returned 1 exit status
make: *** [Pencil] Error 1

Could this be Qt related?

I, for one, wouldn't mind the lack of swf export.

Thanks for your efforts!
Comment by: fcristini on Mon, 15 Dec 2008 15:56:14 +0000
Ok, I figured out what the problem was...
libming deprecated SWFSprite and in the newest versions completely removed it.


I made a couple of changes to compile successfully. In the file:

./src/pencil/src/external/flash/flash.h
added line

class SWFSprite;

right under "class Object;"
And in the file:

./src/pencil/src/external/flash/flash.cpp
I commented out all the content of every functions.


With these little changes pencil compiles and work very well except we removed SWF exporting capabilities...
I'll try to implement flash exporting routines with the new ming library specifications and upload them on sourceforge.

Hope this help,
Fabio
Comment by: fcristini on Mon, 15 Dec 2008 13:26:53 +0000
src/external/flash/flash.cpp: In static member function 'static void Flash::exportFlash(Object*, int, int, QMatrix, QSize, QString, int, int)':
src/external/flash/flash.cpp:37: error: no matching function for call to 'SWFSprite::SWFSprite()'
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:45: error: no matching function for call to 'SWFSprite::SWFSprite()'
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:51: error: no matching function for call to 'SWFSprite::SWFSprite()'
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:64: error: no matching function for call to 'SWFSprite::SWFSprite()'
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp:70: error: no matching function for call to 'SWFSprite::SWFSprite()'
/usr/include/mingpp.h:1472: note: candidates are: SWFSprite::SWFSprite(const SWFSprite&)
src/external/flash/flash.cpp: At global scope:
src/external/flash/flash.cpp:101: warning: unused parameter 'object'

In the readme file it says something about remove the macosx headers and change some call to compile on linux
Comment by: N30N on Sat, 02 Feb 2008 03:39:40 +0000
Changed dependency qt4 to qt.
Comment by: N30N on Mon, 29 Oct 2007 11:23:37 +0000
Fixed problems caused by the qt4 4.3.2-2 update.
Comment by: SickHate on Thu, 25 Oct 2007 16:14:06 +0000
src/external/flash/flash.cpp:223: error: 'element' was not declared in this scope
src/external/flash/flash.cpp:223: error: 'QPainterPath' has not been declared
src/external/flash/flash.cpp:225: error: 'memoP0x' was not declared in this scope
src/external/flash/flash.cpp:226: error: 'memoP0y' was not declared in this scope
src/external/flash/flash.cpp:228: error: 'element' was not declared in this scope
src/external/flash/flash.cpp:228: error: 'QPainterPath' has not been declared
src/external/flash/flash.cpp:229: error: 'memoP1x' was not declared in this scope
src/external/flash/flash.cpp:230: error: 'memoP1y' was not declared in this scope
make: *** [flash.o] Error 1

looks nice but it fails..
Comment by: N30N on Wed, 24 Oct 2007 11:29:42 +0000
Initial upload

v1.6.0