[Evolution] Bug#783172: evolution-data-server: Split out the GTK depends in their own binary
Sebastien Bacher
seb128 at ubuntu.com
Thu Apr 23 10:14:50 UTC 2015
Package: evolution-data-server
Version: 3.12.9
Severity: wishlist
Dear Maintainer,
Currently evolution-data-server depends on gtk, that's suboptimal for
systems were e-d-s is used without gtk (ubuntu touch being on of those).
GTK is only used for the user-prompter service which is optional/can be
switched out for another implementation so it would be nice to split those
binaries in a new package and let users opt out from installing it if wanted
Suggested change move those files to a new eds-gtk which is a recommends from
e-d-s
diff -Nru evolution-data-server-3.12.11/debian/control evolution-data-server-3.12.11/debian/control
--- evolution-data-server-3.12.11/debian/control 2015-02-23 16:49:58.000000000 +0000
+++ evolution-data-server-3.12.11/debian/control 2015-04-22 17:22:00.000000000 +0100
@@ -67,7 +67,8 @@
${misc:Depends},
evolution-data-server-common (= ${source:Version}),
libcamel-1.2-49 (= ${binary:Version})
-Recommends: evolution-data-server-online-accounts
+Recommends: evolution-data-server-online-accounts,
+ evolution-data-server-gtk
Suggests: evolution,
evolution-data-server-dbg (= ${binary:Version})
Breaks: libecal1.2-7 (<< 2.32),
@@ -82,6 +83,17 @@
The data server, called "Evolution Data Server" is responsible for managing
mail, calendar, addressbook, tasks and memo information.
+Package: evolution-data-server-gtk
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ evolution-data-server (= ${source:Version}),
+Replaces: evolution-data-server (<< 3.12.11-0ubuntu2)
+Breaks: evolution-data-server (<< 3.12.11-0ubuntu2)
+Description: evolution data server prompter's gtk interface
+ The data server, called "Evolution Data Server" is responsible for managing
+ mail, calendar, addressbook, tasks and memo information.
+
Package: evolution-data-server-common
Architecture: all
Depends: ${misc:Depends}
diff -Nru evolution-data-server-3.12.11/debian/evolution-data-server-gtk.install evolution-data-server-3.12.11/debian/evolution-data-server-gtk.install
--- evolution-data-server-3.12.11/debian/evolution-data-server-gtk.install 1970-01-01 01:00:00.000000000 +0100
+++ evolution-data-server-3.12.11/debian/evolution-data-server-gtk.install 2015-04-22 17:27:08.000000000 +0100
@@ -0,0 +1 @@
+usr/lib/evolution-data-server/registry-modules/module-trust-prompt.so
diff -Nru evolution-data-server-3.12.11/debian/evolution-data-server.install evolution-data-server-3.12.11/debian/evolution-data-server.install
--- evolution-data-server-3.12.11/debian/evolution-data-server.install 2015-02-23 16:49:58.000000000 +0000
+++ evolution-data-server-3.12.11/debian/evolution-data-server.install 2015-04-23 10:52:59.000000000 +0100
@@ -7,4 +7,3 @@
usr/lib/evolution-data-server/registry-modules/module-cache-reaper.so
usr/lib/evolution-data-server/registry-modules/module-owncloud-backend.so
usr/lib/evolution-data-server/registry-modules/module-outlook-backend.so
-usr/lib/evolution-data-server/registry-modules/module-trust-prompt.so
diff -Nru evolution-data-server-3.12.11/debian/rules evolution-data-server-3.12.11/debian/rules
--- evolution-data-server-3.12.11/debian/rules 2015-02-23 16:49:58.000000000 +0000
+++ evolution-data-server-3.12.11/debian/rules 2015-04-22 17:27:27.000000000 +0100
@@ -54,5 +54,7 @@
$(CURDIR)/debian/evolution-data-server/usr/lib/evolution/camel*1.2
rm $(CURDIR)/debian/tmp/usr/lib/evolution-data-server/*/*.la
rm $(CURDIR)/debian/tmp/usr/lib/*.la
+ mkdir -p $(CURDIR)/debian/evolution-data-server-gtk/usr/lib/evolution
+ mv $(CURDIR)/debian/evolution-data-server/usr/lib/evolution/evolution-user-prompter $(CURDIR)/debian/evolution-data-server-gtk/usr/lib/evolution/evolution-user-prompter
common-binary-post-install-arch:: list-missing
More information about the Pkg-evolution-maintainers
mailing list