mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
New version, new tarball. Fixed new gnome change, they, of course, removed gnome-about
and so version numbers failed. Now first trying gnome-session to get version number. Also, there's a bug in at least gtk detection in opensuse, not sure what it is, they could be using a different syntax for the test: pkg-config --modversion gtk+-3.0 returns no such package on gnome 3.10 installs, but I have no idea what package name to test for there in this case. So leaving gtk version bugs unhandled due to no user information or feedback, if you want it fixed or if it works for your distro, let me know and also if it does not work, tell me the correct commmand, with its output, to get gtk version. That's for inxi -Sx output that is.
This commit is contained in:
parent
8d22723bfb
commit
ec7691fbc9
5
inxi
5
inxi
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### Version: 1.9.16
|
||||
#### Date: 2013-11-05
|
||||
#### Version: 1.9.17
|
||||
#### Date: 2013-12-02
|
||||
#### Patch Number: 00
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -4077,6 +4077,7 @@ get_de_gtk_data()
|
|||
|
||||
# this is a hack, and has to be changed with every toolkit version change
|
||||
toolkit=$( pkg-config --modversion gtk+-4.0 2>/dev/null )
|
||||
# note: opensuse gets null output here, we need the command to get version and output sample
|
||||
if [[ -z $toolkit ]];then
|
||||
toolkit=$( pkg-config --modversion gtk+-3.0 2>/dev/null )
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,29 @@
|
|||
=====================================================================================
|
||||
Version: 1.9.17
|
||||
Patch Version: 00
|
||||
Script Date: 2013-12-02
|
||||
-----------------------------------
|
||||
Changes:
|
||||
-----------------------------------
|
||||
New version, new tarball. Fixed new gnome change, they, of course, removed gnome-about
|
||||
and so version numbers failed. Now first trying gnome-session to get version number.
|
||||
|
||||
Also, there's a bug in at least gtk detection in opensuse, not sure what it is, they could
|
||||
be using a different syntax for the test:
|
||||
pkg-config --modversion gtk+-3.0
|
||||
|
||||
returns no such package on gnome 3.10 installs, but I have no idea what package name to
|
||||
test for there in this case.
|
||||
|
||||
So leaving gtk version bugs unhandled due to no user information or feedback, if you want
|
||||
it fixed or if it works for your distro, let me know and also if it does not work, tell
|
||||
me the correct commmand, with its output, to get gtk version.
|
||||
|
||||
That's for inxi -Sx output that is.
|
||||
|
||||
-----------------------------------
|
||||
-- Harald Hope - Mon, 02 Dec 2013 13:48:35 -0800
|
||||
|
||||
=====================================================================================
|
||||
Version: 1.9.16
|
||||
Patch Version: 00
|
||||
|
|
Loading…
Reference in a new issue