11 Commits

Author SHA1 Message Date
e8b21ab244 makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo)
helpcontent2 portion

Change-Id: I2e10bf8bf4cb39fa3a8f9a2c3eb8f22d8636560c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/167007
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-05-03 16:06:39 +02:00
5b99afe8ba avoid needless rebuilds of helpimages
also the create_ilist.pl doesn't really do much anymore, was easily
replaced by a plain $(file …) call

Change-Id: I63a41ef8ed289feb4ab210961d2200032adaac28
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143936
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13 15:11:32 +00:00
e1cf517976 gb_var2file: remove now unused chunk-size parameter (help repo)
Change-Id: Ie0a310b004d969b62c9ee886fee3e8e50d6e5184
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143935
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13 15:04:21 +00:00
15deec972f Adapt helpcontent2 to var2file rename
...in core commit 3829c0c7db8768ca05f148e8f5c271ddb56d5bae "Resolves: tdf#97046
ensure build system variables start with gb_"

Change-Id: I2d9f579921843dbfb55efde492ea19abb3c6782e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124682
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-11-04 13:00:12 +01:00
7b926418c1 tdf#126671 Do not pack screenshots in old Help
This is a partial solution for tdf#126671.

Reduces packaging size by ~15MB.

Screenshots are not used in old Help. Old Help is maintained
for legacy reasons and for extensions that uses XHP files.
Only nlpsolver/ and swext/ extension have some XHP Help files,
and none uses screenshots.

Actually, shared/config/images_helpimg.zip packs all
media/helpimg/*.png files but likely only note.png,
tip.png and warning.png are used in extension's Help,
given xmlhelp/util/main_transform.xsl . Since we don't
have full assurance of the satetement above, the remaining
PNG's are left in this patch until future review.

If the remainig png files are not used anywhere
in the LibreOffice extension realm, the zip file could be reduced
3 files.

Path set 2: remove screenshot.ilst upstream.

Change-Id: I23e401482048f521861707439ceb3e8642bf9b56
Reviewed-on: https://gerrit.libreoffice.org/77076
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-08-07 12:45:44 +02:00
76635096e9 Adapt CustomTarget_helpcontent2/source/auxiliary
...to core 906a2e4fa4e9ce231126c608e741c0c0d809157d "Always execute
pack_images.py with the right Python interpreter"

Change-Id: I7c6c9aed33222fb5b902e30a05cefe8f88c66df1
2018-02-23 08:46:05 +01:00
9ff4dd9cbd helpcontent2: fix build, use pack_images.py
Change-Id: Ie96d42c895daca558a716bd234143016318d3b5c
2017-09-29 16:31:32 +02:00
b726222b3b helpcontent2: fix incremental rebuild of *.ilst files
They only depend on the perl script so won't get rebuild if images are
added or removed in source/media/

Use the same hack as in postprocess, make the targets PHONY so they
always get rebuilt.

Also fix a stray \ that caused the wrong output "[PRL] " to be printed
too early.

Change-Id: I03c8696591cf47395211feaed360fbd5642733a0
2017-06-01 12:23:16 +02:00
1d77c8a706 Move processing of help-specific images to helpcontent
Change-Id: I4370c7ab41184a59bb92e8df49f2fe3ca84c9c8c
Reviewed-on: https://gerrit.libreoffice.org/30958
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:08 +02:00
98d298e4ef Create a new image list for 'make postprocess'
with screenshot images

corrected path as indicated

Change-Id: I3d81c88a4ae002f12247ec4a5587e50f9927a005
Reviewed-on: https://gerrit.libreoffice.org/28499
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-04 13:41:32 +00:00
81f8e6cfb8 gbuildize helpcontent2
dmake is dead, long live gbuild!

Change-Id: I636ea4ed7ee08a748b96973ae076a5e47928d4ca
2013-02-26 15:29:47 +01:00