diff options
author | 2005-01-12 23:05:14 +0000 | |
---|---|---|
committer | 2005-01-12 23:05:14 +0000 | |
commit | c7c8ffc22ddf9612a4f0517d64add98b675fa918 (patch) | |
tree | 58facb95a72b1fc7e4fbf3edf837a1cd5e4f7a75 /app-office/openoffice-ximian/files/1.1.3 | |
parent | Fixing digest. (Manifest recommit) (diff) | |
download | gentoo-2-c7c8ffc22ddf9612a4f0517d64add98b675fa918.tar.gz gentoo-2-c7c8ffc22ddf9612a4f0517d64add98b675fa918.tar.bz2 gentoo-2-c7c8ffc22ddf9612a4f0517d64add98b675fa918.zip |
new release 1.3.7 closes a bunch of bugs
Diffstat (limited to 'app-office/openoffice-ximian/files/1.1.3')
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/gcc34-sal-link-to-libsupc++.diff | 13 | ||||
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/gcc34_2.patch.bz2 | bin | 0 -> 33535 bytes | |||
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/gentoo-1.3.7.patch | 17 | ||||
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/nojvmfwk-fix.patch | 178 |
4 files changed, 208 insertions, 0 deletions
diff --git a/app-office/openoffice-ximian/files/1.1.3/gcc34-sal-link-to-libsupc++.diff b/app-office/openoffice-ximian/files/1.1.3/gcc34-sal-link-to-libsupc++.diff new file mode 100644 index 000000000000..dd823ee024c3 --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.3/gcc34-sal-link-to-libsupc++.diff @@ -0,0 +1,13 @@ +--- sal/util/makefile.mk.foo 2004-12-21 14:38:37.314521336 -0500 ++++ sal/util/makefile.mk 2004-12-21 14:46:52.495159848 -0500 +@@ -146,6 +146,10 @@ + SHL1STDLIBS+=-init InitLibrary -term ExitLibrary + .ENDIF # MAC + ++.IF "$(OS)"=="LINUX" ++SHL1STDLIBS+= -Wl,-Bstatic -lsupc++ -Wl,-Bdynamic -lgcc_s ++.ENDIF ++ + .IF "$(GUI)"=="UNX" + .IF "$(OS)"=="SOLARIS" + # libposix4.so (SunOS 5.6) <-> librt.so (SunOS >= 5.7) diff --git a/app-office/openoffice-ximian/files/1.1.3/gcc34_2.patch.bz2 b/app-office/openoffice-ximian/files/1.1.3/gcc34_2.patch.bz2 Binary files differnew file mode 100644 index 000000000000..4a9aaf3dfd3a --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.3/gcc34_2.patch.bz2 diff --git a/app-office/openoffice-ximian/files/1.1.3/gentoo-1.3.7.patch b/app-office/openoffice-ximian/files/1.1.3/gentoo-1.3.7.patch new file mode 100644 index 000000000000..5aae80515b08 --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.3/gentoo-1.3.7.patch @@ -0,0 +1,17 @@ +--- patches/OOO_1_1_3/apply.orig 2004-12-02 00:07:00.659646960 +0100 ++++ patches/OOO_1_1_3/apply 2004-12-02 00:07:18.119992584 +0100 +@@ -1121,14 +1121,6 @@ + + ######################################################## + +-[ GentooOnly ] +-gcc34-gnome.diff +-gcc34-main.diff +-gcc34-nojava-fix.diff +-gcc34-nptl-fix.diff +- +-######################################################## +- + [ TestLayout ] + # the beginnings of layout + gui-window-layout.diff diff --git a/app-office/openoffice-ximian/files/1.1.3/nojvmfwk-fix.patch b/app-office/openoffice-ximian/files/1.1.3/nojvmfwk-fix.patch new file mode 100644 index 000000000000..b01c845632aa --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.3/nojvmfwk-fix.patch @@ -0,0 +1,178 @@ +--- patches/vclplug/psprint-nojvmfwk.diff 2004/12/03 12:47:25 1.1 ++++ patches/vclplug/psprint-nojvmfwk.diff 2004/12/03 13:11:12 1.1.2.3 +@@ -0,0 +1,146 @@ ++Index: psprint/source/helper/helper.cxx ++=================================================================== ++--- psprint/source/helper/helper.cxx.orig 2004-12-03 12:51:50.722009016 +0000 +++++ psprint/source/helper/helper.cxx 2004-12-03 12:52:00.583509840 +0000 ++@@ -73,7 +73,7 @@ ++ #include <rtl/bootstrap.hxx> ++ #include <sal/config.h> ++ #ifdef SOLAR_JAVA ++-#include <jvmfwk/framework.h> +++#include "jvmaccess/javainfo.hxx" ++ #endif // SOLAR_JAVA ++ ++ #ifdef MACOSX ++@@ -247,36 +247,87 @@ const OUString& psp::getFontPath() ++ ++ // append jre/jdk fonts if possible ++ OString aJREpath; ++- ++-#ifdef SOLAR_JAVA ++- JavaInfo * pInfo = NULL; ++- javaFrameworkError jerr = jfw_getSelectedJRE( & pInfo); ++- if (jerr == JFW_E_NONE && pInfo != NULL) ++- { ++- OUString aSys; ++- if( osl_getSystemPathFromFileURL( pInfo->sLocation, &aSys.pData ) == osl_File_E_None ) ++- aJREpath = OUStringToOString( aSys, osl_getThreadTextEncoding() ); ++- } ++- jfw_freeJavaInfo(pInfo); ++-#endif ++- ++- if( aJREpath.getLength() > 0 ) +++ if( aUserPath.getLength() ) ++ { ++- OString aTestPath( aJREpath ); ++- aTestPath += "/jre/lib/fonts"; ++- if( access( aTestPath.getStr(), R_OK ) ) +++ OUString aJavaRc( aUserPath ); +++ aJavaRc += OUString( RTL_CONSTASCII_USTRINGPARAM( "/user/config/" SAL_CONFIGFILE( "java" ) ) ); +++ Config aConfig( aJavaRc ); +++ aConfig.SetGroup( "Java" ); +++ aJREpath = aConfig.ReadKey( "Home" ); +++ if( ! aJREpath.getLength() ) +++ { +++ aJavaRc = aNetPath; +++ aJavaRc += OUString( RTL_CONSTASCII_USTRINGPARAM( "/share/config/" SAL_CONFIGFILE("java") ) ); +++ Config aShareConfig( aJavaRc ); +++ aShareConfig.SetGroup( "Java" ); +++ aJREpath = aShareConfig.ReadKey( "Home" ); +++ } +++ +++ if( aJREpath.compareTo( "file:", 5 ) == 0 ) ++ { ++- aTestPath = aJREpath; ++- aTestPath += "/lib/fonts"; +++ OUString aURL( OStringToOUString( aJREpath, osl_getThreadTextEncoding() ) ); +++ OUString aSys; +++ if( osl_getSystemPathFromFileURL( aURL.pData, &aSys.pData ) == osl_File_E_None ) +++ aJREpath = OUStringToOString( aSys, osl_getThreadTextEncoding() ); +++ } +++ +++ if( aJREpath.getLength() > 0 ) +++ { +++ OString aTestPath( aJREpath ); +++ aTestPath += "/jre/lib/fonts"; ++ if( access( aTestPath.getStr(), R_OK ) ) ++- aJREpath = OString(); +++ { +++ aTestPath = aJREpath; +++ aTestPath += "/lib/fonts"; +++ if( access( aTestPath.getStr(), R_OK ) ) +++ aJREpath = OString(); +++ else +++ aJREpath = aTestPath; +++ } ++ else ++ aJREpath = aTestPath; ++ } ++- else ++- aJREpath = aTestPath; ++ } ++ +++#ifdef SOLAR_JAVA +++ // if no javarc (e.g. in setup) exists or it failed try the UDK method +++ if( ! aJREpath.getLength() ) +++ { +++ OString aJavaLib; +++ try +++ { +++ OUString aLib; +++ if (osl::FileBase::getSystemPathFromFileURL( +++ jvmaccess::JavaInfo::createBestInfo(true). +++ getRuntimeLibLocation(), +++ aLib) +++ == osl::FileBase::E_None) +++ aLib.convertToString( +++ &aJavaLib, osl_getThreadTextEncoding(), +++ RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR +++ | RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR); +++ } +++ catch (jvmaccess::JavaInfo::InitException &) +++ {} +++ +++ if (aJavaLib.getLength() != 0) +++ { +++ sal_Int32 nIndex; +++ while( ( nIndex = aJavaLib.lastIndexOf( '/' ) ) != -1 ) +++ { +++ aJavaLib = aJavaLib.copy( 0, nIndex ); +++ OString aTmpPath = aJavaLib; +++ aTmpPath += "/lib/fonts"; +++ if( access( aTmpPath.getStr(), R_OK ) == 0 ) +++ { +++ aJREpath = aTmpPath; +++ break; +++ } +++ } +++ } +++ } +++#endif // SOLAR_JAVA +++ ++ if( aJREpath.getLength() ) ++ { ++ aPath += OUString( RTL_CONSTASCII_USTRINGPARAM( ";" ) ); ++Index: psprint/prj/build.lst ++=================================================================== ++--- psprint/prj/build.lst.orig 2004-12-03 12:40:47.820785320 +0000 +++++ psprint/prj/build.lst 2004-12-03 12:52:14.974322104 +0000 ++@@ -1,4 +1,4 @@ ++-pp psprint : tools unotools cpputools jvmaccess SO:print_header jvmfwk NULL +++pp psprint : tools unotools cpputools jvmaccess SO:print_header NULL ++ pp psprint usr1 - all pp_mkout NULL ++ pp psprint\source\fontsubset nmake - all pp_fontsset NULL ++ pp psprint\source\printer nmake - u pp_printer NULL ++Index: psprint/util/makefile.mk ++=================================================================== ++--- psprint/util/makefile.mk.orig 2004-12-03 12:40:47.863778784 +0000 +++++ psprint/util/makefile.mk 2004-12-03 13:10:17.206797760 +0000 ++@@ -105,7 +105,7 @@ SHL1STDLIBS=$(UNOTOOLSLIB) \ ++ $(SALLIB) \ ++ -lX11 ++ .IF "$(SOLAR_JAVA)"!="" ++-SHL1STDLIBS+=$(JVMFWKLIB) +++SHL1STDLIBS+=$(JVMACCESSLIB) ++ .ENDIF ++ ++ SHL1DEF= $(MISC)$/$(SHL1TARGET).def +--- patches/OOO_1_1_3/apply 2004/12/02 20:17:41 1.83.2.35 ++++ patches/OOO_1_1_3/apply 2004/12/03 12:47:25 1.83.2.36 +@@ -45,12 +45,6 @@ + # + [ VCLPlug ] + psprint-m46-backport.diff +-# Newer psprint (fixes various CUPS bugs) +-psprint-m46-to-m62.diff +-# default encoding ADOBE_STANDARD is new so revert to MS_1252 +-psprint-defaultencoding.diff +-# revert FONTCONFIG_FONTS change to ENABLE_FONTCONFIG +-psprint-fontconfigvar.diff + vcl-inc.diff + vcl-prj.diff + vcl-source-app.diff +@@ -90,6 +84,14 @@ + sj2-win-handle.diff + dbaccess-win-handle.diff + ++# Newer psprint (fixes various CUPS bugs) ++psprint-m46-to-m62.diff ++# default encoding ADOBE_STANDARD is new so revert to MS_1252 ++psprint-defaultencoding.diff ++# revert FONTCONFIG_FONTS change to ENABLE_FONTCONFIG ++psprint-fontconfigvar.diff ++# revert back to old JDK path detection method ++psprint-nojvmfwk.diff + # Use the right colors for menus/menuitems #????? + vcl-unx-gtk-menu-style.diff |