Bug#883744: gtk-im-libthai: Please don't depend on gtk2

2017-12-14 Thread Theppitak Karoonboonyanan
On Fri, Dec 15, 2017 at 8:31 AM, Jeremy Bicha  wrote:
> On Thu, Dec 14, 2017 at 3:03 AM, Theppitak Karoonboonyanan
>  wrote:
>> Do you think we should do the same to gtk3-im-libthai?
>
> That's up to you. I think gtk3 is already installed on most Debian
> desktop computers and it will be years before gtk4 will push gtk3 out.

As I can't anticipate side-effects of doing so
(e.g. regarding gtk3 reverse dependencies tracking),
I decide not to touch that part yet.

Uploading it soon, then.

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/



Bug#883744: gtk-im-libthai: Please don't depend on gtk2

2017-12-14 Thread Jeremy Bicha
On Thu, Dec 14, 2017 at 3:03 AM, Theppitak Karoonboonyanan
 wrote:
> Do you think we should do the same to gtk3-im-libthai?

That's up to you. I think gtk3 is already installed on most Debian
desktop computers and it will be years before gtk4 will push gtk3 out.

Thanks,
Jeremy Bicha



Bug#883744: gtk-im-libthai: Please don't depend on gtk2

2017-12-14 Thread Theppitak Karoonboonyanan
Control: tags -1 +pending

On Thu, Dec 7, 2017 at 9:48 AM, Jeremy Bicha  wrote:

> In my next email, I am submitting a patch to drop the gtk2 dependency
> from gtk-im-libthai. I believe that the only thing that will actually
> use gtk-im-libthai is a gtk2 app which will already depend on gtk2.
> This allows gtk-im-libthai to be pre-installed regardless of whether
> gtk2 is installed, making for a better experience when a gtk2 app is
> installed.

Yes, I agree with the condition. Your patch has been applied.
Thank you!

Do you think we should do the same to gtk3-im-libthai?

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/



Bug#883744: gtk-im-libthai: Please don't depend on gtk2

2017-12-06 Thread Jeremy Bicha

From a84e5b144cb0bdaf873d8560c98926a5a7e8d273 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha 
Date: Wed, 6 Dec 2017 21:40:42 -0500
Subject: [PATCH] Don't depend on libgtk2.0-0

so that this package can provide GTK+ 2 support
without requiring that GTK+ 2 be installed

Closes: #883744
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index c62223b..5d27a0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,9 @@ override_dh_makeshlibs:
 # Do not try to make shlibs file.
 # They're loadable modules, not to be linked against.
 
+override_dh_shlibdeps:
+	dh_shlibdeps -- -xlibgtk2.0-0
+
 binary-indep:
 # We have nothing to do.
 
-- 
2.14.1



Bug#883744: gtk-im-libthai: Please don't depend on gtk2

2017-12-06 Thread Jeremy Bicha
Package: gtk-im-libthai
Version: 0.2.1-6
Tags: patch

In my next email, I am submitting a patch to drop the gtk2 dependency
from gtk-im-libthai. I believe that the only thing that will actually
use gtk-im-libthai is a gtk2 app which will already depend on gtk2.
This allows gtk-im-libthai to be pre-installed regardless of whether
gtk2 is installed, making for a better experience when a gtk2 app is
installed.

This is part of a larger effort to not install gtk2 by default. See
https://bugs.debian.org/883440

Thanks,
Jeremy Bicha