# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,postprocess/images))
packimages_DIR := $(call gb_CustomTarget_get_workdir,postprocess/images)
helpimages_DIR := $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)
# Custom sets, at 24x24 & 16x16 fall-back to Tango preferentially
# (Tango fallbacks to Industrial for the missing icons)
packimages_CUSTOM_FALLBACKS := -c $(SRCDIR)/icon-themes/tango -c $(SRCDIR)/icon-themes/industrial
$(eval $(call gb_CustomTarget_register_targets,postprocess/images,\
$(if $(filter default,$(WITH_THEMES)),images.zip) \
$(foreach theme,$(filter-out default,$(WITH_THEMES)),images_$(theme).zip) \
commandimagelist.ilst \
sorted.lst \
))
$(packimages_DIR)/images.zip : DEFAULT_THEME := $(true)
$(packimages_DIR)/images_%.zip : DEFAULT_THEME :=
$(packimages_DIR)/%.zip : \
$(packimages_DIR)/sorted.lst \
$(packimages_DIR)/commandimagelist.ilst \
$(call gb_Helper_optional,HELP,$(helpimages_DIR)/helpimg.ilst) \
$(call gb_Helper_optional,DBCONNECTIVITY,$(if $(SOLAR_JAVA),$(SRCDIR)/connectivity/source/drivers/hsqldb/hsqlui.ilst)) \
$(call gb_Postprocess_get_target,AllResources) \
$(call gb_Postprocess_get_target,AllUIConfigs)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
$(call gb_Helper_abbreviate_dirs, \
$(PERL) $(SOLARENV)/bin/packimages.pl \
-g $(SRCDIR)/icon-themes/galaxy \
-m $(SRCDIR)/icon-themes/galaxy \
$(if $(DEFAULT_THEME),\
-c $(packimages_DIR),\
-c $(SRCDIR)/icon-themes/$(subst images_,,$*) $(packimages_CUSTOM_FALLBACKS) \
) \
$(call gb_Helper_optional,HELP,-l $(helpimages_DIR) ) \
-l $(packimages_DIR) \
-l $(dir $(call gb_ResTarget_get_imagelist_target)) \
-l $(dir $(call gb_UIConfig_get_imagelist_target)) \
-l $(dir $(call gb_UIConfig_get_imagelist_target,modules/)) \
$(call gb_Helper_optional,DBCONNECTIVITY,$(if $(SOLAR_JAVA),-l $(SRCDIR)/connectivity/source/drivers/hsqldb)) \
-s $< -o $@ \
$(if $(findstring s,$(MAKEFLAGS)),> /dev/null))
# commandimagelist.ilst and sorted.lst are phony to rebuild everything each time
.PHONY : $(packimages_DIR)/commandimagelist.ilst $(packimages_DIR)/sorted.lst
$(packimages_DIR)/commandimagelist.ilst :
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
$(call gb_Helper_abbreviate_dirs, \
find $(SRCDIR)/icon-themes/galaxy/cmd -name "*.png" -o -name "*.svg" | \
sed "s#$(SRCDIR)/icon-themes/galaxy#%MODULE%#" | \
$(PERL) $(SOLARENV)/bin/sort.pl > $@.$(INPATH) && \
$(PERL) $(SOLARENV)/bin/diffmv.pl $@.$(INPATH) $@ \
$(if $(findstring s,$(MAKEFLAGS)),2> /dev/null))
$(packimages_DIR)/sorted.lst : \
$(SRCDIR)/postprocess/packimages/image-sort.lst \
$(call gb_Postprocess_get_target,AllUIConfigs)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
$(call gb_Helper_abbreviate_dirs, \
$(PERL) $(SOLARENV)/bin/image-sort.pl $< $(INSTDIR)/$(gb_UIConfig_INSTDIR) $@)
# vim: set noet sw=4 ts=4:
ora/cp-4.4'>distro/collabora/cp-4.4
LibreOffice 核心代码仓库 | 文档基金会 |
Age | Commit message (Expand) | Author |
2015-09-15 | Revert cppuhelper/implbase.hxx usage in non-LIBO_INTERNAL_ONLY code, again | Stephan Bergmann |
2015-09-15 | Resolves: tdf#88206 replace cppu::WeakImplHelper* etc. | Takeshi Abe |
2015-09-14 | Extensions are not built against LIBO_INTERNAL_ONLY | Stephan Bergmann |
2015-09-12 | desktop: com::sun::star->css | Noel Grandin |
2015-07-23 | tdf#88206 replace cppu::WeakImplHelper* etc. | Takeshi Abe |
2015-07-10 | desktop: update: Add support for mips64. | Heiher |
2015-06-24 | cppcheck: noExplicitConstructor | Caolán McNamara |
2015-06-11 | java:regulatize the order of 'final' and public/private | Noel Grandin |
2015-03-02 | desktop: remove some obsolete "delzip" files | Michael Stahl |
2015-02-24 | Typos | Julien Nabet |
2015-02-18 | Typos | Julien Nabet |
2015-02-03 | Fix Extension_test-{active,passive} | Stephan Bergmann |
2015-01-23 | 'Ownership' is one word, as is 'relationship' | Tor Lillqvist |
2014-12-12 | java: fix non-public UNO implementation classes | Noel Grandin |
2014-12-11 | java: reduce visibility of fields and methods | Noel Grandin |
2014-12-10 | java: improve use of WrappedTargetException to set cause properly | Noel Grandin |
2014-11-18 | java: make fields final where possible | Noel Grandin |
2014-11-12 | Fix common typos. No automatic tools. Handmade… | Andrea Gelmini |
2014-10-17 | java: should throw this exception | Noel Grandin |
2014-10-16 | java: when rethrowing, store the original exception | Noel Grandin |
2014-10-09 | typo: Lable -> Label | Andras Timar |
2014-09-19 | loplugin:saloverride | Stephan Bergmann |
2014-08-20 | java: don't catch and then just rethrow an exception | Noel Grandin |
2014-08-08 | java: remove unused imports | Noel Grandin |
2014-08-08 | java: remove unused fields | Noel Grandin |
2014-07-23 | Typos | Julien Nabet |
2014-06-05 | desktop: remove SAL_THROW macro | Noel Grandin |
2014-06-04 | desktop: fix includes | Thomas Arnhold |
2014-02-10 | Typo: diretory -> directory | Julien Nabet |
2013-12-17 | Keep using component_getImplementationEnvironment in extensions | Stephan Bergmann |
2013-12-16 | Clean-up uno/lbnames.h | Stephan Bergmann |
2013-12-16 | Re-enable building test-active.oxt | Stephan Bergmann |
2013-09-22 | add mode lines to new files (and idls) since last run | Caolán McNamara |
2013-09-07 | s/wiki.services.openoffice.org/wiki.openoffice.org/g | Andras Timar |
2013-08-19 | Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA | Tor Lillqvist |
2013-07-11 | Resolves: #i121544# - Clean-up MessageBox API | Ariel Constenla-Haile |
2013-05-06 | fix typos (wich instead of which) | Philipp Riemer |
2013-04-19 | Java cleanup, remove unnecessary casts | Noel Grandin |
2013-04-07 | mass removal of rtl:: prefixes for O(U)String* | Luboš Luňák |
2013-04-02 | No localize descripiton.xml of test tool | Zolnai Tamás |
2013-03-16 | Make some xml entries localizable | Zolnai Tamás |
2013-03-07 | Remove obsoleted dmake makefile.mk | Stephan Bergmann |
2013-03-07 | Gbuild'ify desktop/test/deployment/passive/ | Stephan Bergmann |
2013-02-06 | remove obsolete no_localization files | Andras Timar |
2012-12-21 | fdo#46808, Convert frame::Desktop to new style service. | Noel Grandin |
2012-11-30 | c++ API: use css alias in generated headers, adds global css decl | Thorsten Behrens |
2012-11-19 | re-base on ALv2 code. Includes: | Michael Meeks |
2012-11-19 | Clean up desktop/test/deployment/{active,passive} | Stephan Bergmann |
2012-10-24 | fdo#46808, Adapt awt::Toolkit UNO service to new style | Noel Grandin |
2012-09-06 | Java cleanup, remove unnecessary imports | Noel Grandin |