Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232673 - [new ebuild] media-gfx/pencil
Summary: [new ebuild] media-gfx/pencil
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://www.les-stooges.org/pascal/pencil
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 17:18 UTC by Ștefan Talpalaru
Modified: 2011-08-28 10:47 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pencil-0.4.4b.ebuild (pencil-0.4.4b.ebuild,841 bytes, text/plain)
2008-07-22 17:19 UTC, Ștefan Talpalaru
Details
pencil-0.4.4_beta.ebuild (pencil-0.4.4_beta.ebuild,612 bytes, text/plain)
2009-12-11 12:20 UTC, Samuli Suominen (RETIRED)
Details
pencil-0.4.4_beta.patch (pencil-0.4.4_beta.patch,914 bytes, patch)
2010-11-06 21:50 UTC, Matteo 'The Peach' Pescarin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ștefan Talpalaru 2008-07-22 17:18:34 UTC
http://www.les-stooges.org/pascal/pencil/
Pencil is a 2D animation software using both bitmap and vector graphics

Reproducible: Always

Steps to Reproduce:
Comment 1 Ștefan Talpalaru 2008-07-22 17:19:59 UTC
Created attachment 161106 [details]
pencil-0.4.4b.ebuild
Comment 2 Piotr Szymaniak 2008-07-23 08:08:43 UTC
Failed to compile with ming-0.2a-r3, works fine with 0.4.0_beta5.
Comment 3 Florian Berger 2009-09-14 18:42:11 UTC
The ebuild just emerged fine here.

However, it depends on >=x11-libs/qt-4, which currently gives an masking error:

$ emerge --pretend '>=x11-libs/qt-4'

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=x11-libs/qt-4" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/qt-4.5.2 (masked by: package.mask, ~x86 keyword)
/usr/portage/profiles/package.mask:
# Ben de Groot <yngwin@gentoo.org> (25 Jun 2009)
# Mask the Qt4 meta ebuild, to prevent devs from being silly and depend on
# the meta ebuild instead of on the specific split Qt ebuilds needed. See
# bug 217161 comment 11. Users may unmask this if they want to pull in all
# Qt modules, but packages in portage (or overlays) will pull in the split
# modules they need as dependency. Unmasking this will most likely pull in
# more than you need. This meta ebuild will be removed when we can add sets
# to the portage tree.

- x11-libs/qt-4.5.1 (masked by: package.mask)
- x11-libs/qt-4.4.2 (masked by: package.mask)

I do not fully understand this, but it seems some restucturing has happened with the Qt lib:

http://bugs.gentoo.org/show_bug.cgi?id=217161

The Qt dependency should probably be fixed in the ebuild.
I'd do it myself, but as I said, I do not fully grasp what needs to be done.

Thanks for the ebuild!

Florian
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-12-11 12:20:33 UTC
Created attachment 212693 [details]
pencil-0.4.4_beta.ebuild

It's really a beta, so changed the version scheme to match reality. Unfortunately I was unable to test src_install() because it doesn't compile at all with Qt 4.6.0,

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&)
Comment 5 Denilson Sá Maia 2010-02-08 13:59:30 UTC
Updated homepage:
http://www.pencil-animation.org/
(latest version still v0.4.4b)
Comment 6 Francesco Riosa 2010-11-05 21:47:37 UTC
need this in src_compile
sed -i s:SWFSprite:SWFMovieClip:g src/external/flash/flash.{cpp,h}
with media-libs/ming-0.4.3
Comment 7 Matteo 'The Peach' Pescarin 2010-11-06 21:50:04 UTC
Created attachment 253437 [details, diff]
pencil-0.4.4_beta.patch

I've updated the ebuild with several additions, I've created a patch out of it, so whoever did the _beta ebuild can update and mark the previous one as deprecated.
tested on amd64
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2011-08-28 10:47:44 UTC
This is now in portage tree