rcfiles 1.2.46
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rcfiles might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/README.md +559 -0
- data/bin/rcfiles +12 -0
- data/bin/rcfiles_run_it +7 -0
- data/doc/README.gen +516 -0
- data/img/LOGO_FOR_THE_RCFILES_PROJECT.png +0 -0
- data/lib/rcfiles/aggregate_all_rcfiles/aggregate_all_rcfiles.rb +137 -0
- data/lib/rcfiles/class/colours.rb +54 -0
- data/lib/rcfiles/class/initialize.rb +66 -0
- data/lib/rcfiles/class/misc.rb +300 -0
- data/lib/rcfiles/class/rcfiles.rb +31 -0
- data/lib/rcfiles/class/reset.rb +26 -0
- data/lib/rcfiles/class/run.rb +17 -0
- data/lib/rcfiles/colours/colours.rb +111 -0
- data/lib/rcfiles/commandline/commandline.rb +177 -0
- data/lib/rcfiles/constants/constants.rb +253 -0
- data/lib/rcfiles/directory_aliases/README.md +2 -0
- data/lib/rcfiles/directory_aliases/directory_aliases.rb +647 -0
- data/lib/rcfiles/directory_aliases/toplevel_stored_dataset.rb +177 -0
- data/lib/rcfiles/directory_aliases/yaml_file_used_by_class_directory_aliases.rb +67 -0
- data/lib/rcfiles/files/file_aliases.rb +78 -0
- data/lib/rcfiles/files/file_cd_aliases.rb +85 -0
- data/lib/rcfiles/files/file_ls_colours.rb +76 -0
- data/lib/rcfiles/files/file_path_variable.rb +74 -0
- data/lib/rcfiles/files/file_pkgconfig.rb +74 -0
- data/lib/rcfiles/files/file_programs_aliases.rb +68 -0
- data/lib/rcfiles/files/file_ps1.rb +80 -0
- data/lib/rcfiles/files/file_system_settings.rb +66 -0
- data/lib/rcfiles/help/help.rb +46 -0
- data/lib/rcfiles/no_colours.rb +13 -0
- data/lib/rcfiles/project/project.rb +45 -0
- data/lib/rcfiles/rcfiles/README.md +5 -0
- data/lib/rcfiles/rcfiles/aliases_rc +20431 -0
- data/lib/rcfiles/rcfiles/cd_aliases_rc +14980 -0
- data/lib/rcfiles/rcfiles/cflags_rc +9 -0
- data/lib/rcfiles/rcfiles/compile_rc +11 -0
- data/lib/rcfiles/rcfiles/file_information_rc +16 -0
- data/lib/rcfiles/rcfiles/gnome_rc +10 -0
- data/lib/rcfiles/rcfiles/kde_rc +17 -0
- data/lib/rcfiles/rcfiles/kernel_rc +12 -0
- data/lib/rcfiles/rcfiles/lang_rc +9 -0
- data/lib/rcfiles/rcfiles/ldflags_rc +8 -0
- data/lib/rcfiles/rcfiles/ls_colours_rc +9 -0
- data/lib/rcfiles/rcfiles/network_rc +37 -0
- data/lib/rcfiles/rcfiles/path_variable_rc +9 -0
- data/lib/rcfiles/rcfiles/pkgconfig_rc +9 -0
- data/lib/rcfiles/rcfiles/programs_aliases_rc +17571 -0
- data/lib/rcfiles/rcfiles/ps1_rc +9 -0
- data/lib/rcfiles/rcfiles/special_aliases_rc +8 -0
- data/lib/rcfiles/rcfiles/system_rc +13 -0
- data/lib/rcfiles/rcfiles/system_settings_rc +192 -0
- data/lib/rcfiles/rcfiles/term_rc +9 -0
- data/lib/rcfiles/rcfiles/video_rc +24 -0
- data/lib/rcfiles/requires/require_the_directory_aliases.rb +7 -0
- data/lib/rcfiles/requires/require_the_rcfiles_constants.rb +18 -0
- data/lib/rcfiles/requires/require_the_rcfiles_project.rb +67 -0
- data/lib/rcfiles/requires/try_to_require_syck_and_psych.rb +18 -0
- data/lib/rcfiles/toplevel_methods/autogenerate_rc_file_from_this_yaml_file.rb +102 -0
- data/lib/rcfiles/toplevel_methods/change_directory.rb +16 -0
- data/lib/rcfiles/toplevel_methods/convert.rb +118 -0
- data/lib/rcfiles/toplevel_methods/convert_global_variables_in_the_cd_aliases_file_to_a_standalone_yaml_file.rb +50 -0
- data/lib/rcfiles/toplevel_methods/create_windows_cd_aliases_bat_file.rb +51 -0
- data/lib/rcfiles/toplevel_methods/e.rb +16 -0
- data/lib/rcfiles/toplevel_methods/esystem.rb +19 -0
- data/lib/rcfiles/toplevel_methods/generate_yaml_files.rb +148 -0
- data/lib/rcfiles/toplevel_methods/infer.rb +83 -0
- data/lib/rcfiles/toplevel_methods/is_on_roebe.rb +16 -0
- data/lib/rcfiles/toplevel_methods/main_directory.rb +108 -0
- data/lib/rcfiles/toplevel_methods/misc.rb +341 -0
- data/lib/rcfiles/toplevel_methods/n_registered_aliases_in_total.rb +55 -0
- data/lib/rcfiles/toplevel_methods/no_file_exists_at.rb +19 -0
- data/lib/rcfiles/toplevel_methods/notifications.rb +35 -0
- data/lib/rcfiles/toplevel_methods/rds.rb +16 -0
- data/lib/rcfiles/toplevel_methods/remove_newlines.rb +29 -0
- data/lib/rcfiles/toplevel_methods/report.rb +53 -0
- data/lib/rcfiles/toplevel_methods/return_standard_header.rb +36 -0
- data/lib/rcfiles/toplevel_methods/run_it.rb +46 -0
- data/lib/rcfiles/toplevel_methods/save_file.rb +27 -0
- data/lib/rcfiles/toplevel_methods/use_psych_or_syck.rb +50 -0
- data/lib/rcfiles/toplevel_methods/use_quotes.rb +68 -0
- data/lib/rcfiles/toplevel_methods/verbosity.rb +28 -0
- data/lib/rcfiles/version/version.rb +26 -0
- data/lib/rcfiles/yaml/aliases.yml +23069 -0
- data/lib/rcfiles/yaml/cd_aliases.yml +15699 -0
- data/lib/rcfiles/yaml/global_variables/README.md +3 -0
- data/lib/rcfiles/yaml/global_variables/global_variables_extracted_from_the_file_cd_aliases.yml +121 -0
- data/lib/rcfiles/yaml/ls_colours.yml +128 -0
- data/lib/rcfiles/yaml/path_variable.yml +13 -0
- data/lib/rcfiles/yaml/pkgconfig.yml +46 -0
- data/lib/rcfiles/yaml/programs_aliases.yml +19203 -0
- data/lib/rcfiles/yaml/programs_aliases.yml~ +19086 -0
- data/lib/rcfiles/yaml/ps1.yml +82 -0
- data/lib/rcfiles/yaml/store_into_this_directory.yml +1 -0
- data/lib/rcfiles/yaml/system_settings.yml +526 -0
- data/lib/rcfiles/yaml/use_psych_or_syck.yml +1 -0
- data/lib/rcfiles.rb +1 -0
- data/rcfiles.gemspec +57 -0
- data/test/testing_directory_aliases.rb +47 -0
- data/test/testing_using_another_path_to_directory_aliases.rb +17 -0
- data/test/testing_yaml_to_rcfiles.rb +9 -0
- metadata +205 -0
data/lib/rcfiles/yaml/global_variables/global_variables_extracted_from_the_file_cd_aliases.yml
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
---
|
2
|
+
RUBY_SRC: "/home/x/programming/ruby/src"
|
3
|
+
MY_STUDIUM: "/home/x/studium"
|
4
|
+
RUBY_STUDIUM: "/home/x/programming/ruby/src/studium/lib/studium"
|
5
|
+
UNI_WIEN: "/home/x/studium/UNI_WIEN"
|
6
|
+
BOKU_WIEN: "/home/x/studium/BOKU_WIEN"
|
7
|
+
MY_SCIENCE: "/home/x/data/science"
|
8
|
+
VETMED_UNI: "/home/x/studium/VETMED_UNI"
|
9
|
+
SCI: "$SCI"
|
10
|
+
VETMED: "/home/x/studium/VETMED_UNI"
|
11
|
+
TU_WIEN: "/home/x/studium/TU_WIEN"
|
12
|
+
RSRC: "/home/x/programming/ruby/src"
|
13
|
+
MY_DATA: "/home/x/data"
|
14
|
+
MY_PROGRAMS: "/home/Programs"
|
15
|
+
MY_SYSTEM: "/System"
|
16
|
+
ULIB: "$ULIB"
|
17
|
+
MY_SYSINCLUDE: "/usr/include"
|
18
|
+
MY_SYSBIN: "/usr/bin"
|
19
|
+
DEPOT: "/Depot"
|
20
|
+
PC: "/home/x/data/PC"
|
21
|
+
MOUNT: "/Mount"
|
22
|
+
ROEBE_SRC: "/home/x/programming/ruby/src/roebe/lib/roebe"
|
23
|
+
WIN: "$WIN"
|
24
|
+
MY_VIDEO: "/home/x/video/"
|
25
|
+
AUDIO: "/home/x/data/audio"
|
26
|
+
LINUX: "/home/x/programming/ruby/src/roebe/lib/roebe/www/linux"
|
27
|
+
ROOT: "$ROOT"
|
28
|
+
RBIN: "/bin"
|
29
|
+
DEV: "/dev"
|
30
|
+
FF: "$FF"
|
31
|
+
PROGL: "/home/x/programming"
|
32
|
+
TODO_DIRECTORY: "/home/x/data/personal/todo/"
|
33
|
+
MY_PERL: "/home/x/programming/perl/src"
|
34
|
+
MY_SRC: "/home/x/src"
|
35
|
+
CD: "/home/x/src"
|
36
|
+
MY_CDROM: "/Mount/CDROM"
|
37
|
+
BIORUBY: "/home/x/programming/ruby/src/bioroebe/lib/bioroebe"
|
38
|
+
RUBY_COOKBOOKS: "/home/x/programming/ruby/src/cookbooks/lib/cookbooks"
|
39
|
+
COOKBOOK_DIRECTORY: "/home/x/programming/ruby/src/rbt/lib/rbt/yaml/"
|
40
|
+
MY_PROGRAMMING_LANGUAGES: "/home/x/programming"
|
41
|
+
HASKELLDIR: "/home/x/data/PC/HASKELL"
|
42
|
+
MY_IO: "/home/x/programming/IO"
|
43
|
+
MY_RUBY: "/home/x/programming/ruby"
|
44
|
+
MY_TEMP: "/home/Temp"
|
45
|
+
PROGRAMMING: "/home/x/programming"
|
46
|
+
RPG: "/home/x/data/personal/rpg"
|
47
|
+
GEAS: "/home/x/data/rpg/muds/geas"
|
48
|
+
TAI: "/home/x/data/personal/rpg/SARLEM/OSTREICH/TAI"
|
49
|
+
MISC: "$MISC"
|
50
|
+
IMG: "/home/x/data/images"
|
51
|
+
ULOCAL: "/usr/local"
|
52
|
+
RUBY_MUD: "/home/x/programming/ruby/src/mud/lib/mud"
|
53
|
+
CYBERWEB: "/home/x/programming/ruby/src/cyberweb/lib/cyberweb"
|
54
|
+
RUBY_MISC: "/home/x/programming/ruby/src/misc"
|
55
|
+
RUBY_COLOURS: "/home/x/programming/ruby/src/colours/lib/colours"
|
56
|
+
ASCII: "/home/x/programming/ruby/src/ascii_paradise/lib/ascii_paradise"
|
57
|
+
MASTER2: "/home/x/programming/ruby/src/pipe_handler/lib/pipe_handler2"
|
58
|
+
MMEDIA: "/home/x/programming/ruby/src/multimedia_paradise/lib/multimedia_paradise"
|
59
|
+
IRC: "/home/x/data/PC/IRC"
|
60
|
+
USB1: "$USB1"
|
61
|
+
USB2: "$USB2"
|
62
|
+
USB3: "$USB3"
|
63
|
+
USB4: "$USB4"
|
64
|
+
USB5: "$USB5"
|
65
|
+
USB6: "$USB6"
|
66
|
+
USB7: "$USB7"
|
67
|
+
USB8: "$USB8"
|
68
|
+
USB9: "$USB9"
|
69
|
+
RUBY_DIA: "/home/x/programming/ruby/src/diamond_shell/lib/diamond_shell"
|
70
|
+
RUBY_DIA2: "/home/x/programming/ruby/src/diamond_shell/lib/diamond_shell2"
|
71
|
+
MY_SONGS: "/home/x/songs"
|
72
|
+
USERS: "/home"
|
73
|
+
RBT: "/home/x/programming/ruby/src/rbt/lib/rbt"
|
74
|
+
RBT_YAML: "/home/x/programming/ruby/src/rbt/lib/rbt/yaml/"
|
75
|
+
MY_TEMP_DIR: "/home/Temp/"
|
76
|
+
BOKU: "/home/x/studium/BOKU_WIEN"
|
77
|
+
MY_HOME: "/root"
|
78
|
+
UBIN: "/usr/bin"
|
79
|
+
MY_ULIB: "/usr/lib"
|
80
|
+
MY_PACKAGES: "$MY_PACKAGES"
|
81
|
+
PKG_CONFIG_PATH: "/usr/lib/pkgconfig"
|
82
|
+
PROGRAMMING_LANGUAGES: "/home/x/programming"
|
83
|
+
RUBY_STD: "/home/x/programming/ruby/src/std"
|
84
|
+
RUBY_TOOLS: "/home/x/programming/ruby/src/tools"
|
85
|
+
RUBY_QT: "/home/x/programming/ruby/src/GUI/qt"
|
86
|
+
RUBY_GTK: "/home/x/programming/ruby/src/gtk_paradise/lib/gtk_paradise/widgets"
|
87
|
+
GOBOLINUX: "$GOBOLINUX"
|
88
|
+
RUBY_FOX: "/home/x/programming/ruby/src/GUI/fox"
|
89
|
+
USR: "/usr"
|
90
|
+
MY_FILES: "/System# /System/Files"
|
91
|
+
KDEDIR: "$KDEDIR"
|
92
|
+
LINUX_YAML: "/home/x/programming/ruby/src/roebe/lib/roebe/www/linux/yaml"
|
93
|
+
USR_INCLUDE: "/usr/include"
|
94
|
+
MY_RUBY_VERSION: 2.7.0
|
95
|
+
RUBY_SYS: "/home/x/programming/ruby/src/sys"
|
96
|
+
CRYSTAL_SRC: "/home/x/programming/crystal/src"
|
97
|
+
SYS: "/System"
|
98
|
+
MY_FF_PROFILE_NAME: "$MY_FF_PROFILE_NAME"
|
99
|
+
FH: "$FH"
|
100
|
+
FH_BIOENGINEERING: "$FH_BIOENGINEERING"
|
101
|
+
P2PHOME: "/home/Programs2PHOME"
|
102
|
+
P2PDATA: "/home/Programs2PDATA"
|
103
|
+
FESTPLATTE2: "$FESTPLATTE2"
|
104
|
+
FESTPLATTE1: "$FESTPLATTE1"
|
105
|
+
LFS: "/Depot/Chroot"
|
106
|
+
USERS_X: "/home/x"
|
107
|
+
MY_LINUX: "/home/x/programming/ruby/src/roebe/lib/roebe/www/linux"
|
108
|
+
RUBY_WWW: "/home/x/programming/ruby/src/WWW"
|
109
|
+
RUBY_BIOROEBE: "/home/x/programming/ruby/src/bioroebe/lib/bioroebe"
|
110
|
+
MEDUNI_WIEN: "/home/x/studium/MEDUNI_WIEN"
|
111
|
+
MY_GAMES: "/home/x/data/games"
|
112
|
+
MUD: "/home/x/data/rpg/muds"
|
113
|
+
MAIN_WORK: "/home/x/programming/ruby/src/pdf_paradise/lib/pdf_paradise"
|
114
|
+
EMENU: "/home/x/programming/ruby/src/bioroebe/lib/bioroebe/electron_microscopy/"
|
115
|
+
PYTHON_SRC: "/home/x/programming/python/src"
|
116
|
+
MY_VIDEOS: "/Depot/Video"
|
117
|
+
MY_BOOKS: "/home/x/books"
|
118
|
+
MUDS: "/home/x/data/rpg/muds"
|
119
|
+
IMG_RPG: "/home/x/data/images/RPG"
|
120
|
+
MY_SCRIPTS: "/home/x/programming/ruby/src/roebe/lib/roebe/www/linux/SHELL/SCRIPTS"
|
121
|
+
VALHERU: "/home/x/data/personal/valheru/"
|
@@ -0,0 +1,128 @@
|
|
1
|
+
---
|
2
|
+
# ========================================================================== #
|
3
|
+
# The LS_COLORS variable / Die LS_COLORS Variable
|
4
|
+
#
|
5
|
+
# Also known as "dircolours".
|
6
|
+
# ========================================================================== #
|
7
|
+
# The code for LS_COLORS is as follows:
|
8
|
+
#
|
9
|
+
# bd Block device (a buffered, special file)
|
10
|
+
# cd Character device (unbuffered special file)
|
11
|
+
# di Directory
|
12
|
+
# ec End code
|
13
|
+
# ex Executable file (mit x set in Permissions)
|
14
|
+
# fi Regular File - die meisten Dateien
|
15
|
+
# lc Left code
|
16
|
+
# ln Symbolic link. If you set this to 'target' instead of a
|
17
|
+
# numerical value, the color is as for the file pointed to.
|
18
|
+
# mi Missing file
|
19
|
+
# no Normal text
|
20
|
+
# or Orphanned symbolic link (Symbolic link pointing to a
|
21
|
+
# non-existent file)
|
22
|
+
# pi Named pipe bzw fifo file
|
23
|
+
# rc Right code,
|
24
|
+
# so Socket file
|
25
|
+
#
|
26
|
+
# ec,lc,rc geben die Escape Sequenzen an, mit denen die Ausgabe erfolgt.
|
27
|
+
#
|
28
|
+
# In addition we have:
|
29
|
+
#
|
30
|
+
# 00 for default colours
|
31
|
+
# 01 for more intense colours/font style (aka bold)
|
32
|
+
# 04 for underline
|
33
|
+
# 05 for blinking text (quite annoying though)
|
34
|
+
#
|
35
|
+
# LS_COLORS is to be separated via ':'. Otherwise, foreground or background
|
36
|
+
# could come first, either way.
|
37
|
+
#
|
38
|
+
# It is recommended to first define foreground, and then background.
|
39
|
+
#
|
40
|
+
# This would look similar to the following table (alphabetical listing):
|
41
|
+
# ========================================================================== #
|
42
|
+
# Foreground-Number Background-number colour
|
43
|
+
#
|
44
|
+
# 30 40 black
|
45
|
+
# 31 41 red
|
46
|
+
# 32 42 green
|
47
|
+
# 33 43 yellow
|
48
|
+
# 34 44 blue
|
49
|
+
# 35 45 magenta
|
50
|
+
# 36 46 cyan
|
51
|
+
# 37 47 white
|
52
|
+
# 48 "pure" black
|
53
|
+
# ========================================================================== #
|
54
|
+
# Generic formula for the above code:
|
55
|
+
#
|
56
|
+
# <ESC>[{default_font_width};{fg};{bg}m
|
57
|
+
#
|
58
|
+
# -> default_font_width can be either 0 or 1.
|
59
|
+
#
|
60
|
+
# Specific examples:
|
61
|
+
# brown on black background is 00;33;40
|
62
|
+
# cyan on black background is 00;36;40
|
63
|
+
#
|
64
|
+
# Usage example:
|
65
|
+
#
|
66
|
+
# echon "\033[1;30;44m TESTING"
|
67
|
+
#
|
68
|
+
# ========================================================================== #
|
69
|
+
|
70
|
+
# ========================================================================== #
|
71
|
+
# ls_colors:
|
72
|
+
#
|
73
|
+
# The next chunk consists a Hash, with key -> value entries.
|
74
|
+
# ========================================================================== #
|
75
|
+
|
76
|
+
"bd": "00;31" # Block special file (red)
|
77
|
+
"ex": "00;32" # Colour for 'normal executables'.
|
78
|
+
"cd": "00;33" # character special file (yellow / gelb)
|
79
|
+
"di": "00;33" # Colour for 'Directories'. (brown)
|
80
|
+
"fi": "00;36" # File (will be teal)
|
81
|
+
"no": "00;37" # This is for regular text. Should be lean non-bold white.
|
82
|
+
"ln": "01;36" # Symlink link.
|
83
|
+
"or": "01;31" # Orphaned symlink.
|
84
|
+
"pi": "01;33" # Fifo file.
|
85
|
+
"so": "01;35" # shared object files. Will be bold magenta.
|
86
|
+
"*.arj": "01;31" #
|
87
|
+
"*.avi": "01;31" #
|
88
|
+
"*.bmp": "01;35"
|
89
|
+
"*.bz2": "01;31"
|
90
|
+
"*.cmd": "01;32"
|
91
|
+
"*.deb": "01;35"
|
92
|
+
"*.desktop": "02;33"
|
93
|
+
"*.exe": "01;32"
|
94
|
+
"*.html": "01;37"
|
95
|
+
"*.doc": "01;37"
|
96
|
+
"*readme": "01;37"
|
97
|
+
"*.Html": "01;37"
|
98
|
+
"*Readme": "01;37"
|
99
|
+
"*.HTML": "01;37"
|
100
|
+
"*.TXT": "01;37"
|
101
|
+
"*.txt": "01;37"
|
102
|
+
"*README": "01;37"
|
103
|
+
"*.dl": "01;37"
|
104
|
+
"*.gif": "01;35"
|
105
|
+
"*.gl": "01;37"
|
106
|
+
"*.gz": "01;32"
|
107
|
+
"*.jpg": "01;35"
|
108
|
+
"*.lzh": "01;31"
|
109
|
+
"*.mpg": "00;33"
|
110
|
+
"*.png": "01;34;48"
|
111
|
+
"*.ppm": "01;35;48"
|
112
|
+
"*.swx": "01;37;48"
|
113
|
+
"*.sxw": "01;38;48"
|
114
|
+
"*.tar": "01;32;48"
|
115
|
+
"*.taz": "01;31;48"
|
116
|
+
"*.tga": "01;35;48"
|
117
|
+
"*.tgz": "01;34;48"
|
118
|
+
"*.tif": "01;35;48"
|
119
|
+
"*.rar": "01;31;48"
|
120
|
+
"*.xbm": "01;35;48"
|
121
|
+
"*.xpm": "01;35;48"
|
122
|
+
"*.z": "01;31"
|
123
|
+
"*.Z": "01;31"
|
124
|
+
"*.zip": "01;31"
|
125
|
+
"*.Doc": "01;34" # bold yellow
|
126
|
+
"*.DOC": "01;34" # bold yellow
|
127
|
+
"*.doc": "01;34" # bold yellow
|
128
|
+
"*.odt": "01;34" # bold yellow
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
- /opt/bin/
|
3
|
+
- /usr/bin/
|
4
|
+
- /usr/sbin/
|
5
|
+
- /bin/
|
6
|
+
- /sbin/
|
7
|
+
- /usr/local/bin/
|
8
|
+
- /opt/qt/bin/
|
9
|
+
- /usr/local/texlive/2019/bin/x86_64-linux/
|
10
|
+
- $HOME/.cargo/bin/
|
11
|
+
- $HOME/.local/bin/
|
12
|
+
# - /home/Programs/Jruby/Current/bin/
|
13
|
+
# - /root/bin/
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# =========================================================================== #
|
2
|
+
# === Pkg-Config variable. PKG TAG, pkg-config tag
|
3
|
+
#
|
4
|
+
# This file is used to "create" the $PKG_CONFIG_PATH variable, in the form
|
5
|
+
# of a rc-file that can be sourced from a shell such as bash or zsh.
|
6
|
+
# =========================================================================== #
|
7
|
+
# We have to differ between two different ENV variables:
|
8
|
+
#
|
9
|
+
# (a) The PKG_CONFIG_PATH environment variable contains a search path
|
10
|
+
# that pkg-config uses when looking for a file describing how to
|
11
|
+
# compile programs using different libraries.
|
12
|
+
#
|
13
|
+
# (b) The PKG_CONFIG enviroment variable on the other hand is just the
|
14
|
+
# pointer to the pkg_config binary file.
|
15
|
+
#
|
16
|
+
# =========================================================================== #
|
17
|
+
# Examples for how to use the PKG_CONFIG_PATH variable in bash:
|
18
|
+
#
|
19
|
+
# export PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
|
20
|
+
# export PKG_CONFIG_PATH="/System/Libraries/pkgconfig"
|
21
|
+
# export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
|
22
|
+
#
|
23
|
+
# =========================================================================== #
|
24
|
+
# The content of the variable can be displayed via:
|
25
|
+
#
|
26
|
+
# echo $PKG_CONFIG_PATH
|
27
|
+
# echo $PKG_CONFIG
|
28
|
+
#
|
29
|
+
# =========================================================================== #
|
30
|
+
# New entries to $PKG_CONFIG should be put by placing a : at the end of a
|
31
|
+
# line. But in this file you can just use an Array, and ruby will append the
|
32
|
+
# ':' when necessary automatically. After all that has been one major
|
33
|
+
# reason for creating this file to begin with.
|
34
|
+
#
|
35
|
+
# Also be aware that the principle is "first come, first serve", so if you
|
36
|
+
# have more than one entry, the first one has priority over the other
|
37
|
+
# entries.
|
38
|
+
# =========================================================================== #
|
39
|
+
# pkgconfig: "/usr/lib/pkgconfig" # This here may conflict.
|
40
|
+
|
41
|
+
pkg_config_path:
|
42
|
+
- /usr/lib/pkgconfig
|
43
|
+
|
44
|
+
# - /System/Libraries/pkgconfig
|
45
|
+
# /usr/local/lib/pkgconfig
|
46
|
+
# /usr/share/pkgconfig
|