You are not logged in.

#1 2010-12-19 00:52:09

karacho
Member
From: Lüneburg/Ger
Registered: 2010-09-02
Posts: 6

MythTV 0.24-fixes: Move from subversion to git

Hello!

Some time ago I created a PKGBUILD for MythTV 0.24-fixes-svn. http://aur.archlinux.org/packages.php?ID=43995

MythTV moved their source control to github, and I want to upload a new PKGBUILD to the AUR. The name will be changed to mythtv-0.24-fixes-git, so I'll have to request deletion of mythtv-0.24-fixes-svn, right?

Another question:
The mythtv-plugins PKGBUILD in ABS is a 'split-package', the maintainer of MythTV 0.23-fixes (not me) used a 'hack' to select which package to build (http://aur.archlinux.org/packages/mythp … n/PKGBUILD). For 0.24, at the moment I use one package per plugin, but that involves downloading the whole plugins source tree for each plugin (didn't really think about that). -> Not very elegant smile
Which way would you recommend? What's the 'best practice' for split packages?

Thank you!
Best regards
Jannik

Offline

#2 2010-12-27 04:19:14

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: MythTV 0.24-fixes: Move from subversion to git

I cannot comment for the devs...since I'm not one. I can just comment as a Arch user with daily MythTV use. MythTV happens to be the whole reason I have a real network in my house! I digress...

I personally prefer the non-split packages (in general, there are exceptions like KDE) since they actually match the method of what's being released by the programmers. In MythTV's case, you don't know what your missing unless you install ALL of the plugin packages. It's also a lot more typing to install them, and one more complexity when troubleshooting an upgrade.

My preference is 3 packages: MythTV-fixes-git, mythtv-plugins-fixes-git and mythtv-themes-fixes-gt.


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#3 2010-12-27 13:15:35

karacho
Member
From: Lüneburg/Ger
Registered: 2010-09-02
Posts: 6

Re: MythTV 0.24-fixes: Move from subversion to git

Hello, and thanks for your reply!

With the move to github MythTV restructured their repository. There is now one repository which contains mythv AND mythplugins. And a separate repository which contains myththemes.

I'm a beginner with git, but as far as I understand there is no way to recursively download just one directory from the git repo, so I have to clone the whole repository. That's why I think it would be good to have mythtv and it's plugins in the same packagebuild, because the users would have to clone the (about 350MB) repo only once.

Please take a look at this PKGBUILD, http://pastebin.com/tN3xYG23. With the commented mythplugins in the pkgname array, it will only build mythtv. Otherwise it will build mythtv and the plugins. I did not yet try to upload it to the AUR, but I think it should work. At least it works fine for me with just makepkg. Is this okay, or is it unclean?

Last edited by karacho (2010-12-27 17:19:37)

Offline

#4 2011-01-01 23:55:19

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: MythTV 0.24-fixes: Move from subversion to git

I am kind of new to this part of mythtv.
The 0.25 git version supposedly enables vaapi support which is something I would like to have. Does one have to modify the PKGBUILD to pull the trunk version? Or is that part of 0.24-fixes?

Cheers,
Blind

Offline

#5 2011-01-02 19:42:21

karacho
Member
From: Lüneburg/Ger
Registered: 2010-09-02
Posts: 6

Re: MythTV 0.24-fixes: Move from subversion to git

Hello,

I had a look at both 0.24-fixes and master configure options, and both don't have the "--enable-vaapi" option. So I suppose there is no VA API support, yet. However, ffmpeg (that is provided as external library), has a --disable-vaapi option...
But they have a trac ticket for VA API support with some patches, here: http://code.mythtv.org/trac/ticket/8593. I didn't test the patches, you could try to clone trunk and apply them. You'd have to modify the PKGBUILD for that, yes. In line 72 (git clone....) remove '-b "fixes/0.24"', that should clone master. <- I didn't test that either smile
I'm an ATI/AMD user, too. I think I'll wait till VA API support is ready for the stable branch.

BTT, thanks to Gilles from MythTV-FR team we could fix some mistakes in the above pkgbuild, please try the new one: http://dl.dropbox.com/u/1346739/mythtv- … src.tar.gz

Happy new year (...a bit late.. smile )

Offline

#6 2011-01-02 23:16:49

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: MythTV 0.24-fixes: Move from subversion to git

Hey,

first and most important:
Happy New Year to you too smile

I'll test the PKGBUILD asap (once my wife lets me touch our TV box, running Win7 MCE on it atm). To impress her I will have to make sure everything is as easy as pie smile

Cheers,
Blind

Offline

#7 2011-02-28 10:12:54

boomshalek
Member
Registered: 2007-10-12
Posts: 113

Re: MythTV 0.24-fixes: Move from subversion to git

Hi

Is there a package planned for AUR or are you still testing your PKGBUILD?

BR

Offline

#8 2011-02-28 13:14:10

karacho
Member
From: Lüneburg/Ger
Registered: 2010-09-02
Posts: 6

Re: MythTV 0.24-fixes: Move from subversion to git

Hello,

I'm sorry, I didn't prepare anything, yet. I'm finishing my study at the moment. Did you try the recent PKGBUILD linked in post #5? It should work with the themes from the AUR. I'll try to help if something doesn't work.
Also, I would be glad if someone else could become the maintainer of this package smile

Best regards

Offline

#9 2011-02-28 13:56:22

boomshalek
Member
Registered: 2007-10-12
Posts: 113

Re: MythTV 0.24-fixes: Move from subversion to git

Hi

I am compiling at the moment using the first PKGBUILD (post #1). I had to delete the zoneminder section, as it could not find a file and copied the mtd from my current setup to ../abs/myth.../mtd.rc. I didn't see that you had already prepared a new version (my stupid smile ).

Maybe I have to try the new versions afterwards. Do you just know by heart what the changes were ?

BR and good luck with finishing studies

Offline

#10 2011-02-28 16:13:54

boomshalek
Member
Registered: 2007-10-12
Posts: 113

Re: MythTV 0.24-fixes: Move from subversion to git

OK. Newest version seems to work fine.

But I miss the mythweb package. Never have made my own PKG, so this will need some investigation ...

Offline

Board footer

Powered by FluxBB