diff options
author | obo <obo@openoffice.org> | 2010-09-14 13:03:44 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-09-14 13:03:44 +0200 |
commit | ebf34a04bbd094b700f6dd8b3bd3558e98fd6294 (patch) | |
tree | 36eb1103225c69a94dbf9689665b4f99e17a5405 | |
parent | b8449402b5ebb9caebe1621fda16e56e65f1f842 (diff) | |
parent | ba22d069336ffb358f54f613dbc9048eda58a2d7 (diff) |
CWS-TOOLING: integrate CWS jl158
-rw-r--r-- | sdext/prj/build.lst | 2 | ||||
-rw-r--r-- | sdext/prj/d.lst | 1 | ||||
-rw-r--r-- | sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp | 10 | ||||
-rwxr-xr-x | sdext/source/presenter/makefile.mk | 30 | ||||
-rw-r--r-- | swext/mediawiki/build.xml | 16 | ||||
-rw-r--r-- | swext/mediawiki/help/makefile.mk | 60 | ||||
-rw-r--r-- | swext/prj/build.lst | 2 |
7 files changed, 75 insertions, 46 deletions
diff --git a/sdext/prj/build.lst b/sdext/prj/build.lst index c593a26..3603afb 100644 --- a/sdext/prj/build.lst +++ b/sdext/prj/build.lst @@ -1,4 +1,4 @@ -dx sdext : l10n offuh comphelper unotools readlicense_oo cppu tools cppuhelper sal javaunohelper officecfg XPDF:xpdf LIBXSLT:libxslt NULL +dx sdext : l10n offuh comphelper unotools readlicense_oo cppu tools cppuhelper sal javaunohelper officecfg XPDF:xpdf LIBXSLT:libxslt xmlhelp NULL dx sdext usr1 - all sdext_mkout NULL dx sdext\prj get - all sdext_prj NULL dx sdext\source\minimizer nmake - all sdext_minimizer sdext_minimizer_rdoooe sdext_minimizer_rdooo sdext_inc NULL diff --git a/sdext/prj/d.lst b/sdext/prj/d.lst index 54cefac..bcaa430 100644 --- a/sdext/prj/d.lst +++ b/sdext/prj/d.lst @@ -7,3 +7,4 @@ mkdir: %_DEST%\bin%_EXT%\pdfimport ..\%__SRC%\bin\presentation-minimizer.oxt %_DEST%\bin%_EXT%\minimizer\presentation-minimizer.oxt ..\%__SRC%\bin\presentation_minimizer_develop.zip %_DEST%\bin%_EXT%\minimizer\presentation_minimizer_develop.zip ..\%__SRC%\bin\presenter-screen.oxt %_DEST%\bin%_EXT%\presenter\presenter-screen.oxt +..\%__SRC%\bin\presenter-screen_develop.zip %_DEST%\bin%_EXT%\presenter\presenter-screen_develop.zip diff --git a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp index a1172d5..ba8f29b 100644 --- a/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp +++ b/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp @@ -33,16 +33,16 @@ <meta> <topic id="textpresenterxml" indexer="include" status="PUBLISH"> - <title xml-lang="en-US" id="tit" l10n="NEW">Oracle Presenter Console Keyboard Shortcuts</title> + <title xml-lang="en-US" id="tit" l10n="NEW">@PRESENTEREXTENSIONPRODUCTNAME@ Keyboard Shortcuts</title> <filename>/com.sun.PresenterScreen-PLATFORMID/presenter.xhp</filename> </topic> </meta> <body> <bookmark xml-lang="en-US" branch="hid/com.sun.PresenterScreen" id="bm_id3138439" localize="false"/> -<bookmark xml-lang="en-US" branch="index" id="bm_id0921200912285678"><bookmark_value>Presenter Console shortcuts</bookmark_value> +<bookmark xml-lang="en-US" branch="index" id="bm_id0921200912285678"><bookmark_value>@PRESENTEREXTENSIONPRODUCTNAME@ shortcuts</bookmark_value> </bookmark> -<paragraph xml-lang="en-US" id="hd_id0921201912165661" role="heading" level="1" l10n="NEW">Oracle Presenter Console Keyboard Shortcuts</paragraph> - <paragraph xml-lang="en-US" id="par_id0921201912165656" role="paragraph" l10n="NEW">When running a slide show using the Oracle Presenter Console, you can use the following keys:</paragraph> +<paragraph xml-lang="en-US" id="hd_id0921201912165661" role="heading" level="1" l10n="NEW">@PRESENTEREXTENSIONPRODUCTNAME@ Keyboard Shortcuts</paragraph> + <paragraph xml-lang="en-US" id="par_id0921201912165656" role="paragraph" l10n="NEW">When running a slide show using the @PRESENTEREXTENSIONPRODUCTNAME@, you can use the following keys:</paragraph> <table id="tbl_id0921200901051232"> <tablerow> <tablecell> @@ -158,7 +158,7 @@ </tablerow> <tablerow> <tablecell> - <paragraph xml-lang="en-US" id="par_id0921200901104566" role="tablecontent" l10n="NEW">Show the Presenter Console</paragraph> + <paragraph xml-lang="en-US" id="par_id0921200901104566" role="tablecontent" l10n="NEW">Show the @PRESENTEREXTENSIONPRODUCTNAME@</paragraph> </tablecell> <tablecell> <paragraph xml-lang="en-US" id="par_id0921200901104544" role="tablecontent" l10n="NEW">Ctrl-'1'</paragraph> diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk index 08a3470..687ac51 100755 --- a/sdext/source/presenter/makefile.mk +++ b/sdext/source/presenter/makefile.mk @@ -32,11 +32,16 @@ GEN_HID=FALSE EXTNAME=PresenterScreen ENABLE_EXCEPTIONS=TRUE +# survive zip dependencies +MAXLINELENGTH:=80000 # --- Settings ---------------------------------- .INCLUDE : rtlbootstrap.mk .INCLUDE : settings.mk + +PACKAGE=com.sun.PresenterScreen-$(PLATFORMID) + .IF "$(L10N_framework)"=="" .INCLUDE : $(PRJ)$/util$/makefile.pmk @@ -107,6 +112,12 @@ SHL1VERSIONMAP=$(SOLARENV)/src/component.map SHL1RPATH= OXT DEF1NAME= $(SHL1TARGET) +ZIP2TARGET= presenter-screen_develop +ZIP2DIR= $(COMMONMISC) +ZIP2EXT= .zip +ZIP2FLAGS=-r +ZIP2LIST= */com.sun.PresenterScreen/*.xhp + ZIP1TARGET= presenter-screen ZIP1DIR= $(MISC)$/$(TARGET) ZIP1EXT= .oxt @@ -248,10 +259,6 @@ PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) COMPONENT_HELP= \ $(ZIP1DIR)$/help/component.txt \ $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) -# $(ZIP1DIR)$/help$/en-US$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp - -# no localization yet - see #i107498# -# $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) ZIP1DEPS= \ $(PACKLICS) \ @@ -262,14 +269,25 @@ ZIP1DEPS= \ $(COMPONENT_IMAGES) \ $(COMPONENT_LIBRARY) \ $(COMPONENT_HELP) + # $(COMPONENT_MERGED_XCU) \ +LINKNAME:=help +XHPLINKSRC:=$(ZIP1DIR)/help + +my_XHPFILES= \ + presenter.xhp + +LINKLINKFILES= \ + $(PACKAGE)/{$(my_XHPFILES)} # --- Targets ---------------------------------- .ENDIF # L10N_framework .INCLUDE : target.mk +.INCLUDE : extension_helplink.mk + .IF "$(L10N_framework)"=="" $(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx @@ -287,7 +305,9 @@ $(ZIP1DIR)$/help$/component.txt : help$/$$(@:f) $(ZIP1DIR)$/help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp @echo creating $@ @@-$(MKDIRHIER) $(@:d) - $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" > $@ + $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@ + +$(ZIP1TARGETN) : $(HELPLINKALLTARGETS) $(COMPONENT_BITMAPS) : bitmaps$/$$(@:f) @-$(MKDIRHIER) $(@:d) diff --git a/swext/mediawiki/build.xml b/swext/mediawiki/build.xml index f991581..daa51e9 100644 --- a/swext/mediawiki/build.xml +++ b/swext/mediawiki/build.xml @@ -123,15 +123,6 @@ <filter token="WIKIEXTENSIONFILENAME" value="${name}"/> </filterset> </copy> - <copy todir="${out}/misc/${target}/package_tmp/help" overwrite="true" encoding="UTF-8"> - <fileset dir="${out}/misc/${target}/help" includes="**/*.xhp" casesensitive="yes"/> - <filterset> - <filter token="WIKIEXTENSIONPRODUCTNAME" value="Wiki Publisher"/> - <filter token="WIKIEXTENSIONID" value="com.sun.wiki-publisher"/> - <filter token="WIKIEXTENSIONFILENAME" value="${name}"/> - </filterset> - <mapper type="regexp" from="^(.*[/\\])com.sun.sun-mediawiki([/\\].*)" to="\1com.sun.wiki-publisher\2"/> - </copy> </target> <target name="uno-package" depends="tmpdir, xcumerge, jar, init"> @@ -149,6 +140,8 @@ <zipfileset dir="src" includes="uno-extension-manifest.xml" casesensitive="yes" fullpath="META-INF/manifest.xml"/> <zipfileset dir="dialogs" includes="**/*.xdl,**/*.xba,**/*.xlb" casesensitive="yes" prefix="WikiEditor"/> <zipfileset dir="${out}/misc/${target}/license" includes="LICENSE*" casesensitive="yes" prefix="license"/> + <zipfileset dir="${out}/misc/${target}/help" includes="**/*.idxl/*,**/*.*_,**/*.jar" casesensitive="yes" prefix="help"/> + <zipfileset dir="${out}/misc/${target}/help" includes="**/*.xhp" casesensitive="yes" prefix="help"/> <zipfileset dir="src" includes="THIRDPARTYLICENSEREADME.html" casesensitive="yes" prefix="license"/> </zip> </target> @@ -161,14 +154,15 @@ <fileset dir="${out}/misc/${target}/registry/schema/org/openoffice/Office/Custom" includes="*.xcs" casesensitive="yes"/> <fileset dir="${out}/misc/${target}/registry/data/org/openoffice/Office" includes="ProtocolHandler.xcu,Paths.xcu" casesensitive="yes"/> <fileset dir="${out}/misc/${target}/merge/org/openoffice/Office/Custom" includes="*.xcu" casesensitive="yes"/> - <fileset dir="${out}/misc/${target}/merge/org/openoffice/Office" includes="*.xcu" casesensitive="yes"/> + <fileset dir="${out}/misc/${target}/merge/org/openoffice/Office" includes="*.xcu" excludes="**/ProtocolHandler.xcu,**/Paths.xcu" casesensitive="yes"/> <!-- FIXME: currently the build xcu files can not be used since the tag containing x-default attribute is thrown away, issue 99378 <fileset dir="${out}/misc/${target}/merge/org/openoffice/TypeDetection" includes="*.xcu" casesensitive="yes"/> --> <fileset dir="src/registry/data/org/openoffice/TypeDetection" includes="*.xcu" casesensitive="yes"/> <zipfileset file="src/filter/odt2mediawiki.xsl" casesensitive="yes" fullpath="filter/odt2mediawiki.xsl"/> <zipfileset file="src/filter/mediawiki.ott" casesensitive="yes" fullpath="templates/MediaWiki/mediawiki.ott"/> - <zipfileset dir="${out}/misc/${target}/help" includes="**/*.xhp,component.txt" casesensitive="yes" prefix="help"/> + <zipfileset dir="${out}/misc/${target}/help" includes="component.txt" casesensitive="yes" prefix="help"/> + <zipfileset dir="${out}/misc/${target}_merge/help" includes="**/*.xhp" casesensitive="yes" prefix="help"/> <zipfileset dir="dialogs" includes="**/*.xdl,**/*.xba,**/*.xlb" casesensitive="yes" prefix="WikiEditor"/> <zipfileset dir="src" includes="uno-extension-manifest.xml" casesensitive="yes" fullpath="META-INF/manifest.xml"/> <zipfileset dir="${out}/misc/${target}/license" includes="LICENSE*" casesensitive="yes" prefix="license"/> diff --git a/swext/mediawiki/help/makefile.mk b/swext/mediawiki/help/makefile.mk index 1cb200a..86773dc 100644 --- a/swext/mediawiki/help/makefile.mk +++ b/swext/mediawiki/help/makefile.mk @@ -30,16 +30,29 @@ PRJNAME=swext TARGET=$(PRJNAME)_help .INCLUDE : settings.mk -.INCLUDE : target.mk - -.IF "$(ENABLE_MEDIAWIKI)" == "YES" -PACKAGE=com.sun.sun-mediawiki +.IF "$(WITH_LANG)"!="" # workaround for the problem in help, the help uses en instead of en-US -MEDIAWIKI_LANG= en $(alllangiso) +MEDIAWIKI_LANG=$(uniq en $(alllangiso)) +aux_alllangiso:=$(MEDIAWIKI_LANG) +.ELSE # "$(WITH_LANG)"!="" +aux_alllangiso:=$(defaultlangiso) +MEDIAWIKI_LANG=$(uniq en $(alllangiso)) +.ENDIF # "$(WITH_LANG)"!="" + +.IF "$(ENABLE_MEDIAWIKI)" != "YES" +all: + @echo Building mediawiki disabled... +.ELSE # "$(ENABLE_MEDIAWIKI)" != "YES" + +PACKAGE=com.sun.wiki-publisher -OUT_MEDIAWIKI=$(MISC)$/mediawiki -OUT_HELP=$(OUT_MEDIAWIKI)$/help +OUT_MEDIAWIKI:=$(MISC)$/mediawiki + +LINKNAME:=help +XHPLINKSRC:=$(OUT_MEDIAWIKI)/help + +XHPDEST=$(OUT_MEDIAWIKI)_merge/help XHPFILES= \ wiki.xhp\ @@ -48,26 +61,27 @@ XHPFILES= \ wikisend.xhp\ wikisettings.xhp -HLANGXHPFILES:=$(foreach,i,$(XHPFILES) $(foreach,j,$(MEDIAWIKI_LANG) $(OUT_HELP)$/$j$/$(PACKAGE)$/$(i:f))) +LINKLINKFILES= \ + $(PACKAGE)/{$(XHPFILES)} -ALLTAR : $(OUT_MEDIAWIKI)$/$(TARGET).done $(OUT_HELP)$/component.txt +# define with own language set +HLANGXHPFILES=$(foreach,i,$(XHPFILES) $(foreach,j,$(MEDIAWIKI_LANG) $(XHPDEST)$/$j$/$(PACKAGE)$/$(i:f))) -#$(OUT_MEDIAWIKI)$/xhp_changed.flag optix - -$(OUT_HELP)$/component.txt : component.txt - $(COPY) component.txt $(OUT_HELP)$/component.txt +.INCLUDE : target.mk +.INCLUDE : tg_help.mk +.INCLUDE : extension_helplink.mk -$(HLANGXHPFILES) : #$$(@:d)thisdir.created - -$(MKDIRHIER) $(@:d) - $(TOUCH) $(@:d)thisdir.created +ALLTAR : $(OUT_MEDIAWIKI)/help/component.txt -$(OUT_HELP)$/{$(MEDIAWIKI_LANG)}$/$(PACKAGE)$/%.xhp :| %.xhp - @$(TOUCH) $@ -# internal dependencies not sufficient to trigger merge? -# @$(NULL) +$(OUT_MEDIAWIKI)/help/component.txt : component.txt + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(COPY) component.txt $@ +$(OUT_MEDIAWIKI)/help/%.xhp : $(OUT_MEDIAWIKI)_merge/help/%.xhp + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)cat $< | sed -e 's/@WIKIEXTENSIONPRODUCTNAME@/Wiki Publisher/g' | \ + sed 's/@WIKIEXTENSIONID@/com.sun.wiki-publisher/g' | \ + sed 's/@WIKIEXTENSIONFILENAME@/wiki-publisher/g' > $@ -$(OUT_MEDIAWIKI)$/$(TARGET).done : $(LOCALIZESDF) $(XHPFILES) $(HLANGXHPFILES) - @$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(HELPEX) -p $(PRJNAME) -r $(PRJ) -i @$(mktmp $(uniq $(foreach,i,$? $(!eq,$(i:f),$(i:f:s/.xhp//) $(i:f) $(XHPFILES))))) -x $(OUT_HELP) -y $(PACKAGE) -l all -lf $(MEDIAWIKI_LANG:t",") -m $(LOCALIZESDF) && $(TOUCH) $@ -.ENDIF +.ENDIF # "$(ENABLE_MEDIAWIKI)" != "YES" diff --git a/swext/prj/build.lst b/swext/prj/build.lst index eb1aaca..aa07df3 100644 --- a/swext/prj/build.lst +++ b/swext/prj/build.lst @@ -1,4 +1,4 @@ -swext swext : officecfg l10n javaunohelper ridljar unoil jurt APACHE_COMMONS:apache-commons readlicense_oo xsltml NULL +swext swext : officecfg l10n javaunohelper ridljar unoil jurt APACHE_COMMONS:apache-commons readlicense_oo xsltml xmlhelp NULL swext swext usr1 - all swext_mkout NULL swext swext\mediawiki\help nmake - all swext_mwhelp NULL swext swext\mediawiki\src\registry\schema\org\openoffice\Office\Custom nmake - all swext_mwschema NULL |