On Mon, 3 Nov 2003, Dirk Meyer wrote:

> Wan Tat Chee wrote:

> > Anyway, I need to rethink the whole RPM packaging with this new approach
> > of installing the runtime. Normally for RPM packages, the dependent
> > package (i.e., runtime) needs to be installed before the main package.
> > However, in this new scheme, it's the other way around.
>
> Not really. It's only to make it easier for people. 'freevo install
> runtime.tgz' only untars the package, so no big deal.

It depends on how 'picky' (or anal-retentive) someone is with regards to
package management. I guess RPM provides the means to manage every
program package file if you wish to, so installation and uninstallation
that bypasses RPM would break that model. Anyway, it's fine with me not to
package the runtime, it's a pain to upload due to its size anyway.

>
> But I don't think we should have rpms for the runtime. The rpm should
> cover the installed version of freevo (/usr/lib/python.../freevo). If
> the user wants the runtime, he can untar the tgz wherever he wants, we
> don't need a RPM here.
>

The /usr/lib/python.../freevo based RPM package won't accept installation
of the runtime.

[EMAIL PROTECTED] DLOAD]# freevo install freevo-runtime-0.1.tgz
impossible to install a runtime in an installed version
of freevo.

It looks like need to provide two versions, one which installs into
the python site-packages hierarchy, and the other that installs into
/usr/local/freevo. (I'm naming the second package freevo-usrlocal-*.)
Reason being that the RPM package is considered a 'snapshot' of the
installed package, the path must be determined during package creation
time (other than changing the root prefix). Since the site-packages based
freevo installs stuff in multiple directories not within the same
hierarchy, I can't (or rather, don't know of any way) use one package to
install to both locations.

Otherwise we can also decide that no RPMs exists for the /usr/local/freevo
package and users basically just either live with installing it the
*tgz way or else install all the dependency packages and then install
the site-packages-based freevo.

Please let me know which approach to use.

----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.      Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757           Rm.601-E Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to