lsb

RFC: specdb refactor for later interface<->library binding

Bug #1333866 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
In Progress
Medium
Unassigned
Mandriva
In Progress
Wishlist

Bug Description

This is filed to promote some discussion.

We now have several cases of interfaces which exist in several libraries in
essentially the same form. There are a handful in libc/libpthread, there are
many shared between libpng12/libpng15, also many between
libncurses/libncursesw, and there will presumably be lots between
libgtk-2.0/libgtk-3.0.

All details of those interfaces have to be duplicated, which is irritating and
potenially error prone, because the Interface.Ilibrary field binds an interface
specifically to a library. So what if we changed to make that binding in the
ArchInt entry instead? That way, in theory at least, a common interface
definition could be bound to two or more separate libraries.

There's certainly plenty of rework that would be needed to support such a
change so I'm not proposing it as a high priority, just starting the
discussion.

Possible similar case is for Constant.Cheadgroup, which could become
ArchConst.ACheadgroup, in case constants need sharing. That's probably not as
common, you want constants (and types) usually defined in one place, but the
curses case is an exception.

Changed in mandriva:
importance: Unknown → Wishlist
status: Unknown → In Progress
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.