Hi,

you can find an updated port attached. I still have some of my earlier
questions, see below.

/Benno

Sebastian Benoit(benoit-li...@fb12.de) on 2010.12.11 21:53:42 +0100:
> Hej,
> 
> attached is a port for Zim, http://zim-wiki.org/, a little "desktop wiki"
> app i am using.
> 
> I have a few questions:
> 
> - I had to edit PLIST: the autogenerated line
>  
> lib/python${MODPY_VERSION}/site-packages/${FULLPKGNAME\-}-py${MODPY_VERSION}.egg-info
>  was causing a file not found error when doing "make package", right now the
>  version is hardcoded.
>  what should i do here?
> 
> - There should probably be these lines 
>  @exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 
> 2>/dev/null || true
>  @unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 
> 2> /dev/null || true
>  @exec %D/bin/update-desktop-database
>  @unexec-delete %D/bin/update-desktop-database
>  in PLIST

this seems to work, i also added 
@exec %D/bin/update-mime-database %D/share/mime
@unexec-delete %D/bin/update-mime-database %D/share/mime
and removed lines from PLIST that overwrote files in /usr/local/share/mime.

> - I have not tested it on python 2.5 recently, however the dependencies
>   should say ptyhon >= 2.5
>   Also it needs python-simplejson (for python < 2.6). How do i specify a
>   dependency like that?
> 
> - The setup.py file checks $HOME and aborts if it is not set - i had
> problems with this and patched this out (see patches/patch-zim_config_py).
> What should i do here?
> 
> - Am i missing anything else?
> 
> /Benno

Attachment: port-zim-0.49.tgz
Description: GNU Unix tar archive

Reply via email to