Changeset 2877

Show
Ignore:
Timestamp:
10/09/08 08:38:17 (17 months ago)
Author:
kris
Message:

Removed the PCBSD.InstallLangCD.sh script, and associated code from the system installer. With the introduction of KDE 4.1.2, the KDE packages are almost 1/6th the size of them previously, and we will use some of the extra space to have the l10n packages installed by default, allowing the user to "on-the-fly" switch between languages and locales as they see fit.

Location:
pcbsd
Files:
2 removed
4 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/branches/7.0/PCInstall/pcinstall.cpp

    r2810 r2877  
    29662966 
    29672967 
    2968 void PCInstall::slotRunInstallLangCD() 
    2969 { 
    2970     QString tmp; 
    2971      
    2972         // Get the language selected 
    2973       tmp = listBoxLang->currentText(); 
    2974       tmp.remove(0, tmp.find("(") + 1 ); 
    2975       tmp.truncate(tmp.find(")") ); 
    2976      
    2977        textFileProgress->setText(tr("Installing Language Packages...")); 
    2978        textFileProgressUpgrade->setText(tr("Installing Language Packages...")); 
    2979          
    2980        //Setup Process to mount the root partition 
    2981       AddLangFiles = new Q3Process( this ); 
    2982       AddLangFiles->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallLangCD.sh" ); 
    2983       AddLangFiles->addArgument( tmp ); 
    2984        
    2985       connect( AddLangFiles, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3()) ); 
    2986       connect( AddLangFiles, SIGNAL(readyReadStdout()), this, SLOT(readLangInstallSlot() ) ); 
    2987  
    2988          if ( !AddLangFiles->start() ) { 
    2989           QMessageBox::warning( this, "PCBSD Installer", "Failed Starting InstallLangCD", "Retry", "Quit", 0, 0, 1 ); 
    2990         } 
    2991  
    2992 } 
    2993  
    2994  
    29952968void PCInstall::slotRunInstallComponents() 
    29962969{ 
     
    30353008      InstallComponentsProc->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallCD3.sh" ); 
    30363009       
    3037       // connect our slots 
    3038      if ( listBoxLang->currentItem() != 0 ) 
    3039      { 
    3040         connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotRunInstallLangCD() ) ); 
    3041       } else { 
    3042         connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 
    3043       } 
    3044  
     3010       // connect our slots 
     3011      connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 
    30453012      connect( InstallComponentsProc, SIGNAL(readyReadStdout()), this, SLOT(readInstallComponentSlot() ) ); 
    30463013 
  • pcbsd/branches/7.0/PCInstall/pcinstall.h

    r2616 r2877  
    9191    void selectComponentSlot(); 
    9292    void removeComponentSlot(); 
    93     void slotRunInstallLangCD(); 
    9493    void slotRunInstallComponents(); 
    9594    void readInstallComponentSlot(); 
  • pcbsd/trunk/PCInstall/pcinstall.cpp

    r2810 r2877  
    29662966 
    29672967 
    2968 void PCInstall::slotRunInstallLangCD() 
    2969 { 
    2970     QString tmp; 
    2971      
    2972         // Get the language selected 
    2973       tmp = listBoxLang->currentText(); 
    2974       tmp.remove(0, tmp.find("(") + 1 ); 
    2975       tmp.truncate(tmp.find(")") ); 
    2976      
    2977        textFileProgress->setText(tr("Installing Language Packages...")); 
    2978        textFileProgressUpgrade->setText(tr("Installing Language Packages...")); 
    2979          
    2980        //Setup Process to mount the root partition 
    2981       AddLangFiles = new Q3Process( this ); 
    2982       AddLangFiles->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallLangCD.sh" ); 
    2983       AddLangFiles->addArgument( tmp ); 
    2984        
    2985       connect( AddLangFiles, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3()) ); 
    2986       connect( AddLangFiles, SIGNAL(readyReadStdout()), this, SLOT(readLangInstallSlot() ) ); 
    2987  
    2988          if ( !AddLangFiles->start() ) { 
    2989           QMessageBox::warning( this, "PCBSD Installer", "Failed Starting InstallLangCD", "Retry", "Quit", 0, 0, 1 ); 
    2990         } 
    2991  
    2992 } 
    2993  
    2994  
    29952968void PCInstall::slotRunInstallComponents() 
    29962969{ 
     
    30353008      InstallComponentsProc->addArgument( "/usr/local/pcbsd/scripts/PCBSD.InstallCD3.sh" ); 
    30363009       
    3037       // connect our slots 
    3038      if ( listBoxLang->currentItem() != 0 ) 
    3039      { 
    3040         connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotRunInstallLangCD() ) ); 
    3041       } else { 
    3042         connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 
    3043       } 
    3044  
     3010       // connect our slots 
     3011      connect( InstallComponentsProc, SIGNAL(processExited()), this, SLOT(slotFinishedInstallCD3() ) ); 
    30453012      connect( InstallComponentsProc, SIGNAL(readyReadStdout()), this, SLOT(readInstallComponentSlot() ) ); 
    30463013 
  • pcbsd/trunk/PCInstall/pcinstall.h

    r2616 r2877  
    9191    void selectComponentSlot(); 
    9292    void removeComponentSlot(); 
    93     void slotRunInstallLangCD(); 
    9493    void slotRunInstallComponents(); 
    9594    void readInstallComponentSlot();