rbt 0.16.13 → 0.16.14

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rbt might be problematic. Click here for more details.

Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/doc/README.gen +1 -1
  4. data/lib/rbt/actions/individual_actions/create_app_dir_skeleton/create_app_dir_skeleton.rb +1 -1
  5. data/lib/rbt/actions/individual_actions/installer/aggregate.rb +3 -86
  6. data/lib/rbt/actions/individual_actions/software_manager/extract_related_code.rb +26 -9
  7. data/lib/rbt/actions/individual_actions/software_manager/logic_related_code.rb +50 -73
  8. data/lib/rbt/actions/individual_actions/software_manager/menu.rb +94 -94
  9. data/lib/rbt/actions/individual_actions/software_manager/misc.rb +1389 -1445
  10. data/lib/rbt/actions/individual_actions/software_manager/query_related_methods.rb +77 -14
  11. data/lib/rbt/actions/individual_actions/software_manager/reset.rb +7 -7
  12. data/lib/rbt/actions/individual_actions/software_manager/setters.rb +101 -28
  13. data/lib/rbt/version/version.rb +1 -1
  14. data/lib/rbt/yaml/cookbooks/exiv2.yml +1 -0
  15. data/lib/rbt/yaml/cookbooks/glibnetworking.yml +1 -0
  16. data/lib/rbt/yaml/cookbooks/kitinerary.yml +5 -0
  17. data/lib/rbt/yaml/cookbooks/ncurses.yml +1 -2
  18. data/lib/rbt/yaml/cookbooks/wordpress.yml +4 -2
  19. data/lib/rbt/yaml/expanded_cookbooks/cbindgen.yml +16 -13
  20. data/lib/rbt/yaml/expanded_cookbooks/erlang.yml +1 -1
  21. data/lib/rbt/yaml/expanded_cookbooks/exiv2.yml +1 -1
  22. data/lib/rbt/yaml/expanded_cookbooks/gdkpixbuf.yml +2 -2
  23. data/lib/rbt/yaml/expanded_cookbooks/kitinerary.yml +3 -3
  24. data/lib/rbt/yaml/expanded_cookbooks/libmpeg3.yml +2 -1
  25. data/lib/rbt/yaml/expanded_cookbooks/nuvie.yml +1 -1
  26. data/lib/rbt/yaml/expanded_cookbooks/qt.yml +5 -5
  27. data/lib/rbt/yaml/expanded_cookbooks/sendmail.yml +14 -7
  28. data/lib/rbt/yaml/expanded_cookbooks/sharutils.yml +1 -1
  29. data/lib/rbt/yaml/expanded_cookbooks/squashfstools.yml +3 -3
  30. data/lib/rbt/yaml/expanded_cookbooks/wordpress.yml +10 -10
  31. data/lib/rbt/yaml/programs_version/available_programs_versions.md +3 -3
  32. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35235690bbf8442083fabf545236ba3295c12ea5c52c325c82a3807f8df67e51
4
- data.tar.gz: e3e598dc3eb898558155b26abd0ce45b2a424828f1da84d8e706559ce70ac15f
3
+ metadata.gz: 6d68b8e42329fbaeddd1975b0517ed3c6536d129e16d03ef1fbb05de575fa70f
4
+ data.tar.gz: b0d4756fca9cb94a742b298c70e4bc94b5ec8b02667e6ea4752ee84ecf725bfa
5
5
  SHA512:
