Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89206 - MythTV-0.18 is out
Summary: MythTV-0.18 is out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://mythtv.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-15 10:53 UTC by Jesse Adelman
Modified: 2005-04-22 04:25 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
modified ebuild for mythtv-0.18 (mythtv-0.18.ebuild,5.50 KB, application/octet-stream)
2005-04-17 07:23 UTC, James Gater
Details
mythtv-themes-0.18.ebuild (mythtv-themes-0.18.ebuild,1.41 KB, text/plain)
2005-04-17 09:40 UTC, James Gater
Details
mythtv-0.18.ebuild (mythtv-0.18.ebuild,5.50 KB, text/plain)
2005-04-17 09:42 UTC, James Gater
Details
MMX enabled mythtv-0.18.ebuild (mythtv-0.18.ebuild,3.19 KB, text/plain)
2005-04-19 10:33 UTC, Brian Merrill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2005-04-15 10:53:25 UTC
As I'm sure you know, MythTV 0.18 was released last night. Please add it to Portage. Thanks!

Reproducible: Always
Steps to Reproduce:
1. emerge mythtv
2. stare
3. drool

Actual Results:  
mythtv-0.17-r1 installs.

Expected Results:  
mythtv-0.18 installs.

Danke.
Comment 1 Jesse Adelman 2005-04-16 00:46:59 UTC
I suppose we should note that this release might take more ebuild magic since Issac has merged the build into three packages, instead of the previous eleven. This will also affect all of the other official myth ebuilds. It now looks like this:

mythplugins - all the official MythTV plugins (MythBrowser, MythDVD, MythGallery, MythGame, MythMusic, MythNews, MythPhone, MythVideo, MythWeather, and MythWeb)
myththemes - contains the (large) tarball of myth themes
myth - contains the core myth stuffs

mythplugins can build individual components by options set, which doesn't appear to be doc'd on the main myth sute, but hopefully is doc'd in the tarball itself.
Comment 2 James Gater 2005-04-17 07:23:56 UTC
Created attachment 56513 [details]
modified ebuild for mythtv-0.18

Based on a mixture of the mythtv-0.17-r1 ebuild and the mplayer ebuild (and
mooch's ebuild in http://forums.gentoo.org/viewtopic-p-2319038.html#2319038),
I've fixed the USE flags to the best of my ability.

I got the following error on compilation with MMX enabled on P4, celeron and
athlon-xp:
i686-pc-linux-gnu-gcc -c -pipe -march=pentiumpro -w -O2 -march=athlon-xp -pipe
-fno-pie -D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_IVTV -DUSING_XRANDR
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DHAVE_AV_CONFIG_H
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I../.. -I/usr/qt/3/include -o
a52_bitstream.o liba52/a52_bitstream.c
libpostproc/postprocess_template.c: In function `postProcess_MMX':
libpostproc/postprocess_template.c:3198: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
libpostproc/postprocess_template.c:3283: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
libpostproc/postprocess_template.c:3198: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
libpostproc/postprocess_template.c:3283: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
make: *** [postprocess.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory
`/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/libs/libavcodec' 

Ergo, I've disabled MMX entirely in the ebuild, which obviously isn't ideal -
but since it's supposed to be disabled for athlon-xp and AMD64, I can live with
it. Hopefully someone comes up with a way to make it work for those platforms
which gain an advantage from MMX.

I don't think the ebuild actually needs to comment out entries in the
settings.pro file any more, but I've converted the modifications from 0.17 for
completeness.

Hopefully someone with more ebuildfoo than myself can do a better job than this
one, but it might prove useful in the meantime.
Comment 3 James Gater 2005-04-17 09:40:46 UTC
Created attachment 56524 [details]
mythtv-themes-0.18.ebuild

Tweaked the mythtv-themes-0.17 ebuild to add the new myththemes tarball, as
most of the themes have been moved from mythtv into it.
Comment 4 James Gater 2005-04-17 09:42:48 UTC
Created attachment 56527 [details]
mythtv-0.18.ebuild

Replacing the binary?! version of my mythtv-0.18.ebuild with a text one.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-17 13:59:58 UTC
Cardoe's still away, so I'll whip some together and throw them into portage.  I'm going to place them in package.mask until all of them are done.
Comment 6 firefox 2005-04-18 03:20:42 UTC
quoting "docs/mythtv-HOWTO.txt":

--8<---
 As of MythTV version 0.18, there is no need to edit the settings.pro
  file to set compile-time options.  The configure script will configure
  MythTV appropriately for your system.  If you wish to change options,
  run ./configure --help to see what is available and to override and
  automatically detected options.  See the config.log file after running
  configure to see previous runs.
--8<---

I think we should switch to using configure, this will ensure ebuilds are easily portable to new versions. 
Comment 7 Brian Merrill 2005-04-19 10:33:35 UTC
Created attachment 56687 [details]
MMX enabled mythtv-0.18.ebuild

I can successfully compile mythtv with mmx enabled as well as O3 optimizations
on both a Pentium4 and an Athlon XP using this modified ebuild.
Comment 8 Olliver Schinagl 2005-04-20 09:29:46 UTC
i686-pc-linux-gnu-gcc -c -pipe -march=pentiumpro -w -O2 -march=athlon-xp -mtune=athlon-xp

Why do I have two -march lines with the myth 0.18 ebuild? I think that either mtune and march from make.conf should be ignored if 'above pentiumpro' doesn't work, or drop the -march=pentiumpro. I'm suprised gcc just 'keeps on working'. It compiled and runs fine though. (Except that it's the wrong size, but that might be unrelated : ).
Comment 9 Mark Francis 2005-04-20 19:02:48 UTC
Can use something like:
--arch=(filter march value) --extra-cflags="${CFLAGS without march}" --extra-cxxflags="${CXXFLAGS without march}"
on configure to pass compile flags. There may be a better way but I have got this to work for my pentium-m and k8 although I hardcoded it.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-04-21 06:04:22 UTC
In portage for three days. Closing. 
Comment 11 Jesse Adelman 2005-04-21 16:33:35 UTC
Um, what about the issues mentioned in comments #8 and #9?
Comment 12 Jesse Adelman 2005-04-21 17:42:43 UTC
Just to confirm that this issue is still extant. Reopening bug.

From the myth-0.18 compile:

i686-pc-linux-gnu-gcc -c -pipe -march=pentiumpro -w -march=athlon-xp -O2 -pipe -fno-pie -D_REENTRANT -DPIC -fPIC  -DUSING_IVTV -DUSING_XRANDR -DUSING_OPENGL_VSYNC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I../.. -I/usr/qt/3/include -o resample.o liba52/resample.c

Comment 13 Jesse Adelman 2005-04-21 19:08:27 UTC
Note that #8 doesn't appear to happen in some plugin ebuilds, such as mythweather-0.18, compile snippet shown here:

i686-pc-linux-gnu-g++ -c -pipe -Wall -W -march=athlon-xp -O3 -pipe -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DHAVE_MMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -o main.o main.cpp
i686-pc-linux-gnu-g++ -c -pipe -Wall -W -march=athlon-xp -O3 -pipe -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DHAVE_MMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -o weather.o weather.cpp
/usr/qt/3/bin/moc weather.h -o moc_weather.cpp
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-04-22 04:25:32 UTC
If you have problems with the ebuild _in portage_ (if it does not work for you), file a bug about that ebuild. This bug is about version bump which has been done --> FIXED.