Mageia Bugzilla – Attachment 2911 Details for
Bug 103
do not give choice (or disable) to install category, not present (on selected media)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
compssUsers.patch
compssUsers.patch (text/plain), 3.26 KB, created by
Derek Jennings
on 2012-10-03 21:44:46 CEST
(
hide
)
Description:
compssUsers.patch
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2012-10-03 21:44:46 CEST
Size:
3.26 KB
patch
obsolete
>*** /usr/share/meta-task/compssUsers.pl 2012-07-27 09:51:09.000000000 +0100 >--- compssUsers.pl 2012-09-26 21:37:46.000000000 +0100 >*************** >*** 1,6 **** >--- 1,7 ---- > package tmp::compssUsers; > > use common; >+ use install::pkgs; > > my $low_resources = detect_devices::has_low_resources(); > my $netbook_desktop = detect_devices::is_netbook_nettop(); >*************** >*** 9,23 **** >--- 10,27 ---- > my $powerpack = $meta_class eq 'powerpack'; > my $server = $meta_class eq 'server'; > >+ > my $h = { > N_("Workstation") => > [ >+ if_(install::pkgs::packageByName($::o->{packages}, 'abiword'), > { label => N_("Office Workstation"), > descr => > N_("Office programs: wordprocessors (LibreOffice Writer, Kword), spreadsheets (LibreOffice Calc, Kspread), PDF viewers, etc"), > flags => [ qw(OFFICE SPELLCHECK PIM ARCHIVING ), if_(!$light_desktop, qw(PUBLISHING)) ], > default_selected => 1, > }, >+ ), > if_(!$server, > { label => N_("Game station"), > descr => N_("Amusement programs: arcade, boards, strategy, etc"), >*************** >*** 106,123 **** >--- 110,133 ---- > flags => [ qw(DATABASES DATABASES_SERVER) ], > }, > ) : ( >+ if_(install::pkgs::packageByName($::o->{packages}, 'apache-mpm-prefork'), > { label => N_("Web/FTP"), > descr => N_("Apache, Pro-ftpd"), > flags => [ qw(NETWORKING_WWW_SERVER NETWORKING_FILE_TRANSFER_SERVER) ], > }, >+ ), >+ if_(install::pkgs::packageByName($::o->{packages}, 'postfix'), > { label => N_("Mail"), > descr => N_("Postfix mail server"), > flags => [ qw(NETWORKING_MAIL_SERVER) ], > }, >+ ), >+ if_(install::pkgs::packageByName($::o->{packages}, 'postgresql9.1'), > { label => N_("Database"), > descr => N_("PostgreSQL or MariaDB database server"), > flags => [ qw(DATABASES DATABASES_SERVER) ], > }, >+ ), > { label => N_("Firewall/Router"), > descr => N_("Internet gateway"), > flags => [ qw(NETWORKING_FIREWALLING_SERVER) ], >*************** >*** 131,146 **** >--- 141,167 ---- > > N_("Graphical Environment") => > [ >+ if_(install::pkgs::packageByName($::o->{packages}, 'task-kde4-minimal'), > { label => N_("KDE Workstation"), > descr => N_("The K Desktop Environment, the basic graphical environment with a collection of accompanying tools"), > flags => [ qw(KDE X ACCESSIBILITY THEMES) ], > default_selected => !$light_desktop, > }, >+ ), >+ if_(install::pkgs::packageByName($::o->{packages}, 'task-gnome-minimal'), > { label => N_("GNOME Workstation"), > descr => N_("A graphical environment with user-friendly set of applications and desktop tools"), > flags => [ qw(GNOME X THEMES), if_(!$light_desktop, qw(ACCESSIBILITY)) ], > default_selected => $netbook_desktop, > }, >+ ), >+ if_(install::pkgs::packageByName($::o->{packages}, 'task-xfce-minimal'), >+ { label => N_("XFCE Workstation"), >+ descr => N_("A lighter weight graphical environment with user-friendly set of applications and desktop tools"), >+ flags => [ qw(XFCE X THEMES), if_(!$light_desktop, qw(ACCESSIBILITY)) ], >+ default_selected => $netbook_desktop, >+ }, >+ ), > { label => N_("LXDE Desktop"), > flags => [ qw(LXDE X ACCESSIBILITY) ], > descr => N_("A lightweight & fast graphical environment with user-friendly set of applications and desktop tools"),
*** /usr/share/meta-task/compssUsers.pl 2012-07-27 09:51:09.000000000 +0100 --- compssUsers.pl 2012-09-26 21:37:46.000000000 +0100 *************** *** 1,6 **** --- 1,7 ---- package tmp::compssUsers; use common; + use install::pkgs; my $low_resources = detect_devices::has_low_resources(); my $netbook_desktop = detect_devices::is_netbook_nettop(); *************** *** 9,23 **** --- 10,27 ---- my $powerpack = $meta_class eq 'powerpack'; my $server = $meta_class eq 'server'; + my $h = { N_("Workstation") => [ + if_(install::pkgs::packageByName($::o->{packages}, 'abiword'), { label => N_("Office Workstation"), descr => N_("Office programs: wordprocessors (LibreOffice Writer, Kword), spreadsheets (LibreOffice Calc, Kspread), PDF viewers, etc"), flags => [ qw(OFFICE SPELLCHECK PIM ARCHIVING ), if_(!$light_desktop, qw(PUBLISHING)) ], default_selected => 1, }, + ), if_(!$server, { label => N_("Game station"), descr => N_("Amusement programs: arcade, boards, strategy, etc"), *************** *** 106,123 **** --- 110,133 ---- flags => [ qw(DATABASES DATABASES_SERVER) ], }, ) : ( + if_(install::pkgs::packageByName($::o->{packages}, 'apache-mpm-prefork'), { label => N_("Web/FTP"), descr => N_("Apache, Pro-ftpd"), flags => [ qw(NETWORKING_WWW_SERVER NETWORKING_FILE_TRANSFER_SERVER) ], }, + ), + if_(install::pkgs::packageByName($::o->{packages}, 'postfix'), { label => N_("Mail"), descr => N_("Postfix mail server"), flags => [ qw(NETWORKING_MAIL_SERVER) ], }, + ), + if_(install::pkgs::packageByName($::o->{packages}, 'postgresql9.1'), { label => N_("Database"), descr => N_("PostgreSQL or MariaDB database server"), flags => [ qw(DATABASES DATABASES_SERVER) ], }, + ), { label => N_("Firewall/Router"), descr => N_("Internet gateway"), flags => [ qw(NETWORKING_FIREWALLING_SERVER) ], *************** *** 131,146 **** --- 141,167 ---- N_("Graphical Environment") => [ + if_(install::pkgs::packageByName($::o->{packages}, 'task-kde4-minimal'), { label => N_("KDE Workstation"), descr => N_("The K Desktop Environment, the basic graphical environment with a collection of accompanying tools"), flags => [ qw(KDE X ACCESSIBILITY THEMES) ], default_selected => !$light_desktop, }, + ), + if_(install::pkgs::packageByName($::o->{packages}, 'task-gnome-minimal'), { label => N_("GNOME Workstation"), descr => N_("A graphical environment with user-friendly set of applications and desktop tools"), flags => [ qw(GNOME X THEMES), if_(!$light_desktop, qw(ACCESSIBILITY)) ], default_selected => $netbook_desktop, }, + ), + if_(install::pkgs::packageByName($::o->{packages}, 'task-xfce-minimal'), + { label => N_("XFCE Workstation"), + descr => N_("A lighter weight graphical environment with user-friendly set of applications and desktop tools"), + flags => [ qw(XFCE X THEMES), if_(!$light_desktop, qw(ACCESSIBILITY)) ], + default_selected => $netbook_desktop, + }, + ), { label => N_("LXDE Desktop"), flags => [ qw(LXDE X ACCESSIBILITY) ], descr => N_("A lightweight & fast graphical environment with user-friendly set of applications and desktop tools"),
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 103
:
2911
|
3360
|
3369
|
3370