[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#529473: ITP: openoffice.org-altsearch -- Alternative Find and Replace for Writer



Hi,

Rail Aliev wrote:
> > Rene Engelhard wrote:
> > > - please copy the maintainer scripts from already existing extensions.
> > >   Especially the flush_unopkg (by running a list after it was *scheduled*
> > >   to be removed by remove) is important
> > >   This would also add some consistency wrt "Adding Extension foo ..."
> > > with all the other extensions..
> >
> > But what I do like is the "missing" preinst and doing the unregistering
> > in prerm.
> > Saves us pre-dependencies...
> 
> BTW, openoffice.org-voikko runs debian/generate_dependencies.sh to be 
> dependent only on OOo version used at build time. Is this mandatory?

No. voikko just does this for safety, I didn't do it for other
extensions...

And generate_dependencies.sh had not only that sense but also to
get the normal ${shlibs:Depends}. As all the stuff is inside the oxt
you need to have some manual doings to get shlib or whatever deps.

What i do for the things which are build from the OOo source package
is e.g. this:

                dpkg-shlibdeps -O \
                        -Sdebian/uno-libs3/$(OOUREDIR)/lib \
                        -Sdebian/ure/$(OOUREDIR)/lib \
                        $(SOURCE_TREE)/sdext/$(shell . $(SOURCE_TREE)/*.sh; echo $$OUTPATH$$PROEXT)/bin/xpdfimport \
                        $(SOURCE_TREE)/sdext/$(shell . $(SOURCE_TREE)/*.sh; echo $$OUTPATH$$PROEXT)/lib/pdfimport.uno.so \
                        > debian/openoffice.org$(VER)-pdfimport.substvars

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73


Reply to: