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

From MythTV Official Wiki
Jump to: navigation, search
(how to test patches on Mythbuntu)
 
m (fix typos and missing sudo)
Line 3: Line 3:
 
* https://wiki.ubuntu.com/PackagingGuide/Complete#Applying_a_patch
 
* https://wiki.ubuntu.com/PackagingGuide/Complete#Applying_a_patch
  
* edit /etc/apt/sources.list.d/mythbuntu and duplocate the "apt" liners to "apt-src2" lines
+
these steps will output the packages in ~
* get the source: LC_ALL=C apt-get source mnythtv
+
* edit /etc/apt/sources.list.d/mythbuntu-repos.list and duplicate the "apt" lines to "apt-src" lines
* get the patch wget -q http://thepatch.at.trac/
+
* install debuild: sudo apt-get install ubuntu-dev-tools
* change to the source tree at ~/mythtv*
+
* install edit-patch: sudo apt-get install quilt
* apply the patch edit-patch ~/thepatch.diff
+
* install git: sudo apt-get install git
* install all dependencies: apt-get build-dep mythtv
+
* get the source: LC_ALL=C apt-get source mythtv
* install git: apt-get install git
+
* get the patch: wget -q http://code.mythtv.org/trac/this'n'that/here-be-the-patch
* debuild -i -us -uc -b
+
* 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

Revision as of 22:52, 7 November 2011

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