#
# The format of this file is:
#

# -------- Options --------

PATCHPATH=.:../OOO_1_1

# -------- Functional sub-sets --------

Minimal : MinimalOnly, BuildBits
Common : BuildBits, IconRender, Misc, MenuFixes, CalcFixes
LinuxCommon : Common, FontBits, FontConfig, i18n, SystemBits, RecentFiles, LinuxOnly
DebianBase : DebianOnly, LinuxCommon
#DebianBase : DebianOnly, LinuxCommon, OOoCUPS
Debian : DebianBase, XineramaPIC
DebianWoody: DebianBase, OldLibArt
Ximian : XimianOnly, LinuxCommon, GnomeVFS, GnomeCUPS, GlobalDesktopFiles, StartupNotification, ODKFixes, VBABits
RedHatBase : LinuxCommon, GnomeVFS, GnomeCUPS, StartupNotification, RedHatOnly, ODKFixes
RHFedora : RedHatBase, RHFedoraOnly
RHTaroon : RedHatBase, RHTaroonOnly, OldLibArt
RHShrike : RedHatBase, RHShrikeOnly, OldLibArt
KDE : LinuxCommon, NativeWidgets, StartupNotification, ODKFixes
# somewhat odder:
Win32 : Common, ODKFixes, VBABits, Win32Only

# -------- [ Tag ], patch sets --------

[ BuildBits ]
# Use -O0 for the "no optimizations" case, so that "build debug=true" does the right thing  #17181
noopt-debug.diff

# don't touch a header unless it's really changed #8817
deliver-compare.diff

# do an optimizing link
build-optimized-link.diff

# fix daft cut / paste mess. #24917 - up-stream.
flash-compile-fix.diff

# help people get debugging
debug-helper.diff

# do not build extras for icu, workaround for http://bugs.debian.org/210608
icu-build-no-extras.diff

build-pl-conditionals.diff

[ Misc ]
# fix atomic dec/inc for Sparc #15502 patch_to_boost_patch (also #14848)
build-sparc-boost.diff

# Use $(CC) for sparc assembler #26255
build-sparc-assembler.diff

# Fix alignment of long/doubles on Sparc #24059
bridges-sparc-alignment.diff

# Don't -DBUILD, -DBUILD_ID for our build system #12782: rc3
stlport-defeat-include.diff

# Some people are unbelievable ;-)
# spell-ximian.diff

# don't do hundreds of sched_yields; each taking 100ms on RH 9.0 #9277: dafter fix
thread-yield.diff

# Insert symbol defaults to the Symbol font - not a random one #15512: rc3
gui-sw-insert-symbol.diff

# Make list boxes clickable on the right of the text's bounds # 17182: rc3
list-box-click.diff

# Make cut and paste nicer #15509
gui-sc-paste.diff

# Make cursor two lines
gui-sc-cursor.diff

# use fork in tools/source/solar.c to make it work with 2.5/2.6 kernels, #17241
solar-use-fork.diff

# speedup object movement
speed-lang-cache.diff

# Sensitize show in row/col depending on the selection  #24137 
sc-show-sensitize.diff

# Fix mind-mangled evo. addressbook path #26309
evo-addrbook.diff

# Fix disable java problem #27746
disable-java.diff

# this is so brain damaged - guess a number/bitfield ...
doc-defaults.diff

# Allow the document to be re-titled to "" in properties #22340
doc-retitle.diff

# be a bit helpful ... #8581
debug-appinit.diff

# tweak Gtk+ theming a little
gtk-themeing.diff

# Fix CAN-2004-0179, neon format string vuln #27789
neon.patch-CAN-2004-0179.diff

[ ODKFixes ]

# Fix ODK Java bits
odk-java-wizpanel.diff

[ IconRender ]

# add support for 32-bit bitmaps and icons.
bmp32.diff
# Transfer alpha masks around
icon-render.diff
# Make insensitive icons look pleasant
gui-insensitive.diff
# high quality interpolate for tbx button selector
gui-tbxcust.diff
# image loading needs to split off the alpha mask
gui-image-load.diff
# fix some broken icon compositing foo #20470
icon-masks.diff
# Compositing fixes for alpha bg's - some (functional) hacks
gui-icon-composite.diff
gui-tbx-ctrl-bg.diff
# Fix htmltoolbar image alpha
gui-alpha-hypertoolbar.diff

# replace uber-ugly symbols with corresponding images
# gui-symbol-replace.diff

# make the toolbox separators look saner, mouseover triangles
# resize & make set large icons as the default.
# Make tri-states look un-pressed - don't confuse the clients
# Don't draw uber-ugly prelight mess
gui-toolbox.diff
gui-toolbox-large-icons.diff
gui-toolbox-tristate.diff
gui-toolbox-prelight.diff

[ FontBits ]

# Make the font scaling sane, use Xft dpi setting #15507: rc3
gui-font-scale.diff
gui-font-antialias-size.diff
# undo some horrible mistake #16682
gui-font-size-unbreak.diff

# Default font size of 8pt is too small
gui-font-default-size.diff

# Get KDE font weight and size, and use menuFont for menus
gui-fonts-kde.diff

# These are not included in the OOO_STABLE_1 build
# - Use the new Freetype API
# - Use the hinting parameters that we use in the rest of the desktop
gui-ft-21-compat.patch
gui-ft-set-hint.patch

# Don't bloat the ruler et. al. at larger font sizes #22098
gui-scale-ruler.diff

[ Misc ]

# Fallback to the English help if we don't have a given language
help-fallback-en.diff

# Fix some keybindings
gui-keybindings.diff

# Don't clutter us with dialogs at startup
gui-startup-declutter.diff

# not perfect, but lots better
gui-autocomplete.diff

# Always throw up a new window when we ask for one,
# instead of brokenly re-using old ones #19712
# Don't do a 'raise' after load: #19976
# Disable for now - causes grief with multi-displays etc. pending #19976
# gui-appear.diff

# Try and make the installer slightly wise to [OO]DESTDIR # 12781
inst-destdir.diff

# Improve ergonomics of slide / sheet rename #21659
gui-rename-dlg.diff

# Make the default writer bullet larger #21829
sw-default-bullet.diff

# Fix MS bullet export code - back-port from HEAD
sw-ms-bullet-export.diff

# Stop beeping ! #26070
sw-dont-beep.diff

# Dramatically improve MS import / export cf. #8276 et. al.
ms-filter-convert.diff

# A bullet is not a field - at least in MS land it isn't #21916
sw-bullet-not-field.diff

# The world need not see that I can't spell #21440
sd-export-no-spell-check.diff

# Save as menuitem for image context menus in impress #13816 gnome #127556
sd-save-image-context-menu.diff

# call mozilla, not netscape...
nswrapper-mozilla-not-netscape.diff

# Knock 50ms+ off pagein time #23350
pagein-speedup.diff

# I'm assured this is faster #24997
pagein-speedup-2.diff

[ GnomeVFS ]

# New VFS provider stuff ..
vfs-offapi.diff
vfs-provider.diff
vfs-content.diff
vfs-directory.diff
vfs-stream.diff
vfs-uno-register.diff
vfs-ucp-setup.diff
vfs-uno-uri.diff

[ Misc ]
# Some of the new help & other icons we need
gui-new-icons.diff

[ MenuFixes ]

# Fix menu bloat / icon rendering / layout issues #17937
gui-menu-fixes.diff
# Use rendered images for check boxes instead of ugly symbols
gui-menu-check-images.diff
gui-menu-check-render.diff
# Fix menu checkitems, disable rendering of icons when the items unchecked
gui-menu-checkitems.diff

[ Misc ]
# fix 'new' button sizing #15208
gui-tbx-new-size.diff

# Dialog remembers file save path, type & stores type right #17967
print-dialog.diff

[ OOoCUPS ]
# CUPS support backported from cws_srx645_cups01
psprint-cups.diff

[ GnomeCUPS ]
# If we can't print to the generic device offer 'add printer'
print-generic-gui.diff

# Printing should go via CUPS not lpr
print-cups.diff
print-psprint-rehash.diff

# Push fonts into the ps stream always
print-type42.diff

# DebianOnly: can't do this while supporting non-CUPS systems
# Disable spadmin install
print-spadmin-disable.diff

[ FontConfig ]
# Use fontconfig to get font directories
print-fontconfig.diff

# disable font management dialog in padmin
padmin-nofontconfig.diff

[ FontBits ]
# fix some brokenness with font sync settings #15507, #16683
gui-ft-pt-not-pixel.diff
gui-ft-use-system-font.diff

[ XimianOnly, RedHatOnly ]
# Disable custom staroffice printer admin thing & broken crashdialog bits
module-buildset.diff

[ GlobalDesktopFiles ]
# DebianOnly: we use the generated desktop files by moving them to
#         the right place in the filesystem
# RH: we also use generated KDE desktop files and mime-types
# don't install duff / ugly KDE/Gnome integration bits
user-desktop-install.diff

