[Bug 1411984] neofetch - a CLI system information tool written in Bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1411984



--- Comment #28 from Kees de Jong <keesdejong+bugs@xxxxxxxxx> ---
(In reply to Robert-André Mauchin from comment #27)
>  - I don't think you should be using Recommends for optional dependencies.
> Just use normal Requires to give all fonctionalities to the user.
> 
> Following https://github.com/dylanaraps/neofetch/wiki/Dependencies, we need:
> 
> Requires:       w3m-img
> Requires:       ImageMagick
> Requires:       feh
> Requires:       scrot
> Requires:       curl
> Requires:       coreutils
> Requires:       xwininfo
> Requires:       xprop
> Requires:       xrandr
> Requires:       bind-utils
> Requires:       pciutils
> 
> The gawk dependencies is only for iOS. xdotool is not necessary, the
> function is already covered by xwininfo + xprop or xwininfo + xdpyinfo
> provided by xorg-x11-utils
> 
>  + Use a simplified Source0:
> 
> Source0:       
> https://github.com/dylanaraps/%{name}/archive/%{version}/%{name}-%{version}.
> tar.gz


Those are listed as optional dependencies. The reason I choose weak
dependencies is because this is package will mostly will be used in a terminal.
Some other functionality need the optional dependencies. So if you're running a
bare install i.e. a server, then you won't be in favor (I guess) to install all
these extra stuff, you won't need on a system without a GUI.





An example on a fresh install of Fedora Server:
# dnf install /tmp/neofetch-3.3.0-1.fc26.noarch.rpm
Last metadata expiration check: 0:09:19 ago on wo 18 okt 2017 16:40:43 CEST.
Dependencies resolved.
======================================================================================================================================================================================
 Package                                          Arch                         
   Version                                               Repository            
                 Size
======================================================================================================================================================================================
Installing:
 neofetch                                         noarch                       
   3.3.0-1.fc26                                          @commandline          
                 95 k
Installing dependencies:
 ImageMagick-libs                                 x86_64                       
   6.9.9.15-1.fc26                                       updates               
                2.2 M
 OpenEXR-libs                                     x86_64                       
   2.2.0-6.fc26                                          fedora                
                628 k
 compat-openssl10                                 x86_64                       
   1:1.0.2j-9.fc26                                       updates               
                1.1 M
 fftw-libs-double                                 x86_64                       
   3.3.5-4.fc26                                          fedora                
                980 k
 gdk-pixbuf2-xlib                                 x86_64                       
   2.36.9-1.fc26                                         updates               
                 50 k
 ghostscript-core                                 x86_64                       
   9.20-10.fc26                                          fedora                
                4.5 M
 ghostscript-fonts                                noarch                       
   5.50-36.fc26                                          fedora                
                328 k
 gpm-libs                                         x86_64                       
   1.20.7-10.fc26                                        fedora                
                 36 k
 graphite2                                        x86_64                       
   1.3.10-1.fc26                                         fedora                
                117 k
 harfbuzz                                         x86_64                       
   1.4.4-1.fc26                                          fedora                
                253 k
 ilmbase                                          x86_64                       
   2.2.0-8.fc26                                          fedora                
                104 k
 jbigkit-libs                                     x86_64                       
   2.1-6.fc26                                            fedora                
                 51 k
 lcms2                                            x86_64                       
   2.8-3.fc26                                            fedora                
                158 k
 libICE                                           x86_64                       
   1.0.9-9.fc26                                          fedora                
                 70 k
 libSM                                            x86_64                       
   1.2.2-5.fc26                                          fedora                
                 42 k
 libXcomposite                                    x86_64                       
   0.4.4-9.fc26                                          fedora                
                 26 k
 libXcursor                                       x86_64                       
   1.1.14-8.fc26                                         fedora                
                 33 k
 libXfont                                         x86_64                       
   1.5.2-2.fc26                                          fedora                
                154 k
 libXft                                           x86_64                       
   2.3.2-5.fc26                                          fedora                
                 63 k
 libXi                                            x86_64                       
   1.7.9-2.fc26                                          fedora                
                 44 k
 libXinerama                                      x86_64                       
   1.1.3-7.fc26                                          fedora                
                 17 k
 libXmu                                           x86_64                       
   1.1.2-5.fc26                                          fedora                
                 74 k
 libXrandr                                        x86_64                       
   1.5.1-2.fc26                                          fedora                
                 30 k
 libXt                                            x86_64                       
   1.1.5-4.fc26                                          fedora                
                179 k
 libXtst                                          x86_64                       
   1.2.3-2.fc26                                          fedora                
                 24 k
 libXv                                            x86_64                       
   1.0.11-2.fc26                                         fedora                
                 21 k
 libXxf86dga                                      x86_64                       
   1.1.4-7.fc26                                          fedora                
                 23 k
 libXxf86misc                                     x86_64                       
   1.0.3-12.fc26                                         fedora                
                 23 k
 libdatrie                                        x86_64                       
   0.2.9-4.fc26                                          fedora                
                 30 k
 libdmx                                           x86_64                       
   1.1.3-7.fc26                                          fedora                
                 19 k
 libfontenc                                       x86_64                       
   1.1.3-4.fc26                                          fedora                
                 34 k
 libjpeg-turbo                                    x86_64                       
   1.5.1-0.fc26                                          fedora                
                153 k
 libmcpp                                          x86_64                       
   2.7.2-17.fc26                                         fedora                
                 78 k
 librsvg2                                         x86_64                       
   2.40.18-1.fc26                                        updates               
                134 k
 libthai                                          x86_64                       
   0.1.25-2.fc26                                         fedora                
                198 k
 libtiff                                          x86_64                       
   4.0.8-1.fc26                                          fedora                
                179 k
 libwebp                                          x86_64                       
   0.6.0-2.fc26                                          fedora                
                259 k
 libwmf-lite                                      x86_64                       
   0.2.8.4-53.fc26                                       updates               
                 72 k
 libxdo                                           x86_64                       
   1:3.20150503.1-3.fc26                                 fedora                
                 39 k
 mcpp                                             x86_64                       
   2.7.2-17.fc26                                         fedora                
                 29 k
 openjpeg2                                        x86_64                       
   2.2.0-3.fc26                                          updates               
                140 k
 pango                                            x86_64                       
   1.40.12-1.fc26                                        updates               
                288 k
 perl                                             x86_64                       
   4:5.24.3-395.fc26                                     updates               
                6.1 M
 perl-Carp                                        noarch                       
   1.40-366.fc26                                         fedora                
                 28 k
 perl-Errno                                       x86_64                       
   1.25-395.fc26                                         updates               
                 69 k
 perl-Exporter                                    noarch                       
   5.72-367.fc26                                         fedora                
                 32 k
 perl-File-Path                                   noarch                       
   2.12-367.fc26                                         fedora                
                 34 k
 perl-IO                                          x86_64                       
   1.36-395.fc26                                         updates               
                134 k
 perl-NKF                                         x86_64                       
   1:2.1.4-4.fc26                                        fedora                
                135 k
 perl-PathTools                                   x86_64                       
   3.63-367.fc26                                         fedora                
                 87 k
 perl-Scalar-List-Utils                           x86_64                       
   3:1.48-1.fc26                                         updates               
                 65 k
 perl-Socket                                      x86_64                       
   4:2.024-2.fc26                                        fedora                
                 55 k
 perl-Text-Tabs+Wrap                              noarch                       
   2013.0523-366.fc26                                    fedora                
                 22 k
 perl-Unicode-Normalize                           x86_64                       
   1.25-366.fc26                                         fedora                
                 79 k
 perl-constant                                    noarch                       
   1.33-368.fc26                                         fedora                
                 23 k
 perl-libs                                        x86_64                       
   4:5.24.3-395.fc26                                     updates               
                1.5 M
 perl-macros                                      x86_64                       
   4:5.24.3-395.fc26                                     updates               
                 65 k
 perl-parent                                      noarch                       
   1:0.236-2.fc26                                        fedora                
                 18 k
 perl-threads                                     x86_64                       
   1:2.16-1.fc26                                         fedora                
                 58 k
 perl-threads-shared                              x86_64                       
   1.57-1.fc26                                           fedora                
                 45 k
 poppler-data                                     noarch                       
   0.4.7-7.fc26                                          fedora                
                2.2 M
 urw-fonts                                        noarch                       
   3:2.4-23.fc26                                         fedora                
                3.0 M
 w3m                                              x86_64                       
   0.5.3-31.git20170102.fc26                             fedora                
                1.0 M
 xorg-x11-font-utils                              x86_64                       
   1:7.5-33.fc26                                         fedora                
                 81 k
Installing weak dependencies:
 ImageMagick                                      x86_64                       
   6.9.9.15-1.fc26                                       updates               
                181 k
 w3m-img                                          x86_64                       
   0.5.3-31.git20170102.fc26                             fedora                
                 37 k
 xdotool                                          x86_64                       
   1:3.20150503.1-3.fc26                                 fedora                
                 52 k
 xorg-x11-server-utils                            x86_64                       
   7.7-21.fc26                                           fedora                
                184 k
 xorg-x11-utils                                   x86_64                       
   7.5-23.fc26                                           updates               
                118 k

Transaction Summary
======================================================================================================================================================================================
Install  70 Packages

Total size: 28 M
Total download size: 28 M
Installed size: 87 M
Is this ok [y/N]:




And now the same package, but then without the weak dependencies:
# dnf --setopt=install_weak_deps=False --best install
/tmp/neofetch-3.3.0-1.fc26.noarch.rpm
Last metadata expiration check: 0:14:00 ago on wo 18 okt 2017 16:40:43 CEST.
Dependencies resolved.
======================================================================================================================================================================================
 Package                                   Arch                                
   Version                                        Repository                   
                 Size
======================================================================================================================================================================================
Installing:
 neofetch                                  noarch                              
   3.3.0-1.fc26                                   @commandline                 
                 95 k

Transaction Summary
======================================================================================================================================================================================
Install  1 Package

Total size: 95 k
Installed size: 255 k
Is this ok [y/N]: 




I will contact the developer to verify this, but from what I've seen by using
this package, those optional dependencies are mostly used for 'power users'.
Which won't apply to a server without a desktop environment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux