~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-security

« back to all changes in this revision

Viewing changes to debian/README.upstream-upgrade

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
  branches="master.unstripped pristine-tar upstream upstream.unstripped"
14
14
  for b in $branches; do git checkout -b $b origin/$b ; done
15
15
 
16
 
The following commands are intended to be copy&pastable.
17
 
 
18
 
 - run 'SVNDATE=`date +%Y%m%d`'
19
 
 - run 'git checkout master'
20
 
 - run 'debian/rules get-orig-source SVN_VERSION=${SVNDATE}'
21
 
 - run 'git-import-orig \
 
16
Prepare the environment:
 
17
 
 
18
  SVNDATE=`date +%Y%m%d`
 
19
  git checkout master
 
20
 
 
21
Fetch and commit the new upstream version:
 
22
 
 
23
  debian/rules get-orig-source SVN_VERSION=${SVNDATE}
 
24
  git-import-orig \
22
25
            --debian-branch=master \
23
26
            --upstream-branch=upstream \
24
27
            --pristine-tar \
 
28
            --no-dch \
25
29
            --upstream-tag=upstream/0.svn${SVNDATE} \
26
 
            ../ffmpeg-debian_0.svn${SVNDATE}.orig.tar.gz'
27
 
 - check and note the svn revision numbers from ffmpeg/{libswscale,}.svnrevision
28
 
   in debian/changelog
29
 
 - run 'git diff upstream^ Changelog libavcodec/allcodecs.c libavformat/allformats.c'
30
 
 - document new formats additions in debian/changelog
31
 
 - commit debian/changelog
32
 
 - run 'git checkout master.unstripped'
33
 
 - run 'git-import-orig \
 
30
            ../ffmpeg-debian_0.svn${SVNDATE}.orig.tar.gz
 
31
 
 
32
  git checkout master.unstripped
 
33
  git-import-orig \
34
34
            --debian-branch=master.unstripped \
35
35
            --upstream-branch=upstream.unstripped \
36
36
            --pristine-tar \
 
37
            --no-dch \
37
38
            --upstream-tag=upstream.unstripped/0.svn${SVNDATE}-unstripped \
38
39
            --upstream-version=0.svn${SVNDATE}-unstripped \
39
 
            ../ffmpeg_0.svn${SVNDATE}.orig.tar.gz'
40
 
 - run 'git checkout master.unstripped'
41
 
 - run 'git merge master'
42
 
 - resolve the conflicts, hopefully the only conflict is in debian/changelog
 
40
            ../ffmpeg_0.svn${SVNDATE}.orig.tar.gz
 
41
 
 
42
  git checkout master
 
43
 
 
44
Check and note the svn revision numbers from
 
45
ffmpeg/{libswscale,}.svnrevision in debian/changelog
 
46
 
 
47
  git diff upstream^ Changelog libavcodec/allcodecs.c libavformat/allformats.c
 
48
 
 
49
Document new formats additions in debian/changelog
 
50
 
 
51
Build, test, and compare against the the version already in the archive:
 
52
  - headers in the -dev packages with 
 
53
  - soname in the libraries
 
54
  - formats.txt in the libavcodecs package
 
55
 
 
56
Finialize debian/changelog, package should be upload ready now
 
57
 
 
58
Merge improvements and changes from master branch to master.unstripped:
 
59
 
 
60
  git checkout master.unstripped
 
61
  git merge master
 
62
 
 
63
Resolve the conflicts, hopefully the only conflict is in debian/changelog
43
64
   NB: libavcodec/allcodecs.c must match upstream.unstripped!
44
 
 - run 'git checkout master'
45
 
 - build the package, compare against the the version already in the archive
46
 
   - headers in the -dev packages with 
47
 
   - soname in the libraries
48
 
   - formats.txt in the libavcodecs package
49