
Axel.Thimm at ATrpms
Apr 23, 2009, 11:03 AM
Post #16 of 19
(2476 views)
Permalink
|
|
Re: 5.1 Audio Channels Mixed Up (was vdpau/bijou)
[In reply to]
|
|
On Thu, Apr 23, 2009 at 10:48:16AM -0700, Mark Goldberg wrote: > On Thu, Apr 23, 2009 at 10:15 AM, Axel Thimm wrote: > > On Thu, Apr 23, 2009 at 09:36:20AM -0700, Mark Goldberg wrote: > >> [...] I will try to rebuild the rpms without the patches. Can I > >> assume that since buildroot starts with %{_tmppath} that in Fedora > >> 10 it will install somewhere in /var/tmp, and then build the rpms > >> and not break the current installation? > > > > That's correct. > > > > And build as a normal user (e.g. non-root) to be 110% sure that the > > build won't do anything you do not expect. The mythtv rpms are quite > > well designed and won't mess with your system, as well as all other > > ATrpms src.rpms, but make it a habit for any other rpm you may want to > > rebuild. > > Thanks, I already set up to build as a non root user, but rpmbuild for > Fedora 10 does not have --test, so you can't find out what it will do > before it is done. There cannot be a --test to rpmbuild, because rpmbuild cannot guess what the upstream project would produce. There are %files manifests in the specfile for eyeball review as well as the various build scripts like %prep, %build, %install which tell you what it will do. > Also, is there another way to handle the dependency on the nvidia > libs? I don't use rpms to install the drivers. Technically you can either remove the BuildRequires or force rmbuild to proceed w/o them with --nodeps, but you will end up with packages that will automatically Require packaged versions of the used libs, so you will have to continue using --nodeps for installing the outcome. In general it is ill-advised to use build and run-time dependencies that are not packaged. > I use the nvidia installer. After installing the rpms for nvidia > graphics, libs and devel I reinstall the driver using their > installer, basically because it fixes up stuff that other things > break, What for example? The rpms are created by the help of the installer, there shouldn't be any breakage. If so, you should report it. > and I build a few custom kernel modules. Installing the nvidia > driver last cleans everything up. It's not a big deal, but it might > be nice to just depend on the vdpau lib needed, no matter how it got > installed. Actually that's how rpm stores the runtime dependencies, it doesn't care what the package's name is, it just needs to be packaged. So there can be may different (packaged) implementations that satisfy the same dependency. There is a way to inject information into the rpm database that there are differently "packaged" bits on the system (Berlin API), but this is more difficult to master than to start learning how to package. -- Axel.Thimm at ATrpms.net
|