Bug#567770: Moving config to /etc left empty /usr/share/e16/config; completely borks e16

2010-02-10 Thread Laurence J. Lane
I had time to examine this situation more carefully. The vast majority of the
data in that directory fails policy's definition of configuration files. The NMU
that moved that directory was an error with much obvious collateral damage..



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#567770: Moving config to /etc left empty /usr/share/e16/config; completely borks e16

2010-02-10 Thread Anthony DeRobertis

On 02/10/2010 05:43 PM, Laurence J. Lane wrote:

I had time to examine this situation more carefully. The vast majority of the
data in that directory fails policy's definition of configuration files.
   


Most of them seem to be configuration files by policy's definition as 
far as I can tell.



anth...@feynman:config$ ls -l
total 76
-rw-r--r-- 1 root root  8602 2010-01-23 10:01 actionclasses.cfg
   
This one defines what various buttons do. For example, if you want to 
change what happens when you middle-click a window titlebar system wide, 
you change this file. (Maybe your machine doesn't have a middle mouse 
button, or its hard to reach.)


http://etherdoxproject.com/etheme_tutorials/tut3.htm sort of explains 
this file.



-rw-r--r-- 1 root root  3629 2010-01-23 10:01 bindings.cfg
   


Global keyboard and mouse bindings. Definitely configuration; there is 
even a tool to edit this on a per-user basis (e16keyedit). Perfectly 
sane to edit. For example, if you're configuring a system with Firefox 
as the default browser, changing e16's default Alt-Enter keybinding 
makes a lot of sense.



-rw-r--r-- 1 root root 25915 2010-01-23 10:01 definitions
   


This one really isn't a config file, I agree. It's just needed to parse 
actionclasses.cfg. I think it used to be used more widely; 
actionclasses.cfg maintains the old syntax (C preprocessor) that a bunch 
of e16 config used to useā€¦



-rw-r--r-- 1 root root  4269 2010-01-23 10:01 e16keyedit.db
   


This doesn't appear to be a config file really, I agree. Seems to just 
list things for e16keyedit, I'm not sure why an admin would want to 
change it.



-rw-r--r-- 1 root root   698 2010-01-23 10:01 fonts.pango.cfg
-rw-r--r-- 1 root root   660 2010-01-23 10:01 fonts.xft.cfg
   


I believe this is where you can change the default e16 fonts 
system-wide. Considering even GNOME's much-simplified interface contains 
font preferences, this is surely configuration.



-rw-r--r-- 1 root root  1778 2010-01-23 10:01 matches.cfg
   


This seems to let you configure e16 defaults on a per-app basis. I 
didn't know this existed before, thanks for getting me to go through 
this directory. This is pretty awesome... and looks like something an 
admin would want to change. I've got a couple systems to change now, to 
make Pidgin conversation windows sticky.



drwxr-xr-x 2 root root  4096 2010-01-31 02:56 menus
-rw-r--r-- 1 root root   247 2010-01-23 10:01 menus.cfg
   


Let's you customize the various menus. There is even a per-user editor 
for this, e16menuedit, and pretty much every desktop environment has a 
way to edit the menus. I think menu definitions are well-established as 
configuration. See also /etc/menu/



drwxr-xr-x 2 root root  4096 2010-01-31 02:56 pix
   


This is clearly not config.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#567770: Moving config to /etc left empty /usr/share/e16/config; completely borks e16

2010-01-31 Thread Anthony DeRobertis
Package: e16
Version: 1.0.0-3.1
Severity: grave

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Instead of putting a symlink at /usr/share/e16/config, I wound up with
an empty directory there. Among other things, this causes (some only
after manual config cache purge  restart):

o Can not change the theme. It uses the winter theme, period.

o The right click and middle-click on desktop menus do not work. So
  you can't configure or purge config caches.

o The control-right click window op menu doesn't work (it will not
  appear)

o The window op menu button (in the title bar, if your theme has
  one) doesn't work. This is before restart (winter theme doesn't
  have button)

o The close button (window title bar) doesn't work. Neither does the
  minimize button. It isn't possible to close windows.

rmdir followed by ln -s, then purge cache (manually, via rm -Rf), then
restart e16 brings back normal functionality.

PS: I don't see any maintainer script to make the symlink. It looks like
you attempted to have dpkg make the change, but, quoting policy 6.6:

A directory will never be replaced by a symbolic link to a directory
or vice versa; instead, the existing state (symlink or not) will be
left alone and `dpkg' will follow the symlink if there is one.

I am therefor filing as grave, as I'm pretty sure this hits all
upgrades, not just me.

- -- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'testing'), (130, 'unstable'), (120, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages e16 depends on:
ii  e16-data  1.0.0-3.1  e16 window manager support files
ii  libaudiofile0 0.2.6-8Open-source version of SGI's audio
ii  libc6 2.10.2-2   GNU C Library: Shared libraries
ii  libdbus-1-3   1.2.16-2   simple interprocess messaging syst
ii  libesd0   0.2.41-6   Enlightened Sound Daemon - Shared 
ii  libglib2.0-0  2.22.4-1   The GLib library of C routines
ii  libice6   2:1.0.6-1  X11 Inter-Client Exchange library
ii  libimlib2 1.4.2-5powerful image loading and renderi
ii  libpango1.0-0 1.26.2-1   Layout and rendering of internatio
ii  libsm62:1.1.1-1  X11 Session Management library
ii  libx11-6  2:1.3.3-1  X11 client-side library
ii  libxcomposite11:0.4.1-1  X11 Composite extension library
ii  libxdamage1   1:1.1.2-1  X11 damaged region extension libra
ii  libxext6  2:1.1.1-2  X11 miscellaneous extension librar
ii  libxfixes31:4.0.4-1  X11 miscellaneous 'fixes' extensio
ii  libxft2   2.1.14-1   FreeType-based font drawing librar
ii  libxinerama1  2:1.1-2X11 Xinerama extension library
ii  libxrandr22:1.3.0-2  X11 RandR extension library
ii  libxrender1   1:0.9.5-1  X Rendering Extension client libra
ii  libxxf86vm1   1:1.1.0-2  X11 XFree86 video mode extension l

Versions of packages e16 recommends:
pn  esoundnone (no description available)
ii  menu  2.1.42 generates programs menu for all me

Versions of packages e16 suggests:
ii  e16keyedit0.6-1  a keybinding editor for the enligh
ii  e16menuedit2  0.0.3-2A graphical menu editor for enligh
ii  konsole [x-terminal-emulator] 4:4.3.2-1  X terminal emulator for KDE 4
ii  rxvt-unicode-ml [x-terminal-e 9.06-3 multi-lingual terminal emulator wi
ii  xterm [x-terminal-emulator]   253-1  X terminal emulator

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEUEARECAAYFAktlYdQACgkQ+z+IwlXqWf5ANACXby7vaUDlQJEcmmTtLjUGjRuk
hwCfU/KbJ5teMJTzmbWioAMp7axsPrc=
=T9ty
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org