Ticket #222 (new defect)

Opened 1 month ago

Last modified 2 weeks ago

Install proper files in obscure build conditions

Reported by: sbrabec Assigned to: lennart
Priority: minor Milestone:
Component: build-system Version:
Keywords: Cc:

Description

Attached patches fix list of installed files forr various combinations of switches.

avahi-man-selection.patch: Install only man pages to installed binaries.

avahi-no-gtk-no-interfaces.patch: Do not install glade interfaces file, if no gtk is present.

avahi-bookmarks-no-pygtk.patch: Install avahi bookmarks, even if no pygtk is available.

Note: It is still far from sufficient to build system without avahi -> cups -> gtk -> avahi build cycle without a lot of effort.

Over the time, avahi become core part of system, and dependence on gtk2 is not acceptable.

I would propose to split avahi to several sub-projects. openSUSE currently uses: avahi-core avahi compat libraries (several subpackages) avahi-python avahi-python-gtk avahi-utils avahi-utils-gtk avahi-glib avahi-qt3 avahi-qt4 avahi-mono

Attachments

avahi-man-selection.patch (1.0 kB) - added by sbrabec on 07/18/08 17:21:39.
avahi-man-selection.patch
avahi-no-gtk-no-interfaces.patch (195 bytes) - added by sbrabec on 07/18/08 17:22:10.
avahi-no-gtk-no-interfaces.patch
avahi-bookmarks-no-pygtk.patch (0.5 kB) - added by sbrabec on 07/18/08 17:22:38.
avahi-bookmarks-no-pygtk.patch
avahi-no-gtk-python.patch (266 bytes) - added by sbrabec on 07/18/08 22:03:24.
avahi-no-gtk-python.patch

Change History

07/18/08 17:21:39 changed by sbrabec

  • attachment avahi-man-selection.patch added.

avahi-man-selection.patch

07/18/08 17:22:10 changed by sbrabec

  • attachment avahi-no-gtk-no-interfaces.patch added.

avahi-no-gtk-no-interfaces.patch

07/18/08 17:22:38 changed by sbrabec

  • attachment avahi-bookmarks-no-pygtk.patch added.

avahi-bookmarks-no-pygtk.patch

07/18/08 22:03:24 changed by sbrabec

  • attachment avahi-no-gtk-python.patch added.

avahi-no-gtk-python.patch

07/18/08 22:05:35 changed by sbrabec

avahi-no-gtk-python.patch: compile python module even without gtk. It seems, that most parts of python are not dependent on gtk+

07/21/08 10:48:10 changed by sbrabec

If you will decide to split, here are useful commands:

For creating binding packages with core as a separate and already installed package:

sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am

For creating glib/gobject binding package with core as a separate and already installed package:

sed -i 's:libavahi-glib\.la:@@SKIP LIBAVAHI GLIB@@:g
s:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g
s:@@SKIP LIBAVAHI GLIB@@:libavahi-glib.la:g
' */Makefile.am