Compare commits

...

82 Commits

Author SHA1 Message Date
35d4096d94 Release 2022.01.06 2022-01-06 13:39:12 +01:00
fd0abeab71 profile.d/qtwebengine-no-sandbox.sh: remove workaround no longer needed since qt5-qtwebengine 5.15.7 2022-01-06 13:38:25 +01:00
06a1688c37 Release 2021.12.17 2021-12-17 09:44:14 +01:00
6d16b755d9 Makefile: use binary lrelease-qt5 instead of lrelease 2021-12-17 09:40:56 +01:00
f1dbd1f665 Release 2021.09.2 2021-09-19 13:05:16 +02:00
8e8e6ea159 mambabase: added UI translation for italian 2021-09-19 13:01:24 +02:00
bd5b0af2ce mambabase: translation support updated with italian translation done (internal py messages) 2021-09-19 11:56:56 +02:00
1fccf3aaa3 mambabase: remove obsoleted extra installation choices; cleanup of old files 2021-09-19 11:31:40 +02:00
699e8b24ef Makefile: don't install obsolete installs: flash*, sun-java, win32codecs, .. 2021-09-19 11:30:58 +02:00
a53f4bbb6d Release 2021.09.1 2021-09-19 11:12:43 +02:00
3e59ccc903 Added menu icons possibly forgotten in a past commit 2021-09-14 12:59:34 +02:00
2317c78095 profile: add temporary workaround to disable QtWebengine sandbox that is not working 2021-09-14 12:58:04 +02:00
a55ddfb1d8 Release 2021.03.1 2021-03-02 20:31:16 +01:00
55826c30b9 SRPMS/virtualbox-extension-pack: remove additions .iso conflicting with VirtualBox-additions-VBoxGuest 2021-03-02 20:25:23 +01:00
bccadba3e5 Release 2020.11.1 2020-12-10 14:03:37 +01:00
f42e12b257 virtualbox-extension-pack: also download and install VBoxGuestAdditions.iso 2020-12-10 14:03:11 +01:00
32b9247382 Fix openmamba desktop-directory file 2020-10-17 20:42:00 +02:00
083629d575 Release 4.97.0 2020-10-01 20:24:13 +02:00
412fe86c92 Remove pre-systemd and pre-kde plasma show log menu entries 2020-10-01 20:23:46 +02:00
8f79f04cb3 Release 4.96.1 2020-08-01 16:04:54 +02:00
9514eeba94 mambabase: fix nvidia driver installation with autodetection script; remove fglrx* drivers installation 2020-08-01 16:04:40 +02:00
83f8728cb8 mambabase: remove debugging line 2020-07-24 12:09:15 +02:00
39663f880b Release 4.96.0 2020-07-24 12:04:07 +02:00
b30fb08934 mambabase: remove autostart file when finished 2020-07-24 12:03:47 +02:00
53cef707b8 Icons update 2020-07-24 11:51:01 +02:00
714298d5c1 mambabase: remove obsoleted group devel and extra skype and spotify 2020-07-24 11:50:33 +02:00
58d434e229 chromium-widevine: install the version matching with locally installed chromium 2020-03-04 13:19:09 +01:00
836d47925e chromium-widevine: also install manifest file required since chromium 80 2020-02-17 13:38:33 +01:00
0f6f1e3f55 Release 4.95.3 2020-01-22 14:43:49 +01:00
2552a9d0b8 chromium-pepper-flash: fix latest version check after Adobe site change 2020-01-22 14:42:12 +01:00
f12cefac80 arm: remove SRPM for sun-java7 2020-01-22 14:41:58 +01:00
dcd328ba42 chromium-widevine: install library in the path searched by chromium 78+ 2019-11-02 10:36:53 +01:00
d4877620a8 Release 4.95.1 2019-10-26 18:26:55 +02:00
8c184a5bfa SRPMS: fix desktop entry for sun-java net installation 2019-10-25 09:04:47 +02:00
830fd474d1 mambabase: details window improvement and other minor layout fixes 2019-10-25 08:54:59 +02:00
3561b9b2c5 Release 4.95.0 2019-10-24 18:47:12 +02:00
7c0a196bf5 SRPMS/chromium-widevine: fix for 78.0.3904.70 2019-10-24 18:43:15 +02:00
deba5ae309 mambabase: remove final page and other fixes/improvements 2019-10-24 18:41:14 +02:00
2ee7762745 mambabase: scanning packages in welcome page with progress bar 2019-10-20 14:46:47 +02:00
0d81a89138 mambabase: update Makefile and mambabase for rpm packaging 2019-10-20 14:21:26 +02:00
39bc23faf6 mambabase.py: initial support for extra components and other improvements 2019-10-19 20:50:31 +02:00
8b9fd9e648 Initial PyQt5 rewrite of mambabase 2019-10-19 16:32:47 +02:00
ab47acc57c Makefile: don't install mambabase translations if withkde3tools is disabled 2019-08-06 00:30:14 +02:00
e8e97b9082 Release 4.94.0 2019-08-06 00:27:38 +02:00
aaf505880a SRPMSVERSIONS: chromium-widevine: update scraping of latest chrome release 2019-07-31 19:09:53 +02:00
63ac109504 mambabase: change Sun Java 7 to Sun Java in netsrpm component installation description 2019-06-30 17:41:46 +02:00
a64f936e4b sun-java: update to sun-java 12 2019-06-11 21:26:11 +02:00
4330d5cf9c Release 4.92.0 2019-04-02 18:19:51 +02:00
ec536cd9a6 Added sudoers file for yum 2019-04-02 18:19:38 +02:00
6ec43e895d Release 4.91.1 2019-03-04 17:38:14 +01:00
f75b7d3ce8 mambareport: update report generation with systemd support 2019-03-04 17:37:52 +01:00
bebcd1bdb8 Release 4.91.0 2019-03-03 21:49:49 +01:00
6cd7b43474 Remove old qt-graphicssubsystem = raster workaround 2019-03-03 21:49:15 +01:00
7fe8c182da chromium-widevine: added forgotten (?) file 2018-07-18 18:00:26 +02:00
e5c9da6a04 Release 4.90.0 2018-07-18 17:59:01 +02:00
52d8d34602 virtualbox-extension-pack: %post install fix and updated license 2018-07-18 17:57:29 +02:00
fa4c63e9af openmamba-netsrpms: fix messages in case of installation error or already installed 2018-07-18 17:37:32 +02:00
2d7a50a044 Added SRPM chromium-widevine from chrome stable binary rpm 2018-06-16 01:40:31 +02:00
2b8f1d5c98 Release 4.0.90 2017-12-24 12:53:56 +01:00
28616db2c5 Replace smart usages with pkcon 2017-12-24 12:53:41 +01:00
8a428a76b6 Release 4.0.2 2017-10-18 15:52:58 +02:00
ab89e6ee0d sun-java8.spec.in: specfile fix for upstream release 8u152 2017-10-18 15:44:17 +02:00
e49a9c03b2 chromium-pepper-flash: fix to retrieve recent update 2017-06-19 10:15:19 +02:00
e0a172d8f7 Release 4.0.0 2017-06-03 15:40:17 +02:00
cedfb93b68 sun-java7, sun-java8: update following upstream download url changes 2017-06-03 15:39:36 +02:00
b5ddfe787c flashplugin: fix for version detection 2017-06-03 15:14:10 +02:00
0b20585be5 Release 3.94.0 2016-12-13 16:47:30 +01:00
f574490e77 flashplugin, chromium-pepper-flash: support for 24.0 2016-12-13 16:47:06 +01:00
f44219efae chromium-pepper-flash: fetch from Adobe site instead of Chrome archive 2016-12-13 16:34:49 +01:00
76b6dde25f SRPMSVERSIONS: version fetch update for chromium-pepper-flash and flashplugin 2016-12-03 19:16:35 +01:00
b4099586ce Release 3.92.0 2016-09-13 13:07:43 +02:00
b00e1dfe15 Update mambabase for sun-java8 2016-09-13 13:07:01 +02:00
4785ba0d9c Added sun-java8 SRPMS installation 2016-09-13 13:00:52 +02:00
c1dcebd6f5 Release 3.91.1 2016-09-08 20:41:47 +02:00
053f821e7f SRPMSVERSIONS: fix for flashplugin version retrieval 2016-09-08 20:39:19 +02:00
c420fa1272 Release 3.91.0 2016-07-24 16:25:00 +02:00
ec7a7c8183 skype.spec: require libv4l1.so.0 instead of libv4l.i586 2016-07-24 16:22:40 +02:00
b9e7f95109 SRPMSVERSION: fix disabling updating chromium-pepper-flash for i586 2016-07-10 23:12:03 +02:00
279f33aba3 Release 3.90.0 2016-05-19 00:30:09 +02:00
17a2a7bcee Move scripts in /etc/xprofile.d to /etc/profile.d 2016-05-19 00:29:30 +02:00
7e2099106f Release 3.0.6 (retarded commit) 2016-05-19 00:20:17 +02:00
ab3ae9a6dd SRPMSVERSION: update for Chromium also disabling no longer available 32 bit version 2016-04-21 13:44:42 +02:00
63 changed files with 2398 additions and 3059 deletions

View File

