Kaydet (Commit) 1a038dc8 authored tarafından Caolán McNamara's avatar Caolán McNamara

alternative solution to avoid adding a gnome-vfs dependency if disabled

i.e. "don't add gnomevfs requires to epm created rpms if GNOMEVFS is disabled"

seeing as setup_native/source/packinfo/packinfo_office.txt references
find-requires-gnome.sh and doesn't have conditional support revert the split
and put the the conditional into find-requires-gnome.sh

Change-Id: I34bd37c4fd252f2175ff055024293dea946b4881
üst d53ad925
...@@ -21,8 +21,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,instsetoo_native/install)) ...@@ -21,8 +21,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,instsetoo_native/install))
$(eval $(call gb_CustomTarget_register_targets,instsetoo_native/install,\ $(eval $(call gb_CustomTarget_register_targets,instsetoo_native/install,\
install.phony \ install.phony \
$(if $(filter-out WNT,$(OS)),\ $(if $(filter-out WNT,$(OS)),\
$(if $(ENABLE_GNOMEVFS),bin/find-requires-gnomevfs.sh) \ bin/find-requires-gnome.sh \
bin/find-requires-glib.sh \
bin/find-requires-x11.sh) \ bin/find-requires-x11.sh) \
$(foreach ulf,$(instsetoo_ULFLIST),win_ulffiles/$(ulf).ulf) \ $(foreach ulf,$(instsetoo_ULFLIST),win_ulffiles/$(ulf).ulf) \
)) ))
...@@ -32,8 +31,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: \ ...@@ -32,8 +31,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: \
$(foreach ulf,$(instsetoo_ULFLIST),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/$(ulf).ulf) \ $(foreach ulf,$(instsetoo_ULFLIST),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/$(ulf).ulf) \
$(if $(filter-out WNT,$(OS)),\ $(if $(filter-out WNT,$(OS)),\
$(addprefix $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/,\ $(addprefix $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/,\
$(if $(ENABLE_GNOMEVFS),bin/find-requires-gnomevfs.sh) \ bin/find-requires-gnome.sh \
bin/find-requires-glib.sh \
bin/find-requires-x11.sh) \ bin/find-requires-x11.sh) \
) \ ) \
$(call gb_Postprocess_get_target,AllModulesButInstsetNative) $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
......
...@@ -19,6 +19,13 @@ ...@@ -19,6 +19,13 @@
cat > /dev/null cat > /dev/null
[[ "${PLATFORMID}" == "linux_x86_64" ]] && mark64="()(64bit)" [[ "${PLATFORMID}" == "linux_x86_64" ]] && mark64="()(64bit)"
if [[ "${ENABLE_GNOMEVFS}" == "TRUE" ]]; then
if [[ "${OS}" == "AIX" ]]; then
echo "libgnomevfs-2.a(libgnomevfs-2.so.0${mark64})"
else
echo "libgnomevfs-2.so.0${mark64}"
fi
fi
if [[ "${OS}" == "AIX" ]]; then if [[ "${OS}" == "AIX" ]]; then
echo "libgconf-2.a(libgconf-2.so.4${mark64})" echo "libgconf-2.a(libgconf-2.so.4${mark64})"
else else
......
#!/bin/sh
#
# 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/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
cat > /dev/null
[[ "${PLATFORMID}" == "linux_x86_64" ]] && mark64="()(64bit)"
if [[ "${OS}" == "AIX" ]]; then
echo "libgnomevfs-2.a(libgnomevfs-2.so.0${mark64})"
else
echo "libgnomevfs-2.so.0${mark64}"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment