On 14 Apr 2003 00:04:41 +0200, Smiler wrote:
>
> >>jear there are entrys in the Makefile.in bzw .am
> >>
> >>the debian paketbuilder will install the packet to
> >>fvwmt-hemes-x.x.x/debian/fvwm-themes-x.x.x/
> >>and the command
> >>
> >>"fvwm-themes-config --site --reset"
> >>
> >>say " no permision to /usr/share/fvwm-themes/themes/ "
> >>
> >>sorry i have no expiriences with Makefiles (:
> >>
> >>the entry DESTDIR =
> >>
> >>are OK but i don't know matsch
> >
> >Did you read the links I have sent you that solve this problem using
>
> i have try to translate, but is it not so easy for me.
>
> >ROOT_PREFIX?
> >
> > ./configure --prefix=/usr
> > make
> > make prefix=/path/to/debian/fvwm-themes-x.x.x/usr
> > ROOT_PREFIX=/path/to/debian/fvwm-themes-x.x.x
>
> the debian packagebuild program will make all this environment and
> execute make and configure automaticaly by using "$DESTDIR =" in makefile,
You should not execute make and configure automatically.
You should pass some parameters to them. I don't know how packagebuild
works, but I am pretty sure you should write the exact commands by hand.
Or edit the existing files by hand to execute the following commands:
./configure --prefix=/usr --disable-run-updatemenu --disable-build-menus --disable-menu-system
make
make prefix=/path/to/debian/fvwm-themes-x.x.x/usr ROOT_PREFIX=/path/to/debian/fvwm-themes-x.x.x install
> the installation run also fine to
> "/home/smiler/debian/fvwm-themes-x.x.x/debian/fvwm-themes-x.x.x/* " ,
> only the perlskripte recive no correct environment var $PREFIX.
> may be $prefix ! = $destdir for programms from fvwm-themes/bin/ called
> by MAKEFILE?
> i think debian set the $destdir but not $prefix used par example in
> fvwm-themes-config?
> and write than with perl-scipts in default /usr.
> may be, we shold export prefix=destdir .
> ? (:
I may later rename ROOT_PREFIX to DESTDIR, but currently, just pass the
exact commands that I wrote above. Forget about DESTDIR for now.
After you succeed with creating some initial deb, you should add a
post-install script that should:
1) run update-menu
2) disable all unexisting programs (change themes/default/menus*)
for a user. In other words, this post-install script should do the things
that are skipped on the deb creation by calling ./configure --disable-*.
We will help you with the post-install script if needed.
You should have some knowledge about creating packages, it's not trivial.
If you want to go this way, you should prepare to learn how exactly both
fvwm-themes and deb packages work. Hopefully you will succeed.
Regards,
Mikhael.
|