@@ -1,5 +1,5 @@
# Makefile for desktop-base-openmamba package
# Copyright (C) 2004-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2004-2021 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
include VERSION
@@ -8,16 +8,20 @@ ARCH:=`uname -i`
ifeq ($(ARCH), arm)
SRPMSVERSIONSFILE = SRPMSVERSIONS.arm
pck_srpms = b43-firmware sun-java7
pck_srpms = b43-firmware
else
ifeq ($(ARCH), x86_64)
SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = msttcorefonts skype b43-firmware virtualbox-extension-pack \
chromium-widevine
else
SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
sun-java7 spotify chromium-pepper-flash
pck_srpms = msttcorefonts skype b43-firmware virtualbox-extension-pack
endif
endif
PACKAGE = desktop-base-openmamba
DISTROID = openmamba
WITHKDE3 := 1
WITHKDE3TOOLS := 1
RPM_VENDOR = openmamba
@@ -48,18 +52,13 @@ endif
initrddir = ${sysconfdir}/rc.d/init.d
mandir = ${prefix}/usr/share/man
sysconfigdir= ${sysconfdir}/sysconfig
xprofiledir = ${sysconfdir}/xprofile.d
profiledir = ${sysconfdir}/profile.d
mambabasedatadir = ${datadir}/openmamba/mambabase
mambareportdatadir = ${datadir}/openmamba/mambareport
mambaimagesdir = ${datadir}/openmamba/images
xramdrdatadir = ${datadir}/openmamba/xramdr
iconsdir = ${datadir}/icons/hicolor
kdeprefixdir = $(shell kde-config --prefix)
kdedatadir = $(kdeprefixdir)/share
kdeautostartdir = ${kdedatadir}/autostart
kdeconfigdir = ${kdedatadir}/config
localesdir = ${datadir}/locale
kdelocalesdir = ${kdedatadir}/locale
pck_desktop = $(wildcard desktop/*.bz2)
systemlogodir = ${datadir}/pixmaps
xdg_appsdir = ${datadir}/applications
@@ -130,7 +129,7 @@ install-locales: locales
@for f in $(pck_catalogs); do\
lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\
echo "installing i18n file for language \`$$lang'...";\
dir="$(DESTDIR)$(kdelocalesdir)/$$lang/LC_MESSAGES";\
dir="$(DESTDIR)$(datadir)/locale/$$lang/LC_MESSAGES";\
$(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
done
@@ -141,6 +140,7 @@ install-locales: locales
$(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/openmamba-update.mo;\
done
@lrelease-qt5 mambabase/mambabase_it.ts -qm $(DESTDIR)$(datadir)/locale/it/LC_MESSAGES/mambabase.qm
install-kde-distro-addons: dist-update
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)
@@ -155,11 +155,7 @@ install-kde-distro-addons: dist-update
cp -r etc/profile.d $(DESTDIR)$(sysconfdir)/
cp -r etc/sudoers.d $(DESTDIR)$(sysconfdir)/
cp -r etc/sysconfig $(DESTDIR)$(sysconfdir)/
cp -r etc/xprofile.d $(DESTDIR)$(sysconfdir)/
cp etc/system-sleep/* $(DESTDIR)$(systemdsleepdir)/
chmod 755 $(DESTDIR)$(sysconfdir)/profile.d/*.sh
chmod 755 $(DESTDIR)$(sysconfdir)/xprofile.d/*.sh
$(INSTALL_SCRIPT) kde/scripts/showlog $(DESTDIR)$(distrobindir)
cp -r menu/icons/ $(DESTDIR)$(datadir)/icons/
install-distromenu: dist-update
@@ -168,8 +164,6 @@ install-distromenu: dist-update
$(DESTDIR)$(xdg_directorydir)/$(DISTROID).directory
$(INSTALL_DATA) menu/applications/distroutils-netinstall.directory \
$(DESTDIR)$(xdg_directorydir)/$(DISTROID)-NetInstall.directory
$(INSTALL_DATA) menu/applications/distroutils-logs.directory \
$(DESTDIR)$(xdg_directorydir)/$(DISTROID)-Logs.directory
@$(INSTALL_DIR) $(DESTDIR)$(xdg_mergedmenudir)
$(INSTALL_DATA) menu/applications/distroutils.menu \
$(DESTDIR)$(xdg_mergedmenudir)/$(DISTROid).menu
@@ -178,7 +172,6 @@ install-distromenu: dist-update
$(INSTALL_DATA) menu/applications/netinstall/$$pck.desktop \
$(DESTDIR)$(xdg_appsdir)/$(DISTROid)-$$pck.desktop;\
done
cp menu/applications/logs/*.desktop $(DESTDIR)$(xdg_appsdir)
install-srpms:
@$(INSTALL_DIR) $(DESTDIR)$(distrosrpmsdir)
@@ -204,12 +197,15 @@ install-icons:
install-mambabase:
@$(INSTALL_DIR) $(DESTDIR)$(mambabasedatadir)
$(INSTALL_SCRIPT) mambabase/mambabase.sh $(DESTDIR)$(mambabasedatadir)
ifeq ($(WITHKDE3TOOLS),1)
$(INSTALL_SCRIPT) mambabase/mambabase.kmdr $(DESTDIR)$(mambabasedatadir)
$(INSTALL_SCRIPT) mambabase/mambabase $(DESTDIR)$(bindir)/mambabase
$(INSTALL_SCRIPT) mambabase/mambabase.py $(DESTDIR)$(mambabasedatadir)
$(INSTALL_SCRIPT) mambabase/mambabase-pkggroups-parser.sh $(DESTDIR)$(mambabasedatadir)
$(INSTALL_SCRIPT) mambabase/nvidia-autoselect-driver $(DESTDIR)$(mambabasedatadir)
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
endif
$(INSTALL_DATA) mambabase/openmamba.png $(DESTDIR)$(mambabasedatadir)
$(INSTALL_DATA) mambabase/mambabase.png $(DESTDIR)$(mambabasedatadir)
cp mambabase/*.ui $(DESTDIR)$(mambabasedatadir)
install-mambareport:
$(INSTALL_SCRIPT) mambareport/openmamba-makereport $(DESTDIR)$(bindir)
@@ -231,7 +227,7 @@ install-xramdr:
install-desktop:
@$(INSTALL_DIR) $(DESTDIR)$(distrodesktopdir)
$(INSTALL_DATA) $(pck_desktop) $(DESTDIR)$(distrodesktopdir)
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(xprofiledir)
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(profiledir)
install-openmamba-update:
@$(INSTALL_DIR) $(DESTDIR)$(bindir)

View File

@@ -1,7 +1,7 @@
Name: chromium-pepper-flash
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Epoch: 2
Summary: Google Chrome's pepper-flash plugin for Chromium
Group: Applications/Web
Vendor: @vendor@
@@ -37,16 +37,15 @@ tmpdir=$(mktemp -q -d -t flashplugin.XXXXXXXX)
${CHROMIUM_PEPPER_FLASH_URL}${CHROMIUM_PEPPER_FLASH_PCK} -O ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
[ -f ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} ] || exit 1
rpm2cpio ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} | cpio -id
tar xzf ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
%build -q
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
cp -a opt/google/chrome/PepperFlash/* %{buildroot}/opt/chromium/PepperFlash/
cp %{S:0} LICENSE
cp -a * %{buildroot}/opt/chromium/PepperFlash/
rm -fr ${tmpdir}
@@ -59,9 +58,16 @@ rm -rf %{_builddir}/%{name}-*
%defattr(-,root,root)
%dir /opt/chromium/PepperFlash
/opt/chromium/PepperFlash/libpepflashplayer.so
/opt/chromium/PepperFlash/license.pdf
/opt/chromium/PepperFlash/LICENSE
/opt/chromium/PepperFlash/manifest.json
%doc LICENSE
/opt/chromium/PepperFlash/readme.txt
%dir /opt/chromium/PepperFlash/LGPL
/opt/chromium/PepperFlash/LGPL/*
%changelog
* Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
- PPAPI plugin for Chromium
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 37.0.2062.120-1mamba
- first build for chromium-pepper-flash

View File

@@ -1,7 +1,7 @@
## Google Chrome's pepper-flash
# package name (do not modify unless you know what you're doing)
CHROMIUM_PEPPER_FLASH_PCK=google-chrome-stable_current_@arch@.rpm
CHROMIUM_PEPPER_FLASH_PCK=flash_player_ppapi_linux.@arch@.tar.gz
# package URL (do not modify unless you know what you're doing)
CHROMIUM_PEPPER_FLASH_URL=https://dl.google.com/linux/direct/
CHROMIUM_PEPPER_FLASH_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["chromium-pepper-flash"]}/

View File

@@ -0,0 +1,8 @@
Google LLC and its affiliates ("Google") own all legal right, title and
interest in and to the content decryption module software ("Software") and
related documentation, including any intellectual property rights in the
Software. You may not use, modify, sell, or otherwise distribute the Software
without a separate license agreement with Google. The Software is not open
source software.
If you are interested in licensing the Software, please contact www.widevine.com

View File

@@ -0,0 +1,69 @@
Name: chromium-widevine
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Summary: Google Chrome's Widevine plugin for Chromium
Group: Applications/Web
Vendor: @vendor@
Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.widevine.com/
Source: LICENSE
License: Non Distributable
# NOTE: requires the backward compatible version of the libstdc++ library
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Google Chrome's Widevine plugin for Chromium.
%prep
%setup -c -n %{name}-%{version} -T
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
[ "${CHROMIUM_WIDEVINE_PCK}" ] || exit 1
[ "${CHROMIUM_WIDEVINE_URL}" ] || \
CHROMIUM_WIDEVINE_URL="https://dl.google.com/linux/direct/"
tmpdir=$(mktemp -q -d -t chromium-widevine.XXXXXXXX)
[ $? -eq 0 ] || exit 1
[ -f ${tmpdir}/${WIDEVINE_PCK} ] ||
wget -nv --timeout=10 --tries=2 \
${CHROMIUM_WIDEVINE_URL}${CHROMIUM_WIDEVINE_PCK} -O ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}
[ -f ${tmpdir}/${CHROMIUM_WIDEVINE_PCK} ] || exit 1
ar x ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}
bsdtar -x --strip-components 4 -f data.tar.xz opt/google/chrome/WidevineCdm
%build -q
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}%{_libdir}/chromium/
cp -a WidevineCdm %{buildroot}%{_libdir}/chromium/
#cp %{S:0} LICENSE
rm -fr ${tmpdir}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-*
:
%files
%defattr(-,root,root)
%dir %{_libdir}/chromium/WidevineCdm
%{_libdir}/chromium/WidevineCdm/manifest.json
%{_libdir}/chromium/WidevineCdm/LICENSE
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
#%doc LICENSE
%changelog
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
- make library available in the path searched by chromium 78+
* Sat Jun 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
- first build for chromium-widevine

View File

@@ -0,0 +1,7 @@
## Google Chrome's Widevine plugin
# package name (do not modify unless you know what you're doing)
CHROMIUM_WIDEVINE_PCK=google-chrome-stable_${SRPMVERSION["chromium-widevine"]}-1_amd64.deb
# package URL (do not modify unless you know what you're doing)
CHROMIUM_WIDEVINE_URL=https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/

View File

@@ -1,7 +1,7 @@
## Adobe Flash Plugin
# package name (do not modify unless you know what you're doing)
FLASH_PLUGIN_PCK=install_flash_player_11_linux.@arch@.tar.gz
FLASH_PLUGIN_PCK=flash_player_npapi_linux.@arch@.tar.gz
# package URL (do not modify unless you know what you're doing)
FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["flashplugin"]}/

View File

@@ -14,7 +14,7 @@ BuildPrereq: wget
BuildPrereq: /usr/bin/tempfile
# NOTE: requires the backward compatible version of the libstdc++ library
Requires: pulseaudio
Requires: libv4l.i586
Requires: libv4l1.so.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description

96
SRPMS/sun-java/LICENSE Normal file
View File

@@ -0,0 +1,96 @@
Oracle Technology Network License Agreement for Oracle Java SE
Oracle is willing to authorize Your access to software associated with this License Agreement (“Agreement”) only upon the condition that You accept that this Agreement governs Your use of the software. By selecting the "Accept License Agreement" button or box (or the equivalent) or installing or using the Programs, You indicate Your acceptance of this Agreement and Your agreement, as an authorized representative of Your company or organization (if being acquired for use by an entity) or as an individual, to comply with the license terms that apply to the software that You wish to download and access. If You are not willing to be bound by this Agreement, do not select the “Accept License Agreement” button or box (or the equivalent) and do not download or access the software.
Definitions
"Oracle" refers to Oracle America, Inc.
"You" and "Your" refers to (a) a company or organization (“Entity”) accessing the Programs, if use of the Programs will be on behalf of such Entity; or (b) an individual accessing the Programs (“Individual”), if use of the Programs will not be on behalf of an Entity.
“Contractors” refers to Your agents and contractors (including, without limitation, outsourcers).
“Development Use” refers to Your internal use of the Programs to develop, test, prototype and demonstrate Your Applications. For purposes of clarity, the “to develop” grant includes using the Programs to run profilers, debuggers and Integrated Development Environments (IDE Tools) where the primary purpose of the IDE Tools is profiling, debugging and source code editing Applications.
"Program(s)" refers to Oracle software provided by Oracle pursuant to this Agreement and any updates, error corrections, and/or Program Documentation provided by Oracle.
“Program Documentation” refers to the Licensing Information User Manual for Oracle Java SE for the applicable version accessible at https://www.oracle.com/technetwork/java/javase/documentation/ and other documentation provided by Oracle with the Programs or accessible at https://docs.oracle.com/en/java.
“Separate Terms” refers to separate license terms that are specified in the Program Documentation, readmes or notice files and that apply to Separately Licensed Third Party Technology.
“Separately Licensed Third Party Technology” refers to third party technology that is licensed under Separate Terms and not under the terms of this Agreement.
“Application” refers to applications intended to run on the Java Platform, Standard Edition.
“Personal Use” refers to an Individual's use of the Programs solely on a desktop or laptop computer under such Individual's control only to run Personal Applications.
“Personal Applications” refers to Applications designed for individual personal use only, such as games or personal productivity tools.
“Oracle Approved Product Use” refers to Your internal use of the Programs only to run: (a) the product(s) identified as Schedule A Products at https://java.com/oaa; and/or (b) software Applications developed using the products identified as Schedule B Products at java.com/oaa by an Oracle authorized licensee of such Schedule B Products. If You are unsure whether the Application You intend to run using the Programs is developed using a Schedule B Product, please contact your Application provider.
“Oracle Cloud Infrastructure Use (“OCI Use”)” refers to Your use of the Programs on Oracle's Cloud Infrastructure with the Oracle Cloud Infrastructure products identified in the Oracle PaaS and IaaS Universal Credits Service Descriptions available at http://oracle.com/contracts during the period in which You maintain a subscription for such Oracle Cloud Infrastructure products.
License Rights and Restrictions
Oracle grants You a nonexclusive, nontransferable, limited license to use the Programs, subject to the restrictions stated in this Agreement and Program Documentation, only for:
(i) Personal Use,
(ii) Development Use,
(iii) Oracle Approved Product Use, and/or
(iv) Oracle Cloud Infrastructure Use.
You may allow Your Contractor(s) to use the Programs, provided they are acting on Your behalf to exercise license rights granted in this Agreement and further provided that You are responsible for their compliance with this Agreement in such use. You will have a written agreement with Your Contractor(s) that strictly limits their right to use the Programs and that otherwise protects Oracle's intellectual property rights to the same extent as this Agreement. You may make copies of the Programs to the extent reasonably necessary to exercise the license rights granted in this Agreement.
You may not:
remove or modify any Program markings or any notice of Oracle's or a licensor's proprietary rights;
make the Programs available in any manner to any third party (other than Contractors acting on Your behalf as set forth in this Agreement);
assign this Agreement or distribute, give, or transfer the Programs or an interest in them to any third party, except as expressly permitted in this Agreement for Contractors (the foregoing shall not be construed to limit the rights You may otherwise have with respect to Separately Licensed Third Party Technology);
cause or permit reverse engineering (unless required by law for interoperability), disassembly or decompilation of the Programs; and
create, modify, or change the behavior of, classes, interfaces, or subpackages that are in any way identified as "java", "javax", "sun", “oracle” or similar convention as specified by Oracle in any naming convention designation.
The Programs may contain source code that, unless expressly licensed in this Agreement for other purposes (for example, licensed under an open source license), is provided solely for reference purposes pursuant to the terms of this Agreement and may not be modified.
All rights not expressly granted in this Agreement are reserved by Oracle. If You want to use the Programs for any purpose other than as expressly permitted under this Agreement, You must obtain from Oracle or an Oracle reseller a valid Program license under a separate agreement permitting such use.
Ownership
Oracle or its licensors retain all ownership and intellectual property rights to the Programs.
Third-Party Technology
The Programs may contain or require the use of third party technology that is provided with the Programs. Oracle may provide certain notices to You in Program Documentation, readmes or notice files in connection with such third party technology. Third party technology will be licensed to You either under the terms of this Agreement or, if specified in the Program Documentation, readmes or notice files, under Separate Terms. Your rights to use Separately Licensed Third Party Technology under Separate Terms are not restricted in any way by this Agreement. However, for clarity, notwithstanding the existence of a notice, third party technology that is not Separately Licensed Third Party Technology shall be deemed part of the Programs and is licensed to You under the terms of this Agreement.
Source Code for Open Source Software
For software that You receive from Oracle in binary form that is licensed under an open source license that gives You the right to receive the source code for that binary, You can obtain a copy of the applicable source code from https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode. If the source code for such software was not provided to You with the binary, You can also receive a copy of the source code on physical media by submitting a written request pursuant to the instructions in the "Written Offer for Source Code" section of the latter website.
Export Controls
Export laws and regulations of the United States and any other relevant local export laws and regulations apply to the Programs. You agree that such export control laws govern Your use of the Programs (including technical data) and any services deliverables provided under this agreement, and You agree to comply with all such export laws and regulations (including "deemed export" and "deemed re-export" regulations). You agree that no data, information, program and/or materials resulting from Programs or services (or direct products thereof) will be exported, directly or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation, or development of missile technology. Accordingly, You confirm:
You will not download, provide, make available or otherwise export or re-export the Programs, directly or indirectly, to countries prohibited by applicable laws and regulations nor to citizens, nationals or residents of those countries.
You are not listed on the United States Department of Treasury lists of Specially Designated Nationals and Blocked Persons, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor are You listed on the United States Department of Commerce Table of Denial Orders.
You will not download or otherwise export or re-export the Programs, directly or indirectly, to persons on the above mentioned lists.
You will not use the Programs for, and will not allow the Programs to be used for, any purposes prohibited by applicable law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction.
Information Collection
The Programs' installation and/or update processes, if any, may transmit a limited amount of data to Oracle or its service provider about those processes to help Oracle understand and optimize them. Oracle does not associate the data with personally identifiable information. Refer to Oracle's Privacy Policy at www.oracle.com/privacy.
Disclaimer of Warranties; Limitation of Liability
THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT.
IN NO EVENT WILL ORACLE BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ORACLE'S ENTIRE LIABILITY FOR DAMAGES UNDER THIS AGREEMENT SHALL IN NO EVENT EXCEED ONE THOUSAND DOLLARS (U.S. $1,000).
No Technical Support
Oracle does not provide technical support, phone support, or updates under this Agreement.
Audit; Termination
Oracle may audit an Entity's use of the Programs. You may terminate this Agreement by destroying all copies of the Programs. This Agreement shall automatically terminate without notice if You fail to comply with any of the terms of this Agreement, in which case You shall promptly destroy all copies of the Programs.
Relationship Between the Parties
Oracle is an independent contractor and we agree that no partnership, joint venture, or agency relationship exists between us. We each will be responsible for paying our own employees, including employment related taxes and insurance. Nothing in this Agreement shall be construed to limit either party's right to independently develop or distribute software that is functionally similar to the other party's products, so long as proprietary information of the other party is not included in such software.
Entire Agreement; Governing Law
You agree that this Agreement is the complete agreement for the Programs and this Agreement supersedes all prior or contemporaneous agreements or representations, including any clickwrap, shrinkwrap or similar licenses, or license agreements for prior versions of the Programs. This Agreement may not be modified and the rights and restrictions may not be altered or waived except in a writing signed by authorized representatives of You and of Oracle. If any term of this Agreement is found to be invalid or unenforceable, the remaining provisions will remain effective.
This Agreement is governed by the substantive and procedural laws of the State of California, USA, and You and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco or Santa Clara counties in California in any dispute arising out of or relating to this Agreement.
Notices Should You have any questions concerning this Agreement, or if You desire to contact Oracle for any reason, please write:
Oracle America, Inc.
500 Oracle Parkway
Redwood City, CA 94065
Oracle Employees: Under no circumstances are Oracle employees authorized to download software for the purpose of distributing it to customers. Oracle products are available to Oracle employees for internal use or demonstration purposes only. In keeping with Oracle's trade compliance obligations under U.S. and applicable multilateral law, an Oracle employee's failure to comply with this policy could result in disciplinary action up to and including termination.
Last updated: April 10, 2019

View File

View File

@@ -0,0 +1,302 @@
%define pkgver %(echo %version | tr _ -)
%define realver %(echo %version | cut -d_ -f1)
%define MAJOR %(echo %realver | cut -du -f1)
%define MINOR %(echo %realver | cut -du -f2)
%define major 1.%{MAJOR}
%define minor 0
%define origin sun
%define javaver %{major}.%{minor}
%define jppname java-%{javaver}-%{origin}
%define javaws_ver %{javaver}
%define toplevel_dir jdk-%{version}
%define distversion %{realver}
%define label -%{name}
%define jdklnk jdk12-%{origin}
%define jdkdir %{jppname}
%define jdkbindir %{_jvmdir}/%{jdklnk}/bin
%define jdklibdir %{_jvmdir}/%{jdklnk}/lib
Name: sun-java
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: Sun Java Developer's Kit
Group: System/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.oracle.com/technetwork/java/javase/overview/index.html
Source: LICENSE
BuildRequires: jpackage-utils
Provides: jdk = %{realver}
Provides: jdk2 = %{realver}
Obsoletes: sun-java8
Obsoletes: sun-java8-runtime
Provides: sun-java-runtime
License: Oracle Binary Code License
Requires: menu-java
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sun Java Standard Edition Development Kit.
%prep
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
%setup -q -T -c
DOWNLOAD_FRAGMENT=`curl --max-time 20 -sL https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html|grep "linux-x64_bin.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|"`
#echo yes | MORE=10000
%ifarch %{ix86}
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
https://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}_linux-i586_bin.tar.gz
tar xf jdk-%{realver}_linux-i586_bin.tar.gz
%endif
%ifarch x86_64
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
https://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}_linux-x64_bin.tar.gz
tar xf jdk-%{realver}_linux-x64_bin.tar.gz
%endif
%ifarch arm
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
https://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}_linux-arm-vfp-sflt_bin.tar.gz
tar xf jdk-%{realver}_linux-arm-sfp_bin.tar.gz
%endif
cd %{toplevel_dir}
#cp %{SOURCE5} ./construct.sh
#mkdir unbundle-jdk
#cd unbundle-jdk
#sh %{SOURCE0} --accept-license
chmod -R u+w *
#for pack in $(find . -name "*.pack"); do
# bin/unpack200 $pack $(echo $pack | sed -e s:.pack::g).jar
#done
%install
cd %{toplevel_dir}
install -d -m 755 %{buildroot}%{_jvmdir}/%{jdkdir}
# main
cp -a bin conf include jmods legal lib man %{buildroot}%{_jvmdir}/%{jdkdir}
pushd %{buildroot}%{_jvmdir}
ln -s %{jdkdir} %{jdklnk}
popd
mkdir -p %{buildroot}%{_jvmdir}/%{jdkdir}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-*
:
%pre
if [ $1 -ge 1 ]; then
# legacy cleanups
for b in javac jar; do
/usr/sbin/update-alternatives --remove $b \
/opt/java/jdk/bin/$b 2>/dev/null
done
fi
:
%post
if [ $1 -ge 1 ]; then
# new install
for b in java javac jar; do
%{_sbindir}/update-alternatives \
--install %{_bindir}/$b $b \
%{_jvmdir}/%{jdklnk}/bin/$b 56
done
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jdk jdk \
%{_jvmdir}/%{jdklnk} 56
fi
:
%preun
if [ $1 -eq 0 ]; then
for b in java javac jar; do
%{_sbindir}/update-alternatives --remove $b \
%{_jvmdir}/%{jdklnk}/bin/$b
done
%{_sbindir}/update-alternatives --remove jdk \
%{_jvmdir}/%{jdklnk}
fi
:
%files
%defattr(-,root,root)
%{_jvmdir}/%{jdklnk}
%dir %{_jvmdir}/%{jdkdir}/bin
%{_jvmdir}/%{jdkdir}/bin/*
%dir %{_jvmdir}/%{jdkdir}/conf
%{_jvmdir}/%{jdkdir}/conf/*
%dir %{_jvmdir}/%{jdkdir}/jmods
%{_jvmdir}/%{jdkdir}/jmods/*
%dir %{_jvmdir}/%{jdkdir}/legal
%{_jvmdir}/%{jdkdir}/legal/*
%dir %{_jvmdir}/%{jdkdir}/man
%dir %{_jvmdir}/%{jdkdir}/man/man1
%{_jvmdir}/%{jdkdir}/man/man1/*
%dir %{_jvmdir}/%{jdkdir}/lib
%{_jvmdir}/%{jdkdir}/lib/*
%dir %{_jvmdir}/%{jdkdir}/include
%{_jvmdir}/%{jdkdir}/include/*
%changelog
* Tue Jun 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 12.0.1-1mamba
- update to java 12
* Tue Sep 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8u102_b14-1mamba
- update to java8
* Sat Oct 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u67_b01-1mamba
- fix x86_64 mozulla plugin symlinks
- support for pkg download code (b01) in version
* Fri Mar 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-2mamba
- update wget download string (see https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/)
- dont' install fxavcodecplugin-52.so to remove dependencies on old libav library; fxavcodecplugin-53.so is provided requiring ffmpeg0
* Fri Jan 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-1mamba
- update to 7u51
* Sun Nov 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u45-1mamba
- update to 7u45
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u17-1mamba
- update to 7u17
* Sun Aug 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-2mamba
- rename to sun-java7
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-1mamba
- update to 7u6
* Tue Mar 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6u26-2mamba
- don't obsolete jre and jdk
* Wed Jun 08 2011 Automatic Build System <autodist@mambasoft.it> 6u26-1mamba
- automatic update by autodist
* Wed Apr 27 2011 Automatic Build System <autodist@mambasoft.it> 6u25-1mamba
- automatic update by autodist
* Thu Feb 17 2011 Automatic Build System <autodist@mambasoft.it> 6u24-1mamba
- automatic update by autodist
* Wed Oct 13 2010 Automatic Build System <autodist@mambasoft.it> 6u22-1mamba
- automatic update to 6u22 by autodist
* Mon Jul 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u21-3mamba
- don't launch chrpath or executables won't find libraries because they are not in system path
* Wed Jul 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 6u21-2mamba
- specfile fixes and cleanup
- fix broken fonts symlink
- edit %%post and %%postun runtime scripts
* Fri Jul 16 2010 Automatic Build System <autodist@mambasoft.it> 6u21-1mamba
- automatic update to 6u21 by autodist
* Mon Jun 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u20-2mamba
- link libnpjp2.so instead of libjavaplugin.so to /usr/lib/mozilla/plugins
* Fri Apr 16 2010 Automatic Build System <autodist@mambasoft.it> 6u20-1mamba
- automatic update to 6u20 by autodist
* Wed Mar 31 2010 Automatic Build System <autodist@mambasoft.it> 6u19-1mamba
- automatic update to 6u19 by autodist
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 6u18-1mamba
- automatic update to 6u18 by autodist
* Tue Nov 17 2009 Automatic Build System <autodist@mambasoft.it> 6u17-1mamba
- automatic update to 6u17 by autodist
* Wed Sep 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u16-2mamba
- fixed wrong symlink destination for jav for mozilla plugin files
* Mon Aug 17 2009 Automatic Build System <autodist@mambasoft.it> 6u16-1mamba
- automatic update to 6u16 by autodist
* Thu Aug 06 2009 Automatic Build System <autodist@mambasoft.it> 6u15-1mamba
- automatic update to 6u15 by autodist
* Mon Jul 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-2mamba
- create symlink of jre jar's into jdk lib directory
* Tue Jun 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-1mamba
- update to 6u14
* Fri Jun 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-4mamba
- manage /usr/lib/jvm/{jdk,jre} as alternatives
- remove profile files for setting JAVA_HOME (now handled by initscripts and alternatives)
* Thu Jun 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-3mamba
- added symlink in /usr/lib/jvm
* Mon Apr 20 2009 gil <puntogil@libero.it> 6u13-2mamba
- added requirement for menu-java
* Wed Mar 18 2009 gil <puntogil@libero.it> 6u13-1mamba
- update to 6u13
- edit spec file
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6u7-1mamba
- automatic update to 6u7 by autodist
* Tue Mar 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-4mamba
- update to release 6u4
- manage /usr/bin/{java,javac,jar} using alternatives with priority 50
* Sat Apr 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-3mamba
- install into /opt/java
* Mon Feb 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2qilnx
- check and handle a pre-existing /usr/java/jre%version dir
* Mon Feb 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1qilnx
- new build under the Operating System Distributor License for Java (DLJ 1.1)
* Fri Feb 02 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.5-1qilnx
- get download parameters from a sysconfig file
* Tue Oct 31 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-8qilnx
- specfile updated to donwload latest jre version (1.5.0_09)
* Wed Jul 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-7qilnx
- added "provides j2re" (needed by the limewire rpm)
* Mon Apr 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-6qilnx
- updated javaurl
* Thu Feb 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-5qilnx
- fixed symbolic link in %{_libdir}/mozilla/plugins
* Tue Aug 23 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-4qilnx
- specfile updates for last jre version (1.5.0_04)
* Thu Jul 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-3qilnx
- remove %{javapath}/.systemPrefs if found
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2qilnx
- enable resume of download
- remove requirements and provides
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1qilnx
- specfile for new jre version (1.5.0)
- added automatic download and build support (this is a non distributable package)
* Mon Jul 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-2qilnx
- create symlinks for browser plugins to /usr/lib/mozilla/plugins
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1qilnx
- first build

View File

@@ -61,23 +61,25 @@ Sun Java Platform Runtime Environment.
%setup -q -T -c
DOWNLOAD_FRAGMENT=`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|"`
#echo yes | MORE=10000
%ifarch %{ix86}
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-i586.tar.gz
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-i586.tar.gz
tar xf jdk-%{realver}-linux-i586.tar.gz
%endif
%ifarch x86_64
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-x64.tar.gz
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-x64.tar.gz
tar xf jdk-%{realver}-linux-x64.tar.gz
%endif
%ifarch arm
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
tar xf jdk-%{realver}-linux-arm-sfp.tar.gz
%endif

View File

@@ -1,34 +1,152 @@
VirtualBox PUEL terms and conditions
License version 8, April 19, 2010
VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)
ORACLE CORPORATION (“ORACLE”) IS WILLING TO LICENSE THE PRODUCT (AS DEFINED IN § 1 BELOW) TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS VIRTUALBOX PERSONAL USE AND EVALUATION LICENSE AGREEMENT (“AGREEMENT”). PLEASE READ THE AGREEMENT CAREFULLY. BY DOWNLOADING OR INSTALLING THIS PRODUCT, YOU ACCEPT THE FULL TERMS OF THIS AGREEMENT.
License version 10, 20 July 2017
IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY OTHER THAN AN INDIVIDUAL PERSON, YOU REPRESENT THAT YOU ARE BINDING AND HAVE THE RIGHT TO BIND THE ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
PLEASE READ THE FOLLOWING ORACLE VM VIRTUALBOX EXTENSION PACK PERSONAL
USE AND EVALUATION LICENSE CAREFULLY BEFORE DOWNLOADING OR USING THE
ORACLE SOFTWARE. THESE TERMS AND CONDITIONS CONSTITUTE A LEGAL AGREEMENT
BETWEEN YOU AND ORACLE.
§ 1 Subject of Agreement. “Product”, as referred to in this Agreement, shall be the binary software package “Oracle VM VirtualBox,” which Product allows for creating multiple virtual computers, each with different operating systems (“Guest Computers”), on a physical computer with a specific operating system (“Host Computer”), to allow for installing and executing these Guest Computers simultaneously. The Product consists of executable files in machine code for the Solaris, Windows, Linux, and Mac OS X operating systems as well as other data files as required by the executable files at run-time and documentation in electronic form. The Product includes all documentation and updates provided to You by Oracle under this Agreement and the terms of this Agreement will apply to all such documentation and updates unless a different license is provided with an update or documentation.
ORACLE AMERICA, INC. ("ORACLE") IS WILLING TO LICENSE THE PRODUCT DEFINED
IN SECTION 1 BELOW ONLY ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS
CONTAINED IN THIS VIRTUALBOX EXTENSION PACK PERSONAL USE AND EVALUATION
LICENSE AGREEMENT ("AGREEMENT").
§ 2 Grant of license. (1) Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Product a Host Computer for your Personal Use, Educational Use, or Evaluation. “Personal Use” requires that you use the Product on the same Host Computer where you installed it yourself and that no more than one client connect to that Host Computer at a time for the purpose of displaying Guest Computers remotely. “Educational use” is any use in an academic institution (schools, colleges and universities, by teachers and students). “Evaluation” means testing the Product for a reasonable period (that is, normally for a few weeks); after expiry of that term, you are no longer permitted to evaluate the Product.
IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY (RATHER THAN
AS AN INDIVIDUAL HUMAN BEING), YOU REPRESENT THAT YOU HAVE THE APPROPRIATE
AUTHORITY TO ACCEPT THESE TERMS AND CONDITIONS ON BEHALF OF SUCH ENTITY.
(2) The “VirtualBox Guest Additions” are a set of drivers and utilities that are shipped as a subset of the Product for the purpose of being installed inside a Guest Computer to improve its performance and cooperation with the rest of the Product. In addition to and independent of the rights granted by subsection 1, Oracle allows you to install, execute, copy and redistribute a) unmodified copies of the ISO installation medium of the VirtualBox Guest Additions as shipped with the Product and b) the VirtualBox Guest Additions together with the Guest Computer into which they have been installed.
1 SUBJECT OF AGREEMENT. This Agreement governs your use of the binary
software package called "Oracle VM VirtualBox Extension Pack" (the
"Product"), which contains a set of additional features for "Oracle
VM VirtualBox" that enhance the operation of multiple virtual machines
("Guest Computers") on a single physical computer ("Host Computer"). The
Product consists of executable files in machine code, script files,
data files, and all documentation and updates provided to You by Oracle.
§ 3 Restrictions and Reservation of Rights. (1) Any use beyond the provisions of § 2 is prohibited. The Product and copies thereof provided to you under this Agreement are copyrighted and licensed, not sold, to you by Oracle. Oracle reserves all copyrights and other intellectual property rights. This includes, but is not limited to, the right to modify, make available or public, rent out, lease, lend or otherwise distribute the Product. This does not apply as far as applicable law may require otherwise or if Oracle grants you additional rights of use in a separate agreement in writing.
2 GRANT OF LICENSE. Oracle grants you a personal, non-exclusive,
non-transferable, limited license without fees to reproduce, install,
execute, and use internally the Product on Host Computers for
your Personal Use, Educational Use, or Evaluation. "Personal Use"
is noncommercial use solely by the person downloading the Product
from Oracle on a single Host Computer, provided that no more than one
client or remote computer is connected to that Host Computer and that
client or remote computer is used solely to remotely view the Guest
Computer(s). "Educational Use" is any use by teachers or students in
an academic institution (schools, colleges and universities) as part of
the institution's educational curriculum. "Evaluation" means testing the
Product for up to thirty (30) days; after expiry of that term, you are
no longer permitted to use the Product. Personal Use and/or Educational
Use expressly exclude any use of the Product for commercial purposes or
to operate, run, or act on behalf of or for the benefit of a business,
organization, governmental organization, or educational institution.
(2) You may not do any of the following: (a) modify the Product. However if the documentation accompanying Product lists specific portions of Product, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the documentation; (b) rent, lease, lend or encumber the Product; (c) remove or alter any proprietary legends or notices contained in the Product; or (d) decompile, or reverse engineer the Product (unless enforcement of this restrictions is prohibited by applicable law).
Oracle reserves all rights not expressly granted in this license.
(3) The Product is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Oracle and its licensors disclaim any express or implied warranty of fitness for such uses.
3 RESTRICTIONS AND RESERVATION OF RIGHTS.
(4) No right, title or interest in or to any trademark, service mark, logo or trade name of Oracle or its licensors is granted under this Agreement.
(1) The Product and copies thereof provided to you under this Agreement
are copyrighted and licensed, not sold, to you by Oracle.
§ 4 Termination. The Agreement is effective on the Date you receive the Product and remains effective until terminated. Your rights under this Agreement will terminate immediately without notice from Oracle if you materially breach it or take any action in derogation of Oracle's and/or its licensors' rights to Product. Oracle may terminate this Agreement should any Product become, or in Oracle's reasonable opinion likely to become, the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of, and destroy, Product and confirm compliance in writing to Oracle. Sections 3-9, inclusive, will survive termination of the Agreement.
(2) You may not do any of the following: (a) modify any part of the
Product, except to the extent allowed in the documentation accompanying
the Product; (b) rent, lease, lend, re-distribute, or encumber the
Product; (c) remove or alter any proprietary legends or notices contained
in the Product; or (d) decompile, or reverse engineer the Product
(except to the extent permitted by applicable law).
§ 5 Disclaimer of Warranty. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, ORACLE PROVIDES THE PRODUCT “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. The entire risk as to the quality and performance of the Product is with you. Should it prove defective, you assume the cost of all necessary servicing, repair, or correction. In addition, Oracle shall be allowed to provide updates to the Product in urgent cases. You are then obliged to install such updates. Such an urgent case includes, but is not limited to, a claim of rights to the Product by a third party.
(3) The Product is not designed, licensed or intended for use in the
design, construction, operation or maintenance of any nuclear facility
and Oracle and its licensors disclaim any express or implied warranty
of fitness for such uses.
§ 6 Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE PRODUCT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Oracle's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Product under this Agreement. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you.
(4) No right, title or interest in or to any trademark, service mark, logo
or trade name of Oracle or its licensors is granted under this Agreement.
§ 7 Third Party Code. Portions of Product may be provided with notices and open source licenses from communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations You may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all the Product.
4 TERMINATION. The Agreement is effective on the date you receive the
Product and remains effective until terminated. Your rights under this
Agreement will terminate immediately without notice from Oracle if
you materially breach it or take any action in derogation of Oracle's
and/or its licensors' rights to the Product. Oracle may terminate this
Agreement immediately should any part of the Product become or in Oracle's
reasonable opinion likely to become the subject of a claim of intellectual
property infringement or trade secret misappropriation. Upon termination,
you will cease use of and destroy all copies of the Product under your
control and confirm compliance in writing to Oracle. Sections 3-9,
inclusive, will survive termination of the Agreement.
§ 8 Export Regulations. All Product, documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you.
5 DISCLAIMER OF WARRANTY. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW,
ORACLE PROVIDES THE PRODUCT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED. WITHOUT LIMITING THE FOREGOING, ORACLE SPECIFICALLY
DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. The entire risk as
to the quality and performance of the Product is with you. Should it
prove defective, you assume the cost of all necessary servicing, repair,
or correction.
§ 9 U.S. Government Restricted Rights. If Product is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Product and accompanying documentation will be only as set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions).
6 LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW,
IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE,
PROFIT, DATA, OR DATA USE, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY
OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO
USE THE PRODUCT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES. In no event will Oracle's liability to you, whether in
contract, tort (including negligence), or otherwise, exceed the amount
paid by you for the Product under this Agreement.
§ 10 Miscellaneous. This Agreement is the entire agreement between you and Oracle relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate. Course of dealing and other standard business conditions of the parties or the industry shall not apply. This Agreement is governed by the substantive and procedural laws of California and you and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts in San Francisco, San Mateo, or Santa Clara counties in California in any dispute arising out of or relating to this Agreement.
7 SEPARATELY LICENSED THIRD PARTY TECHNOLOGY. The Product may contain
or require the use of third party technology that is provided with
the Product. Oracle may provide certain notices to you in the Product's
documentation, readmes or notice files in connection with such third party
technology. Third party technology will be licensed to you either under
the terms of this Agreement or, if specified in the documentation, readmes
or notice files, under Separate Terms. Your rights to use Separately
Licensed Third Party Technology under Separate Terms are not restricted
in any way by this Agreement. However, for clarity, notwithstanding the
existence of a notice, third party technology that is not Separately
Licensed Third Party Technology shall be deemed part of the Product and
is licensed to You under the terms of this Agreement. "Separate Terms"
refers to separate license terms that are specified in the Product's
documentation, readmes or notice files and that apply to Separately
Licensed Third Party Technology. "Separately Licensed Third Party
Technology" refers to third party technology that is licensed under
Separate Terms and not under the terms of this Agreement.
8 EXPORT. Export laws and regulations of the United States and any other
relevant local export laws and regulations apply to the Product. You
agree that such export laws govern your use of the Product (including
technical data) provided under this Agreement, and you agree to comply
with all such export laws and regulations (including "deemed export" and
"deemed re-export" regulations). You agree that no data, information,
and/or Product (or direct product thereof) will be exported, directly or
indirectly, in violation of these laws, or will be used for any purpose
prohibited by these laws including, without limitation, nuclear, chemical,
or biological weapons proliferation, or development of missile technology.
9 U.S. GOVERNMENT END USERS. Oracle programs, including the Product,
any operating system, integrated software, any programs installed on
hardware, and/or documentation, delivered to U.S. Government end users
are "commercial computer software" pursuant to the applicable Federal
Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of
the programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, shall
be subject to license terms and license restrictions applicable to the
programs. No other rights are granted to the U.S. Government.
10 MISCELLANEOUS. This Agreement is the entire agreement between you
and Oracle relating to its subject matter. It supersedes all prior or
contemporaneous oral or written communications, proposals, representations
and warranties and prevails over any conflicting or additional terms
of any quote, order, acknowledgment, or other communication between
the parties relating to its subject matter during the term of this
Agreement. No modification of this Agreement will be binding, unless in
writing and signed by an authorized representative of each party. If any
provision of this Agreement is held to be unenforceable, this Agreement
will remain in effect with the provision omitted, unless omission would
frustrate the intent of the parties, in which case this Agreement will
immediately terminate. This Agreement is governed by the laws of the
State of California, USA, and you and Oracle agree to submit to the
exclusive jurisdiction of, and venue in, the courts of San Francisco
or Santa Clara counties in California in any dispute arising out of or
relating to this Agreement.

View File

@@ -3,5 +3,8 @@
# package name (do not modify unless you know what you're doing)
VIRTUALBOX_EXTENSION_PACK_PCK=Oracle_VM_VirtualBox_Extension_Pack-${SRPMVERSION["virtualbox-extension-pack"]}.vbox-extpack
# guest additions file name
VIRTUALBOX_GUEST_ADDITIONS_PCK=VBoxGuestAdditions_${SRPMVERSION["virtualbox-extension-pack"]}.iso
# package URL (do not modify unless you know what you're doing)
VIRTUALBOX_EXTENSION_PACK_URL=http://download.virtualbox.org/virtualbox/${SRPMVERSION["virtualbox-extension-pack"]}/

View File

@@ -31,6 +31,9 @@ declare -A SRPMVERSION SRPMRELEASE
wget -nv --timeout=10 --tries=2 \
${VIRTUALBOX_EXTENSION_PACK_URL}${VIRTUALBOX_EXTENSION_PACK_PCK} -O ${VIRTUALBOX_EXTENSION_PACK_PCK}
#wget -nv --timeout=10 --tries=2 \
# ${VIRTUALBOX_EXTENSION_PACK_URL}${VIRTUALBOX_GUEST_ADDITIONS_PCK} -O ${VIRTUALBOX_GUEST_ADDITIONS_PCK}
[ -f ${VIRTUALBOX_EXTENSION_PACK_PCK} ] || exit 1
%build
@@ -43,6 +46,9 @@ declare -A SRPMVERSION SRPMRELEASE
install -D -m0644 ${VIRTUALBOX_EXTENSION_PACK_PCK} %{buildroot}%{_libdir}/VirtualBox/extension/${VIRTUALBOX_EXTENSION_PACK_PCK}
cp %{S:0} LICENSE
#install -D -m0644 ${VIRTUALBOX_GUEST_ADDITIONS_PCK} %{buildroot}%{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso
#cp %{S:0} LICENSE
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-*
@@ -50,13 +56,14 @@ rm -rf %{_builddir}/%{name}-*
%post
#VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
VBoxManage extpack install %{_libdir}/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
echo y | VBoxManage extpack install %{_libdir}/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
# not working
:
%files
%defattr(-,root,root)
%{_libdir}/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack
#%{_libdir}/VirtualBox/additions/VBoxGuestAdditions.iso
%doc LICENSE
%changelog

View File

@@ -3,7 +3,7 @@ SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
SRPMVERSION["flashplugin"]="`curl --max-time 20 -s http://www.adobe.com/software/flash/about/ | grep -A2 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A3 "NPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["flashplugin"]=1mamba
fi
# msttcorefonts
@@ -21,21 +21,28 @@ else
SRPMVERSION["spotify"]=0
fi
SRPMRELEASE["spotify"]=1mamba
# sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba
# sun-java
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" -o "$SRPMCHECK" = "sun-java" ]; then
SRPMVERSION["sun-java"]="`curl --max-time 20 -sL https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html|grep "linux-x64_bin.tar.gz"|tail -n1|sed "s|.*jdk-\([.0-9-]*\).*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java"]=1mamba
fi
# virtualbox-extension-pack
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "virtualbox-extension-pack" ]; then
SRPMVERSION["virtualbox-extension-pack"]="`rpm -q VirtualBox 2>/dev/null| cut -d- -f2`"
SRPMRELEASE["virtualbox-extension-pack"]=1mamba
SRPMRELEASE["virtualbox-extension-pack"]=2mamba
fi
# win32codecs
SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*updated to \([0-9.]*\) .*|\1|" 2>/dev/null`"
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A15 "Linux" | grep -A3 "Opera.*PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["chromium-pepper-flash"]=1mamba
fi
# chromium-widevine
if [ "`uname -m`" == "x86_64" ]; then
SRPMVERSION["chromium-widevine"]="`rpm -q chromium | sed "s|chromium-\([0-9.]*\).*|\1|"`"
else
SRPMVERSION["chromium-widevine"]="0"
fi
SRPMRELEASE["chromium-widevine"]=3mamba

View File

@@ -1,2 +1,5 @@
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
# sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba
fi

View File

@@ -1 +1 @@
VERSION = 3.0.5
VERSION = 2022.01.06

5
etc/sudoers.d/yum Normal file
View File

@@ -0,0 +1,5 @@
# Yum install/update without password for sysadmin or packager groups
Cmnd_Alias YUM_CMD = /usr/bin/yum update, /usr/bin/yum install *
%packager ALL = NOPASSWD: YUM_CMD
%sysadmin ALL = NOPASSWD: YUM_CMD

View File

@@ -1 +0,0 @@
export QT_GRAPHICSSYSTEM=raster

View File

@@ -1,21 +0,0 @@
#!/bin/bash
# Copyright (c) 2004-2005 by Silvan Calarco <silvan.calarco@qilinux.it>
# Copyright (c) 2007 by Davide Madrisan <davide.madrisan@gmail.com>
displayfile="$1"
wintitle="$2"
winicon="$3"
tmpfile=`mktemp -q -t ${0##*/}.XXXXXXXX` ||
{ echo "${0##*/}: error: cannot create temporary files." >&2 >> $logfile
{ (exit 1); exit 1; }; }
trap "rm -f $tmpfile" 0 1 2 5 15
sed "s|\x1b\[\S\{1,5\}[mG]||g" $displayfile > $tmpfile
kdialog \
--textbox $tmpfile 800 600 \
--caption "$wintitle"
exit 0

View File

@@ -1,7 +0,0 @@
%lang(es) /opt/kde3/share/locale/es/LC_MESSAGES/mambabase.mo
%lang(it) /opt/kde3/share/locale/it/LC_MESSAGES/mambabase.mo
%lang(es) /opt/kde3/share/locale/es/LC_MESSAGES/mambawelcome.mo
%lang(it) /opt/kde3/share/locale/it/LC_MESSAGES/mambawelcome.mo
%lang(es) /opt/kde3/share/locale/es/LC_MESSAGES/bootrecover.mo
%lang(it) /opt/kde3/share/locale/it/LC_MESSAGES/bootrecover.mo
%lang(it) /usr/share/locale/it/LC_MESSAGES/usbinstall.mo

118
mambabase/FinishPage.ui Normal file
View File

@@ -0,0 +1,118 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>552</width>
<height>392</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>391</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);
background-color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>511</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Installation completed.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="progressLabel">
<property name="geometry">
<rect>
<x>26</x>
<y>130</y>
<width>501</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QFrame" name="installationDetails">
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>511</width>
<height>271</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>511</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If you ran into problems, please check the installation log below for warnings or errors and send the report to the openmamba community at &lt;a href=&quot;https://openmamba.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#2980b9;&quot;&gt;openmamba.org&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View File

@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>552</width>
<height>392</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>391</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);
background-color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="installPageTitle">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>521</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Installation in progress...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QProgressBar" name="progressBar">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>511</width>
<height>41</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
<widget class="QLabel" name="progressLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>511</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QFrame" name="progressFrame">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>511</width>
<height>241</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QTextBrowser" name="progressDetails">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>491</width>
<height>201</height>
</rect>
</property>
<property name="documentTitle">
<string/>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>481</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Installation details:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View File

@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>552</width>
<height>392</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>391</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);
background-color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>511</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Please, select from the boxes below the components that you want to install or update from network.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>531</width>
<height>331</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);</string>
</property>
<property name="title">
<string>Proprietary software installations/updates</string>
</property>
<widget class="QCheckBox" name="inst_nvidia">
<property name="geometry">
<rect>
<x>20</x>
<y>140</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>NVIDIA proprietary video driver (autodetected) from openmamba.org</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="QCheckBox" name="inst_broadcom_sta">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Broadcom-sta proprietary wireless driver from openmamba.org</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_b43">
<property name="geometry">
<rect>
<x>20</x>
<y>240</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Broadcom B43 proprietary firmware from openwrt.org</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_msttcf">
<property name="geometry">
<rect>
<x>20</x>
<y>290</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>MS TrueType core fonts from sourceforge</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_virtualbox">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>VirtualBox extension pack from virtualbox.org</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_widevine">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Widevine extension from google.com</string>
</property>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View File

@@ -0,0 +1,209 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>552</width>
<height>392</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>391</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);
background-color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>511</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Please, select from the boxes below the components that you want to install or update from network.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>531</width>
<height>331</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);</string>
</property>
<property name="title">
<string>openmamba installations/updates</string>
</property>
<widget class="QCheckBox" name="inst_base">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>System base packages (recommended)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="inst_office">
<property name="geometry">
<rect>
<x>20</x>
<y>70</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Office packages (OpenOffice, ...)</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_players">
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Audio and Video players (VLC, kaffeine, ...)</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_multimedia_editing">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Multimedia editing and production (kino, audacity, rosegarden, mixxx, ...)</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_internet">
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Internet communication and p2p</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_graphics">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Graphics software (gimp, digikam, blender, krita)</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_virtualization">
<property name="geometry">
<rect>
<x>20</x>
<y>250</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Emulation and virtualization (VirtualBox, wine)</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_server">
<property name="geometry">
<rect>
<x>20</x>
<y>280</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Base server packages (Apache, PHP, MariaDB, ...)</string>
</property>
</widget>
<widget class="QCheckBox" name="inst_games">
<property name="geometry">
<rect>
<x>20</x>
<y>220</y>
<width>491</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Games (tuxracer, pingus, ksudoku, ...)</string>
</property>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>

183
mambabase/WelcomePage.ui Normal file
View File

@@ -0,0 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>552</width>
<height>380</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>381</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>160</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>491</width>
<height>61</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>openmamba.png</pixmap>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>531</width>
<height>72</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;mambabase - Copyright (c) 2007-2021 by Silvan Calarco&lt;br/&gt;Released under the terms of the GNU GPL v3 license&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://openmamba.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#2980b9;&quot;&gt;openmamba.org&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(239, 240, 241);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>511</width>
<height>131</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This program will complete the installation by adding the minimum recommended set of packages to the system. Additionally it will let you install, upon selection, macro-group of packages and proprietary software components.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;TIP&lt;/span&gt;: you may run this program at any time from the &lt;span style=&quot; font-style:italic;&quot;&gt;openmamba control center&lt;/span&gt; on the tray icon bar.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="progressLabel">
<property name="geometry">
<rect>
<x>10</x>
<y>180</y>
<width>531</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QProgressBar" name="progressBar">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>531</width>
<height>23</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>

2
mambabase/mambabase Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
/usr/bin/python3 /usr/share/openmamba/mambabase/mambabase.py

View File

@@ -3,7 +3,7 @@
Name=mambabase
GenericName=openmamba components installer
GenericName[it]=Installazione componenti base di openmamba
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
Exec=/usr/bin/mambabase
Icon=mamba
Terminal=0
Type=Application

View File

@@ -0,0 +1,28 @@
#!/bin/bash
. /usr/share/openmamba/pkggroups.db
echo kernel_mamba=$KERNEL_MAMBA_PKGS
echo kernel_mamba_64gb=$KERNEL_MAMBA_64GB_PKGS
echo kernel_mamba_x86_64=$KERNEL_MAMBA_X86_64_PKGS
echo kernel_mamba_arm=$KERNEL_MAMBA_ARM_PKGS
echo base=$BASE_PKGS
echo base_extras=$BASE_PKGS_EXTRAS
echo office=$OFFICE_PKGS
echo office_extras=$OFFICE_EXTRA_PKGS
echo multimedia_players=$MULTIMEDIA_PLAYERS_PKGS
echo multimedia_players_extras=$MULTIMEDIA_PLAYERS_EXTRA_PKGS
echo multimedia_editing=$MULTIMEDIA_EDITING_PKGS
echo multimedia_editing_extras=$MULTIMEDIA_EDITING_EXTRA_PKGS
echo audio=$AUDIO_PKGS
echo audio_prof=$AUDIO_PROF_PKGS
echo video=$VIDEO_PKGS
echo internet=$INTERNET_PKGS
echo internet_extra=$INTERNET_EXTRA_PKGS
echo graphics=$GRAPHICS_PKGS
echo graphics_extras=$GRAPHICS_EXTRA_PKGS
echo scientific=$SCIENTIFIC_PKGS
echo games=$GAMES_PKGS
echo games_extra=$GAMES_EXTRA_PKGS
echo virtualization=$VIRTUALIZATION_PKGS
echo server=$SERVER_PKGS
echo devel=$DEVEL_PKGS

View File

@@ -3,7 +3,7 @@ Name=openmamba base components
Name[it]=Componenti base di openmamba
GenericName=openmamba base components installer
GenericName[it]=Installazione dei componenti base di openmamba
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
Exec=/usr/bin/mambabase
Icon=mamba
Terminal=0
Type=Application

File diff suppressed because one or more lines are too long

BIN
mambabase/mambabase.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,215 +0,0 @@
#: _from_rc.cc:1
msgid "openmamba base network installations"
msgstr ""
#: _from_rc.cc:2
msgid "Welcome!"
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#: _from_rc.cc:3 _from_rc.cc:4 _from_rc.cc:5 _from_rc.cc:10 _from_rc.cc:13
#: _from_rc.cc:46
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-09-16 23:16+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: _from_rc.cc:6
msgid "Version 0.1"
msgstr ""
#: _from_rc.cc:7
msgid "GNU/Linux"
msgstr ""
#: _from_rc.cc:8
msgid "www.openmamba.org"
msgstr ""
#: _from_rc.cc:9
msgid ""
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
msgstr ""
#: _from_rc.cc:11
msgid ""
"This program will complete the installation by adding the minimum "
"recommended set of packages to the system. Additionally it will let you "
"install, upon selection, macro-group of packages and proprietary software "
"components.\n"
"<br><b>TIP:</b> you may run this program later from the <i>openmamba control "
"center</i> on the tray icon bar."
msgstr ""
#: _from_rc.cc:12
msgid "<b>Please, press the Next button to continue.</b>"
msgstr ""
#: _from_rc.cc:14
msgid "C&heck again"
msgstr ""
#: _from_rc.cc:15
msgid "Select installations from network"
msgstr ""
#: _from_rc.cc:16 _from_rc.cc:29
msgid ""
"Please, select from the boxes below the components that you want to install "
"or update from network."
msgstr ""
#: _from_rc.cc:17
msgid "openmamba installation/updates"
msgstr ""
#: _from_rc.cc:18
msgid "&Games (turacer, pingus, ksudoku, ...)"
msgstr ""
#: _from_rc.cc:19
msgid "Emulation and virtuali&zation (VirtualBox, kvm, QtEmu, wine, ...)"
msgstr ""
#: _from_rc.cc:20
msgid "Grap&hics software (gimp, digikam, blender, sodipodi, ...)"
msgstr ""
#: _from_rc.cc:21
msgid "Base &development packages (gcc, glibc-devel, kernel sources, ...)"
msgstr ""
#: _from_rc.cc:22
msgid "Base server packages (apache, postfix, vsftpd, php, m&ysql, ...)"
msgstr ""
#: _from_rc.cc:23
msgid "System &base packages (recommended)"
msgstr ""
#: _from_rc.cc:24
msgid "Off&ice packages (OpenOffice, Groupware, PDA Syncronization, ...)"
msgstr ""
#: _from_rc.cc:25
msgid "Audio and Video players (amarok, &xmms, vlc, kaffeine, miro, ...)"
msgstr ""
#: _from_rc.cc:26
msgid ""
"Mu&ltimedia editing and production (kino, audacity, rosegarden, mixxx, ...)"
msgstr ""
#: _from_rc.cc:27
msgid "Internet communication and p2p (&kopete, pidgin, ekiga, aMule, ...)"
msgstr ""
#: _from_rc.cc:28
msgid "Select non Open Source components"
msgstr ""
#: _from_rc.cc:30
msgid ""
"The following components are recommended for optimal desktop use but do not "
"have an Open Source license. \n"
"\n"
"Warning: you'll have to accept a license agreement for most selected "
"packages."
msgstr ""
#: _from_rc.cc:31
msgid "Proprietary software installations/updates"
msgstr ""
#: _from_rc.cc:32
msgid "NVIDIA propri&etary video driver (legacy) from openmamba.org"
msgstr ""
#: _from_rc.cc:33
msgid "AMD/ATI proprietary video driver (le&gacy) from openmamba.org"
msgstr ""
#: _from_rc.cc:34
msgid "&Win32 codecs from mplayerhq.hu"
msgstr ""
#: _from_rc.cc:35
msgid "MS TrueT&ype core fonts from sourceforge"
msgstr ""
#: _from_rc.cc:36
msgid "F&lash plugin from adobe.com"
msgstr ""
#: _from_rc.cc:37
msgid "S&kype from skype.com"
msgstr ""
#: _from_rc.cc:38
msgid "Oracle &Java 7 from oracle.com"
msgstr ""
#: _from_rc.cc:39
msgid "Spot&ify from spotify.com"
msgstr ""
#: _from_rc.cc:40
msgid "Virtualbo&x extension pack from virtualbox.org"
msgstr ""
#: _from_rc.cc:41
msgid "&Broadcom B43 proprietary firmware from openwrt.org"
msgstr ""
#: _from_rc.cc:42
msgid "AMD/ATI proprietary video driver from openmamba.org"
msgstr ""
#: _from_rc.cc:43
msgid "NVIDIA proprietary video &driver from openmamba.org"
msgstr ""
#: _from_rc.cc:44
msgid "Installation"
msgstr ""
#: _from_rc.cc:45
msgid "Details"
msgstr ""
#: _from_rc.cc:47
msgid "Installation in progress..."
msgstr ""
#: _from_rc.cc:48
msgid "Starting installation of selected components..."
msgstr ""
#: _from_rc.cc:49
msgid "End of installation"
msgstr ""
#: _from_rc.cc:50
msgid "Installation completed."
msgstr ""
#: _from_rc.cc:51
msgid ""
"If you ran into ploblems, please check the installation log below for "
"warning or errors and send the report to the openmamba community at <a href="
"\"http://www.openmamba.org\">www.openmamba.org</a>."
msgstr ""

367
mambabase/mambabase.py Executable file
View File

@@ -0,0 +1,367 @@
#!/usr/bin/env python3
# Copyright (c) 2019-2021 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Release under the terms of the GPL version 3 license
from PyQt5 import QtGui, QtCore, QtWidgets, uic
from PyQt5.QtCore import pyqtProperty
from PyQt5.QtCore import QLocale, QTranslator
from pathlib import Path
import gettext
import subprocess
import os
import gi
gi.require_version('PackageKitGlib', '1.0')
from gi.repository import PackageKitGlib as packagekit
DATADIR = os.path.dirname(os.path.realpath((__file__))) + "/"
class MambabaseWizard(QtWidgets.QWizard):
def __init__(self, parent=None):
super(MambabaseWizard, self).__init__(parent)
self.welcomePage = WelcomePage(self)
self.addPage(self.welcomePage)
self.selectGroupsPage = SelectGroupsPage(self)
self.addPage(self.selectGroupsPage)
self.selectExtraPage = SelectExtraPage(self)
self.addPage(self.selectExtraPage)
self.installationPage = InstallationPage(self)
self.addPage(self.installationPage)
self.setWindowTitle(_("openmamba base network installations") +
" - openmamba.org")
self.setFixedSize(571,465)
self.currentIdChanged.connect(self.currentIdChangedSlot)
self.prepareThread = PrepareThread(self)
self.installThread = InstallThread(self, self.selectGroupsPage.pkggroups)
def currentIdChangedSlot(self, currentId):
if currentId == 0:
self.prepareThread.start()
elif currentId == 3:
self.installThread.start()
class PrepareThread(QtCore.QThread):
parent = None
doneSignal = QtCore.pyqtSignal()
updateProgressSignal = QtCore.pyqtSignal(dict)
def __init__(self, parent=None):
super(PrepareThread, self).__init__(parent)
self.parent = parent
self.doneSignal.connect(parent.welcomePage.completeChanged)
self.updateProgressSignal.connect(
parent.welcomePage.updateProgressSlot)
def run(self):
# Update packages list
self.updateProgressSignal.emit({ 'value': 5,
'label': _("Checking installed packages...")})
self.parent.selectGroupsPage.loadPkgGroups()
self.updateProgressSignal.emit({ 'value': 55,
'label': _("Checking installed extra components...")})
self.parent.selectExtraPage.setExtras()
self.updateProgressSignal.emit({ 'value': 100,
'label': _("Done. Please, press the Next button to continue.")})
# Enable back and next buttons
self.parent.welcomePage.done = True
self.doneSignal.emit()
class InstallThread(QtCore.QThread):
parent = None
doneSignal = QtCore.pyqtSignal()
updateProgressSignal = QtCore.pyqtSignal(dict)
pkggroups = {}
def __init__(self, parent=None, pkggroups={}):
super(InstallThread, self).__init__(parent)
self.parent = parent
self.pkggroups = pkggroups
self.doneSignal.connect(parent.installationPage.completeChanged)
self.updateProgressSignal.connect(
parent.installationPage.updateProgressSlot)
def run(self):
install = {}
install_extras = {}
parent = self.parent
# Disable back and next buttons
parent.installationPage.done = False
self.doneSignal.emit()
self.updateProgressSignal.emit(
{ 'value': 1, 'label': _("Starting installation..."),
'details': _("Starting installation...")})
# Update packages list
self.updateProgressSignal.emit({ 'value': 5,
'label': _("Updating packages list..."),
'details': _("Updating packages list...")})
result = subprocess.run(['pkcon', 'refresh'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0:
if result.stdout:
self.updateProgressSignal.emit({
'details': result.stdout.decode('UTF-8')})
else:
if result.stderr:
self.updateProgressSignal.emit({
'details': result.stderr.decode('UTF-8')})
# Perform system update
self.updateProgressSignal.emit({ 'value': 10,
'label': _("Updating installed packages..."),
'details': _("Updating installed packages...")})
result = subprocess.run(['pkcon', 'update', '-y'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0:
if result.stdout:
self.updateProgressSignal.emit({
'details': result.stdout.decode('UTF-8')})
else:
if result.stderr:
self.updateProgressSignal.emit({
'details': result.stderr.decode('UTF-8')})
self.updateProgressSignal.emit({ 'value': 20 })
arch = os.uname()[4]
if arch == 'i686':
arch = 'i586'
elif arch[:3] == 'arm':
arch = 'arm'
client = packagekit.Client()
# Install requested package groups
for group in parent.selectGroupsPage.groups_checkboxes:
install[group] = \
parent.selectGroupsPage.groups_checkboxes[group].isChecked() \
and parent.selectGroupsPage.groups_checkboxes[group].isEnabled()
for inst in install:
if install[inst]:
self.updateProgressSignal.emit({
'label': _("Installing %s group packages..." % inst),
'details': _("Installing %s group packages..." % inst)})
for pkg in self.pkggroups[inst].split():
result =client.resolve(0, (pkg,), None,
self.packagekit_progress_cb, None)
pkgs = result.get_package_array()
for p in pkgs:
if 'installed' in p.get_data().split(':'):
self.updateProgressSignal.emit({
'details': _("Package %s is already installed" % pkg)})
break
if p.get_arch() != arch:
continue
packageid = p.get_name() + ';' + p.get_version() + ';' \
+ p.get_arch() + ';' + p.get_data()
self.updateProgressSignal.emit({
'details': _("Installing package %s" % pkg)})
client.install_packages(False, (packageid, ), None,
self.packagekit_progress_cb, p.get_name())
# Install requested extra packages
for extra in parent.selectExtraPage.extra_checkboxes:
install_extras[extra] = \
parent.selectExtraPage.extra_checkboxes[extra].isChecked() \
and parent.selectExtraPage.extra_checkboxes[extra].isEnabled()
for extra in install_extras:
if install_extras[extra]:
self.updateProgressSignal.emit({
'label': _("Installing %s extra component..." % extra),
'details': _("Installing %s extra component..." % extra)})
if extra == 'nvidia':
result = subprocess.run([
'/usr/share/openmamba/mambabase/nvidia-autoselect-driver',
'-i'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
else:
result = subprocess.run(['/usr/bin/openmamba-netsrpms', extra],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0:
if result.stdout:
self.updateProgressSignal.emit({
'details': result.stdout.decode('UTF-8')})
else:
if result.stderr:
self.updateProgressSignal.emit({
'details': result.stderr.decode('UTF-8')})
# Finished
self.updateProgressSignal.emit({ 'value': 100,
'label': _("Installation finished!"),
'details': _("Installation finished!")})
# Remove any autostart file
try:
file_path = Path.home() / ".config/autostart/mambabase.desktop"
file_path.unlink()
except:
None
# Enable back and next buttons
parent.installationPage.done = True
self.doneSignal.emit()
def packagekit_progress_cb(self, status, typ, data=None):
if status.get_property('package'):
self.updateProgressSignal.emit({
'label': _("Installing %s package (%s)..." %
(status.get_property('package').get_name(),
str(status.get_percentage())))})
class WelcomePage(QtWidgets.QWizardPage):
done = False
def __init__(self, parent=None):
super(WelcomePage, self).__init__(parent)
uic.loadUi(DATADIR + "WelcomePage.ui", self)
self.show()
def isComplete(self):
return self.done
@QtCore.pyqtSlot(dict)
def updateProgressSlot(self, dict):
if 'value' in dict:
self.progressBar.setValue(dict['value'])
if 'label' in dict:
self.progressLabel.setText(dict['label'])
class SelectGroupsPage(QtWidgets.QWizardPage):
groups_checkboxes = {}
pkggroups = {}
def __init__(self, parent=None):
super(SelectGroupsPage, self).__init__(parent)
uic.loadUi(DATADIR + "SelectGroupsPage.ui", self)
self.show()
def loadPkgGroups(self):
self.groups_checkboxes = {
'base': self.inst_base,
'office': self.inst_office,
'multimedia_players': self.inst_players,
'multimedia_editing': self.inst_multimedia_editing,
'internet': self.inst_internet,
'graphics': self.inst_graphics,
'games': self.inst_games,
'virtualization': self.inst_virtualization,
'server': self.inst_server
}
#'devel': self.inst_devel
# Load packages group db into a dict
result = subprocess.run([DATADIR + "mambabase-pkggroups-parser.sh"],
stdout=subprocess.PIPE)
lines = result.stdout.decode('UTF-8').splitlines()
for line in lines:
if line:
(key, val) = line.split("=")
self.pkggroups[key] = val
# Check for groups already installed
client = packagekit.Client()
for group in self.groups_checkboxes:
group_installed = True
if group in self.pkggroups:
for pkg in self.pkggroups[group].split():
result = client.resolve(0, (pkg,), None,
self.packagekit_progress_cb, None)
pkgs_found = result.get_package_array()
package_installed = False
for p in pkgs_found:
if 'installed' in p.get_data().split(':'):
package_installed = True
break
if not package_installed and len(pkgs_found) > 0:
group_installed = False
elif len(pkgs_found) == 0:
print(_("WARNING: package %s from group %s not found in repositories"
% (pkg, group)))
if group_installed:
self.groups_checkboxes[group].setChecked(True)
self.groups_checkboxes[group].setEnabled(False)
def packagekit_progress_cb(self, status, typ, data=None):
pass
class SelectExtraPage(QtWidgets.QWizardPage):
extra_checkboxes = {}
def __init__(self, parent=None):
super(SelectExtraPage, self).__init__(parent)
uic.loadUi(DATADIR + "SelectExtraPage.ui", self)
self.setCommitPage(True)
self.show()
def setExtras(self):
self.extra_checkboxes = {
'nvidia': self.inst_nvidia,
'broadcom_sta': self.inst_broadcom_sta,
'b43-firmware': self.inst_b43,
'msttcorefonts': self.inst_msttcf,
'virtualbox-extension-pack': self.inst_virtualbox,
'chromium-widevine': self.inst_widevine
}
for extra in self.extra_checkboxes:
result = subprocess.run(['/usr/bin/openmamba-netsrpms', '-c', extra],
stdout=subprocess.PIPE)
if result.returncode < 2:
self.extra_checkboxes[extra].setChecked(True)
self.extra_checkboxes[extra].setEnabled(False)
class InstallationPage(QtWidgets.QWizardPage):
done = False
def __init__(self, parent=None):
super(InstallationPage, self).__init__(parent)
uic.loadUi(DATADIR + "InstallationPage.ui", self)
self.setCommitPage(True)
self.show()
def isComplete(self):
if self.done:
self.installPageTitle.setText(
_('<html><head/><body><p align="center">' +
'<span style="font-size:14pt; font-weight:600;">' +
'All done!</span></p></body></html>'))
return self.done
@QtCore.pyqtSlot(dict)
def updateProgressSlot(self, dict):
if 'value' in dict:
self.progressBar.setValue(dict['value'])
if 'label' in dict:
self.progressLabel.setText(dict['label'])
if 'details' in dict:
self.progressDetails.append("<br/>" + dict['details'])
if __name__ == '__main__':
import sys
app = QtWidgets.QApplication(sys.argv)
app.setWindowIcon(QtGui.QIcon(DATADIR + "mambabase.png"))
# UI translations
locale = QLocale.system().name()
language = locale[0:2]
qtTranslator = QTranslator()
if qtTranslator.load("mambabase", "/usr/share/locale/" + locale + "/LC_MESSAGES/"):
app.installTranslator(qtTranslator)
elif qtTranslator.load("mambabase", "/usr/share/locale/" + language + "/LC_MESSAGES/"):
app.installTranslator(qtTranslator)
# PY translations
gettext.install('mambabase', '/usr/share/locale')
wizard = MambabaseWizard()
wizard.show()
sys.exit(app.exec_())

View File

@@ -1,276 +0,0 @@
# openmamba post installation script
# Copyright (c) 2007-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# Released under the terms of the GNU GPLv3 License
VERSION=1.0
TEXTDOMAIN=mambabase
TEXTDOMAINDIR=/opt/kde3/share/locale/
INSTALL_DATE=`date +%Y%m%d-%H%M`
INPUT_FILE=~/.mambabase.conf
LOG_FILE=/var/log/install-mamba-$INSTALL_DATE.log
KERNEL_RELEASE=`uname -r`
PROGRESS_POS=0
PKGGROUPS_DB=/usr/share/openmamba/pkggroups.db
tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/mamba-tempfile
. $PKGGROUPS_DB
function dcop_write() {
[ "$DCOPID" ] && {
[ $2 = -1 ] &&
PROGRESS_POS=$TOTAL_PROGRESS ||
PROGRESS_POS=`expr $PROGRESS_POS + $2`
dcop $DCOPID KommanderIf setText progressText "$1"
dcop $DCOPID KommanderIf setText progressBar $PROGRESS_POS
}
}
function apt_parser() {
while read line; do
[ "$DCOPID" ] && {
echo $line
dcop $DCOPID KommanderIf setText progressText2 "$line"
}
done
}
[ "$1" = "-y" ] || {
echo $"Warning: this script will perform an automatic installation erasing all the"
echo $" contents of device $INSTALL_DEVICE; use $0 -y to actually start the"
echo $" operation."
exit 0
}
function apt_get_parsed() {
sudo smart $@ | apt_parser
}
DCOPID=$2
echo $"\
openmamba installation script - version $VERSION
Copyright (c) 2007-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
"
[ "$DCOPID" ] && dcop $DCOPID KommanderIf setChecked NextBox false
dcop_write $"Starting installation..." 0
[ -r $INPUT_FILE ] || {
echo $"Error: cannot read input file $INPUT_FILE; aborting." >&2
abort
}
. $INPUT_FILE
TOTAL_PROGRESS=10
[ "$INSTALL_BASE" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 35`
[ "$INSTALL_UPDATE" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_OFFICE" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_PLAYERS" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_MULTIMEDIA_EDITING" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_INTERNET" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_GRAPHICS" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_GAMES" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_VIRTUALIZATION" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_SERVER" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_DEVEL" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 15`
[ "$INSTALL_FLASH" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_PEPPERFLASH" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_SKYPE" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_CODECS" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_MSTTCF" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_JAVA" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_NVIDIA" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_FGLRX" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_FGLRX_LEGACY" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_BROADCOM_STA" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_B43" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_SPOTIFY" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$INSTALL_VIRTUALBOX" = "1" ] && TOTAL_PROGRESS=`expr $TOTAL_PROGRESS + 10`
[ "$DCOPID" ] && dcop $DCOPID KommanderIf setMaximum progressBar $TOTAL_PROGRESS
if [ "$INSTALL_BASE" = "1" ]; then
echo $"Installing openmamba base packages"
dcop_write $"Updating packages list..." 10
apt_get_parsed update
dcop_write $"Removing packages that are no longer needed..." 10
rpm -q msysklogd >/dev/null && apt_get_parsed remove -y msysklogd
dcop_write $"Installing/updating openmamba base packages..." 15
rpm -q --whatprovides $BASE_PKGS >/dev/null || apt_get_parsed install -y $BASE_PKGS
# first time: remove mambabase from autostart
[ -e /home/$USER/.kde4/Autostart/mambabase.desktop ] && \
rm -f /home/$USER/.kde4/Autostart/mambabase.desktop
[ -e /home/$USER/.config/autostart/mambabase.desktop ] && \
rm -f /home/$USER/.config/autostart/mambabase.desktop
# ugly workaround: don't have permissions to rm file in /etc/xdg/autostart
[ -e /etc/xdg/autostart/mambabase.desktop ] && \
> /etc/xdg/autostart/mambabase.desktop
fi
if [ "$INSTALL_UPDATE" = "1" ]; then
echo $"Updating installed packages"
dcop_write $"Updating installed packages..." 15
apt_get_parsed upgrade -y
fi
if [ "$INSTALL_OFFICE" = "1" ]; then
echo $"Installing Office packages"
dcop_write $"Installing/updating Office packages..." 15
rpm -q --whatprovides $OFFICE_PKGS >/dev/null || apt_get_parsed install -y $OFFICE_PKGS
fi
if [ "$INSTALL_PLAYERS" = "1" ]; then
echo $"Installing Audio and Video players"
dcop_write $"Installing/updating Audio and Video players..." 15
rpm -q --whatprovides $MULTIMEDIA_PLAYERS_PKGS >/dev/null || apt_get_parsed install -y $MULTIMEDIA_PLAYERS_PKGS
fi
if [ "$INSTALL_MULTIMEDIA_EDITING" = "1" ]; then
echo $"Installing multimedia editing and production packages"
dcop_write $"Installing/updating multimedia editing and production packages..." 15
rpm -q --whatprovides $MULTIMEDIA_EDITING_PKGS >/dev/null || apt_get_parsed install -y $MULTIMEDIA_EDITING_PKGS
fi
if [ "$INSTALL_INTERNET" = "1" ]; then
echo $"Installing Internet packages"
dcop_write $"Installing/updating Internet packages..." 15
rpm -q --whatprovides $INTERNET_PKGS >/dev/null || apt_get_parsed install -y $INTERNET_PKGS
fi
if [ "$INSTALL_GRAPHICS" = "1" ]; then
echo $"Installing Graphics packages"
dcop_write $"Installing/updating Graphics packages..." 15
rpm -q --whatprovides $GRAPHICS_PKGS >/dev/null || apt_get_parsed install -y $GRAPHICS_PKGS
fi
if [ "$INSTALL_GAMES" = "1" ]; then
echo $"Installing Games packages"
dcop_write $"Installing/updating Games packages..." 15
rpm -q --whatprovides $GAMES_PKGS >/dev/null || apt_get_parsed install -y $GAMES_PKGS
fi
if [ "$INSTALL_VIRTUALIZATION" = "1" ]; then
echo $"Installing Virtualization packages"
dcop_write $"Installing/updating Virtualization packages..." 15
rpm -q --whatprovides $VIRTUALIZATION_PKGS >/dev/null || apt_get_parsed install -y $VIRTUALIZATION_PKGS
fi
if [ "$INSTALL_SERVER" = "1" ]; then
echo $"Installing Server packages"
dcop_write $"Installing/updating Server packages..." 15
rpm -q --whatprovides $SERVER_PKGS >/dev/null || apt_get_parsed install -y $SERVER_PKGS
fi
if [ "$INSTALL_DEVEL" = "1" ]; then
echo $"Installing openmamba packages"
dcop_write $"Installing/updating Development packages..." 15
rpm -q --whatprovides $DEVEL_PKGS >/dev/null || apt_get_parsed install -y $DEVEL_PKGS
fi
if [ "$INSTALL_NVIDIA" = "1" ]; then
echo $"Installing NVIDIA proprietary video driver (autodetected) packages"
dcop_write $"Installing/updating NVIDIA proprietary video driver (autodetected) packages..." 10
NVIDIA_DETECTED=$(/sbin/nvidia-autoselect-driver | sed "s|.* ||")
rpm -q --whatprovides $NVIDIA_DETECTED >/dev/null || apt_get_parsed install -y $NVIDIA_DETECTED
fi
if [ "$INSTALL_FGLRX" = "1" ]; then
echo $"Installing AMD/ATI proprietary video driver packages"
dcop_write $"Installing/updating AMD/ATI proprietary video driver packages..." 10
rpm -q --whatprovides xorg-drv-video-fglrx >/dev/null || apt_get_parsed install -y xorg-drv-video-fglrx
fi
if [ "$INSTALL_FGLRX_LEGACY" = "1" ]; then
echo $"Installing AMD/ATI proprietary (legacy) video driver packages"
dcop_write $"Installing/updating AMD/ATI proprietary (legacy) video driver packages..." 10
rpm -q --whatprovides xorg-drv-video-fglrx-legacy >/dev/null || apt_get_parsed install -y xorg-drv-video-fglrx-legacy
fi
if [ "$INSTALL_BROADCOM_STA" = "1" ]; then
echo $"Installing Broadcom proprietary wireless driver"
dcop_write $"Installing Broadcom proprietary wireless driver..." 10
rpm -q --whatprovides broadcom-sta >/dev/null || apt_get_parsed install -y broadcom-sta
fi
if [ "$INSTALL_B43" = "1" ]; then
echo $"Installing Broadcom B43 proprietary firmware"
dcop_write $"Installing Broadcom B43 proprietary firmware..." 10
/usr/bin/openmamba-netsrpms b43-firmware
fi
if [ "$INSTALL_SPOTIFY" = "1" ]; then
echo $"Installing Spotify"
dcop_write $"Installing Spotify..." 10
/usr/bin/openmamba-netsrpms spotify
fi
if [ "$INSTALL_VIRTUALBOX" = "1" ]; then
echo $"Installing Virtualbox extension pack"
dcop_write $"Installing Virtualbox extension pack..." 10
/usr/bin/openmamba-netsrpms virtualbox-extension-pack
fi
if [ "$INSTALL_FLASH" = "1" ]; then
echo $"Installing flash plugin"
dcop_write $"Installing Flash plugin..." 10
/usr/bin/openmamba-netsrpms flashplugin
echo $"Executing nspluginscan"
nspluginscan
rpm -q gnash && {
echo $"Removing gnash"
sudo rpm -e gnash
}
fi
if [ "$INSTALL_PEPPERFLASH" = "1" ]; then
echo $"Installing pepper-flash plugin"
dcop_write $"Installing Pepper-Flash plugin..." 10
/usr/bin/openmamba-netsrpms chromium-pepper-flash
fi
if [ "$INSTALL_CODECS" = "1" ]; then
echo $"Installing win32 codecs"
dcop_write $"Installing Win32 codecs..." 10
/usr/bin/openmamba-netsrpms win32codecs
fi
if [ "$INSTALL_MSTTCF" = "1" ]; then
dcop_write $"Installing MS TrueType core fonts..." 10
/usr/bin/openmamba-netsrpms msttcorefonts
fi
if [ "$INSTALL_SKYPE" = "1" ]; then
rpm -q libqt4 >/dev/null || apt_get_parsed install -y libqt4
dcop_write $"Installing Skype software..." 10
/usr/bin/openmamba-netsrpms skype
fi
if [ "$INSTALL_JAVA" = "1" ]; then
dcop_write $"Installing Oracle Java 7..." 10
/usr/bin/openmamba-netsrpms sun-java7
fi
if [ "$INSTALL_JRE" = "1" ]; then
dcop_write $"Installing Sun Java Runtime Environment..." 10
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS
fi
if [ "$INSTALL_JDK" = "1" ]; then
dcop_write $"Installing Sun Java Developers Kit..." 10
apt_get_parsed install -y $SUN_JAVA_PKGS
fi
dcop_write $"Installation completed." -1
[ "$DCOPID" ] && {
dcop $DCOPID KommanderIf setText progressText2 $"Press next to see the installation log and exit."
dcop $DCOPID KommanderIf setChecked NextBox true
}
echo $"Installation completed."
exit 0

147
mambabase/mambabase_it.ts Normal file
View File

@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it_IT">
<context>
<name>Form</name>
<message>
<location filename="FinishPage.ui" line="20"/>
<location filename="InstallationPage.ui" line="20"/>
<location filename="SelectExtraPage.ui" line="20"/>
<location filename="SelectGroupsPage.ui" line="20"/>
<location filename="WelcomePage.ui" line="20"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="FinishPage.ui" line="60"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Installation completed.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Installazione completata.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="FinishPage.ui" line="105"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If you ran into problems, please check the installation log below for warnings or errors and send the report to the openmamba community at &lt;a href=&quot;https://openmamba.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#2980b9;&quot;&gt;openmamba.org&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Se incontri dei problemmi per favore verifica i messaggi di avviso o errore riportati nel registro di installazione sottostante ed invia un report usando l&apos;apposito form sul sito &lt;a href=&quot;https://openmamba.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#2980b9;&quot;&gt;openmamba.org&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="InstallationPage.ui" line="60"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Installation in progress...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Installazione in corso...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="InstallationPage.ui" line="133"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Installation details:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Dettagli dell&apos;installazione:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="60"/>
<location filename="SelectGroupsPage.ui" line="60"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Please, select from the boxes below the components that you want to install or update from network.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Per favore, seleziona usando i checkbox sottostanti i componenti che desideri installare o aggiornare dalla rete.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="79"/>
<source>Proprietary software installations/updates</source>
<translation>Installazione/aggiornamento di componenti software proprietari</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="91"/>
<source>NVIDIA proprietary video driver (autodetected) from openmamba.org</source>
<translation>Driver video proprietario NVIDIA (rilevato automaticamente) da openmamba.org</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="107"/>
<source>Broadcom-sta proprietary wireless driver from openmamba.org</source>
<translation>Driver wireless proprietario Broadcom-sta da openmamba.org</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="120"/>
<source>Broadcom B43 proprietary firmware from openwrt.org</source>
<translation>Firmware proprietario per Broadcom B43 da openwrt.org</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="133"/>
<source>MS TrueType core fonts from sourceforge</source>
<translation>MS TrueType core fonts da sourceforge</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="146"/>
<source>VirtualBox extension pack from virtualbox.org</source>
<translation>VirtualBox extension pack da virtualbox.org</translation>
</message>
<message>
<location filename="SelectExtraPage.ui" line="159"/>
<source>Widevine extension from google.com</source>
<translation>Estensione Widevine da google.com</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="79"/>
<source>openmamba installations/updates</source>
<translation>Installazioni/aggiornamenti di openmamba</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="91"/>
<source>System base packages (recommended)</source>
<translation>Pacchetti base di sistema (raccomandato)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="107"/>
<source>Office packages (OpenOffice, ...)</source>
<translation>Pacchetti per l&apos;ufficio (OpenOffice, ...)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="120"/>
<source>Audio and Video players (VLC, kaffeine, ...)</source>
<translation>Player audio e video (VLC, kaffeine, ...)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="133"/>
<source>Multimedia editing and production (kino, audacity, rosegarden, mixxx, ...)</source>
<translation>Editing e produzione multimediale (kino, audacity, rosegarden, mixxx, ...)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="146"/>
<source>Internet communication and p2p</source>
<translation>Internet, comunicazioni e p2p</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="159"/>
<source>Graphics software (gimp, digikam, blender, krita)</source>
<translation>Software per la grafica (gimp, digikam, blender, krita)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="172"/>
<source>Emulation and virtualization (VirtualBox, wine)</source>
<translation>Emulazione e virtualizzazione (VirtualBox, wine)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="185"/>
<source>Base server packages (Apache, PHP, MariaDB, ...)</source>
<translation>Base di pacchetti per server web (Apache, PHP, MariaDB, ...)</translation>
</message>
<message>
<location filename="SelectGroupsPage.ui" line="198"/>
<source>Games (tuxracer, pingus, ksudoku, ...)</source>
<translation>Giochi (tuxracer, pingus, ksudoku, ...)</translation>
</message>
<message>
<location filename="WelcomePage.ui" line="93"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;mambabase - Copyright (c) 2007-2021 by Silvan Calarco&lt;br/&gt;Released under the terms of the GNU GPL v3 license&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;mambabase - Copyright (c) 2007-2021 by Silvan Calarco&lt;br/&gt;Rilasciato secondo i termini della licenza GNU GPL v3&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="WelcomePage.ui" line="103"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://openmamba.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#2980b9;&quot;&gt;openmamba.org&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
</message>
<message>
<location filename="WelcomePage.ui" line="141"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This program will complete the installation by adding the minimum recommended set of packages to the system. Additionally it will let you install, upon selection, macro-group of packages and proprietary software components.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;TIP&lt;/span&gt;: you may run this program at any time from the &lt;span style=&quot; font-style:italic;&quot;&gt;openmamba control center&lt;/span&gt; on the tray icon bar.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Questa applicazione completerà l&apos;installazione aggiungendo al sistema un set minimo di pacchetti raccomandati. In aggiunta permette di installare, se selezionati, gruppi di pacchetti e componenti properietary aggiuntivi.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;TIP&lt;/span&gt;: puoi eseguire questa applicazione in qualunque momento dal &lt;span style=&quot; font-style:italic;&quot;&gt;centro di controllo di openmamba&lt;/span&gt; sulla barra delle icone.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="WelcomePage.ui" line="160"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,91 @@
#!/bin/bash
#
# nVidia legacy test script
#
# Copyright (c) 2007-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Released under the GNU GPL v.3 license
#
[ "$1" = "-i" ] && DO_INSTALL=1
PCIID=`/usr/sbin/lspci -n | grep " 0300: 10de:" | awk '{ print $3 }'`
[ "$PCIID" ] || {
echo "No NVIDIA PCI device found!" >&2
exit 1
}
DEVID=`echo ${PCIID/*:/} | tr '[:lower:]' '[:upper:]'`
case $DEVID in
0191|0193|0194|0197|019D|019E|0400|0401|0402|0403|\
0404|0405|0406|0407|0408|0409|040A|040B|040C|040D|\
040E|040F|0410|0420|0421|0422|0423|0424|0425|0426|\
0427|0428|0429|042A|042B|042C|042D|042E|042F|05E0|\
05E1|05E2|05E3|05E6|05E7|05EA|05EB|05ED|05F8|05F9|\
05FD|05FE|05FF|0600|0601|0602|0603|0604|0605|0606|\
0607|0608|0609|060A|060B|060C|060D|060F|0610|0611|\
0612|0613|0614|0615|0617|0618|0619|061A|061B|061C|\
061D|061E|061F|0621|0622|0623|0625|0626|0627|0628|\
062A|062B|062C|062D|062E|0630|0631|0632|0635|0637|\
0638|063A|0640|0641|0643|0644|0645|0646|0647|0648|\
0649|064A|064B|064C|0651|0652|0653|0654|0655|0656|\
0658|0659|065A|065B|065C|06E0|06E1|06E2|06E3|06E4|\
06E5|06E6|06E7|06E8|06E9|06EA|06EB|06EC|06EF|06F1|\
06F8|06F9|06FA|06FB|06FD|06FF|0840|0844|0845|0846|\
0847|0848|0849|084A|084B|084C|084D|084F|0860|0861|\
0862|0863|0864|0865|0866|0867|0868|0869|086A|086C|\
086D|086E|086F|0870|0871|0872|0873|0874|0876|087A|\
087D|087E|087F|08A0|08A2|08A3|08A4|08A5|0A20|0A22|\
0A23|0A26|0A27|0A28|0A29|0A2A|0A2B|0A2C|0A2D|0A32|\
0A34|0A35|0A38|0A3C|0A60|0A62|0A63|0A64|0A65|0A66|\
0A67|0A68|0A69|0A6A|0A6C|0A6E|0A6F|0A70|0A71|0A72|\
0A73|0A74|0A75|0A76|0A78|0A7A|0A7C|0CA0|0CA2|0CA3|\
0CA4|0CA5|0CA7|0CA8|0CA9|0CAC|0CAF|0CB0|0CB1|0CBC|\
10C0|10C3|10C5|10D8) ALT_SUFFIX='340' ;;
0040|0041|0042|0043|0044|0045|0046|0047|0048|004E|\
0090|0091|0092|0093|0095|0098|0099|009D|00C0|00C1|\
00C2|00C3|00C8|00C9|00CC|00CD|00CE|00F1|00F2|00F3|\
00F4|00F5|00F6|00F8|00F9|0140|0141|0142|0143|0144|\
0145|0146|0147|0148|0149|014A|014C|014D|014E|014F|\
0160|0161|0162|0163|0164|0165|0166|0167|0168|0169|\
016A|01D0|01D1|01D2|01D3|01D6|01D7|01D8|01DA|01DB|\
01DC|01DD|01DE|01DF|0211|0212|0215|0218|0221|0222|\
0240|0241|0242|0244|0245|0247|0290|0291|0292|0293|\
0294|0295|0297|0298|0299|029A|029B|029C|029D|029E|\
029F|02E0|02E1|02E2|02E3|02E4|038B|0390|0391|0392|\
0393|0394|0395|0397|0398|0399|039C|039E|03D0|03D1|\
03D2|03D5|03D6|0531|0533|053A|053B|053E|07E0|07E1|\
07E2|07E3|07E5) ALT_SUFFIX='304' ;;
00FA|00FB|00FC|00FD|00FE|0301|0302|0308|0309|0311|\
0312|0314|031A|031B|031C|0320|0321|0322|0323|0324|\
0325|0326|0327|0328|032A|032B|032C|032D|0330|0331|\
0332|0333|0334|0338|033F|0341|0342|0343|0344|0347|\
0348|034C|034E) ALT_SUFFIX='173' ;;
0110|0111|0112|0113|0170|0171|0172|0173|0174|0175|\
0176|0177|0178|0179|017A|017C|017D|0181|0182|0183|\
0185|0188|018A|018B|018C|01A0|01F0|0200|0201|0202|\
0203|0250|0251|0253|0258|0259|025B|0280|0281|0282|\
0286|0288|0289|028C) ALT_SUFFIX='96' ;;
0020|0028|0029|002C|002D|00A0|0100|0101|0103|0150|\
0151|0152|0153) ALT_SUFFIX='71' ;;
*) ALT_SUFFIX='' ;;
esac
case $ALT_SUFFIX in
340) REC_DRIVER='xorg-drv-video-nvidia_340' ;;
304) REC_DRIVER='xorg-drv-video-nvidia_304' ;;
173|96|71) REC_DRIVER='nouveau' ;;
*) REC_DRIVER='xorg-drv-video-nvidia' ;;
esac
echo "NVIDIA recommended driver is $REC_DRIVER" >&2
if [ "$DO_INSTALL" = "1" ]; then
rpm -q $REC_DRIVER || pkcon install -y $REC_DRIVER
fi

