Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 19:03:47 -0500 (CDT)
From:      Lawrence "The Dreamer" Chen <beastie@tardisi.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187559: deskutils/parcellite: doesn't work, thinks I'm Linux?
Message-ID:  <201403140003.s2E03lmN080265@zen.lhaven.homeip.net>
Resent-Message-ID: <201403140010.s2E0A0QT023336@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187559
>Category:       ports
>Synopsis:       deskutils/parcellite: doesn't work, thinks I'm Linux?
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 14 00:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Lawrence "The Dreamer" Chen
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
	parcellite not working as expected and seems to be looking for Linux
	/proc?
>How-To-Repeat:
	
	With the previous version:

	% echo "hello world" | parcellite
	Xlib:  extension "RANDR" missing on display ":0".
	% parcellite -c
	Xlib:  extension "RANDR" missing on display ":0".

	(parcellite:75327): GLib-WARNING **: goption.c:2199: ignoring no-arg, optional-arg or filename flags (8) on option of arg-type 0 in entry (null):daemon

	(parcellite:75327): GLib-WARNING **: goption.c:2199: ignoring no-arg, optional-arg or filename flags (8) on option of arg-type 0 in entry (null):no-icon

	(parcellite:75327): GLib-WARNING **: goption.c:2199: ignoring no-arg, optional-arg or filename flags (8) on option of arg-type 0 in entry (null):clipboard

	(parcellite:75327): GLib-WARNING **: goption.c:2199: ignoring no-arg, optional-arg or filename flags (8) on option of arg-type 0 in entry (null):primary
	hello world
	%

	With latest version:

 	% echo "hello world" | parcellite
	Xlib:  extension "RANDR" missing on display ":0.0".
	Unable to open '/proc/75790/environ' for PID 75790
	Unable to access 'XDG_SESSION_COOKIE' for pid 75790
	Unable to open '/proc/75790/environ' for PID 75790
	Unable to access 'XDG_SEAT' for pid 75790
	Unable to open '/proc/75790/environ' for PID 75790
	Unable to access 'DISPLAY' for pid 75790
	tracker
	** (parcellite:75790): WARNING **: Binding '<Ctrl><Alt>H' failed!


	** (parcellite:75790): WARNING **: Binding '<Ctrl><Alt>X' failed!


	** (parcellite:75790): WARNING **: Binding '<Ctrl><Alt>A' failed!

	[command does not return]^C
	% parcellite -c
	Xlib:  extension "RANDR" missing on display ":0.0".
	Unable to open '/proc/75860/environ' for PID 75860
	Unable to access 'XDG_SESSION_COOKIE' for pid 75860
	Unable to open '/proc/75860/environ' for PID 75860
	Unable to access 'XDG_SEAT' for pid 75860
	Unable to open '/proc/75860/environ' for PID 75860
	Unable to access 'DISPLAY' for pid 75860

	tracker
	** (parcellite:75860): WARNING **: Binding '<Ctrl><Alt>H' failed!


	** (parcellite:75860): WARNING **: Binding '<Ctrl><Alt>X' failed!


	** (parcellite:75860): WARNING **: Binding '<Ctrl><Alt>A' failed!

	[command does not return]^C
	%

	Note: "tracker" is what was in my clipboard before running the above.

>Fix:

	

	Probably need to patch the "get_value_from_env()" routine in
	${WRKSRC}/src/utils.c to work on FreeBSD.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403140003.s2E03lmN080265>