Compare commits
58 Commits
Author | SHA1 | Date | |
---|---|---|---|
58d434e229 | |||
836d47925e | |||
0f6f1e3f55 | |||
2552a9d0b8 | |||
f12cefac80 | |||
dcd328ba42 | |||
d4877620a8 | |||
8c184a5bfa | |||
830fd474d1 | |||
3561b9b2c5 | |||
7c0a196bf5 | |||
deba5ae309 | |||
2ee7762745 | |||
0d81a89138 | |||
39bc23faf6 | |||
8b9fd9e648 | |||
ab47acc57c | |||
e8e97b9082 | |||
aaf505880a | |||
63ac109504 | |||
a64f936e4b | |||
4330d5cf9c | |||
ec536cd9a6 | |||
6ec43e895d | |||
f75b7d3ce8 | |||
bebcd1bdb8 | |||
6cd7b43474 | |||
7fe8c182da | |||
e5c9da6a04 | |||
52d8d34602 | |||
fa4c63e9af | |||
2d7a50a044 | |||
2b8f1d5c98 | |||
28616db2c5 | |||
8a428a76b6 | |||
ab89e6ee0d | |||
e49a9c03b2 | |||
e0a172d8f7 | |||
cedfb93b68 | |||
b5ddfe787c | |||
0b20585be5 | |||
f574490e77 | |||
f44219efae | |||
76b6dde25f | |||
b4099586ce | |||
b00e1dfe15 | |||
4785ba0d9c | |||
c1dcebd6f5 | |||
053f821e7f | |||
c420fa1272 | |||
ec7a7c8183 | |||
b9e7f95109 | |||
279f33aba3 | |||
17a2a7bcee | |||
7e2099106f | |||
ab3ae9a6dd | |||
9ab6dc2fb7 | |||
582526fc08 |
39
Makefile
39
Makefile
@@ -1,5 +1,5 @@
|
||||
# Makefile for desktop-base-openmamba package
|
||||
# Copyright (C) 2004-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2004-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||
|
||||
include VERSION
|
||||
@@ -8,16 +8,21 @@ ARCH:=`uname -i`
|
||||
|
||||
ifeq ($(ARCH), arm)
|
||||
SRPMSVERSIONSFILE = SRPMSVERSIONS.arm
|
||||
pck_srpms = b43-firmware sun-java7
|
||||
pck_srpms = b43-firmware
|
||||
else
|
||||
ifeq ($(ARCH), x86_64)
|
||||
SRPMSVERSIONSFILE = SRPMSVERSIONS
|
||||
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
|
||||
sun-java spotify chromium-pepper-flash chromium-widevine
|
||||
else
|
||||
SRPMSVERSIONSFILE = SRPMSVERSIONS
|
||||
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
|
||||
sun-java7 spotify chromium-pepper-flash
|
||||
sun-java spotify chromium-pepper-flash
|
||||
endif
|
||||
endif
|
||||
PACKAGE = desktop-base-openmamba
|
||||
DISTROID = openmamba
|
||||
|
||||
WITHKDE3 := 1
|
||||
WITHKDE3TOOLS := 1
|
||||
|
||||
RPM_VENDOR = openmamba
|
||||
@@ -48,18 +53,13 @@ endif
|
||||
initrddir = ${sysconfdir}/rc.d/init.d
|
||||
mandir = ${prefix}/usr/share/man
|
||||
sysconfigdir= ${sysconfdir}/sysconfig
|
||||
xprofiledir = ${sysconfdir}/xprofile.d
|
||||
profiledir = ${sysconfdir}/profile.d
|
||||
mambabasedatadir = ${datadir}/openmamba/mambabase
|
||||
mambareportdatadir = ${datadir}/openmamba/mambareport
|
||||
mambaimagesdir = ${datadir}/openmamba/images
|
||||
xramdrdatadir = ${datadir}/openmamba/xramdr
|
||||
iconsdir = ${datadir}/icons/hicolor
|
||||
kdeprefixdir = $(shell kde-config --prefix)
|
||||
kdedatadir = $(kdeprefixdir)/share
|
||||
kdeautostartdir = ${kdedatadir}/autostart
|
||||
kdeconfigdir = ${kdedatadir}/config
|
||||
localesdir = ${datadir}/locale
|
||||
kdelocalesdir = ${kdedatadir}/locale
|
||||
pck_desktop = $(wildcard desktop/*.bz2)
|
||||
systemlogodir = ${datadir}/pixmaps
|
||||
xdg_appsdir = ${datadir}/applications
|
||||
@@ -67,6 +67,7 @@ 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
|
||||
@@ -129,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)$(kdelocalesdir)/$$lang/LC_MESSAGES";\
|
||||
dir="$(DESTDIR)$(datadir)/locale/$$lang/LC_MESSAGES";\
|
||||
$(INSTALL_DIR) $$dir;\
|
||||
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
|
||||
done
|
||||
@@ -148,14 +149,14 @@ 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/
|
||||
|
||||
@@ -201,12 +202,14 @@ install-icons:
|
||||
|
||||
install-mambabase:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase.sh $(DESTDIR)$(mambabasedatadir)
|
||||
ifeq ($(WITHKDE3TOOLS),1)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase.kmdr $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase $(DESTDIR)$(bindir)/mambabase
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase.py $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase-pkggroups-parser.sh $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
|
||||
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
|
||||
endif
|
||||
$(INSTALL_DATA) mambabase/openmamba.png $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_DATA) mambabase/mambabase.png $(DESTDIR)$(mambabasedatadir)
|
||||
cp mambabase/*.ui $(DESTDIR)$(mambabasedatadir)
|
||||
|
||||
install-mambareport:
|
||||
$(INSTALL_SCRIPT) mambareport/openmamba-makereport $(DESTDIR)$(bindir)
|
||||
@@ -228,7 +231,7 @@ install-xramdr:
|
||||
install-desktop:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(distrodesktopdir)
|
||||
$(INSTALL_DATA) $(pck_desktop) $(DESTDIR)$(distrodesktopdir)
|
||||
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(xprofiledir)
|
||||
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(profiledir)
|
||||
|
||||
install-openmamba-update:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||
|
@@ -1,7 +1,7 @@
|
||||
Name: chromium-pepper-flash
|
||||
Version: @SRPMVERSION@
|
||||
Release: @SRPMRELEASE@
|
||||
Epoch: 1
|
||||
Epoch: 2
|
||||
Summary: Google Chrome's pepper-flash plugin for Chromium
|
||||
Group: Applications/Web
|
||||
Vendor: @vendor@
|
||||
@@ -37,16 +37,15 @@ tmpdir=$(mktemp -q -d -t flashplugin.XXXXXXXX)
|
||||
${CHROMIUM_PEPPER_FLASH_URL}${CHROMIUM_PEPPER_FLASH_PCK} -O ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
|
||||
[ -f ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} ] || exit 1
|
||||
|
||||
rpm2cpio ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} | cpio -id
|
||||
tar xzf ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
|
||||
|
||||
%build -q
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
|
||||
cp -a opt/google/chrome/PepperFlash/* %{buildroot}/opt/chromium/PepperFlash/
|
||||
|
||||
cp %{S:0} LICENSE
|
||||
cp -a * %{buildroot}/opt/chromium/PepperFlash/
|
||||
|
||||
rm -fr ${tmpdir}
|
||||
|
||||
@@ -59,9 +58,16 @@ rm -rf %{_builddir}/%{name}-*
|
||||
%defattr(-,root,root)
|
||||
%dir /opt/chromium/PepperFlash
|
||||
/opt/chromium/PepperFlash/libpepflashplayer.so
|
||||
/opt/chromium/PepperFlash/license.pdf
|
||||
/opt/chromium/PepperFlash/LICENSE
|
||||
/opt/chromium/PepperFlash/manifest.json
|
||||
%doc LICENSE
|
||||
/opt/chromium/PepperFlash/readme.txt
|
||||
%dir /opt/chromium/PepperFlash/LGPL
|
||||
/opt/chromium/PepperFlash/LGPL/*
|
||||
|
||||
%changelog
|
||||
* Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||
- PPAPI plugin for Chromium
|
||||
|
||||
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 37.0.2062.120-1mamba
|
||||
- first build for chromium-pepper-flash
|
||||
|
@@ -1,7 +1,7 @@
|
||||
## Google Chrome's pepper-flash
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
CHROMIUM_PEPPER_FLASH_PCK=google-chrome-stable_current_@arch@.rpm
|
||||
CHROMIUM_PEPPER_FLASH_PCK=flash_player_ppapi_linux.@arch@.tar.gz
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
CHROMIUM_PEPPER_FLASH_URL=https://dl.google.com/linux/direct/
|
||||
CHROMIUM_PEPPER_FLASH_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["chromium-pepper-flash"]}/
|
||||
|
8
SRPMS/chromium-widevine/LICENSE
Normal file
8
SRPMS/chromium-widevine/LICENSE
Normal file
@@ -0,0 +1,8 @@
|
||||
Google LLC and its affiliates ("Google") own all legal right, title and
|
||||
interest in and to the content decryption module software ("Software") and
|
||||
related documentation, including any intellectual property rights in the
|
||||
Software. You may not use, modify, sell, or otherwise distribute the Software
|
||||
without a separate license agreement with Google. The Software is not open
|
||||
source software.
|
||||
|
||||
If you are interested in licensing the Software, please contact www.widevine.com
|
69
SRPMS/chromium-widevine/chromium-widevine.spec.in
Normal file
69
SRPMS/chromium-widevine/chromium-widevine.spec.in
Normal file
@@ -0,0 +1,69 @@
|
||||
Name: chromium-widevine
|
||||
Version: @SRPMVERSION@
|
||||
Release: @SRPMRELEASE@
|
||||
Summary: Google Chrome's Widevine plugin for Chromium
|
||||
Group: Applications/Web
|
||||
Vendor: @vendor@
|
||||
Distribution: @distribution@
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.widevine.com/
|
||||
Source: LICENSE
|
||||
License: Non Distributable
|
||||
# NOTE: requires the backward compatible version of the libstdc++ library
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Google Chrome's Widevine plugin for Chromium.
|
||||
|
||||
%prep
|
||||
%setup -c -n %{name}-%{version} -T
|
||||
|
||||
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
|
||||
declare -A SRPMVERSION SRPMRELEASE
|
||||
. /etc/sysconfig/@sysconfigfile@
|
||||
|
||||
[ "${CHROMIUM_WIDEVINE_PCK}" ] || exit 1
|
||||
[ "${CHROMIUM_WIDEVINE_URL}" ] || \
|
||||
CHROMIUM_WIDEVINE_URL="https://dl.google.com/linux/direct/"
|
||||
|
||||
tmpdir=$(mktemp -q -d -t chromium-widevine.XXXXXXXX)
|
||||
[ $? -eq 0 ] || exit 1
|
||||
|
||||
[ -f ${tmpdir}/${WIDEVINE_PCK} ] ||
|
||||
wget -nv --timeout=10 --tries=2 \
|
||||
${CHROMIUM_WIDEVINE_URL}${CHROMIUM_WIDEVINE_PCK} -O ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}
|
||||
[ -f ${tmpdir}/${CHROMIUM_WIDEVINE_PCK} ] || exit 1
|
||||
|
||||
ar x ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}
|
||||
bsdtar -x --strip-components 4 -f data.tar.xz opt/google/chrome/WidevineCdm
|
||||
|
||||
%build -q
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
install -d -m0755 %{buildroot}%{_libdir}/chromium/
|
||||
cp -a WidevineCdm %{buildroot}%{_libdir}/chromium/
|
||||
|
||||
#cp %{S:0} LICENSE
|
||||
|
||||
rm -fr ${tmpdir}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
rm -rf %{_builddir}/%{name}-*
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/chromium/WidevineCdm
|
||||
%{_libdir}/chromium/WidevineCdm/manifest.json
|
||||
%{_libdir}/chromium/WidevineCdm/LICENSE
|
||||
%{_libdir}/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
|
||||
#%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||
- make library available in the path searched by chromium 78+
|
||||
|
||||
* Sat Jun 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||
- first build for chromium-widevine
|
7
SRPMS/chromium-widevine/distroutils.sysconfig.in
Normal file
7
SRPMS/chromium-widevine/distroutils.sysconfig.in
Normal file
@@ -0,0 +1,7 @@
|
||||
## Google Chrome's Widevine plugin
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
CHROMIUM_WIDEVINE_PCK=google-chrome-stable_${SRPMVERSION["chromium-widevine"]}-1_amd64.deb
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
CHROMIUM_WIDEVINE_URL=https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/
|
@@ -1,7 +1,7 @@
|
||||
## Adobe Flash Plugin
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
FLASH_PLUGIN_PCK=install_flash_player_11_linux.@arch@.tar.gz
|
||||
FLASH_PLUGIN_PCK=flash_player_npapi_linux.@arch@.tar.gz
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["flashplugin"]}/
|
||||
|
@@ -14,7 +14,7 @@ BuildPrereq: wget
|
||||
BuildPrereq: /usr/bin/tempfile
|
||||
# NOTE: requires the backward compatible version of the libstdc++ library
|
||||
Requires: pulseaudio
|
||||
Requires: libv4l.i586
|
||||
Requires: libv4l1.so.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
|
96
SRPMS/sun-java/LICENSE
Normal file
96
SRPMS/sun-java/LICENSE
Normal file
@@ -0,0 +1,96 @@
|
||||
Oracle Technology Network License Agreement for Oracle Java SE
|
||||
|
||||
Oracle is willing to authorize Your access to software associated with this License Agreement (“Agreement”) only upon the condition that You accept that this Agreement governs Your use of the software. By selecting the "Accept License Agreement" button or box (or the equivalent) or installing or using the Programs, You indicate Your acceptance of this Agreement and Your agreement, as an authorized representative of Your company or organization (if being acquired for use by an entity) or as an individual, to comply with the license terms that apply to the software that You wish to download and access. If You are not willing to be bound by this Agreement, do not select the “Accept License Agreement” button or box (or the equivalent) and do not download or access the software.
|
||||
|
||||
Definitions
|
||||
"Oracle" refers to Oracle America, Inc.
|
||||
|
||||
"You" and "Your" refers to (a) a company or organization (“Entity”) accessing the Programs, if use of the Programs will be on behalf of such Entity; or (b) an individual accessing the Programs (“Individual”), if use of the Programs will not be on behalf of an Entity.
|
||||
|
||||
“Contractors” refers to Your agents and contractors (including, without limitation, outsourcers).
|
||||
|
||||
“Development Use” refers to Your internal use of the Programs to develop, test, prototype and demonstrate Your Applications. For purposes of clarity, the “to develop” grant includes using the Programs to run profilers, debuggers and Integrated Development Environments (IDE Tools) where the primary purpose of the IDE Tools is profiling, debugging and source code editing Applications.
|
||||
|
||||
"Program(s)" refers to Oracle software provided by Oracle pursuant to this Agreement and any updates, error corrections, and/or Program Documentation provided by Oracle.
|
||||
|
||||
“Program Documentation” refers to the Licensing Information User Manual for Oracle Java SE for the applicable version accessible at https://www.oracle.com/technetwork/java/javase/documentation/ and other documentation provided by Oracle with the Programs or accessible at https://docs.oracle.com/en/java.
|
||||
|
||||
“Separate Terms” refers to separate license terms that are specified in the Program Documentation, readmes or notice files and that apply to Separately Licensed Third Party Technology.
|
||||
|
||||
“Separately Licensed Third Party Technology” refers to third party technology that is licensed under Separate Terms and not under the terms of this Agreement.
|
||||
|
||||
“Application” refers to applications intended to run on the Java Platform, Standard Edition.
|
||||
|
||||
“Personal Use” refers to an Individual's use of the Programs solely on a desktop or laptop computer under such Individual's control only to run Personal Applications.
|
||||
|
||||
“Personal Applications” refers to Applications designed for individual personal use only, such as games or personal productivity tools.
|
||||
|
||||
“Oracle Approved Product Use” refers to Your internal use of the Programs only to run: (a) the product(s) identified as Schedule A Products at https://java.com/oaa; and/or (b) software Applications developed using the products identified as Schedule B Products at java.com/oaa by an Oracle authorized licensee of such Schedule B Products. If You are unsure whether the Application You intend to run using the Programs is developed using a Schedule B Product, please contact your Application provider.
|
||||
|
||||
“Oracle Cloud Infrastructure Use (“OCI Use”)” refers to Your use of the Programs on Oracle's Cloud Infrastructure with the Oracle Cloud Infrastructure products identified in the Oracle PaaS and IaaS Universal Credits Service Descriptions available at http://oracle.com/contracts during the period in which You maintain a subscription for such Oracle Cloud Infrastructure products.
|
||||
|
||||
License Rights and Restrictions
|
||||
Oracle grants You a nonexclusive, nontransferable, limited license to use the Programs, subject to the restrictions stated in this Agreement and Program Documentation, only for:
|
||||
(i) Personal Use,
|
||||
(ii) Development Use,
|
||||
(iii) Oracle Approved Product Use, and/or
|
||||
(iv) Oracle Cloud Infrastructure Use.
|
||||
|
||||
You may allow Your Contractor(s) to use the Programs, provided they are acting on Your behalf to exercise license rights granted in this Agreement and further provided that You are responsible for their compliance with this Agreement in such use. You will have a written agreement with Your Contractor(s) that strictly limits their right to use the Programs and that otherwise protects Oracle's intellectual property rights to the same extent as this Agreement. You may make copies of the Programs to the extent reasonably necessary to exercise the license rights granted in this Agreement.
|
||||
|
||||
You may not:
|
||||
remove or modify any Program markings or any notice of Oracle's or a licensor's proprietary rights;
|
||||
make the Programs available in any manner to any third party (other than Contractors acting on Your behalf as set forth in this Agreement);
|
||||
assign this Agreement or distribute, give, or transfer the Programs or an interest in them to any third party, except as expressly permitted in this Agreement for Contractors (the foregoing shall not be construed to limit the rights You may otherwise have with respect to Separately Licensed Third Party Technology);
|
||||
cause or permit reverse engineering (unless required by law for interoperability), disassembly or decompilation of the Programs; and
|
||||
create, modify, or change the behavior of, classes, interfaces, or subpackages that are in any way identified as "java", "javax", "sun", “oracle” or similar convention as specified by Oracle in any naming convention designation.
|
||||
The Programs may contain source code that, unless expressly licensed in this Agreement for other purposes (for example, licensed under an open source license), is provided solely for reference purposes pursuant to the terms of this Agreement and may not be modified.
|
||||
|
||||
All rights not expressly granted in this Agreement are reserved by Oracle. If You want to use the Programs for any purpose other than as expressly permitted under this Agreement, You must obtain from Oracle or an Oracle reseller a valid Program license under a separate agreement permitting such use.
|
||||
|
||||
Ownership
|
||||
Oracle or its licensors retain all ownership and intellectual property rights to the Programs.
|
||||
|
||||
Third-Party Technology
|
||||
The Programs may contain or require the use of third party technology that is provided with the Programs. Oracle may provide certain notices to You in Program Documentation, readmes or notice files in connection with such third party technology. Third party technology will be licensed to You either under the terms of this Agreement or, if specified in the Program Documentation, readmes or notice files, under Separate Terms. Your rights to use Separately Licensed Third Party Technology under Separate Terms are not restricted in any way by this Agreement. However, for clarity, notwithstanding the existence of a notice, third party technology that is not Separately Licensed Third Party Technology shall be deemed part of the Programs and is licensed to You under the terms of this Agreement.
|
||||
|
||||
Source Code for Open Source Software
|
||||
For software that You receive from Oracle in binary form that is licensed under an open source license that gives You the right to receive the source code for that binary, You can obtain a copy of the applicable source code from https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode. If the source code for such software was not provided to You with the binary, You can also receive a copy of the source code on physical media by submitting a written request pursuant to the instructions in the "Written Offer for Source Code" section of the latter website.
|
||||
|
||||
Export Controls
|
||||
Export laws and regulations of the United States and any other relevant local export laws and regulations apply to the Programs. You agree that such export control laws govern Your use of the Programs (including technical data) and any services deliverables provided under this agreement, and You agree to comply with all such export laws and regulations (including "deemed export" and "deemed re-export" regulations). You agree that no data, information, program and/or materials resulting from Programs or services (or direct products thereof) will be exported, directly or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation, or development of missile technology. Accordingly, You confirm:
|
||||
You will not download, provide, make available or otherwise export or re-export the Programs, directly or indirectly, to countries prohibited by applicable laws and regulations nor to citizens, nationals or residents of those countries.
|
||||
You are not listed on the United States Department of Treasury lists of Specially Designated Nationals and Blocked Persons, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor are You listed on the United States Department of Commerce Table of Denial Orders.
|
||||
You will not download or otherwise export or re-export the Programs, directly or indirectly, to persons on the above mentioned lists.
|
||||
You will not use the Programs for, and will not allow the Programs to be used for, any purposes prohibited by applicable law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction.
|
||||
Information Collection
|
||||
The Programs' installation and/or update processes, if any, may transmit a limited amount of data to Oracle or its service provider about those processes to help Oracle understand and optimize them. Oracle does not associate the data with personally identifiable information. Refer to Oracle's Privacy Policy at www.oracle.com/privacy.
|
||||
|
||||
Disclaimer of Warranties; Limitation of Liability
|
||||
THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT.
|
||||
|
||||
IN NO EVENT WILL ORACLE BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ORACLE'S ENTIRE LIABILITY FOR DAMAGES UNDER THIS AGREEMENT SHALL IN NO EVENT EXCEED ONE THOUSAND DOLLARS (U.S. $1,000).
|
||||
|
||||
No Technical Support
|
||||
Oracle does not provide technical support, phone support, or updates under this Agreement.
|
||||
|
||||
Audit; Termination
|
||||
Oracle may audit an Entity's use of the Programs. You may terminate this Agreement by destroying all copies of the Programs. This Agreement shall automatically terminate without notice if You fail to comply with any of the terms of this Agreement, in which case You shall promptly destroy all copies of the Programs.
|
||||
|
||||
Relationship Between the Parties
|
||||
Oracle is an independent contractor and we agree that no partnership, joint venture, or agency relationship exists between us. We each will be responsible for paying our own employees, including employment related taxes and insurance. Nothing in this Agreement shall be construed to limit either party's right to independently develop or distribute software that is functionally similar to the other party's products, so long as proprietary information of the other party is not included in such software.
|
||||
|
||||
Entire Agreement; Governing Law
|
||||
You agree that this Agreement is the complete agreement for the Programs and this Agreement supersedes all prior or contemporaneous agreements or representations, including any clickwrap, shrinkwrap or similar licenses, or license agreements for prior versions of the Programs. This Agreement may not be modified and the rights and restrictions may not be altered or waived except in a writing signed by authorized representatives of You and of Oracle. If any term of this Agreement is found to be invalid or unenforceable, the remaining provisions will remain effective.
|
||||
|
||||
This Agreement is governed by the substantive and procedural laws of the State of California, USA, and You and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco or Santa Clara counties in California in any dispute arising out of or relating to this Agreement.
|
||||
|
||||
Notices Should You have any questions concerning this Agreement, or if You desire to contact Oracle for any reason, please write:
|
||||
|
||||
Oracle America, Inc.
|
||||
500 Oracle Parkway
|
||||
Redwood City, CA 94065
|
||||
|
||||
Oracle Employees: Under no circumstances are Oracle employees authorized to download software for the purpose of distributing it to customers. Oracle products are available to Oracle employees for internal use or demonstration purposes only. In keeping with Oracle's trade compliance obligations under U.S. and applicable multilateral law, an Oracle employee's failure to comply with this policy could result in disciplinary action up to and including termination.
|
||||
|
||||
Last updated: April 10, 2019
|
0
SRPMS/sun-java/distroutils.sysconfig
Normal file
0
SRPMS/sun-java/distroutils.sysconfig
Normal file
302
SRPMS/sun-java/sun-java.spec.in
Normal file
302
SRPMS/sun-java/sun-java.spec.in
Normal file
@@ -0,0 +1,302 @@
|
||||
%define pkgver %(echo %version | tr _ -)
|
||||
%define realver %(echo %version | cut -d_ -f1)
|
||||
%define MAJOR %(echo %realver | cut -du -f1)
|
||||
%define MINOR %(echo %realver | cut -du -f2)
|
||||
%define major 1.%{MAJOR}
|
||||
%define minor 0
|
||||
%define origin sun
|
||||
%define javaver %{major}.%{minor}
|
||||
%define jppname java-%{javaver}-%{origin}
|
||||
%define javaws_ver %{javaver}
|
||||
%define toplevel_dir jdk-%{version}
|
||||
%define distversion %{realver}
|
||||
%define label -%{name}
|
||||
%define jdklnk jdk12-%{origin}
|
||||
%define jdkdir %{jppname}
|
||||
%define jdkbindir %{_jvmdir}/%{jdklnk}/bin
|
||||
%define jdklibdir %{_jvmdir}/%{jdklnk}/lib
|
||||
|
||||
Name: sun-java
|
||||
Version: @SRPMVERSION@
|
||||
Release: @SRPMRELEASE@
|
||||
Epoch: 1
|
||||
Summary: Sun Java Developer's Kit
|
||||
Group: System/Libraries/Java
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.oracle.com/technetwork/java/javase/overview/index.html
|
||||
Source: LICENSE
|
||||
BuildRequires: jpackage-utils
|
||||
Provides: jdk = %{realver}
|
||||
Provides: jdk2 = %{realver}
|
||||
Obsoletes: sun-java8
|
||||
Obsoletes: sun-java8-runtime
|
||||
Provides: sun-java-runtime
|
||||
License: Oracle Binary Code License
|
||||
Requires: menu-java
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Sun Java Standard Edition Development Kit.
|
||||
|
||||
%prep
|
||||
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
|
||||
|
||||
%setup -q -T -c
|
||||
|
||||
DOWNLOAD_FRAGMENT=`curl --max-time 20 -sL https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html|grep "linux-x64_bin.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|"`
|
||||
|
||||
#echo yes | MORE=10000
|
||||
%ifarch %{ix86}
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
|
||||
https://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}_linux-i586_bin.tar.gz
|
||||
tar xf jdk-%{realver}_linux-i586_bin.tar.gz
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
|
||||
https://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}_linux-x64_bin.tar.gz
|
||||
tar xf jdk-%{realver}_linux-x64_bin.tar.gz
|
||||
%endif
|
||||
%ifarch arm
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
|
||||
https://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}_linux-arm-vfp-sflt_bin.tar.gz
|
||||
tar xf jdk-%{realver}_linux-arm-sfp_bin.tar.gz
|
||||
%endif
|
||||
|
||||
cd %{toplevel_dir}
|
||||
#cp %{SOURCE5} ./construct.sh
|
||||
#mkdir unbundle-jdk
|
||||
#cd unbundle-jdk
|
||||
#sh %{SOURCE0} --accept-license
|
||||
chmod -R u+w *
|
||||
|
||||
#for pack in $(find . -name "*.pack"); do
|
||||
# bin/unpack200 $pack $(echo $pack | sed -e s:.pack::g).jar
|
||||
#done
|
||||
|
||||
%install
|
||||
cd %{toplevel_dir}
|
||||
install -d -m 755 %{buildroot}%{_jvmdir}/%{jdkdir}
|
||||
|
||||
# main
|
||||
cp -a bin conf include jmods legal lib man %{buildroot}%{_jvmdir}/%{jdkdir}
|
||||
|
||||
pushd %{buildroot}%{_jvmdir}
|
||||
ln -s %{jdkdir} %{jdklnk}
|
||||
popd
|
||||
|
||||
mkdir -p %{buildroot}%{_jvmdir}/%{jdkdir}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
rm -rf %{_builddir}/%{name}-*
|
||||
:
|
||||
|
||||
%pre
|
||||
if [ $1 -ge 1 ]; then
|
||||
# legacy cleanups
|
||||
for b in javac jar; do
|
||||
/usr/sbin/update-alternatives --remove $b \
|
||||
/opt/java/jdk/bin/$b 2>/dev/null
|
||||
done
|
||||
fi
|
||||
:
|
||||
|
||||
%post
|
||||
if [ $1 -ge 1 ]; then
|
||||
# new install
|
||||
for b in java javac jar; do
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/$b $b \
|
||||
%{_jvmdir}/%{jdklnk}/bin/$b 56
|
||||
done
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_jvmdir}/jdk jdk \
|
||||
%{_jvmdir}/%{jdklnk} 56
|
||||
fi
|
||||
:
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
for b in java javac jar; do
|
||||
%{_sbindir}/update-alternatives --remove $b \
|
||||
%{_jvmdir}/%{jdklnk}/bin/$b
|
||||
done
|
||||
%{_sbindir}/update-alternatives --remove jdk \
|
||||
%{_jvmdir}/%{jdklnk}
|
||||
fi
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_jvmdir}/%{jdklnk}
|
||||
%dir %{_jvmdir}/%{jdkdir}/bin
|
||||
%{_jvmdir}/%{jdkdir}/bin/*
|
||||
%dir %{_jvmdir}/%{jdkdir}/conf
|
||||
%{_jvmdir}/%{jdkdir}/conf/*
|
||||
%dir %{_jvmdir}/%{jdkdir}/jmods
|
||||
%{_jvmdir}/%{jdkdir}/jmods/*
|
||||
%dir %{_jvmdir}/%{jdkdir}/legal
|
||||
%{_jvmdir}/%{jdkdir}/legal/*
|
||||
%dir %{_jvmdir}/%{jdkdir}/man
|
||||
%dir %{_jvmdir}/%{jdkdir}/man/man1
|
||||
%{_jvmdir}/%{jdkdir}/man/man1/*
|
||||
%dir %{_jvmdir}/%{jdkdir}/lib
|
||||
%{_jvmdir}/%{jdkdir}/lib/*
|
||||
%dir %{_jvmdir}/%{jdkdir}/include
|
||||
%{_jvmdir}/%{jdkdir}/include/*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 12.0.1-1mamba
|
||||
- update to java 12
|
||||
|
||||
* Tue Sep 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8u102_b14-1mamba
|
||||
- update to java8
|
||||
|
||||
* Sat Oct 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u67_b01-1mamba
|
||||
- fix x86_64 mozulla plugin symlinks
|
||||
- support for pkg download code (b01) in version
|
||||
|
||||
* Fri Mar 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-2mamba
|
||||
- update wget download string (see https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/)
|
||||
- dont' install fxavcodecplugin-52.so to remove dependencies on old libav library; fxavcodecplugin-53.so is provided requiring ffmpeg0
|
||||
|
||||
* Fri Jan 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-1mamba
|
||||
- update to 7u51
|
||||
|
||||
* Sun Nov 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u45-1mamba
|
||||
- update to 7u45
|
||||
|
||||
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u17-1mamba
|
||||
- update to 7u17
|
||||
|
||||
* Sun Aug 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-2mamba
|
||||
- rename to sun-java7
|
||||
|
||||
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-1mamba
|
||||
- update to 7u6
|
||||
|
||||
* Tue Mar 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6u26-2mamba
|
||||
- don't obsolete jre and jdk
|
||||
|
||||
* Wed Jun 08 2011 Automatic Build System <autodist@mambasoft.it> 6u26-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Apr 27 2011 Automatic Build System <autodist@mambasoft.it> 6u25-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Thu Feb 17 2011 Automatic Build System <autodist@mambasoft.it> 6u24-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Oct 13 2010 Automatic Build System <autodist@mambasoft.it> 6u22-1mamba
|
||||
- automatic update to 6u22 by autodist
|
||||
|
||||
* Mon Jul 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u21-3mamba
|
||||
- don't launch chrpath or executables won't find libraries because they are not in system path
|
||||
|
||||
* Wed Jul 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 6u21-2mamba
|
||||
- specfile fixes and cleanup
|
||||
- fix broken fonts symlink
|
||||
- edit %%post and %%postun runtime scripts
|
||||
|
||||
* Fri Jul 16 2010 Automatic Build System <autodist@mambasoft.it> 6u21-1mamba
|
||||
- automatic update to 6u21 by autodist
|
||||
|
||||
* Mon Jun 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u20-2mamba
|
||||
- link libnpjp2.so instead of libjavaplugin.so to /usr/lib/mozilla/plugins
|
||||
|
||||
* Fri Apr 16 2010 Automatic Build System <autodist@mambasoft.it> 6u20-1mamba
|
||||
- automatic update to 6u20 by autodist
|
||||
|
||||
* Wed Mar 31 2010 Automatic Build System <autodist@mambasoft.it> 6u19-1mamba
|
||||
- automatic update to 6u19 by autodist
|
||||
|
||||
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 6u18-1mamba
|
||||
- automatic update to 6u18 by autodist
|
||||
|
||||
* Tue Nov 17 2009 Automatic Build System <autodist@mambasoft.it> 6u17-1mamba
|
||||
- automatic update to 6u17 by autodist
|
||||
|
||||
* Wed Sep 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u16-2mamba
|
||||
- fixed wrong symlink destination for jav for mozilla plugin files
|
||||
|
||||
* Mon Aug 17 2009 Automatic Build System <autodist@mambasoft.it> 6u16-1mamba
|
||||
- automatic update to 6u16 by autodist
|
||||
|
||||
* Thu Aug 06 2009 Automatic Build System <autodist@mambasoft.it> 6u15-1mamba
|
||||
- automatic update to 6u15 by autodist
|
||||
|
||||
* Mon Jul 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-2mamba
|
||||
- create symlink of jre jar's into jdk lib directory
|
||||
|
||||
* Tue Jun 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-1mamba
|
||||
- update to 6u14
|
||||
|
||||
* Fri Jun 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-4mamba
|
||||
- manage /usr/lib/jvm/{jdk,jre} as alternatives
|
||||
- remove profile files for setting JAVA_HOME (now handled by initscripts and alternatives)
|
||||
|
||||
* Thu Jun 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-3mamba
|
||||
- added symlink in /usr/lib/jvm
|
||||
|
||||
* Mon Apr 20 2009 gil <puntogil@libero.it> 6u13-2mamba
|
||||
- added requirement for menu-java
|
||||
|
||||
* Wed Mar 18 2009 gil <puntogil@libero.it> 6u13-1mamba
|
||||
- update to 6u13
|
||||
- edit spec file
|
||||
|
||||
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6u7-1mamba
|
||||
- automatic update to 6u7 by autodist
|
||||
|
||||
* Tue Mar 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-4mamba
|
||||
- update to release 6u4
|
||||
- manage /usr/bin/{java,javac,jar} using alternatives with priority 50
|
||||
|
||||
* Sat Apr 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-3mamba
|
||||
- install into /opt/java
|
||||
|
||||
* Mon Feb 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2qilnx
|
||||
- check and handle a pre-existing /usr/java/jre%version dir
|
||||
|
||||
* Mon Feb 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1qilnx
|
||||
- new build under the Operating System Distributor License for Java (DLJ 1.1)
|
||||
|
||||
* Fri Feb 02 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.5-1qilnx
|
||||
- get download parameters from a sysconfig file
|
||||
|
||||
* Tue Oct 31 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-8qilnx
|
||||
- specfile updated to donwload latest jre version (1.5.0_09)
|
||||
|
||||
* Wed Jul 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-7qilnx
|
||||
- added "provides j2re" (needed by the limewire rpm)
|
||||
|
||||
* Mon Apr 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-6qilnx
|
||||
- updated javaurl
|
||||
|
||||
* Thu Feb 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-5qilnx
|
||||
- fixed symbolic link in %{_libdir}/mozilla/plugins
|
||||
|
||||
* Tue Aug 23 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-4qilnx
|
||||
- specfile updates for last jre version (1.5.0_04)
|
||||
|
||||
* Thu Jul 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-3qilnx
|
||||
- remove %{javapath}/.systemPrefs if found
|
||||
|
||||
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2qilnx
|
||||
- enable resume of download
|
||||
- remove requirements and provides
|
||||
|
||||
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1qilnx
|
||||
- specfile for new jre version (1.5.0)
|
||||
- added automatic download and build support (this is a non distributable package)
|
||||
|
||||
* Mon Jul 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-2qilnx
|
||||
- create symlinks for browser plugins to /usr/lib/mozilla/plugins
|
||||
|
||||
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1qilnx
|
||||
- first build
|
@@ -61,23 +61,25 @@ Sun Java Platform Runtime Environment.
|
||||
|
||||
%setup -q -T -c
|
||||
|
||||
DOWNLOAD_FRAGMENT=`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|"`
|
||||
|
||||
#echo yes | MORE=10000
|
||||
%ifarch %{ix86}
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
|
||||
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-i586.tar.gz
|
||||
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-i586.tar.gz
|
||||
tar xf jdk-%{realver}-linux-i586.tar.gz
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
|
||||
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-x64.tar.gz
|
||||
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-x64.tar.gz
|
||||
tar xf jdk-%{realver}-linux-x64.tar.gz
|
||||
%endif
|
||||
%ifarch arm
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
|
||||
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
|
||||
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
|
||||
tar xf jdk-%{realver}-linux-arm-sfp.tar.gz
|
||||
%endif
|
||||
|
||||
|
@@ -1,34 +1,152 @@
|
||||
VirtualBox PUEL terms and conditions
|
||||
License version 8, April 19, 2010
|
||||
VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)
|
||||
|
||||
ORACLE CORPORATION (“ORACLE”) IS WILLING TO LICENSE THE PRODUCT (AS DEFINED IN § 1 BELOW) TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS VIRTUALBOX PERSONAL USE AND EVALUATION LICENSE AGREEMENT (“AGREEMENT”). PLEASE READ THE AGREEMENT CAREFULLY. BY DOWNLOADING OR INSTALLING THIS PRODUCT, YOU ACCEPT THE FULL TERMS OF THIS AGREEMENT.
|
||||
License version 10, 20 July 2017
|
||||
|
||||
IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY OTHER THAN AN INDIVIDUAL PERSON, YOU REPRESENT THAT YOU ARE BINDING AND HAVE THE RIGHT TO BIND THE ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
|
||||
PLEASE READ THE FOLLOWING ORACLE VM VIRTUALBOX EXTENSION PACK PERSONAL
|
||||
USE AND EVALUATION LICENSE CAREFULLY BEFORE DOWNLOADING OR USING THE
|
||||
ORACLE SOFTWARE. THESE TERMS AND CONDITIONS CONSTITUTE A LEGAL AGREEMENT
|
||||
BETWEEN YOU AND ORACLE.
|
||||
|
||||
§ 1 Subject of Agreement. “Product”, as referred to in this Agreement, shall be the binary software package “Oracle VM VirtualBox,” which Product allows for creating multiple virtual computers, each with different operating systems (“Guest Computers”), on a physical computer with a specific operating system (“Host Computer”), to allow for installing and executing these Guest Computers simultaneously. The Product consists of executable files in machine code for the Solaris, Windows, Linux, and Mac OS X operating systems as well as other data files as required by the executable files at run-time and documentation in electronic form. The Product includes all documentation and updates provided to You by Oracle under this Agreement and the terms of this Agreement will apply to all such documentation and updates unless a different license is provided with an update or documentation.
|
||||
ORACLE AMERICA, INC. ("ORACLE") IS WILLING TO LICENSE THE PRODUCT DEFINED
|
||||
IN SECTION 1 BELOW ONLY ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS
|
||||
CONTAINED IN THIS VIRTUALBOX EXTENSION PACK PERSONAL USE AND EVALUATION
|
||||
LICENSE AGREEMENT ("AGREEMENT").
|
||||
|
||||
§ 2 Grant of license. (1) Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Product a Host Computer for your Personal Use, Educational Use, or Evaluation. “Personal Use” requires that you use the Product on the same Host Computer where you installed it yourself and that no more than one client connect to that Host Computer at a time for the purpose of displaying Guest Computers remotely. “Educational use” is any use in an academic institution (schools, colleges and universities, by teachers and students). “Evaluation” means testing the Product for a reasonable period (that is, normally for a few weeks); after expiry of that term, you are no longer permitted to evaluate the Product.
|
||||
IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY (RATHER THAN
|
||||
AS AN INDIVIDUAL HUMAN BEING), YOU REPRESENT THAT YOU HAVE THE APPROPRIATE
|
||||
AUTHORITY TO ACCEPT THESE TERMS AND CONDITIONS ON BEHALF OF SUCH ENTITY.
|
||||
|
||||
(2) The “VirtualBox Guest Additions” are a set of drivers and utilities that are shipped as a subset of the Product for the purpose of being installed inside a Guest Computer to improve its performance and cooperation with the rest of the Product. In addition to and independent of the rights granted by subsection 1, Oracle allows you to install, execute, copy and redistribute a) unmodified copies of the ISO installation medium of the VirtualBox Guest Additions as shipped with the Product and b) the VirtualBox Guest Additions together with the Guest Computer into which they have been installed.
|
||||
1 SUBJECT OF AGREEMENT. This Agreement governs your use of the binary
|
||||
software package called "Oracle VM VirtualBox Extension Pack" (the
|
||||
"Product"), which contains a set of additional features for "Oracle
|
||||
VM VirtualBox" that enhance the operation of multiple virtual machines
|
||||
("Guest Computers") on a single physical computer ("Host Computer"). The
|
||||
Product consists of executable files in machine code, script files,
|
||||
data files, and all documentation and updates provided to You by Oracle.
|
||||
|
||||
§ 3 Restrictions and Reservation of Rights. (1) Any use beyond the provisions of § 2 is prohibited. The Product and copies thereof provided to you under this Agreement are copyrighted and licensed, not sold, to you by Oracle. Oracle reserves all copyrights and other intellectual property rights. This includes, but is not limited to, the right to modify, make available or public, rent out, lease, lend or otherwise distribute the Product. This does not apply as far as applicable law may require otherwise or if Oracle grants you additional rights of use in a separate agreement in writing.
|
||||
2 GRANT OF LICENSE. Oracle grants you a personal, non-exclusive,
|
||||
non-transferable, limited license without fees to reproduce, install,
|
||||
execute, and use internally the Product on Host Computers for
|
||||
your Personal Use, Educational Use, or Evaluation. "Personal Use"
|
||||
is noncommercial use solely by the person downloading the Product
|
||||
from Oracle on a single Host Computer, provided that no more than one
|
||||
client or remote computer is connected to that Host Computer and that
|
||||
client or remote computer is used solely to remotely view the Guest
|
||||
Computer(s). "Educational Use" is any use by teachers or students in
|
||||
an academic institution (schools, colleges and universities) as part of
|
||||
the institution's educational curriculum. "Evaluation" means testing the
|
||||
Product for up to thirty (30) days; after expiry of that term, you are
|
||||
no longer permitted to use the Product. Personal Use and/or Educational
|
||||
Use expressly exclude any use of the Product for commercial purposes or
|
||||
to operate, run, or act on behalf of or for the benefit of a business,
|
||||
organization, governmental organization, or educational institution.
|
||||
|
||||
(2) You may not do any of the following: (a) modify the Product. However if the documentation accompanying Product lists specific portions of Product, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the documentation; (b) rent, lease, lend or encumber the Product; (c) remove or alter any proprietary legends or notices contained in the Product; or (d) decompile, or reverse engineer the Product (unless enforcement of this restrictions is prohibited by applicable law).
|
||||
Oracle reserves all rights not expressly granted in this license.
|
||||
|
||||
(3) The Product is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Oracle and its licensors disclaim any express or implied warranty of fitness for such uses.
|
||||
3 RESTRICTIONS AND RESERVATION OF RIGHTS.
|
||||
|
||||
(4) No right, title or interest in or to any trademark, service mark, logo or trade name of Oracle or its licensors is granted under this Agreement.
|
||||
(1) The Product and copies thereof provided to you under this Agreement
|
||||
are copyrighted and licensed, not sold, to you by Oracle.
|
||||
|
||||
§ 4 Termination. The Agreement is effective on the Date you receive the Product and remains effective until terminated. Your rights under this Agreement will terminate immediately without notice from Oracle if you materially breach it or take any action in derogation of Oracle's and/or its licensors' rights to Product. Oracle may terminate this Agreement should any Product become, or in Oracle's reasonable opinion likely to become, the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of, and destroy, Product and confirm compliance in writing to Oracle. Sections 3-9, inclusive, will survive termination of the Agreement.
|
||||
(2) You may not do any of the following: (a) modify any part of the
|
||||
Product, except to the extent allowed in the documentation accompanying
|
||||
the Product; (b) rent, lease, lend, re-distribute, or encumber the
|
||||
Product; (c) remove or alter any proprietary legends or notices contained
|
||||
in the Product; or (d) decompile, or reverse engineer the Product
|
||||
(except to the extent permitted by applicable law).
|
||||
|
||||
§ 5 Disclaimer of Warranty. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, ORACLE PROVIDES THE PRODUCT “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. The entire risk as to the quality and performance of the Product is with you. Should it prove defective, you assume the cost of all necessary servicing, repair, or correction. In addition, Oracle shall be allowed to provide updates to the Product in urgent cases. You are then obliged to install such updates. Such an urgent case includes, but is not limited to, a claim of rights to the Product by a third party.
|
||||
(3) The Product is not designed, licensed or intended for use in the
|
||||
design, construction, operation or maintenance of any nuclear facility
|
||||
and Oracle and its licensors disclaim any express or implied warranty
|
||||
of fitness for such uses.
|
||||
|
||||
§ 6 Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE PRODUCT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Oracle's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Product under this Agreement. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you.
|
||||
(4) No right, title or interest in or to any trademark, service mark, logo
|
||||
or trade name of Oracle or its licensors is granted under this Agreement.
|
||||
|
||||
§ 7 Third Party Code. Portions of Product may be provided with notices and open source licenses from communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations You may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all the Product.
|
||||
4 TERMINATION. The Agreement is effective on the date you receive the
|
||||
Product and remains effective until terminated. Your rights under this
|
||||
Agreement will terminate immediately without notice from Oracle if
|
||||
you materially breach it or take any action in derogation of Oracle's
|
||||
and/or its licensors' rights to the Product. Oracle may terminate this
|
||||
Agreement immediately should any part of the Product become or in Oracle's
|
||||
reasonable opinion likely to become the subject of a claim of intellectual
|
||||
property infringement or trade secret misappropriation. Upon termination,
|
||||
you will cease use of and destroy all copies of the Product under your
|
||||
control and confirm compliance in writing to Oracle. Sections 3-9,
|
||||
inclusive, will survive termination of the Agreement.
|
||||
|
||||
§ 8 Export Regulations. All Product, documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you.
|
||||
5 DISCLAIMER OF WARRANTY. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW,
|
||||
ORACLE PROVIDES THE PRODUCT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
EXPRESS OR IMPLIED. WITHOUT LIMITING THE FOREGOING, ORACLE SPECIFICALLY
|
||||
DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. The entire risk as
|
||||
to the quality and performance of the Product is with you. Should it
|
||||
prove defective, you assume the cost of all necessary servicing, repair,
|
||||
or correction.
|
||||
|
||||
§ 9 U.S. Government Restricted Rights. If Product is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Product and accompanying documentation will be only as set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions).
|
||||
6 LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW,
|
||||
IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE,
|
||||
PROFIT, DATA, OR DATA USE, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
|
||||
INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY
|
||||
OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO
|
||||
USE THE PRODUCT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES. In no event will Oracle's liability to you, whether in
|
||||
contract, tort (including negligence), or otherwise, exceed the amount
|
||||
paid by you for the Product under this Agreement.
|
||||
|
||||
§ 10 Miscellaneous. This Agreement is the entire agreement between you and Oracle relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate. Course of dealing and other standard business conditions of the parties or the industry shall not apply. This Agreement is governed by the substantive and procedural laws of California and you and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts in San Francisco, San Mateo, or Santa Clara counties in California in any dispute arising out of or relating to this Agreement.
|
||||
7 SEPARATELY LICENSED THIRD PARTY TECHNOLOGY. The Product may contain
|
||||
or require the use of third party technology that is provided with
|
||||
the Product. Oracle may provide certain notices to you in the Product's
|
||||
documentation, readmes or notice files in connection with such third party
|
||||
technology. Third party technology will be licensed to you either under
|
||||
the terms of this Agreement or, if specified in the documentation, readmes
|
||||
or notice files, under Separate Terms. Your rights to use Separately
|
||||
Licensed Third Party Technology under Separate Terms are not restricted
|
||||
in any way by this Agreement. However, for clarity, notwithstanding the
|
||||
existence of a notice, third party technology that is not Separately
|
||||
Licensed Third Party Technology shall be deemed part of the Product and
|
||||
is licensed to You under the terms of this Agreement. "Separate Terms"
|
||||
refers to separate license terms that are specified in the Product's
|
||||
documentation, readmes or notice files and that apply to Separately
|
||||
Licensed Third Party Technology. "Separately Licensed Third Party
|
||||
Technology" refers to third party technology that is licensed under
|
||||
Separate Terms and not under the terms of this Agreement.
|
||||
|
||||
8 EXPORT. Export laws and regulations of the United States and any other
|
||||
relevant local export laws and regulations apply to the Product. You
|
||||
agree that such export laws govern your use of the Product (including
|
||||
technical data) provided under this Agreement, and you agree to comply
|
||||
with all such export laws and regulations (including "deemed export" and
|
||||
"deemed re-export" regulations). You agree that no data, information,
|
||||
and/or Product (or direct product thereof) will be exported, directly or
|
||||
indirectly, in violation of these laws, or will be used for any purpose
|
||||
prohibited by these laws including, without limitation, nuclear, chemical,
|
||||
or biological weapons proliferation, or development of missile technology.
|
||||
|
||||
9 U.S. GOVERNMENT END USERS. Oracle programs, including the Product,
|
||||
any operating system, integrated software, any programs installed on
|
||||
hardware, and/or documentation, delivered to U.S. Government end users
|
||||
are "commercial computer software" pursuant to the applicable Federal
|
||||
Acquisition Regulation and agency-specific supplemental regulations. As
|
||||
such, use, duplication, disclosure, modification, and adaptation of
|
||||
the programs, including any operating system, integrated software,
|
||||
any programs installed on the hardware, and/or documentation, shall
|
||||
be subject to license terms and license restrictions applicable to the
|
||||
programs. No other rights are granted to the U.S. Government.
|
||||
|
||||
10 MISCELLANEOUS. This Agreement is the entire agreement between you
|
||||
and Oracle relating to its subject matter. It supersedes all prior or
|
||||
contemporaneous oral or written communications, proposals, representations
|
||||
and warranties and prevails over any conflicting or additional terms
|
||||
of any quote, order, acknowledgment, or other communication between
|
||||
the parties relating to its subject matter during the term of this
|
||||
Agreement. No modification of this Agreement will be binding, unless in
|
||||
writing and signed by an authorized representative of each party. If any
|
||||
provision of this Agreement is held to be unenforceable, this Agreement
|
||||
will remain in effect with the provision omitted, unless omission would
|
||||
frustrate the intent of the parties, in which case this Agreement will
|
||||
immediately terminate. This Agreement is governed by the laws of the
|
||||
State of California, USA, and you and Oracle agree to submit to the
|
||||
exclusive jurisdiction of, and venue in, the courts of San Francisco
|
||||
or Santa Clara counties in California in any dispute arising out of or
|
||||
relating to this Agreement.
|
||||
|
@@ -50,7 +50,7 @@ rm -rf %{_builddir}/%{name}-*
|
||||
|
||||
%post
|
||||
#VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
|
||||
VBoxManage extpack install %{_libdir}/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
|
||||
echo y | VBoxManage extpack install %{_libdir}/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
|
||||
# not working
|
||||
:
|
||||
|
||||
|
@@ -3,7 +3,7 @@ SRPMVERSION["b43-firmware"]=4.150.10.5
|
||||
SRPMRELEASE["b43-firmware"]=1mamba
|
||||
# flashplugin
|
||||
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
|
||||
SRPMVERSION["flashplugin"]="`curl --max-time 20 -s http://www.adobe.com/software/flash/about/ | grep -A2 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
||||
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A3 "NPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
||||
SRPMRELEASE["flashplugin"]=1mamba
|
||||
fi
|
||||
# msttcorefonts
|
||||
@@ -21,10 +21,10 @@ else
|
||||
SRPMVERSION["spotify"]=0
|
||||
fi
|
||||
SRPMRELEASE["spotify"]=1mamba
|
||||
# sun-java7
|
||||
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
|
||||
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
|
||||
SRPMRELEASE["sun-java7"]=1mamba
|
||||
# sun-java
|
||||
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" -o "$SRPMCHECK" = "sun-java" ]; then
|
||||
SRPMVERSION["sun-java"]="`curl --max-time 20 -sL https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html|grep "linux-x64_bin.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([.a-zA-Z0-9-]*\).*/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
|
||||
SRPMRELEASE["sun-java"]=1mamba
|
||||
fi
|
||||
# virtualbox-extension-pack
|
||||
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "virtualbox-extension-pack" ]; then
|
||||
@@ -36,6 +36,13 @@ SRPMVERSION["win32codecs"]=20110131
|
||||
SRPMRELEASE["win32codecs"]=1mamba
|
||||
# chromium-pepper-flash
|
||||
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
|
||||
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*updated to \([0-9.]*\) .*|\1|" 2>/dev/null`"
|
||||
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A15 "Linux" | grep -A3 "Opera.*PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
||||
SRPMRELEASE["chromium-pepper-flash"]=1mamba
|
||||
fi
|
||||
# chromium-widevine
|
||||
if [ "`uname -m`" == "x86_64" ]; then
|
||||
SRPMVERSION["chromium-widevine"]="`rpm -q chromium | sed "s|chromium-\([0-9.]*\).*|\1|"`"
|
||||
else
|
||||
SRPMVERSION["chromium-widevine"]="0"
|
||||
fi
|
||||
SRPMRELEASE["chromium-widevine"]=3mamba
|
||||
|
@@ -1,2 +1,5 @@
|
||||
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
|
||||
# sun-java7
|
||||
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
|
||||
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
|
||||
SRPMRELEASE["sun-java7"]=1mamba
|
||||
fi
|
||||
|
5
etc/sudoers.d/yum
Normal file
5
etc/sudoers.d/yum
Normal file
@@ -0,0 +1,5 @@
|
||||
# Yum install/update without password for sysadmin or packager groups
|
||||
Cmnd_Alias YUM_CMD = /usr/bin/yum update, /usr/bin/yum install *
|
||||
|
||||
%packager ALL = NOPASSWD: YUM_CMD
|
||||
%sysadmin ALL = NOPASSWD: YUM_CMD
|
9
etc/system-sleep/r8169
Executable file
9
etc/system-sleep/r8169
Executable 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
|
@@ -1 +0,0 @@
|
||||
export QT_GRAPHICSSYSTEM=raster
|
118
mambabase/FinishPage.ui
Normal file
118
mambabase/FinishPage.ui
Normal file
@@ -0,0 +1,118 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>552</width>
|
||||
<height>392</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="verticalLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>551</width>
|
||||
<height>391</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QFrame" name="frame_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(239, 240, 241);
|
||||
background-color: rgb(255, 255, 255);</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>511</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:600;">Installation completed.</span></p></body></html></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><html><head/><body><p>If you ran into problems, please check the installation log below for warnings or errors and send the report to the openmamba community at <a href="https://openmamba.org"><span style=" text-decoration: underline; color:#2980b9;">openmamba.org</span></a>.</p></body></html></string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
144
mambabase/InstallationPage.ui
Normal file
144
mambabase/InstallationPage.ui
Normal file
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>552</width>
|
||||
<height>392</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="verticalLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>551</width>
|
||||
<height>391</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QFrame" name="frame_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(239, 240, 241);
|
||||
background-color: rgb(255, 255, 255);</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<widget class="QLabel" name="installPageTitle">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>521</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:600;">Installation in progress...</span></p></body></html></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><html><head/><body><p><span style=" font-weight:600;">Installation details:</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
274
mambabase/SelectExtraPage.ui
Normal file
274
mambabase/SelectExtraPage.ui
Normal file
@@ -0,0 +1,274 @@
|
||||
<?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><html><head/><body><p><span style=" font-weight:600;">Please, select from the boxes below the components that you want to install or update from network.</span></p></body></html></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 installatios/updates</string>
|
||||
</property>
|
||||
<widget class="QCheckBox" name="inst_nvidia">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>30</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_fglrx">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>50</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>AMD/ATI proprietary video driver from openmamba.org</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_fglrx_legacy">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>70</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>AMD/ATI proprietary video driver (legacy) from openmamba.org</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_broadcom_sta">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>90</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>110</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Broadcom B43 proprietary firmarwe from openwrt.org</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_flash">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>130</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Flash plugin from adobe.com</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_msttcf">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>170</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_codecs">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>190</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Win32 codecs from mplayerhq.hu</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_java">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>210</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Oracle Java from oracle.com</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_pepperflash">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>150</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Pepper-Flash plugin for chromium from google.com</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_skype">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>230</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Skype from skype.com</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_spotify">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>250</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Spotify from spotify.com</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_virtualbox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>270</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>290</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>
|
222
mambabase/SelectGroupsPage.ui
Normal file
222
mambabase/SelectGroupsPage.ui
Normal file
@@ -0,0 +1,222 @@
|
||||
<?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><html><head/><body><p><span style=" font-weight:600;">Please, select from the boxes below the components that you want to install or update from network.</span></p></body></html></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>30</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>60</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>90</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>120</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>150</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>180</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>240</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>270</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_devel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>300</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Base development packages (gcc, glibc-devel, kernel headers, ...)</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="inst_games">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>210</y>
|
||||
<width>491</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Games (tuxracer, pingus, ksudoku, ...)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
183
mambabase/WelcomePage.ui
Normal file
183
mambabase/WelcomePage.ui
Normal file
@@ -0,0 +1,183 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>552</width>
|
||||
<height>380</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="verticalLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>551</width>
|
||||
<height>381</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QFrame" name="frame">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>160</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Box</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>491</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>openmamba.png</pixmap>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="horizontalLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>80</y>
|
||||
<width>531</width>
|
||||
<height>72</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><span style=" font-style:italic;">mambabase - Copyright (c) 2007-2019 by Silvan Calarco<br/>Released under the terms of the GNU GPL v3 license</span></p></body></html></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><html><head/><body><p><a href="https://openmamba.org"><span style=" text-decoration: underline; color:#2980b9;">openmamba.org</span></a></p></body></html></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><html><head/><body><p>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.</p><p><span style=" font-weight:600;">TIP</span>: you may run this program at any time from the <span style=" font-style:italic;">openmamba control center</span> on the tray icon bar.</p></body></html></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><html><head/><body><p><br/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QProgressBar" name="progressBar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>150</y>
|
||||
<width>531</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
2
mambabase/mambabase
Executable file
2
mambabase/mambabase
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
/usr/bin/python3 /usr/share/openmamba/mambabase/mambabase.py
|
@@ -3,7 +3,7 @@
|
||||
Name=mambabase
|
||||
GenericName=openmamba components installer
|
||||
GenericName[it]=Installazione componenti base di openmamba
|
||||
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
|
||||
Exec=/usr/bin/mambabase
|
||||
Icon=mamba
|
||||
Terminal=0
|
||||
Type=Application
|
||||
|
28
mambabase/mambabase-pkggroups-parser.sh
Executable file
28
mambabase/mambabase-pkggroups-parser.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
. /usr/share/openmamba/pkggroups.db
|
||||
|
||||
echo kernel_mamba=$KERNEL_MAMBA_PKGS
|
||||
echo kernel_mamba_64gb=$KERNEL_MAMBA_64GB_PKGS
|
||||
echo kernel_mamba_x86_64=$KERNEL_MAMBA_X86_64_PKGS
|
||||
echo kernel_mamba_arm=$KERNEL_MAMBA_ARM_PKGS
|
||||
echo base=$BASE_PKGS
|
||||
echo base_extras=$BASE_PKGS_EXTRAS
|
||||
echo office=$OFFICE_PKGS
|
||||
echo office_extras=$OFFICE_EXTRA_PKGS
|
||||
echo multimedia_players=$MULTIMEDIA_PLAYERS_PKGS
|
||||
echo multimedia_players_extras=$MULTIMEDIA_PLAYERS_EXTRA_PKGS
|
||||
echo multimedia_editing=$MULTIMEDIA_EDITING_PKGS
|
||||
echo multimedia_editing_extras=$MULTIMEDIA_EDITING_EXTRA_PKGS
|
||||
echo audio=$AUDIO_PKGS
|
||||
echo audio_prof=$AUDIO_PROF_PKGS
|
||||
echo video=$VIDEO_PKGS
|
||||
echo internet=$INTERNET_PKGS
|
||||
echo internet_extra=$INTERNET_EXTRA_PKGS
|
||||
echo graphics=$GRAPHICS_PKGS
|
||||
echo graphics_extras=$GRAPHICS_EXTRA_PKGS
|
||||
echo scientific=$SCIENTIFIC_PKGS
|
||||
echo games=$GAMES_PKGS
|
||||
echo games_extra=$GAMES_EXTRA_PKGS
|
||||
echo virtualization=$VIRTUALIZATION_PKGS
|
||||
echo server=$SERVER_PKGS
|
||||
echo devel=$DEVEL_PKGS
|
@@ -3,7 +3,7 @@ Name=openmamba base components
|
||||
Name[it]=Componenti base di openmamba
|
||||
GenericName=openmamba base components installer
|
||||
GenericName[it]=Installazione dei componenti base di openmamba
|
||||
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
|
||||
Exec=/usr/bin/mambabase
|
||||
Icon=mamba
|
||||
Terminal=0
|
||||
Type=Application
|
||||
|
@@ -1099,7 +1099,7 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Oracle &Java 7 from oracle.com</string>
|
||||
<string>Oracle &Java from oracle.com</string>
|
||||
</property>
|
||||
<property name="associations" stdset="0">
|
||||
<stringlist>
|
||||
@@ -1270,7 +1270,7 @@ if [ $? -eq 0 ]; then
|
||||
dcop @dcopid KommanderIf setEnabled inst_codecs false
|
||||
fi
|
||||
|
||||
openmamba-netsrpms -c sun-java7 > /dev/null
|
||||
openmamba-netsrpms -c sun-java > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
dcop @dcopid KommanderIf setEnabled inst_java false
|
||||
fi
|
||||
|
BIN
mambabase/mambabase.png
Normal file
BIN
mambabase/mambabase.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
355
mambabase/mambabase.py
Executable file
355
mambabase/mambabase.py
Executable file
@@ -0,0 +1,355 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Release under the terms of the GPL version 3 license
|
||||
|
||||
from PyQt5 import QtCore
|
||||
from PyQt5 import QtGui
|
||||
from PyQt5.QtCore import pyqtProperty
|
||||
from PyQt5 import QtCore, QtWidgets
|
||||
from PyQt5 import QtWidgets, uic
|
||||
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)})
|
||||
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!")})
|
||||
|
||||
# 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,
|
||||
'fglrx': self.inst_fglrx,
|
||||
'fglrx_legacy': self.inst_fglrx_legacy,
|
||||
'broadcom_sta': self.inst_broadcom_sta,
|
||||
'b43-firmware': self.inst_b43,
|
||||
'flashplugin': self.inst_flash,
|
||||
'chromium-pepper-flash': self.inst_pepperflash,
|
||||
'msttcorefonts': self.inst_msttcf,
|
||||
'win32codecs': self.inst_codecs,
|
||||
'sun-java': self.inst_java,
|
||||
'skype': self.inst_skype,
|
||||
'spotify': self.inst_spotify,
|
||||
'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"))
|
||||
gettext.install('mambabase', '/usr/share/locale')
|
||||
wizard = MambabaseWizard()
|
||||
wizard.show()
|
||||
sys.exit(app.exec_())
|
@@ -1,5 +1,5 @@
|
||||
# openmamba post installation script
|
||||
# Copyright (c) 2007-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (c) 2007-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
#
|
||||
# Released under the terms of the GNU GPLv3 License
|
||||
|
||||
@@ -42,8 +42,8 @@ function apt_parser() {
|
||||
exit 0
|
||||
}
|
||||
|
||||
function apt_get_parsed() {
|
||||
sudo smart $@ | apt_parser
|
||||
function pkg_tool() {
|
||||
pkcon $@ | apt_parser
|
||||
}
|
||||
|
||||
DCOPID=$2
|
||||
@@ -95,13 +95,13 @@ TOTAL_PROGRESS=10
|
||||
if [ "$INSTALL_BASE" = "1" ]; then
|
||||
echo $"Installing openmamba base packages"
|
||||
dcop_write $"Updating packages list..." 10
|
||||
apt_get_parsed update
|
||||
pkg_tool update
|
||||
|
||||
dcop_write $"Removing packages that are no longer needed..." 10
|
||||
rpm -q msysklogd >/dev/null && apt_get_parsed remove -y msysklogd
|
||||
rpm -q msysklogd >/dev/null && pkg_tool 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
|
||||
rpm -q --whatprovides $BASE_PKGS >/dev/null || pkg_tool install -y $BASE_PKGS
|
||||
|
||||
# first time: remove mambabase from autostart
|
||||
[ -e /home/$USER/.kde4/Autostart/mambabase.desktop ] && \
|
||||
@@ -116,86 +116,86 @@ fi
|
||||
if [ "$INSTALL_UPDATE" = "1" ]; then
|
||||
echo $"Updating installed packages"
|
||||
dcop_write $"Updating installed packages..." 15
|
||||
apt_get_parsed upgrade -y
|
||||
pkg_tool update -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
|
||||
rpm -q --whatprovides $OFFICE_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $MULTIMEDIA_PLAYERS_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $MULTIMEDIA_EDITING_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $INTERNET_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $GRAPHICS_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $GAMES_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $VIRTUALIZATION_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $SERVER_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $DEVEL_PKGS >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides $NVIDIA_DETECTED >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides xorg-drv-video-fglrx >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides xorg-drv-video-fglrx-legacy >/dev/null || pkg_tool 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
|
||||
rpm -q --whatprovides broadcom-sta >/dev/null || pkg_tool install -y broadcom-sta
|
||||
fi
|
||||
|
||||
if [ "$INSTALL_B43" = "1" ]; then
|
||||
@@ -246,24 +246,24 @@ if [ "$INSTALL_MSTTCF" = "1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$INSTALL_SKYPE" = "1" ]; then
|
||||
rpm -q libqt4 >/dev/null || apt_get_parsed install -y libqt4
|
||||
rpm -q libqt4 >/dev/null || pkg_tool install -y libqt4
|
||||
dcop_write $"Installing Skype software..." 10
|
||||
/usr/bin/openmamba-netsrpms skype
|
||||
fi
|
||||
|
||||
if [ "$INSTALL_JAVA" = "1" ]; then
|
||||
dcop_write $"Installing Oracle Java 7..." 10
|
||||
/usr/bin/openmamba-netsrpms sun-java7
|
||||
dcop_write $"Installing Oracle Java..." 10
|
||||
/usr/bin/openmamba-netsrpms sun-java
|
||||
fi
|
||||
|
||||
if [ "$INSTALL_JRE" = "1" ]; then
|
||||
dcop_write $"Installing Sun Java Runtime Environment..." 10
|
||||
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS
|
||||
pkg_tool 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
|
||||
pkg_tool install -y $SUN_JAVA_PKGS
|
||||
fi
|
||||
|
||||
dcop_write $"Installation completed." -1
|
||||
|
BIN
mambabase/openmamba.png
Normal file
BIN
mambabase/openmamba.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
@@ -2,10 +2,10 @@
|
||||
#
|
||||
# openmamba system report generation tool
|
||||
#
|
||||
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (c) 2008-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
#
|
||||
|
||||
VERSION=20110807
|
||||
VERSION=20190304
|
||||
TEMPFILE=`tempfile`
|
||||
|
||||
. ${ROOT}/etc/sysconfig/machine
|
||||
@@ -123,7 +123,7 @@ _EOF
|
||||
}
|
||||
|
||||
echo "openmamba report generation tool $VERSION"
|
||||
echo "Copyright (c) 2008-2013 by Silvan Calarco"
|
||||
echo "Copyright (c) 2008-2019 by Silvan Calarco <info@openmamba.org>"
|
||||
echo
|
||||
|
||||
[ $UID = 0 ] || {
|
||||
@@ -159,36 +159,37 @@ catcommand /usr/bin/lsusb "USB hardware information"
|
||||
catcommand /sbin/lsmod "Loadel kernel modules"
|
||||
catcommand "rpm -qa|grep kernel-mamba" "Installed kernel packages"
|
||||
catcommand "ls -l /etc/alternatives" "System alternatives"
|
||||
tailfile /var/log/messages "system messages log"
|
||||
|
||||
# kernel and system logs
|
||||
catcommand "journalctl --system -b | head -n 1000" "system journal from boot"
|
||||
catcommand "journalctl --system -n 500" "system journal last lines"
|
||||
catcommand /bin/dmesg "last kernel messages"
|
||||
|
||||
# user log
|
||||
catcommand "sudo -u ${SUDO_USER} journalctl -b --user | head -n 500" "user journal from startup"
|
||||
catcommand "sudo -u ${SUDO_USER} journalctl --user -n 500" "user journal last entries"
|
||||
|
||||
# process/memory information
|
||||
catcommand "top -b -n1" "Top running processes"
|
||||
catcommand "ps aux" "All running processes"
|
||||
|
||||
# kernel boot problems
|
||||
# system boot troubleshooting
|
||||
catfile /proc/cmdline "kernel startup command line"
|
||||
catcommand "ls -l /boot" "boot files"
|
||||
catfile /boot/grub/grub.cfg "GRUB configuration"
|
||||
catfile /var/log/dmesg.log "kernel startup messages"
|
||||
catcommand /bin/dmesg "last kernel messages"
|
||||
catfile "/etc/modprobe.d/*" "modules configuration"
|
||||
catcommand "lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
|
||||
|
||||
# system boot problems
|
||||
catfile /var/log/initd.sysinit.start "system init logfile"
|
||||
catfile "/var/log/initd.3.start" "runlevel 3 init logfile"
|
||||
catfile "/var/log/initd.5.start" "runlevel 5 init logfile"
|
||||
catfile /var/log/postplug.log "system configuration tool"
|
||||
|
||||
# Suspend/Powersave
|
||||
catfile /var/log/pm-powersave.log "Current powersave logfile"
|
||||
catfile /var/log/pm-suspend.log "Last suspend logfile"
|
||||
# system services status
|
||||
catcommand "systemctl status" "systemctl status"
|
||||
catcommand "systemctl" "systemctl services status"
|
||||
catcommand "systemd-analyze blame" "systemd services startup timings"
|
||||
|
||||
# Graphical subsystem
|
||||
catfile /var/log/Xorg.0.log "Xorg startup log"
|
||||
catfile /etc/X11/xorg.conf "Xorg configuration"
|
||||
catfile /etc/X11/xorg.conf.d/* "Xorg configuration modules"
|
||||
catcommand "DISPLAY=:0 /usr/bin/glxinfo" "GLX information"
|
||||
tailfile $HOME/.xsession-errors "desktop session log"
|
||||
|
||||
# Audio
|
||||
catfile "/proc/asound/card*/codec*" "Audio driver codecs"
|
||||
|
15
menu/applications/netinstall/chromium-widevine.desktop.in
Normal file
15
menu/applications/netinstall/chromium-widevine.desktop.in
Normal file
@@ -0,0 +1,15 @@
|
||||
[Desktop Entry]
|
||||
Name=Google Chrome's Widevine plugin
|
||||
Name[it]=Plugin Widevine da Google Chrome
|
||||
Comment=Install Widevine plugin from network
|
||||
Comment[it]=Installa il plugin Widevine dalla rete
|
||||
Encoding=UTF-8
|
||||
Exec=@bindir@/openmamba-netsrpms chromium-widevine
|
||||
Icon=distromenu-chromium
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Categories=X-@distroID@-NetInstall;
|
19
menu/applications/netinstall/sun-java.desktop.in
Normal file
19
menu/applications/netinstall/sun-java.desktop.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Desktop Entry]
|
||||
Name=Install Sun Java
|
||||
Name[es]=Instala Sun Java
|
||||
Name[fr]=Installation du Sun Java
|
||||
Name[it]=Installa Sun Java
|
||||
Comment=Install Sun Java from network
|
||||
Comment[es]=Instala Sun Java por red
|
||||
Comment[fr]=Installation du Sun Java depuis le réseau
|
||||
Comment[it]=Installa Sun Java dalla rete
|
||||
Encoding=UTF-8
|
||||
Exec=@bindir@/openmamba-netsrpms sun-java
|
||||
Icon=distromenu-java
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Categories=X-@distroID@-NetInstall;
|
@@ -1,19 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Install Sun Java 7
|
||||
Name[es]=Instala Sun Java 7
|
||||
Name[fr]=Installation du Sun Java 7
|
||||
Name[it]=Installa Sun Java 7
|
||||
Comment=Install Sun Java 7 from network
|
||||
Comment[es]=Instala Sun Java 7 por red
|
||||
Comment[fr]=Installation du Sun Java 7 depuis le réseau
|
||||
Comment[it]=Installa Sun Java 7 dalla rete
|
||||
Encoding=UTF-8
|
||||
Exec=@bindir@/openmamba-netsrpms sun-java7
|
||||
Icon=distromenu-java
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Categories=X-@distroID@-NetInstall;
|
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# netsrpm-install.sh - Build srpms that download sources from network
|
||||
#
|
||||
# Copyright (C) 2003-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2003-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
|
||||
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
|
||||
|
||||
@@ -37,10 +37,8 @@ Options:
|
||||
fi
|
||||
|
||||
function check_if_already_installed() {
|
||||
rpm -q $1 &>/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" "$pckname: "$"already installed."
|
||||
fi
|
||||
rpm -q $1-$2 &>/dev/null
|
||||
return $?
|
||||
}
|
||||
|
||||
declare -A SRPMVERSION SRPMRELEASE
|
||||
@@ -128,19 +126,24 @@ for pckname in $PACKAGES; do
|
||||
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "$me: "$"error rebuilding \`$pckname'."" "$"Aborting..." >&2
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing"" $pckname!"
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error building"" $pckname!"
|
||||
exit 255
|
||||
fi
|
||||
RPM_PATH=`find $tmpdir -name \*.rpm`
|
||||
|
||||
# install rpm
|
||||
if [ "$FORCE_MODE" = "1" ]; then
|
||||
sudo smart remove -y $pckname
|
||||
pkcon remove -y $pckname
|
||||
fi
|
||||
sudo smart install -y $RPM_PATH
|
||||
pkcon install-local -y $RPM_PATH
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "$me: "$"error installing \`$RPM_PATH'."" "$"Aborting..." >&2
|
||||
check_if_already_installed $pckname
|
||||
check_if_already_installed $pckname $SRPM_VERSION
|
||||
if [ $? -eq 0 ]; then
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" "$pckname: "$"already installed."
|
||||
else
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing"" $pckname!"
|
||||
fi
|
||||
exit 255
|
||||
fi
|
||||
|
||||
|
@@ -22,7 +22,7 @@ function pkg_parser() {
|
||||
}
|
||||
|
||||
function pkg_tool() {
|
||||
sudo smart $@ | pkg_parser
|
||||
pkcon $@ | pkg_parser
|
||||
}
|
||||
|
||||
echo $"\
|
||||
|
Reference in New Issue
Block a user