BIN
mambabase/openmamba.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -1,352 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#: _from_rc.cc:3 _from_rc.cc:4 _from_rc.cc:5 _from_rc.cc:12 _from_rc.cc:42
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-12-27 22:05+0100\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: _from_rc.cc:1
msgid "openmamba base network installations"
msgstr "Instalación de openmamba desde la red"
#: _from_rc.cc:2
msgid "Welcome!"
msgstr "Bienvenido!"
#: _from_rc.cc:6
msgid "Version 0.1"
msgstr ""
#: _from_rc.cc:7
msgid "www.openmamba.org"
msgstr ""
#: _from_rc.cc:8 mamba.kmdr:294
msgid "version"
msgstr ""
#: _from_rc.cc:9
msgid ""
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
msgstr ""
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Expedido según los terminos de la licencia GNU GPL versione 3"
#: _from_rc.cc:10
msgid "GNU/Linux distribution"
msgstr "Distribución GNU/Linux"
#: _from_rc.cc:11
msgid ""
"This program will complete the installation by adding the minimum "
"recommended set of packages to the system. Additionally it will let you "
"install, upon selection, macro-group of packages and proprietary software "
"components.\n"
"<br><b>TIP:</b> you may run this program later from the <i>openmamba control "
"center</i> on the tray icon bar."
msgstr ""
"Este programa completará la instalación añadiendo un set minimo de "
"paquetes recomendados por el sistema. Además permite seleccionar e instalar "
"macro-grupos de paquetes y componentes de software propietario.\n"
"<br><b>SUGERENCIA:</b> puedes ejecutar este programa en cualquier momento desde el <i>"
"Centro de control openmamba</i> en la barra de herramientas."
#: _from_rc.cc:13
msgid "Conf&igure"
msgstr "Conf&igura"
#: _from_rc.cc:12
msgid "<b>Please, press the Next button to continue.</b>"
msgstr "<b>Pulsa Siguiente para continuar.</b>"
#: _from_rc.cc:13
msgid "Error: could not contact repository host (www.openmamba.org)."
msgstr "Error: imposible contactar el directorio (www.openmamba.org)."
#: _from_rc.cc:13
msgid "Please check your network configuration and press the button below to try again."
msgstr "Verifica la configuración de la red y pulsa abajo para volver a probar."
#: _from_rc.cc:13
msgid "<b>Press the Next button to continue.</b>"
msgstr "<p>Pulsa Siguiente para continuar.</b>"
#: _from_rc.cc:14
msgid "C&heck again"
msgstr "Controla de nuevo"
#: _from_rc.cc:15
msgid "Select installations from network"
msgstr "Selección de la instalación de la red"
#: _from_rc.cc:16 _from_rc.cc:30
msgid ""
"Please, select from the boxes below the components that you want to install "
"or update from network."
msgstr ""
"Selecciona en las casillas situadas abajo los componentes que deseas instalar "
"o actualizar de la red."
#: _from_rc.cc:17
msgid "openmamba installation/updates"
msgstr "Instalación/actualización de openmamba"
#: _from_rc.cc:18
msgid "Off&ice packages (OpenOffice, Groupware, PDA Syncronization, ...)"
msgstr "Programas para la &oficina (OpenOffice, Sincronización, ...)"
#: _from_rc.cc:19
msgid "Audio and Video players (amarok, &xmms, vlc, kaffeine, miro, ...)"
msgstr "Player audio e video (amarok, xmms, vlc, kaffeine, miro, ...)"
#: _from_rc.cc:20
msgid "Mu&ltimedia editing and production (kino, audacity, rosegarden, mixxx, ...)"
msgstr "Produción multimedia (kino, audacity, rosegarden, mixxx, ...)"
#: _from_rc.cc:21
msgid "Internet communication and p2p (&kopete, pidgin, ekiga, aMule, ...)"
msgstr "Programas para internet (&kopete, pidgin, ekiga, aMule, ...)"
#: _from_rc.cc:23
msgid "Grap&hics software (gimp, digikam, blender, sodipodi, ...)"
msgstr "Programas para la gra&fica (gimp, digikam, blender, sodipodi, ...)"
#: _from_rc.cc:24
msgid "&Games (turacer, pingus, ksudoku, ...)"
msgstr "&Juegos (tuxracer, pingus, ksudoku, ...)"
#: _from_rc.cc:25
msgid "Emulation and virtuali&zation (VirtualBox, kvm, QtEmu, wine, ...)"
msgstr "Emulatores y virtuali&zadores (VirtualBox, kvm, QtEmu, wine, ...)"
#: _from_rc.cc:22
msgid "Base server packages (apache, postfix, vsftpd, php, m&ysql, ...)"
msgstr "Servicios de red base (apache, postfix, vsftpd, php, mysql, ...)"
#: _from_rc.cc:26
msgid "Base development packages (gcc, glibc-devel, kernel sources, ...)"
msgstr "Ambiente de desarrollo base (gcc, glibc-devel, sorgenti del kernel, ...)"
#: _from_rc.cc:27
msgid "S&ystem update"
msgstr "Actualización del &sistema"
#: _from_rc.cc:28
msgid "System &base packages (recommended)"
msgstr "Paquetes &base del sistema (raccomandato)"
#: _from_rc.cc:29
msgid "Select non Open Source components"
msgstr "Seleccionar los componentes no Open Source"
#: _from_rc.cc:31
msgid ""
"The following components are recommended for optimal desktop use but do not "
"have an Open Source license. \n"
"WARNING: you'll have to accept a license agreement for each selected "
"packages."
msgstr ""
"Los siguientes componentes son recomendados para un uso óptimo del desktop pero "
"no tienen una licencia Open Source. \n"
"ATENCION: debes aceptar una licencia específica para cada uno de los "
"componentes seleccionados."
#: _from_rc.cc:32
msgid "Non Open Source installations/updates"
msgstr "Instalación/actualización de software non Open Source"
#: _from_rc.cc:33
msgid "F&lash plugin from adobe.com"
msgstr "Plugin flash desde adobe.com"
#: _from_rc.cc:34
msgid "&Win32 codecs from mplayerhq.hu"
msgstr "Codec &Win32 desde mplayerhq.hu"
#: _from_rc.cc:35
msgid "MS TrueT&ype core fonts from sourceforge"
msgstr "Font MS TrueType desde sourceforge"
#: _from_rc.cc:38
msgid "Skype from skype.com"
msgstr "Skype desde skype.com"
#: _from_rc.cc:36
msgid "Sun Java Developers &Kit (DLJ license)"
msgstr "Sun Java Developers &Kit (licenza DLJ)"
#: _from_rc.cc:37
msgid "Sun &Java Runtime Environment (DLJ license)"
msgstr "Sun &Java Runtime Environment (licenza DLJ)"
#: _from_rc.cc:38
msgid "Installation"
msgstr "Instalación"
#: _from_rc.cc:39
msgid "Installation in progress..."
msgstr "Instalación en curso..."
#: _from_rc.cc:40
msgid "Starting installation of selected components..."
msgstr "Inicio de la instalación de los componentes seleccionados..."
#: _from_rc.cc:41
msgid "Details"
msgstr "Detalles"
#: _from_rc.cc:43
msgid "End of installation"
msgstr "Fin de la instalación"
#: _from_rc.cc:44
msgid "Installation completed."
msgstr "Instalación completa."
#: _from_rc.cc:45
msgid ""
"If you ran into ploblems, please check the installation log below for "
"warning or errors and send the report to the openmamba community at <a href="
"\"http://www.openmamba.org\">www.openmamba.org</a>."
msgstr ""
"Si has encontrado problemas, por favor controla si el log de instalación "
"reporta mensajes de error y envia una relación a la comunidad de openmamba "
"<a href=\"http://www.openmamba.org\">www.openmamba.org</a>."
#: mambabase.sh:37
msgid "Warning: this script will perform an automatic installation erasing all the"
msgstr "Atención: este script efectuará una instalación automática cancelando todos"
#: mambabase.sh:38
msgid " contents of device $INSTALL_DEVICE; use $0 -y to actually start the"
msgstr " los contenidos del dispositivo $INSTALL_DEVICE; usa $0 -y para iniciar"
#: mambabase.sh:39
msgid " operation."
msgstr " operación."
#: mambabase.sh:49
msgid ""
"openmamba installation script - version $VERSION\n"
"Copyright (c) 2007-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>\n"
msgstr ""
"Script de instalación de openmamba - versión $VERSION\n"
"Copyright (c) 2007-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>\n"
#: mambabase.sh:55
msgid "Starting installation..."
msgstr "Inicio de la instalación..."
#: mambabase.sh:58
msgid "Error: cannot read input file $INPUT_FILE; aborting."
msgstr "Error: imposible leer el fichero $INPUT_FILE; salir."
#: mambabase.sh:85
msgid "Installing openmamba base packages"
msgstr "Instalación de los paquetes de openmamba"
#: mambabase.sh:86
msgid "Updating packages list..."
msgstr "Actualización de la lista de los paquetes..."
#: mambabase.sh:89
msgid "Removing packages that are no longer needed..."
msgstr "Eliminando los paquetes no necesarios..."
#: mambabase.sh:99
msgid "Installing/updating openmamba base packages..."
msgstr "Instalación/actualización de los paquetes base de openmamba..."
#: mambabase.sh:104
msgid "Updating installed packages"
msgstr "Actualización de los paquetes instalados"
#: mambabase.sh:105
msgid "Updating installed packages..."
msgstr "Actualización de los paquetes instalados..."
#: mambabase.sh:110
msgid "Installing Office packages"
msgstr "Instalación de los programas para la oficina"
#: mambabase.sh:111
msgid "Installing/updating Office packages..."
msgstr "Instalación/actualización de los programas para la oficina..."
#: mambabase.sh:122
msgid "Installing Audio and Video players"
msgstr "Instalación de los reproductores audio y video"
#: mambabase.sh:123
msgid "Installing/updating Audio and Video players..."
msgstr "Instalación/actualización de los reproductores audio y video..."
#: mambabase.sh:116
msgid "Installing multimedia editing and production packages"
msgstr "Instalación de los programas para la edición y montaje audio y video"
#: mambabase.sh:117
msgid "Installing/updating multimedia editing and production packages..."
msgstr "Instalación/actualización de los programas para la edición y el montaje audio y video..."
#: mambabase.sh:134
msgid "Installing Internet packages"
msgstr "Instalación de los paquetes para internet"
#: mambabase.sh:135
msgid "Installing/updating Internet packages..."
msgstr "Instalación/actualización de los programas para internet..."
#: mambabase.sh:140
msgid "Installing Graphics packages"
msgstr "Instalación de los programas de grafico"
#: mambabase.sh:141
msgid "Installing/updating Graphics packages..."
msgstr "Instalación/actualización de los programas de grafico..."
#: mambabase.sh:146
msgid "Installing Games packages"
msgstr "Instalación de los juegos"
#: mambabase.sh:147
msgid "Installing/updating Games packages..."
msgstr "Instalación/actualización de los juegos..."
#: mambabase.sh:152
msgid "Installing Virtualization packages"
msgstr "Instalación de los programas para la virtualización"
#: mambabase.sh:153
msgid "Installing/updating Virtualization packages..."
msgstr "Instalación/actualización de los programas para la virtualización..."
#: mambabase.sh:128
msgid "Installing Server packages"
msgstr "Instalación de los paquetes para el servidor de red"
#: mambabase.sh:129
msgid "Installing/updating Server packages..."
msgstr "Instalación/actualización de los paquetes para el servidor de red..."
#: mambabase.sh:158
msgid "Installing Development packages"
msgstr "Instalación de los paquetes para el desarrollo"
#: mambabase.sh:159
msgid "Installing/updating Development packages..."
msgstr "Instalación/actualización de los paquetes para el desarrollo..."
#: mambabase.sh:164
msgid "Installing flash plugin"
msgstr "Instalación del plugin flash"
#: mambabase.sh:165
msgid "Installing Flash plugin..."
msgstr "Instalación del plugin flash..."
#: mambabase.sh:167
msgid "Executing nspluginscan"
msgstr "Ejecución nspluginscan"
#: mambabase.sh:170
msgid "Removing gnash"
msgstr "Eliminando gnash"
#: mambabase.sh:176
msgid "Installing win32 codecs"
msgstr "Instalación de los codec win32"
#: mambabase.sh:177
msgid "Installing Win32 codecs..."
msgstr "Instalación de los codec win32..."
#: mambabase.sh:182
msgid "Installing MS TrueType core fonts..."
msgstr "Instalación de los font MS TrueType..."
#: mambabase.sh:187
msgid "Installing Sun Java Developers Kit..."
msgstr "Instalación del Sun Java Developers Kit"
#: mambabase.sh:191
msgid "Installing Sun Java Runtime Environment..."
msgstr "Instalación del Sun Java Runtime Environment..."
#: mambabase.sh:197
msgid "Press next to see the installation log and exit."
msgstr "Pulsa Siguiente para ver el log de la instalación y salir."

