[ooo-build] Updating the xlsx patches

Jan Holesovsky kendy at suse.cz
Mon Dec 7 02:39:48 PST 2009


Hi Kohei, and others,

Should it happen that a change in your patch(es), or up-stream breaks the 
build of the xlsx patches, the procedure to update them is the following:

# let's say the current tag is ooo320-m10
# first of all, let's create a tree with no xlsx patches applied (here
# build/ooo320-m10.clean)

$ mv build/ooo320-m10 build/ooo320-m10.save
$ cp paches/dev300/apply patches/dev300/apply.save
$ vim patches/dev300/apply
  # disable all xlsx-filter-*, xlsx-snapshot.diff,
  # xlsx-shared-import-and-export.diff,
  # xlsx-arabic-export-crash.diff,
  # xlsx-export-*,
  # oox-calc-export-* patches, and additionally
  # oox-drawingml-fix-shapes-map-crash.diff
  # oox-pptx-export-animations-paragraph-target.diff
$ make patch.apply
$ mv build/ooo320-m10 build/ooo320-m10.clean
$ mv paches/dev300/apply.save patches/dev300/apply
$ mv build/ooo320-m10.save build/ooo320-m10

# now let's regenerate xlsx-filter-as-a-separate-lib-xls-copy.diff

$ bin/gen-xlsx-copy-of-xls.sh build/ooo320-m10.clean

# and try that it went well

$ make

That should be usually all, unless the change was more substantial, and really 
needs some update even in 'real' xlsx changes.

Regards,
Kendy


More information about the ooo-build mailing list