On Sun, Dec 26, 2010 at 10:14:24PM +0100, Remi Pointel wrote:
> On Sun, 26 Dec 2010 21:16:14 +0100
> Sebastian Benoit <benoit-li...@fb12.de> wrote:
> > Landry Breuil(lan...@rhaalovely.net) on 2010.12.17 21:01:46 +0100:
> > > as pointed out by remi pointel you should use MODPY_EGG_VERSION.
> > 
> > yes, thanks.
> > 
> > > It doesn't build with USE_SYSTRACE set, as it tries to run
> > > update-desktop-databases from within make fake.
> > > 
> > > Trying: update-desktop-database
> > > systrace: deny user: root, prog: /usr/local/bin/update-desktop-database,
> > > pid: 11343(0)[25991], policy:
> > >  /usr/bin/make, filters: 197, syscall: native-chmod(15), filename:
> > > /usr/local/share/applications/cups.
> > > desktop, mode: 644
> > > 
> > > you should patch away setup.py to fix that (and make it not run
> > > update-mime-database too, see around skip_xdg_cmd variable..)
> > > 
> > > i don't really like the config.py patch, but we can live with that.. as
> > > $HOME is set to a non-existing dir during build the check is pointless.
> > > 
> > > Landry
> > 
> > i fixed those problems, systrace now works.
> 
> Hi,
> 
> attached version :
> - with PLIST modified (you must run "make update-plist")
> zim-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info instead of 
> zim-0.49-py${MODPY_VERSION}.egg-info.
> - with correct file location of manpage (/usr/local/man/ and not 
> /usr/local/share/man/, see here : 
> http://www.openbsd.org/faq/ports/guide.html).
> 

patch-setup_py could be nicer, you could set self.skip_xdg_cmd instead of
just batch-commenting the offending lines..

Landry

Reply via email to