View File

@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# mambabase translations
# Copyright (C) 2021 Silvan Calarco <silvan.calarco@mambasoft.it>
# This file is distributed under the same license as the mambabase package.
# Silvan Calarco <silvan.calarco@mambasoft.it>, 2021.
#
#: _from_rc.cc:3 _from_rc.cc:4 _from_rc.cc:5 _from_rc.cc:12 _from_rc.cc:42
#, fuzzy
@@ -9,344 +9,79 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-12-27 22:05+0100\n"
"POT-Creation-Date: 2021-09-19 11:05+0100\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: _from_rc.cc:1
msgid "openmamba base network installations"
msgstr "Installazioni base di openmamba dalla rete"
#: _from_rc.cc:2
msgid "Welcome!"
msgstr "Benvenuto!"
#: _from_rc.cc:6
msgid "Version 0.1"
msgstr ""
#: _from_rc.cc:7
msgid "www.openmamba.org"
msgstr ""
#: _from_rc.cc:8 mamba.kmdr:294
msgid "version"
msgstr ""
#: _from_rc.cc:9
#: mambabase.py:338
msgid ""
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
"<html><head/><body><p align=\"center\"><span style=\"font-size:14pt; font-"
"weight:600;\">All done!</span></p></body></html>"
msgstr ""
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Rilasciato secondo i termini della licenza GNU GPL versione 3"
"<html><head/><body><p align=\"center\"><span style=\"font-size:14pt; font-"
"weight:600;\">Tutto fatto!</span></p></body></html>"
#: _from_rc.cc:10
msgid "GNU/Linux distribution"
msgstr "Distribuzione GNU/Linux"
#: mambabase.py:65
msgid "Checking installed extra components..."
msgstr "Controllo dei componenti aggiuntivi installati..."
#: _from_rc.cc:11
msgid ""
"This program will complete the installation by adding the minimum "
"recommended set of packages to the system. Additionally it will let you "
"install, upon selection, macro-group of packages and proprietary software "
"components.\n"
"<br><b>TIP:</b> you may run this program later from the <i>openmamba control "
"center</i> on the tray icon bar."
msgstr ""
"Questo programma completerà l'installazione aggiungendo un set minimo di "
"pacchetti raccomandati per il sistema. Inoltre permette di selezionare ed installare "
"macro-gruppi di pacchetti e componenti di software proprietario.\n"
"<br><b>SUGGERIMENTO:</b> puoi eseguire questo programma in qualunque momento dal <i>"
"Centro di controllo openmamba</i> sulla tray icon bar."
#: mambabase.py:62
msgid "Checking installed packages..."
msgstr "Controllo dei pacchetti installati..."
#: _from_rc.cc:13
msgid "Conf&igure"
msgstr "Conf&igura"
#: mambabase.py:68
msgid "Done. Please, press the Next button to continue."
msgstr "Fatto. Premi il pulsante Successivo per continuare."
#: _from_rc.cc:12
msgid "<b>Please, press the Next button to continue.</b>"
msgstr "<b>Premi il pulsante Successivo per continuare.</b>"
#: mambabase.py:201 mambabase.py:202
msgid "Installation finished!"
msgstr "Installazione terminata!"
#: _from_rc.cc:13
msgid "Error: could not contact repository host (www.openmamba.org)."
msgstr "Errore: impossibile contattare il repository (www.openmamba.org)."
#: mambabase.py:179 mambabase.py:180
#, python-format
msgid "Installing %s extra component..."
msgstr "Installazione del componente aggiuntivo %s..."
#: _from_rc.cc:13
msgid "Please check your network configuration and press the button below to try again."
msgstr "Verifica la configurazione della rete e premi il bottone sottostante per riprovare."
#: mambabase.py:150 mambabase.py:151
#, python-format
msgid "Installing %s group packages..."
msgstr "Installazione del gruppo di pacchetti %s..."
#: _from_rc.cc:13
msgid "<b>Press the Next button to continue.</b>"
msgstr "<p>Premi il pulsante Successivo per continuare.</b>"
#: mambabase.py:218
#, python-format
msgid "Installing %s package (%s)..."
msgstr "Installazione del pacchetto %s (%s)..."
#: mambabase.py:166
#, python-format
msgid "Installing package %s"
msgstr "Installazione del pacchetto %s"
#: _from_rc.cc:14
msgid "C&heck again"
msgstr "Controlla di nuovo"
#: mambabase.py:159
#, python-format
msgid "Package %s is already installed"
msgstr "Il pacchetto %s è già installato"
#: _from_rc.cc:15
msgid "Select installations from network"
msgstr "Scelta delle installazioni dalla rete"
#: _from_rc.cc:16 _from_rc.cc:30
msgid ""
"Please, select from the boxes below the components that you want to install "
"or update from network."
msgstr ""
"Seleziona nelle caselle sottostanti i componenti che desideri installare "
"o aggiornare dalla rete."
#: _from_rc.cc:17
msgid "openmamba installation/updates"
msgstr "Installazioni/aggiornamenti di openmamba"
#: _from_rc.cc:18
msgid "Off&ice packages (OpenOffice, Groupware, PDA Syncronization, ...)"
msgstr "Programmi per l'&ufficio (OpenOffice, Sincronizzazione, ...)"
#: _from_rc.cc:19
msgid "Audio and Video players (amarok, &xmms, vlc, kaffeine, miro, ...)"
msgstr "Player audio e video (amarok, xmms, vlc, kaffeine, miro, ...)"
#: _from_rc.cc:20
msgid "Mu&ltimedia editing and production (kino, audacity, rosegarden, mixxx, ...)"
msgstr "Produzione multimediale (kino, audacity, rosegarden, mixxx, ...)"
#: _from_rc.cc:21
msgid "Internet communication and p2p (&kopete, pidgin, ekiga, aMule, ...)"
msgstr "Programmi per internet (&kopete, pidgin, ekiga, aMule, ...)"
#: _from_rc.cc:23
msgid "Grap&hics software (gimp, digikam, blender, sodipodi, ...)"
msgstr "Programmi per la gra&fica (gimp, digikam, blender, sodipodi, ...)"
#: _from_rc.cc:24
msgid "&Games (turacer, pingus, ksudoku, ...)"
msgstr "&Giochi (tuxracer, pingus, ksudoku, ...)"
#: _from_rc.cc:25
msgid "Emulation and virtuali&zation (VirtualBox, kvm, QtEmu, wine, ...)"
msgstr "Emulatori e virtuali&zzatori (VirtualBox, kvm, QtEmu, wine, ...)"
#: _from_rc.cc:22
msgid "Base server packages (apache, postfix, vsftpd, php, m&ysql, ...)"
msgstr "Servizi di rete base (apache, postfix, vsftpd, php, mysql, ...)"
#: _from_rc.cc:26
msgid "Base development packages (gcc, glibc-devel, kernel sources, ...)"
msgstr "Ambiente di svilupppo base (gcc, glibc-devel, sorgenti del kernel, ...)"
#: _from_rc.cc:27
msgid "S&ystem update"
msgstr "Aggiornamento del &sistema"
#: _from_rc.cc:28
msgid "System &base packages (recommended)"
msgstr "Pacchetti &base del sistema (raccomandato)"
#: _from_rc.cc:29
msgid "Select non Open Source components"
msgstr "Scegliere i componenti non Open Source"
#: _from_rc.cc:31
msgid ""
"The following components are recommended for optimal desktop use but do not "
"have an Open Source license. \n"
"WARNING: you'll have to accept a license agreement for each selected "
"packages."
msgstr ""
"I seguenti componenti sono raccomandati per un uso ottimale del desktop ma "
"non hanno una licenza Open Source. \n"
"ATTENZIONE: occorre accettare una licenza specifica per ognuno dei "
"componenti selezionati."
#: _from_rc.cc:32
msgid "Non Open Source installations/updates"
msgstr "Installazioni/aggiornamenti di software non Open Source"
#: _from_rc.cc:33
msgid "F&lash plugin from adobe.com"
msgstr "Plugin flash da adobe.com"
#: _from_rc.cc:34
msgid "&Win32 codecs from mplayerhq.hu"
msgstr "Codec &Win32 da mplayerhq.hu"
#: _from_rc.cc:35
msgid "MS TrueT&ype core fonts from sourceforge"
msgstr "Font MS TrueType da sourceforge"
#: _from_rc.cc:38
msgid "Skype from skype.com"
msgstr "Skype da skype.com"
#: _from_rc.cc:36
msgid "Sun Java Developers &Kit (DLJ license)"
msgstr "Sun Java Developers &Kit (licenza DLJ)"
#: _from_rc.cc:37
msgid "Sun &Java Runtime Environment (DLJ license)"
msgstr "Sun &Java Runtime Environment (licenza DLJ)"
#: _from_rc.cc:38
msgid "Installation"
msgstr "Installazione"
#: _from_rc.cc:39
msgid "Installation in progress..."
msgstr "Installazione in corso..."
#: _from_rc.cc:40
msgid "Starting installation of selected components..."
msgstr "Avvio dell'installazione dei componenti selezionati..."
#: _from_rc.cc:41
msgid "Details"
msgstr "Dettagli"
#: _from_rc.cc:43
msgid "End of installation"
msgstr "Fine dell'installazione"
#: _from_rc.cc:44
msgid "Installation completed."
msgstr "Installazione completata."
#: _from_rc.cc:45
msgid ""
"If you ran into ploblems, please check the installation log below for "
"warning or errors and send the report to the openmamba community at <a href="
"\"http://www.openmamba.org\">www.openmamba.org</a>."
msgstr ""
"Se hai incontrato dei problemi, per favore controlla se il log di installazione "
"riporta dei messaggi di errore ed invia un rapporto alla comunità di openmamba su "
"<a href=\"http://www.openmamba.org\">www.openmamba.org</a>."
#: mambabase.sh:37
msgid "Warning: this script will perform an automatic installation erasing all the"
msgstr "Attenzione: questo script effettuerà un'installazione automatica cancellando tutti"
#: mambabase.sh:38
msgid " contents of device $INSTALL_DEVICE; use $0 -y to actually start the"
msgstr " i contenuti del dispositivo $INSTALL_DEVICE; usa $0 -y per avviare"
#: mambabase.sh:39
msgid " operation."
msgstr " l'operazione."
#: mambabase.sh:49
msgid ""
"openmamba installation script - version $VERSION\n"
"Copyright (c) 2007-2008 by Silvan Calarco <silvan.calarco@mambasoft.it>\n"
msgstr ""
"Script di installazione di openmamba - versione $VERSION\n"
"Copyright (c) 2007-2008 by Silvan Calarco <silvan.calarco@mambasoft.it>\n"
#: mambabase.sh:55
#: mambabase.py:97 mambabase.py:98
msgid "Starting installation..."
msgstr "Avvio dell'installazione..."
#: mambabase.sh:58
msgid "Error: cannot read input file $INPUT_FILE; aborting."
msgstr "Errore: impossibile leggere il file $INPUT_FILE; uscita."
#: mambabase.sh:85
msgid "Installing openmamba base packages"
msgstr "Installazione dei pacchetti base di openmamba"
#: mambabase.sh:86
#: mambabase.py:118 mambabase.py:119
msgid "Updating installed packages..."
msgstr "Aggiornamento dei pacchetti installati in corso..."
#: mambabase.py:102 mambabase.py:103
msgid "Updating packages list..."
msgstr "Aggiornamento della lista dei pacchetti..."
#: mambabase.sh:89
msgid "Removing packages that are no longer needed..."
msgstr "Rimozione dei pacchetti non più necessari..."
#: mambabase.sh:99
msgid "Installing/updating openmamba base packages..."
msgstr "Installazione/aggiornamento dei pacchetti base di openmamba..."
#: mambabase.sh:104
msgid "Updating installed packages"
msgstr "Aggiornamento dei pacchetti installati"
#: mambabase.sh:105
msgid "Updating installed packages..."
msgstr "Aggiornamento dei pacchetti installati..."
#: mambabase.sh:110
msgid "Installing Office packages"
msgstr "Installazione dei programmi per l'ufficio"
#: mambabase.sh:111
msgid "Installing/updating Office packages..."
msgstr "Installazione/aggiornamento dei programmi per l'ufficio..."
#: mambabase.sh:122
msgid "Installing Audio and Video players"
msgstr "Installazione dei riproduttori audio e video"
#: mambabase.sh:123
msgid "Installing/updating Audio and Video players..."
msgstr "Installazione/aggiornamento dei riproduttori audio e video..."
#: mambabase.sh:116
msgid "Installing multimedia editing and production packages"
msgstr "Installazione dei programmi per l'editing e il montaggio audio e video"
#: mambabase.sh:117
msgid "Installing/updating multimedia editing and production packages..."
msgstr "Installazione/aggiornamento dei programmi per l'editing e il montaggio audio e video..."
#: mambabase.sh:134
msgid "Installing Internet packages"
msgstr "Installazione dei pacchetti per internet"
#: mambabase.sh:135
msgid "Installing/updating Internet packages..."
msgstr "Installazione/aggiornamento dei programmi per internet..."
#: mambabase.sh:140
msgid "Installing Graphics packages"
msgstr "Installazione dei programmi di grafica"
#: mambabase.sh:141
msgid "Installing/updating Graphics packages..."
msgstr "Installazione/aggiornamento dei programmi di grafica..."
#: mambabase.sh:146
msgid "Installing Games packages"
msgstr "Installazione dei giochi"
#: mambabase.sh:147
msgid "Installing/updating Games packages..."
msgstr "Installazione/aggiornamento dei giochi..."
#: mambabase.sh:152
msgid "Installing Virtualization packages"
msgstr "Installazione dei programmi per la virtualizzazione"
#: mambabase.sh:153
msgid "Installing/updating Virtualization packages..."
msgstr "Installazione/aggiornamento dei programmi per la virtualizzazione..."
#: mambabase.sh:128
msgid "Installing Server packages"
msgstr "Installazione dei pacchetti per server di rete"
#: mambabase.sh:129
msgid "Installing/updating Server packages..."
msgstr "Installazione/aggiornamento dei pacchetti per server di rete..."
#: mambabase.sh:158
msgid "Installing Development packages"
msgstr "Installazione dei pacchetti per lo sviluppo"
#: mambabase.sh:159
msgid "Installing/updating Development packages..."
msgstr "Installazione/aggiornamento dei pacchetti per lo sviluppo..."
#: mambabase.sh:164
msgid "Installing flash plugin"
msgstr "Installazione del plugin flash"
#: mambabase.sh:165
msgid "Installing Flash plugin..."
msgstr "Installazione del plugin flash..."
#: mambabase.sh:167
msgid "Executing nspluginscan"
msgstr "Eseguo nspluginscan"
#: mambabase.sh:170
msgid "Removing gnash"
msgstr "Rimozione di gnash"
#: mambabase.sh:176
msgid "Installing win32 codecs"
msgstr "Installazione dei codec win32"
#: mambabase.sh:177
msgid "Installing Win32 codecs..."
msgstr "Installazione dei codec win32..."
#: mambabase.sh:182
msgid "Installing MS TrueType core fonts..."
msgstr "Installazione dei font MS TrueType..."
#: mambabase.sh:187
msgid "Installing Sun Java Developers Kit..."
msgstr "Installazione del Sun Java Developers Kit"
#: mambabase.sh:191
msgid "Installing Sun Java Runtime Environment..."
msgstr "Installazione del Sun Java Runtime Environment..."
#: mambabase.sh:197
msgid "Press next to see the installation log and exit."
msgstr "Premi Successivo per vedere il log dell'installazione ed uscire."
#: mambabase.py:290
#, python-format
msgid "WARNING: package %s from group %s not found in repositories"
msgstr "AVVISO: il pacchetto %s del gruppo %s non è stato trovato nei repository"
#: mambabase.py:33
msgid "openmamba base network installations"
msgstr "Installazione di componenti dalla rete"

