non-library files shouldn't be installed in the libdir

Bug #191981 reported by Julien Lavergne
4
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Low
Mark Lee
Awn Extras
Fix Released
Low
Mark Lee

Bug Description

Awn-extras install some files in /usr/lib or /usr/local/lib that should not be here, according to the FHS.
This is a draft proposal for the hierarchy.

compile C applets (*.so) ==> PREFIX + /lib/awn/applets/NAME_OF_APPLET
desktop files (*.desktop) ==> PREFIX + /share/awn/applets/desktop
python files (*.py) ==> PREFIX +/share/awn/applets/NAME_OF_APPLET
images ==> follow GNOME policy (don't remember the link ...)
libawn-extras ==> PREFIX + /lib (done)
AWNlib ==> PREFIX + /lib/python2.*/ (it's seems already done)

Julien Lavergne (gilir)
Changed in awn-extras:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Mark Lee (malept) wrote :

I'll take it.

Changed in awn-extras:
assignee: nobody → malept
Revision history for this message
Julien Lavergne (gilir) wrote :

Initial patch for extras.
Not perfect, but it's remove all (except 1 glade file) not desire files from /usr/lib.
Need also to patch awn-manager. It need to look at /usr/share for *.desktop file (patch in the next comment).

Know bugs : Awn-manager doesn't find icons for python applets which have a non-stick icon. It need a patch, but the code for icons is not so clear :)

Revision history for this message
Julien Lavergne (gilir) wrote :

Awn-manager patch

Revision history for this message
Julien Lavergne (gilir) wrote :

Last patch against 0.2.6 branch, I'll use it in my debian package.
I try with absolute path (like @DATADIR@) but the autogen.sh + make dist made strange {prefix} in desktop path.

Now I only need a patch of awn-manager to display icons when they have relative path :)

Mark Lee (malept)
Changed in awn-extras:
milestone: none → 0.2.8
Revision history for this message
Mark Lee (malept) wrote :

I'm not entirely sure how I'm going to backport the awn-extras mega-patch to 0.2.6 - I guess I'll start with the Debian patch and go from there.

Changed in awn:
assignee: nobody → malept
importance: Undecided → Low
milestone: none → 0.2.8
status: New → In Progress
Michal Hruby (mhr3)
Changed in awn:
milestone: 0.2.8 → 0.3.2
Changed in awn-extras:
milestone: 0.2.8 → 0.3.2
Revision history for this message
Mark Lee (malept) wrote :

This is already done for Awn. Not sure about Awn Extras.

Changed in awn:
status: In Progress → Fix Committed
Revision history for this message
Julien Lavergne (gilir) wrote :

Should be ok also for extras.

Changed in awn-extras:
status: Confirmed → Fix Committed
Mark Lee (malept)
Changed in awn:
status: Fix Committed → Fix Released
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.