#
# The format of this file is:
#

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

PATCHPATH=.:../OOO_1_1:../evo2

# -------- 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
KDEBase : LinuxCommon, KDECommon, NativeWidgets, FilePicker, StartupNotification, ODKFixes
KDE : KDEBase, KDEOnly
SuSE : SuSEOnly, LinuxCommon, KDEBase, GlobalDesktopFiles, VBABits
PLD : PLDOnly, LinuxCommon, KDEBase, OOoCUPS, GlobalDesktopFiles, StartupNotification, ODKFixes, VBABits
Ark : ArkOnly, LinuxCommon, NativeWidgets, GlobalDesktopFiles, ODKFixes, VBABits, OOoCUPS
# 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

# Use $ARCH_FLAGS env. var instead of hard-coded -mcpu=pentiumpro, #29537
build-arch-flags.diff

# Dan's re-work
build-pl-conditionals.diff

# allow s390x too, #29375
allow-s390x.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

# Allow building with new (4.6.x) STLport - #28564
stlport-compile-fix.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

# Fix portability to new (NPTL) glibc's 2.3.x - #28761
glibc234-semaphore.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

# speedup string compares #29154
speed-sal-string.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

# If Java is enabled, ship the XSLT (docbook etc.) bits
java-use-xslt-filters.diff

# The blackdown .debs put the JDK in /usr/lib/j2se/1.4
java-path-blackdown.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
# ... and CAN-2004-0398, neon buffer overlow, #29344
neon.patch-CAN-2004-0398.diff
# prevent control characters from being included in the
# reason_phrase field filled in by ne_parse_statusline(), and in
# the session error string, #30051
neon-control-characters.diff


# Fix svtools build dependencies #28379
build-svtools-dep.diff

# Add an ooo-build version in ProductExtension
version-strike.diff

# Fix more malformed TrueType fonts (RH #123441, OOo #24286)
# NOTE: this patch should be in 1.1.2
psprint-bad-ttf-name-table-fix.diff

# Make officecfg parallel-build safe
officecfg-parallel-build-fix.diff

# dlopen libcrypt.so.1 / libpam.so.0, not librypt.so / libpam.so
security-sonames.diff

[ ODKFixes ]

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

# Fix ODK configure.pl #28381
odk-head-options.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 loads of styles re-import crasher #26550
sw-ms-fmt-import.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

# export .doc crash #i24197# - disable, already in 1.1.1 (?)
# sw-export-crash.diff

# call mozilla, not netscape..., #29514
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 #17937
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

# Make sure that the UI font can display chars from the current
# locale, when Use System UI Font is on
gui-i18n-default-font.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, PLDOnly ]
# Disable broken crashdialog bits
module-buildset-crashrep.diff

[ XimianOnly, RedHatOnly ]
# Disable custom staroffice printer admin thing
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
# Describe the metric compatible fonts for export mappings
gui-metric-fonts-descr.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, PLDOnly ]
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

# package hungarian help, #29528
hungarian-help.diff

# add translations to sysui and remove bogus ones, #28201
sysui-translations.diff

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

# shrink exported ISO_8859_2 & MS_1250 html
# most people will use UTF-8 and never see this, #19514
html-8bit-export-shrink.diff

# fix calc .lng file encoding for lang 03, #29504
i18n-calc-encoding.diff

# Fix silly brokenness in langtab lists - #18826
translation-shift.diff

[ SystemBits ]

# use getopt of the system's glibc
system-getopt.diff
# use system db. 23779 
system-db.diff
# use system nas, 23779
system-nas.diff
# use system freetype, 23779, 29765
system-freetype.diff
# use system curl, 23779
system-curl.diff
# use system sane.h, 23779
system-sane.diff
# use system myspell, 23779
system-myspell.diff
# use system altlinuxhyph, 23779
system-altlinuxhyph.diff
# use system neon, 23779
system-neon.diff
# use system unixODBC headers, 23779
system-unixodbc.diff
# disable system python, not yet complete
system-python.diff
# use system xrender
system-xrender.diff

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

# add --without-myspell-dictionaries, #29937
disable-myspell-dicts.diff

# update aclocal, for AM_PATH_PYTHON
config-aclocal.diff

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