85
mambabase/po/messages.pot Normal file
View File

@@ -0,0 +1,85 @@
# mambabase translations
# Copyright (C) 2021 Silvan Calarco <silvan.calarco@mambasoft.it>
# This file is distributed under the same license as the mambabase package.
# Silvan Calarco <silvan.calarco@mambasoft.it>, 2021.
#
#: _from_rc.cc:3 _from_rc.cc:4 _from_rc.cc:5 _from_rc.cc:12 _from_rc.cc:42
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-19 11:05+0100\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: mambabase.py:338
msgid ""
"<html><head/><body><p align=\"center\"><span style=\"font-size:14pt; font-"
"weight:600;\">All done!</span></p></body></html>"
msgstr ""
#: mambabase.py:65
msgid "Checking installed extra components..."
msgstr ""
#: mambabase.py:62
msgid "Checking installed packages..."
msgstr ""
#: mambabase.py:68
msgid "Done. Please, press the Next button to continue."
msgstr ""
#: mambabase.py:201 mambabase.py:202
msgid "Installation finished!"
msgstr ""
#: mambabase.py:179 mambabase.py:180
#, python-format
msgid "Installing %s extra component..."
msgstr ""
#: mambabase.py:150 mambabase.py:151
#, python-format
msgid "Installing %s group packages..."
msgstr ""
#: mambabase.py:218
#, python-format
msgid "Installing %s package (%s)..."
msgstr ""
#: mambabase.py:166
#, python-format
msgid "Installing package %s"
msgstr ""
#: mambabase.py:159
#, python-format
msgid "Package %s is already installed"
msgstr ""
#: mambabase.py:97 mambabase.py:98
msgid "Starting installation..."
msgstr ""
#: mambabase.py:118 mambabase.py:119
msgid "Updating installed packages..."
msgstr ""
#: mambabase.py:102 mambabase.py:103
msgid "Updating packages list..."
msgstr ""
#: mambabase.py:290
#, python-format
msgid "WARNING: package %s from group %s not found in repositories"
msgstr ""
#: mambabase.py:33
msgid "openmamba base network installations"
msgstr ""

