Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37761749
en ru br
ALT Linux repositórios
S:2.4-alt2
D:2.0.2-alt1

Group :: Arquivamento/Outros
RPM: AcetoneISO2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: AcetoneISO2-2.0.3-no-poweriso-for-non-x86.patch
Download


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
 }
 
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009