[mythtv-commits] Ticket #7090: Updates for the rpm packaging scripts/spec

MythTV mythtv at cvs.mythtv.org
Thu Sep 17 23:29:18 UTC 2009


#7090: Updates for the rpm packaging scripts/spec
----------------------------------------+-----------------------------------
 Reporter:  jtwyford at gmail.com          |       Owner:  mdean  
     Type:  enhancement                 |      Status:  new    
 Priority:  minor                       |   Milestone:  unknown
Component:  Contributed Scripts & Apps  |     Version:  head   
 Severity:  medium                      |     Mlocked:  0      
----------------------------------------+-----------------------------------
 I've been working on updates to both build_myth.sh and mythtv.spec for
 some time to keep up with trunk and generally streamline things.

 Primarily: -themes is now built as part of mythtv.spec and is not a
 package of all its own. Thus build_myth.sh has been streamlined too.
 However, installing via the script still makes a rather boneheaded
 assumption that is flat out wrong most of the time.

 Also:[[BR]]
 * mythbackend now runs as the no-privilege user 'mythtv' that gets added
 during install instead of root.[[BR]]
 * I've also dropped the old themes from the distribution and base-themes
 temporarily from the spec.[[BR]]
 * Gone are all references to arts.[[BR]]
 * Various and sundry updates to the spec to get closer to passing rpmlint.

 Some issues still exist that I have reservations about, more or less in
 order of priority:[[BR]]
 1. themes is huge (a 50MiB rpm on x86_64!), but which theme should we
 include by default so as to recreate base-themes?[[BR]]
 2. I'm not entirely sure this spec will build on systems other than my
 own. mock's failing at mythpainter_vdpau.cpp
 ([http://koji.fedoraproject.org/koji/buildinfo?buildID=132524 libvdpau] is
 not yet in updates-testing/updates, so no BuildRequire / Require)[[BR]]
 3. Does the mythtv user/group still need to exist/be created? Why not some
 other already-defined non-privileged user?[[BR]]
 4. mytharchive is huge too (14MiB)[[BR]]
 5. rpmlint is complaining about a lot of 'unused-direct-shlib-
 dependency'ies in /usr/lib64/*myth* (which are bugs of their own)[[BR]]
 6. I've had to chmod some mythvideo/mythweb files in the spec to properly
 set/remove their execute bits. Can we get those fixed in the repo?

 Current rpmlint output and `svn diff` from head are attached

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7090>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list