View File

@@ -1,5 +1,4 @@
#!/bin/bash
# not working yet
kmdr2po mambabase.kmdr > mambabase.po
xgettext -s -o - mambabase.sh > mambabase.sh.po
msgmerge mambabase.sh.po po/it.po > po/it.pot
xgettext -s -o - mambabase.py --output=po/messages.pot
msgmerge --update --no-fuzzy-matching --backup=off po/it.po po/messages.pot
lupdate *.ui -ts mambabase_it.ts

View File

@@ -2,10 +2,10 @@
#
# openmamba system report generation tool
#
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2008-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
VERSION=20110807
VERSION=20190304
TEMPFILE=`tempfile`
. ${ROOT}/etc/sysconfig/machine
@@ -123,7 +123,7 @@ _EOF
}
echo "openmamba report generation tool $VERSION"
echo "Copyright (c) 2008-2013 by Silvan Calarco"
echo "Copyright (c) 2008-2019 by Silvan Calarco <info@openmamba.org>"
echo
[ $UID = 0 ] || {
@@ -159,36 +159,37 @@ catcommand /usr/bin/lsusb "USB hardware information"
catcommand /sbin/lsmod "Loadel kernel modules"
catcommand "rpm -qa|grep kernel-mamba" "Installed kernel packages"
catcommand "ls -l /etc/alternatives" "System alternatives"
tailfile /var/log/messages "system messages log"
# kernel and system logs
catcommand "journalctl --system -b | head -n 1000" "system journal from boot"
catcommand "journalctl --system -n 500" "system journal last lines"
catcommand /bin/dmesg "last kernel messages"
# user log
catcommand "sudo -u ${SUDO_USER} journalctl -b --user | head -n 500" "user journal from startup"
catcommand "sudo -u ${SUDO_USER} journalctl --user -n 500" "user journal last entries"
# process/memory information
catcommand "top -b -n1" "Top running processes"
catcommand "ps aux" "All running processes"
# kernel boot problems
# system boot troubleshooting
catfile /proc/cmdline "kernel startup command line"
catcommand "ls -l /boot" "boot files"
catfile /boot/grub/grub.cfg "GRUB configuration"
catfile /var/log/dmesg.log "kernel startup messages"
catcommand /bin/dmesg "last kernel messages"
catfile "/etc/modprobe.d/*" "modules configuration"
catcommand "lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
# system boot problems
catfile /var/log/initd.sysinit.start "system init logfile"
catfile "/var/log/initd.3.start" "runlevel 3 init logfile"
catfile "/var/log/initd.5.start" "runlevel 5 init logfile"
catfile /var/log/postplug.log "system configuration tool"
# Suspend/Powersave
catfile /var/log/pm-powersave.log "Current powersave logfile"
catfile /var/log/pm-suspend.log "Last suspend logfile"
# system services status
catcommand "systemctl status" "systemctl status"
catcommand "systemctl" "systemctl services status"
catcommand "systemd-analyze blame" "systemd services startup timings"
# Graphical subsystem
catfile /var/log/Xorg.0.log "Xorg startup log"
catfile /etc/X11/xorg.conf "Xorg configuration"
catfile /etc/X11/xorg.conf.d/* "Xorg configuration modules"
catcommand "DISPLAY=:0 /usr/bin/glxinfo" "GLX information"
tailfile $HOME/.xsession-errors "desktop session log"
# Audio
catfile "/proc/asound/card*/codec*" "Audio driver codecs"

View File

@@ -1,2 +0,0 @@
%lang(es) /opt/kde3/share/locale/es/LC_MESSAGES/mambawelcome.mo
%lang(it) /opt/kde3/share/locale/it/LC_MESSAGES/mambawelcome.mo

View File

@@ -1,5 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=@distroID@
Icon=@distroicon@
SortOrder=

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Kernel init messages
Name[es]=Mensajes de inicio del kernel
Name[it]=Messaggi di avvio del kernel
Name[fr]=Messages du démarrage du noyau
Comment=Messages from the Linux Kernel during system boot
Comment[es]=Mensajes del kernel durante el inicio del sistema
Comment[it]=Messaggi del kernel durante l'avvio del sistema
Comment[fr]=Messages du noyau lors du démarrage du système
Exec=@distrobindir@/showlog /var/log/dmesg.log "Kernel init messages" agent
Icon=utilities-log-viewer
Categories=X-@distroID@-Logs;

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Services startup
Name[es]=Inicio de los servicios
Name[it]=Avvio dei servizi
Name[fr]=Démarrage des services
Comment=Information about runlevel 5 services startup on boot
Comment[es]=Mensajes de inicio de los servicios en nivel 5
Comment[it]=Informazioni sull'avvio dei servizi di runlevel 5
Comment[fr]=Messages au démarrage des services du runlevel 5
Exec=@distrobindir@/showlog /var/log/initd.5.start "Runlevel 5 init log" agent
Icon=utilities-log-viewer
Categories=X-@distroID@-Logs;

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Last shutdown
Name[es]=Último apagamiento
Name[it]=Ultimo spegnimento
Name[fr]=Dernier arrêt du système
Comment=Information about last system shutdown
Comment[es]=Mensajes sobre el último apagamiento
Comment[it]=Informazioni riguardo all'ultimo spegnimento del sistema
Comment[fr]=Messages du système lors du dernier arrêt
Exec=@distrobindir@/showlog /var/log/initd.0.stop "Last shutdown log" agent
Icon=utilities-log-viewer
Categories=X-@distroID@-Logs;

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Last reboot
Name[es]=Último reinicio
Name[it]=Ultimo riavvio
Name[fr]=Dernier redémarrage du système
Comment=Information about last system reboot
Comment[es]=Mensajes sobre el último reinicio
Comment[it]=Informazioni riguardo all'ultimo riavvio del sistema
Comment[fr]=Messages du système lors du dernier redémarrage
Exec=@distrobindir@/showlog /var/log/initd.6.stop "Last reboot log" agent
Icon=utilities-log-viewer
Categories=X-@distroID@-Logs;

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=openmamba system init logs
Name[es]=Inicio del sistema
Name[it]=Avvio di sistema
Name[fr]=Démarrage du système
Comment=Messages during openmamba system boot
Comment[es]=Mensajes de inicio del sistema openmamba
Comment[it]=Messaggi di avvio del sistema openmamba
Comment[fr]=Messages au démerrage du système openmamba
Exec=@distrobindir@/showlog /var/log/initd.sysinit.start "System init log" agent
Icon=utilities-log-viewer
Categories=X-@distroID@-Logs;

View File

@@ -0,0 +1,15 @@
[Desktop Entry]
Name=Google Chrome's Widevine plugin
Name[it]=Plugin Widevine da Google Chrome
Comment=Install Widevine plugin from network
Comment[it]=Installa il plugin Widevine dalla rete
Encoding=UTF-8
Exec=@bindir@/openmamba-netsrpms chromium-widevine
Icon=distromenu-chromium
MimeType=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Categories=X-@distroID@-NetInstall;

View File

@@ -0,0 +1,19 @@
[Desktop Entry]
Name=Install Sun Java
Name[es]=Instala Sun Java
Name[fr]=Installation du Sun Java
Name[it]=Installa Sun Java
Comment=Install Sun Java from network
Comment[es]=Instala Sun Java por red
Comment[fr]=Installation du Sun Java depuis le réseau
Comment[it]=Installa Sun Java dalla rete
Encoding=UTF-8
Exec=@bindir@/openmamba-netsrpms sun-java
Icon=distromenu-java
MimeType=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Categories=X-@distroID@-NetInstall;

View File

@@ -1,19 +0,0 @@
[Desktop Entry]
Name=Install Sun Java 7
Name[es]=Instala Sun Java 7
Name[fr]=Installation du Sun Java 7
Name[it]=Installa Sun Java 7
Comment=Install Sun Java 7 from network
Comment[es]=Instala Sun Java 7 por red
Comment[fr]=Installation du Sun Java 7 depuis le réseau
Comment[it]=Installa Sun Java 7 dalla rete
Encoding=UTF-8
Exec=@bindir@/openmamba-netsrpms sun-java7
Icon=distromenu-java
MimeType=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Categories=X-@distroID@-NetInstall;

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!-- Created using Karbon, part of Calligra: http://www.calligra.org/karbon -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="226.768pt" height="226.768pt">
<defs/>
<g id="layer0">
<g id="Livello_1" transform="translate(13.4663, 13.4732)" fill="none">
<g id="group0" transform="" fill="none">
<g id="group1" transform="" fill="none">
<path id="shape0" transform="translate(0.622065, 0.615268)" fill="#52ae32" d="M205.755 145.521C203.603 153.521 204.134 150.9 203.241 154.25C202.842 155.698 202.864 155.597 203.302 153.954C201.597 157.474 202.476 157.102 198.707 165.229C193.227 175.956 191.51 176.904 184.593 183.427C165.592 201.35 144.335 207.953 118.44 205.652C98.2461 203.856 81.8003 192.977 69.1072 178.849C64.653 173.895 59.1136 164.267 55.4347 156.242C56.0794 157.646 53.1781 149.409 52.5727 147.383C51.8492 144.958 51.2931 142.484 50.7418 140.017C50.6803 139.737 49.4007 131.734 50.0429 136.839C47.9438 120.161 50.8132 107.084 56.9973 94.2589C65.7063 76.2037 78.36 64.2315 96.7475 55.2504C136.818 35.6788 192.884 65.2336 205.521 106.146C214.823 136.244 260.072 117.821 250.716 87.5391C231.233 24.4709 162.873 -10.7183 99.7423 2.91495C44.9317 14.75 7.92051 62.2961 0.855396 115.896C-5.54035 164.417 24.6888 215.309 66.1295 239.046C122.225 271.173 194.023 253.767 232.232 203.212C243.503 188.303 250.393 170.154 254.257 152.102C257.758 124.983 251.461 180.434 256.38 131.693C256.586 27.6502 186.43 53.6659 204.349 103.099C206.998 116.863 207.511 125.01 206.662 136.724"/>
</g>
</g>
</g>
</g><g id="eye">
<g id="group01" transform="translate(249.176, 72.4504)" fill="none">
<path id="shape4" transform="translate(3.62835, 4.19085)" fill="none" stroke="#000000" stroke-width="3.62835274240" stroke-linecap="round" stroke-linejoin="round" d="M0 21.3794C0 12.1459 5.92344 4.73771 17.1542 0"/>
<path id="shape3" transform="translate(1.44909, 14.6596)" fill="#000000" d="M20.3142 9.67061C20.3142 4.32968 15.7667 3.27038e-16 10.1571 0C4.54749 -3.27038e-16 6.8698e-16 4.32968 0 9.67061C-6.8698e-16 15.0115 4.54749 19.3412 10.1571 19.3412C15.7667 19.3412 20.3142 15.0115 20.3142 9.67061"/>
</g>
<g id="group11" transform="translate(249.176, 72.4414)" fill="none">
<path id="shape41" transform="translate(3.62835, 4.19983)" fill="none" stroke="#000000" stroke-width="3.62835274240" stroke-linecap="round" stroke-linejoin="round" d="M0 21.5095C0 12.2199 5.8064 4.76655 16.8153 0"/>
<path id="shape31" transform="translate(1.44909, 14.6686)" fill="#000000" d="M20.3142 9.67061C20.3142 4.32968 15.7667 3.27038e-16 10.1571 0C4.54749 -3.27038e-16 6.8698e-16 4.32968 0 9.67061C-6.8698e-16 15.0115 4.54749 19.3412 10.1571 19.3412C15.7667 19.3412 20.3142 15.0115 20.3142 9.67061"/>
</g>
<g id="group2" transform="translate(249.176, 72.4491)" fill="none">
<path id="shape42" transform="translate(3.62835, 4.19221)" fill="none" stroke="#000000" stroke-width="3.62835274240" stroke-linecap="round" stroke-linejoin="round" d="M0 21.7722C0 12.3692 6.0084 4.82477 17.4004 0"/>
<path id="shape32" transform="translate(1.44909, 14.661)" fill="#000000" d="M20.3142 9.67061C20.3142 4.32968 15.7667 3.27038e-16 10.1571 0C4.54749 -3.27038e-16 6.8698e-16 4.32968 0 9.67061C-6.8698e-16 15.0115 4.54749 19.3412 10.1571 19.3412C15.7667 19.3412 20.3142 15.0115 20.3142 9.67061"/>
</g>
<g id="group3" transform="translate(202.926, 72.4491)" fill="none">
<path id="shape43" transform="translate(3.62835, 4.19221)" fill="none" stroke="#000000" stroke-width="3.62835274240" stroke-linecap="round" stroke-linejoin="round" d="M0 21.7722C0 12.3692 6.0084 4.82477 17.4004 0"/>
<path id="shape33" transform="translate(1.44909, 14.661)" fill="#000000" d="M20.3142 9.67061C20.3142 4.32968 15.7667 3.27038e-16 10.1571 0C4.54749 -3.27038e-16 6.8698e-16 4.32968 0 9.67061C-6.8698e-16 15.0115 4.54749 19.3412 10.1571 19.3412C15.7667 19.3412 20.3142 15.0115 20.3142 9.67061"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -2,7 +2,7 @@
#
# netsrpm-install.sh - Build srpms that download sources from network
#
# Copyright (C) 2003-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2003-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
@@ -37,10 +37,8 @@ Options:
fi
function check_if_already_installed() {
rpm -q $1 &>/dev/null
if [ $? -eq 0 ]; then
notify-send -a $"Network software installation" -i $icon "$pckname" "$pckname: "$"already installed."
fi
rpm -q $1-$2 &>/dev/null
return $?
}
declare -A SRPMVERSION SRPMRELEASE
@@ -128,19 +126,24 @@ for pckname in $PACKAGES; do
if [ $? -gt 0 ]; then
echo "$me: "$"error rebuilding \`$pckname'."" "$"Aborting..." >&2
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing"" $pckname!"
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error building"" $pckname!"
exit 255
fi
RPM_PATH=`find $tmpdir -name \*.rpm`
# install rpm
if [ "$FORCE_MODE" = "1" ]; then
sudo smart remove -y $pckname
pkcon remove -y $pckname
fi
sudo smart install -y $RPM_PATH
pkcon install-local -y $RPM_PATH
if [ $? -gt 0 ]; then
echo "$me: "$"error installing \`$RPM_PATH'."" "$"Aborting..." >&2
check_if_already_installed $pckname
check_if_already_installed $pckname $SRPM_VERSION
if [ $? -eq 0 ]; then
notify-send -a $"Network software installation" -i $icon "$pckname" "$pckname: "$"already installed."
else
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing"" $pckname!"
fi
exit 255
fi

View File

@@ -22,7 +22,7 @@ function pkg_parser() {
}
function pkg_tool() {
sudo smart $@ | pkg_parser
pkcon $@ | pkg_parser
}
echo $"\