# do not extract vera fonts when we don't want them :-)
disable-vera-extraction.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

# Add -wait option - #28299
client-wait.diff

# Make the GUI installer less painful
setup-license.diff

# Make 1.1.0 upgrade to 1.1.1 - #28410
setup-upgrade.diff

[ LinuxOnly ]

# do not pack .orig and .bak files to the english help content
helpcontent-no-bak.diff

# 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

# Parse (but ignore) VBA attribute statements
vba-attribute.diff

# Be VBA compatible always at the expense of StarBasic compatibility
vba-compatible.diff

# Alt-F11 does something useful - #29138
vba-keybinding-f11.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

# Blackdown JDK doesn't have _01 version suffix
java-blackdown-ver.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

# Use gnome-open to open URIs
helper-programs-redhat.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

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

[ SuSEOnly ]

# some branding
suse-splash.diff

# Add SuSE specific /opt/kde3 path for dtint search
# gui-kde-dtint.diff - obsoleted by native-widget work.

# hackish system-libstdc++ patch
system-libstdcpp.diff

# drop pyuno bits
disable-pyuno.diff

[ SuSEOnly, PLDOnly ]

# resolution independant printing bits
print-resolution-generic.diff

# in case the system is panicing; registry/data/org/openoffice/VCL.xcu is
# not installed or broken; used for example if OOo is installed from an
# installation set by ./install --interactive
gui-font-paranoid-fallback.diff

#######################################################
[ PLDOnly ]

# splash
pld-splash.diff

#######################################################
[ ArkOnly ]

# splash / branding
ark-splash.diff

# hackish system-libstdc++ patch
system-libstdcpp.diff

#######################################################
[ Win32Only ]

# A number of nasty VS.Net 2003 fixes #27980
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

# A nasty hack - fixing a side-effect of our alpha bitmap changes, gone in 2.0
win32-transfer-alpha.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

# Misc. fixes for java disabled on win32
win32-nojava.diff

# ODMA support, back-ported from HEAD
# win32-odma.diff
# win32-odma-build.diff

# Novell internal support / file-bug page
novell-filebug.diff

# Try to trace some strange bug in this
win32-stlport-build.diff

# Fix re-configuration nasty if CYGWIN
# happens to be defined in your environment - #28579
win32-cygwin-path.diff

# Fix null device issues - #29607
win32-null-dev.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, FilePicker ]
# Cofigure stuff for Native Widget Framework and native file picker is common
nativewidgets-config_office.diff

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

# allows installation of more variants in parallel
# the widget set can be selected by the environment variable OOo_WIDGET_SET
# at runtime, for example: export OOo_WIDGET_SET=kde
nativewidgets-installation-in-parallel.diff

#######################################################
# Native file picker (experimental, currently just for KDE)
# Use --enable-kde-fpicker configure switch to enable it

[ FilePicker ]

# Common code (even for a future Gnome implementation)
fpicker-common.diff

# KDE specific code
fpicker-kde.diff

# Allow building of the native file picker
fpicker-build.diff

# Copy the native file picker files to the installation set
fpicker-scp.diff

# Allow enabling/disabling of the native file picker in
# Tools->Options...->OpenOffice.org->General
fpicker-show-checkbox.diff

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

[ KDEOnly ]
# Some "branding"
kde-splash.diff

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

[ KDECommon ]
# Allow parameters in Tools->Options->OpenOffice.org->External
# programs->(HTTP|HTTPS|FTP|MAILTO) - #28720
shellexec_allow_params.diff

# Preset Tools->Options->OpenOffice.org->External
# programs->(HTTP|HTTPS|FTP|MAILTO) to "kfmclient exec"
helper-programs-kde.diff

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

[ Evo2 ]
# evolution addressbook driver version 2
evoab2_conf.diff
evoab2_conn.diff
evoab2_contacts.diff
evoab2_dbmetadata.diff
evoab2_debug.diff
evoab2_driver.diff
evoab2_prestatement.diff
evoab2_prj.diff
evoab2_resultset.diff
evoab2_resultsetmdata.diff
evoab2_scp.diff
evoab2_services.diff
evoab2_statement.diff

[ Lotus ]
# detect SmartSuite97 files
sc-lotus-filter.diff
