[kde-freebsd] kdenlive (and dependencies) ports available for testing

Alberto Villa villa.alberto at gmail.com
Sat Dec 20 19:40:07 CET 2008


On Saturday 20 December 2008 18:58:37 Max Brazhnikov wrote:
> No problem to commit them before 7.1 release, but they will not available
> with release ports/packages since portstree for 7.1 has been tagged
> already.

ok, no problem, they'll be available as ports

> Submit them and one of committers will take care about them.

ok, thanks!

> Some notes for kdenlive port. It installs some mime files, which need
> special handling in Makefile and pkg-plist (You can look at
> databases/akonadi for example).
>
> Firstly, you need 'sharedmime' component for KDE4:
>
> USE_KDE4=	kdeprefix kdehier automoc4 sharedmime
>
> Secondly, don't allow to run shared-mime utilities when building/installing
> port (otherwise port will fail on pointyhat/tinderbox):
>
> post-patch:
> 	#prevent updating mime during build
> 	${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
> 		${PATCH_WRKSRC}/CMakeLists.txt
>
> instead, run utility manually in post-install target:
>
> post-install:
> 	@-update-mime-database ${KDE4_PREFIX}/share/mime
>
> Finally, add the following two lines to pkg-plist (they will be executed on
> installing/deinstalling package):
>
> @exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null ||
> /usr/bin/true
> @unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null ||
> /usr/bin/true

thanks!

> Also, you shouldn't delete common directories like share/config or
> share/icons in plist (btw, most common dirs are installed by kdehier port).
> You can use @dirrmtry for them.

i was in doubt with this... so, should i consider kde4 directories common for 
a port that depends on kde4 prefix?

thanks for your reply
cheers!
-- 
Alberto Villa <villa.alberto at gmail.com>


More information about the kde-freebsd mailing list