Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37479524
en ru br
Репозитории ALT
S:2.4-alt2
D:2.0.2-alt1
5.1: 2.1.1-alt1
www.altlinux.org/Changes

Группа :: Архивирование/Прочее
Пакет: AcetoneISO2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: AcetoneISO2-2.0.3-no-poweriso-for-non-x86.patch
Скачать


diff -up acetoneiso_2.0.3/src/sources/converter.h.BAD acetoneiso_2.0.3/src/sources/converter.h
--- acetoneiso_2.0.3/sources/converter.h.BAD	2009-04-09 09:50:31.000000000 -0400
+++ acetoneiso_2.0.3/sources/converter.h	2009-04-09 09:51:03.000000000 -0400
@@ -125,6 +125,7 @@ else {
 void acetoneiso::get_poweriso()
 {
 QMessageBox msgBox;
+#if defined(__i386__) || defined(__x86_64__)
 msgBox.setText(tr("Do you want to download Poweriso?\nIf you click yes you accept PowerISO's Freeware(proprietary but gratis) License.\nRemember: if you are running a 64-bit OS, you need ia32-libs package installed and maybe others."));
  msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
  switch (msgBox.exec()) {
@@ -145,6 +146,10 @@ msgBox.setText(tr("Do you want to downlo
      // should never be reached
      break;
  }
+#else
+// Not a poweriso capable architecture
+QMessageBox::information(this, "AcetoneISO",tr("Poweriso is not available for this architecture."));
+#endif
 }
 
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin