Summary: | [new ebuild] media-gfx/pencil | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ștefan Talpalaru <stefantalpalaru> |
Component: | New packages | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bugzie, charles, denilsonsa, florian.berger, peach |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.les-stooges.org/pascal/pencil | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pencil-0.4.4b.ebuild
pencil-0.4.4_beta.ebuild pencil-0.4.4_beta.patch |
Description
Ștefan Talpalaru
2008-07-22 17:18:34 UTC
Created attachment 161106 [details]
pencil-0.4.4b.ebuild
Failed to compile with ming-0.2a-r3, works fine with 0.4.0_beta5. 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 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&)
Updated homepage: http://www.pencil-animation.org/ (latest version still v0.4.4b) need this in src_compile sed -i s:SWFSprite:SWFMovieClip:g src/external/flash/flash.{cpp,h} with media-libs/ming-0.4.3 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
This is now in portage tree |