diff options
author | David Somero <dsomero@hotmail.com> | 2010-08-17 15:31:07 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-18 14:01:18 -0500 |
commit | 28085bbb36f6e6461116382a86578f336d00a236 (patch) | |
tree | eb723fc6fa01a6c64c7e7ff49ac93fd009709e75 /office/go_openoffice/patches | |
parent | b4df57c291d2745fd92b759df9caa97aed996f9c (diff) | |
download | slackbuilds-28085bbb36f6e6461116382a86578f336d00a236.tar.gz |
office/go_openoffice: Added (fork of OpenOffice.org)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/go_openoffice/patches')
3 files changed, 154 insertions, 0 deletions
diff --git a/office/go_openoffice/patches/Slackware.conf.in b/office/go_openoffice/patches/Slackware.conf.in new file mode 100644 index 0000000000..46c1537bd4 --- /dev/null +++ b/office/go_openoffice/patches/Slackware.conf.in @@ -0,0 +1,56 @@ +--with-vendor=\"Slackware\" +--prefix=/usr +--mandir=/usr/man +--sysconfdir=/etc +--without-binsuffix +--localstatedir=/var/lib +--with-ant-home=/usr/share/apache-ant +--with-extension-integration +--with-java +--with-x +--disable-odk +--disable-pam +--disable-pam-link +--disable-mono +--disable-kde +--disable-post-install-scripts +--disable-rpath +--enable-bonobo +--enable-libart +--enable-libsn +--enable-opengl +--enable-openldap +--enable-openxml +--enable-cups +--enable-fontconfig +--enable-dbus +--enable-access +--enable-cairo +--enable-kde4 +--enable-gtk +--enable-systray +--enable-presenter-console +--enable-pdfimport +--enable-minimizer +--enable-split-app-modules +--enable-split-opt-features +--with-system-sane-header +--with-system-libpwd +--with-system-python +--with-system-expat +--with-system-freetype +--with-system-jpeg +--with-system-curl +--with-system-redland +--with-system-poppler +--with-system-libwpd +--with-system-cairo +--with-system-neon +--with-system-icu +--with-system-boost +--with-system-mozilla=mozilla +--with-system-libsvg +--with-system-sndfile +--with-gcc-speedup=ccache +--with-system-db +--with-drink=ale diff --git a/office/go_openoffice/patches/calc-perf-speedup-pagebreak-update.patch b/office/go_openoffice/patches/calc-perf-speedup-pagebreak-update.patch new file mode 100644 index 0000000000..f97bd3523e --- /dev/null +++ b/office/go_openoffice/patches/calc-perf-speedup-pagebreak-update.patch @@ -0,0 +1,88 @@ +From 7ec7a07f6ef1e4cbc27f51a5b54edf4442125b29 Mon Sep 17 00:00:00 2001 +From: Petr Mladek <pmladek@walk.suse.cz> +Date: Fri, 18 Jun 2010 17:44:23 +0000 +Subject: Fix calc-perf-speedup-pagebreak-update.diff to apply with patch-2.5.4 + +* patches/dev300/calc-perf-speedup-pagebreak-update.diff: add context to help + patch-2.5.4 to apply the hunks correctly; thanks Sandor Geller <wildy at + muhelybt dot hu +--- +diff --git a/patches/dev300/calc-perf-speedup-pagebreak-update.diff b/patches/dev300/calc-perf-speedup-pagebreak-update.diff +index ba4b938..0856eae 100644 +--- a/patches/dev300/calc-perf-speedup-pagebreak-update.diff ++++ b/patches/dev300/calc-perf-speedup-pagebreak-update.diff +@@ -574,7 +574,19 @@ index 789de6d..56c7f49 100644 + } + } + +-@@ -2519,7 +2558,7 @@ void ScTable::DBShowRows(SCROW nRow1, SCROW nRow2, BOOL bShow) ++@@ -2516,31 +2516,31 @@ void ScTable::DBShowRows(SCROW nRow1, SC ++ { ++ SCROW nStartRow = nRow1; ++ while (nStartRow <= nRow2) ++ { ++ SCROW nEndRow = -1; ++ bool bWasVis = !RowHidden(nStartRow, nEndRow); ++ if (nEndRow > nRow2) ++ nEndRow = nRow2; ++ ++ BOOL bChanged = ( bWasVis != bShow ); ++ if ( bChanged ) ++ { + ScDrawLayer* pDrawLayer = pDocument->GetDrawLayer(); + if (pDrawLayer) + { +@@ -583,7 +595,31 @@ index 789de6d..56c7f49 100644 + if (bShow) + pDrawLayer->HeightChanged( nTab, nStartRow, nHeight ); + else +-@@ -2569,7 +2608,7 @@ void ScTable::ShowRows(SCROW nRow1, SCROW nRow2, BOOL bShow) ++ pDrawLayer->HeightChanged( nTab, nStartRow, -nHeight ); ++ } ++ } ++ ++ SetRowHidden(nStartRow, nEndRow, !bShow); ++ SetRowFiltered(nStartRow, nEndRow, !bShow); ++ ++ if ( bChanged ) ++ { ++ ScChartListenerCollection* pCharts = pDocument->GetChartListenerCollection(); ++ if ( pCharts ) ++ pCharts->SetRangeDirty(ScRange( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab )); ++@@ -2563,31 +2563,31 @@ void ScTable::ShowRows(SCROW nRow1, SCRO ++ IncRecalcLevel(); ++ InitializeNoteCaptions(); ++ while (nStartRow <= nRow2) ++ { ++ SCROW nEndRow = -1; ++ bool bWasVis = !RowHidden(nStartRow, nEndRow); ++ if (nEndRow > nRow2) ++ nEndRow = nRow2; ++ ++ BOOL bChanged = ( bWasVis != bShow ); ++ if ( bChanged ) ++ { + ScDrawLayer* pDrawLayer = pDocument->GetDrawLayer(); + if (pDrawLayer) + { +@@ -592,6 +628,18 @@ index 789de6d..56c7f49 100644 + if (bShow) + pDrawLayer->HeightChanged( nTab, nStartRow, nHeight ); + else ++ pDrawLayer->HeightChanged( nTab, nStartRow, -nHeight ); ++ } ++ } ++ ++ SetRowHidden(nStartRow, nEndRow, !bShow); ++ if (bShow) ++ SetRowFiltered(nStartRow, nEndRow, false); ++ ++ if ( bChanged ) ++ { ++ ScChartListenerCollection* pCharts = pDocument->GetChartListenerCollection(); ++ if ( pCharts ) + @@ -2681,7 +2720,10 @@ SCROW ScTable::GetLastChangedRow() const + if (!ValidRow(nLastFlags)) + nLastFlags = 0; +-- +cgit v0.8.3-6-g21f6 diff --git a/office/go_openoffice/patches/qt-use-native-backend.diff b/office/go_openoffice/patches/qt-use-native-backend.diff new file mode 100644 index 0000000000..3834970262 --- /dev/null +++ b/office/go_openoffice/patches/qt-use-native-backend.diff @@ -0,0 +1,10 @@ +*** vcl/unx/kde4/KDEXLib.cxx_ 2010-02-21 22:34:18.917502324 +0200 +--- vcl/unx/kde4/KDEXLib.cxx 2010-02-21 22:35:29.642770570 +0200 +*************** +*** 134,137 **** +--- 134,138 ---- + KCmdLineArgs::init( m_nFakeCmdLineArgs, m_pAppCmdLineArgs, kAboutData ); + ++ KApplication::setGraphicsSystem( "native" ); + m_pApplication = new VCLKDEApplication(); + kapp->disableSessionManagement(); |