------------------------------------------------------------
revno: 829
committer: Rene Engelhard <[EMAIL PROTECTED]>
branch nick: experimental
timestamp: Tue 2007-08-07 01:16:47 +0200
message:
  some forgotten files
removed:
  deppackage.postinst.in
  module-po.map
  splitgsi
=== removed file 'deppackage.postinst.in'
--- a/deppackage.postinst.in    2007-08-06 15:19:00 +0000
+++ b/deppackage.postinst.in    1970-01-01 00:00:00 +0000
@@ -1,12 +0,0 @@
-#! /bin/sh -e
-
-case "$1" in
-    configure)
-       docdir=/usr/share/doc/@PKGNAME@
-       if [ -d $docdir ] && [ ! -h $docdir ]; then
-           rm -rf $docdir
-           ln -s @PKGTARGET@ $docdir
-       fi
-esac
-
-#DEBHELPER#

=== removed file 'module-po.map'
--- a/module-po.map     2007-08-06 15:19:00 +0000
+++ b/module-po.map     1970-01-01 00:00:00 +0000
@@ -1,38 +0,0 @@
-avmedia                        ooo-unused
-basctl                 ooo-basic
-basic                  ooo-basic
-chart2                 ooo-calc
-crashrep               ooo-unused
-dbaccess               ooo-base
-desktop                        ooo-commongui
-extensions             ooo-other
-filter                 ooo-other
-forms                  ooo-other
-fpicker                        ooo-commongui
-framework              ooo-other
-goodies                        ooo-other
-helpcontent2           ooo-help
-instsetoo_native       ooo-common
-officecfg              ooo-commongui
-offmgr                 ooo-unused
-padmin                 ooo-padmin
-readlicense_oo         ooo-common
-sc                     ooo-calc
-scaddins               ooo-calc
-sch                    ooo-calc
-scp2                   ooo-other
-sd                     ooo-draw
-setup2                 ooo-unused
-sfx2                   ooo-commongui
-shell                  ooo-other
-so3                    ooo-calc
-starmath               ooo-math
-svtools                        ooo-common
-svx                    ooo-draw
-sw                     ooo-writer
-sysui                  ooo-commongui
-toolkit                        ooo-other
-uui                    ooo-other
-vcl                    ooo-common
-wizards                        ooo-other
-xmlsecurity            ooo-other

=== removed file 'splitgsi'
--- a/splitgsi  2007-08-06 15:19:00 +0000
+++ b/splitgsi  1970-01-01 00:00:00 +0000
@@ -1,57 +0,0 @@
-#! /usr/bin/python
-
-import sys
-
-map_fn = 'debian/module-po.map'
-help_submodules = set(['sbasic', 'scalc', 'schart', 'sdraw',
-                       'shared', 'simpress', 'smath', 'swriter'])
-
-def read_map(fn):
-    modules = {}
-    for line in file(fn):
-        module, poname = line.split()
-        modules[module] = poname
-    for submod in help_submodules:
-        modules['helpcontent2-' + submod] = 'ooo-help-' + submod
-        modules['helpcontent2-' + submod + '-guide'] = 'ooo-guide-' + submod
-    return modules
-
-def split(fn, dir, modules):
-    polists= {}
-    for poname in set(modules.values()):
-        polists[poname] = []
-    polists['ooo-unknown'] = []
-
-    for line in file(fn):
-        module, source = line.split(None, 2)[:2]
-        if module == 'helpcontent2':
-            try:
-                submodule = source.split('\\')[2]
-                if submodule in help_submodules:
-                    module = module + '-' + submodule
-                    if '\\guide\\' in source:
-                        module = module + '-guide'
-            except:
-                pass
-        polists[modules.get(module,'ooo-unknown')].append(line)
-
-    if polists['ooo-unknown'] == []:
-        del polists['ooo-unknown']
-    for poname in polists.keys():
-        if len(polists[poname]) == 0:
-            continue
-        fd = file('%s/%s.sdf' % (dir, poname), 'w')
-        fd.writelines(polists[poname])
-        fd.close()
-
-def main():
-    modules = read_map(map_fn)
-    if len(sys.argv) != 3:
-        print 'usage: splitgsi <gsi file> <target_dir>'
-        sys.exit(1)
-    gsi_fn = sys.argv[1]
-    target_dir = sys.argv[2]
-
-    split(gsi_fn, target_dir, modules)
-
-main()

Reply via email to