🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2558

Bug#1136477: cairo-dock uses pidof but does not depend on procps

#2558
From: Gioele Barabucci
Date: Thu, 29 Oct 2026 08:30
47 lines
3660 bytes
On Thu, 14 May 2026 01:25:37 +0200 Gioele Barabucci <gioele@debian.org> 
wrote:
> it appears that cairo-dock uses `pidof` in its testsuite, or that
> at least one of its binary packages uses `pidof` at runtime.
> Historically, `pidof` was provided by the Essential package
> `sysvinit-tools`, making an explicit dependency unnecessary. However
> `pidof` will soon be moved to `procps` and will no longer be part of
> the Essential set.
> 
> Please add an explicit dependency on `procps`:
> 
> * via the `Depends:` field of all binary packages of cairo-dock
>   that use `pidof` at runtime;
> * via the `Build-Depends:` field of cairo-dock, if `pidof` is
>   used in tests run at build-time;
> * via the `Depends:` field of `debian/control/tests`, if `pidof` is
>   used in autopkgtests.
> 
> To prevent any disruption for users of cairo-dock, please add
> this dependency now, before `pidof` is moved from `sysvinit-utils` to
> `procps`. Alternatively, you could remove all uses of `pidof`.
> 
> It is believed that cairo-dock uses `pidof` due to the following
> code snippets:
> 
> ```
> path: cairo-dock_3.5.1-2.1/src/gldit/cairo-dock-file-manager.c
> {
> 	int iPID = -1;
> 	gchar *cCommand = g_strdup_printf ("pidof %s", cProcessName);
> 	gchar *cPID = cairo_dock_launch_command_sync (cCommand);
> ```

Dear cairo-dock maintainer,

pidof is used by the code that implements the public API 
`cairo_dock_fm_monitor_pid`. `cairo_dock_fm_monitor_pid` is not used 
inside cairo-dock itself, but is used by a couple of plugins shipped by 
cairo-dock-plug-ins.

Personally, I would add `Depends: procps` to cairo-dock-core, but adding 
it to the plugins would also be OK, I suppose.

Kind regards,

-- 
Gioele Barabucci
Technical Details
Message-ID: <NTtGh-8Aov-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <MUrbA-4WqP-21@gated-at.bofh.it> <MUrbA-4WqP-21@gated-at.bofh.it> <MUrbA-4WqP-21@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Gioele Barabucci <gioele@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1136477: cairo-dock uses pidof but does not depend on procps
Date: Thu, 29 Oct 2026 09:30:01 +0100
Message-ID: <NTtGh-8Aov-7@gated-at.bofh.it>
References: <MUrbA-4WqP-21@gated-at.bofh.it> <MUrbA-4WqP-21@gated-at.bofh.it> <MUrbA-4WqP-21@gated-at.bofh.it>
X-Original-To: 1136477@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 29 08:23:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Gioele Barabucci <gioele@debian.org>, 1136477@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-cairo-dock-devel@tracker.debian.org
X-Debian-Pr-Message: followup 1136477
X-Debian-Pr-Package: src:cairo-dock
X-Debian-Pr-Source: cairo-dock
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: gioele
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999489
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 47
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 29 Oct 2026 09:21:51 +0100
X-Original-Message-ID: <9125e65f-4b8f-4e39-9357-a1f5f703fec3@debian.org>
X-Original-References: <4dd5b3893aaf93575b075a1ab599d3d3@debian.org> <4dd5b3893aaf93575b075a1ab599d3d3@debian.org> <4dd5b3893aaf93575b075a1ab599d3d3@debian.org>