[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#423021: openoffice.org: andromeda style cannot be removed



Package: openoffice.org
Version: 2.2.0-6
Severity: normal
Tags: patch

The default openoffice style andromeda is bound by dependency to openoffice.org-common.
Through this it cannot be removed even if another style is installed.

I suggest to improve the dependencies a little bit. My suggestion is not based on to
much knowledge, so please look carefully: I am providing a suggestive patch which
binds openoffice.org-common to openoffice.org-style-default and adds a provide to
the packages openoffice.org-style-crystal and openoffice.org-style-tango, which are
the KDE and Gnome default styles. By that, on a KDE or Gnome system, the andromeda style
can be removed. 

--- openoffice.org-2.2.0/debian/control 2007-05-09 14:44:42.000000000 +0200
+++ /root/openoffice/openoffice.org-2.2.0/debian/control        2007-05-09 15:23:48.000000000 +0200
@@ -110,7 +110,7 @@

 Package: openoffice.org-common
 Architecture: all
-Depends: dictionaries-common (>= 0.10) | openoffice.org-updatedicts, openoffice.org-style-andromeda
+Depends: dictionaries-common (>= 0.10) | openoffice.org-updatedicts, openoffice.org-style-andromeda | openoffice.org-style-default
 Recommends: openoffice.org-style-industrial, openoffice.org-style-tango, openoffice.org-style-crystal, openoffice.org-style-hicontrast
 Conflicts: openoffice.org-debian-files, openoffice.org-mimelnk, openoffice.org2-common, openclipart-openoffice.org (<= 0.17+dfsg-4), openoffice.org-l10n-en-us, 
openoffice.org-debian-menus, openoffice.org-core (= 2.0.4~rc3-1), openoffice.org-base (<< 2.2.0-1), openoffice.org-writer (<< 2.2.0-1), openoffice.org-calc (<< 
2.2.0-1), openoffice.org-impress (<< 2.2.0-1), openoffice.org-draw (<< 2.2.0-1), openoffice.org-math (<< 2.2.0-1)
 Provides: openoffice.org2-common, openoffice.org-l10n-en-us
@@ -232,6 +232,7 @@
 Depends: openoffice.org-common (= ${Source-Version})
 Recommends: kde-icons-crystal, crystalcursors
 Replaces: openoffice.org-common (<< 2.1~m190)
+Provides: openoffice.org-style-default
 Description: Crystal symbol style for OpenOffice.org
  OpenOffice.org is a full-featured office productivity suite that provides
  a near drop-in replacement for Microsoft(R) Office.
@@ -254,6 +255,7 @@
 Depends: openoffice.org-common (= ${Source-Version})
 Suggests: tango-icon-theme
 Replaces: openoffice.org-common (<< 2.1~m190)
+Provides: openoffice.org-style-default
 Description: Tango symbol style for OpenOffice.org
  OpenOffice.org is a full-featured office productivity suite that provides
  a near drop-in replacement for Microsoft(R) Office.
@@ -277,7 +279,6 @@
 Architecture: all
 Depends: openoffice.org-common (= ${Source-Version})
 Replaces: openoffice.org-common (<< 2.1~m190), openoffice.org-style-default
-Conflicts: openoffice.org-style-default
 Provides: openoffice.org-style-default
 Description: Default symbol style for OpenOffice.org
  OpenOffice.org is a full-featured office productivity suite that provides


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-1-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)



Reply to: