Compare commits

..

13 Commits

111 changed files with 6593 additions and 813 deletions

140
Makefile
View File

@ -1,18 +1,34 @@
# Makefile for desktop-base-openmamba package
# Copyright (C) 2004-2024 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2004-2015 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
include VERSION
ARCH:=`uname -i`
ifeq ($(ARCH), arm)
SRPMSVERSIONSFILE = SRPMSVERSIONS.arm
pck_srpms = b43-firmware sun-java7
else
SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
sun-java7 sun-java8 spotify chromium-pepper-flash
endif
PACKAGE = desktop-base-openmamba
DISTROID = openmamba
WITHKDE3 := 1
WITHKDE3TOOLS := 1
RPM_VENDOR = openmamba
RPM_DISTRIBUTION = openmamba
RPM_DISTROEXT = mamba
SYSCONFIGFILE = netsrpminstall
#SCREENSAVER = $(DISTROid).desktop
SCREENSAVER =
DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z)
DISTROICON = $(DISTROid)
@ -32,16 +48,26 @@ endif
initrddir = ${sysconfdir}/rc.d/init.d
mandir = ${prefix}/usr/share/man
sysconfigdir= ${sysconfdir}/sysconfig
profiledir = ${sysconfdir}/profile.d
xprofiledir = ${sysconfdir}/xprofile.d
mambabasedatadir = ${datadir}/openmamba/mambabase
mambareportdatadir = ${datadir}/openmamba/mambareport
mambaimagesdir = ${datadir}/openmamba/images
xramdrdatadir = ${datadir}/openmamba/xramdr
iconsdir = ${datadir}/icons/hicolor
kdeprefixdir = $(shell kde-config --prefix)
kdedatadir = $(kdeprefixdir)/share
kdeautostartdir = ${kdedatadir}/autostart
kdeconfigdir = ${kdedatadir}/config
localesdir = ${datadir}/locale
kdelocalesdir = ${kdedatadir}/locale
pck_desktop = $(wildcard desktop/*.bz2)
systemlogodir = ${datadir}/pixmaps
xdg_appsdir = ${datadir}/applications
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
systemdsystemdir = /lib/systemd/system
systemdsleepdir = /lib/systemd/system-sleep
distrorootdir = ${datadir}/$(DISTROid)
distrobindir = ${distrorootdir}/bin
@ -58,6 +84,9 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
pck_infiles := $(wildcard kde/config/*.in \
kde/scripts/*.in \
menu/*.in menu/applications/*.in menu/applications/*/*.in \
SRPMS/*/*.in \
remote-support-mambasoft/*.in \
desktop/*.in)
pck_sysconfigfile := distroutils.sysconfig
@ -65,7 +94,8 @@ distdir = $(PACKAGE)-$(VERSION)
dist_archive = $(distdir).tar.bz2
pck_desktop := $(wildcard desktop/*.tar.bz2)
pck_catalogs := $(wildcard openmamba-update/po/*.po)
pck_catalogs := $(wildcard mambabase/po/*.po)
pck_catalogs1 := $(wildcard openmamba-update/po/*.po)
.SUFFIXES:
.SUFFIXES: .in .po .mo
@ -74,6 +104,7 @@ pck_catalogs := $(wildcard openmamba-update/po/*.po)
if [ "$(ARCH)" != "x86_64" -a "$(ARCH)" != "arm" ]; then ARCH=i386; else ARCH=$(ARCH); fi; \
sed "s,@distroID@,$(DISTROID),g;\
s,@distroid@,$(DISTROid),g;\
s,@distroicon@,$(DISTROICON),g;\
s,@arch@,$$ARCH,g;\
s,@distribution@,$(RPM_DISTRIBUTION),g;\
s,@distroext@,$(RPM_DISTROEXT),g;\
@ -84,7 +115,8 @@ pck_catalogs := $(wildcard openmamba-update/po/*.po)
s,@libexecdir@,$(libexecdir),g;\
s,@distrobindir@,$(distrobindir),g;\
s,@distrodesktopdir@,$(distrodesktopdir),g;\
s,@distrosrpmsdir@,$(distrosrpmsdir),g" $< > $@
s,@distrosrpmsdir@,$(distrosrpmsdir),g;\
s,@screensaver@,${SCREENSAVER},g" $< > $@
all: dist-update locales
@ -92,10 +124,17 @@ dist-update: $(pck_infiles:.in=)
.po.mo:; msgfmt $< -o $@
locales: $(pck_catalogs:.po=.mo)
locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo)
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";\
$(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
done
@for f in $(pck_catalogs1); do\
lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\
echo "installing i18n file for language \`$$lang'...";\
dir="$(DESTDIR)$(datadir)/locale/$$lang/LC_MESSAGES";\
@ -110,36 +149,110 @@ install-kde-distro-addons: dist-update
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
@$(INSTALL_DIR) $(DESTDIR)$(distrobindir)
@$(INSTALL_DIR) $(DESTDIR)$(mambaimagesdir)
@$(INSTALL_DIR) $(DESTDIR)$(systemdsleepdir)
cp -r etc/polkit-1 $(DESTDIR)$(sysconfdir)/
cp -r etc/prelink.conf.d $(DESTDIR)$(sysconfdir)/
cp -r etc/profile.d $(DESTDIR)$(sysconfdir)/
cp -r etc/sudoers.d $(DESTDIR)$(sysconfdir)/
cp -r etc/sysconfig $(DESTDIR)$(sysconfdir)/
cp -r etc/xprofile.d $(DESTDIR)$(sysconfdir)/
cp etc/system-sleep/* $(DESTDIR)$(systemdsleepdir)/
chmod 755 $(DESTDIR)$(sysconfdir)/profile.d/*.sh
chmod 755 $(DESTDIR)$(sysconfdir)/xprofile.d/*.sh
$(INSTALL_SCRIPT) kde/scripts/showlog $(DESTDIR)$(distrobindir)
cp -r menu/icons/ $(DESTDIR)$(datadir)/icons/
install-os-makereport:
$(INSTALL_SCRIPT) os-makereport/os-makereport $(DESTDIR)$(bindir)
install-distromenu: dist-update
@$(INSTALL_DIR) $(DESTDIR)$(xdg_directorydir)
$(INSTALL_DATA) menu/applications/distroutils.directory \
$(DESTDIR)$(xdg_directorydir)/$(DISTROID).directory
$(INSTALL_DATA) menu/applications/distroutils-netinstall.directory \
$(DESTDIR)$(xdg_directorydir)/$(DISTROID)-NetInstall.directory
$(INSTALL_DATA) menu/applications/distroutils-logs.directory \
$(DESTDIR)$(xdg_directorydir)/$(DISTROID)-Logs.directory
@$(INSTALL_DIR) $(DESTDIR)$(xdg_mergedmenudir)
$(INSTALL_DATA) menu/applications/distroutils.menu \
$(DESTDIR)$(xdg_mergedmenudir)/$(DISTROid).menu
@$(INSTALL_DIR) $(DESTDIR)$(xdg_appsdir)
for pck in $(pck_srpms); do\
$(INSTALL_DATA) menu/applications/netinstall/$$pck.desktop \
$(DESTDIR)$(xdg_appsdir)/$(DISTROid)-$$pck.desktop;\
done
cp menu/applications/logs/*.desktop $(DESTDIR)$(xdg_appsdir)
install-sb-setup:
$(INSTALL_SCRIPT) sb-setup/sb-setup $(DESTDIR)$(bindir)
install-srpms:
@$(INSTALL_DIR) $(DESTDIR)$(distrosrpmsdir)
@$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
@cat $(SRPMSVERSIONSFILE) > $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE)
for pck in $(pck_srpms); do\
cp -a SRPMS/$$pck $(DESTDIR)$(distrosrpmsdir); \
rm -f $(DESTDIR)$(distrosrpmsdir)/$$pck/distroutils.sysconfig*; \
rm -f $(DESTDIR)$(distrosrpmsdir)/$$pck/*.spec.in; \
cat SRPMS/$$pck/$(pck_sysconfigfile) >> \
$(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE);\
done
install-icons:
@$(INSTALL_DIR) $(DESTDIR)$(systemlogodir)/; \
$(INSTALL_DATA) mambabase/mamba-64x64.png $(DESTDIR)$(systemlogodir)/system-logo-white.png
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
$(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \
$(INSTALL_DATA) mambabase/mamba-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mamba.png; \
$(INSTALL_DATA) remote-support-mambasoft/mambasoft-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mambasoft.png; \
done
# $(INSTALL_DATA) xramdr/xramdr-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/xramdr.png \
install-mambabase:
@$(INSTALL_DIR) $(DESTDIR)$(mambabasedatadir)
$(INSTALL_SCRIPT) mambabase/mambabase.sh $(DESTDIR)$(mambabasedatadir)
ifeq ($(WITHKDE3TOOLS),1)
$(INSTALL_SCRIPT) mambabase/mambabase.kmdr $(DESTDIR)$(mambabasedatadir)
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
endif
install-mambareport:
$(INSTALL_SCRIPT) mambareport/openmamba-makereport $(DESTDIR)$(bindir)
ifeq ($(WITHKDE3TOOLS),1)
@$(INSTALL_DIR) $(DESTDIR)$(mambareportdatadir)
$(INSTALL_SCRIPT) mambareport/mambareport.kmdr $(DESTDIR)$(mambareportdatadir)
$(INSTALL_DATA) mambareport/mambareport.desktop $(DESTDIR)$(xdg_appsdir)
endif
install-remote-support-mambasoft:
$(INSTALL_SCRIPT) remote-support-mambasoft/remote-support-mambasoft.sh $(DESTDIR)$(bindir)/remote-support-mambasoft
$(INSTALL_DATA) remote-support-mambasoft/remote-support-mambasoft.desktop $(DESTDIR)$(xdg_appsdir)
install-xramdr:
@$(INSTALL_DIR) $(DESTDIR)$(xramdrdatadir)
$(INSTALL_SCRIPT) xramdr/70521-xramdr.kmdr $(DESTDIR)$(xramdrdatadir)/xramdr.kmdr
$(INSTALL_DATA) xramdr/xramdr.desktop $(DESTDIR)$(xdg_appsdir)
install-desktop:
@$(INSTALL_DIR) $(DESTDIR)$(distrodesktopdir)
$(INSTALL_DATA) $(pck_desktop) $(DESTDIR)$(distrodesktopdir)
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(profiledir)
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(xprofiledir)
install-openmamba-update:
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) openmamba-update/openmamba-update $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) openmamba-update/openmamba-dist-upgrade $(DESTDIR)$(sbindir)
$(INSTALL_SCRIPT) openmamba-update/openmamba-netsrpms $(DESTDIR)$(bindir)
install: $(pck_infiles:.in=) \
install-kde-distro-addons \
install-distromenu \
install-srpms \
install-desktop \
install-openmamba-update \
install-os-makereport \
install-sb-setup \
install-locales
install-mambabase \
install-mambareport \
install-remote-support-mambasoft \
install-locales \
install-icons
dist: clean
@git log > ChangeLog.git
@mkdir /tmp/$(distdir)
@cp -a * /tmp/$(distdir)/
@rm -f $(dist_archive);\
@ -156,3 +269,4 @@ clean:
rm -f $(dist_archive)
rm -f $(patsubst %.in,%,$(pck_infiles))
rm -f $(pck_catalogs:.po=.mo)
rm -f $(pck_catalogs1:.po=.mo)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

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

View File

@ -0,0 +1,759 @@
%define JRE_NSVER 8
%define pkgver %(echo %version | tr _ -)
%define realver %(echo %version | cut -d_ -f1)
%define MAJOR %(echo %realver | cut -du -f1)
%define MINOR %(echo %realver | cut -du -f2)
%define major 1.%{MAJOR}
%define minor 0
%define origin sun
%define javaver %{major}.%{minor}
%define jppname java-%{javaver}-%{origin}
%define javaws_ver %{javaver}
%define toplevel_dir jdk%{javaver}_%{MINOR}
%define distversion %{realver}
%define label -%{name}
%define jdklnk jdk8-%{origin}
%define jrelnk jre8-%{origin}
%define jdkdir %{jppname}
%define jredir %{jdkdir}/jre
%define jdkbindir %{_jvmdir}/%{jdklnk}/bin
%define jdklibdir %{_jvmdir}/%{jdklnk}/lib
%define jrebindir %{_jvmdir}/%{jrelnk}/bin
%define jvmjardir %{_jvmjardir}/%{jppname}
%define cgibindir %{_var}/www/cgi-bin
Name: sun-java8
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: Sun Java Developer's Kit
Group: System/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.oracle.com/technetwork/java/javase/overview/index.html
Source: LICENSE
BuildRequires: jpackage-utils
Provides: jdk = %{realver}
Provides: jdk2 = %{realver}
License: Oracle Binary Code License
Requires: shared-mime-info
Requires: desktop-file-utils
Requires: sun-java8-runtime = %{epoch}:%{version}-%{release}
Requires: menu-java
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sun Java Developer's Kit.
%package runtime
Summary: Sun Java Platform Runtime Environment
Group: System/Libraries/Java
#Obsoletes: j2re
Provides: j2re = %{realver}
Provides: jre = %{realver}
%description runtime
Sun Java Platform Runtime Environment.
%prep
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
%setup -q -T -c
#echo yes | MORE=10000
%ifarch %{ix86}
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-i586.tar.gz
tar xf jdk-%{realver}-linux-i586.tar.gz
%endif
%ifarch x86_64
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-x64.tar.gz
tar xf jdk-%{realver}-linux-x64.tar.gz
%endif
%ifarch arm
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
tar xf jdk-%{realver}-linux-arm-sfp.tar.gz
%endif
cd %{toplevel_dir}
#cp %{SOURCE5} ./construct.sh
#mkdir unbundle-jdk
#cd unbundle-jdk
#sh %{SOURCE0} --accept-license
chmod -R u+w *
#for pack in $(find . -name "*.pack"); do
# bin/unpack200 $pack $(echo $pack | sed -e s:.pack::g).jar
#done
%install
cd %{toplevel_dir}
#construct.sh unbundle-jdk linux-jdk linux-jre
install -d -m 755 %{buildroot}%{_jvmdir}/%{jdkdir}
install -d -m 755 %{buildroot}%{_jvmdir}/%{jredir}
cat > bin/HtmlConverter << EOF
%{jrebindir}/java -jar %{jdklibdir}/htmlconverter.jar $*
EOF
sed -i "s|PATH=.*|PATH=%{jrebindir}|" bin/java-rmi.cgi
# main
cp -a bin include lib src.zip %{buildroot}%{_jvmdir}/%{jdkdir}
# extensions
install -d -m 755 %{buildroot}%{jvmjardir}
pushd %{buildroot}%{jvmjardir}
ln -s %{_jvmdir}/%{jredir}/lib/jsse.jar jsse-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/jce.jar jce-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-ldap-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-cos-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-rmi-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jaas-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jdbc-stdext-%{javaver}.jar
ln -s jdbc-stdext-%{javaver}.jar jdbc-stdext-3.0.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar sasl-%{javaver}.jar
# ln -s %{_jvmdir}/%{jredir}/lib/rt.jar xml-commons-apis.jar
for jar in *-%{javaver}.jar ; do
#if [ %{realver} != %{javaver} ]; then
#ln -fs ${jar} $(echo $jar | sed "s|-%{realver}.jar|-%{javaver}.jar|g")
#fi
ln -fs ${jar} $(echo $jar | sed "s|-%{javaver}.jar|.jar|g")
done
popd
# rest of jre
cp -a jre/bin jre/lib %{buildroot}%{_jvmdir}/%{jredir}
#cp -a jre/javaws %{buildroot}%{_jvmdir}/%{jredir}
%ifnarch arm
cp -a jre/plugin %{buildroot}%{_jvmdir}/%{jredir}
%endif
# see <http://www.java.com/it/download/help/5000010500.xml#install>
mkdir -p %{buildroot}%{_datadir}/pixmaps
mkdir -p %{buildroot}%{_datadir}/icons/mini
%ifnarch arm
install -m 644 jre/plugin/desktop/%{origin}_java.png \
%{buildroot}%{_datadir}/pixmaps/%{name}.png
ln -s %{_datadir}/pixmaps/%{name}.png %{buildroot}%{_datadir}/icons/mini/%{name}.png
install -d %{buildroot}%{_libdir}/mozilla/plugins
%endif
%ifarch %{ix86}
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_oji.so
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_nscp.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_nscp.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-8.so
%endif
%ifarch x86_64
ln -s %{_jvmdir}/%{jredir}/lib/amd64/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/amd64/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-8.so
%endif
install -d -m 755 %{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
for file in local_policy.jar US_export_policy.jar; do
mv %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file \
%{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
# for ghosts
touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file
done
pushd %{buildroot}%{_jvmdir}
ln -s %{jredir} %{jrelnk}
ln -s %{jdkdir} %{jdklnk}
popd
pushd %{buildroot}%{_jvmjardir}
ln -s %{jdkdir} %{jrelnk}
ln -s %{jdkdir} %{jdklnk}
popd
mkdir -p %{buildroot}%{_mandir}/man1
for manpage in man/man1/*; do
install -m 644 -p $manpage \
%{buildroot}%{_mandir}/man1/`basename $manpage .1`-%{origin}8.1
done
mkdir -p %{buildroot}%{_jvmdir}/%{jdkdir}
#cp -a demo sample %{buildroot}%{_jvmdir}/%{jdkdir}
mkdir -p %{buildroot}%{_datadir}/mime/packages/
mkdir -p %{buildroot}%{_datadir}/applications
%ifnarch arm
for style in hicolor HighContrast HighContrastInverse LowContrast; do
for size in 16 48; do
for kind in apps mimetypes; do
mkdir -p %{buildroot}%{_datadir}/icons/$style/${size}x${size}/$kind
install -m 644 jre/lib/desktop/icons/$style/${size}x${size}/$kind/*.png \
%{buildroot}%{_datadir}/icons/$style/${size}x${size}/$kind
done
done
done
rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/gnome-mime-text-x-java.png
rm -rf %{buildroot}%{_datadir}/icons/hicolor/16x16/mimetypes/gnome-mime-text-x-java.png
cp -a jre/lib/desktop/mime/packages/* %{buildroot}%{_datadir}/mime/packages/
cp -a jre/lib/desktop/applications/%{origin}-java.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/applications
if [ -e %{buildroot}%{_jvmdir}/%{jdkdir}/bin/jvisualvm ]; then
cat >> %{buildroot}%{_datadir}/applications/%{name}-jvisualvm.desktop << EOF
[Desktop Entry]
Name=Java VisualVM (%{name})
Comment=Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool
Exec=%{_jvmdir}/%{jdkdir}/bin/jvisualvm
Icon=%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Terminal=false
Type=Application
Categories=Development;Profiling;
EOF
fi
# ControlPanel freedesktop.org menu entry
cat > %{buildroot}%{_datadir}/applications/%{name}-jcontrol.desktop << EOF
[Desktop Entry]
Name=Java Plugin Control Panel (%{name})
Comment=Java Control Panel
Exec=%{_jvmdir}/%{jdkdir}/bin/jcontrol
Icon=%{_datadir}/icons/hicolor/48x48/apps/sun-jcontrol.png
Terminal=false
Type=Application
Categories=Settings;Java;
EOF
# javaws freedesktop.org menu entry
cat > %{buildroot}%{_datadir}/applications/%{name}-javaws.desktop << EOF
[Desktop Entry]
Name=Java Web Start (%{name})
Comment=Java Application Launcher
MimeType=application/x-java-jnlp-file;
Exec=%{_jvmdir}/%{jredir}/bin/javaws %%u
Icon=%{_datadir}/icons/hicolor/48x48/apps/sun-javaws.png
Terminal=false
Type=Application
Categories=Settings;Java;
EOF
%endif
mkdir -p %{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}
mkdir -p %{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
# move the fonts into a shared fonts directory
install -m 644 jre/lib/fonts/*.ttf \
%{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}
install -m 644 jre/lib/oblique-fonts/*.ttf \
%{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
rm -rf %{buildroot}%{_jvmdir}/%{jredir}/lib/fonts
rm -rf %{buildroot}%{_jvmdir}/%{jredir}/lib/oblique-fonts
ln -s ../../../../../share/fonts/ttf/j2se-%{origin} \
%{buildroot}%{_jvmdir}/%{jredir}/lib/fonts
ln -s ../../../../../share/fonts/ttf/j2se-%{origin}-oblique \
%{buildroot}%{_jvmdir}/%{jredir}/lib/oblique-fonts
#install -d %{buildroot}%{_sysconfdir}/profile.d
#sed -i "s|__JDK__PREFIX__|%{_jvmdir}|" %{S:3}
#sed -i "s|__JRE__PREFIX__|%{_jvmdir}%{jrelnk}|" %{S:4}
#install -m0755 %{S:3} %{buildroot}%{_sysconfdir}/profile.d/%{jdklnk}.sh
#install -m0755 %{S:4} %{buildroot}%{_sysconfdir}/profile.d/%{jrelnk}.sh
mkdir %{buildroot}%{_javadir}-%{javaver}
mkdir %{buildroot}%{_jnidir}-%{javaver}
## FIXME: temporary workaround to provide openjdk (required by ooobuild-3.1.0.6 odk patch)
#ln -s %{jdkdir} %{buildroot}%{_libdir}/jvm/java-%{MAJOR}-openjdk
pushd %{buildroot}%{_jvmdir}/%{jredir}/lib
for l in *.jar; do
ln -s ../jre/lib/$l %{buildroot}%{_jvmdir}/%{jdkdir}/lib/$l
done
install -d -m 0755 %{buildroot}%{_jvmdir}/%{jredir}/.systemPrefs
touch %{buildroot}%{_jvmdir}/%{jredir}/.systemPrefs/.systemRootModFile
#for file in %{buildroot}%{_jvmdir}/%{jdkdir}/bin/* %{buildroot}%{_jvmdir}/%{jredir}/bin/*
#do
# chrpath --list $file && chrpath --delete $file || :
#done
#for file in $(find %{buildroot}%{_jvmdir}/%{jdkdir}/demo -name "*.so")
#do
# chrpath --list $file && chrpath --delete $file || :
#done
#for file in $(find %{buildroot}%{_jvmdir}/%{jredir}/lib -name "*.so")
#do
# chrpath --list $file && chrpath --delete $file || :
#done
# Remove requirements missing ffmpeg libraries
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-ffmpeg-56.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-53.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-54.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-56.so
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-*
:
%pre
if [ $1 -ge 1 ]; then
# legacy cleanups
for b in javac jar; do
/usr/sbin/update-alternatives --remove $b \
/opt/java/jdk/bin/$b 2>/dev/null
done
fi
:
%post
if [ $1 -ge 1 ]; then
# new install
if ! echo ${PATH} | grep -q %{_jredir}/bin; then
export PATH="$PATH:%{_jredir}/bin"
fi
for b in javac jar; do
[ -L %{_bindir}/$b -a "`readlink %{_bindir}/$b`" != "%{_sysconfdir}/alternatives/$b" ] &&
rm -f %{_bindir}/$b
%{_sbindir}/update-alternatives \
--install %{_bindir}/$b $b \
%{_jvmdir}/%{jdklnk}/bin/$b 56
done
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jdk jdk \
%{_jvmdir}/%{jdklnk} 56
%{_sbindir}/update-alternatives \
--install %{_jvmjardir}/jdk jdk-exports \
%{_jvmjardir}/%{jdklnk} 56
fi
:
%preun
if [ $1 -eq 0 ]; then
for b in javac jar; do
%{_sbindir}/update-alternatives --remove $b \
%{_jvmdir}/%{jdklnk}/bin/$b
done
%{_sbindir}/update-alternatives --remove jdk \
%{_jvmdir}/%{jdklnk}
%{_sbindir}/update-alternatives --remove jdk-exports \
%{_jvmjardir}/%{jdklnk}
fi
:
%pre runtime
if [ $1 -ge 1 ]; then
[ -L %{_jvmdir}/%{jredir}/lib/fonts ] || rm -rf %{_jvmdir}/%{jredir}/lib/fonts
[ -L %{_jvmdir}/%{jredir}/lib/oblique-fonts ] || rm -rf %{_jvmdir}/%{jredir}/lib/oblique-fonts
[ -e %{_jvmdir}/%{jrelnk} ] && rm -rf %{_jvmdir}/%{jrelnk}
[ -L %{_bindir}/java -a "`readlink %{_bindir}/java`" != "%{_sysconfdir}/alternatives/java" ] &&
rm -f %{_bindir}/java
if [ -d /opt/java/jre ]; then
# legacy cleanups
%{_sbindir}/update-alternatives --remove java \
/opt/java/jre/bin/java 2>/dev/null
fi
%{_sbindir}/update-alternatives \
--install %{_bindir}/java java \
%{_jvmdir}/%{jrelnk}/bin/java 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jre jre \
%{_jvmdir}/%{jrelnk} 56
%{_sbindir}/update-alternatives \
--install %{_jvmjardir}/jre jre-exports \
%{_jvmjardir}/%{jrelnk} 56
fi
:
%post runtime
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts/ttf/j2se-%{origin}
%{_bindir}/fc-cache %{_datadir}/fonts/ttf/j2se-%{origin}-oblique
fi
if ! echo ${PATH} | grep -q %{_jvmdir}/jre/bin; then
export PATH="$PATH: %{_jvmdir}/jre/bin"
fi
if [ -d %{_jvmdir}/%{jrelnk}/lib/security ]; then
# Need to remove the old jars in order to support upgrading
# update-alternatives fails silently if the link targets exist as files
rm -f %{_jvmdir}/%{jrelnk}/lib/security/{local,US_export}_policy.jar
fi
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jredir}/lib/oblique-fonts \
oblique_fonts_%{javaver}_%{origin} %{_datadir}/fonts/ttf/j2se-%{origin}-oblique 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jredir}/lib/fonts fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin} 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/local_policy.jar \
jce_%{javaver}_%{origin}_local_policy %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/US_export_policy.jar \
jce_%{javaver}_%{origin}_us_export_policy %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar 56
:
%preun runtime
if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove java \
%{_jvmdir}/%{jrelnk}/bin/java
%{_sbindir}/update-alternatives --remove jre \
%{_jvmdir}/%{jrelnk}
%{_sbindir}/update-alternatives --remove jre-exports \
%{_jvmjardir}/%{jrelnk}
fi
:
%postun runtime
if [ $1 -eq 0 ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache --system-only
fi
%{_sbindir}/update-alternatives \
--remove jce_%{javaver}_%{origin}_local_policy \
%{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar
%{_sbindir}/update-alternatives \
--remove oblique_fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
%{_sbindir}/update-alternatives \
--remove fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin}
fi
:
%files
%defattr(-,root,root)
#%{_sysconfdir}/profile.d/%{jdklnk}.sh
%{_jvmdir}/%{jdklnk}
%{_jvmjardir}/%{jdklnk}
%{_jvmdir}/%{jdkdir}/bin
#%{_jvmdir}/%{jdkdir}/db
#%{_jvmdir}/%{jdkdir}/demo
%{_jvmdir}/%{jdkdir}/lib
%{_jvmdir}/%{jdkdir}/include
#%{_jvmdir}/%{jdkdir}/sample
%{_jvmdir}/%{jdkdir}/src.zip
%dir %{_javadir}-%{javaver}
%dir %{_jnidir}-%{javaver}
%{_mandir}/man1/appletviewer-sun8.1*
#%{_mandir}/man1/apt-sun8.1*
%{_mandir}/man1/extcheck-sun8.1*
%{_mandir}/man1/idlj-sun8.1*
%{_mandir}/man1/jar-sun8.1*
%{_mandir}/man1/jarsigner-sun8.1*
%{_mandir}/man1/javac-sun8.1*
%{_mandir}/man1/javadoc-sun8.1*
%ifnarch arm
%{_mandir}/man1/javafxpackager-sun8.1*
%endif
%{_mandir}/man1/javah-sun8.1*
%{_mandir}/man1/javap-sun8.1*
%{_mandir}/man1/javapackager-sun8.1*
%{_mandir}/man1/jdeps-sun8.1*
%{_mandir}/man1/jjs-sun8.1*
%{_mandir}/man1/jcmd-sun8.1*
%{_mandir}/man1/jconsole-sun8.1*
%{_mandir}/man1/jdb-sun8.1*
%{_mandir}/man1/jhat-sun8.1*
%{_mandir}/man1/jinfo-sun8.1*
%{_mandir}/man1/jmap-sun8.1*
%{_mandir}/man1/jmc-sun8.1*
%{_mandir}/man1/jps-sun8.1*
%{_mandir}/man1/jrunscript-sun8.1*
%{_mandir}/man1/jsadebugd-sun8.1*
%{_mandir}/man1/jstack-sun8.1*
%{_mandir}/man1/jstat-sun8.1*
%{_mandir}/man1/jstatd-sun8.1*
%{_mandir}/man1/jvisualvm-sun8.1*
%{_mandir}/man1/native2ascii-sun8.1*
%{_mandir}/man1/policytool-sun8.1*
%{_mandir}/man1/rmic-sun8.1*
%{_mandir}/man1/schemagen-sun8.1*
%{_mandir}/man1/serialver-sun8.1*
%{_mandir}/man1/wsgen-sun8.1*
%{_mandir}/man1/wsimport-sun8.1*
%{_mandir}/man1/xjc-sun8.1*
%doc %{toplevel_dir}/COPYRIGHT %{toplevel_dir}/LICENSE
%doc %{toplevel_dir}/THIRDPARTYLICENSEREADME.txt
# %{toplevel_dir}/README*
%files runtime
%defattr(-,root,root)
#%{_sysconfdir}/profile.d/%{jrelnk}.sh
%dir %{_jvmdir}/%{jdkdir}
%dir %{_jvmdir}/%{jredir}
%dir %{_jvmdir}/%{jredir}/lib
%{_jvmdir}/%{jredir}/lib/*.jar
%{_jvmdir}/%{jredir}/lib/*.properties*
%{_jvmdir}/%{jredir}/lib/fontconfig*.bfc
%{_jvmdir}/%{jredir}/lib/classlist
%{_jvmdir}/%{jredir}/lib/jexec
%{_jvmdir}/%{jredir}/lib/*.txt
%{_jvmdir}/%{jredir}/lib/meta-index
#%{_jvmdir}/%{jredir}/lib/audio
%{_jvmdir}/%{jredir}/lib/cmm
%ifnarch arm
%{_jvmdir}/%{jredir}/lib/deploy
%{_jvmdir}/%{jredir}/lib/desktop
%{_jvmdir}/%{jredir}/lib/locale
%endif
%{_jvmdir}/%{jredir}/lib/ext
%ifarch %{ix86}
%{_jvmdir}/%{jredir}/lib/i386
%endif
%ifarch x86_64
%{_jvmdir}/%{jredir}/lib/amd64
%endif
%ifarch arm
%{_jvmdir}/%{jredir}/lib/arm
%endif
#%{_jvmdir}/%{jredir}/lib/im
%{_jvmdir}/%{jredir}/lib/images
%{_jvmdir}/%{jredir}/lib/management
%dir %{_jvmdir}/%{jredir}/lib/security
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/cacerts
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklisted.certs
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
%ifnarch arm
#%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javafx.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javaws.policy
%endif
%{_jvmdir}/%{jredir}/lib/tzdb.dat
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklist
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/trusted.libraries
%ghost %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
%ghost %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
%dir %{_jvmdir}/%{jredir}/lib/jfr
%{_jvmdir}/%{jredir}/lib/jfr/*
%{_jvmdir}/%{jredir}/lib/currency.data
#%{_jvmdir}/%{jredir}/lib/servicetag
%{_jvmdir}/%{jredir}/.systemPrefs
#%{_jvmdir}/%{jredir}/lib/zi
%{_jvmdir}/%{jredir}/lib/fonts
%{_jvmdir}/%{jredir}/lib/oblique-fonts
%dir %{_jvmprivdir}/%{name}
%dir %{_jvmprivdir}/%{name}/jce
%dir %{_jvmprivdir}/%{name}/jce/vanilla
%config(noreplace) %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar
%config(noreplace) %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar
%{_jvmdir}/%{jredir}/bin
#%{_jvmdir}/%{jredir}/javaws
#%{_jvmdir}/%{jredir}/lib
%ifnarch arm
%{_jvmdir}/%{jredir}/plugin
%endif
%{_jvmdir}/%{jrelnk}
%{_jvmjardir}/%{jrelnk}
%{_jvmjardir}/%{jppname}/jaas*.jar
%{_jvmjardir}/%{jppname}/jce*jar
%{_jvmjardir}/%{jppname}/jdbc-stdext*jar
%{_jvmjardir}/%{jppname}/jndi*.jar
%{_jvmjardir}/%{jppname}/jsse*.jar
%{_jvmjardir}/%{jppname}/sasl*.jar
#%{_jvmjardir}/%{jppname}/xml-commons-apis.jar
%ifnarch arm
%{_libdir}/mozilla/plugins/libjava8plugin*.so
%{_libdir}/mozilla/plugins/libnpjp2-8.so
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-javaws.desktop
%{_datadir}/applications/%{name}-jcontrol.desktop
%{_datadir}/applications/%{name}-jvisualvm.desktop
%{_datadir}/icons/*/*x*/*/*.png
%{_datadir}/icons/mini/%{name}.png
%{_datadir}/mime/packages/x-java-*.xml
%{_datadir}/pixmaps/%{name}.png
%endif
%dir %{_datadir}/fonts/ttf/j2se-sun-oblique
%{_datadir}/fonts/ttf/j2se-sun-oblique/*.ttf
%dir %{_datadir}/fonts/ttf/j2se-sun
%{_datadir}/fonts/ttf/j2se-sun/*.ttf
%{_mandir}/man1/java-sun8.1*
%{_mandir}/man1/javaws-sun8.1*
%{_mandir}/man1/keytool-sun8.1*
%{_mandir}/man1/orbd-sun8.1*
%{_mandir}/man1/pack200-sun8.1*
%{_mandir}/man1/rmid-sun8.1*
%{_mandir}/man1/rmiregistry-sun8.1*
%{_mandir}/man1/servertool-sun8.1*
%{_mandir}/man1/tnameserv-sun8.1*
%{_mandir}/man1/unpack200-sun8.1*
%doc %{toplevel_dir}/jre/COPYRIGHT %{toplevel_dir}/jre/LICENSE
%doc %{toplevel_dir}/jre/THIRDPARTYLICENSEREADME.txt
# %{toplevel_dir}/jre/README %{toplevel_dir}/jre/Welcome.html
%changelog
* Tue Sep 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8u102_b14-1mamba
- update to java8
* Sat Oct 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u67_b01-1mamba
- fix x86_64 mozulla plugin symlinks
- support for pkg download code (b01) in version
* Fri Mar 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-2mamba
- update wget download string (see https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/)
- dont' install fxavcodecplugin-52.so to remove dependencies on old libav library; fxavcodecplugin-53.so is provided requiring ffmpeg0
* Fri Jan 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-1mamba
- update to 7u51
* Sun Nov 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u45-1mamba
- update to 7u45
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u17-1mamba
- update to 7u17
* Sun Aug 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-2mamba
- rename to sun-java7
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-1mamba
- update to 7u6
* Tue Mar 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6u26-2mamba
- don't obsolete jre and jdk
* Wed Jun 08 2011 Automatic Build System <autodist@mambasoft.it> 6u26-1mamba
- automatic update by autodist
* Wed Apr 27 2011 Automatic Build System <autodist@mambasoft.it> 6u25-1mamba
- automatic update by autodist
* Thu Feb 17 2011 Automatic Build System <autodist@mambasoft.it> 6u24-1mamba
- automatic update by autodist
* Wed Oct 13 2010 Automatic Build System <autodist@mambasoft.it> 6u22-1mamba
- automatic update to 6u22 by autodist
* Mon Jul 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u21-3mamba
- don't launch chrpath or executables won't find libraries because they are not in system path
* Wed Jul 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 6u21-2mamba
- specfile fixes and cleanup
- fix broken fonts symlink
- edit %%post and %%postun runtime scripts
* Fri Jul 16 2010 Automatic Build System <autodist@mambasoft.it> 6u21-1mamba
- automatic update to 6u21 by autodist
* Mon Jun 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u20-2mamba
- link libnpjp2.so instead of libjavaplugin.so to /usr/lib/mozilla/plugins
* Fri Apr 16 2010 Automatic Build System <autodist@mambasoft.it> 6u20-1mamba
- automatic update to 6u20 by autodist
* Wed Mar 31 2010 Automatic Build System <autodist@mambasoft.it> 6u19-1mamba
- automatic update to 6u19 by autodist
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 6u18-1mamba
- automatic update to 6u18 by autodist
* Tue Nov 17 2009 Automatic Build System <autodist@mambasoft.it> 6u17-1mamba
- automatic update to 6u17 by autodist
* Wed Sep 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u16-2mamba
- fixed wrong symlink destination for jav for mozilla plugin files
* Mon Aug 17 2009 Automatic Build System <autodist@mambasoft.it> 6u16-1mamba
- automatic update to 6u16 by autodist
* Thu Aug 06 2009 Automatic Build System <autodist@mambasoft.it> 6u15-1mamba
- automatic update to 6u15 by autodist
* Mon Jul 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-2mamba
- create symlink of jre jar's into jdk lib directory
* Tue Jun 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-1mamba
- update to 6u14
* Fri Jun 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-4mamba
- manage /usr/lib/jvm/{jdk,jre} as alternatives
- remove profile files for setting JAVA_HOME (now handled by initscripts and alternatives)
* Thu Jun 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-3mamba
- added symlink in /usr/lib/jvm
* Mon Apr 20 2009 gil <puntogil@libero.it> 6u13-2mamba
- added requirement for menu-java
* Wed Mar 18 2009 gil <puntogil@libero.it> 6u13-1mamba
- update to 6u13
- edit spec file
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6u7-1mamba
- automatic update to 6u7 by autodist
* Tue Mar 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-4mamba
- update to release 6u4
- manage /usr/bin/{java,javac,jar} using alternatives with priority 50
* Sat Apr 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-3mamba
- install into /opt/java
* Mon Feb 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2qilnx
- check and handle a pre-existing /usr/java/jre%version dir
* Mon Feb 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1qilnx
- new build under the Operating System Distributor License for Java (DLJ 1.1)
* Fri Feb 02 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.5-1qilnx
- get download parameters from a sysconfig file
* Tue Oct 31 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-8qilnx
- specfile updated to donwload latest jre version (1.5.0_09)
* Wed Jul 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-7qilnx
- added "provides j2re" (needed by the limewire rpm)
* Mon Apr 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-6qilnx
- updated javaurl
* Thu Feb 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-5qilnx
- fixed symbolic link in %{_libdir}/mozilla/plugins
* Tue Aug 23 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-4qilnx
- specfile updates for last jre version (1.5.0_04)
* Thu Jul 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-3qilnx
- remove %{javapath}/.systemPrefs if found
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2qilnx
- enable resume of download
- remove requirements and provides
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1qilnx
- specfile for new jre version (1.5.0)
- added automatic download and build support (this is a non distributable package)
* Mon Jul 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-2qilnx
- create symlinks for browser plugins to /usr/lib/mozilla/plugins
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1qilnx
- first build

View File

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

View File

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

View File

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

46
SRPMSVERSIONS Normal file
View File

@ -0,0 +1,46 @@
# b43-firmware
SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A1 "NPAPI" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["flashplugin"]=1mamba
fi
# msttcorefonts
SRPMVERSION["msttcorefonts"]=1.3
SRPMRELEASE["msttcorefonts"]=7mamba
# skype
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "skype" ]; then
SRPMVERSION["skype"]="`curl --max-time 20 -sLI "http://www.skype.com/go/getskype-linux-beta-dynamic"|grep "linux/skype-"|sed "s|.*skype-\(.*\)\.tar\..*|\1|"|grep -v "\.\.0\." 2>/dev/null`"
SRPMRELEASE["skype"]=2mamba
fi
# spotify
if [ "`uname -m`" == "x86_64" ]; then
SRPMVERSION["spotify"]=20150629
else
SRPMVERSION["spotify"]=0
fi
SRPMRELEASE["spotify"]=1mamba
# sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba
fi
# sun-java8
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" ]; then
SRPMVERSION["sun-java8"]="`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java8"]=1mamba
fi
# virtualbox-extension-pack
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "virtualbox-extension-pack" ]; then
SRPMVERSION["virtualbox-extension-pack"]="`rpm -q VirtualBox 2>/dev/null| cut -d- -f2`"
SRPMRELEASE["virtualbox-extension-pack"]=1mamba
fi
# win32codecs
SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A11 "Linux" | grep -A1 "Chromium" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["chromium-pepper-flash"]=1mamba
fi

5
SRPMSVERSIONS.arm Normal file
View File

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

View File

@ -1 +1 @@
VERSION = 2024.11.01
VERSION = 3.0.9

2
bootrecover.lang Normal file
View File

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

View File

@ -1 +0,0 @@
export SAL_USE_VCLPLUGIN=qt6

View File

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

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

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

View File

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

21
kde/scripts/showlog Normal file
View File

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

7
mambabase.lang Normal file
View File

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

BIN
mambabase/mamba-128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
mambabase/mamba-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

BIN
mambabase/mamba-22x22.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
mambabase/mamba-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
mambabase/mamba-48x48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
mambabase/mamba-64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,13 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=mambabase
GenericName=openmamba components installer
GenericName[it]=Installazione componenti base di openmamba
Exec=kmdr-executor /usr/share/openmamba/mambabase/mambabase.kmdr
Icon=mamba
Terminal=0
Type=Application
Categories=X-openmamba;
#X-KDE-RootOnly=true
#X-KDE-SubstituteUID=true
#X-KDE-Username=root

View File

@ -0,0 +1,13 @@
[Desktop Entry]
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
Icon=mamba
Terminal=0
Type=Application
Categories=X-openmamba;
#X-KDE-RootOnly=true
#X-KDE-SubstituteUID=true
#X-KDE-Username=root

1676
mambabase/mambabase.kmdr Executable file

File diff suppressed because one or more lines are too long

215
mambabase/mambabase.po Normal file
View File

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

276
mambabase/mambabase.sh Normal file
View File

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

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

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

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

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

View File

@ -0,0 +1,5 @@
#!/bin/bash
# not working yet
kmdr2po mambabase.kmdr > mambabase.po
xgettext -s -o - mambabase.sh > mambabase.sh.po
msgmerge mambabase.sh.po po/it.po > po/it.pot

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Name=openmamba system report
Name[it]=Report del sistema openmamba
GenericName=Creates a system report for debugging
GenericName[it]=Genera un report del sistema
Exec=kmdr-executor /usr/share/openmamba/mambareport/mambareport.kmdr
Icon=mamba
Terminal=0
Type=Application
Categories=X-openmamba;
#X-KDE-RootOnly=true
#X-KDE-SubstituteUID=true
#X-KDE-Username=root

943
mambareport/mambareport.kmdr Executable file

File diff suppressed because one or more lines are too long

View File

@ -1,20 +1,14 @@
#!/bin/bash
#
# GNU/Linux O.S. report generation tool
# openmamba system report generation tool
#
# Copyright (c) 2008-2024 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
MAKEREPORT_VERSION=20240125
TEMPFILE=`mktemp`
VERSION=20110807
TEMPFILE=`tempfile`
. ${ROOT}/etc/sysconfig/machine
. ${ROOT}/etc/os-release
if [ "${SUDO_USER}" == "" ]; then
# mambareport uses pkexec instead of sudo
SUDO_USER="\#${PKEXEC_UID}"
fi
[ ! "$SYSTEM_MANUFACTURER" -o "$SYSTEM_MANUFACTURER" = "System manufacturer" ] && {
SYSTEM_MANUFACTURER=unknown
@ -32,14 +26,18 @@ SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr ' ' _ | tr '-' _ | tr '/' _`
SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr ' ' _ | tr '-' _ | tr '/' _`
SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr ' ' _ | tr '-' _ | tr '/' _`
REPORTNAME="${NAME}-report-$SYSTEM_MANUFACTURER-$SYSTEM_PRODUCT_NAME-$SYSTEM_SERIAL_NUMBER.txt"
REPORTNAME="openmamba-report-$SYSTEM_MANUFACTURER-$SYSTEM_PRODUCT_NAME-$SYSTEM_SERIAL_NUMBER.txt"
if [ "$1" ]; then
NOTE="$1"
if [ $1 ]; then
REPORTNAME="$1/$REPORTNAME"
fi
if [ "$2" ]; then
REPORTNAME="$2"
if [ $2 ]; then
HOME="$2"
fi
if [ $3 ]; then
NOTE="$3"
fi
function catfile() {
@ -82,7 +80,7 @@ function catinitramfs() {
FILENAME=$1
FILEDESC=$2
for c in $1; do
TMPDIR=`mktemp -d`
@ -124,9 +122,8 @@ _EOF
}
echo "${NAME} report generation tool ${MAKEREPORT_VERSION}"
echo "Copyright (c) 2008-2024 by Silvan Calarco <silvan@openmamba.org>"
echo "Released under the terms of the GNU GPL v3 license"
echo "openmamba report generation tool $VERSION"
echo "Copyright (c) 2008-2013 by Silvan Calarco"
echo
[ $UID = 0 ] || {
@ -134,12 +131,13 @@ echo
exit 1
}
echo "Gathering information..."
cat > $TEMPFILE << _EOF
****************************************************************************
* ${NAME} diagnostic information ${MAKEREPORT_VERSION} for host $HOSTNAME (`date`)
* openmamba diagnostic information $VERSION for host $HOSTNAME (`date`)
****************************************************************************
_EOF
@ -147,51 +145,50 @@ if [ "$NOTE" ]; then
echo "
REPORTED PROBLEM:
=================" >> $TEMPFILE
cat "$NOTE" >> $TEMPFILE
cat $NOTE >> $TEMPFILE
echo >> $TEMPFILE
fi
# system information
catfile /etc/os-release "O.S. release information"
catfile /etc/openmamba-release "release information"
catfile /etc/sysconfig/machine "machine information from BIOS"
catfile /proc/cpuinfo "processor(s) information"
catfile /proc/meminfo "System memory information"
catcommand "/usr/bin/lspci -nn" "PCI hardware information (short)"
catcommand "/usr/sbin/lspci -nn" "PCI hardware information (short)"
catcommand /usr/bin/lsusb "USB hardware information"
catcommand /usr/sbin/lsmod "Loadel kernel modules"
catcommand "rpm -qa|grep ^kernel-" "Installed kernel packages"
catcommand /sbin/lsmod "Loadel kernel modules"
catcommand "rpm -qa|grep kernel-mamba" "Installed kernel packages"
catcommand "ls -l /etc/alternatives" "System alternatives"
# kernel and system logs
catcommand "journalctl --system -b | head -n 1000" "system journal from boot"
catcommand "journalctl --system -n 500" "system journal last lines"
catcommand /bin/dmesg "last kernel messages"
# user log
catcommand "sudo -u ${SUDO_USER} journalctl -b --user | head -n 500" "user journal from startup"
catcommand "sudo -u ${SUDO_USER} journalctl --user -n 500" "user journal last entries"
tailfile /var/log/messages "system messages log"
# process/memory information
catcommand "top -b -n1" "Top running processes"
catcommand "ps aux" "All running processes"
# system boot troubleshooting
# kernel boot problems
catfile /proc/cmdline "kernel startup command line"
catcommand "ls -l /boot" "boot files"
catfile /boot/grub/grub.cfg "GRUB configuration"
catfile /var/log/dmesg.log "kernel startup messages"
catcommand /bin/dmesg "last kernel messages"
catfile "/etc/modprobe.d/*" "modules configuration"
catcommand "lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
# system services status
catcommand "systemctl status" "systemctl status"
catcommand "systemctl" "systemctl services status"
catcommand "systemd-analyze blame" "systemd services startup timings"
# system boot problems
catfile /var/log/initd.sysinit.start "system init logfile"
catfile "/var/log/initd.3.start" "runlevel 3 init logfile"
catfile "/var/log/initd.5.start" "runlevel 5 init logfile"
catfile /var/log/postplug.log "system configuration tool"
# Suspend/Powersave
catfile /var/log/pm-powersave.log "Current powersave logfile"
catfile /var/log/pm-suspend.log "Last suspend logfile"
# Graphical subsystem
catfile /var/log/Xorg.0.log "Xorg startup log"
catfile /etc/X11/xorg.conf "Xorg configuration"
catfile /etc/X11/xorg.conf.d/* "Xorg configuration modules"
catcommand "DISPLAY=:0 /usr/bin/glxinfo" "GLX information"
tailfile $HOME/.xsession-errors "desktop session log"
# Audio
catfile "/proc/asound/card*/codec*" "Audio driver codecs"
@ -199,29 +196,28 @@ catfile "/etc/asound.conf" "Alsa configuration"
catfile "/var/lib/alsa/asound.state" "Alsa mixer settings"
# Network
catcommand "/usr/sbin/ifconfig -a" "Network interfaces list"
catcommand "/sbin/ifconfig -a" "Network interfaces list"
catcommand "/usr/sbin/iwconfig" "Wireless interfaces list"
catcommand "/usr/sbin/route -n" "Routing table"
catcommand "systemd-resolve --status" "DNS configuration"
catcommand "/sbin/route -n" "Routing table"
catfile "/etc/sysconfig/network" "General network configuration"
catfile "/etc/resolv.conf" "DNS configuration"
# Disks
for d in /dev/{sd[a-z],nvme[0-9]}; do
[ -e $d ] && catcommand "smartctl -ia $d" "S.M.A.R.T. status for device $d"
for d in /dev/sd[a-z]; do
catcommand "smartctl -ia $d" "S.M.A.R.T. status for device $d"
done
# Installation
catcommand "rpm -qa --last | head -n 100" "Last installed packages"
catfile "/var/log/install-*" "Installation log"
catfile /var/log/Xorg.5.log "Xorg installation test log"
# Other details
catcommand "/usr/bin/lspci -vv" "PCI hardware information (verbose)"
# Systemd coredumps
catcommand "/usr/bin/coredumpctl info -q -r" "Systemd coredumps (more recent first)"
catcommand "/usr/sbin/lspci -vv" "PCI hardware information (verbose)"
cp $TEMPFILE $REPORTNAME || exit 1
chmod +r $REPORTNAME
rm -f $TEMPFILE
echo "Report saved as $REPORTNAME"
echo "Please visit $BUG_REPORT_URL for instructions to submit this report."
echo "Please send this report to reports@openmamba.org."

2
mambawelcome.lang Normal file
View File

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

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=System start logs
Name[es]=Inicio del sistema
Name[it]=Avvio del sistema
Name[fr]=Démarrage du système
Comment=Information on system startup
Comment[es]=Mensajes de inicio del sistema
Comment[it]=Informazioni sull'avvio del sistema
Comment[fr]=Informations du démarrage du système
Icon=utilities-log-viewer

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Network software installation
Name[es]=Instala el software por red
Name[it]=Installazione di software dalla rete
Name[fr]=Installation du logiciel depuis le réseau
Icon=distromenu-netinstall

View File

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

View File

@ -0,0 +1,18 @@
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu><Name>Applications</Name>
<Menu><Name>System</Name>
<Menu><Name>@distroID@</Name>
<Directory>@distroID@.directory</Directory>
<Include><Category>X-@distroID@</Category></Include>
<Menu><Name>Network software installation</Name>
<Directory>@distroID@-NetInstall.directory</Directory>
<Include><Category>X-@distroID@-NetInstall</Category></Include>
</Menu>
<Menu><Name>System start logs</Name>
<Directory>@distroID@-Logs.directory</Directory>
<Include><Category>X-@distroID@-Logs</Category></Include>
</Menu>
</Menu>
</Menu>
</Menu>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,19 @@
[Desktop Entry]
Name=Install Broadcom B43 wireless firmware
Name[es]=Instala el Broadcom B43 firmware
Name[fr]=Installation du firmware Broadcom B43
Name[it]=Installa il firmware per Broadcom B43
Comment=Install Broacom B43 wireless firmware from network
Comment[es]=Instala el Broadcom B43 firmware por red
Comment[fr]=Installation du Broadcom B43 firmware depuis le réseau
Comment[it]=Installa il firmware Broadcom B43 dalla rete
Encoding=UTF-8
Exec=@bindir@/openmamba-netsrpms b43-firmware
Icon=network-wireless
MimeType=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Categories=X-@distroID@-NetInstall;

View File

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

View File

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

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Install Java Runtime Environment (JRE)
Name[es]=Instala el Runtime Environment (JRE)
Name[it]=Installa il Java Runtime Environment (JRE)
Name[fr]=Installation du Java Runtime Environment (JRE)
Comment=Install Java Runtime Environment (JRE) from network
Comment[es]=Instala el Java Runtime Environment (JRE) por red
Comment[it]=Installa il Java Runtime Environment (JRE) dalla rete
Comment[fr]=Installation du Java Runtime Environment (JRE) depuis le réseau
Exec=@bindir@/openmamba-netsrpms jre
Icon=distromenu-java
Categories=X-@distroID@-NetInstall;
StartupNotify=false

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Install MS TrueType Core fonts
Name[es]=Instala las fuentes MS TrueType
Name[it]=Installa i font MS TrueType
Name[fr]=Installation des polices MS TrueType
Comment=Install MS TrueType Core Fonts for the Web
Comment[es]=Instala las fuentes MS TrueType para el Web
Comment[it]=Installa i font MS TrueType per il Web
Comment[fr]=Installation des polices MS TrueType pour le Web
Exec=@bindir@/openmamba-netsrpms msttcorefonts
Icon=fonts-package
Categories=X-@distroID@-NetInstall;
StartupNotify=false

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,19 @@
[Desktop Entry]
Name=Install VirtualBox Extension Pack
Name[es]=Instala el VirtualBox Extension Pack
Name[fr]=Installation du VirtualBox Extension Pack
Name[it]=Installa il VirtualBox Extension Pack
Comment=Install VirtualBox Extension Pack from network
Comment[es]=Instala el VirtualBox Extension Pack por red
Comment[fr]=Installation du VirtualBox Extension Pack depuis le réseau
Comment[it]=Installa il VirtualBox Extension Pack dalla rete
Encoding=UTF-8
Exec=@bindir@/openmamba-netsrpms virtualbox-extension-pack
Icon=VBox
MimeType=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Categories=X-@distroID@-NetInstall;

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Install/update Win32 Codecs
Name[es]=Instala y pon al día los Win32 codecs
Name[it]=Installa ed aggiorna i Win32 codec
Name[fr]=Installation et mise à jour des codecs Win32
Comment=Install the multimedia win32 codecs
Comment[es]=Instala y pon al día los Win32 codecs multimediales
Comment[it]=Installa ed aggiorna i codec multimediali Win32
Comment[fr]=Installation et mise à jour des codecs multimédias Win32
Exec=@bindir@/openmamba-netsrpms win32codecs
Icon=applications-multimedia
Categories=X-@distroID@-NetInstall;
StartupNotify=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

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

View File

@ -0,0 +1,170 @@
#!/bin/bash
#
# netsrpm-install.sh - Build srpms that download sources from network
#
# Copyright (C) 2003-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
TEXTDOMAINDIR=/usr/share/locale/
TEXTDOMAIN=openmamba-update
me="${0##*/}"
DISTRO_SRPMS_DIR=/usr/share/openmamba/SRPMS
rpmdir=$(rpm --eval=%{_rpmdir} 2>/dev/null)
while [ "$1" ]; do
case $1 in
-c) CHECK_MODE=1 ;;
-f) FORCE_MODE=1 ;;
-u) UPGRADE_MODE=1 ;;
-h|--help) PACKAGES= ; break ;;
-*) echo $"Error: invalid option $1; aborting."; exit 1 ;;
*) PACKAGES="$PACKAGES $1"
esac
shift
done
if [ -z "$PACKAGES" ]; then
echo $"Usage:
$me [options...] pkgname ...
Options:
-c: only check and exit (returns: 0: up-to-date; 1: needs update; 2: not installed)
-f: force reinstallation if already installed
-u: only upgrade if already installed
"
exit 255
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
}
declare -A SRPMVERSION SRPMRELEASE
for pckname in $PACKAGES; do
export SRPMCHECK="$pckname"
. /etc/sysconfig/netsrpminstall || exit 1
SRPM_PATH=$DISTRO_SRPMS_DIR/${pckname}
SPEC_PATHNAME=$SRPM_PATH/${pckname}.spec
[ -r "$SPEC_PATHNAME" ] || {
echo $"$me: $pckname is missing in $DISTRO_SRPMS_DIR; aborting."
exit 255
}
icon=`grep Icon= /usr/share/applications/openmamba-$pckname.desktop | sed "s|Icon=||"`
SRPMVER="${SRPMVERSION[${pckname}]}"
if [ "$SRPMVER" ]; then
SRPM_VERSION=${SRPMVER}-${SRPMRELEASE[${pckname}]}
else
SRPM_VERSION=
fi
RPM_INSTALLED=`rpm -q $pckname`
[ $? -eq 0 ] || RPM_INSTALLED=
RPM_INSTALLED_VERSION=`\
echo $RPM_INSTALLED | \
sed "s|${pckname//+/\\+}-\([^-]*-[^-]*\)\..*|\1|" 2>/dev/null`
echo $"Package name: $pckname"
echo $"Installed version: $RPM_INSTALLED_VERSION"
echo $"Last version: $SRPM_VERSION"
echo
if [ "$SRPM_VERSION" -a "$RPM_INSTALLED_VERSION" != "$SRPM_VERSION" ]; then
if [ "$RPM_INSTALLED_VERSION" ]; then
UPDATE_NEEDED=1
elif [ "$UPGRADE_MODE" ]; then
continue
fi
elif [ ! "$FORCE_MODE" -a "$SRPM_VERSION" ]; then
continue
fi
if [ ! "$CHECK_MODE" ]; then
if [ -f ${SRPM_PATH}/LICENSE ]; then
if [ "$DISPLAY" ]; then
license-dialog ${SRPM_PATH}/LICENSE
[ $? -ne 0 ] && exit 1
else
echo $"You must accept the following license terms:"
echo
more ${SRPM_PATH}/LICENSE
echo -n $"Do you agree with the above license terms [y/N]? "
read ans
[ "$ans" = "Y" -o "$ans" = "y" -o "$ans" = "s" -o "$ans" = "S" ] || exit 1
fi
fi
notify-send -a $"Network software installation" -i $icon "$pckname" $"$pckname installation in progress..."
# build rpm
tmpfile=`mktemp -q -t $me.XXXXXXXX` || {
echo "$me: "$"error: cannot create temporary files; aborting."
exit 255
}
tmpdir=`mktemp -d -q -t $me.XXXXXXXX` || {
echo "$me: "$"error: cannot create temporary directory; aborting."
exit 255
}
echo "$me: "$"rebuilding package \`$pckname'..."
sed "s|@SRPMVERSION@|${SRPMVERSION[${pckname}]}|g;s|@SRPMRELEASE@|${SRPMRELEASE[${pckname}]}|g" \
${SPEC_PATHNAME} >> $tmpfile
rpmbuild --ba \
--define="%_rpmdir $tmpdir" \
--define="%_sourcedir ${SRPM_PATH}" \
$tmpfile
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!"
exit 255
fi
RPM_PATH=`find $tmpdir -name \*.rpm`
# install rpm
if [ "$FORCE_MODE" = "1" ]; then
sudo smart remove -y $pckname
fi
sudo smart install -y $RPM_PATH
if [ $? -gt 0 ]; then
echo "$me: "$"error installing \`$RPM_PATH'."" "$"Aborting..." >&2
check_if_already_installed $pckname
exit 255
fi
rpm -q $pckname 2>/dev/null
if [ $? -eq 0 ]; then
notify-send -a $"Network software installation" -i $icon "$pckname" $"Installation of $pckname successfully completed."
else
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing $pckname!"
fi
rm -rf $tmpdir $tmpfile
fi
done
if [ "$CHECK_MODE" ]; then
if [ "$UPDATE_NEEDED" ]; then
echo $"Update needed."
exit 1
fi
rpm -q $pckname > /dev/null
if [ $? -eq 1 ]; then
echo $"Not installed."
exit 2
fi
fi
exit 0

View File

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

View File

@ -1,21 +1,3 @@
# openmamba update translations.
# Copyright (C) 2011-2023 openmamba
# Silvan Calarco <silvan.calarco@mambasoft.it>, 2011-2023
#
msgid ""
msgstr ""
"Project-Id-Version: 1.90\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-19 12:53+0200\n"
"PO-Revision-Date: 2011-04-26 18:37+CEST\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
#: openmamba-netsrpms:21
msgid "Error: invalid option $1; aborting."
msgstr "Errore: opzione $1 non valida; uscita."

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Some files were not shown because too many files have changed in this diff Show More