Compare commits

..

13 Commits

81 changed files with 5070 additions and 2384 deletions

View File

@@ -1,5 +1,5 @@
# Makefile for desktop-base-openmamba package
# Copyright (C) 2004-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2004-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
include VERSION
@@ -8,20 +8,16 @@ ARCH:=`uname -i`
ifeq ($(ARCH), arm)
SRPMSVERSIONSFILE = SRPMSVERSIONS.arm
pck_srpms = b43-firmware
else
ifeq ($(ARCH), x86_64)
SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = msttcorefonts skype b43-firmware virtualbox-extension-pack \
chromium-widevine
pck_srpms = b43-firmware sun-java7
else
SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = msttcorefonts skype b43-firmware virtualbox-extension-pack
endif
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
sun-java7 sun-java8 spotify chromium-pepper-flash
endif
PACKAGE = desktop-base-openmamba
DISTROID = openmamba
WITHKDE3 := 1
WITHKDE3TOOLS := 1
RPM_VENDOR = openmamba
@@ -52,18 +48,26 @@ endif
initrddir = ${sysconfdir}/rc.d/init.d
mandir = ${prefix}/usr/share/man
sysconfigdir= ${sysconfdir}/sysconfig
profiledir = ${sysconfdir}/profile.d
xprofiledir = ${sysconfdir}/xprofile.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
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
systemdsystemdir = /lib/systemd/system
systemdsleepdir = /lib/systemd/system-sleep
distrorootdir = ${datadir}/$(DISTROid)
distrobindir = ${distrorootdir}/bin
@@ -82,6 +86,7 @@ pck_infiles := $(wildcard kde/config/*.in \
kde/scripts/*.in \
menu/*.in menu/applications/*.in menu/applications/*/*.in \
SRPMS/*/*.in \
remote-support-mambasoft/*.in \
desktop/*.in)
pck_sysconfigfile := distroutils.sysconfig
@@ -125,7 +130,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)$(datadir)/locale/$$lang/LC_MESSAGES";\
dir="$(DESTDIR)$(kdelocalesdir)/$$lang/LC_MESSAGES";\
$(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
done
@@ -136,7 +141,6 @@ 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)
@@ -145,11 +149,17 @@ install-kde-distro-addons: dist-update
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
@$(INSTALL_DIR) $(DESTDIR)$(distrobindir)
@$(INSTALL_DIR) $(DESTDIR)$(mambaimagesdir)
@$(INSTALL_DIR) $(DESTDIR)$(systemdsleepdir)
cp -r etc/polkit-1 $(DESTDIR)$(sysconfdir)/
cp -r etc/prelink.conf.d $(DESTDIR)$(sysconfdir)/
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
@@ -158,6 +168,8 @@ 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
@@ -166,6 +178,7 @@ 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)
@@ -185,19 +198,18 @@ install-icons:
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
$(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \
$(INSTALL_DATA) mambabase/mamba-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mamba.png; \
$(INSTALL_DATA) remote-support-mambasoft/mambasoft-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mambasoft.png; \
done
# $(INSTALL_DATA) xramdr/xramdr-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/xramdr.png \
install-mambabase:
@$(INSTALL_DIR) $(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_SCRIPT) mambabase/mambabase.sh $(DESTDIR)$(mambabasedatadir)
ifeq ($(WITHKDE3TOOLS),1)
$(INSTALL_SCRIPT) mambabase/mambabase.kmdr $(DESTDIR)$(mambabasedatadir)
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
$(INSTALL_DATA) mambabase/openmamba.png $(DESTDIR)$(mambabasedatadir)
$(INSTALL_DATA) mambabase/mambabase.png $(DESTDIR)$(mambabasedatadir)
cp mambabase/*.ui $(DESTDIR)$(mambabasedatadir)
endif
install-mambareport:
$(INSTALL_SCRIPT) mambareport/openmamba-makereport $(DESTDIR)$(bindir)
@@ -207,14 +219,24 @@ ifeq ($(WITHKDE3TOOLS),1)
$(INSTALL_DATA) mambareport/mambareport.desktop $(DESTDIR)$(xdg_appsdir)
endif
install-remote-support-mambasoft:
$(INSTALL_SCRIPT) remote-support-mambasoft/remote-support-mambasoft.sh $(DESTDIR)$(bindir)/remote-support-mambasoft
$(INSTALL_DATA) remote-support-mambasoft/remote-support-mambasoft.desktop $(DESTDIR)$(xdg_appsdir)
install-xramdr:
@$(INSTALL_DIR) $(DESTDIR)$(xramdrdatadir)
$(INSTALL_SCRIPT) xramdr/70521-xramdr.kmdr $(DESTDIR)$(xramdrdatadir)/xramdr.kmdr
$(INSTALL_DATA) xramdr/xramdr.desktop $(DESTDIR)$(xdg_appsdir)
install-desktop:
@$(INSTALL_DIR) $(DESTDIR)$(distrodesktopdir)
$(INSTALL_DATA) $(pck_desktop) $(DESTDIR)$(distrodesktopdir)
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(profiledir)
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(xprofiledir)
install-openmamba-update:
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) openmamba-update/openmamba-update $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) openmamba-update/openmamba-dist-upgrade $(DESTDIR)$(sbindir)
$(INSTALL_SCRIPT) openmamba-update/openmamba-netsrpms $(DESTDIR)$(bindir)
install: $(pck_infiles:.in=) \
@@ -225,6 +247,7 @@ install: $(pck_infiles:.in=) \
install-openmamba-update \
install-mambabase \
install-mambareport \
install-remote-support-mambasoft \
install-locales \
install-icons

View File

@@ -44,9 +44,10 @@ tar xzf ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
cp %{S:0} LICENSE
cp -a * %{buildroot}/opt/chromium/PepperFlash/
cp %{S:0} LICENSE
rm -fr ${tmpdir}
%clean
@@ -58,12 +59,13 @@ 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/license.pdf
/opt/chromium/PepperFlash/manifest.json
/opt/chromium/PepperFlash/readme.txt
%dir /opt/chromium/PepperFlash/LGPL
/opt/chromium/PepperFlash/LGPL/*
%doc LICENSE
%changelog
* Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@

View File

@@ -1,8 +0,0 @@
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

@@ -1,69 +0,0 @@
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

@@ -1,7 +0,0 @@
## 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

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

View File

@@ -1,96 +0,0 @@
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

@@ -1,302 +0,0 @@
%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,25 +61,23 @@ 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/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-i586.tar.gz
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/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/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-x64.tar.gz
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/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/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
tar xf jdk-%{realver}-linux-arm-sfp.tar.gz
%endif

68
SRPMS/sun-java8/LICENSE Normal file
View File

@@ -0,0 +1,68 @@
Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX
ORACLE AMERICA, INC. ("ORACLE"), FOR AND ON BEHALF OF ITSELF AND ITS SUBSIDIARIES AND AFFILIATES UNDER COMMON CONTROL, IS WILLING TO LICENSE THE SOFTWARE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY SELECTING THE "ACCEPT LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND/OR BY USING THE SOFTWARE YOU ACKNOWLEDGE THAT YOU HAVE READ THE TERMS AND AGREE TO THEM. IF YOU ARE AGREEING TO THESE TERMS ON BEHALF OF A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT THAT YOU HAVE THE LEGAL AUTHORITY TO BIND THE LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT HAVE SUCH AUTHORITY, OR IF YOU DO NOT WISH TO BE BOUND BY THE TERMS, THEN SELECT THE "DECLINE LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND YOU MUST NOT USE THE SOFTWARE ON THIS SITE OR ANY OTHER MEDIA ON WHICH THE SOFTWARE IS CONTAINED.
1. DEFINITIONS. "Software" means the software identified above in binary form that you selected for download, install or use (in the version You selected for download, install or use) from Oracle or its authorized licensees, any other machine readable materials (including, but not limited to, libraries, source files, header files, and data files), any updates or error corrections provided by Oracle, and any user manuals, programming guides and other documentation provided to you by Oracle under this Agreement. "General Purpose Desktop Computers and Servers" means computers, including desktop and laptop computers, or servers, used for general computing functions under end user control (such as but not specifically limited to email, general purpose Internet browsing, and office suite productivity tools). The use of Software in systems and solutions that provide dedicated functionality (other than as mentioned above) or designed for use in embedded or function-specific software applications, for example but not limited to: Software embedded in or bundled with industrial control systems, wireless mobile telephones, wireless handheld devices, kiosks, TV/STB, Blu-ray Disc devices, telematics and network control switching equipment, printers and storage management systems, and other related systems are excluded from this definition and not licensed under this Agreement. "Programs" means (a) Java technology applets and applications intended to run on the Java Platform, Standard Edition platform on Java-enabled General Purpose Desktop Computers and Servers; and (b) JavaFX technology applications intended to run on the JavaFX Runtime on JavaFX-enabled General Purpose Desktop Computers and Servers. “Commercial Features” means those features identified in Table 1-1 (Commercial Features In Java SE Product Editions) of the Java SE documentation accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html. “README File” means the README file for the Software accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html.
2. LICENSE TO USE. Subject to the terms and conditions of this Agreement including, but not limited to, the Java Technology Restrictions of the Supplemental License Terms, Oracle grants you a non-exclusive, non-transferable, limited license without license fees to reproduce and use internally the Software complete and unmodified for the sole purpose of running Programs. THE LICENSE SET FORTH IN THIS SECTION 2 DOES NOT EXTEND TO THE COMMERCIAL FEATURES. YOUR RIGHTS AND OBLIGATIONS RELATED TO THE COMMERCIAL FEATURES ARE AS SET FORTH IN THE SUPPLEMENTAL TERMS ALONG WITH ADDITIONAL LICENSES FOR DEVELOPERS AND PUBLISHERS.
3. RESTRICTIONS. Software is copyrighted. Title to Software and all associated intellectual property rights is retained by Oracle and/or its licensors. Unless enforcement is prohibited by applicable law, you may not modify, decompile, or reverse engineer Software. You acknowledge that the Software is developed for general use in a variety of information management applications; it is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use the Software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle disclaims any express or implied warranty of fitness for such uses. 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. Additional restrictions for developers and/or publishers licenses are set forth in the Supplemental License Terms.
4. DISCLAIMER OF WARRANTY. THE SOFTWARE IS 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.
5. LIMITATION OF LIABILITY. IN NO EVENT SHALL 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 HEREUNDER SHALL IN NO EVENT EXCEED ONE THOUSAND DOLLARS (U.S. $1,000).
6. TERMINATION. This Agreement is effective until terminated. You may terminate this Agreement at any time by destroying all copies of Software. This Agreement will terminate immediately without notice from Oracle if you fail to comply with any provision of this Agreement. Either party may terminate this Agreement immediately should any Software become, or in either party's opinion be likely to become, the subject of a claim of infringement of any intellectual property right. Upon termination, you must destroy all copies of Software.
7. EXPORT REGULATIONS. You agree that U.S. export control laws and other applicable export and import laws govern your use of the Software, including technical data; additional information can be found on Oracle's Global Trade Compliance web site (http://www.oracle.com/products/export). You agree that neither the Software nor any 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.
8. TRADEMARKS AND LOGOS. You acknowledge and agree as between you
and Oracle that Oracle owns the ORACLE and JAVA trademarks and all ORACLE- and JAVA-related trademarks, service marks, logos and other brand
designations ("Oracle Marks"), and you agree to comply with the Third
Party Usage Guidelines for Oracle Trademarks currently located at
http://www.oracle.com/us/legal/third-party-trademarks/index.html . Any use you make of the Oracle Marks inures to Oracle's benefit.
9. U.S. GOVERNMENT LICENSE RIGHTS. If Software 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 Software and accompanying documentation shall be only those set forth in this Agreement.
10. GOVERNING LAW. This agreement is governed by the substantive and procedural laws of California. 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.
11. SEVERABILITY. 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.
12. INTEGRATION. 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.
SUPPLEMENTAL LICENSE TERMS
These Supplemental License Terms add to or modify the terms of the Binary Code License Agreement. Capitalized terms not defined in these Supplemental Terms shall have the same meanings ascribed to them in the Binary Code License Agreement. These Supplemental Terms shall supersede any inconsistent or conflicting terms in the Binary Code License Agreement, or in any license contained within the Software.
A. COMMERCIAL FEATURES. You may not use the Commercial Features for running Programs, Java applets or applications in your internal business operations or for any commercial or production purpose, or for any purpose other than as set forth in Sections B, C, D and E of these Supplemental Terms. If You want to use the Commercial Features for any purpose other than as permitted in this Agreement, You must obtain a separate license from Oracle.
B. SOFTWARE INTERNAL USE FOR DEVELOPMENT LICENSE GRANT. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the README File incorporated herein by reference, including, but not limited to the Java Technology Restrictions of these Supplemental Terms, Oracle grants you a non-exclusive, non-transferable, limited license without fees to reproduce internally and use internally the Software complete and unmodified for the purpose of designing, developing, and testing your Programs.
C. LICENSE TO DISTRIBUTE SOFTWARE. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the README File, including, but not limited to the Java Technology Restrictions and Limitations on Redistribution of these Supplemental Terms, Oracle grants you a non-exclusive, non-transferable, limited license without fees to reproduce and distribute the Software, provided that (i) you distribute the Software complete and unmodified and only bundled as part of, and for the sole purpose of running, your Programs, (ii) the Programs add significant and primary functionality to the Software, (iii) you do not distribute additional software intended to replace any component(s) of the Software, (iv) you do not remove or alter any proprietary legends or notices contained in the Software, (v) you only distribute the Software subject to a license agreement that: (a) is a complete, unmodified reproduction of this Agreement; or (b) protects Oracle's interests consistent with the terms contained in this Agreement and that includes the notice set forth in Section H, and (vi) you agree to defend and indemnify Oracle and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software. The license set forth in this Section C does not extend to the Software identified in Section G.
D. LICENSE TO DISTRIBUTE REDISTRIBUTABLES. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the README File, including but not limited to the Java Technology Restrictions and Limitations on Redistribution of these Supplemental Terms, Oracle grants you a non-exclusive, non-transferable, limited license without fees to reproduce and distribute those files specifically identified as redistributable in the README File ("Redistributables") provided that: (i) you distribute the Redistributables complete and unmodified, and only bundled as part of Programs, (ii) the Programs add significant and primary functionality to the Redistributables, (iii) you do not distribute additional software intended to supersede any component(s) of the Redistributables (unless otherwise specified in the applicable README File), (iv) you do not remove or alter any proprietary legends or notices contained in or on the Redistributables, (v) you only distribute the Redistributables pursuant to a license agreement that: (a) is a complete, unmodified reproduction of this Agreement; or (b) protects Oracle's interests consistent with the terms contained in the Agreement and includes the notice set forth in Section H, (vi) you agree to defend and indemnify Oracle and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software. The license set forth in this Section D does not extend to the Software identified in Section G.
E. DISTRIBUTION BY PUBLISHERS. This section pertains to your distribution of the JavaTM SE Development Kit Software (“JDK”) with your printed book or magazine (as those terms are commonly used in the industry) relating to Java technology ("Publication"). Subject to and conditioned upon your compliance with the restrictions and obligations contained in the Agreement, Oracle hereby grants to you a non-exclusive, nontransferable limited right to reproduce complete and unmodified copies of the JDK on electronic media (the "Media") for the sole purpose of inclusion and distribution with your Publication(s), subject to the following terms: (i) You may not distribute the JDK on a stand-alone basis; it must be distributed with your Publication(s); (ii) You are responsible for downloading the JDK from the applicable Oracle web site; (iii) You must refer to the JDK as JavaTM SE Development Kit; (iv) The JDK must be reproduced in its entirety and without any modification whatsoever (including with respect to all proprietary notices) and distributed with your Publication subject to a license agreement that is a complete, unmodified reproduction of this Agreement; (v) The Media label shall include the following information: “Copyright [YEAR], Oracle America, Inc. All rights reserved. Use is subject to license terms. ORACLE and JAVA trademarks and all ORACLE- and JAVA-related trademarks, service marks, logos and other brand designations are trademarks or registered trademarks of Oracle in the U.S. and other countries.” [YEAR] is the year of Oracle's release of the Software; the year information can typically be found in the Softwares “About” box or screen. This information must be placed on the Media label in such a manner as to only apply to the JDK; (vi) You must clearly identify the JDK as Oracle's product on the Media holder or Media label, and you may not state or imply that Oracle is responsible for any third-party software contained on the Media; (vii) You may not include any third party software on the Media which is intended to be a replacement or substitute for the JDK; (viii) You agree to defend and indemnify Oracle and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of the JDK and/or the Publication; ; and (ix) You shall provide Oracle with a written notice for each Publication; such notice shall include the following information: (1) title of Publication, (2) author(s), (3) date of Publication, and (4) ISBN or ISSN numbers. Such notice shall be sent to Oracle America, Inc., 500 Oracle Parkway, Redwood Shores, California 94065 U.S.A , Attention: General Counsel.
F. JAVA TECHNOLOGY RESTRICTIONS. You may not create, modify, or change the behavior of, or authorize your licensees to 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.
G. LIMITATIONS ON REDISTRIBUTION. You may not redistribute or otherwise transfer: (a) JavaFX Runtime prior to version 2.0.2, (b) JavaFX Development Kit prior to version 2.0.2, or (c) any and all patches, bug fixes and updates made available by Oracle through Oracle Premier Support, including those made available under Oracle's Java SE Support program.
H. COMMERCIAL FEATURES NOTICE. For purpose of complying with Supplemental Term Section C.(v)(b) and D.(v)(b), your license agreement shall include the following notice, where the notice is displayed in a manner that anyone using the Software will see the notice:
Use of the Commercial Features for any commercial or production purpose requires a separate license from Oracle. “Commercial Features” means those features identified Table 1-1 (Commercial Features In Java SE Product Editions) of the Java SE documentation accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html
I. SOURCE CODE. Software may contain source code that, unless expressly licensed for other purposes, is provided solely for reference purposes pursuant to the terms of this Agreement. Source code may not be redistributed unless expressly provided for in this Agreement.
J. THIRD PARTY CODE. Additional copyright notices and license terms applicable to portions of the Software are set forth in the THIRDPARTYLICENSEREADME file accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html. In addition to any terms and conditions of any third party opensource/freeware license identified in the THIRDPARTYLICENSEREADME file, the disclaimer of warranty and limitation of liability provisions in paragraphs 4 and 5 of the Binary Code License Agreement shall apply to all Software in this distribution.
K. TERMINATION FOR INFRINGEMENT. Either party may terminate this Agreement immediately should any Software become, or in either party's opinion be likely to become, the subject of a claim of infringement of any intellectual property right.
L. INSTALLATION AND AUTO-UPDATE. The Software's installation and auto-update processes transmit a limited amount of data to Oracle (or its service provider) about those specific processes to help Oracle understand and optimize them. Oracle does not associate the data with personally identifiable information. You can find more information about the data Oracle collects as a result of your Software download at http://www.oracle.com/technetwork/java/javase/documentation/index.html.
For inquiries please contact:
Oracle America, Inc., 500 Oracle Parkway,
Redwood Shores, California 94065, USA.
Last updated 2 July 2012

View File

@@ -0,0 +1,759 @@
%define JRE_NSVER 8
%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%{javaver}_%{MINOR}
%define distversion %{realver}
%define label -%{name}
%define jdklnk jdk8-%{origin}
%define jrelnk jre8-%{origin}
%define jdkdir %{jppname}
%define jredir %{jdkdir}/jre
%define jdkbindir %{_jvmdir}/%{jdklnk}/bin
%define jdklibdir %{_jvmdir}/%{jdklnk}/lib
%define jrebindir %{_jvmdir}/%{jrelnk}/bin
%define jvmjardir %{_jvmjardir}/%{jppname}
%define cgibindir %{_var}/www/cgi-bin
Name: sun-java8
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}
License: Oracle Binary Code License
Requires: shared-mime-info
Requires: desktop-file-utils
Requires: sun-java8-runtime = %{epoch}:%{version}-%{release}
Requires: menu-java
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sun Java Developer's Kit.
%package runtime
Summary: Sun Java Platform Runtime Environment
Group: System/Libraries/Java
#Obsoletes: j2re
Provides: j2re = %{realver}
Provides: jre = %{realver}
%description runtime
Sun Java Platform Runtime Environment.
%prep
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
%setup -q -T -c
#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
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
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
tar xf jdk-%{realver}-linux-arm-sfp.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}
#construct.sh unbundle-jdk linux-jdk linux-jre
install -d -m 755 %{buildroot}%{_jvmdir}/%{jdkdir}
install -d -m 755 %{buildroot}%{_jvmdir}/%{jredir}
cat > bin/HtmlConverter << EOF
%{jrebindir}/java -jar %{jdklibdir}/htmlconverter.jar $*
EOF
sed -i "s|PATH=.*|PATH=%{jrebindir}|" bin/java-rmi.cgi
# main
cp -a bin include lib src.zip %{buildroot}%{_jvmdir}/%{jdkdir}
# extensions
install -d -m 755 %{buildroot}%{jvmjardir}
pushd %{buildroot}%{jvmjardir}
ln -s %{_jvmdir}/%{jredir}/lib/jsse.jar jsse-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/jce.jar jce-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-ldap-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-cos-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-rmi-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jaas-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jdbc-stdext-%{javaver}.jar
ln -s jdbc-stdext-%{javaver}.jar jdbc-stdext-3.0.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar sasl-%{javaver}.jar
# ln -s %{_jvmdir}/%{jredir}/lib/rt.jar xml-commons-apis.jar
for jar in *-%{javaver}.jar ; do
#if [ %{realver} != %{javaver} ]; then
#ln -fs ${jar} $(echo $jar | sed "s|-%{realver}.jar|-%{javaver}.jar|g")
#fi
ln -fs ${jar} $(echo $jar | sed "s|-%{javaver}.jar|.jar|g")
done
popd
# rest of jre
cp -a jre/bin jre/lib %{buildroot}%{_jvmdir}/%{jredir}
#cp -a jre/javaws %{buildroot}%{_jvmdir}/%{jredir}
%ifnarch arm
cp -a jre/plugin %{buildroot}%{_jvmdir}/%{jredir}
%endif
# see <http://www.java.com/it/download/help/5000010500.xml#install>
mkdir -p %{buildroot}%{_datadir}/pixmaps
mkdir -p %{buildroot}%{_datadir}/icons/mini
%ifnarch arm
install -m 644 jre/plugin/desktop/%{origin}_java.png \
%{buildroot}%{_datadir}/pixmaps/%{name}.png
ln -s %{_datadir}/pixmaps/%{name}.png %{buildroot}%{_datadir}/icons/mini/%{name}.png
install -d %{buildroot}%{_libdir}/mozilla/plugins
%endif
%ifarch %{ix86}
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_oji.so
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_nscp.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_nscp.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-8.so
%endif
%ifarch x86_64
ln -s %{_jvmdir}/%{jredir}/lib/amd64/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/amd64/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-8.so
%endif
install -d -m 755 %{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
for file in local_policy.jar US_export_policy.jar; do
mv %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file \
%{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
# for ghosts
touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file
done
pushd %{buildroot}%{_jvmdir}
ln -s %{jredir} %{jrelnk}
ln -s %{jdkdir} %{jdklnk}
popd
pushd %{buildroot}%{_jvmjardir}
ln -s %{jdkdir} %{jrelnk}
ln -s %{jdkdir} %{jdklnk}
popd
mkdir -p %{buildroot}%{_mandir}/man1
for manpage in man/man1/*; do
install -m 644 -p $manpage \
%{buildroot}%{_mandir}/man1/`basename $manpage .1`-%{origin}8.1
done
mkdir -p %{buildroot}%{_jvmdir}/%{jdkdir}
#cp -a demo sample %{buildroot}%{_jvmdir}/%{jdkdir}
mkdir -p %{buildroot}%{_datadir}/mime/packages/
mkdir -p %{buildroot}%{_datadir}/applications
%ifnarch arm
for style in hicolor HighContrast HighContrastInverse LowContrast; do
for size in 16 48; do
for kind in apps mimetypes; do
mkdir -p %{buildroot}%{_datadir}/icons/$style/${size}x${size}/$kind
install -m 644 jre/lib/desktop/icons/$style/${size}x${size}/$kind/*.png \
%{buildroot}%{_datadir}/icons/$style/${size}x${size}/$kind
done
done
done
rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/gnome-mime-text-x-java.png
rm -rf %{buildroot}%{_datadir}/icons/hicolor/16x16/mimetypes/gnome-mime-text-x-java.png
cp -a jre/lib/desktop/mime/packages/* %{buildroot}%{_datadir}/mime/packages/
cp -a jre/lib/desktop/applications/%{origin}-java.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/applications
if [ -e %{buildroot}%{_jvmdir}/%{jdkdir}/bin/jvisualvm ]; then
cat >> %{buildroot}%{_datadir}/applications/%{name}-jvisualvm.desktop << EOF
[Desktop Entry]
Name=Java VisualVM (%{name})
Comment=Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool
Exec=%{_jvmdir}/%{jdkdir}/bin/jvisualvm
Icon=%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Terminal=false
Type=Application
Categories=Development;Profiling;
EOF
fi
# ControlPanel freedesktop.org menu entry
cat > %{buildroot}%{_datadir}/applications/%{name}-jcontrol.desktop << EOF
[Desktop Entry]
Name=Java Plugin Control Panel (%{name})
Comment=Java Control Panel
Exec=%{_jvmdir}/%{jdkdir}/bin/jcontrol
Icon=%{_datadir}/icons/hicolor/48x48/apps/sun-jcontrol.png
Terminal=false
Type=Application
Categories=Settings;Java;
EOF
# javaws freedesktop.org menu entry
cat > %{buildroot}%{_datadir}/applications/%{name}-javaws.desktop << EOF
[Desktop Entry]
Name=Java Web Start (%{name})
Comment=Java Application Launcher
MimeType=application/x-java-jnlp-file;
Exec=%{_jvmdir}/%{jredir}/bin/javaws %%u
Icon=%{_datadir}/icons/hicolor/48x48/apps/sun-javaws.png
Terminal=false
Type=Application
Categories=Settings;Java;
EOF
%endif
mkdir -p %{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}
mkdir -p %{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
# move the fonts into a shared fonts directory
install -m 644 jre/lib/fonts/*.ttf \
%{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}
install -m 644 jre/lib/oblique-fonts/*.ttf \
%{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
rm -rf %{buildroot}%{_jvmdir}/%{jredir}/lib/fonts
rm -rf %{buildroot}%{_jvmdir}/%{jredir}/lib/oblique-fonts
ln -s ../../../../../share/fonts/ttf/j2se-%{origin} \
%{buildroot}%{_jvmdir}/%{jredir}/lib/fonts
ln -s ../../../../../share/fonts/ttf/j2se-%{origin}-oblique \
%{buildroot}%{_jvmdir}/%{jredir}/lib/oblique-fonts
#install -d %{buildroot}%{_sysconfdir}/profile.d
#sed -i "s|__JDK__PREFIX__|%{_jvmdir}|" %{S:3}
#sed -i "s|__JRE__PREFIX__|%{_jvmdir}%{jrelnk}|" %{S:4}
#install -m0755 %{S:3} %{buildroot}%{_sysconfdir}/profile.d/%{jdklnk}.sh
#install -m0755 %{S:4} %{buildroot}%{_sysconfdir}/profile.d/%{jrelnk}.sh
mkdir %{buildroot}%{_javadir}-%{javaver}
mkdir %{buildroot}%{_jnidir}-%{javaver}
## FIXME: temporary workaround to provide openjdk (required by ooobuild-3.1.0.6 odk patch)
#ln -s %{jdkdir} %{buildroot}%{_libdir}/jvm/java-%{MAJOR}-openjdk
pushd %{buildroot}%{_jvmdir}/%{jredir}/lib
for l in *.jar; do
ln -s ../jre/lib/$l %{buildroot}%{_jvmdir}/%{jdkdir}/lib/$l
done
install -d -m 0755 %{buildroot}%{_jvmdir}/%{jredir}/.systemPrefs
touch %{buildroot}%{_jvmdir}/%{jredir}/.systemPrefs/.systemRootModFile
#for file in %{buildroot}%{_jvmdir}/%{jdkdir}/bin/* %{buildroot}%{_jvmdir}/%{jredir}/bin/*
#do
# chrpath --list $file && chrpath --delete $file || :
#done
#for file in $(find %{buildroot}%{_jvmdir}/%{jdkdir}/demo -name "*.so")
#do
# chrpath --list $file && chrpath --delete $file || :
#done
#for file in $(find %{buildroot}%{_jvmdir}/%{jredir}/lib -name "*.so")
#do
# chrpath --list $file && chrpath --delete $file || :
#done
# Remove requirements missing ffmpeg libraries
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-ffmpeg-56.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-53.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-54.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-56.so
%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
if ! echo ${PATH} | grep -q %{_jredir}/bin; then
export PATH="$PATH:%{_jredir}/bin"
fi
for b in javac jar; do
[ -L %{_bindir}/$b -a "`readlink %{_bindir}/$b`" != "%{_sysconfdir}/alternatives/$b" ] &&
rm -f %{_bindir}/$b
%{_sbindir}/update-alternatives \
--install %{_bindir}/$b $b \
%{_jvmdir}/%{jdklnk}/bin/$b 56
done
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jdk jdk \
%{_jvmdir}/%{jdklnk} 56
%{_sbindir}/update-alternatives \
--install %{_jvmjardir}/jdk jdk-exports \
%{_jvmjardir}/%{jdklnk} 56
fi
:
%preun
if [ $1 -eq 0 ]; then
for b in javac jar; do
%{_sbindir}/update-alternatives --remove $b \
%{_jvmdir}/%{jdklnk}/bin/$b
done
%{_sbindir}/update-alternatives --remove jdk \
%{_jvmdir}/%{jdklnk}
%{_sbindir}/update-alternatives --remove jdk-exports \
%{_jvmjardir}/%{jdklnk}
fi
:
%pre runtime
if [ $1 -ge 1 ]; then
[ -L %{_jvmdir}/%{jredir}/lib/fonts ] || rm -rf %{_jvmdir}/%{jredir}/lib/fonts
[ -L %{_jvmdir}/%{jredir}/lib/oblique-fonts ] || rm -rf %{_jvmdir}/%{jredir}/lib/oblique-fonts
[ -e %{_jvmdir}/%{jrelnk} ] && rm -rf %{_jvmdir}/%{jrelnk}
[ -L %{_bindir}/java -a "`readlink %{_bindir}/java`" != "%{_sysconfdir}/alternatives/java" ] &&
rm -f %{_bindir}/java
if [ -d /opt/java/jre ]; then
# legacy cleanups
%{_sbindir}/update-alternatives --remove java \
/opt/java/jre/bin/java 2>/dev/null
fi
%{_sbindir}/update-alternatives \
--install %{_bindir}/java java \
%{_jvmdir}/%{jrelnk}/bin/java 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jre jre \
%{_jvmdir}/%{jrelnk} 56
%{_sbindir}/update-alternatives \
--install %{_jvmjardir}/jre jre-exports \
%{_jvmjardir}/%{jrelnk} 56
fi
:
%post runtime
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts/ttf/j2se-%{origin}
%{_bindir}/fc-cache %{_datadir}/fonts/ttf/j2se-%{origin}-oblique
fi
if ! echo ${PATH} | grep -q %{_jvmdir}/jre/bin; then
export PATH="$PATH: %{_jvmdir}/jre/bin"
fi
if [ -d %{_jvmdir}/%{jrelnk}/lib/security ]; then
# Need to remove the old jars in order to support upgrading
# update-alternatives fails silently if the link targets exist as files
rm -f %{_jvmdir}/%{jrelnk}/lib/security/{local,US_export}_policy.jar
fi
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jredir}/lib/oblique-fonts \
oblique_fonts_%{javaver}_%{origin} %{_datadir}/fonts/ttf/j2se-%{origin}-oblique 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jredir}/lib/fonts fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin} 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/local_policy.jar \
jce_%{javaver}_%{origin}_local_policy %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/US_export_policy.jar \
jce_%{javaver}_%{origin}_us_export_policy %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar 56
:
%preun runtime
if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove java \
%{_jvmdir}/%{jrelnk}/bin/java
%{_sbindir}/update-alternatives --remove jre \
%{_jvmdir}/%{jrelnk}
%{_sbindir}/update-alternatives --remove jre-exports \
%{_jvmjardir}/%{jrelnk}
fi
:
%postun runtime
if [ $1 -eq 0 ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache --system-only
fi
%{_sbindir}/update-alternatives \
--remove jce_%{javaver}_%{origin}_local_policy \
%{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar
%{_sbindir}/update-alternatives \
--remove oblique_fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
%{_sbindir}/update-alternatives \
--remove fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin}
fi
:
%files
%defattr(-,root,root)
#%{_sysconfdir}/profile.d/%{jdklnk}.sh
%{_jvmdir}/%{jdklnk}
%{_jvmjardir}/%{jdklnk}
%{_jvmdir}/%{jdkdir}/bin
#%{_jvmdir}/%{jdkdir}/db
#%{_jvmdir}/%{jdkdir}/demo
%{_jvmdir}/%{jdkdir}/lib
%{_jvmdir}/%{jdkdir}/include
#%{_jvmdir}/%{jdkdir}/sample
%{_jvmdir}/%{jdkdir}/src.zip
%dir %{_javadir}-%{javaver}
%dir %{_jnidir}-%{javaver}
%{_mandir}/man1/appletviewer-sun8.1*
#%{_mandir}/man1/apt-sun8.1*
%{_mandir}/man1/extcheck-sun8.1*
%{_mandir}/man1/idlj-sun8.1*
%{_mandir}/man1/jar-sun8.1*
%{_mandir}/man1/jarsigner-sun8.1*
%{_mandir}/man1/javac-sun8.1*
%{_mandir}/man1/javadoc-sun8.1*
%ifnarch arm
%{_mandir}/man1/javafxpackager-sun8.1*
%endif
%{_mandir}/man1/javah-sun8.1*
%{_mandir}/man1/javap-sun8.1*
%{_mandir}/man1/javapackager-sun8.1*
%{_mandir}/man1/jdeps-sun8.1*
%{_mandir}/man1/jjs-sun8.1*
%{_mandir}/man1/jcmd-sun8.1*
%{_mandir}/man1/jconsole-sun8.1*
%{_mandir}/man1/jdb-sun8.1*
%{_mandir}/man1/jhat-sun8.1*
%{_mandir}/man1/jinfo-sun8.1*
%{_mandir}/man1/jmap-sun8.1*
%{_mandir}/man1/jmc-sun8.1*
%{_mandir}/man1/jps-sun8.1*
%{_mandir}/man1/jrunscript-sun8.1*
%{_mandir}/man1/jsadebugd-sun8.1*
%{_mandir}/man1/jstack-sun8.1*
%{_mandir}/man1/jstat-sun8.1*
%{_mandir}/man1/jstatd-sun8.1*
%{_mandir}/man1/jvisualvm-sun8.1*
%{_mandir}/man1/native2ascii-sun8.1*
%{_mandir}/man1/policytool-sun8.1*
%{_mandir}/man1/rmic-sun8.1*
%{_mandir}/man1/schemagen-sun8.1*
%{_mandir}/man1/serialver-sun8.1*
%{_mandir}/man1/wsgen-sun8.1*
%{_mandir}/man1/wsimport-sun8.1*
%{_mandir}/man1/xjc-sun8.1*
%doc %{toplevel_dir}/COPYRIGHT %{toplevel_dir}/LICENSE
%doc %{toplevel_dir}/THIRDPARTYLICENSEREADME.txt
# %{toplevel_dir}/README*
%files runtime
%defattr(-,root,root)
#%{_sysconfdir}/profile.d/%{jrelnk}.sh
%dir %{_jvmdir}/%{jdkdir}
%dir %{_jvmdir}/%{jredir}
%dir %{_jvmdir}/%{jredir}/lib
%{_jvmdir}/%{jredir}/lib/*.jar
%{_jvmdir}/%{jredir}/lib/*.properties*
%{_jvmdir}/%{jredir}/lib/fontconfig*.bfc
%{_jvmdir}/%{jredir}/lib/classlist
%{_jvmdir}/%{jredir}/lib/jexec
%{_jvmdir}/%{jredir}/lib/*.txt
%{_jvmdir}/%{jredir}/lib/meta-index
#%{_jvmdir}/%{jredir}/lib/audio
%{_jvmdir}/%{jredir}/lib/cmm
%ifnarch arm
%{_jvmdir}/%{jredir}/lib/deploy
%{_jvmdir}/%{jredir}/lib/desktop
%{_jvmdir}/%{jredir}/lib/locale
%endif
%{_jvmdir}/%{jredir}/lib/ext
%ifarch %{ix86}
%{_jvmdir}/%{jredir}/lib/i386
%endif
%ifarch x86_64
%{_jvmdir}/%{jredir}/lib/amd64
%endif
%ifarch arm
%{_jvmdir}/%{jredir}/lib/arm
%endif
#%{_jvmdir}/%{jredir}/lib/im
%{_jvmdir}/%{jredir}/lib/images
%{_jvmdir}/%{jredir}/lib/management
%dir %{_jvmdir}/%{jredir}/lib/security
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/cacerts
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklisted.certs
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
%ifnarch arm
#%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javafx.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javaws.policy
%endif
%{_jvmdir}/%{jredir}/lib/tzdb.dat
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklist
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/trusted.libraries
%ghost %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
%ghost %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
%dir %{_jvmdir}/%{jredir}/lib/jfr
%{_jvmdir}/%{jredir}/lib/jfr/*
%{_jvmdir}/%{jredir}/lib/currency.data
#%{_jvmdir}/%{jredir}/lib/servicetag
%{_jvmdir}/%{jredir}/.systemPrefs
#%{_jvmdir}/%{jredir}/lib/zi
%{_jvmdir}/%{jredir}/lib/fonts
%{_jvmdir}/%{jredir}/lib/oblique-fonts
%dir %{_jvmprivdir}/%{name}
%dir %{_jvmprivdir}/%{name}/jce
%dir %{_jvmprivdir}/%{name}/jce/vanilla
%config(noreplace) %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar
%config(noreplace) %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar
%{_jvmdir}/%{jredir}/bin
#%{_jvmdir}/%{jredir}/javaws
#%{_jvmdir}/%{jredir}/lib
%ifnarch arm
%{_jvmdir}/%{jredir}/plugin
%endif
%{_jvmdir}/%{jrelnk}
%{_jvmjardir}/%{jrelnk}
%{_jvmjardir}/%{jppname}/jaas*.jar
%{_jvmjardir}/%{jppname}/jce*jar
%{_jvmjardir}/%{jppname}/jdbc-stdext*jar
%{_jvmjardir}/%{jppname}/jndi*.jar
%{_jvmjardir}/%{jppname}/jsse*.jar
%{_jvmjardir}/%{jppname}/sasl*.jar
#%{_jvmjardir}/%{jppname}/xml-commons-apis.jar
%ifnarch arm
%{_libdir}/mozilla/plugins/libjava8plugin*.so
%{_libdir}/mozilla/plugins/libnpjp2-8.so
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-javaws.desktop
%{_datadir}/applications/%{name}-jcontrol.desktop
%{_datadir}/applications/%{name}-jvisualvm.desktop
%{_datadir}/icons/*/*x*/*/*.png
%{_datadir}/icons/mini/%{name}.png
%{_datadir}/mime/packages/x-java-*.xml
%{_datadir}/pixmaps/%{name}.png
%endif
%dir %{_datadir}/fonts/ttf/j2se-sun-oblique
%{_datadir}/fonts/ttf/j2se-sun-oblique/*.ttf
%dir %{_datadir}/fonts/ttf/j2se-sun
%{_datadir}/fonts/ttf/j2se-sun/*.ttf
%{_mandir}/man1/java-sun8.1*
%{_mandir}/man1/javaws-sun8.1*
%{_mandir}/man1/keytool-sun8.1*
%{_mandir}/man1/orbd-sun8.1*
%{_mandir}/man1/pack200-sun8.1*
%{_mandir}/man1/rmid-sun8.1*
%{_mandir}/man1/rmiregistry-sun8.1*
%{_mandir}/man1/servertool-sun8.1*
%{_mandir}/man1/tnameserv-sun8.1*
%{_mandir}/man1/unpack200-sun8.1*
%doc %{toplevel_dir}/jre/COPYRIGHT %{toplevel_dir}/jre/LICENSE
%doc %{toplevel_dir}/jre/THIRDPARTYLICENSEREADME.txt
# %{toplevel_dir}/jre/README %{toplevel_dir}/jre/Welcome.html
%changelog
* 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

@@ -1,152 +1,34 @@
VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)
VirtualBox PUEL terms and conditions
License version 8, April 19, 2010
License version 10, 20 July 2017
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.
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.
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.
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").
§ 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.
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 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.
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.
(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.
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.
§ 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.
Oracle reserves all rights not expressly granted in this license.
(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).
3 RESTRICTIONS AND RESERVATION OF RIGHTS.
(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.
(1) The Product and copies thereof provided to you under this Agreement
are copyrighted and licensed, not sold, to you by Oracle.
(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.
(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).
§ 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.
(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.
§ 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.
(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.
§ 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 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.
§ 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.
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.
§ 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.
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.
§ 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).
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.
§ 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.

View File

@@ -3,8 +3,5 @@
# 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,9 +31,6 @@ 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
@@ -46,9 +43,6 @@ 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}-*
@@ -56,14 +50,13 @@ rm -rf %{_builddir}/%{name}-*
%post
#VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
echo y | VBoxManage extpack install %{_libdir}/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
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 -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`"
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A1 "NPAPI" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["flashplugin"]=1mamba
fi
# msttcorefonts
@@ -21,28 +21,26 @@ else
SRPMVERSION["spotify"]=0
fi
SRPMRELEASE["spotify"]=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
# sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`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/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba
fi
# sun-java8
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" ]; then
SRPMVERSION["sun-java8"]="`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java8"]=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"]=2mamba
SRPMRELEASE["virtualbox-extension-pack"]=1mamba
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 -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`"
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A11 "Linux" | grep -A1 "Chromium" | tail -n1 | 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,5 +1,5 @@
# 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`"
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`"
SRPMRELEASE["sun-java7"]=1mamba
fi

View File

@@ -1 +1 @@
VERSION = 2022.06.16
VERSION = 3.0.9

View File

@@ -1,5 +0,0 @@
# 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

9
etc/system-sleep/r8169 Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
TMPFILE=/tmp/system-sleep-hook-r8169.tmp
if [ "$1/$2" = "pre/suspend" ]; then
rmmod r8169
touch $TMPFILE
elif [ "$1/$2" = "post/suspend" -a -e $TMPFILE ]; then
modprobe r8169
rm -f $TMPFILE
fi

View File

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

21
kde/scripts/showlog Normal file
View File

@@ -0,0 +1,21 @@
#!/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

7
mambabase.lang Normal file
View File

@@ -0,0 +1,7 @@
%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

View File

@@ -1,118 +0,0 @@
<?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

@@ -1,144 +0,0 @@
<?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

@@ -1,170 +0,0 @@
<?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

@@ -1,209 +0,0 @@
<?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>

View File

@@ -1,183 +0,0 @@
<?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>

View File

@@ -1,2 +0,0 @@
#!/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=/usr/bin/mambabase
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
Icon=mamba
Terminal=0
Type=Application

View File

@@ -1,28 +0,0 @@
#!/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=/usr/bin/mambabase
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
Icon=mamba
Terminal=0
Type=Application

1676
mambabase/mambabase.kmdr Executable file

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

215
mambabase/mambabase.po Normal file
View File

@@ -0,0 +1,215 @@
#: _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 ""

View File

@@ -1,367 +0,0 @@
#!/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_())

276
mambabase/mambabase.sh Normal file
View File

@@ -0,0 +1,276 @@
# 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 8..." 10
/usr/bin/openmamba-netsrpms sun-java8
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

View File

@@ -1,147 +0,0 @@
<?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 proprietari 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

@@ -1,91 +0,0 @@
#!/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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

352
mambabase/po/es.po Normal file
View File

@@ -0,0 +1,352 @@
# 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 @@
# 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.
# 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
@@ -9,79 +9,344 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-19 11:05+0100\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"
#: mambabase.py:338
msgid ""
"<html><head/><body><p align=\"center\"><span style=\"font-size:14pt; font-"
"weight:600;\">All done!</span></p></body></html>"
#: _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 ""
"<html><head/><body><p align=\"center\"><span style=\"font-size:14pt; font-"
"weight:600;\">Tutto fatto!</span></p></body></html>"
#: mambabase.py:65
msgid "Checking installed extra components..."
msgstr "Controllo dei componenti aggiuntivi installati..."
#: _from_rc.cc:7
msgid "www.openmamba.org"
msgstr ""
#: mambabase.py:62
msgid "Checking installed packages..."
msgstr "Controllo dei pacchetti installati..."
#: _from_rc.cc:8 mamba.kmdr:294
msgid "version"
msgstr ""
#: mambabase.py:68
msgid "Done. Please, press the Next button to continue."
msgstr "Fatto. Premi il pulsante Successivo per continuare."
#: _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"
"Rilasciato secondo i termini della licenza GNU GPL versione 3"
#: mambabase.py:201 mambabase.py:202
msgid "Installation finished!"
msgstr "Installazione terminata!"
#: _from_rc.cc:10
msgid "GNU/Linux distribution"
msgstr "Distribuzione GNU/Linux"
#: mambabase.py:179 mambabase.py:180
#, python-format
msgid "Installing %s extra component..."
msgstr "Installazione del componente aggiuntivo %s..."
#: _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:150 mambabase.py:151
#, python-format
msgid "Installing %s group packages..."
msgstr "Installazione del gruppo di pacchetti %s..."
#: _from_rc.cc:13
msgid "Conf&igure"
msgstr "Conf&igura"
#: mambabase.py:218
#, python-format
msgid "Installing %s package (%s)..."
msgstr "Installazione del pacchetto %s (%s)..."
#: _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:166
#, python-format
msgid "Installing package %s"
msgstr "Installazione del pacchetto %s"
#: _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:159
#, python-format
msgid "Package %s is already installed"
msgstr "Il pacchetto %s è già installato"
#: _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:97 mambabase.py:98
#: _from_rc.cc:13
msgid "<b>Press the Next button to continue.</b>"
msgstr "<p>Premi il pulsante Successivo per continuare.</b>"
#: _from_rc.cc:14
msgid "C&heck again"
msgstr "Controlla di nuovo"
#: _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
msgid "Starting installation..."
msgstr "Avvio dell'installazione..."
#: mambabase.py:118 mambabase.py:119
msgid "Updating installed packages..."
msgstr "Aggiornamento dei pacchetti installati in corso..."
#: mambabase.py:102 mambabase.py:103
#: 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
msgid "Updating packages list..."
msgstr "Aggiornamento della lista dei pacchetti..."
#: 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"
#: 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."

View File

@@ -1,85 +0,0 @@
# 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,4 +1,5 @@
#!/bin/bash
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
# 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

View File

@@ -2,10 +2,10 @@
#
# openmamba system report generation tool
#
# Copyright (c) 2008-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
VERSION=20190304
VERSION=20110807
TEMPFILE=`tempfile`
. ${ROOT}/etc/sysconfig/machine
@@ -123,7 +123,7 @@ _EOF
}
echo "openmamba report generation tool $VERSION"
echo "Copyright (c) 2008-2019 by Silvan Calarco <info@openmamba.org>"
echo "Copyright (c) 2008-2013 by Silvan Calarco"
echo
[ $UID = 0 ] || {
@@ -159,37 +159,36 @@ 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"
# 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"
tailfile /var/log/messages "system messages log"
# process/memory information
catcommand "top -b -n1" "Top running processes"
catcommand "ps aux" "All running processes"
# system boot troubleshooting
# kernel boot problems
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 services status
catcommand "systemctl status" "systemctl status"
catcommand "systemctl" "systemctl services status"
catcommand "systemd-analyze blame" "systemd services startup timings"
# 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"
# 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"

2
mambawelcome.lang Normal file
View File

@@ -0,0 +1,2 @@
%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,6 +1,5 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=@distroID@
Icon=@distroicon@
SortOrder=

View File

@@ -0,0 +1,14 @@
[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

@@ -0,0 +1,14 @@
[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

@@ -0,0 +1,14 @@
[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

@@ -0,0 +1,14 @@
[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

@@ -0,0 +1,14 @@
[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

@@ -1,15 +0,0 @@
[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

@@ -1,19 +0,0 @@
[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

@@ -0,0 +1,19 @@
[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;

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 B

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -1,32 +0,0 @@
<?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>

Before

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -0,0 +1,469 @@
#!/bin/bash
# openmamba dist-upgrade script
# Copyright (c) 2016 by Silvan Calarco <silvan.calarco@mambasoft.it>
echo "openmamba dist-upgrade script"
echo "Copyright (c) 2016 by Silvan Calarco <silvan.calarco@mambasoft.it>"
echo
[ $UID -eq 0 ] || {
echo "ERROR: this script must be run as root user; aborting."
exit 1
}
RELEASE=$1
ARCH=`uname -m`
if [ "$ARCH" == "i686" ]; then
RPMARCH="i586"
COMPONENTS="$RPMARCH"
elif [ "$ARCH" == "x86_64" ]; then
RPMARCH="$ARCH"
COMPONENTS="$RPMARCH i586"
else
RPMARCH="$ARCH"
COMPONENTS="$RPMARCH"
fi
[ "$RELEASE" == "rolling" -o "$RELEASE" == "milestone4" ] || {
echo "Usage:"
echo "openmamba-dist-upgrade [rolling|milestone4|reset]"
exit 1
}
. /etc/os-release
if [ "$OPENMAMBA_MILESTONE" != "milestone3" ]; then
echo "ERROR: this script only applies to openmamba milestone3 release; aborting."
exit 1
fi
SMART_FILE_MILESTONE=/etc/smart/distro.d/10-openmamba-milestone4-repositories.py
SMART_FILE_ROLLING=/etc/smart/distro.d/90-openmamba-devel-repositories.py
if [ "$RELEASE" == "milestone4" ]; then
SMART_FILE="$SMART_FILE_MILESTONE"
REPOSITORY="milestone4"
rm -f $SMART_FILE_ROLLING
else
SMART_FILE="$SMART_FILE_ROLLING"
REPOSITORY="devel"
rm -f $SMART_FILE_MILESTONE
fi
echo -n "
System will be upgraded to openmamba milestone4
HINTS:
- this operation can't be reversed
- it is always a good practice to have a backup of, at least, personal important data
- broadband connection needed, possibly connect your computer to cable network
- prepare to wait, upgrade may take up to some hours depending on the speed of your computer and network
- if this is a laptop plug it to AC power
- in case of problems you may find help on the forums at openmamba.org web site
Proceed with upgrade [y/N]?"
read ans
[ "$ans" = "y" ] || exit 0
echo "Upgrading current openmamba release..."
#smart update || exit 1
#smart upgrade -y || exit 1
echo "Configuring for release $RELEASE..."
if [ "$RELEASE" == "milestone4" ]; then
cat > $SMART_FILE << _EOF
#
# openmamba milestone4 channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4")):
sysconf.set(("channels", "milestone4"),
{"alias": "milestone4",
"type": "apt-rpm",
"name": "stable milestone4 base packages",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4",
"components": "${COMPONENTS}"})
#
# openmamba milestone4-games channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-games")):
sysconf.set(("channels", "milestone4-games"),
{"alias": "milestone4-games",
"type": "apt-rpm",
"name": "stable milestone4 games packages",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-games",
"components": "${COMPONENTS}"})
#
# openmamba milestone4-updates channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-updates")):
sysconf.set(("channels", "milestone4-updates"),
{"alias": "milestone4-updates",
"type": "apt-rpm",
"name": "stable milestone4 updates packages",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-updates",
"components": "${COMPONENTS}"})
#
# openmamba milestone4-kernel channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-kernel")):
sysconf.set(("channels", "milestone4-kernel"),
{"alias": "milestone4-kernel",
"type": "apt-rpm",
"name": "newest kernel release for milestone4 stable systems",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-kernel",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba milestone4-kernel-next channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-kernel-next")):
sysconf.set(("channels", "milestone4-kernel-next"),
{"alias": "milestone4-kernel-next",
"type": "apt-rpm",
"name": "experimental kernel release for milestone4 stable systems",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-kernel-next",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba milestone4-kde4 channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-kde4")):
sysconf.set(("channels", "milestone4-kde4"),
{"alias": "milestone4-kde4",
"type": "apt-rpm",
"name": "newest kde4 release for milestone4 stable systems",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-kde4",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba milestone4-xorg channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-xorg")):
sysconf.set(("channels", "milestone4-xorg"),
{"alias": "milestone4-xorg",
"type": "apt-rpm",
"name": "newest X.org release for milestone4 stable systems",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-xorg",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba milestone4-makedist channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone4-makedist")):
sysconf.set(("channels", "milestone4-makedist"),
{"alias": "milestone4-makedist",
"type": "apt-rpm",
"name": "experimental milestone4 makedist packages",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/milestone4-makedist",
"components": "${COMPONENTS}",
"disabled": "yes"})
import os
import sys
release=os.popen("openmamba-release -c").read()
for r in ["milestone4","milestone4-updates","milestone4-games","milestone4-makedist","milestone4-kernel",\
"milestone4-kde4","milestone4-xorg","milestone4-kernel-next"]:
channel=sysconf.get(("channels", r))
if channel:
if channel['baseurl'].startswith('http://www.openmamba.org/'):
channel['baseurl'] = \
channel['baseurl'].replace('http://www.openmamba.org/','http://cdn.openmamba.org/')
channel['fingerprint']='A402 AA41 82DE 06DD 0C82 943A B771 C004 8746 8781'
sysconf.set(("channels",r),channel)
for r in ["milestone4","milestone4-updates","milestone4-games"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=False
sysconf.set(("channels",r),channel)
for r in [ "milestone3", "milestone3-games", "milestone3-updates", "milestone3-makedist", "milestone3-kernel", "devel", "devel-games" ]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=True
sysconf.set(("channels",r),channel)
_EOF
else
cat > $SMART_FILE << _EOF
#
# openmamba devel channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel")):
sysconf.set(("channels", "devel"),
{"alias": "devel",
"type": "apt-rpm",
"name": "base repository [rolling]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel",
"components": "${COMPONENTS}"})
#
# openmamba devel-games channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-games")):
sysconf.set(("channels", "devel-games"),
{"alias": "devel-games",
"type": "apt-rpm",
"name": "branch of base repository containing big games [rolling]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-games",
"components": "${COMPONENTS}"})
#
# openmamba devel-kde4 channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-kde4")):
sysconf.set(("channels", "devel-kde4"),
{"alias": "devel-kde4",
"type": "apt-rpm",
"name": "latest kde4 release [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-kde4",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-kernel channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-kernel")):
sysconf.set(("channels", "devel-kernel"),
{"alias": "devel-kernel",
"type": "apt-rpm",
"name": "latest kernel release [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-kernel",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-xorg channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-xorg")):
sysconf.set(("channels", "devel-xorg"),
{"alias": "devel-xorg",
"type": "apt-rpm",
"name": "latest xorg release [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-xorg",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-gnome channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-gnome")):
sysconf.set(("channels", "devel-gnome"),
{"alias": "devel-gnome",
"type": "apt-rpm",
"name": "latest Gnome release [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-gnome",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-misc channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-misc")):
sysconf.set(("channels", "devel-misc"),
{"alias": "devel-misc",
"type": "apt-rpm",
"name": "latest miscellaneous releases [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-misc",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-makedist channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-makedist")):
sysconf.set(("channels", "devel-makedist"),
{"alias": "devel-makedist",
"type": "apt-rpm",
"name": "auxiliary repository for makedist (livecd, flash 1GB) [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-makedist",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-embedded channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-embedded")):
sysconf.set(("channels", "devel-embedded"),
{"alias": "devel-embedded",
"type": "apt-rpm",
"name": "auxiliary repository for embedded systems [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-embedded",
"components": "${COMPONENTS}",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-autodist channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-autodist")):
sysconf.set(("channels", "devel-autodist"),
{"alias": "devel-autodist",
"type": "apt-rpm",
"name": "auxiliary repository for autodist (automatic builds) [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-autodist",
"components": "${COMPONENTS}",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-future channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-future")):
sysconf.set(("channels", "devel-future"),
{"alias": "devel-future",
"type": "apt-rpm",
"name": "auxiliary repository for not yet integrated new releases [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-future",
"components": "${COMPONENTS}",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-past channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-past")):
sysconf.set(("channels", "devel-past"),
{"alias": "devel-past",
"type": "apt-rpm",
"name": "archive repository for obsoleted and removed packages [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-past",
"components": "${COMPONENTS}",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-java channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-java")):
sysconf.set(("channels", "devel-java"),
{"alias": "devel-java",
"type": "apt-rpm",
"name": "contributed java packages [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-java",
"components": "${COMPONENTS}",
"disabled": "yes"})
#
# openmamba devel-contrib channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-contrib")):
sysconf.set(("channels", "devel-contrib"),
{"alias": "devel-contrib",
"type": "apt-rpm",
"name": "auxiliary repository for contributors [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-contrib",
"components": "${COMPONENTS}",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-kernel-past channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-kernel-past")):
sysconf.set(("channels", "devel-kernel-past"),
{"alias": "devel-kernel-past",
"type": "apt-rpm",
"name": "previous kernel release [unstable]",
"baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-kernel-past",
"components": "${COMPONENTS}",
"disabled": "yes"})
import os
import sys
release=os.popen("openmamba-release -c").read()
#if release.startswith('devel'):
for r in ["devel","devel-games","devel-kde4","devel-kernel","devel-xorg","devel-makedist","devel-gnome",\
"devel-misc","devel-java","devel-embedded","devel-autodist","devel-future","devel-past",
"devel-contrib","devel-kernel-past"]:
channel=sysconf.get(("channels", r))
if channel:
if channel['baseurl'].startswith('http://www.openmamba.org/'):
channel['baseurl'] = \
channel['baseurl'].replace('http://www.openmamba.org/','http://cdn.openmamba.org/')
channel['fingerprint']='A402 AA41 82DE 06DD 0C82 943A B771 C004 8746 8781'
sysconf.set(("channels",r),channel)
for r in ["devel","devel-games"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=False
sysconf.set(("channels",r),channel)
for r in ["devel-embedded","devel-autodist","devel-future","devel-past","devel-contrib"]:
channel=sysconf.get(("channels", r))
if channel:
channel['manual']=True
sysconf.set(("channels",r),channel)
for r in ["milestone2","milestone2-games","milestone2-updates","milestone2-makedist",\
"milestone3","milestone3-games","milestone3-updates","milestone3-makedist",
"milestone4","milestone4-games","milestone4-updates","milestone4-makedist"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=True
sysconf.set(("channels",r),channel)
_EOF
fi
echo "Preparing for upgrade..."
rm -f /var/lib/smart/cache
rm -f /var/lib/smart/channels/*
smart update || exit 1
smart install smart || exit 1
#smart install -y smart || exit 1
echo "First upgrade stage..."
if [ "$RPMARCH" == "x86_64" ]; then
smart install -y libreadline libreadline@i586 libreadline6 libreadline6@i586
smart install -y libncurses libncurses@i586 libncurses5 libncurses5@i586
smart install -y libnettle libnettle@i586 libnettle4 libnettle4@i586
smart install -y libgnutls libgnutls@i586 libgnutls28 libgnutls28@i586
else
smart install -y libreadline libreadline6
smart install -y libncurses libncurses5
smart install -y libnettle libnettle4
smart install -y libgnutls libgnutls28
fi
smart install -y libtirpc libtirpc1
if [ "$RPMARCH" == "x86_64" ]; then
smart install -y glibc glibc-multilib
else
smart install -y glibc
fi
smart install -y openmamba-install-scripts
#smart install -y wxWidgets-i18n
QTVER=`curl -s http://cdn.openmamba.org/pub/openmamba/${REPOSITORY}/SRPMS.base/|grep libqt5|sed "s|.*libqt5-\(.*\)\.src.rpm.*|\1|"`
curl http://cdn.openmamba.org/pub/openmamba/${REPOSITORY}/RPMS.${RPMARCH}/libqt5-common-${QTVER}.${RPMARCH}.rpm \
-o /tmp/libqt5-common-${QTVER}.${RPMARCH}.rpm
rpm -U /tmp/libqt5-common-${QTVER}.${RPMARCH}.rpm --nodeps --force
echo "Second upgrade stage, this may take a long time!"
smart upgrade -y || exit 1
echo "DONE! You may now REBOOT the system into openmamba ${RELEASE}."
#sleep 10
#reboot

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=mambaSoft remote support
Name[it]=Supporto remoto mambaSoft
GenericName=Remote assistance
GenericName[it]=Assistenza remota
Exec=/usr/bin/remote-support-mambasoft < /dev/null
Icon=mambasoft
Terminal=0
Type=Application
Categories=X-openmamba;

View File

@@ -0,0 +1,5 @@
#!/bin/bash
[ "$1" ] && LOCAL_PORT=$1 || LOCAL_PORT=22
[ "$2" ] && REMOTE_PORT=$2 || REMOTE_PORT=$(($LOCAL_PORT + 45000))
export SSH_ASKPASS=@libexecdir@/openssh/ssh-askpass
ssh -p 4424 -N -R $REMOTE_PORT:localhost:$LOCAL_PORT assistenza@services.mambasoft.it

638
xramdr/70521-xramdr.kmdr Normal file
View File

@@ -0,0 +1,638 @@
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>xramdr</class>
<widget class="Dialog">
<property name="name">
<cstring>xramdr</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>560</width>
<height>429</height>
</rect>
</property>
<property name="caption">
<string>Xramdr</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string>#!kommander
_xrandrOut = exec("xrandr")
screens = exec("awk '/connected/ {print $1}' &lt;&lt;EOF\n" + _xrandrOut + "\nEOF")
Avail_Screen1.insertItems(screens, 0)
Avail_Screen2.insertItems(screens, 0)
#search for main-screen. (+0+0)
main = ""
for i = 0 to Avail_Screen1.count - 1 step 1 do
output = Avail_Screen1.item(i)
output_escaped = exec("echo '" + output + "' |
sed 's/\\(.\\)/[&amp;]/g' | sed 's/\\[\\^\\]/\\\\^/g'")
atOrigin = exec("awk '/^" + output_escaped + " connected [0-9x]+\\+0\\+0 / {print $3}' &lt;&lt; EOF_XRAMDR\n" + _xrandrOut + "\nEOF_XRAMDR")
if (! str_isEmpty(atOrigin)) then
main = output
exec("echo '" + main + "'")
main_res = str_remove(atOrigin, "+0+0")
break
endif
end
if str_isEmpty(main) then
message_error("Could not find main-output", "No Main Output")
else
Avail_Screen1.setSelection(main)
endif
populate_res1.execute
Resolutions_Screen1.setSelection(main_res)
#search for 2nd screen.
second = ""
for i = 0 to Avail_Screen2.count - 1 step 1 do
output = Avail_Screen2.item(i)
if output == main then continue endif
output_escaped = exec("echo '" + output + "' |
sed 's/\\(.\\)/[&amp;]/g' | sed 's/\\[\\^\\]/\\\\^/g'")
isUsed = exec("awk '/^" + output_escaped + " connected [0-9x+-]+ / {print $3}' &lt;&lt; EOF_XRAMDR\n" + _xrandrOut + "\nEOF_XRAMDR")
if (! str_isEmpty(isUsed)) then
second = output
break
endif
end
if (! str_isEmpty(second)) then
Avail_Screen2.setSelection(second)
populate_res2.execute
else
deactivate_screen2.execute
endif</string>
<string></string>
</stringlist>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="ExecButton" row="2" column="3">
<property name="name">
<cstring>apply</cstring>
</property>
<property name="text">
<string>Appl&amp;y</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@exec(@text_cmd)</string>
</stringlist>
</property>
</widget>
<widget class="GroupBox" row="0" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>GroupBox1_2</cstring>
</property>
<property name="title">
<string>Screen 2</string>
</property>
<widget class="GroupBox">
<property name="name">
<cstring>group_screen2</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>280</width>
<height>280</height>
</rect>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="title">
<string></string>
</property>
<widget class="ButtonGroup">
<property name="name">
<cstring>ButtonGroup3</cstring>
</property>
<property name="geometry">
<rect>
<x>170</x>
<y>60</y>
<width>112</width>
<height>166</height>
</rect>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="title">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
</stringlist>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="RadioButton" row="0" column="0">
<property name="name">
<cstring>mirror</cstring>
</property>
<property name="text">
<string>&amp;Mirror</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@null</string>
<string>--same-as @Avail_Screen1</string>
</stringlist>
</property>
</widget>
<widget class="RadioButton" row="1" column="0">
<property name="name">
<cstring>above</cstring>
</property>
<property name="text">
<string>A&amp;bove</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@null</string>
<string>--above @Avail_Screen1</string>
</stringlist>
</property>
</widget>
<widget class="RadioButton" row="2" column="0">
<property name="name">
<cstring>below</cstring>
</property>
<property name="text">
<string>Bel&amp;ow</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@null</string>
<string>--below @Avail_Screen1</string>
</stringlist>
</property>
</widget>
<widget class="RadioButton" row="3" column="0">
<property name="name">
<cstring>left_of</cstring>
</property>
<property name="text">
<string>Left-Of</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@null</string>
<string>--left-of @Avail_Screen1</string>
</stringlist>
</property>
</widget>
<widget class="RadioButton" row="4" column="0">
<property name="name">
<cstring>right_of</cstring>
</property>
<property name="text">
<string>R&amp;ight-Of</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@null</string>
<string>--right-of @Avail_Screen1</string>
</stringlist>
</property>
</widget>
</grid>
</widget>
<widget class="ListBox">
<property name="name">
<cstring>Resolutions_Screen2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>160</width>
<height>220</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Resolutions_Screen2.selection</string>
</stringlist>
</property>
</widget>
<widget class="ComboBox">
<property name="name">
<cstring>Avail_Screen2</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>160</width>
<height>26</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Avail_Screen2.text</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>Activate_Screen2</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>150</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&amp;Activate</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
</widget>
<widget class="GroupBox" row="0" column="0">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="title">
<string>Screen 1</string>
</property>
<widget class="ComboBox">
<property name="name">
<cstring>Avail_Screen1</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>160</width>
<height>26</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Avail_Screen1.text</string>
</stringlist>
</property>
</widget>
<widget class="ListBox">
<property name="name">
<cstring>Resolutions_Screen1</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>160</width>
<height>220</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Resolutions_Screen1.selection</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="LineEdit" row="1" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>text_cmd</cstring>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@text_cmd.text</string>
</stringlist>
</property>
</widget>
<widget class="GroupBox" row="2" column="2">
<property name="name">
<cstring>GroupBox5</cstring>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="title">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<widget class="ScriptObject">
<property name="name">
<cstring>deactivate_screen2</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Activate_Screen2.setChecked(false)</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>populate_res2</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Resolutions_Screen2.clear
@Resolutions_Screen2.insertItems(@exec("awk '/connected/ { screen = $1}
/^[ ]*[0-9]+x[0-9]+/ { if (screen == "@Avail_Screen2") print $1}' &lt;&lt;EOF\n@global(xrandrOut)\nEOF"), 0)
@Resolutions_Screen2.setSelection(@exec("echo '@exec("awk '/^@Avail_Screen2 connected [0-9x+-]+ / {print $3}' &lt;&lt; EOF\n@global(xrandrOut)\nEOF")' | sed 's/[+].*//'"))
@radio_set.execute</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>populate_res1</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Resolutions_Screen1.clear
@Resolutions_Screen1.insertItems(@exec("awk '/connected/ { screen = $1}
/^[ ]*[0-9]+x[0-9]+/ { if (screen == "@Avail_Screen1") print $1}' &lt;&lt;EOF\n@global(xrandrOut)\nEOF"), 0)
@Resolutions_Screen1.setSelection(@exec("echo '@exec("awk '/^@Avail_Screen1 connected [0-9x]+\\+0\\+0 / {print $3}' &lt;&lt; EOF\n@global(xrandrOut)\nEOF")' | sed 's/[+].*//'"))
</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>generate</cstring>
</property>
<property name="geometry">
<rect>
<x>-10</x>
<y>10</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>#!kommander
screen1 = Avail_Screen1.text
error = false
cmd = "xrandr"
resolution1 = Resolutions_Screen1.selection()
if str_isEmpty(resolution1) then error = true endif
cmd = cmd + " --output " + "'" + screen1 + "'"
cmd = cmd + " --mode " + resolution1
if Activate_Screen2.checked then
screen2 = Avail_Screen2.text
if (screen1 == screen2) then error = true endif
resolution2 = Resolutions_Screen2.selection()
if str_isEmpty(resolution2) then error = true endif
cmd = cmd + " --output '" + screen2 + "'"
cmd = cmd + " --mode " + resolution2
cmd = cmd + " "
if mirror.checked then cmd = cmd + "--same-as" endif
if above.checked then cmd = cmd + "--above" endif
if below.checked then cmd = cmd + "--below" endif
if left_of.checked then cmd = cmd + "--left-of" endif
if right_of.checked then cmd = cmd + "--right-of" endif
cmd = cmd + " " + screen1
else
screen2 = screen1
endif
for i = 0 to Avail_Screen1.count - 1 step 1 do
output = Avail_Screen1.item(i)
if output == screen1 then continue endif
if output == screen2 then continue endif
cmd = cmd + " --output " + output + " --off"
end
if error then
text_cmd.setText("")
else
text_cmd.setText(cmd)
endif</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>radio_set</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>#!kommander
second_output = exec("echo '" + Avail_Screen2.text + "' | sed 's/\\(.\\)/[&amp;]/g' | sed 's/\\[\\^\\]/\\\\^/g'")
second_offset = exec("echo '" + exec("awk '/^" + second_output + " connected [0-9x+-]+ / {print $3}' &lt;&lt; EOF\n" + _xrandrOut + "\nEOF") + "' | sed 's/^[0-9x]*//'")
if str_isEmpty(second_offset) then
mirror.setChecked(true)
elseif second_offset == "+0+0" then
mirror.setChecked(true)
elseif str_contains(second_offset, "+0+") then
below.setChecked(true)
elseif str_contains(second_offset, "+0-") then
above.setChecked(true)
elseif (str_left(second_offset, 1) == "+") then
right_of.setChecked(true)
else
left_of.setChecked(true)
endif</string>
</stringlist>
</property>
</widget>
</widget>
<spacer row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Spacer1</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>325</width>
<height>0</height>
</size>
</property>
</spacer>
</grid>
</widget>
<connections>
<connection>
<sender>below</sender>
<signal>clicked()</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>above</sender>
<signal>clicked()</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Avail_Screen2</sender>
<signal>activated(int)</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Avail_Screen1</sender>
<signal>activated(int)</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>mirror</sender>
<signal>clicked()</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Avail_Screen1</sender>
<signal>activated(int)</signal>
<receiver>populate_res1</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Activate_Screen2</sender>
<signal>toggled(bool)</signal>
<receiver>group_screen2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>Resolutions_Screen1</sender>
<signal>currentChanged(QListBoxItem*)</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>left_of</sender>
<signal>clicked()</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>right_of</sender>
<signal>clicked()</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Avail_Screen2</sender>
<signal>activated(int)</signal>
<receiver>populate_res2</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Activate_Screen2</sender>
<signal>clicked()</signal>
<receiver>populate_res2</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Activate_Screen2</sender>
<signal>toggled(bool)</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Resolutions_Screen2</sender>
<signal>currentChanged(QListBoxItem*)</signal>
<receiver>generate</receiver>
<slot>execute()</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>

1
xramdr/README Normal file
View File

@@ -0,0 +1 @@
Source: http://www.kde-apps.org/CONTENT/content-files/70521-xramdr.kmdr

BIN
xramdr/xramdr-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

BIN
xramdr/xramdr-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
xramdr/xramdr-48x48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
xramdr/xramdr-64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

12
xramdr/xramdr.desktop Normal file
View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Name=xramdr
GenericName=A dual head configuration panel
GenericName[it]=Configurazione display multiply
Exec=kmdr-executor /usr/share/openmamba/xramdr/xramdr.kmdr
Icon=mamba
Terminal=0
Type=Application
Categories=X-openmamba;
#X-KDE-RootOnly=true
#X-KDE-SubstituteUID=true
#X-KDE-Username=root