~ubuntu-branches/ubuntu/lucid/openoffice.org-l10n/lucid

« back to all changes in this revision

Viewing changes to ooo-build/bin/applyflags

  • Committer: Bazaar Package Importer
  • Author(s): Chris Cheney
  • Date: 2010-01-19 16:00:00 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100119160000-freeu943fe1z3o76
Tags: 1:3.2.0~rc2-1ubuntu1
* Resynchronise with Debian (r1764). Remaining changes:
  - Add Launchpad integration support.
  - Add Launchpad translations support.
  - Add package openoffice.org-style-human.
  - Add some Ubuntu-specific bitmaps. Adjust broffice diversions for these.
  - Add support for compressing debs with lzma.
  - Add support for shared /usr/share/doc directories.
  - Add support to build l10n as a separate source.
  - Add support to turn off building on sparc.
  - Add Xb-Npp-xxx tags according to "firefox distro add-on suport" spec.
  - Use imagemagick instead of graphicsmagick.
  - openoffice.org-help switch to internal copy of lucene.
  - Disable gnome-vfs support since it is buggy.
  - Switch desktop files from %U to %F for gvfs fuse.
* Resynchronise with ooo-build-3-2 (454ea0d62d4321b54cd5ef870ac99d8d7929c459).

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
builddir=$2
9
9
 
10
10
if test "z$bindir" == "z"; then
11
 
    echo "Serious error - requires path to bindir";
12
 
    exit 1;
 
11
    echo "Serious error - requires path to bindir"
 
12
    exit 1
13
13
fi
14
14
 
15
15
cd $bindir
16
16
source ./setup >& /dev/null
17
17
 
 
18
SECTIONS="$OOO_ADDITIONAL_SECTIONS"
 
19
 
18
20
# do we use another builddir?
19
21
test -n "$builddir" && OOBUILDDIR=$builddir
20
22
 
21
 
echo -n "--distro=$DISTRO";
 
23
echo -n "--distro=$DISTRO"
 
24
 
22
25
if test -d $OOBUILDDIR/binfilter; then
23
 
    echo -n " --distro=Binfilter";
 
26
    SECTIONS="$SECTIONS,Binfilter"
24
27
fi
25
28
if test -d $OOBUILDDIR/zlib; then
26
 
    echo -n " --distro=System";
 
29
    SECTIONS="$SECTIONS,System"
27
30
fi
28
31
if test -d $OOBUILDDIR/odk; then
29
 
    echo -n " --distro=Sdk";
 
32
    SECTIONS="$SECTIONS,Sdk"
30
33
fi
31
34
if test -d $OOBUILDDIR/swext -o -d $OOBUILDDIR/sdext -o -d $OOBUILDDIR/reportbuilder; then
32
 
    echo -n " --distro=Extensions";
 
35
    SECTIONS="$SECTIONS,Extensions"
 
36
fi
 
37
if test -d $OOBUILDDIR/nlpsolver ; then
 
38
    SECTIONS="$SECTIONS,NLPSolver"
33
39
fi
34
40
 
35
41
# The localize.sdf's are created during the build when they do not exits.
36
42
# Additionally, they are created using something like echo > localize.sdf, so
37
43
# even test -s is not helpful here :-(
38
 
if grep 'OpenOffice\.org' $OOBUILDDIR/sw/source/ui/app/localize.sdf > /dev/null 2>&1 ; then
39
 
    echo -n " --distro=Localize";
 
44
if test -d $OOBUILDDIR/l10n; then
 
45
    SECTIONS="$SECTIONS,Localize"
40
46
fi
41
47
 
42
48
if test "$UNSTABLE_WP" = "YES" ; then
43
 
    echo -n " --distro=UnstableWP";
44
 
fi
45
 
if test -n "$OOO_ADDITIONAL_SECTIONS" ; then
46
 
    echo -n " --additional-sections=$OOO_ADDITIONAL_SECTIONS";
 
49
    SECTIONS="$SECTIONS,UnstableWP"
47
50
fi
48
51
if test "z$PIECE" != "z"; then
49
 
    echo -n " --pieces --distro=Piece";
50
 
fi ;
 
52
    echo -n " --pieces"
 
53
    SECTIONS="$SECTIONS,Piece"
 
54
fi
 
55
if test "$ENABLE_GRAPHITE" = "TRUE"; then
 
56
    SECTIONS="$SECTIONS,Graphite"
 
57
fi
 
58
 
 
59
SECTIONS=`echo $SECTIONS | sed 's/^,//'`
 
60
 
 
61
if test -n "$SECTIONS" ; then
 
62
    echo -n " --additional-sections=$SECTIONS"
 
63
fi
 
64
 
51
65
if test "$DEFUZZ_PATCHES" = "YES"; then
52
66
    echo -n " --defuzz"
53
 
fi ;
54
 
if test "$ENABLE_GRAPHITE" = "TRUE"; then
55
 
    echo -n "--distro=Graphite";
56
67
fi