[ Misc ]

# stop the user having to fight ooimpress constantly
capitalization.diff

# warn the user about printer errors #17966
print-error.diff

# Add 'Word count' to the Tools menu - i18n issues ? #17964
word-count.diff

# Replace the Zoom icon with a Combo box in toolbars #11354
zoom-combobox.diff

# Hide the URI box
gui-toolbox-cleanup.diff

# Make the delete key happy again in starcalc #17965 - wontfix [!]
gui-sc-delete.diff

# Don't build simply huge language specific sets
build-lang-no-pack.diff

# Try to get the font mapping right
gui-metric-fonts.diff
# Use 'Andy' after comicsansms, before kidprint
font-andy.diff

# use 'OOO_MS_DEFAULTS' to turn on MS compatible export as default
app-compatible.diff

# Translate File->New, ->Wizard menus when using langpacks #20537
gui-menu-new-wizard-translations.diff

# add support for HEBREW, HINDI and THAI to set_soenv.in
extra-languages.diff

[ RecentFiles ]

# Add support for the freedesktop.org ~/.recently-used spec. #24253
recent-files.diff

[ XimianOnly, MinimalOnly, RedHatOnly ]
build-instsetoo-lang.diff

[ DebianOnly ]
# Temporary until above patch adapted for DebianOnly's needs
build-instsetoo-langext.diff

[ i18n ]

# Use the environment to determine locale #21191
i18n-sal.diff
i18n-rehash.diff

#18157
i18n-cleanup.diff

# norwegian translation
norwegian-translation.diff

# add translations to sysui
sysui-translations.diff

# add datasource entries for MySQL for several languages, #22065 
datasources_types_add_mysql.diff

[ SystemBits ]

# use getopt of the system's glibc
system-getopt.diff
# use system db
system-db.diff
# use system nas
system-nas.diff
# use system freetype
system-freetype.diff
# use system curl
system-curl.diff
# use system sane.h
system-sane.diff
# use system myspell
system-myspell.diff
# use system altlinuxhyph
system-altlinuxhyph.diff
# use system neon
system-neon.diff
# use system X11 extension headers
system-x11-extensions.diff
# use system unixODBC headers
system-unixodbc.diff

[ BuildBits ]
# add --without-fonts, --with-python, --disable-rpath,
# --enable-mozilla, --enable-fontconfig, --with-system-{zlib,nas,db,freetype}
# config switches #21920
config-switches.diff

# update aclocal, for AM_PATH_PYTHON
config-aclocal.diff

# disable system python, not yet complete
system-python.diff

# Disable old installation language comparison when upgrading
setup-no-langcheck.diff

[ Misc ]

# Icu was patched to include rpath - remove it.
icu-no-rpath.diff

# Improve the web bullet export / export to png not gif. #23353
sd-export-html-theme.diff
sd-export-html.diff
sd-export-html-descr.diff

# Fix the nasty default palette sizing #19158
gui-tbx-palette.diff

# Don't die with some strange incoming scp #19496
crash-mapmode.diff

# Fix the splash to not screwup on redraw #19646
gui-splash-redraw.diff

# Don't let the splash screen take over #23609
no-splash-takeover.patch

# back-port accelerated bootstrap behavior #8359
# speed-bootstrap-cache.diff

# Initialize some values
# cf. #20184 & back-ported from cws_src680_valgrind01
valgrind-clean.diff

# Make valgrinding easier
valgrind-alloc.diff

# Make the scroll-wheel / page popup more sane #20826
gui-sw-scroll.diff

# Disable style-list popup on first startup
gui-startup-style.diff

# Use 'utility' type for floaters - fixes click-on-panel-task-switch bug
wm-dialog-utility.diff

# Fix some incorrect assumptions about registers (x86-only)
asm-fixes.patch

# File->New->Spreadsheet freezes on some versions of GCC
svx-freeze-fix.patch

# Fix silly crash in escher code & improve export - #26747
crash-escherex.diff

# fix pyuno for pythons which were compiled with ucs-4 support
pyuno-ucs-4-fixes.diff

[ LinuxOnly ]

# Optimize linkage of some xmlhelp libraries
xmlhelp-optimize-linkage.patch

[ StartupNotification ]

# Startup notification fixes #18970
startup-fix.diff

[ CalcFixes ]
# egregious calc bug fixes - #25883, #25890
sc-fn-eng.diff
# start of improved value compatibility - #25898
sc-xl-io.diff
# don't be silly with A1=B2:B2 - #25924
sc-singleton-intersect.diff
# allow biff dumping - #25430
sc-biffdump.diff

[ VBABits ]

# Don't split macro files up gratuitously - #26345
vba-large-files.diff
vba-scanner-fix.diff

# Do a better job of importing Excel macros - #26402
vba-not-comments.diff
vba-sc-import.diff
vba-sc-export.diff

# Export VBA macros - but only to office XP, and that unconditionally
# vba-export.diff
# vba-export-dir.diff

#######################################################
# Patches applied in limited cases

[ XineramaPIC ]
# use libXinerama_pic.a on all archs
xinerama-pic-on-all-archs.diff

[ MinimalOnly ]
# disable odk build since we removed it from the tarball
disable-odk-build.diff

[ RedHatOnly, XimianOnly ]

# Use bug buddy
bug-buddy.diff

[ XimianOnly, DebianOnly ]
# Bin nasty bitstream fonts from most (English) mappings
font-de-bitstreamize-en.diff

# save everything to ~/Documents by default
path-home-documents.diff

[ OldLibArt ]
# add missing libart functions for older backports
build-use-old-libart.diff

#######################################################

[ DebianOnly ]

# Don't statically link setup to libstlport
stlport-dynamic-link.diff

# set OOO_DEBUG to strace or gdb soffice.bin
debug-ooo.diff

# hack to disable GIF generation using patented LZW compression
disable-lzwc.diff

# compile msgbox-gnome every time (we have to support ppc, s390, ... too)
compile-msgbox-gnome.diff

# Debian splashscreen
debian-splash.diff

# disable odk build since we removed it from the tarball
disable-odk-build.diff

# use sensible-browser
sensible-browser.diff

#######################################################

[ RedHatOnly ]
# Munge default fonts to match Red Hat-shipped ones
#redhat-default-fonts.patch

# deal with some conflicts with system neon stuff (?)
redhat-neon-sysmacrosh.patch

# Patch to point gnome-vfs to correct RH OOo icons
redhat-nautilus-icons.patch

# Red Hat splash screen
redhat-splash.diff

#######################################################

# so far XimianOnly only, controversial patches etc.
[ XimianOnly ]

# Help -> support
help-support.diff

# Integrate external programs & evo. hacks
desktop-integration.diff

# Some branding action
ximian-splash.diff

#######################################################

[ Win32Only ]

# A number of nasty VS.Net 2003 fixes
win32-msvs-2003-configure.diff
win32-msvs-2003-misc.diff
win32-msvs-2003-misc2.diff
win32-msvs-2003-misc3.diff

# fix 'Program\ Files' style path elements. #27304
win32-posixpath.diff

# ignore '!' prefixed environment variables #27319
win32-dmake-env.diff

# Build berkeleydb with dmake not crack-rock-make #27400
win32-berkeleydb-toplevel.diff
win32-berkeleydb-make-patch.diff

# Odd sj2 / sjlib behavior on Win32 - badly fitted for no-java too.
win32-sjlib.diff

# libart on win32 hack - needs scp support
win32-libart-build.diff
win32-internal-libart.diff

# Stephan's fixes from alphaart cws - should be merged with above patches
win32-bmp32-ssa-fixes.diff

# Accelerate / cache DIB creation ( don't keep doing it )
win32-bmp32-speedup.diff

# Disable odk build
disable-odk-build.diff

# Novell splash - prolly belongs in a NovellWin32Only section but ...
novell-splash.diff

# A number of nasty MSVC6 fixes
win32-sd-vc6.diff

# This is a pretty nasty IE problem #19510
win32-activex-disable.diff

#######################################################

[ Win32BinConvertDSW ]
# Attempt to work around ICU evilness ...
# Not-yet-functional, but desirable:
win32-icu-config.diff
win32-icu-make.diff
win32-icu-build.diff

[ TestGtkIntegration ]
# Glib / gtk+ integration
glib-integration.diff
gtk-integration-salinst.diff
gtk-integration-saldata.diff
gtk-integration-saldisp.diff

[ XimianOnly ]
# the beginnings of layout
gui-window-layout.diff
gui-control-layout.diff

[ TestLayout ]
# the ends of layout
layout-ids.diff
layout-rsc.diff
layout-vcl-layout.diff
layout-vcl-window.diff
layout-test.diff

#######################################################

[ NativeWidgets ]
# Native Widget Framework
nativewidgets-config_office.diff
nativewidgets-vcl.diff
nativewidgets-no-sessionmanager.diff
