User Tools

Site Tools


public:techstuff:packaging:transmission

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:techstuff:packaging:transmission [2012/12/29 10:34] nathanpublic:techstuff:packaging:transmission [2020/04/25 13:05] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 ===== Dependencies ===== ===== Dependencies =====
 +
 +==== Build deb ====
 +
 +  * Go to http://packages.debian.org/wheezy/transmission-daemon
 +  * Copy the link to the dsc file from the right hand side
 +  * use dget to fetch the sources
 +
 +  dget http://ftp.de.debian.org/debian/pool/main/t/transmission/transmission_2.52-3+nmu1.dsc
 +
 +  * Update the sources. This uses the debian/watch file to update the sources.
 +
 +  uscan --verbose
 +
 +  Note: Currently the watch file (debian/watch) is limited to bz2, however transmission has moved to the xz extension. Modify the url to use the xz extension to get the latest build.
 +
 +  Note: At this point you probably want to remove the patches in debian/patches/*.patch and update the series file as these patches will probably already exist in the upstream version (and probably no longer apply anyway).
 +
 +  * Build the dsc file so we can use pbuilder
 +
 +  debuild -i -us -uc -S
 +
 +
  
 ==== libevent ==== ==== libevent ====
Line 9: Line 31:
   rmadison libevent   rmadison libevent
  
-  * At the moment libevent from backports is a new enough version so we'll just grab that.+  * At the moment libevent from backports is a new enough version so we'll just grab those straight into our repo. We need libevent-dev which depends on all of libevent, so we need those packages too.
  
-  apt-get download libevent-2.0.5=2.0.16-stable-1~bpo60+1+  cd /scratch/pbuilder/repo/
   apt-get download libevent-dev=2.0.16-stable-1~bpo60+1   apt-get download libevent-dev=2.0.16-stable-1~bpo60+1
- +  apt-get download libevent-2.0.5=2.0.16-stable-1~bpo60+1 
-  * move the file into the repo. +  apt-get download libevent-core-2.0-5=2.0.16-stable-1~bpo60+
- +  
-  mv libevent-2.0-5_2.0.16-stable-1~bpo60+1_amd64.deb /scratch/pbuilder/repo/ +
-  mv libevent-dev_2.0.16-stable-1~bpo60+1_amd64.deb /scratch/pbuilder/repo/+
  
   * Update the repo.   * Update the repo.
Line 24: Line 44:
   apt-ftparchive packages . > Packages   apt-ftparchive packages . > Packages
  
-  * Note the package name and version from the Packages file.+  * Note the package version from the Packages file.
  
   less Packages   less Packages
Line 45: Line 65:
   uscan --verbose   uscan --verbose
  
-  * First we need to update the dependencies. Edit debian/control to reflect the new version of libevent.+  * First we need to update the dependencies. Edit debian/control to reflect the new version of libevent from earlier.
  
   cd transmission-<version>   cd transmission-<version>
Line 61: Line 81:
  
   cd ..   cd ..
-  pbuilder-dist squeeze build transmission_<version>.dsc+  pbuilder-dist wheezy build transmission_<version>.dsc
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
  
-  * You may need to +  * You may need to remove patches that have since been upstreamed when you update the code.
public/techstuff/packaging/transmission.1356777294.txt.gz · Last modified: 2020/04/25 13:05 (external edit)