DmitryMyadzelets / inxi

Automatically exported from code.google.com/p/inxi
0 stars 0 forks source link

[Request] fix xfce versioning #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. inxi -S

Hi, I was wondering if you could make it so that inxi shows the full version 
info for xfce.

Here's the current output:
System:    Host rarity Kernel 3.6.0-1-ARCH x86_64 (64 bit) Desktop Xfce 4 
Distro Arch Linux

But I'd like something more like this:
System:    Host rarity Kernel 3.6.0-1-ARCH x86_64 (64 bit) Desktop Xfce 4.10 
Distro Arch Linux

I'd recommend you obtain version info by querying xfce-panel (If available.)

"% xfce4-panel --version
xfce4-panel 4.10.0 (Xfce 4.10)

Copyright (c) 2004-2011
    The Xfce development team. All rights reserved.

Please report bugs to <http://bugzilla.xfce.org/>.
"

Original issue reported on code.google.com by dan...@the-beach.co on 2 Oct 2012 at 4:28

GoogleCodeExporter commented 9 years ago
This is not a defect, but does appear to be an arch issue with package naming.

inxi uses this: xfdesktop --version

to get the xfce version, then falls back to the generic 4 if that app was not 
detected.

Check Arch to see if that package has a different name in Arch Linux. Or maybe 
it doesn't exist, we'll find out. I can use xfce4-panel if necessary but I 
prefer to use the same package names to avoid distro specific hacks in inxi, so 
let's find the actual standard arch name used for the desktop if possible. the 
panel can actually have a different version number than core xfce4 slightly, I 
just had that issue on a system.

Original comment by inxi-...@techpatterns.com on 3 Oct 2012 at 5:10

GoogleCodeExporter commented 9 years ago
This is waiting data from bug reporter, as noted above, until then will not be 
fixed.

Original comment by inxi-...@techpatterns.com on 4 Oct 2012 at 1:44

GoogleCodeExporter commented 9 years ago
xfce4-panel --version has been added as a fallback test, though I do not 
understand why it's needed since arch linux has this package:

https://www.archlinux.org/packages/extra/i686/xfdesktop/

but just in case I've added in 1.9.18 the second test.

Original comment by inxi-...@techpatterns.com on 14 Jan 2014 at 12:01