Ticket #222 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Install proper files in obscure build conditions

Reported by: sbrabec Owned by: lennart
Milestone: Avahi 0.6.24 Component: build-system
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 Download (1.0 KB) - added by sbrabec 5 years ago.
avahi-man-selection.patch
avahi-no-gtk-no-interfaces.patch Download (195 bytes) - added by sbrabec 5 years ago.
avahi-no-gtk-no-interfaces.patch
avahi-bookmarks-no-pygtk.patch Download (0.5 KB) - added by sbrabec 5 years ago.
avahi-bookmarks-no-pygtk.patch
avahi-no-gtk-python.patch Download (266 bytes) - added by sbrabec 5 years ago.
avahi-no-gtk-python.patch

Change History

Changed 5 years ago by sbrabec

avahi-man-selection.patch

Changed 5 years ago by sbrabec

avahi-no-gtk-no-interfaces.patch

Changed 5 years ago by sbrabec

avahi-bookmarks-no-pygtk.patch

Changed 5 years ago by sbrabec

avahi-no-gtk-python.patch

Changed 5 years ago 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+

Changed 5 years ago 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

Changed 4 years ago by lennart

Hmm, I am not convinced that asplit would be a good idea. I see the advantages, but this would also have one huge disadvantage: it would multiply the amount of work I have with maintaining Avahi. And quite frankly I'd rather reduce it then increase it further.

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to Avahi 0.6.24

Finally fixed in r7289ee4.

Note: See TracTickets for help on using tickets.