environment_information 1.4.124 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +91 -15
- data/doc/README.gen +42 -14
- data/doc/todo/TODO_FOR_THE_ENVIRONMENT_INFORMATION_PROJECT.md +16 -12
- data/lib/environment_information/base/base.rb +483 -99
- data/lib/environment_information/colours/colours.rb +92 -66
- data/lib/environment_information/commandline/commandline.rb +137 -0
- data/lib/environment_information/constants/constants.rb +372 -11
- data/lib/environment_information/project/project.rb +1 -1
- data/lib/environment_information/query/constants.rb +46 -0
- data/lib/environment_information/query/help.rb +88 -0
- data/lib/environment_information/query/menu.rb +487 -0
- data/lib/environment_information/query/misc.rb +2006 -0
- data/lib/environment_information/query/query.rb +245 -0
- data/lib/environment_information/query/reset.rb +202 -0
- data/lib/environment_information/query/run.rb +70 -0
- data/lib/environment_information/requires/require_the_environment_information_project.rb +2 -7
- data/lib/environment_information/requires/require_the_toplevel_methods.rb +1 -3
- data/lib/environment_information/toplevel_methods/toplevel_methods.rb +2258 -0
- data/lib/environment_information/version/version.rb +2 -2
- data/lib/environment_information/www/sinatra_interface.rb +20 -17
- data/lib/environment_information/www/webobject_interface.cgi +6 -7
- data/lib/environment_information/yaml/colours.yml +3 -3
- data/lib/environment_information/yaml/query_to_use_for_all_components.yml +284 -0
- data/lib/environment_information/yaml/{array_tracked_programs.yml → track_these_components.yml} +77 -11
- metadata +18 -60
- data/lib/environment_information/class/class.rb +0 -2580
- data/lib/environment_information/class/colours.rb +0 -282
- data/lib/environment_information/colours/sfancy.rb +0 -19
- data/lib/environment_information/colours/simp.rb +0 -19
- data/lib/environment_information/constants/array_tracked_components.rb +0 -210
- data/lib/environment_information/constants/encoding.rb +0 -21
- data/lib/environment_information/constants/error_line.rb +0 -17
- data/lib/environment_information/constants/file_constants.rb +0 -102
- data/lib/environment_information/constants/misc.rb +0 -86
- data/lib/environment_information/constants/namespace.rb +0 -14
- data/lib/environment_information/constants/newline.rb +0 -16
- data/lib/environment_information/constants/regex.rb +0 -30
- data/lib/environment_information/constants/temp_directory.rb +0 -52
- data/lib/environment_information/misc_components/README.md +0 -3
- data/lib/environment_information/misc_components/cflags.rb +0 -36
- data/lib/environment_information/misc_components/cpuinfo.rb +0 -64
- data/lib/environment_information/misc_components/operating_system.rb +0 -54
- data/lib/environment_information/misc_components/operating_system_bit_type.rb +0 -42
- data/lib/environment_information/misc_components/ram.rb +0 -30
- data/lib/environment_information/misc_components/rubygems_installation_directory.rb +0 -54
- data/lib/environment_information/misc_components/screen_resolution.rb +0 -50
- data/lib/environment_information/queries/README.md +0 -2
- data/lib/environment_information/queries/complex_version.rb +0 -273
- data/lib/environment_information/queries/pkg_config.rb +0 -125
- data/lib/environment_information/queries/simple_version.rb +0 -272
- data/lib/environment_information/requires/require_the_individual_misc_components.rb +0 -30
- data/lib/environment_information/toplevel_methods/autogenerate_all_relevant_methods.rb +0 -153
- data/lib/environment_information/toplevel_methods/cd.rb +0 -16
- data/lib/environment_information/toplevel_methods/e.rb +0 -43
- data/lib/environment_information/toplevel_methods/hash.rb +0 -65
- data/lib/environment_information/toplevel_methods/internet_is_available.rb +0 -30
- data/lib/environment_information/toplevel_methods/is_on_roebe.rb +0 -16
- data/lib/environment_information/toplevel_methods/menu.rb +0 -90
- data/lib/environment_information/toplevel_methods/misc.rb +0 -324
- data/lib/environment_information/toplevel_methods/n_subcommands.rb +0 -31
- data/lib/environment_information/toplevel_methods/prefix_to_use.rb +0 -39
- data/lib/environment_information/toplevel_methods/register_this_component_is_missing.rb +0 -61
- data/lib/environment_information/toplevel_methods/remote_url_of_this_program.rb +0 -45
- data/lib/environment_information/toplevel_methods/replay_from_the_stored_file.rb +0 -84
- data/lib/environment_information/toplevel_methods/return_alias_to.rb +0 -30
- data/lib/environment_information/toplevel_methods/return_pkgconfig_based_programs.rb +0 -28
- data/lib/environment_information/toplevel_methods/return_remote_gtk2_version.rb +0 -54
- data/lib/environment_information/toplevel_methods/return_simple_version_based_programs.rb +0 -28
- data/lib/environment_information/toplevel_methods/return_version_of_this_program.rb +0 -182
- data/lib/environment_information/toplevel_methods/show_all_available_components.rb +0 -192
- data/lib/environment_information/toplevel_methods/write_what_into.rb +0 -24
- data/lib/environment_information/yaml/array_default_programs_on_linux.yml +0 -15
- data/lib/environment_information/yaml/array_lfs_core_programs.yml +0 -37
- data/lib/environment_information/yaml/array_science_cluster.yml +0 -12
- data/lib/environment_information/yaml/array_tracked_non_programs.yml +0 -13
- data/lib/environment_information/yaml/array_tracked_xorg_components.yml +0 -37
- data/lib/environment_information/yaml/query_to_use_for_the_individual_components.yml +0 -284
|
@@ -9,12 +9,12 @@ module EnvironmentInformation
|
|
|
9
9
|
# ========================================================================= #
|
|
10
10
|
# === VERSION
|
|
11
11
|
# ========================================================================= #
|
|
12
|
-
VERSION = '1.
|
|
12
|
+
VERSION = '1.5.5'
|
|
13
13
|
|
|
14
14
|
# ========================================================================= #
|
|
15
15
|
# === LAST_UPDATE
|
|
16
16
|
# ========================================================================= #
|
|
17
|
-
LAST_UPDATE = '
|
|
17
|
+
LAST_UPDATE = '11.04.2024'
|
|
18
18
|
|
|
19
19
|
# ========================================================================= #
|
|
20
20
|
# === URL_TO_THE_DOCUMENTATION
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/ruby -w
|
|
2
2
|
# Encoding: UTF-8
|
|
3
3
|
# frozen_string_literal: true
|
|
4
|
-
#
|
|
4
|
+
# ============================================================================ #
|
|
5
5
|
# === EnvironmentInformation::Sinatra
|
|
6
|
-
#
|
|
6
|
+
# ============================================================================ #
|
|
7
7
|
# require 'environment_information/www/sinatra_interface.rb'
|
|
8
|
-
#
|
|
8
|
+
# ============================================================================ #
|
|
9
|
+
module EnvironmentInformation
|
|
10
|
+
|
|
9
11
|
require 'sinatra/base.rb'
|
|
10
|
-
require 'beautiful_url'
|
|
11
12
|
require 'environment_information/requires/require_the_environment_information_project.rb'
|
|
12
13
|
|
|
13
|
-
module EnvironmentInformation
|
|
14
|
-
|
|
15
14
|
class Sinatra < Sinatra::Base
|
|
16
15
|
|
|
16
|
+
require 'beautiful_url'
|
|
17
|
+
|
|
18
|
+
require 'colours'
|
|
17
19
|
include Colours
|
|
18
20
|
include Colours::E
|
|
21
|
+
|
|
19
22
|
begin
|
|
20
23
|
require 'html_tags'
|
|
21
24
|
include HtmlTags::BaseModule
|
|
@@ -80,10 +83,10 @@ class Sinatra < Sinatra::Base
|
|
|
80
83
|
# This is the root of our web-application.
|
|
81
84
|
# ========================================================================= #
|
|
82
85
|
get('/') {
|
|
83
|
-
#
|
|
86
|
+
# ======================================================================== #
|
|
84
87
|
# We will initialize the main Hash next, that is kept in
|
|
85
88
|
# EnvironmentInformation.
|
|
86
|
-
#
|
|
89
|
+
# ======================================================================== #
|
|
87
90
|
::EnvironmentInformation.build_up_and_return_the_main_hash
|
|
88
91
|
inner_content =
|
|
89
92
|
h2('Displaying information about the local computersystem')+
|
|
@@ -100,9 +103,9 @@ class Sinatra < Sinatra::Base
|
|
|
100
103
|
uniform_p_tag('Screen resolution:',
|
|
101
104
|
::EnvironmentInformation.screen_resolution?.to_s)
|
|
102
105
|
inner_content = inner_content.dup
|
|
103
|
-
#
|
|
106
|
+
# ======================================================================== #
|
|
104
107
|
# Next, add the individual components:
|
|
105
|
-
#
|
|
108
|
+
# ======================================================================== #
|
|
106
109
|
%i(
|
|
107
110
|
gcc
|
|
108
111
|
glibc
|
|
@@ -162,9 +165,9 @@ class Sinatra < Sinatra::Base
|
|
|
162
165
|
)
|
|
163
166
|
content = "return_version_of_#{i}".to_s
|
|
164
167
|
content = ::EnvironmentInformation.send(content)
|
|
165
|
-
#
|
|
168
|
+
# ======================================================================== #
|
|
166
169
|
# Next, we grab it from the main Hash.
|
|
167
|
-
#
|
|
170
|
+
# ======================================================================== #
|
|
168
171
|
case i
|
|
169
172
|
when :awk,
|
|
170
173
|
:bison,
|
|
@@ -184,23 +187,23 @@ class Sinatra < Sinatra::Base
|
|
|
184
187
|
:intltool,
|
|
185
188
|
:ruby,
|
|
186
189
|
:rubygems
|
|
187
|
-
i = i.to_s.capitalize
|
|
190
|
+
i = "#{i.to_s.capitalize} Version"
|
|
188
191
|
when :linux_kernel
|
|
189
192
|
i = 'Linux Kernel'
|
|
190
193
|
end
|
|
191
|
-
#
|
|
194
|
+
# ======================================================================== #
|
|
192
195
|
# Finally return the proper <p> tag:
|
|
193
|
-
#
|
|
196
|
+
# ======================================================================== #
|
|
194
197
|
uniform_p_tag(i, content)
|
|
195
198
|
end
|
|
196
199
|
|
|
197
200
|
end
|
|
198
201
|
|
|
199
|
-
#
|
|
202
|
+
# ============================================================================ #
|
|
200
203
|
# === EnvironmentInformation.start_sinatra_interface
|
|
201
204
|
#
|
|
202
205
|
# This method can be used to start the sinatra interface.
|
|
203
|
-
#
|
|
206
|
+
# ============================================================================ #
|
|
204
207
|
def self.start_sinatra_interface
|
|
205
208
|
puts 'Trying to start the sinatra-interface of EnvironmentInformation next.'
|
|
206
209
|
::EnvironmentInformation::Sinatra.run!
|
|
@@ -5,20 +5,19 @@
|
|
|
5
5
|
# This small .cgi file just demonstrates how to use the information
|
|
6
6
|
# from the EnvironmentInformation project in a .cgi page.
|
|
7
7
|
# =========================================================================== #
|
|
8
|
-
# http://localhost/
|
|
8
|
+
# http://localhost/programming/ruby/src/environment_information/lib/environment_information/www/webobject_interface.cgi
|
|
9
9
|
# =========================================================================== #
|
|
10
10
|
require 'cyberweb/autoinclude'
|
|
11
11
|
|
|
12
12
|
use_this_title = 'WebObject interface to EnvironmentInformation'
|
|
13
13
|
|
|
14
|
-
english {
|
|
15
|
-
|
|
16
|
-
fav 'PC/RUBY/RUBY_FAVICON.png'
|
|
14
|
+
english(use_this_title) {
|
|
15
|
+
ruby_favicon
|
|
17
16
|
body_css_class 's4px padt2px marpad2px VERDANAs'
|
|
18
17
|
body_css_style 'background-color: #d3d2d1;'
|
|
19
|
-
|
|
18
|
+
default_font_size
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
preferred_width('mar0px') {
|
|
22
21
|
h1 sg(:buero_klammer, '','drag_buero_klammer')+
|
|
23
22
|
use_this_title
|
|
24
23
|
# ========================================================================= #
|
|
@@ -26,4 +25,4 @@ doc('mar0px') {
|
|
|
26
25
|
# This is actually built into WebObject since as of February 2020.
|
|
27
26
|
# ========================================================================= #
|
|
28
27
|
Cyberweb.display_information_about_the_environment
|
|
29
|
-
}}
|
|
28
|
+
}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
left_side: forestgreen
|
|
2
|
-
right_side: steelblue
|
|
3
|
-
program_not_found: lightslategrey
|
|
1
|
+
left_side: olivedrab # forestgreen
|
|
2
|
+
right_side: steelblue # steelblue
|
|
3
|
+
program_not_found: royalblue # lightslategrey
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
# =========================================================================== #
|
|
2
|
+
# === query_to_use_for_all_components.yml
|
|
3
|
+
#
|
|
4
|
+
# This file contains the specific command that is to be used for every
|
|
5
|
+
# individual component registered in the EnvironmentInformation
|
|
6
|
+
# project.
|
|
7
|
+
#
|
|
8
|
+
# The two main variants are :pkgconfig and :version. :pkgconfig means
|
|
9
|
+
# that we will use pkg-config .pc files to query the version at hand.
|
|
10
|
+
# :version means that we will use the --version commandline flag.
|
|
11
|
+
#
|
|
12
|
+
# For anything else, we need a special ad-hoc solution, or just
|
|
13
|
+
# embed the command to run on the very right hand side, in this
|
|
14
|
+
# file here.
|
|
15
|
+
#
|
|
16
|
+
# Entries that are e. g. custom_boost imply a special solution in
|
|
17
|
+
# the .rb file that does the version-check, as no trivial way
|
|
18
|
+
# to query the version exists otherwise.
|
|
19
|
+
#
|
|
20
|
+
# Note that entries found here may be accessible via some toplevel
|
|
21
|
+
# code, such as EnvironmentInformation.return_version_of_bash()
|
|
22
|
+
# and similar variants.
|
|
23
|
+
# =========================================================================== #
|
|
24
|
+
adwaitaicontheme: pkg-config --modversion adwaita-icon-theme
|
|
25
|
+
atk: pkgconfig
|
|
26
|
+
automake: version
|
|
27
|
+
binutils: ld -v
|
|
28
|
+
babl: pkgconfig
|
|
29
|
+
bash: version
|
|
30
|
+
bison: version
|
|
31
|
+
boost: custom_boost
|
|
32
|
+
bubblewrap: bwrap --version
|
|
33
|
+
busybox: custom_busybox
|
|
34
|
+
bzip2: bzcat --help # bzip2 -V # bzip2recover --version
|
|
35
|
+
cairo: pkgconfig
|
|
36
|
+
cares: pkg-config --modversion libcares
|
|
37
|
+
ccache: version
|
|
38
|
+
check: pkgconfig
|
|
39
|
+
clang: version
|
|
40
|
+
clutter: pkg-config --modversion clutter-1.0
|
|
41
|
+
cmake: version
|
|
42
|
+
colord: pkgconfig
|
|
43
|
+
coreutils: stat --version
|
|
44
|
+
cryptsetup: pkg-config --modversion libcryptsetup
|
|
45
|
+
curl: pkg-config --modversion libcurl
|
|
46
|
+
dbus: pkg-config --modversion dbus-1
|
|
47
|
+
dhcpcd: version
|
|
48
|
+
diffutils: cmp --version
|
|
49
|
+
djvulibre: pkg-config --modversion ddjvuapi
|
|
50
|
+
doubleconversion: special_entry_for_doubleconversion
|
|
51
|
+
duktape: pkgconfig
|
|
52
|
+
elfutils: pkg-config --modversion libelf
|
|
53
|
+
emacs: version
|
|
54
|
+
enchant: pkg-config --modversion enchant-2
|
|
55
|
+
ethtool: version
|
|
56
|
+
eudev: pkg-config --modversion libudev
|
|
57
|
+
evince: pkg-config --modversion evince-view-3.0
|
|
58
|
+
exempi: pkg-config --modversion exempi-2.0
|
|
59
|
+
expat: pkgconfig
|
|
60
|
+
ffmpeg: ffmpeg -version
|
|
61
|
+
fftw: pkg-config --modversion fftw3
|
|
62
|
+
file: version
|
|
63
|
+
findutils: find --version
|
|
64
|
+
flac: pkgconfig
|
|
65
|
+
flatpak: version
|
|
66
|
+
flex: version
|
|
67
|
+
fluidsynth: pkgconfig
|
|
68
|
+
fontconfig: pkgconfig
|
|
69
|
+
freeipmi: pkg-config --modversion libfreeipmi
|
|
70
|
+
freetype: pkg-config --modversion freetype2
|
|
71
|
+
fribidi: pkgconfig
|
|
72
|
+
fuse: pkg-config --modversion fuse3
|
|
73
|
+
gawk: version
|
|
74
|
+
gc: pkg-config --modversion bdw-gc
|
|
75
|
+
gcc: version
|
|
76
|
+
gcr: pkg-config --modversion gcr-3
|
|
77
|
+
gdb: gdbserver --version
|
|
78
|
+
gdkpixbuf: pkg-config --modversion gdk-pixbuf-2.0
|
|
79
|
+
gegl: pkg-config --modversion gegl-0.4
|
|
80
|
+
geocodeglib: pkg-config --modversion geocode-glib-1.0
|
|
81
|
+
gettext: version
|
|
82
|
+
ghostscript: gs --version
|
|
83
|
+
git: version
|
|
84
|
+
gimp: version
|
|
85
|
+
gjs: pkg-config --modversion gjs-1.0
|
|
86
|
+
glib: pkg-config --modversion glib-2.0
|
|
87
|
+
glibc: ldd --version
|
|
88
|
+
glslang: version
|
|
89
|
+
gmime: pkg-config --modversion gmime-3.0
|
|
90
|
+
gmp: pkgconfig
|
|
91
|
+
gnupg: gpg --version
|
|
92
|
+
gnuplot: version
|
|
93
|
+
gnutls: pkgconfig
|
|
94
|
+
gperf: version
|
|
95
|
+
graphite2: pkg-config --modversion graphite2
|
|
96
|
+
graphviz: dot -V
|
|
97
|
+
grep: version
|
|
98
|
+
groff: version
|
|
99
|
+
gsettingsdesktopschemas: pkg-config --modversion gsettings-desktop-schemas
|
|
100
|
+
gsl: pkgconfig
|
|
101
|
+
gstreamer: pkg-config --modversion gstreamer-1.0
|
|
102
|
+
gstpluginsbase: pkg-config --modversion gstreamer-audio-1.0
|
|
103
|
+
gstpluginsgood: pkg-config --modversion gstreamer-audio-1.0
|
|
104
|
+
gtk2: pkg-config --modversion gtk+-2.0
|
|
105
|
+
gtk3: pkg-config --modversion gtk+-3.0
|
|
106
|
+
guile: pkg-config --modversion guile-3.0
|
|
107
|
+
gupnp: pkg-config --modversion gupnp-1.6
|
|
108
|
+
gzip: version
|
|
109
|
+
harfbuzz: pkgconfig
|
|
110
|
+
ibus: pkg-config --modversion ibus-1.0
|
|
111
|
+
icewm: version
|
|
112
|
+
icu4c: pkg-config --modversion icu-io
|
|
113
|
+
imagemagick: magick --version
|
|
114
|
+
intltool: intltoolize --version
|
|
115
|
+
isl: pkgconfig
|
|
116
|
+
jasper: pkgconfig
|
|
117
|
+
java: java -version
|
|
118
|
+
kde_frameworks: kf5-config --version
|
|
119
|
+
kmod: pkg-config --modversion libkmod
|
|
120
|
+
krb5: pkgconfig
|
|
121
|
+
krita: version
|
|
122
|
+
lftp: version
|
|
123
|
+
libarchive: pkgconfig
|
|
124
|
+
libassuan: pkgconfig
|
|
125
|
+
libbytesize: pkg-config --modversion bytesize
|
|
126
|
+
libdazzle: pkg-config --modversion libdazzle-1.0
|
|
127
|
+
libdrm: pkgconfig
|
|
128
|
+
libepoxy: pkg-config --modversion epoxy
|
|
129
|
+
libevdev: pkgconfig
|
|
130
|
+
libgdata: pkgconfig
|
|
131
|
+
libgee: pkg-config --modversion gee-0.8
|
|
132
|
+
libgpgerror: pkg-config --modversion gpg-error
|
|
133
|
+
libgsf: pkg-config --modversion libgsf-1
|
|
134
|
+
libgtop: pkg-config --modversion libgtop-2.0
|
|
135
|
+
libgusb: pkg-config --modversion gusb
|
|
136
|
+
libhandy: pkg-config --modversion libhandy-1
|
|
137
|
+
lighttpd: short_version
|
|
138
|
+
libical: pkgconfig
|
|
139
|
+
libidn: pkgconfig
|
|
140
|
+
libjpegturbo: pkg-config --modversion libturbojpeg
|
|
141
|
+
libmbim: pkg-config --modversion mbim-glib
|
|
142
|
+
libmicrohttpd: pkgconfig
|
|
143
|
+
libpeas: pkg-config --modversion libpeas-1.0
|
|
144
|
+
libpaper: paper --version
|
|
145
|
+
libpsl: pkgconfig
|
|
146
|
+
libqmi: pkg-config --modversion qmi-glib
|
|
147
|
+
librsvg: pkg-config --modversion librsvg-2.0
|
|
148
|
+
libsamplerate: pkg-config --modversion samplerate
|
|
149
|
+
libseccomp: pkgconfig
|
|
150
|
+
libsecret: pkg-config --modversion libsecret-1
|
|
151
|
+
libsndfile: pkg-config --modversion sndfile
|
|
152
|
+
libtasn1: pkgconfig
|
|
153
|
+
libtool: version
|
|
154
|
+
libunwind: pkgconfig
|
|
155
|
+
libusb: pkg-config --modversion libusb-1.0
|
|
156
|
+
libuv: pkgconfig
|
|
157
|
+
libva: pkgconfig
|
|
158
|
+
libvpx: pkg-config --modversion vpx
|
|
159
|
+
libwebp: pkgconfig
|
|
160
|
+
libwpe: pkg-config --modversion wpe-1.0
|
|
161
|
+
libzip: pkgconfig
|
|
162
|
+
linux: uname -a
|
|
163
|
+
llvm: llvm-config --version
|
|
164
|
+
lynx: version
|
|
165
|
+
m4: version
|
|
166
|
+
make: version
|
|
167
|
+
mc: version
|
|
168
|
+
mlt: pkg-config --modversion mlt++-7
|
|
169
|
+
mozjs: pkg-config --modversion mozjs-115
|
|
170
|
+
mpc: custom_mpc
|
|
171
|
+
mpfr: pkgconfig
|
|
172
|
+
mtools: version
|
|
173
|
+
mutter: pkg-config --modversion libmutter-12
|
|
174
|
+
nasm: version
|
|
175
|
+
ncurses: infocmp -V
|
|
176
|
+
neon: pkgconfig
|
|
177
|
+
nettle: pkgconfig
|
|
178
|
+
nghttp2: pkg-config --modversion libnghttp2
|
|
179
|
+
nginx: nginx -v
|
|
180
|
+
ninja: version
|
|
181
|
+
node: version
|
|
182
|
+
nspr: pkgconfig
|
|
183
|
+
nss: pkgconfig
|
|
184
|
+
openmpi: pkg-config --modversion ompi
|
|
185
|
+
openssl: pkgconfig
|
|
186
|
+
opusfile: pkgconfig
|
|
187
|
+
pango: pkgconfig
|
|
188
|
+
parted: pkg-config --modversion libparted
|
|
189
|
+
patch: version
|
|
190
|
+
patchelf: patchelf --version
|
|
191
|
+
pbbam: pkgconfig
|
|
192
|
+
pcre: pkg-config --modversion libpcre
|
|
193
|
+
pcre2: pkg-config --modversion libpcre2-posix
|
|
194
|
+
perl: version
|
|
195
|
+
php: version
|
|
196
|
+
pipewire: pkg-config --modversion libpipewire-0.3
|
|
197
|
+
pkgconfig: pkg-config --version
|
|
198
|
+
plzip: version
|
|
199
|
+
poppler: pkgconfig
|
|
200
|
+
popt: pkgconfig
|
|
201
|
+
postgresql: pkg-config --modversion libpq
|
|
202
|
+
python: version
|
|
203
|
+
qpdf: pkg-config --modversion libqpdf
|
|
204
|
+
qt: uic --version
|
|
205
|
+
r: pkg-config --modversion libR
|
|
206
|
+
readline: pkgconfig
|
|
207
|
+
re2c: version
|
|
208
|
+
relion: relion_project --version
|
|
209
|
+
rsync: version
|
|
210
|
+
ruby: ruby -v # pkg-config --modversion ruby-2.7
|
|
211
|
+
rubygems: gem --version
|
|
212
|
+
samtools: version
|
|
213
|
+
sed: version
|
|
214
|
+
screen: version
|
|
215
|
+
sharutils: shar --version
|
|
216
|
+
simple-scan: version
|
|
217
|
+
strace: version
|
|
218
|
+
subversion: pkg-config --modversion libsvn_wc
|
|
219
|
+
sysstat: iostat -V # sadf -V
|
|
220
|
+
swig: swig -version
|
|
221
|
+
taglib: pkgconfig
|
|
222
|
+
tar: version
|
|
223
|
+
tesseract: pkgconfig
|
|
224
|
+
texinfo: install-info --version
|
|
225
|
+
tiff: pkg-config --modversion libtiff-4
|
|
226
|
+
tmux: tmux -V
|
|
227
|
+
unbound: pkg-config --modversion libunbound
|
|
228
|
+
v4lutils: pkg-config --modversion libv4l2
|
|
229
|
+
valgrind: version
|
|
230
|
+
vim: version
|
|
231
|
+
vte: pkg-config --modversion vte-2.91
|
|
232
|
+
wavpack: pkgconfig
|
|
233
|
+
weston: pkgconfig
|
|
234
|
+
webkit2gtk: pkg-config --modversion webkit2gtk-4.0
|
|
235
|
+
wget: version
|
|
236
|
+
wireshark: pkgconfig
|
|
237
|
+
xfsprogs: xfs_info -V
|
|
238
|
+
xinput: version
|
|
239
|
+
xterm: xterm -v
|
|
240
|
+
xvid: custom_xvid
|
|
241
|
+
xz: version
|
|
242
|
+
zenity: version
|
|
243
|
+
zlib: pkgconfig
|
|
244
|
+
|
|
245
|
+
# =========================================================================== #
|
|
246
|
+
# === Science
|
|
247
|
+
# Next add the science-related components:
|
|
248
|
+
# =========================================================================== #
|
|
249
|
+
hmmer: hmmpgmd -h
|
|
250
|
+
viennarna: pkg-config --modversion RNAlib2
|
|
251
|
+
|
|
252
|
+
# =========================================================================== #
|
|
253
|
+
# === Xorg-related programs come next
|
|
254
|
+
#
|
|
255
|
+
# Note that xf86dga does not work that well, so it is no longer called
|
|
256
|
+
# or defined as part of the environment_information gem.
|
|
257
|
+
# =========================================================================== #
|
|
258
|
+
libx11: pkg-config --modversion x11
|
|
259
|
+
libxaw3d: pkg-config --modversion xaw3d
|
|
260
|
+
libxau: pkg-config --modversion xau
|
|
261
|
+
libxcb: pkg-config --modversion xcb
|
|
262
|
+
libxcm: pkg-config --modversion xcm
|
|
263
|
+
libxcursor: pkg-config --modversion xcursor
|
|
264
|
+
libxdamage: pkg-config --modversion xdamage
|
|
265
|
+
libxi: pkg-config --modversion xi
|
|
266
|
+
libxkbfile: pkg-config --modversion xkbfile
|
|
267
|
+
libxmu: pkg-config --modversion xmu
|
|
268
|
+
libxpm: pkg-config --modversion xpm
|
|
269
|
+
# libxp: pkg-config --modversion xp # This is no longer used.
|
|
270
|
+
libxpresent: pkg-config --modversion xpresent
|
|
271
|
+
# libxtrap: pkg-config --modversion xtrap # This is no longer used.
|
|
272
|
+
libxtst: pkg-config --modversion xtst
|
|
273
|
+
libxt: pkg-config --modversion xt
|
|
274
|
+
libxv: pkg-config --modversion xv
|
|
275
|
+
libxvmc: pkg-config --modversion xvmc
|
|
276
|
+
libinput: pkgconfig
|
|
277
|
+
randrproto: pkgconfig
|
|
278
|
+
xextproto: pkgconfig
|
|
279
|
+
xf86bigfontproto: pkgconfig
|
|
280
|
+
xf86dgaproto: pkgconfig
|
|
281
|
+
xf86driproto: pkgconfig
|
|
282
|
+
xkbcomp: pkgconfig
|
|
283
|
+
xstdcmap: xstdcmap -version
|
|
284
|
+
xrandr: custom_xrandr
|
data/lib/environment_information/yaml/{array_tracked_programs.yml → track_these_components.yml}
RENAMED
|
@@ -1,19 +1,40 @@
|
|
|
1
1
|
# =========================================================================== #
|
|
2
|
-
#
|
|
2
|
+
# First we will list the tracked non-programs:
|
|
3
|
+
# =========================================================================== #
|
|
4
|
+
- !ruby/symbol cpuinfo
|
|
5
|
+
- !ruby/symbol operating_system
|
|
6
|
+
- !ruby/symbol operating_system_bit_type
|
|
7
|
+
- !ruby/symbol cflags
|
|
8
|
+
- !ruby/symbol ram
|
|
9
|
+
- !ruby/symbol rubygems_installation_directory
|
|
10
|
+
- !ruby/symbol screen_resolution
|
|
11
|
+
|
|
12
|
+
# =========================================================================== #
|
|
13
|
+
# === LFS core programs
|
|
3
14
|
#
|
|
4
|
-
# This
|
|
5
|
-
# are tracked by the
|
|
15
|
+
# This section used to contain an Array of Symbols denoting which programs
|
|
16
|
+
# are tracked by the LFS project.
|
|
6
17
|
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
18
|
+
# This is no longer in effective use, though.
|
|
19
|
+
#
|
|
20
|
+
# Entries used to include:
|
|
21
|
+
#
|
|
22
|
+
# bash, gcc, binutils, bison, busybox,
|
|
23
|
+
# bzip2, coreutils, diffutils, findutils, flex, gawk, grep,
|
|
24
|
+
# gzip, linux, perl, xz.
|
|
9
25
|
#
|
|
10
|
-
# Note that x11-related programs are NOT stored here - so please do
|
|
11
|
-
# not store them in this file, as otherwise ruby will warn about
|
|
12
|
-
# already generated code for this.
|
|
13
|
-
# =========================================================================== #
|
|
14
|
-
# x = YAML.load_file(FILE_ARRAY_TRACKED_PROGRAMS)
|
|
15
26
|
# =========================================================================== #
|
|
16
27
|
|
|
28
|
+
# ============================================================================ #
|
|
29
|
+
# === Regular programs
|
|
30
|
+
#
|
|
31
|
+
# Next come the regular programs.
|
|
32
|
+
#
|
|
33
|
+
# If you wish to add new entries there then please keep them sorted
|
|
34
|
+
# alphabetically - this makes things a bit easier in the long run.
|
|
35
|
+
#
|
|
36
|
+
# Note that x11-related programs are stored below the next Symbosl.
|
|
37
|
+
# ============================================================================ #
|
|
17
38
|
- !ruby/symbol adwaitaicontheme
|
|
18
39
|
- !ruby/symbol atk
|
|
19
40
|
- !ruby/symbol automake
|
|
@@ -34,6 +55,7 @@
|
|
|
34
55
|
- !ruby/symbol cmake
|
|
35
56
|
- !ruby/symbol colord
|
|
36
57
|
- !ruby/symbol coreutils
|
|
58
|
+
- !ruby/symbol cryptsetup
|
|
37
59
|
- !ruby/symbol curl
|
|
38
60
|
- !ruby/symbol dbus
|
|
39
61
|
- !ruby/symbol dhcpcd
|
|
@@ -92,7 +114,7 @@
|
|
|
92
114
|
- !ruby/symbol gsl
|
|
93
115
|
- !ruby/symbol gstreamer
|
|
94
116
|
- !ruby/symbol gstpluginsbase
|
|
95
|
-
|
|
117
|
+
- !ruby/symbol gstpluginsgood
|
|
96
118
|
- !ruby/symbol gtk2
|
|
97
119
|
- !ruby/symbol gtk3
|
|
98
120
|
- !ruby/symbol guile
|
|
@@ -232,4 +254,48 @@
|
|
|
232
254
|
- !ruby/symbol xterm
|
|
233
255
|
- !ruby/symbol xvid
|
|
234
256
|
- !ruby/symbol xz
|
|
257
|
+
- !ruby/symbol zenity
|
|
235
258
|
- !ruby/symbol zlib
|
|
259
|
+
|
|
260
|
+
# =========================================================================== #
|
|
261
|
+
# === Science
|
|
262
|
+
#
|
|
263
|
+
# Applications that have to do with science will follow next:
|
|
264
|
+
# =========================================================================== #
|
|
265
|
+
- !ruby/symbol hmmer
|
|
266
|
+
- !ruby/symbol pbbam
|
|
267
|
+
- !ruby/symbol relion
|
|
268
|
+
- !ruby/symbol samtools
|
|
269
|
+
- !ruby/symbol viennarna
|
|
270
|
+
|
|
271
|
+
# ============================================================================ #
|
|
272
|
+
# Next come xorg-related components
|
|
273
|
+
# ============================================================================ #
|
|
274
|
+
- !ruby/symbol libevdev
|
|
275
|
+
- !ruby/symbol libinput
|
|
276
|
+
- !ruby/symbol libx11
|
|
277
|
+
- !ruby/symbol libxaw3d
|
|
278
|
+
- !ruby/symbol libxau
|
|
279
|
+
- !ruby/symbol libxcb
|
|
280
|
+
- !ruby/symbol libxcm
|
|
281
|
+
- !ruby/symbol libxcursor
|
|
282
|
+
- !ruby/symbol libxdamage
|
|
283
|
+
- !ruby/symbol libxi
|
|
284
|
+
- !ruby/symbol libxkbfile
|
|
285
|
+
- !ruby/symbol libxmu
|
|
286
|
+
- !ruby/symbol libxpm
|
|
287
|
+
# - !ruby/symbol libxp # This one no longer appears to work as of 2023.
|
|
288
|
+
- !ruby/symbol libxpresent
|
|
289
|
+
# - !ruby/symbol libxtrap # This has been deprecated many years ago already.
|
|
290
|
+
- !ruby/symbol libxtst
|
|
291
|
+
- !ruby/symbol libxt
|
|
292
|
+
- !ruby/symbol libxv
|
|
293
|
+
- !ruby/symbol libxvmc
|
|
294
|
+
- !ruby/symbol randrproto
|
|
295
|
+
- !ruby/symbol xextproto
|
|
296
|
+
- !ruby/symbol xkbcomp
|
|
297
|
+
- !ruby/symbol xrandr
|
|
298
|
+
- !ruby/symbol xstdcmap
|
|
299
|
+
- !ruby/symbol xf86bigfontproto
|
|
300
|
+
- !ruby/symbol xf86dgaproto
|
|
301
|
+
- !ruby/symbol xf86driproto
|