Bug#782443: parcimonie: allow to run without dbus

2015-05-05 Thread Jonas Smedegaard
Package: parcimonie
Followup-For: Bug #782443

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am wondering if possible to use parcimonie in a non-X11 environment
- - i.e. without pulling in the (for a console-only system) huge GTK+ libs.

Sounds related to this bug - or should I file separately?

 - Jonas

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJVSMFwAAoJECx8MUbBoAEhfpAQAK7gJutvTRbyZ2QiGJYpifUy
hRsniYvezauJ/R1s0kcA/pxSNHkDxbsmobckovkKo1B0HWKl4MZmo+TR8MqSLiTc
Tu1U6X3YKuN1A6Hy2GkrPaZBNF/uRutoKJ5wzJi0CZqMX/ohhxLHgW3OMmMhLEqh
SVTP7Q4xpvsibV65tUujF+851ptPnWTRPqnneOSRnsFSLOjYyjzt/aaltZavI4FV
RlZuKmn8JVjQtlrPX8DRUkGUhxX6IH8JtAqCTedfMnWB6GCzZry1XH8KgTZwWr2G
Jx9igvVpQL6aFpgU6etZhBInmT7EeVOzLbf4hmRt6PUyMI8p6JtcTAHDM992oCMK
epKWwuERgNePHanCxGr3+UZj/18Llvl5rdavQKfxEsInJCeSjBW2FP4bl2WlRJDY
y6VpAM7wA8ypuUHFId4/vORDLTmPaelORH0Z0nOKkQD76HgDT2Ird+datZcP+cY6
nqgnqdhGCGpSACnfbQO77L/cfs1lwE54tBxCZDtjhSL0w7ecNeUspreIpiQYDnFO
4JxMaIQlgLX1Fpp4Ws90NPCpi2moZ/vyS91mh3fFLlaOKjbBElsCLSaJw8nhwdSb
ZL/2WjhkOjWYB7vBrbmiEz8L6EgNOMIZFVWZfETOUBmpwE04T7ZeG4M1qykIaPTd
rM2y0O1wslHHwXn13w82
=gWQD
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#782443: parcimonie: allow to run without dbus

2015-05-05 Thread intrigeri
Hi Jonas,

Jonas Smedegaard wrote (05 May 2015 13:11:15 GMT) :
 I am wondering if possible to use parcimonie in a non-X11 environment
 - i.e. without pulling in the (for a console-only system) huge GTK+ libs.

There are plenty of hacks that allow one to do that locally, but the
current Debian packaging doesn't allow that.

 Sounds related to this bug - or should I file separately?

Indeed, it is related, but not exactly the same: even once the D-Bus
dependency is removed (which I plan to do), no doubt the dependency
chain will still be too big for some use cases, as you're suggesting.

So, this calls for a dedicated wishlist bug.

[Off-topic, should go on that dedicated bug once it's been filed:

It could be implemented in a few ways:

(a) by splitting the binary package into three (parcimonie-common,
parcimonie-daemon, and parcimonie-applet);

(b) by demoting applet-specific dependencies to Recommends;

(c) by adding a parcimonie-applet metapackage that depends on
parcimonie and on the applet-specific dependencies (but in this
case, parcimonie would need to Recommends: parcimonie-applet for
one Debian release, to make the transition painless -- I'm
assuming that *new* recommends get installed on upgrade by APT,
which I didn't verify).

Help is welcome implementing one of those.]

Cheers,
-- 
intrigeri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#782443: parcimonie: allow to run without dbus

2015-04-15 Thread intrigeri
Control: severity -1 wishlist
Control: tag -1 + upstream

Hi Ximin,

Ximin Luo wrote (12 Apr 2015 11:17:59 GMT) :
 [...] so it would be good to add a --no-dbus option (or something)
 to remove this requirement.

Yes. My plan is to stop using D-Bus altogether, and replace it with
a lighter IPC system. I've no ETA for that yet.

Cheers,
-- 
intrigeri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#782443: parcimonie: allow to run without dbus

2015-04-12 Thread Ximin Luo
Package: parcimonie
Version: 0.8.4-1
Severity: normal

Hi,

$ env -i parcimonie --verbose
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon 
without a $DISPLAY for X11
255

$ env -i DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS parcimonie --verbose
# this works

The fact that this requires dbus, prevents me from running it as a systemd user 
service:

$ cat .config/systemd/user/parcimonie.service 
[Unit]
Description=Parcimonie GPG Keyring Updater

[Service]
ExecStart=/bin/sh -c 'exec /usr/bin/parcimonie --verbose 2 
~/.local/share/parcimonie/main.log'

[Install]
WantedBy=default.target
$ rm .local/share/parcimonie/main.log 
$ touch .local/share/parcimonie/main.log
$ tailf .local/share/parcimonie/main.log  systemctl --user start 
parcimonie.service 
[1] 13465
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon 
without a $DISPLAY for X11

$ systemctl --user status parcimonie.service
● parcimonie.service - Parcimonie GPG Keyring Updater
   Loaded: loaded (/home/infinity0/.config/systemd/user/parcimonie.service; 
disabled)
   Active: failed (Result: exit-code) since Sun 2015-04-12 12:45:29 CEST; 7s ago
  Process: 13467 ExecStart=/bin/sh -c exec /usr/bin/parcimonie --verbose 2 
~/.local/share/parcimonie/main.log (code=exited, status=255)
 Main PID: 13467 (code=exited, status=255)
3

It is probably possible (though I've not tried it) to get this working by 
running a dbus-daemon as a systemd user service, as described in [1].

However, I'm not actually using the parcimonie-applet and have no need for it - 
so it would be good to add a --no-dbus option (or something) to remove this 
requirement.

X

[1] https://wiki.archlinux.org/index.php/Systemd/User

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages parcimonie depends on:
ii  libclone-perl0.37-1+b1
ii  libconfig-general-perl   2.56-1
ii  libfile-homedir-perl 1.00-1
ii  libfile-which-perl   1.09-1
ii  libglib-perl 3:1.305-2
ii  libgnupg-interface-perl  0.50-3
ii  libgtk3-perl 0.018-1
ii  liblist-moreutils-perl   0.33-2+b1
ii  liblocale-gettext-perl   1.05-8+b1
ii  libmoo-perl  1.006001-1
ii  libmoox-late-perl0.015-1
ii  libmoox-options-perl 4.012-1
ii  libnamespace-clean-perl  0.25-1
ii  libnet-dbus-glib-perl0.33.0-1+b4
ii  libnet-dbus-perl 1.0.0-2+b2
ii  libpango-perl1.226-2
ii  libpath-tiny-perl0.058-1
ii  libtime-duration-parse-perl  0.11-1
ii  libtry-tiny-perl 0.22-1
ii  libtype-tiny-perl1.04-1
ii  libtypes-path-tiny-perl  0.005-1
ii  perl 5.20.2-2
ii  perl-modules 5.20.2-2
ii  torsocks 2.0.0-3

Versions of packages parcimonie recommends:
ii  gnupg-curl  1.4.18-7
ii  tor 0.2.5.11-1

parcimonie suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/parcimonie-torified-gpg (from parcimonie package)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org