mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 15:34:15 +02:00
[aur] enabled by default
This commit is contained in:
@@ -747,7 +747,7 @@ class ArchManager(SoftwareManager):
|
||||
return res
|
||||
|
||||
def is_default_enabled(self) -> bool:
|
||||
return False
|
||||
return True
|
||||
|
||||
def launch(self, pkg: ArchPackage):
|
||||
if pkg.command:
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
gem.arch.label=AUR
|
||||
gem.arch.info=Els paquets AUR són mantinguts per una comunitat d’usuaris independent. No hi ha cap garantia que funcionin o que no danyin el vostre sistema.
|
||||
gem.aur.install.warning=Els paquets AUR són mantinguts per una comunitat d’usuaris independent. No hi ha cap garantia que funcionin o que no danyin el vostre sistema.
|
||||
aur.info.architecture=arquitectura
|
||||
aur.info.architecture.any=qualsevol
|
||||
aur.info.build date=data de compilació
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
gem.arch.label=AUR
|
||||
gem.arch.info=AUR Pakete werden von einer unabhängigen Nutzergemeinschaft geflegt. Es keine Garantie das sie funktionieren oder kein Schaden verursachen.
|
||||
gem.aur.install.warning=AUR Pakete werden von einer unabhängigen Nutzergemeinschaft geflegt. Es keine Garantie das sie funktionieren oder kein Schaden verursachen.
|
||||
arch.install.conflict.popup.title=Konflikt entdeckt
|
||||
arch.install.conflict.popup.body=Die Anwendungen {} können nicht gleichzeitig installiert sein. Du musst eine deinstallieren um die andere zu installieren. Fortfahren?
|
||||
arch.missing_deps.title=Fehlende Abhängigkeiten
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
gem.arch.label=AUR
|
||||
gem.arch.info=AUR packages are maintained by an independent user community. There is no warranty that they will work or not harm you system.
|
||||
gem.arch.info=AUR packages are maintained by an independent user community. There is no warranty that they will work or not harm your system.
|
||||
gem.aur.install.warning=AUR packages are maintained by an independent user community. There is no warranty that they will work or not harm your system.
|
||||
arch.install.conflict.popup.title=Conflict detected
|
||||
arch.install.conflict.popup.body=The applications {} are in conflict. You must uninstall one to install the other. Continue ?
|
||||
arch.missing_deps.title=Missing dependencies
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
gem.arch.label=AUR
|
||||
gem.arch.info=Los paquetes AUR son mantenidos por una comunidad de usuarios independiente. No hay garantía de que funcionen o que no dañen su sistema.
|
||||
gem.aur.install.warning=Los paquetes AUR son mantenidos por una comunidad de usuarios independiente. No hay garantía de que funcionen o que no dañen su sistema.
|
||||
aur.info.architecture=arquitectura
|
||||
aur.info.architecture.any=cualquier
|
||||
aur.info.build date=fecha de construcción
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
gem.arch.label=AUR
|
||||
gem.arch.info=I pacchetti AUR sono gestiti da una comunità di utenti indipendenti. Non esiste alcuna garanzia che funzionino o non danneggino il sistema.
|
||||
gem.aur.install.warning=I pacchetti AUR sono gestiti da una comunità di utenti indipendenti. Non esiste alcuna garanzia che funzionino o non danneggino il sistema.
|
||||
arch.install.conflict.popup.title=Conflitto rilevato
|
||||
arch.install.conflict.popup.body=Le applicazioni {} sono in conflitto. È necessario disinstallarne una per installare l'altra. Continua ?
|
||||
arch.missing_deps.title=Dipendenze mancanti
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
gem.arch.label=AUR
|
||||
gem.arch.info=Pacotes do AUR são mantidos por uma comunidade de usuários independente. Não há garantia que funcionarão ou que não prejudicarão o seus sistema.
|
||||
gem.aur.install.warning=Pacotes do AUR são mantidos por uma comunidade de usuários independente. Não há garantia que funcionarão ou que não prejudicarão o seus sistema.
|
||||
aur.info.architecture=arquitetura
|
||||
aur.info.architecture.any=qualquer
|
||||
aur.info.build date=data de construção
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from bauh.api.abstract.model import SuggestionPriority
|
||||
|
||||
ALL = {'google-chrome': SuggestionPriority.HIGH}
|
||||
ALL = {'google-chrome': SuggestionPriority.HIGH,
|
||||
'lutris-git': SuggestionPriority.LOW,
|
||||
'xdman': SuggestionPriority.LOW}
|
||||
|
||||
@@ -83,7 +83,7 @@ class ArchCompilationOptimizer(Thread if bool(os.getenv('BAUH_DEBUG', 0)) else P
|
||||
self.logger.info("Arch packages compilation optimization is disabled. Aborting...")
|
||||
else:
|
||||
try:
|
||||
ncpus = ceil(os.cpu_count() * 1.5)
|
||||
ncpus = os.cpu_count()
|
||||
except:
|
||||
self.logger.error('Could not determine the number of processors. Aborting...')
|
||||
ncpus = None
|
||||
|
||||
@@ -174,9 +174,16 @@ class AppsTable(QTableWidget):
|
||||
|
||||
def _install_app(self, pkgv: PackageView):
|
||||
|
||||
body = self.i18n['manage_window.apps_table.row.actions.install.popup.body'].format(self._bold(str(pkgv)))
|
||||
|
||||
warning = self.i18n.get('gem.{}.install.warning'.format(pkgv.model.get_type().lower()))
|
||||
|
||||
if warning:
|
||||
body += '<br/><br/> {}'.format('<br/>'.join(('{}.'.format(phrase) for phrase in warning.split('.') if phrase)))
|
||||
|
||||
if dialog.ask_confirmation(
|
||||
title=self.i18n['manage_window.apps_table.row.actions.install.popup.title'],
|
||||
body=self._parag(self.i18n['manage_window.apps_table.row.actions.install.popup.body'].format(self._bold(str(pkgv)))),
|
||||
body=self._parag(body),
|
||||
i18n=self.i18n):
|
||||
|
||||
self.window.install(pkgv)
|
||||
@@ -267,6 +274,7 @@ class AppsTable(QTableWidget):
|
||||
elif pkg.model.can_be_installed():
|
||||
def install():
|
||||
self._install_app(pkg)
|
||||
|
||||
item = self._gen_row_button(self.i18n['install'].capitalize(), INSTALL_BT_STYLE.format(back='#088A08'), install)
|
||||
else:
|
||||
item = None
|
||||
|
||||
Reference in New Issue
Block a user