6
- metadata.gz: c26486d7c7b9798ec1b24abc4833839e3ea77cf252702374ebd1730525037e9713ff11e38d5b18f672939ba7205dda09c1265f05c096d74a2a503462034670b9
7
- data.tar.gz: 11c6044995974aab323c5243c3f8d42e1bb28439baa0520d866b23eb4214e49ed822ba84faf4834e8c281f56f1fb805b93323d9e0872114ae3794f85496976be
6
+ metadata.gz: 7232181835ccc0e708f15f4ed072a39f39284fa7ac67a853190b2072f3ef0298c87aae3faa4082e426122d9253aee1429d07796ba9d571554101956b9d0c5667
7
+ data.tar.gz: 3160f3f569c3228bf5d42032a4028a418a4237797077e72e99b333f2938ffd8f9a776401534a882ed2680ab165a3ae39f74dc6c2636e8e0100120e4335f58273
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![forthebadge](https://forthebadge.com/images/badges/made-with-ruby.svg)](https://www.ruby-lang.org/en/)
6
6
  [![Gem Version](https://badge.fury.io/rb/rbt.svg)](https://badge.fury.io/rb/rbt)
7
7
 
8
- This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">03.04.2024</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">00:37:58</span> o'clock.
8
+ This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">03.04.2024</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">06:07:40</span> o'clock.
9
9
 
10
10
  ## Introduction to the "Ruby Build Tools" Project (RBT)
11
11
 
@@ -110,7 +110,7 @@ long run.
110
110
 
111
111
  Let us now briefly explain how RBT approaches compiling from a source
112
112
  archive: after all that is <b>the main goal for the</b>
113
- <span style="color: darkgreen; font-weight: bold">RBT project?</span></b>.
113
+ <span style="color: darkgreen; font-weight: bold">RBT project</span></b>.
114
114
 
115
115
  Let's take any random remote URL to some tarball archive,
116
116
  such as the <b>.tar.xz file</b> for <b>evince</b> that may
data/doc/README.gen CHANGED
@@ -106,7 +106,7 @@ long run.
106
106
 
107
107
  Let us now briefly explain how RBT approaches compiling from a source
108
108
  archive: after all that is <b>the main goal for the</b>
109
- <span style="color: darkgreen; font-weight: bold">RBT project?</span></b>.
109
+ <span style="color: darkgreen; font-weight: bold">RBT project</span></b>.
110
110
 
111
111
  Let's take any random remote URL to some tarball archive,
112
112
  such as the <b>.tar.xz file</b> for <b>evince</b> that may
@@ -494,7 +494,7 @@ class CreateAppDirSkeleton < RBT::Action # === RBT::Action::CreateAppDirSkeleton
494
494
  def notify_the_user_what_will_be_done
495
495
  opnn; ee sfancy(return_program_name_and_program_version.downcase)
496
496
  if be_verbose?
497
- ee " #{rev}(#{simp('Program name')}: #{sfancy(program_name?)}"\
497
+ ee " #{rev}(#{simp('Program name')}#{rev}: #{sfancy(program_name?)}"\
498
498
  "#{rev} and #{simp('Program Version')}#{rev}: "\
499
499
  "#{sfancy(program_version?)}#{rev})"
500
500
  end
@@ -1,73 +1,16 @@
1
1
  class OBSOLETE
2
2
 
3
- # ========================================================================= #
4
- # === invoke_extracter
5
- #
6
- # Delegate towards class Extracter next.
7
- # ========================================================================= #
8
- def invoke_extracter(
9
- i = program_path?,
10
- extract_to_this_directory = extract_where_to?,
11
- keep_the_old_directory_if_it_exists = false
12
- )
13
-
14
- case extract_to_this_directory
15
- when nil
16
- extract_to_this_directory = will_be_extracted_towards?
17
- @internal_hash[:extract_to_this_directory_as_specified_by_the_user] =
18
- extract_to_this_directory
19
- set_extract_to_this_directory(extract_to_this_directory)
20
- end
21
- yielded = nil
22
- case keep_the_old_directory_if_it_exists # case tag.
23
- # ======================================================================= #
24
- # === :do_keep_the_old_directory_if_it_exists,
25
- # ======================================================================= #
26
- when :do_keep_the_old_directory_if_it_exists,
27
- :keep_the_old_directory_if_it_exists
28
- keep_the_old_directory_if_it_exists = true
29
- end
30
- # ======================================================================= #
31
- # === Handle blocks given to this method next:
32
- # ======================================================================= #
33
- if block_given?
34
- yielded = yield
35
- case yielded
36
- # ===================================================================== #
37
- # === :keep_the_old_directory_if_it_exists
38
- # ===================================================================== #
39
- when :keep_the_old_directory_if_it_exists
40
- keep_the_old_directory_if_it_exists = true
41
- else
42
- # =================================================================== #
43
- # === Handle Hashes next
44
- # =================================================================== #
45
- if yielded.is_a? Hash
46
- # ================================================================= #
47
- # === :append_to_the_commandline
48
- # ================================================================= #
49
- if yielded.has_key? :append_to_the_commandline
50
- append_to_the_commandline << yielded[:append_to_the_commandline]
51
- end
52
- end
53
- end
54
- end
55
- unless skip_extracting?
56
- case extract_to_this_directory
57
- # ===================================================================== #
58
- # === :default
59
- # ===================================================================== #
60
- when :default
61
- extract_to_this_directory = will_be_extracted_towards?
62
- end
3
+ def invoke_extracter
63
4
  # ===================================================================== #
64
5
  # Remove the extracted directory if it exists next. This will,
65
6
  # however had, NOT be done if we extract to another target
66
7
  # directory, such as when issuing a command like
67
8
  # "ry htop --extract-to=/opt/test".
9
+ #^^^^ this must be ported still.
68
10
  # ===================================================================== #
69
11
  # possibly_existing_old_extracted_archive = cookbooks_dataset_extracted_towards?
70
12
  # unless possibly_existing_old_extracted_archive.include? extract_to?
13
+
71
14
  # =================================================================== #
72
15
  # In this case we reasonably assume that the user has NOT given a
73
16
  # --extract-to value.
@@ -81,32 +24,6 @@ class OBSOLETE
81
24
  @internal_hash[:extract_to_this_directory_as_specified_by_the_user]
82
25
  _ = @internal_hash[:extract_to_this_directory_as_specified_by_the_user]
83
26
  end
84
- unless (_.squeeze('/').strip == '/') # Prevent erroneous removal of /.
85
- if File.directory?(_)
86
- _ = _.dup if _.frozen?
87
- if (_ == rbt_log_dir?)
88
- opnerror 'A problem was encountered, but this should never happen.'
89
- opnerror 'RBT::Action::SoftwareManager tried to remove the base directory at '+
90
- sdir(rbt_log_dir?)
91
- opnerror 'which was the same as the passed directory `'+sdir(_)+'`.'
92
- e
93
- opnerror 'Something must be wrong in the information-chain, such as a'
94
- opnerror 'faulty .yml file. Please review the information shown above'
95
- opnerror 'and make sure that the used .yml file is correct.'
96
- e
97
- exit_program { :exit_no_matter_what }
98
- else
99
- _.strip!
100
- _.squeeze!('/')
101
- # =========================================================== #
102
- # Notify the user that we will remove the old directory next.
103
- # =========================================================== #
104
- notify_the_user_that_this_old_directory_will_be_removed_next(_)
105
- remove_directory(_)
106
- end
107
- end
108
- end
109
- end
110
27
  # end
111
28
  end
112
29
  end
@@ -24,10 +24,27 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
24
24
  def extract_what_to(
25
25
  local_path = cookbook_dataset_program_path?,
26
26
  extract_to_this_directory = extract_where_to?,
27
- shall_we_report_to_the_user_if_the_archive_does_not_exist = true # This should come last.
27
+ shall_we_report_to_the_user_if_the_archive_does_not_exist = true, # This should come last.
28
+ &block
28
29
  )
29
30
  append_to_the_commandline = ''.dup
30
31
  # ======================================================================== #
32
+ # === Handle blocks next
33
+ # ======================================================================== #
34
+ if block_given?
35
+ # ====================================================================== #
36
+ # === Handle Hashes next
37
+ # ====================================================================== #
38
+ if yielded.is_a? Hash
39
+ # ==================================================================== #
40
+ # === :append_to_the_commandline
41
+ # ==================================================================== #
42
+ if yielded.has_key? :append_to_the_commandline
43
+ append_to_the_commandline << yielded[:append_to_the_commandline]
44
+ end
45
+ end
46
+ end
47
+ # ======================================================================== #
31
48
  # === Handle Hashes next
32
49
  # ======================================================================== #
33
50
  if local_path.is_a? Hash
@@ -41,9 +58,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
41
58
  local_path = local_path.to_s # Past this point we need a String.
42
59
  if local_path and File.exist?(local_path)
43
60
  if run_simulation?
44
- # =================================================================== #
61
+ # ====================================================================== #
45
62
  # Here we are in simulation-mode:
46
- # =================================================================== #
63
+ # ====================================================================== #
47
64
  orev "We would normally extract `#{sfile(local_path)}#{rev}` "\
48
65
  "to #{sdir(extract_to_this_directory)} #{rev}next,"
49
66
  orev 'but since we run in simulation-mode, we will not '\
@@ -53,12 +70,12 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
53
70
  _ << " #{rev}(but do so silently)" unless show_output_from_the_extracter_class?
54
71
  _ << '.'
55
72
  orev _
56
- # =================================================================== #
73
+ # ====================================================================== #
57
74
  # Extracting the archive next, via an action - this will be handled
58
75
  # by class Extracter. The second argument is a Hash which will
59
76
  # typically carry a lot of information. This is necessary because
60
77
  # we want to "fine-tune" Extracter at this step.
61
- # =================================================================== #
78
+ # ====================================================================== #
62
79
  action(:extract_what_to, local_path,
63
80
  {
64
81
  extract_to: extract_to_this_directory, # ← Extract to this directory.
@@ -71,10 +88,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
71
88
  append_this_to_the_commandline: append_to_the_commandline,
72
89
  }
73
90
  ) { :be_quiet }
74
- # =================================================================== #
91
+ # ====================================================================== #
75
92
  # Next we will exit if the user told us that he/she is only
76
93
  # interested in extracting the program.
77
- # =================================================================== #
94
+ # ====================================================================== #
78
95
  exit_program if extract_only?
79
96
  return extract_to_this_directory # And return it too, in case downstream code needs it.
80
97
  end
@@ -83,9 +100,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
83
100
  opne swarn('No file could be found at `')+
84
101
  sfile(local_path)+swarn('` - thus,')
85
102
  opne swarn('we can not extract anything.')
86
- # =================================================================== #
103
+ # ====================================================================== #
87
104
  # Also set a specific error, so that we won't continue.
88
- # =================================================================== #
105
+ # ====================================================================== #
89
106
  # error_is 'We can not continue. Has the archive '\
90
107
  # 'been properly extracted?'
91
108
  end
@@ -356,9 +356,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
356
356
  if use_meson_configure_options?
357
357
  configure_options = meson_configure_options?.to_s.strip
358
358
  if configure_options and !configure_options.empty?
359
- # ==================================================================== #
359
+ # ================================================================== #
360
360
  # Append the meson-configure options in this case.
361
- # ==================================================================== #
361
+ # ================================================================== #
362
362
  orev "Making use of the #{royalblue('meson_configure_options')}#{rev}, "\
363
363
  "#{rev}as specified by the corresponding "\
364
364
  "#{slateblue('.yml')} #{rev}file."
@@ -638,22 +638,22 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
638
638
  can_we_continue? #and
639
639
  #!a_problem_has_occurred? and # Also check for no problem.
640
640
  #!an_error_has_occurred?
641
- # ====================================================================== #
641
+ # ==================================================================== #
642
642
  # Build up the command to run next.
643
- # ====================================================================== #
643
+ # ==================================================================== #
644
644
  cmd_to_run = 'ldconfig'.dup
645
- # ====================================================================== #
645
+ # ==================================================================== #
646
646
  # We could be verbose, but it is not that useful, so uncomment it.
647
647
  # cmd_to_run << ' -v'
648
- # ====================================================================== #
648
+ # ==================================================================== #
649
649
  # Since as of July 2011, we will be quieter and ignore whether
650
650
  # ldconfig exists or not.
651
- # ====================================================================== #
651
+ # ==================================================================== #
652
652
  cmd_to_run << " #{SHELL_ERROR_CODE}"
653
- # ====================================================================== #
653
+ # ==================================================================== #
654
654
  # Check for superuser privilege next. ldconfig requires the
655
655
  # superuser.
656
- # ====================================================================== #
656
+ # ==================================================================== #
657
657
  if is_superuser?
658
658
  orev "Now running `#{sfancy(cmd_to_run)}#{rev}`." # We output the ldconfig command variant here.
659
659
  system cmd_to_run
@@ -883,10 +883,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
883
883
  else
884
884
  run_this_command = "#{do_this_action}".dup
885
885
  if run_this_command.start_with?('python') and !run_this_command.include?('/')
886
- # ==================================================================== #
886
+ # ================================================================== #
887
887
  # This is valid for a command line such as:
888
888
  # "python setup.py config"
889
- # ==================================================================== #
889
+ # ================================================================== #
890
890
  splitted = run_this_command.split(' ')
891
891
  splitted[1].prepend(configure_base_dir?.dup)
892
892
  run_this_command = splitted.join(' ')
@@ -1100,10 +1100,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1100
1100
  if porg_is_available?
1101
1101
  use_porg = true
1102
1102
  else
1103
- # ==================================================================== #
1103
+ # ================================================================== #
1104
1104
  # Notify the user that porg is NOT available. We will continue
1105
1105
  # anyway, though.
1106
- # ==================================================================== #
1106
+ # ================================================================== #
1107
1107
  notify_the_user_that_porg_is_not_available
1108
1108
  end
1109
1109
  end
@@ -1330,9 +1330,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1330
1330
  # In this case all is fine.
1331
1331
  else
1332
1332
  compile_this_program = compile_which_program?
1333
- # ==================================================================== #
1333
+ # ================================================================== #
1334
1334
  # Else it is a not-registered binary, so report it.
1335
- # ==================================================================== #
1335
+ # ================================================================== #
1336
1336
  cliner
1337
1337
  opne crimson('The entry ')+steelblue(entry)+
1338
1338
  crimson(' is not a registered')
@@ -1341,10 +1341,10 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1341
1341
  crimson('.')
1342
1342
  opne olivedrab('^^^ Consider changing this. ^^^')
1343
1343
  cliner
1344
- # ==================================================================== #
1344
+ # ================================================================== #
1345
1345
  # Since as of 09.12.2019 we will also store this result into a
1346
1346
  # log file.
1347
- # ==================================================================== #
1347
+ # ================================================================== #
1348
1348
  what = "#{entry} belongs to the program called "\
1349
1349
  "#{rarrow?} #{compile_this_program}"
1350
1350
  into = "#{log_dir?}these_binaries.yml"
@@ -1674,29 +1674,6 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
1674
1674
  end; alias do_show_the_infobox consider_showing_the_flexbox # === do_show_the_infobox
1675
1675
  alias infobox_for consider_showing_the_flexbox # === infobox_for
1676
1676
 
1677
- # ========================================================================== #
1678
- # === consider_removing_the_old_extracted_directory_if_it_exists
1679
- # ========================================================================== #
1680
- def consider_removing_the_old_extracted_directory_if_it_exists(
1681
- i = remove_archive_stuff_from_the_end(will_be_extracted_towards?)
1682
- )
1683
- i = rds(i) if i.include?('//')
1684
- # ======================================================================= #
1685
- # We also check whether the target is or appears to be under the
1686
- # log-directory that RBT uses.
1687
- # ======================================================================= #
1688
- if File.directory?(i) and i.include?(log_dir?) and !(i == '/')
1689
- if i == log_dir? # The log-directory can not be removed via this method.
1690
- orev "Can not remove #{sdir(i)}#{rev}."
1691
- else
1692
- orev "#{steelblue('Removing')}#{rev}"\
1693
- " the old, extracted directory at #{sdir(i)}"\
1694
- "#{rev} next."
1695
- remove_directory(i)
1696
- end
1697
- end
1698
- end
1699
-
1700
1677
  # ======================================================================= #
1701
1678
  # === notify_the_user_as_to_which_program_will_be_compiled_or_installed_next
1702
1679
  #
@@ -2107,7 +2084,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2107
2084
  orev "`#{sfile(to)}#{rev}`,"
2108
2085
  orev 'if the extraction-step worked properly.'
2109
2086
  # ==================================================================== #
2110
- # === (5) Extracting the archive next:
2087
+ # === (5) Extracting the archive next
2088
+ #
2089
+ # We will next extract the source archive to the target directory.
2111
2090
  # ==================================================================== #
2112
2091
  extract_what_to(local_path, File.dirname(to))
2113
2092
  orev lightsalmon('The extraction-step has finished.')
@@ -2242,39 +2221,27 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2242
2221
  orev sdir(build_directory_object?.path?)+rev+'.'
2243
2222
  end
2244
2223
  run_the_equivalent_configure_like_stage_for_this_program(i)
2245
- unless keep_extracted?
2246
- # ==================================================================== #
2247
- # === Remove the extracted archive / directory
2248
- #
2249
- # We have to clean-up again, by removing the extracted archive. This
2250
- # behaviour can be changed by the user, though. Additionally, the
2251
- # individual .yml file may decide for us whether we will remove the
2252
- # extracted directory or whether we will keep that directory. User
2253
- # instructions overrule the settings in the .yml file, though.
2254
- # ==================================================================== #
2255
- consider_removing_the_old_extracted_directory_if_it_exists
2256
- end
2257
2224
  # ==================================================================== #
2258
2225
  # Consider stripping the compiled binaries.
2259
2226
  # ==================================================================== #
2260
2227
  if had_to_be_compiled?
2261
- # ==================================================================== #
2228
+ # ================================================================== #
2262
2229
  # Next check whether we have to strip the compiled binaries or
2263
2230
  # whether we do not have to strip them. The checks are done
2264
2231
  # with the method itself, so we don't have to do any conditional
2265
2232
  # checks here at this point.
2266
- # ==================================================================== #
2233
+ # ================================================================== #
2267
2234
  do_strip_the_compiled_binaries
2268
- # ==================================================================== #
2235
+ # ================================================================== #
2269
2236
  # Next, we will consider creating and populating the subdirectory
2270
2237
  # called "lib/pkgconfig/". This may be necessary for programs that
2271
2238
  # install into "share/pkgconfig/" rather than "lib/pkgconfig".
2272
2239
  #
2273
2240
  # This step has to be done before we call the method
2274
2241
  # consider_symlinking_the_pkgconfig_files().
2275
- # ==================================================================== #
2242
+ # ================================================================== #
2276
2243
  consider_creating_and_populating_the_pkgconfig_directory
2277
- # ==================================================================== #
2244
+ # ================================================================== #
2278
2245
  # If the cookbook file at hand has symlinking_pkgconfig_files
2279
2246
  # enabled, and if the program is compiled, as AppDir, then we
2280
2247
  # will symlink .pc iles into /usr/lib/pkgconfig/, if the
@@ -2282,9 +2249,9 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2282
2249
  #
2283
2250
  # This should actually be part of the post-installation actions,
2284
2251
  # but before running ldconfig.
2285
- # ==================================================================== #
2252
+ # ================================================================== #
2286
2253
  consider_symlinking_the_pkgconfig_files
2287
- # ==================================================================== #
2254
+ # ================================================================== #
2288
2255
  # === Handle empty subdirectories
2289
2256
  #
2290
2257
  # Next we will consider removing empty subdirectories. This has to
@@ -2296,38 +2263,48 @@ class SoftwareManager < RBT::Action # === RBT::Action::SoftwareManager
2296
2263
  # should NOT be removed, even if they are empty - such as temp or
2297
2264
  # logs directories called during the post-installation step. So
2298
2265
  # we have to include that as well.
2299
- # ==================================================================== #
2266
+ # ================================================================== #
2300
2267
  consider_removing_empty_subdirectories
2301
- # ==================================================================== #
2268
+ # ================================================================== #
2302
2269
  # Store the time it took to compile the program at hand.
2303
- # ==================================================================== #
2270
+ # ================================================================== #
2304
2271
  store_time_snapshot
2305
2272
  consider_creating_a_log_file_containing_information_about_the_used_environment_and_time_of_compilation
2306
- # ==================================================================== #
2273
+ # ================================================================== #
2307
2274
  # Report to the user how long it took us to compile/install the program
2308
2275
  # at hand.
2309
- # ==================================================================== #
2276
+ # ================================================================== #
2310
2277
  consider_reporting_the_time_it_took_to_compile_this_program
2311
- # ==================================================================== #
2278
+ # ================================================================== #
2312
2279
  # Next register the configure-line into the configure "database",
2313
2280
  # unless a problem or error has occurred.
2314
- # ==================================================================== #
2281
+ # ================================================================== #
2315
2282
  # if no_problem_was_encountered? and
2316
2283
  # no_error_was_encountered?
2317
- # ==================================================================== #
2284
+ # ================================================================== #
2318
2285
  # Register the configure-line that was used into the "global"
2319
2286
  # configure database next - this should come before we symlink
2320
2287
  # the .pc files:
2321
- # ==================================================================== #
2288
+ # ================================================================== #
2322
2289
  register_configure_line_into_configure_database
2323
- # ==================================================================== #
2290
+ # ================================================================== #
2291
+ # === Remove the extracted archive / directory
2292
+ #
2293
+ # We have to clean-up again, by removing the extracted archive. This
2294
+ # behaviour can be changed by the user, though. Additionally, the
2295
+ # individual .yml file may decide for us whether we will remove the
2296
+ # extracted directory or whether we will keep that directory. User
2297
+ # instructions overrule the settings in the .yml file, though.
2298
+ # ================================================================== #
2299
+ consider_removing_the_extracted_source_archive_directory
2300
+ # ================================================================== #
2324
2301
  # Go back into the starting directory again.
2325
- # ==================================================================== #
2302
+ # ================================================================== #
2326
2303
  consider_entering_the_log_directory
2327
2304
  show_the_everything_is_finished_message
2328
- # ==================================================================== #
2305
+ # ================================================================== #
2329
2306
  # Show success or failure - this should come last.
2330
- # ==================================================================== #
2307
+ # ================================================================== #
2331
2308
  show_success_or_failure_status
2332
2309
  end
2333
2310
  # ==================================================================== #