[ATrpms-devel] request for latest macros for mythtv-suite

Axel Thimm Axel.Thimm at ATrpms.net
Sun Mar 18 02:44:40 CET 2007


On Sat, Mar 17, 2007 at 07:58:53PM -0400, Karl Grindley wrote:
> 
> I'm compiling right now on EL4.4/Cent4.4.  I'm specifically working to 
> compile up myth frontend to work on an embedded platform with limited 
> memory.  There's an "--enable-small" flag, as well as some others of 
> interest.  While I've done this before when i had core3 running on these 
> boxes, i hacked up the spec file pretty good.  If such a conditional was 
> in place going forward, it would make recompile easier for the next 
> major distribution version upgrade.

That's a good use case. Have you tried to simply pass %optflags to
the build? E.g. like rpmbuild ... --define 'optflags -Os' ...

> Karl
> 
> 
> Axel Thimm wrote:
> > On Sat, Mar 17, 2007 at 06:31:58PM -0400, Karl Grindley wrote:
> >   
> >> Would it be possible to get a copy of the latest atrpms macros? 
> >> (specifically for recompiling the mythtv-suite rpm)
> >>     
> >
> > If you are using FC6 or similar: Add to /etc/rpm/macros
> >
> > %eversion       %{?epoch:%{epoch}:}%{version}
> > %evr            %{?epoch:%{epoch}:}%{version}-%{release}
> > %_initdir       %{_sysconfdir}/rc.d/init.d
> > %_varlibdir     %{_localstatedir}/lib
> > %_varcachedir   %{_localstatedir}/cache
> > %_logdir                %{_localstatedir}/log
> > %_rundir                %{_localstatedir}/run
> > %_subsysdir     %{_localstatedir}/lock/subsys
> > %_sysconfigdir  %{_sysconfdir}/sysconfig
> > %_logrotatedir  %{_sysconfdir}/logrotate.d
> > %_x_prefix /usr
> > %_x_includes %{_includedir}
> > %_x_libraries %{_libdir}
> > %_x_module_path %{_libdir}/xorg/modules
> >
> > You'll also need to make sure you don't build under /usr,
> > e.g. %builddir needs to be somewhere else.
> >
> >   
> >> Also, looking at the source file, I'm thinking of adding some more bcond 
> >> options at the top for some of the other compile flags.  Are you guys 
> >> open to contributions?  I'd be happy to generate a patch and submit it 
> >> up when I'm finished.
> >>     
> >
> > Yes, of course, what where you thinking of turning into a conditional?
> > I'm trying to keep usage of conditionals low.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070318/64c208d6/attachment.bin 


More information about the atrpms-devel mailing list