Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9c31884d
Kaydet (Commit)
9c31884d
authored
Kas 29, 2011
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make branding bulk-configurable.
üst
88459fcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
31 deletions
+80
-31
configure.in
configure.in
+80
-31
No files found.
configure.in
Dosyayı görüntüle @
9c31884d
...
@@ -1591,6 +1591,16 @@ dnl ===================================================================
...
@@ -1591,6 +1591,16 @@ dnl ===================================================================
dnl Branding
dnl Branding
dnl ===================================================================
dnl ===================================================================
AC_ARG_WITH(branding,
[ --with-branding Use given path to retrieve all branding images.
Expects /path/intro.png ...
/path/backing_rtl_right.png to be there. Individual
images can be overridden via --with-intro-bitmap ...
--with-startcenter-rtl-left-bitmap switches.
Usage: --with-branding=/path/to/images
],,)
AC_ARG_WITH(intro-bitmap,
AC_ARG_WITH(intro-bitmap,
[ --with-intro-bitmap Prefer the specified intro bitmap over the
[ --with-intro-bitmap Prefer the specified intro bitmap over the
the default one.
the default one.
...
@@ -9224,20 +9234,6 @@ if test -n "${GIT_LINK_SRC}"; then
...
@@ -9224,20 +9234,6 @@ if test -n "${GIT_LINK_SRC}"; then
fi
fi
AC_SUBST(GIT_LINK_SRC)
AC_SUBST(GIT_LINK_SRC)
AC_MSG_CHECKING([for another 'intro' bitmap])
INTRO_BITMAP=
if test -z "$with_intro_bitmap" -o "$with_intro_bitmap" = "no" ; then
INTRO_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_intro_bitmap" in
*.png) INTRO_BITMAP="$with_intro_bitmap" ;;
*) AC_MSG_WARN([Intro bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$INTRO_BITMAP])
fi
AC_SUBST(INTRO_BITMAP)
AC_MSG_CHECKING([for custom 'intro' progress bar color])
AC_MSG_CHECKING([for custom 'intro' progress bar color])
PROGRESSBARCOLOR=
PROGRESSBARCOLOR=
if test -z "$with_intro_progressbar_color" ; then
if test -z "$with_intro_progressbar_color" ; then
...
@@ -9282,10 +9278,58 @@ else
...
@@ -9282,10 +9278,58 @@ else
fi
fi
AC_SUBST(PROGRESSFRAMECOLOR)
AC_SUBST(PROGRESSFRAMECOLOR)
AC_MSG_CHECKING([for another 'about' bitmap])
AC_MSG_CHECKING([for alternative branding images directory])
INTRO_BITMAP=
ABOUT_BITMAP=
ABOUT_BITMAP=
STARTCENTER_LEFT_BITMAP=
STARTCENTER_RIGHT_BITMAP=
STARTCENTER_RTL_LEFT_BITMAP=
STARTCENTER_RTL_RIGHT_BITMAP=
STARTCENTER_SPACE_BITMAP=
if test -z "$with_branding" -o "$with_branding" = "no" ; then
AC_MSG_RESULT([none])
else
INTRO_BITMAP="$with_branding/intro.png"
ABOUT_BITMAP="$with_branding/about.png"
STARTCENTER_LEFT_BITMAP="$with_branding/backing_left.png"
STARTCENTER_RIGHT_BITMAP="$with_branding/backing_right.png"
STARTCENTER_RTL_LEFT_BITMAP="$with_branding/backing_rtl_left.png"
STARTCENTER_RTL_RIGHT_BITMAP="$with_branding/backing_rtl_right.png"
STARTCENTER_SPACE_BITMAP="$with_branding/backing_space.png"
for i in $INTRO_BITMAP \
$ABOUT_BITMAP \
$STARTCENTER_LEFT_BITMAP \
$STARTCENTER_RIGHT_BITMAP \
$STARTCENTER_RTL_LEFT_BITMAP \
$STARTCENTER_RTL_RIGHT_BITMAP \
$STARTCENTER_SPACE_BITMAP; do
if test ! -f $i; then
AC_MSG_WARN([Required file $i does not exist!])
fi
done
AC_MSG_RESULT([$with_branding])
fi
AC_MSG_CHECKING([for yet another 'intro' bitmap])
if test -z "$with_intro_bitmap" -o "$with_intro_bitmap" = "no" ; then
if test "$with_intro_bitmap" = "no" ; then
INTRO_BITMAP=
fi
AC_MSG_RESULT([none])
else
case "$with_intro_bitmap" in
*.png) INTRO_BITMAP="$with_intro_bitmap" ;;
*) AC_MSG_WARN([Intro bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$INTRO_BITMAP])
fi
AC_SUBST(INTRO_BITMAP)
AC_MSG_CHECKING([for yet another 'about' bitmap])
if test -z "$with_about_bitmap" -o "$with_about_bitmap" = "no" ; then
if test -z "$with_about_bitmap" -o "$with_about_bitmap" = "no" ; then
ABOUT_BITMAP=
if test "$with_about_bitmap" = "no" ; then
ABOUT_BITMAP=
fi
AC_MSG_RESULT([none])
AC_MSG_RESULT([none])
else
else
case "$with_about_bitmap" in
case "$with_about_bitmap" in
...
@@ -9296,10 +9340,11 @@ else
...
@@ -9296,10 +9340,11 @@ else
fi
fi
AC_SUBST(ABOUT_BITMAP)
AC_SUBST(ABOUT_BITMAP)
AC_MSG_CHECKING([for another 'start center left' bitmap])
AC_MSG_CHECKING([for yet another 'start center left' bitmap])
STARTCENTER_LEFT_BITMAP=
if test -z "$with_startcenter_left_bitmap" -o "$with_startcenter_left_bitmap" = "no" ; then
if test -z "$with_startcenter_left_bitmap" -o "$with_startcenter_left_bitmap" = "no" ; then
STARTCENTER_LEFT_BITMAP=
if test "$with_startcenter_left_bitmap" = "no" ; then
STARTCENTER_LEFT_BITMAP=
fi
AC_MSG_RESULT([none])
AC_MSG_RESULT([none])
else
else
case "$with_startcenter_left_bitmap" in
case "$with_startcenter_left_bitmap" in
...
@@ -9310,10 +9355,11 @@ else
...
@@ -9310,10 +9355,11 @@ else
fi
fi
AC_SUBST(STARTCENTER_LEFT_BITMAP)
AC_SUBST(STARTCENTER_LEFT_BITMAP)
AC_MSG_CHECKING([for another 'start center right' bitmap])
AC_MSG_CHECKING([for yet another 'start center right' bitmap])
STARTCENTER_RIGHT_BITMAP=
if test -z "$with_startcenter_right_bitmap" -o "$with_startcenter_right_bitmap" = "no" ; then
if test -z "$with_startcenter_right_bitmap" -o "$with_startcenter_right_bitmap" = "no" ; then
STARTCENTER_RIGHT_BITMAP=
if test "$with_startcenter_right_bitmap" = "no" ; then
STARTCENTER_RIGHT_BITMAP=
fi
AC_MSG_RESULT([none])
AC_MSG_RESULT([none])
else
else
case "$with_startcenter_right_bitmap" in
case "$with_startcenter_right_bitmap" in
...
@@ -9324,10 +9370,11 @@ else
...
@@ -9324,10 +9370,11 @@ else
fi
fi
AC_SUBST(STARTCENTER_RIGHT_BITMAP)
AC_SUBST(STARTCENTER_RIGHT_BITMAP)
AC_MSG_CHECKING([for another 'start center rtl left' bitmap])
AC_MSG_CHECKING([for yet another 'start center rtl left' bitmap])
STARTCENTER_RTL_LEFT_BITMAP=
if test -z "$with_startcenter_rtl_left_bitmap" -o "$with_startcenter_rtl_left_bitmap" = "no" ; then
if test -z "$with_startcenter_rtl_left_bitmap" -o "$with_startcenter_rtl_left_bitmap" = "no" ; then
STARTCENTER_RTL_LEFT_BITMAP=
if test "$with_startcenter_rtl_left_bitmap" = "no" ; then
STARTCENTER_RTL_LEFT_BITMAP=
fi
AC_MSG_RESULT([none])
AC_MSG_RESULT([none])
else
else
case "$with_startcenter_rtl_left_bitmap" in
case "$with_startcenter_rtl_left_bitmap" in
...
@@ -9338,10 +9385,11 @@ else
...
@@ -9338,10 +9385,11 @@ else
fi
fi
AC_SUBST(STARTCENTER_RTL_LEFT_BITMAP)
AC_SUBST(STARTCENTER_RTL_LEFT_BITMAP)
AC_MSG_CHECKING([for another 'start center rtl right' bitmap])
AC_MSG_CHECKING([for yet another 'start center rtl right' bitmap])
STARTCENTER_RTL_RIGHT_BITMAP=
if test -z "$with_startcenter_rtl_right_bitmap" -o "$with_startcenter_rtl_right_bitmap" = "no" ; then
if test -z "$with_startcenter_rtl_right_bitmap" -o "$with_startcenter_rtl_right_bitmap" = "no" ; then
STARTCENTER_RTL_RIGHT_BITMAP=
if test "$with_startcenter_rtl_right_bitmap" = "no" ; then
STARTCENTER_RTL_RIGHT_BITMAP=
fi
AC_MSG_RESULT([none])
AC_MSG_RESULT([none])
else
else
case "$with_startcenter_rtl_right_bitmap" in
case "$with_startcenter_rtl_right_bitmap" in
...
@@ -9352,10 +9400,11 @@ else
...
@@ -9352,10 +9400,11 @@ else
fi
fi
AC_SUBST(STARTCENTER_RTL_RIGHT_BITMAP)
AC_SUBST(STARTCENTER_RTL_RIGHT_BITMAP)
AC_MSG_CHECKING([for another 'start center space' bitmap])
AC_MSG_CHECKING([for yet another 'start center space' bitmap])
STARTCENTER_SPACE_BITMAP=
if test -z "$with_startcenter_space_bitmap" -o "$with_startcenter_space_bitmap" = "no" ; then
if test -z "$with_startcenter_space_bitmap" -o "$with_startcenter_space_bitmap" = "no" ; then
STARTCENTER_SPACE_BITMAP=
if test "$with_startcenter_space_bitmap" = "no" ; then
STARTCENTER_SPACE_BITMAP=
fi
AC_MSG_RESULT([none])
AC_MSG_RESULT([none])
else
else
case "$with_startcenter_space_bitmap" in
case "$with_startcenter_space_bitmap" in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment