Difference between revisions of "User:Dekarl/Testing patches on Mythbuntu"

From MythTV Official Wiki
Jump to: navigation, search
m (fix typos and missing sudo)
m
Line 1: Line 1:
 +
It took me about two hours to come up with these steps from start to finished packages.
 +
 
extract from
 
extract from
 
* https://wiki.ubuntu.com/PackagingGuide/Complete#Building_the_Package_Locally_.28Binary_Only.29
 
* https://wiki.ubuntu.com/PackagingGuide/Complete#Building_the_Package_Locally_.28Binary_Only.29
Line 14: Line 16:
 
* install all dependencies: sudo apt-get build-dep mythtv
 
* install all dependencies: sudo apt-get build-dep mythtv
 
* build the packages: debuild -i -us -uc -b
 
* build the packages: debuild -i -us -uc -b
 +
 +
and then you install it, try out test the patch and report back on the ticket

Revision as of 22:56, 7 November 2011

It took me about two hours to come up with these steps from start to finished packages.

extract from

these steps will output the packages in ~

  • edit /etc/apt/sources.list.d/mythbuntu-repos.list and duplicate the "apt" lines to "apt-src" lines
  • install debuild: sudo apt-get install ubuntu-dev-tools
  • install edit-patch: sudo apt-get install quilt
  • install git: sudo apt-get install git
  • get the source: LC_ALL=C apt-get source mythtv
  • get the patch: wget -q http://code.mythtv.org/trac/this'n'that/here-be-the-patch
  • change to the source tree: cd mythtv-*
  • apply the patch: edit-patch ~/thepatch.diff
  • install all dependencies: sudo apt-get build-dep mythtv
  • build the packages: debuild -i -us -uc -b

and then you install it, try out test the patch and report back on the ticket