Compare commits

...

104 Commits

Author SHA1 Message Date
a12fa36414 Release 2.4.8 2014-10-10 12:42:33 +02:00
f804fb3126 Version updates for sun-java7, flashplugin and virtualbox-extension-pack 2014-10-10 12:41:34 +02:00
b8f2582c59 mambabase: fix installation of sun-java7 2014-10-07 15:24:39 +02:00
aaef0e3733 Release 2.4.7 2014-09-19 21:19:41 +02:00
6e284bb436 chromium-pepper-flash: added new netsrpm install package for Chromium pepper-flash plugin 2014-09-19 21:18:05 +02:00
7f647ff717 Release 2.4.6 2014-09-16 23:37:42 +02:00
40df57817f Merge branch 'master' of ssh://gitlab.mambasoft.it:4424/openmamba/desktop-base-openmamba 2014-09-16 23:31:56 +02:00
212511eb46 mambabase: add update-translations.sh but it is not working yet
(need to remember where I made a working one)
2014-09-16 23:30:54 +02:00
084960e8ee mambabase: consistent addition of proprietary components optional installation
Includes nvidia and amd/ati proprietary drivers, b43 firmware, sun-java, spotify plus some other fixes.
2014-09-16 23:29:36 +02:00
Silvan Calarco
63ad1ecf4b mambabase.kmdr: fix to avoid a file check.html to be written in home directories 2014-09-02 18:05:41 +02:00
8a83ed3cdf openmamba-netsrpms: support italian translation in text mode license confirmation ('s' for Yes) 2014-08-08 20:50:28 +02:00
0c7ede92a5 Release 2.4.5 2014-08-07 14:21:19 +02:00
987bac248d Fix virtualbox-extension-pack install from SRPM 2014-08-07 14:20:26 +02:00
e1c6ee3da4 Release 2.4.4 2014-08-05 00:15:46 +02:00
fade0ce2f2 openmamba-netsrpms: a previous commit broke updates detection from mambatray 2014-08-04 23:47:35 +02:00
a1aacd0104 skype: require Pulseaudio since ALSA alone support has been dropped from 4.3 2014-07-25 16:17:31 +02:00
e429fbd4ab mambawelcome: fix configuring domain with hostnamectl (pass HOSTNAME.DOMAIN as 'hostnamectl set-hostname' option) 2014-07-24 18:06:41 +02:00
9e74f43f42 Release 2.4.3 2014-07-24 13:46:14 +02:00
84bdb98f7b openmamba-netsrpms: update also b43-firmware and msttcorefonts to latest changes 2014-07-24 13:44:48 +02:00
d8bfa1b69c openmamba-netsrpms: further fix to preserve translations (lazy mode) 2014-07-24 13:35:45 +02:00
e613b469ed openmamba-netsrpms: fix checks for existing package and update available 2014-07-24 13:33:12 +02:00
17d323c6e2 netsrpms: some rework to build from specfile instead of srpm to let user do version changes on his own
flashplugin update to 11.2.202.394
skype update to 4.3.0.37
2014-07-24 13:21:02 +02:00
2b4a063515 Release 2.4.2 2014-03-26 12:31:59 +01:00
c24675b49d openmamba-update, openmamba-netsrpm: add italian translation 2014-03-26 12:28:42 +01:00
78ed5444e7 sun-java7: fix download and remove fxavcodecplugin-52.so requiring old libav
fxavcodecplugin-53.so is left and requires ffmpeg0
2014-03-26 11:55:42 +01:00
4630a296ea VirtualBox-extension-pack: update to 4.3.8 2014-03-26 11:35:32 +01:00
207637a07f Release 2.4.1 2014-02-13 16:08:55 +01:00
e9a856fbaf flashplugin: update to 11.2.202.336
skype: update to 4.2.0.13
sun-java7(arm): fix version not previously updated
2014-02-13 16:04:42 +01:00
7dfc259021 sun-java7: fix wrong directory in files list for x86_64 2014-02-13 15:54:15 +01:00
68359bfefc Release 2.4.0 2014-01-17 23:57:37 +01:00
3ff2f1d0a5 flashplugin: update to 11.2.202.335
sun-java7: update to 7u51
spotify: update to 20140117
2014-01-17 23:56:31 +01:00
c541abef36 Don't end with "Update needed" after updating 2014-01-17 23:55:47 +01:00
3bc111f2ec Release 2.3.99 2013-11-03 23:31:27 +01:00
6ab5fbcea0 sun-java7: update files list 2013-11-03 23:30:20 +01:00
6053b4e71d sun-java7: update to 7u45 2013-11-03 16:42:09 +01:00
bb12feebb0 VirtualBox-extension-pack: update to 4.2.18 2013-11-03 16:33:37 +01:00
daaf9f8c15 flashplugin: update to 11.2.202.310 2013-11-03 16:32:57 +01:00
1223c76d16 spotify: update to spotify-make 20131103 2013-11-03 16:31:48 +01:00
94b6be73c5 Release 2.3.98 2013-09-01 13:53:53 +02:00
70792decbe netsrpms: arm: only install supported components for this arch 2013-09-01 13:53:12 +02:00
4ce9faebf4 spotify: new netsrpm install 2013-09-01 00:56:18 +02:00
ce3fe6e353 openmamba-makereport: translate any '/' chars in output filename to avoid failure when creating it 2013-08-16 10:41:15 +02:00
9921ba0e3d Release 2.3.96 2013-08-16 10:39:02 +02:00
231726aa2d flashplugin: update to 11.2.2002.297
VirtualBox-extension-pack: update to 4.2.16
2013-07-27 12:58:48 +02:00
8190dd1f1e Release 2.3.95 2013-07-03 20:41:50 +02:00
59afeb3e06 mambawelcome: use systemd hostnamectl to set hostname 2013-07-01 20:19:01 +02:00
1a528e18d1 Release 2.3.94 2013-07-01 20:18:50 +02:00
6d6e72bc35 mambawelcome: systemd support 2013-06-28 23:15:37 +02:00
d96f76cfb0 flashplugin: update to 11.2.202.291
sun-java7: update to 7u25
virtualbox-extension-pack: update to 4.2.14
2013-06-25 17:10:35 +02:00
a5280e1c2c Release 2.3.92 2013-06-12 01:46:46 +02:00
dcdb576efe bootrecover: support for EFI (currently only target x86_64-efi) 2013-06-11 17:19:57 +02:00
deb176ea16 bootrecover: remove other O.S. partiton selection, rely on grub-install + os-prober for automatic configuration 2013-06-11 15:50:40 +02:00
04f0aaaf5c mambawelcome.sh: remove user 'liveuser' as it fails to be removed during first stage install when livecd-tools package is removed 2013-06-11 14:05:55 +02:00
20a3059e4f Release 2.3.91 2013-05-22 15:56:00 +02:00
04cfbb356d flashplugin: update to 11.2.202.285; skype: update to 4.2.0.11 2013-05-21 14:48:25 +02:00
ce9a6d734c New openmamba menu icon 2013-05-18 18:42:13 +02:00
8713ca8727 Release 2.3.21.1 2013-05-03 18:47:30 +02:00
a16817070f SRPMSVERSIONS.arm: added previously forgotten file 2013-05-03 18:44:52 +02:00
4a232df254 Release 2.3.21 2013-05-02 15:56:55 +02:00
1b60656c73 Added proxy profile.d script which reads /etc/sysconfig/proxy; added sudoers.d file for exporing variables 2013-05-02 15:53:43 +02:00
03fbd206a5 Release 2.3.20 2013-04-18 15:55:02 +02:00
f909f4450b polkit desktop policy: allow sysadmin user to modify date through kcmclock 2013-04-18 15:47:01 +02:00
476c1e42b0 Release 2.3.19 2013-04-10 19:32:22 +02:00
091b8290ba flashplugin: update to 11.2.202.280
sun-java7: update to 7u17 (x86*) and 7u10 (arm)
2013-04-10 19:30:33 +02:00
0b5540707d openmamba-netsrpms: added -f option to force package reinstallation 2013-04-03 15:17:01 +02:00
a8672f6db8 Release 2.3.18 2013-04-03 14:44:28 +02:00
9f67d99d87 flashplugin: update to 11.2.202.275 2013-04-03 12:59:45 +02:00
627a6c97f5 Revert "mambabase.kmdr: use curl instead of wget to check for openmamba website availability"
This reverts commit 8bfb8d05d3.
2013-04-03 12:52:55 +02:00
e2a9b882df openmamba-netsrpms: add support for accepting license from terminal when no DISPLAY is available 2013-03-03 01:13:20 +01:00
ea16cf3903 mambareport: avoid reading missing machine information from standard input, set fields to unknown 2013-02-27 11:11:36 +01:00
fbd9612b03 Release 2.3.17 2013-02-27 11:10:48 +01:00
693471c548 flashplugin: update to 11.2.202.262 2013-02-10 12:45:17 +01:00
8bfb8d05d3 mambabase.kmdr: use curl instead of wget to check for openmamba website availability 2013-02-06 18:21:23 +01:00
5311088a1d Release 2.3.16.1 2013-02-04 19:07:49 +01:00
b5aa9a1b0a flashplugin: fix filename and Makefile multiarch support 2013-02-04 19:06:31 +01:00
6f9a1a9820 Release 2.3.16 2013-02-04 15:26:04 +01:00
d104a8c9ec flashplugin: x86_64 plugin installation support 2013-02-04 15:24:02 +01:00
f49cad7a27 flashplugin: update to 11.2.202.261 2013-02-04 15:15:45 +01:00
fcfb26109d Release 2.3.15 2012-12-10 01:54:25 +01:00
f80c5acb9c skype: fixed v4l1 and v4l2 desktop entries and added italian translation 2012-12-10 01:52:37 +01:00
493b87818b openmamba-netsrpms: correct "Already installed" message when installation fails due to an rpm build error 2012-12-10 01:40:37 +01:00
9cf1a6e2d7 skype: update to 4.1.0.20
Also added desktop entries for v4l1compat and v4l2convert modes to fix compatibility with some webcams
2012-12-10 01:33:55 +01:00
c00fd0fdd5 Release 2.3.14 2012-11-26 01:18:33 +01:00
f119e237ab flashplugin: update to 11.2.202.251 2012-11-26 01:18:07 +01:00
2ff85e02e8 openmamba-netsrpms: fix typo in error message after smart install of built package 2012-11-12 18:30:16 +01:00
a53e689c7f Release 2.3.13 2012-11-10 16:57:07 +01:00
948fdf45a6 mambabase: replace wget with curl for connectivity check to support libproxy (requires wget >= 1.14-2mamba) 2012-11-10 16:51:26 +01:00
3932be0528 mambareport: use pkexec instead of kdesudo 2012-11-02 19:46:49 +01:00
e525be013d virtualbox-extension-pack: update to 4.2.0 2012-09-19 12:55:39 +02:00
f33ae77937 sun-java7: fixes after tests on arm; jpackage-utils has to be added as a requirement in rpm 2012-08-23 15:26:18 +02:00
da8a775020 skype: update to 4.0.0.8
flashplugin: update to 11.2.202.238
2012-08-22 19:26:08 +02:00
2e3e67f26c sun-java7: added distromenu icons and fixed LICENSE displaying
openmamba-netsrpm: pass application name to notify-send (TODO: translations)
2012-08-22 19:23:17 +02:00
d098c43154 sun-java7: new SRPM install from network 2012-08-22 18:58:42 +02:00
232a09dd13 mambawelcome: call grub-mkdevicemap only if present (it isn't since grub 2.00.beta5) 2012-08-07 13:33:07 +02:00
d923fb5f91 mambawelcome: reconfigure grub first to make sure this is done even in case of later script errors 2012-08-07 13:31:13 +02:00
febe491142 mambareport: call lsinitrd instead of /usr/sbin/ldinitrd as it moved to /usr/bin 2012-07-12 15:11:44 +02:00
a03a9cfb65 Makefile: install system-logo-white.png in /usr/share/pixmaps as required e.g. by dracut/plymouth 2012-07-01 11:43:06 +02:00
e6fadb30a0 Release 2.3.9 2012-06-17 01:34:31 +02:00
e618c1ab42 skype: update to 4.0.0.7 2012-06-17 01:33:20 +02:00
cce13671a6 flashplugin: update version to 11.2.202.236 2012-06-16 16:39:50 +02:00
eea6783023 mambareport: fix typo in desktop file 2012-05-31 13:21:49 +02:00
be83912999 flashplugin: update to 11.2.202.235 2012-05-20 19:19:52 +02:00
875be09377 msttcorefonts: fix download url 2012-04-25 15:07:58 +02:00
c9c4a4497b flashplugin: update to 11.2.202.233
Set StrartupNotify=false in SRPMS desktop files
2012-04-22 16:22:07 +02:00
78 changed files with 2841 additions and 1459 deletions

View File

@@ -1,9 +1,20 @@
# Makefile for openmamba-desktop-base
# Copyright (C) 2004-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Makefile for desktop-base-openmamba package
# Copyright (C) 2004-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
include VERSION
include SRPMSVERSIONS
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 spotify chromium-pepper-flash
endif
include $(SRPMSVERSIONSFILE)
PACKAGE = desktop-base-openmamba
DISTROID = openmamba
@@ -55,11 +66,12 @@ kdewallpapersdir = ${kdedatadir}/wallpapers
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
distrorootdir = ${datadir}/$(DISTROid)
distrobindir = ${distrorootdir}/bin
@@ -73,8 +85,6 @@ INSTALL_DATA = ${INSTALL} -m 644
INSTALL_DIR = ${INSTALL} -d -m 755
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
#pck_srpms = flashplugin jre msttcorefonts win32codecs
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack
pck_infiles := $(wildcard kde/config/*.in \
kde/scripts/*.in \
@@ -91,14 +101,17 @@ pck_desktop := $(wildcard desktop/*.tar.bz2)
pck_catalogs := $(wildcard mambabase/po/*.po)
pck_catalogs1 := $(wildcard mambawelcome/po/*.po)
pck_catalogs2 := $(wildcard bootrecover/po/*.po)
pck_catalogs3 := $(wildcard openmamba-update/po/*.po)
.SUFFIXES:
.SUFFIXES: .in .po .mo
.in:; @echo "generating $@..."; \
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;\
s,@vendor@,$(RPM_VENDOR),g;\
@@ -109,11 +122,7 @@ pck_catalogs2 := $(wildcard bootrecover/po/*.po)
s,@distrodesktopdir@,$(distrodesktopdir),g;\
s,@distrosrpmsdir@,$(distrosrpmsdir),g;\
s,@wallpaper@,$(DEFAULT_WALLPAPER),g;\
s,@screensaver@,${SCREENSAVER},g;\
s,@flashpluginver@,${FLASHPLUGIN_VERSION},g;\
s,@win32codecsver@,${WIN32CODECS_VERSION},g;\
s,@virtualboxextensionpackver@,${VIRTUALBOX_EXTENSION_PACK_VERSION},g;\
s,@skypever@,${SKYPE_VERSION},g" $< > $@
s,@screensaver@,${SCREENSAVER},g" $< > $@
all: dist-update locales
@@ -145,6 +154,13 @@ install-locales: locales
$(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/bootrecover.mo;\
done
@for f in $(pck_catalogs3); do\
lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\
echo "installing i18n file for language \`$$lang'...";\
dir="$(DESTDIR)$(datadir)/locale/$$lang/LC_MESSAGES";\
$(INSTALL_DIR) $$dir;\
$(INSTALL_DATA) $${f/.po/.mo} $$dir/openmamba-update.mo;\
done
install-kde-distro-addons: dist-update
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)
@@ -161,7 +177,11 @@ endif
@$(INSTALL_DIR) $(DESTDIR)$(mambaimagesdir)
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)/
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/
@@ -197,16 +217,18 @@ install-distromenu: dist-update
install-srpms:
@$(INSTALL_DIR) $(DESTDIR)$(distrosrpmsdir)
@$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
@cat SRPMSVERSIONS > $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE)
@cat $(SRPMSVERSIONSFILE) > $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE)
for pck in $(pck_srpms); do\
rpmbuild -bs SRPMS/$$pck/$${pck}.spec \
--define="_sourcedir `pwd`/SRPMS/$$pck" \
--define="_srcrpmdir $(DESTDIR)$(distrosrpmsdir)" || exit 1;\
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; \
@@ -240,17 +262,18 @@ endif
install-mambawelcome:
ifeq ($(WITHKDE3TOOLS),1)
@$(INSTALL_DIR) $(DESTDIR)$(mambawelcomedatadir)
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/rc.d/{init.d,rc5.d}
@$(INSTALL_DIR) $(DESTDIR)$(kdeconfigdir)
@$(INSTALL_DIR) $(DESTDIR)$(systemdsystemdir)
$(INSTALL_SCRIPT) mambawelcome/mambawelcome.kmdr $(DESTDIR)$(mambawelcomedatadir)
$(INSTALL_SCRIPT) mambawelcome/mambawelcome.sh $(DESTDIR)$(mambawelcomedatadir)
$(INSTALL_SCRIPT) mambawelcome/mambawelcome-init $(DESTDIR)$(sysconfdir)/rc.d/init.d/mambawelcome
$(INSTALL_SCRIPT) mambawelcome/mambawelcome-init $(DESTDIR)$(mambawelcomedatadir)/mambawelcome
$(INSTALL_DATA) gpl.html $(DESTDIR)$(mambawelcomedatadir)/gpl.html
$(INSTALL_DATA) gpl-it.html $(DESTDIR)$(mambawelcomedatadir)/gpl-it.html
$(INSTALL_DATA) gpl-es.html $(DESTDIR)$(mambawelcomedatadir)/gpl-es.html
$(INSTALL_DATA) kde/config/kcmfonts $(DESTDIR)$(kdeconfigdir)/kcmfonts
$(INSTALL_DATA) kde/config/kdeglobals $(DESTDIR)$(kdeconfigdir)/kdeglobals
ln -s ../init.d/mambawelcome $(DESTDIR)$(sysconfdir)/rc.d/rc5.d/S99mambawelcome
$(INSTALL_DATA) mambawelcome/mambawelcome.service $(DESTDIR)$(systemdsystemdir)/mambawelcome.service
$(INSTALL_DATA) mambawelcome/mambawelcome.target $(DESTDIR)$(systemdsystemdir)/mambawelcome.target
endif
install-xramdr:

View File

@@ -1,6 +1,6 @@
Name: b43-firmware
Version: 1
Release: 1@distroext@
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: Broadcom firmware files for the b43 and b43legacy drivers
Group: System/Kernel and Hardware
@@ -22,6 +22,7 @@ Broadcom firmware files for the b43 and b43legacy drivers.
%setup -c -n %{name}-%{version} -T
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
[ "${B43_FIRMWARE_PCK}" ] || exit 1

View File

@@ -1,7 +1,7 @@
## Broadcom B43 firmware
# package name (do not modify unless you know what you're doing)
B43_FIRMWARE_PCK=broadcom-wl-4.150.10.5.tar.bz2
B43_FIRMWARE_PCK=broadcom-wl-${SRPMVERSION["b43-firmware"]}.tar.bz2
# package URL (do not modify unless you know what you're doing)
B43_FIRMWARE_URL=http://mirror2.openwrt.org/sources/

View File

@@ -0,0 +1,309 @@
Google Chrome Terms of Service
These Terms of Service apply to the executable code version of Google Chrome. Source code for Google Chrome is available free of charge under open source software license agreements at http://code.google.com/chromium/terms.html.
1. Your relationship with Google
1.1 Your use of Googles products, software, services and web sites (referred to collectively as the “Services” in this document and excluding any services provided to you by Google under a separate written agreement) is subject to the terms of a legal agreement between you and Google. “Google” means Google Inc., whose principal place of business is at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. This document explains how the agreement is made up, and sets out some of the terms of that agreement.
1.2 Unless otherwise agreed in writing with Google, your agreement with Google will always include, at a minimum, the terms and conditions set out in this document. These are referred to below as the “Universal Terms”. Open source software licenses for Google Chrome source code constitute separate written agreements. To the limited extent that the open source software licenses expressly supersede these Universal Terms, the open source licenses govern your agreement with Google for the use of Google Chrome or specific included components of Google Chrome.
1.3 Your agreement with Google will also include the terms set forth below in the Google Chrome Additional Terms of Service and terms of any Legal Notices applicable to the Services, in addition to the Universal Terms. All of these are referred to below as the “Additional Terms”. Where Additional Terms apply to a Service, these will be accessible for you to read either within, or through your use of, that Service.
1.4 The Universal Terms, together with the Additional Terms, form a legally binding agreement between you and Google in relation to your use of the Services. It is important that you take the time to read them carefully. Collectively, this legal agreement is referred to below as the “Terms”.
1.5 If there is any contradiction between what the Additional Terms say and what the Universal Terms say, then the Additional Terms shall take precedence in relation to that Service.
2. Accepting the Terms
2.1 In order to use the Services, you must first agree to the Terms. You may not use the Services if you do not accept the Terms.
2.2 You can accept the Terms by:
(A) clicking to accept or agree to the Terms, where this option is made available to you by Google in the user interface for any Service; or
(B) by actually using the Services. In this case, you understand and agree that Google will treat your use of the Services as acceptance of the Terms from that point onwards.
3. Language of the Terms
3.1 Where Google has provided you with a translation of the English language version of the Terms, then you agree that the translation is provided for your convenience only and that the English language versions of the Terms will govern your relationship with Google.
3.2 If there is any contradiction between what the English language version of the Terms says and what a translation says, then the English language version shall take precedence.
4. Provision of the Services by Google
4.1 Google has subsidiaries and affiliated legal entities around the world (“Subsidiaries and Affiliates”). Sometimes, these companies will be providing the Services to you on behalf of Google itself. You acknowledge and agree that Subsidiaries and Affiliates will be entitled to provide the Services to you.
4.2 Google is constantly innovating in order to provide the best possible experience for its users. You acknowledge and agree that the form and nature of the Services which Google provides may change from time to time without prior notice to you.
4.3 As part of this continuing innovation, you acknowledge and agree that Google may stop (permanently or temporarily) providing the Services (or any features within the Services) to you or to users generally at Googles sole discretion, without prior notice to you. You may stop using the Services at any time. You do not need to specifically inform Google when you stop using the Services.
4.4 You acknowledge and agree that if Google disables access to your account, you may be prevented from accessing the Services, your account details or any files or other content which is contained in your account.
5. Use of the Services by you
5.1 You agree to use the Services only for purposes that are permitted by (a) the Terms and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
5.2 You agree that you will not engage in any activity that interferes with or disrupts the Services (or the servers and networks which are connected to the Services).
5.3 Unless you have been specifically permitted to do so in a separate agreement with Google, you agree that you will not reproduce, duplicate, copy, sell, trade or resell the Services for any purpose.
5.4 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the Terms and for the consequences (including any loss or damage which Google may suffer) of any such breach.
6. Privacy and your personal information
6.1 For information about Googles data protection practices, please read Googles privacy policy at http://www.google.com/privacy.html and at http://www.google.com/chrome/intl/en/privacy.html. This policy explains how Google treats your personal information, and protects your privacy, when you use the Services.
6.2 You agree to the use of your data in accordance with Googles privacy policies.
7. Content in the Services
7.1 You understand that all information (such as data files, written text, computer software, music, audio files or other sounds, photographs, videos or other images) which you may have access to as part of, or through your use of, the Services are the sole responsibility of the person from which such content originated. All such information is referred to below as the “Content.”
7.2 You should be aware that Content presented to you as part of the Services, including but not limited to advertisements in the Services and sponsored Content within the Services may be protected by intellectual property rights which are owned by the sponsors or advertisers who provide that Content to Google (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this Content (either in whole or in part) unless you have been specifically told that you may do so by Google or by the owners of that Content, in a separate agreement.
7.3 Google reserves the right (but shall have no obligation) to pre-screen, review, flag, filter, modify, refuse or remove any or all Content from any Service. For some of the Services, Google may provide tools to filter out explicit sexual content. These tools include the SafeSearch preference settings (see http://www.google.com/help/customize.html#safe). In addition, there are commercially available services and software to limit access to material that you may find objectionable.
7.4 You understand that by using the Services you may be exposed to Content that you may find offensive, indecent or objectionable and that, in this respect, you use the Services at your own risk.
7.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any Content that you create, transmit or display while using the Services and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
8. Proprietary rights
8.1 You acknowledge and agree that Google (or Googles licensors) own all legal right, title and interest in and to the Services, including any intellectual property rights which subsist in the Services (whether those rights happen to be registered or not, and wherever in the world those rights may exist).
8.2 Unless you have agreed otherwise in writing with Google, nothing in the Terms gives you a right to use any of Googles trade names, trade marks, service marks, logos, domain names, and other distinctive brand features.
8.3 If you have been given an explicit right to use any of these brand features in a separate written agreement with Google, then you agree that your use of such features shall be in compliance with that agreement, any applicable provisions of the Terms, and Google's brand feature use guidelines as updated from time to time. These guidelines can be viewed online at http://www.google.com/permissions/guidelines.html (or such other URL as Google may provide for this purpose from time to time).
8.4 Google acknowledges and agrees that it obtains no right, title or interest from you (or your licensors) under these Terms in or to any Content that you submit, post, transmit or display on, or through, the Services, including any intellectual property rights which subsist in that Content (whether those rights happen to be registered or not, and wherever in the world those rights may exist). Unless you have agreed otherwise in writing with Google, you agree that you are responsible for protecting and enforcing those rights and that Google has no obligation to do so on your behalf.
8.5 You agree that you shall not remove, obscure, or alter any proprietary rights notices (including copyright and trade mark notices) which may be affixed to or contained within the Services.
8.6 Unless you have been expressly authorized to do so in writing by Google, you agree that in using the Services, you will not use any trade mark, service mark, trade name, logo of any company or organization in a way that is likely or intended to cause confusion about the owner or authorized user of such marks, names or logos.
9. License from Google
9.1 Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services as provided to you by Google (referred to as the “Software” below). This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by the Terms.
9.2 Subject to section 1.2, you may not (and you may not permit anyone else to) copy, modify, create a derivative work of, reverse engineer, decompile or otherwise attempt to extract the source code of the Software or any part thereof, unless this is expressly permitted or required by law, or unless you have been specifically told that you may do so by Google, in writing.
9.3 Subject to section 1.2, unless Google has given you specific written permission to do so, you may not assign (or grant a sub-license of) your rights to use the Software, grant a security interest in or over your rights to use the Software, or otherwise transfer any part of your rights to use the Software.
10. Content license from you
10.1 You retain copyright and any other rights you already hold in Content which you submit, post or display on or through, the Services.
11. Software updates
11.1 The Software which you use may automatically download and install updates from time to time from Google. These updates are designed to improve, enhance and further develop the Services and may take the form of bug fixes, enhanced functions, new software modules and completely new versions. You agree to receive such updates (and permit Google to deliver these to you) as part of your use of the Services.
12. Ending your relationship with Google
12.1 The Terms will continue to apply until terminated by either you or Google as set out below.
12.2 Google may at any time, terminate its legal agreement with you if:
(A) you have breached any provision of the Terms (or have acted in manner which clearly shows that you do not intend to, or are unable to comply with the provisions of the Terms); or
(B) Google is required to do so by law (for example, where the provision of the Services to you is, or becomes, unlawful); or
(C) the partner with whom Google offered the Services to you has terminated its relationship with Google or ceased to offer the Services to you; or
(D) Google is transitioning to no longer providing the Services to users in the country in which you are resident or from which you use the service; or
(E) the provision of the Services to you by Google is, in Googles opinion, no longer commercially viable.
12.3 Nothing in this Section shall affect Googles rights regarding provision of Services under Section 4 of the Terms.
12.4 When these Terms come to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the Terms have been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 19.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
13. EXCLUSION OF WARRANTIES
13.1 NOTHING IN THESE TERMS, INCLUDING SECTIONS 13 AND 14, SHALL EXCLUDE OR LIMIT GOOGLES WARRANTY OR LIABILITY FOR LOSSES WHICH MAY NOT BE LAWFULLY EXCLUDED OR LIMITED BY APPLICABLE LAW. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR CONDITIONS OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR LOSS OR DAMAGE CAUSED BY NEGLIGENCE, BREACH OF CONTRACT OR BREACH OF IMPLIED TERMS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES. ACCORDINGLY, ONLY THE LIMITATIONS WHICH ARE LAWFUL IN YOUR JURISDICTION WILL APPLY TO YOU AND OUR LIABILITY WILL BE LIMITED TO THE MAXIMUM EXTENT PERMITTED BY LAW.
13.2 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SERVICES IS AT YOUR SOLE RISK AND THAT THE SERVICES ARE PROVIDED "AS IS" AND “AS AVAILABLE.”
13.3 IN PARTICULAR, GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS DO NOT REPRESENT OR WARRANT TO YOU THAT:
(A) YOUR USE OF THE SERVICES WILL MEET YOUR REQUIREMENTS,
(B) YOUR USE OF THE SERVICES WILL BE UNINTERRUPTED, TIMELY, SECURE OR FREE FROM ERROR,
(C) ANY INFORMATION OBTAINED BY YOU AS A RESULT OF YOUR USE OF THE SERVICES WILL BE ACCURATE OR RELIABLE, AND
(D) THAT DEFECTS IN THE OPERATION OR FUNCTIONALITY OF ANY SOFTWARE PROVIDED TO YOU AS PART OF THE SERVICES WILL BE CORRECTED.
13.4 ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SERVICES IS DONE AT YOUR OWN DISCRETION AND RISK AND THAT YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OF ANY SUCH MATERIAL.
13.5 NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM GOOGLE OR THROUGH OR FROM THE SERVICES SHALL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN THE TERMS.
13.6 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
14. LIMITATION OF LIABILITY
14.1 SUBJECT TO OVERALL PROVISION IN PARAGRAPH 13.1 ABOVE, YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU FOR:
(A) ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES WHICH MAY BE INCURRED BY YOU, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY.. THIS SHALL INCLUDE, BUT NOT BE LIMITED TO, ANY LOSS OF PROFIT (WHETHER INCURRED DIRECTLY OR INDIRECTLY), ANY LOSS OF GOODWILL OR BUSINESS REPUTATION, ANY LOSS OF DATA SUFFERED, COST OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR OTHER INTANGIBLE LOSS;
(B) ANY LOSS OR DAMAGE WHICH MAY BE INCURRED BY YOU, INCLUDING BUT NOT LIMITED TO LOSS OR DAMAGE AS A RESULT OF:
(I) ANY RELIANCE PLACED BY YOU ON THE COMPLETENESS, ACCURACY OR EXISTENCE OF ANY ADVERTISING, OR AS A RESULT OF ANY RELATIONSHIP OR TRANSACTION BETWEEN YOU AND ANY ADVERTISER OR SPONSOR WHOSE ADVERTISING APPEARS ON THE SERVICES;
(II) ANY CHANGES WHICH GOOGLE MAY MAKE TO THE SERVICES, OR FOR ANY PERMANENT OR TEMPORARY CESSATION IN THE PROVISION OF THE SERVICES (OR ANY FEATURES WITHIN THE SERVICES);
(III) THE DELETION OF, CORRUPTION OF, OR FAILURE TO STORE, ANY CONTENT AND OTHER COMMUNICATIONS DATA MAINTAINED OR TRANSMITTED BY OR THROUGH YOUR USE OF THE SERVICES;
(IV) YOUR FAILURE TO PROVIDE GOOGLE WITH ACCURATE ACCOUNT INFORMATION;
(V) YOUR FAILURE TO KEEP YOUR PASSWORD OR ACCOUNT DETAILS SECURE AND CONFIDENTIAL;
14.2 THE LIMITATIONS ON GOOGLES LIABILITY TO YOU IN PARAGRAPH 14.1 ABOVE SHALL APPLY WHETHER OR NOT GOOGLE HAS BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
15. Copyright and trade mark policies
15.1 It is Googles policy to respond to notices of alleged copyright infringement that comply with applicable international intellectual property law (including, in the United States, the Digital Millennium Copyright Act) and to terminating the accounts of repeat infringers. Details of Googles policy can be found at http://www.google.com/dmca.html.
15.2 Google operates a trade mark complaints procedure in respect of Googles advertising business, details of which can be found at http://www.google.com/tm_complaint.html.
16. Advertisements
16.1 Some of the Services are supported by advertising revenue and may display advertisements and promotions. These advertisements may be targeted to the content of information stored on the Services, queries made through the Services or other information.
16.2 The manner, mode and extent of advertising by Google on the Services are subject to change without specific notice to you.
16.3 In consideration for Google granting you access to and use of the Services, you agree that Google may place such advertising on the Services.
17. Other content
17.1 The Services may include hyperlinks to other web sites or content or resources. Google may have no control over any web sites or resources which are provided by companies or persons other than Google.
17.2 You acknowledge and agree that Google is not responsible for the availability of any such external sites or resources, and does not endorse any advertising, products or other materials on or available from such web sites or resources.
17.3 You acknowledge and agree that Google is not liable for any loss or damage which may be incurred by you as a result of the availability of those external sites or resources, or as a result of any reliance placed by you on the completeness, accuracy or existence of any advertising, products or other materials on, or available from, such web sites or resources.
18. Changes to the Terms
18.1 Google may make changes to the Universal Terms or Additional Terms from time to time. When these changes are made, Google will make a new copy of the Universal Terms available at http://www.google.com/chrome/intl/en/eula_text.html and any new Additional Terms will be made available to you from within, or through, the affected Services.
18.2 You understand and agree that if you use the Services after the date on which the Universal Terms or Additional Terms have changed, Google will treat your use as acceptance of the updated Universal Terms or Additional Terms.
19. General legal terms
19.1 Sometimes when you use the Services, you may (as a result of, or in connection with your use of the Services) use a service or download a piece of software, or purchase goods, which are provided by another person or company. Your use of these other services, software or goods may be subject to separate terms between you and the company or person concerned. If so, the Terms do not affect your legal relationship with these other companies or individuals.
19.2 The Terms constitute the whole legal agreement between you and Google and govern your use of the Services (but excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the Services.
19.3 You agree that Google may provide you with notices, including those regarding changes to the Terms, by email, regular mail, or postings on the Services.
19.4 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the Terms (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Googles rights and that those rights or remedies will still be available to Google.
19.5 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of these Terms is invalid, then that provision will be removed from the Terms without affecting the rest of the Terms. The remaining provisions of the Terms will continue to be valid and enforceable.
19.6 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the Terms and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the Terms which confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the Terms.
19.7 The Terms, and your relationship with Google under the Terms, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the Terms. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
20. Additional Terms for Extensions for Google Chrome
20.1 These terms in this section apply if you install extensions on your copy of Google Chrome. Extensions are small software programs, developed by Google or third parties, that can modify and enhance the functionality of Google Chrome. Extensions may have greater privileges to access your browser or your computer than regular webpages, including the ability to read and modify your private data.
20.2 From time to time, Google Chrome may check with remote servers (hosted by Google or by third parties) for available updates to extensions, including but not limited to bug fixes or enhanced functionality. You agree that such updates will be automatically requested, downloaded, and installed without further notice to you.
20.3 From time to time, Google may discover an extension that violates Google developer terms or other legal agreements, laws, regulations or policies. Google Chrome will periodically download a list of such extensions from Googles servers. You agree that Google may remotely disable or remove any such extension from user systems in its sole discretion.
21. Additional Terms for Enterprise Use
21.1 If you are a business entity, then the individual accepting on behalf of the entity (for the avoidance of doubt, for business entities, in these Terms, "you" means the entity) represents and warrants that he or she has the authority to act on your behalf, that you represent that you are duly authorized to do business in the country or countries where you operate, and that your employees, officers, representatives, and other agents accessing the Service are duly authorized to access Google Chrome and to legally bind you to these Terms.
21.2 Subject to the Terms, and in addition to the license grant in Section 9, Google grants you a non-exclusive, non-transferable license to reproduce, distribute, install, and use Google Chrome solely on machines intended for use by your employees, officers, representatives, and agents in connection with your business entity, and provided that their use of Google Chrome will be subject to the Terms.
August 12, 2010
Google Chrome Additional Terms of Service
MPEGLA
THIS PRODUCT IS LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR THE PERSONAL AND NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ( “AVC VIDEO”) AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR WAS OBTAINED FROM A VIDEO PARTNER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE OBTAINED FROM MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM.
Adobe
Google Chrome may include one or more components provided by Adobe Systems Incorporated and Adobe Software Ireland Limited (collectively “Adobe”). Your use of the Adobe software as provided by Google (“Adobe Software”) is subject to the following additional terms (the “Adobe Terms”). You, the entity receiving the Adobe Software, will be hereinafter referred to as “Sublicensee.”
1. License Restrictions.
(a) Flash Player, Version 10.x is designed only as a browser plug-in. Sublicensee may not modify or distribute this Adobe Software for use as anything but a browser plug-in for playing back content on a web page. For example, Sublicensee will not modify this Adobe Software in order to allow interoperation with applications that run outside of the browser (e.g., standalone applications, widgets, device UI).
(b) Sublicensee will not expose any APIs of the Flash Player, Version 10.x through a browser plug-in interface in such a way that allows such extension to be used to playback content from a web page as a stand-alone application.
(c) The Chrome-Reader Software may not be used to render any PDF or EPUB documents that utilize digital rights management protocols or systems other than Adobe DRM.
(d) Adobe DRM must be enabled in the Chrome-Reader Software for all Adobe DRM protected PDF and EPUB documents.
(e) The Chrome-Reader Software may not, other than as explicitly permitted by the technical specifications, disable any capabilities provided by Adobe in the Adobe Software, including but not limited to, support for PDF and EPUB formats and Adobe DRM.
2. Electronic Transmission. Sublicensee may allow the download of the Adobe Software from a web site, the Internet, an intranet, or similar technology (an, “Electronic Transmissions”) provided that Sublicensee agrees that any distributions of the Adobe Software by Sublicensee, including those on CD-ROM, DVD-ROM or other storage media and Electronic Transmissions, if expressly permitted, shall be subject to reasonable security measures to prevent unauthorized use. With relation to Electronic Transmissions approved hereunder, Sublicensee agrees to employ any reasonable use restrictions set by Adobe, including those related to security and/or the restriction of distribution to end users of the Sublicensee Product.
3. EULA and Distribution Terms.
(a) Sublicensee shall ensure that the Adobe Software is distributed to end users under an enforceable end user license agreement, in favor of Sublicensee and its suppliers containing at least each of the following minimum terms (the “End-User License”): (i) a prohibition against distribution and copying, (ii) a prohibition against modifications and derivative works, (iii) a prohibition against decompiling, reverse engineering, disassembling, and otherwise reducing the Adobe Software to a human-perceivable form, (iv) a provision indicating ownership of Sublicensee Product (as defined in Section 8) by Sublicensee and its licensors, (v) a disclaimer of indirect, special, incidental, punitive, and consequential damages, and (vi) other industry standard disclaimers and limitations, including, as applicable: a disclaimer of all applicable statutory warranties, to the full extent allowed by law.
(b) Sublicensee shall ensure that the Adobe Software is distributed to Sublicensees distributors under an enforceable distribution license agreement, in favor of Sublicensee and its suppliers containing terms as protective of Adobe as the Adobe Terms.
4. Opensource. Sublicensee will not directly or indirectly grant, or purport to grant, to any third party any rights or immunities under Adobes intellectual property or proprietary rights that will subject such intellectual property to an open source license or scheme in which there is or could be interpreted to be a requirement that as a condition of use, modification and/or distribution, the Adobe Software be: (i) disclosed or distributed in source code form; (ii) licensed for the purpose of making derivative works; or (iii) redistributable at no charge. For clarification purposes, the foregoing restriction does not preclude Sublicensee from distributing, and Sublicensee will distribute the Adobe Software as bundled with the Google Software, without charge.
5. Additional Terms. With respect to any update, upgrade, new versions of the Adobe Software (collectively “Upgrades”) provided to Sublicenses, Adobe reserves the right to require additional terms and conditions applicable solely to the Upgrade and future versions thereof, and solely to the extent that such restrictions are imposed by Adobe on all licensees of such Upgrade. If Sublicensee does not agree to such additional terms or conditions, Sublicensee will have no license rights with respect to such Upgrade, and Sublicensees license rights with respect to the Adobe Software will terminate automatically on the 90th day from the date such additional terms are made available to Sublicensee.
6. Proprietary Rights Notices. Sublicensee shall not, and shall require its distributors not to, delete or in any manner alter the copyright notices, trademarks, logos or related notices, or other proprietary rights notices of Adobe (and its licensors, if any) appearing on or within the Adobe Software or accompanying materials.
7. Technical Requirements. Sublicensee and its distributors may only distribute Adobe Software and/or Upgrade on devices that (i) meet the technical specifications posted on http://www.adobe.com/mobile/licensees, (or a successor web site thereto), and (ii) has been verified by Adobe as set forth below.
8. Verification and Update. Sublicensee must submit to Adobe each Sublicensee product (and each version thereof) containing the Adobe Software and/or Upgrade (“Sublicensee Product”) that do not meet the Device Verification exemption criteria to be communicated by Google, for Adobe to verify. Sublicensee shall pay for each submission made by Sublicensee by procuring verification packages at Adobes then-current terms set forth at http://flashmobile.adobe.com/. Sublicensee Product that has not passed verification may not be distributed. Verification will be accomplished in accordance with Adobes then-current process described at http://flashmobile.adobe.com/ (“Verification”).
9. Profiles and Device Central. Sublicensee will be prompted to enter certain profile information about the Sublicensee Products either as part of the Verification process or some other method, and Sublicensee will provide such information, to Adobe. Adobe may (i) use such profile information as reasonably necessary to verify the Sublicensee Product (if such product is subject to Verification), and (ii) display such profile information in “Adobe Device Intelligence system,” located at https://devices.adobe.com/partnerportal/, and made available through Adobes authoring and development tools and services to enable developers and end users to see how content or applications are displayed in Sublicensee Products (e.g. how video images appear in certain phones).
10. Export. Sublicensee acknowledges that the laws and regulations of the United States restrict the export and re-export of commodities and technical data of United States origin, which may include the Adobe Software. Sublicensee agrees that it will not export or re-export the Adobe Software, without the appropriate United States and foreign governmental clearances, if any.
11. Technology Pass-through Terms.
(a) Except pursuant to applicable permissions or agreements therefor, from or with the applicable parties, Sublicensees shall not use and shall not allow the use of, the Adobe Software for the encoding or decoding of mp3 audio only (.mp3) data on any non-pc device (e.g., mobile phone or set-top box), nor may the mp3 encoders or decoders contained in the Adobe Software be used or accessed by any product other than the Adobe Software. The Adobe Software may be used for the encoding or decoding of MP3 data contained within a swf or flv file, which contains video, picture or other data. Sublicensee shall acknowledge that use of the Adobe Software for non-PC devices, as described in the prohibitions in this section, may require the payment of licensing royalties or other amounts to third parties who may hold intellectual property rights related to the MP3 technology and that Adobe nor Sublicensee has not paid any royalties or other amounts on account of third party intellectual property rights for such use. If Sublicensee requires an MP3 encoder or decoder for such use, Sublicensee is responsible for obtaining the necessary intellectual property license, including any applicable patent rights.
(b) Sublicensee will not use, copy, reproduce and modify (i) the On2 source code (provided hereunder as a component of the Source Code) as necessary to enable the Adobe Software to decode video in the Flash video file format (.flv or .f4v), and (ii) the Sorenson Spark source code (provided hereunder as a component of the Source Code) for the limited purpose of making bug fixes and performance enhancements to the Adobe Software. All codecs provided with the Adobe Software may only be used and distributed as an integrated part of the Adobe Software and may not be accessed by any other application, including other Google applications.
(c) The Source Code may be provided with an AAC codec and/or HE-AAC codec (“the AAC Codec”). Use of the AAC Codec is conditioned on Sublicensee obtaining a proper patent license covering necessary patents as provided by VIA Licensing, for end products on or in which the AAC Codec will be used. Sublicensee acknowledges and agrees that Adobe is not providing a patent license for an AAC Codec under this Agreement to Sublicensee or its sublicensees.
(d) THE SOURCE CODE MAY CONTAIN CODE LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR THE PERSONAL NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ("AVC VIDEO") AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL NON-COMMERCIAL ACTIVITY AND/OR WAS OBTAINED FROM A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED OR WILL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE OBTAINED FROM MPEG LA, L.L.C. See http://www.mpegla.com
12. Update. Sublicensee will not circumvent Googles or Adobes efforts to update the Adobe Software in all Sublicensees products incorporating the Adobe Software as bundled with the Google Software (“Sublicensee Products”).
13. Attribution and Proprietary Notices. Sublicensee will list the Adobe Software in publicly available Sublicensee Product specifications and include appropriate Adobe Software branding (specifically excluding the Adobe corporate logo) on the Sublicensee Product packaging or marketing materials in a manner consistent with branding of other third party products contained within the Sublicensee Product.
14. No Warranty. THE ADOBE SOFTWARE IS MADE AVAILABLE TO SUBLICENSEE FOR USE AND REPRODUCTION “AS IS” AND ADOBE MAKES NO WARRANTY AS TO ITS USE OR PERFORMANCE. ADOBE AND ITS SUPPLIERS DO NOT AND CANNOT WARRANT THE PERFORMANCE OR RESULTS OBTAINED BY USING THE ADOBE SOFTWARE. EXCEPT FOR ANY WARRANTY, CONDITION, REPRESENTATION OR TERM TO THE EXTENT TO WHICH THE SAME CANNOT OR MAY NOT BE EXCLUDED OR LIMITED BY LAW APPLICABLE TO SUBLICENSEEIN SUBLICENSEES JURISDICTION, ADOBE AND ITS SUPPLIERS MAKE NO WARRANTIES, CONDITIONS, REPRESENTATIONS, OR TERMS (EXPRESS OR IMPLIED WHETHER BY STATUTE, COMMON LAW, CUSTOM, USAGE OR OTHERWISE) AS TO ANY MATTER INCLUDING WITHOUT LIMITATION NONINFRINGEMENT OF THIRD PARTY RIGHTS, MERCHANTABILITY, INTEGRATION, SATISFACTORY QUALITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. SUBLICENSEE AGREES THAT SUBLICENSEE SHALL NOT MAKE ANY WARRANTY, EXPRESS OR IMPLIED, ON BEHALF OF ADOBE.
15. Limitation of Liability. IN NO EVENT WILL ADOBE OR ITS SUPPLIERS BE LIABLE TO SUBLICENSEE FOR ANY DAMAGES, CLAIMS OR COSTS WHATSOEVER OR ANY CONSEQUENTIAL, INDIRECT, OR INCIDENTAL DAMAGES, OR ANY LOST PROFITS OR LOST SAVINGS, EVEN IF AN ADOBE REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS OR FOR ANY CLAIM BY ANY THIRD PARTY. THE FOREGOING LIMITATIONS AND EXCLUSIONS APPLY TO THE EXTENT PERMITTED BY APPLICABLE LAW IN SUBLICENSEES JURISDICTION. ADOBES AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL BE LIMITED TO ONE THOUSAND DOLLARS (US$1,000). Nothing contained in this Agreement limits Adobes liability to Sublicensee in the event of death or personal injury resulting from Adobes negligence or for the tort of deceit (fraud). Adobe is acting on behalf of its suppliers for the purpose of disclaiming, excluding and/or limiting obligations, warranties and liability as provided in this Agreement, but in no other respects and for no other purpose.
16. Content Protection Terms
(a) Definitions.
“Compliance and Robustness Rules” means the document setting forth compliance and robustness rules for the Adobe Software located at http://www.adobe.com/mobile/licensees, or a successor web site thereto.
“Content Protection Functions” means those aspects of the Adobe Software that are designed to ensure compliance with the Compliance and Robustness Rules, and to prevent playback, copying, modification, redistribution or other actions with respect to digital content distributed for consumption by users of the Adobe Software when such actions are not authorized by the owners of such digital content or its licensed distributors.
“Content Protection Code” means code within certain designated versions of the Adobe Software that enables certain Content Protection Functions.
“Key” means a cryptographic value contained in the Adobe Software for use in decrypting digital content.
(b) License Restrictions. Sublicensees right to exercise the licenses with respect to the Adobe Software is subject to the following additional restrictions and obligations. Sublicensee will ensure that Sublicensees customers comply with these restrictions and obligations to the same extent imposed on Sublicensee with respect to the Adobe Software; any failure by Sublicensees customers to comply with these additional restrictions and obligations shall be treated as a material breach by Sublicensee.
b.1. Sublicensee and customers may only distribute the Adobe Software that meets the Robustness and Compliance Rules as so confirmed by Sublicensee during the verification process described above in the Adobe Terms.
b.2. Sublicensee shall not (i) circumvent the Content Protection Functions of either the Adobe Software or any related Adobe Software that is used to encrypt or decrypt digital content for authorized consumption by users of the Adobe Software, or (ii) develop or distribute products that are designed to circumvent the Content Protection Functions of either the Adobe Software or any Adobe Software that is used to encrypt or decrypt digital content for authorized consumption by users of the Adobe Software.
(c) The Keys are hereby designated as Adobes Confidential Information, and Sublicensee will, with respect to the Keys, adhere to Adobes Source Code Handling Procedure (to be provided by Adobe upon request).
(d) Injunctive Relief. Sublicensee agrees that a breach of this Agreement may compromise the Content Protection Functions of the Adobe Software and may cause unique and lasting harm to the interests of Adobe and owners of digital content that rely on such Content Protection Functions, and that monetary damages may be inadequate to compensate fully for such harm. Therefore, Sublicensee further agrees that Adobe may be entitled to seek injunctive relief to prevent or limit the harm caused by any such breach, in addition to monetary damages.
17. Intended Third-party Beneficiary. Adobe Systems Incorporated and Adobe Software Ireland Limited are the intended third-party beneficiaries of Googles agreement with Sublicensee with respect to the Adobe Software, including but not limited to, the Adobe Terms. Sublicensee agrees, notwithstanding anything to the contrary in its agreement with Google, that Google may disclose Sublicensees identity to Adobe and certify in writing that Sublicensee has entered into a license agreement with Google which includes the Adobe Terms. Sublicensee must have an agreement with each of its licensees, and if such licensees are allowed to redistribute the Adobe Software, such agreement will include the Adobe Terms.

View File

@@ -0,0 +1,65 @@
Name: chromium-pepper-flash
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: Google Chrome's pepper-flash plugin for Chromium
Group: Applications/Web
Vendor: @vendor@
Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://macromedia.rediris.es/
Source: LICENSE
License: Non Distributable
BuildPrereq: wget
BuildPrereq: /usr/bin/tempfile
# NOTE: requires the backward compatible version of the libstdc++ library
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Google Chrome's pepper-flash plugin for Chromium.
%prep
%setup -c -n %{name}-%{version} -D -T
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
[ "${CHROMIUM_PEPPER_FLASH_PCK}" ] || exit 1
[ "${CHROMIUM_PEPPER_FLASH_URL}" ] || \
CHROMIUM_PEPPER_FLASH_URL="https://dl.google.com/linux/chrome/rpm/stable/%{_arch}/"
tmpdir=$(mktemp -q -d -t flashplugin.XXXXXXXX)
[ $? -eq 0 ] || exit 1
[ -f ${tmpdir}/${FLASH_PLUGIN_PCK} ] ||
wget -nv --timeout=10 --tries=2 \
${CHROMIUM_PEPPER_FLASH_URL}${CHROMIUM_PEPPER_FLASH_PCK} -O ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
[ -f ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} ] || exit 1
rpm2cpio ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} | cpio -id
%build -q
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
cp -a opt/google/chrome/PepperFlash/* %{buildroot}/opt/chromium/PepperFlash/
cp %{S:0} LICENSE
rm -fr ${tmpdir}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%dir /opt/chromium/PepperFlash
/opt/chromium/PepperFlash/libpepflashplayer.so
/opt/chromium/PepperFlash/manifest.json
%doc LICENSE
%changelog
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 37.0.2062.120-1mamba
- first build for chromium-pepper-flash

View File

@@ -0,0 +1,7 @@
## Google Chrome's pepper-flash
# package name (do not modify unless you know what you're doing)
CHROMIUM_PEPPER_FLASH_PCK=google-chrome-stable-${SRPMVERSION["chromium-pepper-flash"]}-1.@arch@.rpm
# package URL (do not modify unless you know what you're doing)
CHROMIUM_PEPPER_FLASH_URL=http://dl.google.com/linux/chrome/rpm/stable/@arch@/

View File

@@ -1,13 +0,0 @@
## Adobe Flash Plugin
# package name (do not modify unless you know what you're doing)
#FLASH_PLUGIN_PCK=flashplayer9_install_linux_082207.tar.gz
#FLASH_PLUGIN_PCK=flash-player-plugin-9.0.48.0.tar.bz2
#FLASH_PLUGIN_PCK=install_flash_player_9_linux.tar.gz
FLASH_PLUGIN_PCK=install_flash_player_11_linux.i386.tar.gz
# package URL (do not modify unless you know what you're doing)
#FLASH_PLUGIN_URL=http://download.macromedia.com/pub/labs/flashplayer9_update/
#FLASH_PLUGIN_URL=http://macromedia.rediris.es/rpmsource/
#FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/current/
FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${FLASHPLUGIN_VERSION}/

View File

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

View File

@@ -1,6 +1,6 @@
Name: flashplugin
Version: @flashpluginver@
Release: 1@distroext@
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: Macromedia Flash plugin for web browsers
Group: Applications/Web
@@ -24,6 +24,7 @@ Macromedia Flash plugin for web browsers.
%setup -c -n %{name}-%{version} -D -T
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
[ "${FLASH_PLUGIN_PCK}" ] || exit 1

View File

@@ -1,189 +0,0 @@
Sun JRE installation - please read carefully
============================================
Sun Microsystems, Inc. Binary Code License Agreement
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE
TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED
ELECTRONICALLY, SELECT THE "DECLINE" BUTTON AT THE END OF THIS
AGREEMENT.
1. LICENSE TO USE. Sun grants you a non-exclusive and
non-transferable license for the internal use only of the accompanying
software and documentation and any error corrections provided by Sun
(collectively "Software"), by the number of users and the class of
computer hardware for which the corresponding fee has been paid.
2. RESTRICTIONS Software is confidential and copyrighted. Title to
Software and all associated intellectual property rights is retained by
Sun and/or its licensors. Except as specifically authorized in any
Supplemental License Terms, you may not make copies of Software, other
than a single copy of Software for archival purposes. Unless
enforcement is prohibited by applicable law, you may not modify,
decompile, or reverse engineer Software. You acknowledge that Software
is not designed, licensed or intended for use in the design,
construction, operation or maintenance of any nuclear facility. Sun
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 Sun or its licensors is granted under this Agreement. "
3. LIMITED WARRANTY. Sun warrants to you that for a period of ninety
(90) days from the date of purchase, as evidenced by a copy of the
receipt, the media on which Software is furnished (if any) will be free
of defects in materials and workmanship under normal use. Except for
the foregoing, Software is provided "AS IS". Your exclusive remedy and
Sun's entire liability under this limited warranty will be at Sun's
option to replace Software media or refund the fee paid for Software.
4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT, ALL
EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN
NO EVENT WILL SUN 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 SOFTWARE,
EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no
event will Sun's liability to you, whether in contract, tort (including
negligence), or otherwise, exceed the amount paid by you for Software
under this Agreement. The foregoing limitations will apply even if the
above stated warranty fails of its essential purpose.
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 Sun if you fail to comply with any provision of this Agreement.
Upon Termination, you must destroy all copies of Software.
7. Export Regulations. All Software and technical data delivered
under this Agreement are subject to US export control laws and may be
subject to export or import regulations in other countries. You agree
to comply strictly with all such laws and regulations and acknowledge
that you have the responsibility to obtain such licenses to export,
re-export, or import as may be required after delivery to you.
8. U.S. Government Restricted 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 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).
9. Governing Law. Any action related to this Agreement will be
governed by California law and controlling U.S. federal law. No choice
of law rules of any jurisdiction will apply.
10. 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.
11. Integration. This Agreement is the entire agreement between you
and Sun 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.
For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
Road, Palo Alto, California 94303
JAVATM 2 RUNTIME ENVIRONMENT VERSION 1.3
SUPPLEMENTAL LICENSE TERMS
These supplemental license terms ("Supplemental Terms") add to or
modify the terms of the Binary Code License Agreement (collectively,
the "Agreement"). Capitalized terms not defined in these Supplemental
Terms shall have the same meanings ascribed to them in the Agreement.
These Supplemental Terms shall supersede any inconsistent or
conflicting terms in the Agreement, or in any license contained within
the Software.
1. License to Distribute. Subject to the terms and conditions of this
Agreement, including, but not limited to, Section 2 (Redistributables)
and Section 3 (Java Technology Restrictions) of these Supplemental
Terms, Sun grants you a non-exclusive, non-transferable, limited
license to reproduce and distribute the Software in binary code form
only, provided that you (i) distribute the Software complete and
unmodified, only as part of, and for the sole purpose of running your
Java applet or application ("Program") into which the Software is
incorporated, (ii) do not distribute additional software intended to
replace any component(s) of the Software, (iii) do not remove or alter
any proprietary legends or notices contained in the Software, (iv) only
distribute the Program subject to a license agreement that protects
Sun's interests consistent with the terms contained in this Agreement,
and (v) agree to defend and indemnify Sun 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.
2. Redistributables. In addition to the license granted in Paragraph 1
above, Sun grants you a non-exclusive, non-transferable, limited
license to reproduce and distribute, only as part of Software, those
files specifically identified as redistributable in the Software
"README" file (the "Redistributables") provided that: (a) you
distribute the Redistributables complete and unmodified (unless
otherwise specified in the applicable README file), and only bundled as
part of the JavaTM applets and applications that you develop (the
"Programs:); (b) you do not distribute additional software intended to
supersede any component(s) of the Redistributables; (c) you do not
remove or alter any proprietary legends or notices contained in or on
the Redistributables; (d) you only distribute the Redistributables
pursuant to a license agreement that protects Sun's interests
consistent with the terms contained in the Agreement; and (e) you
agree to defend and indemnify Sun and its licensor! s 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.
3. Java Technology Restrictions. You may not modify the Java Platform
Interface ("JPI", identified as classes contained within the "java"
package or any subpackages of the "java" package), by creating
additional classes within the JPI or otherwise causing the addition to
or modification of the classes in the JPI. In the event that you
create an additional class and associated API(s) which (i) extends the
functionality of a Java platform, and (ii) is exposed to third party
software developers for the purpose of developing additional software
which invokes such additional API, you must promptly publish broadly an
accurate specification for such API for free use by all developers.
You may not create, or authorize your licensees to create additional
classes, interfaces, or subpackages that are in any way identified as
"java", "javax", "sun" or similar convention as specified by Sun in any
class file naming convention.
4. Trademarks and Logos. You acknowledge and agree as between you and
Sun that Sun owns the Java trademark and all Java-related trademarks,
service marks, logos and other brand designations including the Coffee
Cup logo and Duke logo ("Java Marks"), and you agree to comply with the
Sun Trademark and Logo Usage Requirements currently located at
http://www.sun.com/policies/trademarks. Any use you make of the Java
Marks inures to Sun's benefit.
5. Source Code. Software may contain source code that is provided
solely for reference purposes pursuant to the terms of this Agreement.
Source code may not be redistributed.
6. Termination. Sun may terminate this Agreement immediately should any
Software become, or in Sun's opinion be likely to become, the subject
of a claim of infringement of a patent, trade secret, copyright or
other intellectual property right.
============================================
Press the "I agree" button if you have read and understood this text and accept to download and install the SUN Java Runtime Environment (JRE).
Press "I do not agree" if you want this script to terminate immediately without performing any futher operation

View File

@@ -1,9 +0,0 @@
## Java Runtime Environment (JRE)
#download parameters (do not modify unless you know what you're doing)
JRE_VER=6
JRE_ARCH=i586
JRE_NSVER=7
JRE_URL=http://mirror.ncc.up.pt/Java/Java${JRE_VER}/JRE
JRE_PCK=jre-${JRE_VER}-linux-${JRE_ARCH}.bin

View File

@@ -1,13 +0,0 @@
# @distroID@ configuration:
# Silvan Calarco <silvan.calarco@mambasoft.it>
# Davide Madrisan <davide.madrisan@qilinux.it>
#
# Java Environment definitions for @distroID@
#
if ! echo ${PATH} |grep -q /usr/java/jre/bin ; then
PATH="$PATH:/usr/java/jre/bin"
fi
JAVA_HOME=/usr/java/jre
export JAVA_HOME

View File

@@ -1,140 +0,0 @@
Name: jre
Version: 0.9
Release: 1@distroext@
Epoch: 1
Summary: The Java Runtime Environment
Group: System/Libraries/Java
Vendor: @vendor@
Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://java.sun.com
Source0: java-profile
Source1: LICENSE
License: JAVA
Obsoletes: j2re
Provides: j2re = %{version}
AutoReqProv: no
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Java Runtime Environment consists of the Java virtual machine, the Java
platform core classes, and supporting files.
It is the runtime part of the Java SDK, but without the development tools
such as compilers and debuggers.
%prep
%setup -q -D -T -c
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
. /etc/sysconfig/@sysconfigfile@
[ -z "$JRE_URL" -o -z "$JRE_PCK" ] && exit 1
# get the file list available at %{URL}...
wget -nv --timeout=5 --tries=2 -c ${JRE_URL}/${JRE_PCK} || {
rm -f $JRE_PCK
wget -nv --timeout=5 --tries=2 --progress=bar ${JRE_URL}/${JRE_PCK};
}
#find . -name ${JRE_PCK}* -exec mv {} ${JRE_PCK} \;
%build
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
. /etc/sysconfig/@sysconfigfile@
[ -z "$JRE_URL" -o -z "$JRE_PCK" ] && exit 1
install -d %{buildroot}%{_prefix}/java
pushd %{buildroot}%{_prefix}/java
MORE="-400" sh %{_builddir}/%{name}-%{version}/${JRE_PCK} << EOF
yes
EOF
popd
javapath="$(\
find %{buildroot}%{_prefix}/java/ -maxdepth 1 -name jre\* -type d | \
sed "s|^%{buildroot}||" 2>/dev/null)"
[ "$javapath" ] || exit 1
ln -s ${javapath} %{buildroot}%{_prefix}/java/jre
install -d %{buildroot}%{_sysconfdir}/profile.d
cp %{S:0} %{buildroot}%{_sysconfdir}/profile.d/java.sh
# see <http://www.java.com/it/download/help/5000010500.xml#install>
install -d %{buildroot}%{_libdir}/mozilla/plugins
ln -s %{_prefix}/java/jre/plugin/i386/ns${JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins
ln -s %{_prefix}/java/jre/plugin/i386/ns${JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjavaplugin.so
#ln -s /usr/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so \
# %{buildroot}%{_libdir}/mozilla/plugins
rm -rf %{buildroot}${javapath}/.systemPrefs
# get the list of the installed files
find %{buildroot}${javapath} \( -type f -or -type l \) | \
sed "s|^%{buildroot}||" > jrefiles.list
echo "%dir ${javapath}" >> jrefiles.list
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
if [ $1 -eq 1 ]; then
# new install
if ! echo ${PATH} | grep -q /usr/java/jre/bin; then
export PATH="$PATH:/usr/java/jre/bin"
fi
fi
exit 0
%files -f jrefiles.list
%defattr(-,root,root)
%{_prefix}/java/jre
%{_libdir}/mozilla/plugins/libjavaplugin_oji.so
%{_libdir}/mozilla/plugins/libjavaplugin.so
%{_sysconfdir}/profile.d/java.sh
%changelog
* Fri Feb 02 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.9-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@qilinux.it> 1.5.0-3qilnx
- remove %{javapath}/.systemPrefs if found
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@qilinux.it> 1.5.0-2qilnx
- enable resume of download
- remove requirements and provides
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@qilinux.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@qilinux.it> 1.4.2-2qilnx
- create symlinks for browser plugins to /usr/lib/mozilla/plugins
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@qilinux.it> 1.4.2-1qilnx
- first build

View File

@@ -7,14 +7,4 @@ HAS_MS_LICENSE=no
# Select the server that is closest to you by removing the '#'
# character in one of the following lines:
MSTTCF_URL=http://mesh.dl.sourceforge.net/project/corefonts/the%20fonts/final/
#MSTTCF_URL=http://aleron.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://belnet.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://cesnet.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://flow.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://switch.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://twtelecom.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://unc.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://umn.dl.sourceforge.net/sourceforge/corefonts
#MSTTCF_URL=http://easynews.dl.sourceforge.net/sourceforge/corefonts/
MSTTCF_URL=http://downloads.sourceforge.net/project/corefonts/the%20fonts/final

View File

@@ -13,8 +13,8 @@
%define name msttcorefonts
Name: %{name}
Version: 1.3
Release: 7@distroext@
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Summary: TrueType core fonts for the web
Group: Graphical Desktop/Fonts
Vendor: @vendor@

View File

@@ -1,8 +1,8 @@
## Skype
# package name (do not modify unless you know what you're doing)
#SKYPE_PCK=skype-2.0.0.68.tar.bz2
#SKYPE_PCK=skype-4.0.0.7.tar.bz2
# package URL (do not modify unless you know what you're doing)
#SKYPE_URL=http://download.skype.com/linux/
SKYPE_URL=http://www.skype.com/go/getskype-linux-dynamic
SKYPE_URL=http://www.skype.com/go/getskype-linux-beta-dynamic

View File

@@ -1,6 +1,6 @@
Name: skype
Version: @skypever@
Release: 2@distroext@
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: An Internet voice and video communication software
Group: Graphical Desktop/Applications/Internet
@@ -13,6 +13,7 @@ License: Non Distributable
BuildPrereq: wget
BuildPrereq: /usr/bin/tempfile
# NOTE: requires the backward compatible version of the libstdc++ library
Requires: pulseaudio
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@@ -64,6 +65,37 @@ cp %{S:0} LICENSE
rm -fr ${tmpdir}
# create a v4l1_compat desktop link
cat > %{buildroot}%{_datadir}/applications/skype-v4l1.desktop << _EOF
[Desktop Entry]
Name=Skype (v4l1 webcam compatibility)
Name[it]=Skype (compatibilità webcam v4l1)
Comment=Skype Internet Telephony
Exec=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Icon=skype.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skype
_EOF
cat > %{buildroot}%{_datadir}/applications/skype-v4l2.desktop << _EOF
[Desktop Entry]
Name=Skype (v4l2 webcam fixes)
Name[it]=Skype (correzioni webcam v4l2)
Comment=Skype Internet Telephony
Exec=LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
Icon=skype.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skype
_EOF
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@@ -71,6 +103,8 @@ rm -fr ${tmpdir}
%defattr(-,root,root)
%{_bindir}/skype
%{_datadir}/applications/skype.desktop
%{_datadir}/applications/skype-v4l1.desktop
%{_datadir}/applications/skype-v4l2.desktop
%{_datadir}/icons/skype.png
%{_datadir}/pixmaps/skype.png
%dir %{_datadir}/skype
@@ -80,7 +114,10 @@ rm -fr ${tmpdir}
%doc LICENSE README
%changelog
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2-2mamba
* Mon Dec 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0.20-1mamba
- added v4l1 and v4l2 webcam compatibility desktop entries
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.47-2mamba
- specfile fixed for 2.1.0.47
* Wed May 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.68-1mamba

188
SRPMS/spotify/LICENSE Normal file
View File

@@ -0,0 +1,188 @@
Spotify Terms and Conditions of Use
Effective as from 20 June 2013
Introductions
Changes to the Agreements
Enjoying Spotify
3.1 Subscriptions
3.2 Codes and other Limited Offers
3.3 Trials
Licence and assignment
Third Party Applications
User generated content
Consideration
User Guidelines
Copyright infringement
Technology limitations and modifications
Brand accounts
Export control
Payments, cancellations and cooling off
Term and termination
Warranty
Limitation
Entire agreement
Severability
Choice of law, mandatory arbitration and venue
Local Country chart
Hello, and welcome to our Terms and Conditions of Use. This is important and affects your legal rights, so please read them and our Privacy Policy carefully. We hope youre sitting comfortably. Here we go…
1. Introductions
Thanks for choosing Spotify (“Spotify”, “we”, “us”, “our”). By using the Spotify service, websites, or software applications (together, the “Spotify Service” or “Service”), including by purchasing or receiving Codes or Limited Offers, you are entering into a binding contract with our local company in your country of residence (your “Local Country”) if applicable or the company listed in this chart. Your agreement with us includes these Terms and Conditions of Use (“Terms”) and our Privacy Policy (together with the Mobile Terms where applicable, the “Agreements”). If you dont agree with these Terms, then please dont use the Service.
Were pleased to make our Service available to you. The Spotify Service includes social and interactive features. Learn more about the Spotify Service here.
In order to use the Spotify Service, you need to (a) be 18 or older, or be 13 or older and have your parent or guardians consent to these Terms, (b) have the power to enter a binding contract with us and are not barred from doing so under any applicable laws, and (c) be resident in the Local Country. You also warrant that any registration information that you submit to Spotify is true, accurate and complete, and you agree to keep it that way at all times.
2. Changes to the Agreements
Occasionally we may, in our discretion, make changes to the Spotify Service and Agreements. When we make changes to the Agreements that we consider material, well notify you through the Service. By continuing to use the Service after those changes are made, you are expressing and acknowledging your acceptance of the changes.
3. Enjoying Spotify
Heres some information about all the ways you can enjoy Spotify.
3.1 Subscriptions
Spotify account holders may access the Spotify Service by any of our several Subscriptions:
Free Service: an ad-based, free-of-charge service;
Unlimited Service: a subscription fee-based service;
Premium Service: an ad-free, subscription fee-based service which enables you to listen to music while not connected to the internet, among other features; or
Mobile Service: via a supported mobile handset.
The Premium Service permits you to store cached content on up to three (3) personal computers, mobile handsets and/or other relevant devices (collectively “Devices”) while your Premium Service subscription is active. You may not transfer copies of cached content to any other device via any means. By using the Mobile Service, you agree to accept the Mobile Terms and to register for the Service as a mobile subscriber. The Premium Service and the Unlimited Service are hereinafter referred to as “Paid Subscriptions”
3.2 Codes and other Limited Offers
If you have purchased a code sold by or on behalf of Spotify for access to the Unlimited Service or Premium Service for the time period indicated on your email, card or paper receipt (“Code”), or if you are accessing the service through some other limited offer which you received or purchased from Spotify (“Limited Offer”), these Agreements apply to your access to the Service. Any separate sets of terms and conditions presented to you along with the Code or other Limited Offer also apply to your access to the Service using the Code or Limited Offer.
Subject to any rights you may have under Section 12, Codes are only redeemable in the country where you purchased such Code, not redeemable for cash and may not be returned for a cash refund, exchanged, resold or used to purchase other Codes.
3.3 Trials
From time to time, we may offer trials of the Premium Service and/or Mobile Service for a specified period without payment (a “Trial”). Spotify reserves the right, in its absolute discretion, to determine your eligibility for a Trial, and to withdraw or to modify a Trial at any time without prior notice and with no liability.
For some Trials, well require you to provide your payment details to start the Trial. At the end of such Trials, we may automatically start to charge you for the Premium Service on the first day following the end of the Trial, on a recurring monthly basis. By providing your payment details in conjunction with the Trial, you agree to this charge. If you do not want this charge, you must change your Subscription to the Free Service through your Spotify accounts settings before the end of the Trial.
4. Licence and assignment
The Spotify Service and the content provided through it are the property of Spotify or Spotify's licensors, and we grant you a limited, non-exclusive, revocable licence to make personal, non-commercial (except as permitted under Section 11) use of the Spotify Service and to receive the media content made available through the Spotify Service in your Local Country, based on the Subscription or Trial, you have selected (the “Licence”). This Licence shall remain in effect for a period of 20 years unless terminated by you or Spotify.
The Spotify software applications are licensed, not sold, to you, and Spotify retains ownership of all copies of the Spotify software applications even after installation on your Devices. Spotify may assign these Agreements or any part of them without restrictions. You may not assign these Agreements or any part of them, nor transfer or sub-licence your rights under this Licence, to any third party.
All Spotify trademarks, service marks, trade names, logos, domain names, and any other features of the Spotify brand are the sole property of Spotify. This Licence does not grant you any rights to use the Spotify trademarks, service marks, trade names, logos, domain names, or any other features of the Spotify brand, whether for commercial or non-commercial use.
You agree to abide by our User Guidelines and not to use the Spotify Service (including but not limited to its content) in any manner not expressly permitted by the Terms.
Third party software libraries included in the Spotify Service are licensed to you either under these Terms, or under the relevant third party software librarys licence terms as published in the help or settings section of our desktop and mobile client and on our website.
5. Third Party Applications
The Spotify Service provides a platform for third party applications, websites and services to make available products and services to you (“Third Party Applications”), and your use of these Third Party Applications is subject to their terms of use. You understand and agree that Spotify is not responsible or liable for the behavior, features, or content of any Third Party Application.
6. User generated content
Spotify users may post, upload and/or contribute (“post”) content to the Service, including pictures, text and playlist compilations (“User Content”). You are solely responsible for any User Content you provide and for any consequences thereof. You represent that you have the right to post any User Content which you post to the Service, and that such User Content, or its use by us as contemplated by this Agreement, does not: (a) violate these Agreements, applicable law, or the intellectual property or publicity rights of others; or (b) imply any affiliation, endorsement, approval or cooperation with you or your User Content by Spotify or any artist, band, label, entity or individual without express written consent from such individual or entity. You grant us a non-exclusive, transferable, sub-licensable, royalty-free, worldwide license to use any User Content that you post on or in connection with Spotify. This license lasts until you terminate your Spotify account, except in the case of User Content that you have published, made public and/or share with others. Aside from the rights specifically granted herein, you retain ownership of all rights, including intellectual property rights, in the User Content that you post to the Spotify Service, except that, where applicable under Local Country law, you agree to waive your right to be identified as the author of any User Content on the Spotify Service and your right to object to derogatory treatment of such User Content.
Spotify does not monitor, review, or edit User Content, but reserves the right to remove or disable access to any User Content for any or no reason, including but not limited to, User Content that, in Spotifys sole discretion, violates these Agreements. Spotify may take these actions without prior notification to you. Removal or disabling of access to User Content shall be at our sole discretion, and we do not promise to remove or disable access to any specific User Content.
Spotify is not responsible for User Content nor does it endorse any opinion contained in User Content. If you believe that any User Content infringes your intellectual property rights, please click here, or if you believe that any User Content does not comply with the User Guidelines (Section 8 below) or that your rights under applicable law have been otherwise infringed by any User Content, please contact us at legal-feedback@spotify.com.
7. Consideration
In consideration for the rights granted to you under these Terms, you grant us the right (a) to allow the Spotify Service to use the processor, bandwidth and storage hardware on your Device in order to facilitate the operation of the Service, (b) to provide advertising and other information to you, if you subscribe to the Free Service, and (c) to allow our business partners to do the same.
You grant Spotify a non-exclusive, transferable, sub-licensable, royalty-free, perpetual, worldwide licence to use, reproduce, make available to the public, publish, translate and distribute any User Content that you post on or otherwise provide through the Spotify Service.
These Terms are not intended to grant rights to anyone except you and Spotify, and in no event shall these Terms create any third party beneficiary rights. Any failure by Spotify to enforce these Terms or any provision thereof shall not waive Spotifys right to do so.
8. User Guidelines
Weve established a few ground rules for you to follow when using the Service, to make sure Spotify stays enjoyable for everyone. Please follow these rules and encourage other users to do the same.
Spotify respects intellectual property rights and expects you to do the same. This means, for example, that the following is not permitted: (a) Copying, reproducing, “ripping”, recording, or making available to the public any part of the Spotify Services or content delivered to you via the Spotify Services, or otherwise any making use of the Spotify Service which is not expressly permitted under these Terms; (b) using the Spotify service to import or copy any local files you do not have the legal right to import or copy in this way; (c) reverse-engineering, decompiling, disassembling, modification or creating derivative works based on the Spotify Services or any part thereof; (d) circumventing any technology used by Spotify, its licensors, or any third party to protect content accessible through the Service; (e) renting or leasing of any part of the Services; (f) circumventing of any territorial restrictions applied by Spotify; (g) artificially increasing play count or otherwise manipulating the Services by using a script or other automated process; (h) removing or altering any copyright, trademark or other intellectual property notices contained on or provided through the Spotify Service; (i) providing your password to any other person or using any other persons user name and password.
Please respect Spotify and other users of the Spotify Service. Dont engage in any activity on the Service or upload User Content, including registering and/or using a username, which is or includes material that (a) is offensive, abusive, defamatory, pornographic or obscene; (b) is illegal, or intended to promote or commit an illegal act of any kind, including but not limited to, violations of intellectual property rights, privacy rights or proprietary rights of Spotify or a third party; (c) includes personal data of third parties or is intended to solicit such personal data, (d) includes malicious content such as malware, trojan horses or viruses, or otherwise interferes with any users access to the Service; (e) is intended or does harass or bully other users; (f) impersonates or misrepresents your affiliation with another user, person or entity, or is otherwise fraudulent, false, deceptive, or misleading; (g) uses automated means to artificially promote content; (h) involves the transmission of unsolicited mass mailing (“spam”), junk mail, chain letter, or similar, including through the Spotify inbox; (i) involves commercial or sales activities, such as advertising, contests, sweepstakes, or pyramid schemes; (j) promotes commercial products or services (except as permitted under Section 11); (k) interferes with the Spotify Service, tampers with or attempts to probe, scan, or test for vulnerabilities in the Service or Spotifys computer systems or network, or breaches any of Spotifys security or authentication measures, or (l) conflicts with the Agreement, as determined by Spotify. You agree that Spotify may also reclaim your username for any reason.
Please be thoughtful about what you make public on Spotify. The Spotify Service includes social and interactive features, including the ability to post User Content, share content, and make certain information about you public, as further described in your account settings. Remember that shared or publicly available information may be used and re-shared by other users on Spotify or across the web, so please use Spotify carefully and manage your account settings regularly. Spotify has no responsibility for your choices to make any actions or material public on the Service.
Your password protects your user account, and you are solely responsible for keeping your password confidential and secure. You understand that you are responsible for all use of your username and password on the Service. If your username or password is lost or stolen, or if you believe there has been unauthorized access to your account by third parties, please notify us immediately and change your password as soon as possible.
9. Copyright infringement
Spotify respects the rights of intellectual property owners. For details on Spotifys copyright policy, please click here.
10. Technology limitations and modifications
Spotify will make reasonable efforts to keep the Spotify Service operational. However, certain technical difficulties or maintenance may, from time to time, result in temporary interruptions. Spotify reserves the right, periodically and at any time, to modify or discontinue, temporarily or permanently, functions and features of the Spotify Service, with or without notice, all without liability to you for any interruption, modification, or discontinuation of the Spotify Service or any function or feature thereof. You understand and agree that Spotify has no obligation to maintain, support, upgrade, or update the Service, or to provide all or any specific content through the Service.
11. Brand Accounts
If you establish a Spotify account on behalf of a company, organization, entity or brand (a “Brand Account”): (a) the terms “you” and “your”, as used throughout the Terms, apply to both you and the Brand (as defined below), as applicable; and (b) the following additional terms apply to your use of the Spotify Service for such purposes (the “Brand Account Terms”). To the extent of a conflict between these Brand Account Terms and the rest of the Terms, these Brand Account Terms shall apply, solely with respect to your Brand Account.
If you open a Brand Account, you represent and warrant that you are authorized to grant all permissions and licenses provided in these Terms and to bind the applicable company, organization, entity or brand (the “Brand”) to these Terms. Spotify has no obligation to promote the Brand Account profile or Brand Playlists (as defined below) and reserves the right to remove or disable access to a Brands User Content or profile, consistent with these Terms.
In addition to the User Guidelines set forth in Section 8, the following additional guidelines apply to the Brands use of the Spotify Service under a Brand Account:
Brand Playlists.“Brand Playlist” means any song compilation that a Brand creates using the Spotify Service. Unless the Brand has obtained all necessary rights and authorizations from all applicable artists, composers, publishers, labels and other relevant third parties with respect to a Brand Playlist: (a) the Brand Playlist may not be used for commercial or promotional purposes; (b) the name of the Brand Playlist may not include the Brands name or the name of any specific entity, brand product, or service; and (c) the Brand Playlists must consist of at least 20 songs and may not include more than one track by a single artist or band.
Following. Unless the Brand has obtained all necessary rights and authorizations from the applicable user: (a) the Brand may only follow users who first follow the Brand; (b) the Brand may not follow artists; and (c) the Brand may not follow a user in any manner that implies an endorsement or relationship between the Brand and the followed user. Spotify reserves the right to request that a Brand cease following any user(s), for any reason, in Spotifys sole discretion. In such event, the Brand must cease following such user(s).
Sharing. Unless the Brand has obtained all necessary rights and authorizations from all applicable artists, composers, labels and other third parties: (a) the Brand may only share (including but not limited to posting and messaging on an automatic or individual basis) Brand Playlists complying with the Brand Playlist requirements above , but not individual songs; and (b) the Brand may not use the Spotify Play Button to embed Brand Playlists on the Brands website(s), Facebook page(s) or other assets (but the Brand may use a Spotify link or Spotify Follow button on such assets complying with the Brand Playlist requirements above).
12. Export control
Spotifys products may be subject to U.S. export and reexport control laws and regulations, including the Export Administration Regulations (“EAR”) maintained by the U.S. Department of Commerce, trade and economic sanctions maintained by the Treasury Departments Office of Foreign Assets Control (“OFAC”), and the International Traffic in Arms Regulations (“ITAR”) maintained by the Department of State. You warrant that you are (1) not located in Cuba, Iran, North Korea, Sudan, or Syria, and (2) are not a denied party as specified in the regulations listed above.
You agree to comply with all applicable export and reexport control laws and regulations, including the EAR, trade and economic sanctions maintained by OFAC, and the ITAR. Specifically, you agree that you shall not directly or indirectly sell, export, reexport, transfer, divert, or otherwise dispose of any products, software, or technology (including products derived from or based on such technology) received from Spotify under these Agreements to any destination, entity, or person prohibited by the laws or regulations of the United States, without obtaining prior authorization from the competent government authorities as required by those laws and regulations. This export control clause shall survive termination or cancellation of these Agreements.
13. Payments, cancellations and cooling off
If you reside in a Local Country which is part of the European Union and have purchased a Paid Subscription or Code online, you have the right to change your mind and receive a full refund within fourteen (14) days of purchase (the “Cooling-off Period”), but only if you have not logged in or otherwise redeemed or started to consume them.
If you have a Paid Subscription, your payment to Spotify will automatically renew at the end of the subscription period, unless you cancel your Paid Subscription through your subscription page before the end of the current subscription period. The cancellation will take effect the day after the last day of the current subscription period, and you will be downgraded to the Free Service. However, if you cancel your payment and/or terminate the Terms after the Cooling-off Period is over (where applicable), and/or before the end of the subscription period, we will not refund any subscription fees already paid to us.
Spotify may change the price for the Paid Subscriptions from time to time, and will communicate any price changes to you. Price changes for Paid Subscriptions will take effect at the start of the next subscription period following the date of the price change. By continuing to use the Spotify Service after the price change takes effect, you accept the new price.
14. Term and termination
These Terms will continue to apply to you until terminated by either you or Spotify. Spotify may terminate the Terms or suspend your access to the Spotify Service at any time, including in the event of your actual or suspected unauthorised use of the Spotify Service or non-compliance with the Terms. If you or Spotify terminate the Terms, or if Spotify suspends your access to the Spotify Service, you agree that Spotify shall have no liability or responsibility to you and Spotify will not refund any amounts that you have already paid, to the fullest extent permitted under applicable law. To learn how to terminate your Spotify account, please go here.
15. Warranty
We endeavor to provide the best service we can, but you understand and agree that THE SPOTIFY SERVICE IS PROVIDED “AS IS”, WITHOUT EXPRESS OR IMPLIED WARRANTY OR CONDITION OF ANY KIND. YOU USE THE SPOTIFY SERVICE AT YOUR OWN RISK. SPOTIFY DISCLAIMS ANY WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.
In addition, Spotify does not warrant, endorse, guarantee or assume responsibility for any Third Party Applications, Third Party Application content, User Content, or any other product or service advertised or offered by a third party on or through the Spotify Service or any hyperlinked website, or featured in any banner or other advertising. You understand and agree that Spotify is not responsible or liable for any transaction between you and third-party providers of Third Party Applications or products or services advertised on or through the Spotify Service. As with any purchase of a product or service through any medium or in any environment, you should use your judgment and exercise caution where appropriate. No advice or information whether oral or in writing obtained by you from Spotify shall create any warranty on behalf of Spotify in this regard. Some aspects of this section may not apply in some jurisdictions.
16. Limitation
You agree that, to the extent permitted by applicable law, your sole and exclusive remedy for any problems or dissatisfaction with the Spotify Service, the Third Party Applications or the Third Party Application content is to uninstall any Spotify software and to stop using the Spotify Service, the Third Party Applications or the Third Party Application content.
TO THE FULLEST EXTENT PERMITTED BY LAW, IN NO EVENT WILL SPOTIFY, ITS OFFICERS, SHAREHOLDERS, EMPLOYEES, AGENTS, DIRECTORS, SUBSIDIARIES, AFFILIATES, SUCCESSORS, ASSIGNS, SUPPLIERS OR LICENSORS BE LIABLE FOR (i) ANY INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, EXEMPLARY OR CONSEQUENTIAL (INCLUDING LOSS OF USE, DATA, BUSINESS, OR PROFITS) DAMAGES, ARISING OUT OF THE USE OR INABILITY TO USE THE SPOTIFY SERVICE, THIRD PARTY APPLICATIONS OR THIRD PARTY APPLICATION CONTENT, REGARDLESS OF LEGAL THEORY, WITHOUT REGARD TO WHETHER SPOTIFY HAS BEEN WARNED OF THE POSSIBILITY OF THOSE DAMAGES, AND EVEN IF A REMEDY FAILS OF ITS ESSENTIAL PURPOSE; (ii) AGGREGATE LIABILITY FOR ALL CLAIMS RELATING TO THE SPOTIFY SERVICE, THIRD PARTY APPLICATIONS OR THIRD PARTY APPLICATION CONTENT MORE THAN THE AMOUNTS PAID BY YOU TO SPOTIFY DURING THE PRIOR THREE MONTHS IN QUESTION.
Nothing in these Agreements removes or limits Spotifys liability for fraud, fraudulent misrepresentation, death or personal injury caused by its negligence. Some aspects of this section may not apply in some jurisdictions.
17. Entire agreement
These Agreements constitute all the terms and conditions agreed upon between you and Spotify and supersede any prior agreements in relation to the subject matter of these Agreements, whether written or oral. Any additional or different terms or conditions in relation to the subject matter of the Agreements in any written or oral communication from you to Spotify are void. You represent that you have not accepted the Agreements in reliance on any oral or written representations made by Spotify that are not contained in the Agreements.
Please note, however, that other aspects of your use of the Spotify Service may be governed by additional agreements. That could include, for example, access to the Spotify Community for customer support, access to the Spotify Service as a result of a gift card, or free or discounted Trials. You will agree to separate terms and conditions in those circumstances, which are listed in full here. Those terms and conditions shall govern only with regard to the aspect of the Service to which they apply, and are distinct from and supplemental to these Agreements, and do not supersede these Agreements. To the extent that there is any conflict between those agreements and these Agreements, these Agreements shall control, except as otherwise provided in these Terms.
Occasionally we may offer you the chance to participate in sweepstakes, contests, and surveys (“Special Promotions”) through the Service. Special Promotions may be governed by terms and conditions that are separate from these Terms. If the provisions of a Special Promotions terms and conditions conflict with these Terms, those separate terms and conditions shall prevail.
18. Severability
Should any provision of the Terms be held invalid or unenforceable for any reason or to any extent, such invalidity or enforceability shall not in any manner affect or render invalid or unenforceable the remaining provisions of the Terms, and the application of that provision shall be enforced to the extent permitted by law.
19. Choice of law, mandatory arbitration and venue
Unless otherwise required by a mandatory law of a member state of the European Union or any other jurisdiction, these Agreements are subject to the law of the State of California, United States, without regard to choice or conflicts of law principles. Further, you and Spotify agree to the exclusive jurisdiction of the state and federal courts in San Francisco County, California or New York, New York to resolve any dispute, claim or controversy that arises in connection with these Agreements.
If you are a United States user, the following mandatory arbitration provisions also apply to you:
You and Spotify agree that any dispute, claim or controversy arising out of or relating in any way to the Spotify Service or your use thereof, including our Agreements, shall be determined by mandatory binding arbitration. You agree that the U.S. Federal Arbitration Act governs the interpretation and enforcement of this provision, and that you and Spotify are each waiving the right to a trial by jury and the right to participate in a class or multi-party action. This arbitration provision shall survive termination of these Agreements and the termination of your Spotify account. The arbitration will be governed by the Commercial Arbitration Rules and the Supplementary Procedures for Consumer Related Disputes of the American Arbitration Association (the “AAA Rules”), as modified by these Agreements, and as administered by the AAA. You and Spotify agree that these Agreements involve interstate commerce and are subject to the Federal Arbitration Act.
You and Spotify agree that (a) any claims seeking to enforce, protect, or determine the validity or ownership of any intellectual property rights, and (b) any claims related to allegations of theft, piracy or unauthorized use of the Spotify Service are NOT subject to mandatory arbitration. Instead, you and Spotify agree that these claims (including but not limited to claims for injunctive or equitable relief) shall be exclusively decided by courts of competent jurisdiction in San Francisco County, California or New York, New York, and that applicable California and/or Federal law shall govern, without regard to choice of law principles.
YOU AND SPOTIFY AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER ONLY IN YOUR OR ITS INDIVIDUAL CAPACITY, AND NOT AS A CLASS MEMBER OR IN ANY REPRESENTATIVE CAPACITY OR PROCEEDING. Further, no arbitrator shall consolidate any other persons claims with your claims, and may not otherwise preside over any form of a multi-party or class proceeding. If this specific provision is found to be unenforceable in any way, then the entirety of this arbitration section shall be null and void. The arbitrator may not award declaratory or injunctive relief.
Any arbitration must be commenced by filing a demand for arbitration with the AAA within ONE (1) YEAR after the date the party asserting the claim first knows or reasonably should know of the act, omission or default giving rise to the claim; and there shall be no right to any remedy for any claim not asserted within that time period. If applicable law prohibits a one-year limitations period for asserting claims, any claim must be asserted within the shortest time period permitted by applicable law. Your arbitration fees and your share of arbitrator compensation will be limited to those fees set forth in the AAA's Consumer Rules with the remainder paid by Spotify. Any arbitration costs or fees deemed “excessive” will be paid by Spotify.
20. Local Country chart
This chart details the Spotify entity with which you are contracting by accepting these Agreements, depending on your Local Country of residence.
Local Country of Residence Spotify entity
Australia or New Zealand Spotify Australia PTY. Ltd., registration number ACN 154 200 941
Austria Spotify Austria GmbH, registration number FN 354148 g
Belgium Spotify NV, registration number 0841.023.949
Denmark Spotify Denmark ApS, registration number 33785348
Finland Spotify Finland Oy, registration number 2388862-0
France Spotify France SAS, registration number 51193072900013
Germany Spotify GmbH, registration number HRB 114 530 B
Liechtenstein, Luxembourg, Monaco and Andorra Spotify AB, registration number 556703-7485
Netherlands Spotify Netherlands B.V., registration number 34388788
Norway Spotify Norway AS, registration number 994 445 820
Spain Spotify Spain S.L, registration number B85346294
Sweden Spotify Sweden AB, registration number 556786-5729
Switzerland Spotify Switzerland AG, registration number CH-020.3.037.242-8
United Kingdom or Ireland Spotify Limited, registration number 06436047
USA Spotify USA Inc, registered in Delaware with registration number 4664052
Thank you for reading our Terms. We hope you enjoy Spotify.
Copyright © 2012 Spotify AB. All rights reserved.
Spotify USA Inc., 45 W. 18th Street,
7th Floor
New York, NY 10011
USA

View File

Binary file not shown.

View File

@@ -0,0 +1,88 @@
#% define spotify_make_ver 20130831git
Name: spotify
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Summary: Listen to music using Spotify
Group: Graphical Desktop/Applications/Multimedia
Vendor: @vendor@
Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.spotify.com/us/download/previews/
## GITSOURCE https://github.com/leamas/spotify-make.git master
Source: https://github.com/leamas/spotify-make.git/master/spotify-make-%{version}.zip
Source1: LICENSE
License: Not distributable
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Listen to music using Spotify.
%prep
%setup -q -n spotify-make-master
%build
./configure \
--prefix=/opt/spotify \
--mandir=%{_mandir}
make download
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -d -m0755 %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/applications %{buildroot}%{_datadir}
mv %{buildroot}/opt/spotify/share/icons %{buildroot}%{_datadir}
install -d -m0755 %{buildroot}%{_bindir}
ln -s /opt/spotify/bin/spotify %{buildroot}%{_bindir}/spotify
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%pre
if [ $1 -ge 1 ]; then
rm -f /opt/spotify/share/spotify-client/Data/locales
rm -f /opt/spotify/share/spotify-client/Data/resources.zip
rm -f /opt/spotify/lib/spotify-client/Data
fi
:
%post
if [ $1 -ge 1 ]; then
gtk-update-icon-cache --ignore-theme-index %{_datadir}/icons/hicolor
desktop-file-validate %{_datadir}/applications/spotify.desktop
update-desktop-database %{_datadir}/applications
fi
:
%postun
if [ $1 -eq 0 ]; then
gtk-update-icon-cache --ignore-theme-index %{_datadir}/icons/hicolor
desktop-file-validate %{_datadir}/applications/spotify.desktop
update-desktop-database %{_datadir}/applications
fi
:
%files
%defattr(-,root,root)
%{_bindir}/spotify
%{_datadir}/applications/spotify.desktop
%{_datadir}/icons/hicolor/*/apps/spotify-client.png
%dir /opt/spotify
%dir /opt/spotify/bin
/opt/spotify/bin/spotify
%dir /opt/spotify/lib
%dir /opt/spotify/lib/spotify-client
/opt/spotify/lib/spotify-client/*
%dir /opt/spotify/share
%dir /opt/spotify/share/spotify-client/
/opt/spotify/share/spotify-client/*
%{_mandir}/man1/spotify.1.gz
%changelog
* Sat Aug 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1.55.gbdd3b79.203-1mamba
- package created by silvan using the webbuild interface

68
SRPMS/sun-java7/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

View File

@@ -0,0 +1,741 @@
%define JRE_NSVER 7
%define MAJOR %(echo %version | cut -du -f1)
%define MINOR %(echo %version | 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 %{version}
%define label -%{name}
%define jdklnk jdk7-%{origin}
%define jrelnk jre7-%{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-java7
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
#Source0: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-i586.tar.gz
#Source1: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-x64.tar.gz
#Source2: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-arm-sfp.tar.gz
#Source3: sun-java7-jdk-profile
#Source4: sun-java7-jre-profile
BuildRequires: jpackage-utils
Provides: jdk = %{version}
Provides: jdk2 = %{version}
License: Oracle Binary Code License
Requires: shared-mime-info
Requires: desktop-file-utils
Requires: sun-java7-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 = %{version}
Provides: jre = %{version}
%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/%{version}-b13/jdk-%{version}-linux-i586.tar.gz
tar xf jdk-%{version}-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/%{version}-b13/jdk-%{version}-linux-x64.tar.gz
tar xf jdk-%{version}-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/%{version}-b13/jdk-%{version}-linux-arm-vfp-sflt.tar.gz
tar xf jdk-%{version}-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 [ %{version} != %{javaver} ]; then
#ln -fs ${jar} $(echo $jar | sed "s|-%{version}.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
pushd %{buildroot}%{_jvmdir}/%{jredir}
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin_oji.so
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_nscp.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin_nscp.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-7.so
popd
%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}7.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 for old ffmpeg libraries
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/fxavcodecplugin-52.so
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%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-sun7.1*
%{_mandir}/man1/apt-sun7.1*
%{_mandir}/man1/extcheck-sun7.1*
%{_mandir}/man1/idlj-sun7.1*
%{_mandir}/man1/jar-sun7.1*
%{_mandir}/man1/jarsigner-sun7.1*
%{_mandir}/man1/javac-sun7.1*
%{_mandir}/man1/javadoc-sun7.1*
%ifnarch arm
%{_mandir}/man1/javafxpackager-sun7.1*
%endif
%{_mandir}/man1/javah-sun7.1*
%{_mandir}/man1/javap-sun7.1*
%{_mandir}/man1/jcmd-sun7.1*
%{_mandir}/man1/jconsole-sun7.1*
%{_mandir}/man1/jdb-sun7.1*
%{_mandir}/man1/jhat-sun7.1*
%{_mandir}/man1/jinfo-sun7.1*
%{_mandir}/man1/jmap-sun7.1*
%{_mandir}/man1/jmc-sun7.1*
%{_mandir}/man1/jps-sun7.1*
%{_mandir}/man1/jrunscript-sun7.1*
%{_mandir}/man1/jsadebugd-sun7.1*
%{_mandir}/man1/jstack-sun7.1*
%{_mandir}/man1/jstat-sun7.1*
%{_mandir}/man1/jstatd-sun7.1*
%{_mandir}/man1/jvisualvm-sun7.1*
%{_mandir}/man1/native2ascii-sun7.1*
%{_mandir}/man1/policytool-sun7.1*
%{_mandir}/man1/rmic-sun7.1*
%{_mandir}/man1/schemagen-sun7.1*
%{_mandir}/man1/serialver-sun7.1*
%{_mandir}/man1/wsgen-sun7.1*
%{_mandir}/man1/wsimport-sun7.1*
%{_mandir}/man1/xjc-sun7.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/java.security
%ifnarch arm
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javafx.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javaws.policy
%endif
%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/libjava7plugin*.so
%{_libdir}/mozilla/plugins/libnpjp2-7.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-sun7.1*
%{_mandir}/man1/javaws-sun7.1*
%{_mandir}/man1/keytool-sun7.1*
%{_mandir}/man1/orbd-sun7.1*
%{_mandir}/man1/pack200-sun7.1*
%{_mandir}/man1/rmid-sun7.1*
%{_mandir}/man1/rmiregistry-sun7.1*
%{_mandir}/man1/servertool-sun7.1*
%{_mandir}/man1/tnameserv-sun7.1*
%{_mandir}/man1/unpack200-sun7.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
* 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,7 +1,7 @@
## VirtualBox Extension Pack
# package name (do not modify unless you know what you're doing)
VIRTUALBOX_EXTENSION_PACK_PCK=Oracle_VM_VirtualBox_Extension_Pack-4.1.8.vbox-extpack
VIRTUALBOX_EXTENSION_PACK_PCK=Oracle_VM_VirtualBox_Extension_Pack-${SRPMVERSION["virtualbox-extension-pack"]}.vbox-extpack
# package URL (do not modify unless you know what you're doing)
VIRTUALBOX_EXTENSION_PACK_URL=http://download.virtualbox.org/virtualbox/4.1.8/
VIRTUALBOX_EXTENSION_PACK_URL=http://download.virtualbox.org/virtualbox/${SRPMVERSION["virtualbox-extension-pack"]}/

View File

@@ -1,8 +1,8 @@
%define pck_majver %(echo %version | cut -d. -f1-3)
%define pck_minver %(echo %version | cut -d. -f4)
Name: virtualbox-extension-pack
Version: @virtualboxextensionpackver@
Release: 1@distroext@
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: VirtualBox Extension Pack
Group: Applications/Emulators
@@ -22,6 +22,7 @@ VirtualBox Extension Pack.
%setup -c -n %{name}-%{version} -T
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
[ "${VIRTUALBOX_EXTENSION_PACK_PCK}" ] || exit 1
@@ -36,6 +37,7 @@ wget -nv --timeout=10 --tries=2 \
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
install -D -m0644 ${VIRTUALBOX_EXTENSION_PACK_PCK} %{buildroot}/opt/VirtualBox/extension/${VIRTUALBOX_EXTENSION_PACK_PCK}
@@ -45,9 +47,9 @@ cp %{S:0} LICENSE
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
VBoxManage extpack install /opt/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack
# --replace not working
#VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
VBoxManage extpack install /opt/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
# not working
:
%files

View File

@@ -12,8 +12,8 @@
%define alt_url10 ftp://ftp10.mplayerhq.hu/MPlayer/releases/codecs/
Name: win32codecs
Version: @win32codecsver@
Release: 1@distroext@
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Summary: Win32 native dll codecs
Group: System/Multimedia
Vendor: @vendor@

View File

@@ -1,4 +1,27 @@
FLASHPLUGIN_VERSION=11.1.102.62
WIN32CODECS_VERSION=20110131
SKYPE_VERSION=2.2.0.35
VIRTUALBOX_EXTENSION_PACK_VERSION=4.1.8
# b43-firmware
SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin
SRPMVERSION["flashplugin"]=11.2.202.406
SRPMRELEASE["flashplugin"]=1mamba
# msttcorefonts
SRPMVERSION["msttcorefonts"]=1.3
SRPMRELEASE["msttcorefonts"]=7mamba
# skype
SRPMVERSION["skype"]=4.3.0.37
SRPMRELEASE["skype"]=2mamba
# spotify
SRPMVERSION["spotify"]=20140117
SRPMRELEASE["spotify"]=1mamba
# sun-java7
SRPMVERSION["sun-java7"]=7u67
SRPMRELEASE["sun-java7"]=1mamba
# virtualbox-extension-pack
SRPMVERSION["virtualbox-extension-pack"]=4.3.16
SRPMRELEASE["virtualbox-extension-pack"]=1mamba
# win32codecs
SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash
SRPMVERSION["chromium-pepper-flash"]=37.0.2062.120
SRPMRELEASE["chromium-pepper-flash"]=1mamba

2
SRPMSVERSIONS.arm Normal file
View File

@@ -0,0 +1,2 @@
SRPMVERSION["sun-java7"]=7u60
SRPMRELEASE["sun-java7"]=1mamba

View File

@@ -1 +1 @@
VERSION = 2.3.5
VERSION = 2.4.8

View File

@@ -457,28 +457,6 @@ This tool is also useful before the installation of a third party boot manager i
<string></string>
</stringlist>
</property>
<widget class="Label">
<property name="name">
<cstring>Label24</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>540</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Please, select the openmamba system partition where you want the boot loader to be installed from.</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label3</cstring>
@@ -503,27 +481,6 @@ This tool is also useful before the installation of a third party boot manager i
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
<widget class="ListBox">
<property name="name">
<cstring>devicesbox</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>540</width>
<height>230</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>showdevice</cstring>
@@ -545,6 +502,49 @@ This tool is also useful before the installation of a third party boot manager i
</stringlist>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label24</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>540</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Please, select the openmamba system partition where you want the boot loader to be installed from.</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
<widget class="ListBox">
<property name="name">
<cstring>devicesbox</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>540</width>
<height>230</height>
</rect>
</property>
<property name="populationText">
<string></string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
</widget>
<widget class="ScriptObject">
<property name="name">
@@ -646,6 +646,9 @@ done
function get_udisks_key() {
LANG=C udisks --show-info $1 | grep " $2:" | head -n1 | sed "s|[[:space:]]*$2:[[:space:]]*\(.*\)|\1|"
}
function get_udisks_key_last() {
LANG=C udisks --show-info $1 | grep " $2:" | tail -n1 | sed "s|[[:space:]]*$2:[[:space:]]*\(.*\)|\1|"
}
@if (@devicesbox.currentItem &gt;= 0)
currdev=@String.section(@devicesbox.item(@devicesbox.currentItem)," ",0)
@showdevice.setText(@devicesbox.item(@devicesbox.currentItem))
@@ -661,12 +664,18 @@ function get_udisks_key() {
for device in $devices; do
native_path=`get_udisks_key $device native-path`
[ -e $native_path/partition ] &amp;&amp; continue
is_system_internal=`get_udisks_key $device "system internal"`
partscheme=`get_udisks_key $device scheme`
if [ "$is_system_internal" == "1" -o "@removablebox.checked" == "1" ]; then
[ "$partscheme" == "mbr" ] &amp;&amp; \
dcop @dcopid KommanderIf "addListItem(QString,QString,int)" mbrbox "${device:5:5} (master boot record)" 0
if [ -e $native_path/partition ]; then
partition_label=`get_udisks_key_last $device label`
if [ "${partition_label:0:3}" = "EFI" ]; then
dcop @dcopid KommanderIf "addListItem(QString,QString,int)" mbrbox "${device:5:5} (@i18n("EFI system partition"))" 0
fi
else
is_system_internal=`get_udisks_key $device "system internal"`
partscheme=`get_udisks_key $device scheme`
if [ "$is_system_internal" == "1" -o "@removablebox.checked" == "1" ]; then
[ "$partscheme" == "mbr" ] &amp;&amp; \
dcop @dcopid KommanderIf "addListItem(QString,QString,int)" mbrbox "${device:5:5} (master boot record)" 0
fi
fi
done
dcop @dcopid KommanderIf "setCurrentItem(int)" 0
@@ -709,6 +718,44 @@ function get_udisks_key() {
<set>AlignCenter</set>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>setBootableCheckbox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>530</x>
<y>0</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@BackBox.setChecked(true)
@NextBox.setChecked(true)
@execBegin
mbrstring=@String.section(@mbrbox.item(@mbrbox.currentItem)," ",1)
mbrdevice=@String.section(@mbrbox.item(@mbrbox.currentItem)," ",0)
mbrpart=${mbrdevice:3:2}
if [ "$mbrpart" -a "${mbrstring/EFI}" = "${mbrstring}" ]; then
if [ $mbrpart -le 4 ]; then
dcop @dcopid KommanderIf setEnabled bootableBox true
else
dcop @dcopid KommanderIf setEnabled bootableBox false
dcop @dcopid KommanderIf setChecked bootableBox false
fi
else
dcop @dcopid KommanderIf setEnabled bootableBox false
fi
@execEnd
</string>
</stringlist>
</property>
</widget>
<widget class="ButtonGroup">
<property name="name">
<cstring>BootloaderBox</cstring>
@@ -732,6 +779,25 @@ function get_udisks_key() {
<property name="title">
<string>Bootloader configuration</string>
</property>
<widget class="Label">
<property name="name">
<cstring>Label29_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>531</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Please select where you want to install the boot manager.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>Layout5_2</cstring>
@@ -739,7 +805,7 @@ function get_udisks_key() {
<property name="geometry">
<rect>
<x>10</x>
<y>330</y>
<y>60</y>
<width>530</width>
<height>26</height>
</rect>
@@ -811,181 +877,6 @@ function get_udisks_key() {
</widget>
</hbox>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label3_2_2_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>290</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Please select the boot menu options:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label28</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>540</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Below is a list of other operating systems found on this computer, you may configure them to appear as a choice when the computer starts.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
<widget class="ListBox">
<property name="name">
<cstring>chainloadbox</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>540</width>
<height>170</height>
</rect>
</property>
<property name="selectionMode">
<enum>Multi</enum>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label29_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>531</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Please select where you want to install the boot manager.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>setBootableCheckbox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>520</x>
<y>70</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@execBegin
mbrdevice=@String.section(@mbrbox.item(@mbrbox.currentItem)," ",0)
mbrpart=${mbrdevice:3:2}
if [ "$mbrpart" ]; then
if [ $mbrpart -le 4 ]; then
dcop @dcopid KommanderIf setEnabled bootableBox true
else
dcop @dcopid KommanderIf setEnabled bootableBox false
dcop @dcopid KommanderIf setChecked bootableBox false
fi
else
dcop @dcopid KommanderIf setEnabled bootableBox false
fi
@execEnd
</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>scanbootloader</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@BackBox.setChecked(true)
@NextBox.setChecked(true)
@chainloadbox.clear
@setBootableCheckbox.execute()
@execBegin
function get_udisks_key() {
LANG=C udisks --show-info $1 | grep " $2:" | head -n1 | sed "s|[[:space:]]*$2:[[:space:]]*\(.*\)|\1|"
}
installdevice=@String.section(@devicesbox.item(@devicesbox.currentItem)," ",0)
devices=`udisks --enumerate-device-files | grep -v /dev/disk | sort -n -r`
partlabel=
for device in $devices; do
native_path=`get_udisks_key $device native-path`
[ -e $native_path/partition ] || continue
is_system_internal=`get_udisks_key $device "system internal"`
volsize=`get_udisks_key $device size`
volsize=`expr $volsize / 1024 / 1024`
[ $volsize = 0 ] &amp;&amp; continue
volname=`get_udisks_key $device label`
[ "$volname" ] || volname="unnamed"
parttype=`get_udisks_key $device usage`
[ "$parttype" ] || parttype="unknown"
partscheme=`get_udisks_key $device scheme`
[ "$partscheme" ] || partscheme="unknown"
fstype=`get_udisks_key $device type`
[ "$fstype" ] || fstype="unformatted"
add_info=""
[ "$is_system_internal" = "1" ] || {
add_info=",removable"
[ @removablebox.checked == 1 ] || continue
}
if [ "$partscheme" == "mbr" -o "$partscheme" == "embr" ]; then
partlabel="$partlabel&lt;br&gt;${device:5:5} $fstype $volname $volsize MB"
case "$fstype" in
swap|iso9660|unformatted) ;;
ext2|ext3|ext4|reiserfs|reiser4|unformatted) ;;
*) dcop @dcopid KommanderIf "addListItem(QString,QString,int)" chainloadbox "${device:5:5} ($fstype,$volname,$volsize MB${add_info})" 0
dcop @dcopid KommanderIf "setSelection" chainloadbox "${device:5:5} ($fstype,$volname,$volsize MB${add_info})"
;;
esac
elif [ "$partscheme" == "gpt" -o "$partscheme" == "unknown" -a $volsize -gt 0 ]; then
case "$fstype" in
swap|iso9660|unformatted) ;;
ext2|ext3|ext4|reiserfs|reiser4) ;;
*) dcop @dcopid KommanderIf "addListItem(QString,QString,int)" chainloadbox "${device:5:5} ($fstype,$volname,$volsize MB${add_info})" 0
dcop @dcopid KommanderIf "setSelection" chainloadbox "${device:5:5} ($fstype,$volname,$volsize MB${add_info})"
;;
esac
fi
done
@execEnd</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="QWidget">
@@ -1062,6 +953,25 @@ done
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>ScriptObject7</cstring>
</property>
<property name="geometry">
<rect>
<x>540</x>
<y>20</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>dcop @dcopid KommanderIf setText installlog "`cat ~/.bootrecover.log`"
</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>launchinstall</cstring>
@@ -1086,11 +996,17 @@ cat &gt; $conffile &lt;&lt; _EOF
# created by openmamba bootrecover wizard
#
_EOF
@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), back,false)
installdevice=@String.section(@devicesbox.item(@devicesbox.currentItem)," ",0)
mountpoint=@String.section(@devicesbox.item(@devicesbox.currentItem)," ",1)
mbrdevice=@String.section(@mbrbox.item(@mbrbox.currentItem)," ",0)
mbrstring="@mbrbox.item(@mbrbox.currentItem)"
if [ "${mbrstring/EFI}" != "${mbrstring}" ]; then
efidevice=/dev/@String.section(@mbrbox.item(@mbrbox.currentItem)," ",0)
else
mbrdevice=/dev/@String.section(@mbrbox.item(@mbrbox.currentItem)," ",0)
fi
IFS=$'\n'
CHAINLOAD_SELECTED=(`dcop @dcopid KommanderIf selection chainloadbox`)
@@ -1102,7 +1018,8 @@ IFS=$' \t\n'
cat &gt;&gt;$conffile &lt;&lt; _EOF
INSTALL_DEVICE='/dev/$installdevice'
INSTALL_MOUNTPOINT='$mountpoint'
INSTALL_BOOTLOADER_DEVICE='/dev/$mbrdevice'
INSTALL_BOOTLOADER_DEVICE='$mbrdevice'
INSTALL_BOOTLOADER_DEVICE_EFI='$efidevice'
INSTALL_BOOTLOADER_DEVICE_SETBOOTABLE=@bootableBox.checked
INSTALL_BOOTLOADER_CHAINLOAD=($chainloaddevices)
_EOF
@@ -1127,25 +1044,6 @@ _EOF
@endif
@BackBox.setChecked(false)
</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>ScriptObject7</cstring>
</property>
<property name="geometry">
<rect>
<x>540</x>
<y>20</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>dcop @dcopid KommanderIf setText installlog "`cat ~/.bootrecover.log`"
</string>
</stringlist>
</property>
@@ -1185,12 +1083,6 @@ _EOF
<receiver>setBootableCheckbox</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>bootableBox</sender>
<signal>widgetOpened()</signal>
<receiver>scanbootloader</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>NextBox</sender>
<signal>widgetOpened()</signal>

View File

@@ -134,7 +134,8 @@ mount -o bind /proc $MOUNTPOINT/proc || {
abort
}
if [ "$INSTALL_BOOTLOADER_DEVICE" ]; then
if [ "$INSTALL_BOOTLOADER_DEVICE" -o "$INSTALL_BOOTLOADER_DEVICE_EFI" ]; then
for k in $MOUNTPOINT/boot/vmlinuz-*; do
KVER=${k/*\/boot\/vmlinuz-}
@@ -143,17 +144,53 @@ if [ "$INSTALL_BOOTLOADER_DEVICE" ]; then
chroot $MOUNTPOINT mkinitrd -f /boot/initramfs-${KVER}.img ${KVER}
done
dcop_write $"Installing bootloader on $INSTALL_BOOTLOADER_DEVICE..." 90
echo $"Installing grub bootloader on $INSTALL_BOOTLOADER_DEVICE" | tee -a $LOG_FILE
if [ "$INSTALL_BOOTLOADER_DEVICE_EFI" ]; then
# EFI
dcop_write $"Installing bootloader on ""$INSTALL_BOOTLOADER_DEVICE_EFI (EFI)..." 90
echo $"Installing grub bootloader on ""$INSTALL_BOOTLOADER_DEVICE_EFI (EFI)" | tee -a $LOG_FILE
[ -e $MOUNTPOINT/boot/efi ] || mkdir -p $MOUNTPOINT/boot/efi
mount $INSTALL_BOOTLOADER_DEVICE_EFI $MOUNTPOINT/boot/efi
grub-install --root-directory=$MOUNTPOINT --efi-directory=$MOUNTPOINT/boot/efi --target=x86_64-efi \
--bootloader-id="openmamba Boot Manager" --recheck --no-floppy
umount $MOUNTPOINT/boot/efi
grub-install $INSTALL_BOOTLOADER_DEVICE --root-directory=$MOUNTPOINT --recheck --no-floppy
INSTALL_BOOTLOADER_DEVICE_EFI_BYID=$INSTALL_BOOTLOADER_DEVICE_EFI
for f in `ls /dev/disk/by-id/*`; do
if [ "$INSTALL_BOOTLOADER_DEVICE_EFI" = "`readlink -f $f`" ]; then
INSTALL_BOOTLOADER_DEVICE_EFI_BYID=$f
break
fi
done
sed -i "/^GRUB_INSTALL_DEVICE.*/d" $MOUNTPOINT/etc/sysconfig/grub
cat >> $MOUNTPOINT/etc/sysconfig/grub << _EOF
GRUB_INSTALL_DEVICE_EFI=$INSTALL_BOOTLOADER_DEVICE_EFI_BYID
_EOF
[ "$INSTALL_BOOTLOADER_DEVICE_SETBOOTABLE" = "1" -a \
"${INSTALL_BOOTLOADER_DEVICE:8:2}" ] && {
parted ${INSTALL_BOOTLOADER_DEVICE:0:8} \
set ${INSTALL_BOOTLOADER_DEVICE:8:2} boot on || \
echo $"Warning: there was an error setting bootloader partition as bootable." >&2
}
else
# BIOS
dcop_write $"Installing bootloader on $INSTALL_BOOTLOADER_DEVICE..." 90
echo $"Installing grub bootloader on $INSTALL_BOOTLOADER_DEVICE" | tee -a $LOG_FILE
grub-install $INSTALL_BOOTLOADER_DEVICE --root-directory=$MOUNTPOINT --target=i386-pc --recheck --no-floppy
INSTALL_BOOTLOADER_DEVICE_BYID=$INSTALL_BOOTLOADER_DEVICE
for f in `ls /dev/disk/by-id/*`; do
if [ "$INSTALL_BOOTLOADER_DEVICE" = "`readlink -f $f`" ]; then
INSTALL_BOOTLOADER_DEVICE_BYID=$f
break
fi
done
sed -i "/^GRUB_INSTALL_DEVICE.*/d" $MOUNTPOINT/etc/sysconfig/grub
cat >> $MOUNTPOINT/etc/sysconfig/grub << _EOF
GRUB_INSTALL_DEVICE=$INSTALL_BOOTLOADER_DEVICE_EFI_BYID
_EOF
[ "$INSTALL_BOOTLOADER_DEVICE_SETBOOTABLE" = "1" -a \
"${INSTALL_BOOTLOADER_DEVICE:8:2}" ] && {
parted ${INSTALL_BOOTLOADER_DEVICE:0:8} \
set ${INSTALL_BOOTLOADER_DEVICE:8:2} boot on || \
echo $"Warning: there was an error setting bootloader partition as bootable." >&2
}
fi
[ "$INSTALL_BOOTLOADER_CHAINLOAD" ] && {
# configure boot chainloader for e.g. windows
@@ -188,6 +225,7 @@ if [ "$INSTALL_BOOTLOADER_DEVICE" ]; then
GRUB_OTHER_TITLES=(${GRUB_OTHER_TITLES[*]} "\"Windows on $GRUB_OTHER_DEV\"")
fi
done
sed -i "/^GRUB_OTHER_.*/d" $MOUNTPOINT/etc/sysconfig/grub
cat >> $MOUNTPOINT/etc/sysconfig/grub << _EOF
GRUB_OTHER_DEVICES=(${GRUB_OTHER_DEVICES[*]})
GRUB_OTHER_TITLES=(${GRUB_OTHER_TITLES[*]})
@@ -207,7 +245,7 @@ fi
umount $MOUNTPOINT/dev
umount $MOUNTPOINT/sys
umount $MOUNTPOINT/proc
umount $MOUNTPOINT
sync
finished
echo $"Installation done. You can now reboot to start the freshly installed system." | tee -a $LOG_FILE

View File

@@ -33,3 +33,10 @@ Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
[Normal Staff Permissions]
Identity=unix-group:sysadmin
Action=org.kde.kcontrol.kcmclock.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

9
etc/profile.d/proxy.sh Normal file
View File

@@ -0,0 +1,9 @@
#
# openmamba system-wide proxy configuration
#
[ -e /etc/sysconfig/proxy ] && . /etc/sysconfig/proxy
[ "$http_proxy" ] && export HTTP_PROXY=$http_proxy
[ "$https_proxy" ] && export HTTPS_PROXY=$https_proxy
[ "$ftp_proxy" ] && export FTP_PROXY=$ftp_proxy
[ "$socks_proxy" ] && export SOCKS_PROXY=$socks_proxy
[ "$no_proxy" ] && export NO_PROXY=$no_proxy

1
etc/sudoers.d/proxy Normal file
View File

@@ -0,0 +1 @@
Defaults env_keep += "ftp_proxy http_proxy https_proxy socks_proxy no_proxy FTP_PROXY HTTP_PROXY HTTPS_PROXY SOCKS_PROXY NO_PROXY"

17
etc/sysconfig/proxy Normal file
View File

@@ -0,0 +1,17 @@
# System proxy configuration file
# Here some examples:
# http_proxy=http://proxy.example.com:8080
# https_proxy=http://proxy.example.com:8080
# ftp_proxy=http://proxy.example.com:8080
# socks_proxy=http://proxy.example.com:8080
# no_proxy=localhost,127.0.0.1
# http_proxy=http://user:password@proxy.example.com:3128
# https_proxy=http://user:password@proxy.example.com:3128
# ftp_proxy=http://user:password@proxy.example.com:3128
# http_proxy=http://domain\\user:password@proxy.example.com:8080
# https_proxy=http://domain\\user:password@proxy.example.com:8080
# ftp_proxy=http://domain\\user:password@proxy.example.com:8080

View File

@@ -210,35 +210,6 @@
<string>www.openmamba.org</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label18_2_2_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>400</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
<italic>1</italic>
</font>
</property>
<property name="text">
<string>Copyright (c) 2007-2011 by mambaSoft di Silvan Calarco
Released under the terms of the GNU GPL v3 license</string>
</property>
<property name="textFormat">
<enum>AutoText</enum>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>backnext</cstring>
@@ -261,6 +232,35 @@ Released under the terms of the GNU GPL v3 license</string>
</stringlist>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label18_2_2_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>400</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
<italic>1</italic>
</font>
</property>
<property name="text">
<string>Copyright (c) 2007-2014 by Silvan Calarco
Released under the terms of the GNU GPL v3 license</string>
</property>
<property name="textFormat">
<enum>AutoText</enum>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
</widget>
<widget class="GroupBox">
<property name="name">
@@ -397,7 +397,7 @@ Released under the terms of the GNU GPL v3 license</string>
URL_OPTIONS="$URL_OPTIONS&amp;newinst=1"
}
dcop @dcopid KommanderIf setChecked BackBox false
/usr/bin/curl --connect-timeout 30 -f http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS
/usr/bin/wget -T 30 http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS -o /dev/null -O /dev/null
RET=$?
if [ $RET -eq 0 ]; then
dcop @dcopid KommanderIf setVisible checkButton false
@@ -446,72 +446,6 @@ fi
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>checkform2</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>300</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@BackBox.setChecked(false)
@NextBox.setChecked(true)
. /usr/share/openmamba/pkggroups.db
function check_pkgs() {
missing=false
rpm -q --whatprovides $1 &gt;/dev/null || missing=true
}
check_pkgs "$BASE_PKGS"
dcop @dcopid KommanderIf setEnabled inst_base $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_base true
check_pkgs "$OFFICE_PKGS"
dcop @dcopid KommanderIf setEnabled inst_office $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_office true
check_pkgs "$MULTIMEDIA_PLAYERS_PKGS"
dcop @dcopid KommanderIf setEnabled inst_players $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_players true
check_pkgs "$MULTIMEDIA_EDITING_PKGS"
dcop @dcopid KommanderIf setEnabled inst_multimedia_editing $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_multimedia_editing true
check_pkgs "$INTERNET_PKGS"
dcop @dcopid KommanderIf setEnabled inst_internet $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_internet true
check_pkgs "$GRAPHICS_PKGS"
dcop @dcopid KommanderIf setEnabled inst_graphics $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_graphics true
check_pkgs "$GAMES_PKGS"
dcop @dcopid KommanderIf setEnabled inst_games $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_games true
check_pkgs "$VIRTUALIZATION_PKGS"
dcop @dcopid KommanderIf setEnabled inst_virtualization $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_virtualization true
check_pkgs "$SERVER_PKGS"
dcop @dcopid KommanderIf setEnabled inst_server $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked server_prof true
check_pkgs "$DEVEL_PKGS"
dcop @dcopid KommanderIf setEnabled inst_devel $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_devel true
</string>
</stringlist>
</property>
</widget>
<widget class="GroupBox">
<property name="name">
<cstring>GroupBox2_2</cstring>
@@ -592,32 +526,6 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_internet</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Internet communication and p2p (&amp;kopete, pidgin, ekiga, aMule, ...)</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_graphics</cstring>
@@ -660,7 +568,7 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
</rect>
</property>
<property name="text">
<string>Base development packages (gcc, glibc-devel, kernel sources, ...)</string>
<string>Base &amp;development packages (gcc, glibc-devel, kernel sources, ...)</string>
</property>
<property name="associations" stdset="0">
<stringlist>
@@ -672,7 +580,7 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_office</cstring>
<cstring>inst_server</cstring>
</property>
<property name="enabled">
<bool>true</bool>
@@ -680,67 +588,13 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<y>260</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Off&amp;ice packages (OpenOffice, Groupware, PDA Syncronization, ...)</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_multimedia_editing</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Mu&amp;ltimedia editing and production (kino, audacity, rosegarden, mixxx, ...)</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_players</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Audio and Video players (amarok, &amp;xmms, vlc, kaffeine, miro, ...)</string>
</property>
<property name="checked">
<bool>false</bool>
<string>Base server packages (apache, postfix, vsftpd, php, m&amp;ysql, ...)</string>
</property>
<property name="associations" stdset="0">
<stringlist>
@@ -784,7 +638,7 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_server</cstring>
<cstring>inst_office</cstring>
</property>
<property name="enabled">
<bool>true</bool>
@@ -792,13 +646,38 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
<property name="geometry">
<rect>
<x>10</x>
<y>260</y>
<y>50</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Base server packages (apache, postfix, vsftpd, php, m&amp;ysql, ...)</string>
<string>Off&amp;ice packages (OpenOffice, Groupware, PDA Syncronization, ...)</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_players</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Audio and Video players (amarok, &amp;xmms, vlc, kaffeine, miro, ...)</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
@@ -808,6 +687,127 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_multimedia_editing</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Mu&amp;ltimedia editing and production (kino, audacity, rosegarden, mixxx, ...)</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_internet</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>550</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Internet communication and p2p (&amp;kopete, pidgin, ekiga, aMule, ...)</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>checkform2</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>300</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@BackBox.setChecked(false)
@NextBox.setChecked(true)
. /usr/share/openmamba/pkggroups.db
function check_pkgs() {
missing=false
rpm -q --whatprovides $1 &gt;/dev/null || missing=true
}
check_pkgs "$BASE_PKGS"
dcop @dcopid KommanderIf setEnabled inst_base $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_base true
check_pkgs "$OFFICE_PKGS"
dcop @dcopid KommanderIf setEnabled inst_office $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_office true
check_pkgs "$MULTIMEDIA_PLAYERS_PKGS"
dcop @dcopid KommanderIf setEnabled inst_players $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_players true
check_pkgs "$MULTIMEDIA_EDITING_PKGS"
dcop @dcopid KommanderIf setEnabled inst_multimedia_editing $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_multimedia_editing true
check_pkgs "$INTERNET_PKGS"
dcop @dcopid KommanderIf setEnabled inst_internet $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_internet true
check_pkgs "$GRAPHICS_PKGS"
dcop @dcopid KommanderIf setEnabled inst_graphics $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_graphics true
check_pkgs "$GAMES_PKGS"
dcop @dcopid KommanderIf setEnabled inst_games $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_games true
check_pkgs "$VIRTUALIZATION_PKGS"
dcop @dcopid KommanderIf setEnabled inst_virtualization $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_virtualization true
check_pkgs "$SERVER_PKGS"
dcop @dcopid KommanderIf setEnabled inst_server $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked server_prof true
check_pkgs "$DEVEL_PKGS"
dcop @dcopid KommanderIf setEnabled inst_devel $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_devel true
</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="QWidget">
@@ -848,7 +848,7 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<y>50</y>
<width>570</width>
<height>110</height>
</rect>
@@ -856,7 +856,7 @@ dcop @dcopid KommanderIf setEnabled inst_devel $missing
<property name="text">
<string>The following components are recommended for optimal desktop use but do not have an Open Source license.
Warning: you'll have to accept a license agreement for each selected packages.</string>
Warning: you'll have to accept a license agreement for most selected packages.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignTop</set>
@@ -868,14 +868,14 @@ Warning: you'll have to accept a license agreement for each selected packages.</
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<x>10</x>
<y>131</y>
<width>560</width>
<height>220</height>
<height>270</height>
</rect>
</property>
<property name="title">
<string>Non Open Source installations/updates</string>
<string>Proprietary software installations/updates</string>
</property>
<widget class="Label">
<property name="name">
@@ -892,7 +892,7 @@ Warning: you'll have to accept a license agreement for each selected packages.</
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_flash</cstring>
<cstring>inst_nvidia_legacy</cstring>
</property>
<property name="enabled">
<bool>true</bool>
@@ -900,17 +900,47 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<y>40</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>F&amp;lash plugin from adobe.com</string>
<string>NVIDIA propri&amp;etary video driver (legacy) from openmamba.org</string>
</property>
<property name="checked">
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_fglrx_legacy</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>AMD/ATI proprietary video driver (le&amp;gacy) from openmamba.org</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
@@ -922,7 +952,7 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<y>160</y>
<width>500</width>
<height>20</height>
</rect>
@@ -931,7 +961,7 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<string>&amp;Win32 codecs from mplayerhq.hu</string>
</property>
<property name="checked">
<bool>true</bool>
<bool>false</bool>
</property>
</widget>
<widget class="CheckBox">
@@ -944,7 +974,7 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<y>140</y>
<width>410</width>
<height>20</height>
</rect>
@@ -962,7 +992,7 @@ Warning: you'll have to accept a license agreement for each selected packages.</
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_skype</cstring>
<cstring>inst_flash</cstring>
</property>
<property name="enabled">
<bool>true</bool>
@@ -975,9 +1005,193 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<height>20</height>
</rect>
</property>
<property name="text">
<string>F&amp;lash plugin from adobe.com</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_skype</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>200</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>S&amp;kype from skype.com</string>
</property>
<property name="accel">
<number>276824139</number>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_java</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>180</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Oracle &amp;Java 7 from oracle.com</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_spotify</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>220</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Spot&amp;ify from spotify.com</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_virtualbox</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>240</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Virtualbo&amp;x extension pack from virtualbox.org</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_b43</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&amp;Broadcom B43 proprietary firmware from openwrt.org</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_fglrx</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>AMD/ATI proprietary video driver from openmamba.org</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
</widget>
<widget class="CheckBox">
<property name="name">
<cstring>inst_nvidia</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>510</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>NVIDIA proprietary video &amp;driver from openmamba.org</string>
</property>
<property name="tristate">
<bool>false</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
@@ -994,7 +1208,7 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<property name="geometry">
<rect>
<x>0</x>
<y>360</y>
<y>370</y>
<width>32</width>
<height>32</height>
</rect>
@@ -1003,22 +1217,61 @@ Warning: you'll have to accept a license agreement for each selected packages.</
<stringlist>
<string>@BackBox.setChecked(true)
@NextBox.setChecked(true)
rpm -q flashplugin &amp;&amp; {
dcop @dcopid KommanderIf setChecked inst_flash false
rpm -q xorg-drv-video-nvidia &amp;&amp; {
dcop @dcopid KommanderIf setEnabled inst_nvidia false
}
rpm -q win32codecs &amp;&amp; {
dcop @dcopid KommanderIf setChecked inst_codecs false
rpm -q xorg-drv-video-nvidia_304 &amp;&amp; {
dcop @dcopid KommanderIf setEnabled inst_nvidia_legacy false
}
rpm -q msttcorefonts &amp;&amp; {
dcop @dcopid KommanderIf setChecked inst_msttcf false
rpm -q xorg-drv-video-fglrx &amp;&amp; {
dcop @dcopid KommanderIf setEnabled inst_fglrx false
}
rpm -q skype &amp;&amp; {
dcop @dcopid KommanderIf setChecked inst_skype false
rpm -q xorg-drv-video-fglrx &amp;&amp; {
dcop @dcopid KommanderIf setEnabled inst_fglrx_legacy false
}
</string>
openmamba-netsrpms -c flashplugin &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_flash false
fi
openmamba-netsrpms -c msttcorefonts &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_msttcf false
fi
openmamba-netsrpms -c win32codecs &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_codecs false
fi
openmamba-netsrpms -c sun-java7 &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_java false
fi
openmamba-netsrpms -c skype &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_skype false
fi
openmamba-netsrpms -c b43-firmware &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_b43 false
fi
openmamba-netsrpms -c spotify &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_spotify false
fi
openmamba-netsrpms -c virtualbox-extension-pack &gt; /dev/null
if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_virtualbox false
fi</string>
</stringlist>
</property>
</widget>
@@ -1086,25 +1339,6 @@ rpm -q skype &amp;&amp; {
</property>
</widget>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>qt_dead_widget_ScriptObject8</cstring>
</property>
<property name="geometry">
<rect>
<x>560</x>
<y>340</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>dcop @dcopid KommanderIf setText logbox "`cat ~/.mambabase.log`"
</string>
</stringlist>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label5_2_2_2</cstring>
@@ -1129,50 +1363,6 @@ rpm -q skype &amp;&amp; {
<set>AlignCenter</set>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>launchinstall</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@NextBox.setChecked(false)
@BackBox.setChecked(false)
conffile=~/.mambabase.conf
cat &gt; $conffile &lt;&lt; _EOF
#
# openmamba installation file
#
# created by mamba installer wizard
#
INSTALL_BASE='@inst_base.checked()'
INSTALL_OFFICE='@inst_office.checked()'
INSTALL_PLAYERS='@inst_players.checked()'
INSTALL_MULTIMEDIA_EDITING='@inst_multimedia_editing.checked()'
INSTALL_INTERNET='@inst_internet.checked()'
INSTALL_GRAPHICS='@inst_graphics.checked()'
INSTALL_GAMES='@inst_games.checked()'
INSTALL_VIRTUALIZATION='@inst_virtualization.checked()'
INSTALL_SERVER='@inst_server.checked()'
INSTALL_DEVEL='@inst_devel.checked()'
INSTALL_FLASH='@inst_flash.checked()'
INSTALL_CODECS='@inst_codecs.checked()'
INSTALL_MSTTCF='@inst_msttcf.checked()'
INSTALL_SKYPE='@inst_skype.checked()'
_EOF
@exec("sh /usr/share/openmamba/mambabase/mambabase.sh -y @dcopid &amp;&gt; ~/.mambabase.log &amp;")
dcop @dcopid KommanderIf execute Timer1</string>
</stringlist>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>progressText</cstring>
@@ -1205,6 +1395,77 @@ dcop @dcopid KommanderIf execute Timer1</string>
<set>AlignTop|AlignHCenter</set>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>qt_dead_widget_ScriptObject8</cstring>
</property>
<property name="geometry">
<rect>
<x>560</x>
<y>340</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>dcop @dcopid KommanderIf setText logbox "`cat ~/.mambabase.log`"
</string>
</stringlist>
</property>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>launchinstall</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@NextBox.setChecked(false)
@BackBox.setChecked(false)
conffile=~/.mambabase.conf
cat &gt; $conffile &lt;&lt; _EOF
#
# openmamba installation file
#
# created by mamba installer wizard
#
INSTALL_BASE='@inst_base.checked()'
INSTALL_OFFICE='@inst_office.checked()'
INSTALL_PLAYERS='@inst_players.checked()'
INSTALL_MULTIMEDIA_EDITING='@inst_multimedia_editing.checked()'
INSTALL_INTERNET='@inst_internet.checked()'
INSTALL_GRAPHICS='@inst_graphics.checked()'
INSTALL_GAMES='@inst_games.checked()'
INSTALL_VIRTUALIZATION='@inst_virtualization.checked()'
INSTALL_SERVER='@inst_server.checked()'
INSTALL_DEVEL='@inst_devel.checked()'
INSTALL_FLASH='@inst_flash.checked()'
INSTALL_CODECS='@inst_codecs.checked()'
INSTALL_MSTTCF='@inst_msttcf.checked()'
INSTALL_SKYPE='@inst_skype.checked()'
INSTALL_NVIDIA='@inst_nvidia.checked()'
INSTALL_NVIDIA_LEGACY='@inst_nvidia_legacy.checked()'
INSTALL_FGLRX='@inst_fglrx.checked()'
INSTALL_FGLRX_LEGACY='@inst_fglrx_legacy.checked()'
INSTALL_B43='@inst_b43.checked()'
INSTALL_JAVA='@inst_java.checked()'
INSTALL_SPOTIFY='@inst_spotify.checked()'
INSTALL_VIRTUALBOX='@inst_virtualbox.checked()'
_EOF
@exec("sh /usr/share/openmamba/mambabase/mambabase.sh -y @dcopid &amp;&gt; ~/.mambabase.log &amp;")
dcop @dcopid KommanderIf execute Timer1</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="QWidget">
<property name="name">

View File

@@ -11,19 +11,20 @@ msgstr ""
# 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:15
#: _from_rc.cc:41
#: _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: 2008-05-28 16:55+0200\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=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: _from_rc.cc:6
@@ -40,19 +41,11 @@ msgstr ""
#: _from_rc.cc:9
msgid ""
"Copyright (c) 2007-2008 by mambaSoft di Silvan Calarco\n"
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
msgstr ""
#: _from_rc.cc:11
msgid "C&heck again"
msgstr ""
#: _from_rc.cc:12
msgid "Conf&igure"
msgstr ""
#: _from_rc.cc:13
msgid ""
"This program will complete the installation by adding the minimum "
"recommended set of packages to the system. Additionally it will let you "
@@ -62,42 +55,50 @@ msgid ""
"center</i> on the tray icon bar."
msgstr ""
#: _from_rc.cc:14
#: _from_rc.cc:12
msgid "<b>Please, press the Next button to continue.</b>"
msgstr ""
#: _from_rc.cc:16
#: _from_rc.cc:14
msgid "C&heck again"
msgstr ""
#: _from_rc.cc:15
msgid "Select installations from network"
msgstr ""
#: _from_rc.cc:17 _from_rc.cc:30
#: _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:18
#: _from_rc.cc:17
msgid "openmamba installation/updates"
msgstr ""
#: _from_rc.cc:19
#: _from_rc.cc:18
msgid "&Games (turacer, pingus, ksudoku, ...)"
msgstr ""
#: _from_rc.cc:20
#: _from_rc.cc:19
msgid "Emulation and virtuali&zation (VirtualBox, kvm, QtEmu, wine, ...)"
msgstr ""
#: _from_rc.cc:21
msgid "Internet communication and p2p (&kopete, pidgin, ekiga, aMule, ...)"
msgstr ""
#: _from_rc.cc:22
#: _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 "Base development packages (gcc, glibc-devel, kernel sources, ...)"
msgid "System &base packages (recommended)"
msgstr ""
#: _from_rc.cc:24
@@ -105,41 +106,41 @@ 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:26
msgid "Audio and Video players (amarok, &xmms, vlc, kaffeine, miro, ...)"
msgstr ""
#: _from_rc.cc:27
msgid "System &base packages (recommended)"
msgid "Internet communication and p2p (&kopete, pidgin, ekiga, aMule, ...)"
msgstr ""
#: _from_rc.cc:28
msgid "Base server packages (apache, postfix, vsftpd, php, m&ysql, ...)"
msgstr ""
#: _from_rc.cc:29
msgid "Select non Open Source components"
msgstr ""
#: _from_rc.cc:31
#: _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 each selected "
"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 "Non Open Source installations/updates"
msgid "NVIDIA propri&etary video driver (legacy) from openmamba.org"
msgstr ""
#: _from_rc.cc:33
msgid "F&lash plugin from adobe.com"
msgid "AMD/ATI proprietary video driver (le&gacy) from openmamba.org"
msgstr ""
#: _from_rc.cc:34
@@ -151,42 +152,62 @@ msgid "MS TrueT&ype core fonts from sourceforge"
msgstr ""
#: _from_rc.cc:36
msgid "Sun Java Developers &Kit (DLJ license)"
msgid "F&lash plugin from adobe.com"
msgstr ""
#: _from_rc.cc:37
msgid "Sun &Java Runtime Environment (DLJ license)"
msgid "S&kype from skype.com"
msgstr ""
#: _from_rc.cc:38
msgid "Skype from skype.com"
msgid "Oracle &Java 7 from oracle.com"
msgstr ""
#: _from_rc.cc:39
msgid "Installation"
msgid "Spot&ify from spotify.com"
msgstr ""
#: _from_rc.cc:40
msgid "Details"
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 "Installation in progress..."
msgid "AMD/ATI proprietary video driver from openmamba.org"
msgstr ""
#: _from_rc.cc:43
msgid "Starting installation of selected components..."
msgid "NVIDIA proprietary video &driver from openmamba.org"
msgstr ""
#: _from_rc.cc:44
msgid "End of installation"
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:46
#: _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="

View File

@@ -1,9 +1,9 @@
# openmamba post installation script
# Copyright (c) 2007-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2007-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# Released under the terms of the GNU GPLv3 License
VERSION=0.3
VERSION=1.0
TEXTDOMAIN=mambabase
TEXTDOMAINDIR=/opt/kde3/share/locale/
INSTALL_DATE=`date +%Y%m%d-%H%M`
@@ -50,7 +50,7 @@ DCOPID=$2
echo $"\
openmamba installation script - version $VERSION
Copyright (c) 2007-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
Copyright (c) 2007-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
"
[ "$DCOPID" ] && dcop $DCOPID KommanderIf setChecked NextBox false
@@ -80,7 +80,14 @@ 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_JRE" = "1" -o "$INSTALL_JDK" = "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_NVIDIA_LEGACY" = "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_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
@@ -163,6 +170,48 @@ if [ "$INSTALL_DEVEL" = "1" ]; then
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 packages"
dcop_write $"Installing/updating NVIDIA proprietary video driver packages..." 10
rpm -q --whatprovides xorg-drv-video-nvidia >/dev/null || apt_get_parsed install -y xorg-drv-video-nvidia
fi
if [ "$INSTALL_NVIDIA_LEGACY" = "1" ]; then
echo $"Installing NVIDIA proprietary (legacy) video driver packages"
dcop_write $"Installing/updating NVIDIA proprietary (legacy) video driver packages..." 10
rpm -q --whatprovides xorg-drv-video-nvidia_304 >/dev/null || apt_get_parsed install -y xorg-drv-video-nvidia_304
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_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
@@ -192,13 +241,19 @@ if [ "$INSTALL_SKYPE" = "1" ]; then
/usr/bin/openmamba-netsrpms skype
fi
if [ "$INSTALL_JAVA" = "1" ]; then
dcop_write $"Installing Oracle Java 7..." 10
/usr/bin/openmamba-netsrpms sun-java7
fi
if [ "$INSTALL_JRE" = "1" ]; then
dcop_write $"Installing Sun Java Runtime Environment..." 10
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS
fi
if [ "$INSTALL_JDK" = "1" ]; then
dcop_write $"Installing Sun Java Developers Kit..." 10
apt_get_parsed install -y $SUN_JAVA_PKGS
elif [ "$INSTALL_JRE" = "1" ]; then
dcop_write $"Installing Sun Java Runtime Environment..." 10
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS
fi
dcop_write $"Installation completed." -1

View File

@@ -38,10 +38,10 @@ msgstr ""
#: _from_rc.cc:9
msgid ""
"Copyright (c) 2007-2011 by Silvan Calarco\n"
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
msgstr ""
"Copyright (c) 2007-2011 by Silvan Calarco\n"
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Expedido según los terminos de la licencia GNU GPL versione 3"
#: _from_rc.cc:10

View File

@@ -38,10 +38,10 @@ msgstr ""
#: _from_rc.cc:9
msgid ""
"Copyright (c) 2007-2011 by Silvan Calarco\n"
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
msgstr ""
"Copyright (c) 2007-2011 by Silvan Calarco\n"
"Copyright (c) 2007-2014 by Silvan Calarco\n"
"Rilasciato secondo i termini della licenza GNU GPL versione 3"
#: _from_rc.cc:10

View File

@@ -1,350 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#: _from_rc.cc:3 _from_rc.cc:4 _from_rc.cc:5 _from_rc.cc:12 _from_rc.cc:42
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-12-27 22:05+0100\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: _from_rc.cc:1
msgid "openmamba base network installations"
msgstr "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 by Silvan Calarco\n"
"Released under the terms of the GNU GPL v3 license"
msgstr ""
"Copyright (c) 2007 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, mysql, ...)"
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"
"\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"
"\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: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 montattio 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/aggironamento 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 openmamba Development packages"
msgstr "Installazione dei pacchetti per lo sviluppo"
#: mambabase.sh:159
msgid "Installing/updating openmamba 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

@@ -1,6 +1,6 @@
[Desktop Entry]
Name=openmamba system report
Name[it]=Report del systema openmamba
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

View File

@@ -850,7 +850,7 @@ problemtext=`echo @problem.text() | sed "s|\"|\\\"|"`
SYSTEM_MANUFACTURER=`dcop @dcopid KommanderIf text Manufacturer` \
SYSTEM_PRODUCT_NAME=`dcop @dcopid KommanderIf text Product` \
SYSTEM_SERIAL_NUMBER=`dcop @dcopid KommanderIf text Serial` \
kdesudo openmamba-makereport @repdir.text() $HOME $inputfile &amp;&gt; $errfile
pkexec openmamba-makereport @repdir.text() $HOME $inputfile &amp;&gt; $errfile
ret=$?
if [ $ret -eq 0 ]; then
dcop @dcopid KommanderIf setChecked NextBox true

View File

@@ -2,7 +2,7 @@
#
# openmamba system report generation tool
#
# Copyright (c) 2008-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
VERSION=20110807
@@ -11,26 +11,20 @@ TEMPFILE=`tempfile`
. ${ROOT}/etc/sysconfig/machine
[ ! "$SYSTEM_MANUFACTURER" -o "$SYSTEM_MANUFACTURER" = "System manufacturer" ] && {
echo -n "Please enter the name of the system manufacturer: "
read SYSTEM_MANUFACTURER
SYSTEM_MANUFACTURER=unknown
}
[ ! "$SYSTEM_PRODUCT_NAME" -o "$SYSTEM_PRODUCT_NAME" = "System Product Name" ] && {
echo -n "Please enter the name of the system product name: "
read SYSTEM_PRODUCT_NAME
SYSTEM_PRODUCT_NAME=unknown
}
[ ! "$SYSTEM_SERIAL_NUMBER" -o "$SYSTEM_SERIAL_NUMBER" = "System Serial Number" ] && {
echo -n "Please enter the name of the system serial number: "
read SYSTEM_SERIAL_NUMBER
SYSTEM_SERIAL_NUMBER=unknown
}
SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr ' ' _`
SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr '-' _`
SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr ' ' _`
SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr '-' _`
SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr ' ' _`
SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr '-' _`
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="openmamba-report-$SYSTEM_MANUFACTURER-$SYSTEM_PRODUCT_NAME-$SYSTEM_SERIAL_NUMBER.txt"
@@ -129,7 +123,7 @@ _EOF
}
echo "openmamba report generation tool $VERSION"
echo "Copyright (c) 2008-2011 by Silvan Calarco"
echo "Copyright (c) 2008-2013 by Silvan Calarco"
echo
[ $UID = 0 ] || {
@@ -178,7 +172,7 @@ 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 "/usr/sbin/lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
catcommand "lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
# system boot problems
catfile /var/log/initd.sysinit.start "system init logfile"

View File

@@ -1,7 +1,7 @@
#!/bin/bash
#
# mambawelcome - start mambawelcome on first time system execution
# Copyright (c) 2007-2009 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2007-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
if [ $UID != 0 ]; then
echo "$0: must be superuser." >&2
@@ -29,9 +29,12 @@ xinit /opt/kde3/bin/kmdr-executor /usr/share/openmamba/mambawelcome/mambawelcome
#/opt/kde3/bin/dcopserver_shutdown
killall -9 dcopserver
[ -e /root/.mambawelcome-not-completed ] && {
if [ -e /root/.mambawelcome-not-completed ]; then
rm -f /root/.mambawelcome-not-completed
halt
}
poweroff
else
systemctl disable mambawelcome.target
systemctl isolate graphical.target
fi
exit 0

View File

@@ -0,0 +1,12 @@
[Unit]
Description=openmamba 2nd stage installation welcome dialog
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
[Service]
ExecStart=/usr/share/openmamba/mambawelcome/mambawelcome
Restart=always
IgnoreSIGPIPE=no
[Install]
WantedBy=mambawelcome.target

View File

@@ -44,6 +44,10 @@ Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
dcop_write $"Configuring..." 5
# update grub device mappings and config
[ -e /usr/sbin/grub-mkdevicemap ] && /usr/sbin/grub-mkdevicemap -n
/usr/sbin/update-grub
[ -r $INPUT_FILE ] || {
echo $"Error: cannot read input file $INPUT_FILE; aborting." >&2
abort
@@ -68,6 +72,7 @@ dcop_write $"Configuring users and host..." 50
echo $"Configuring users and host" | tee -a $LOG_FILE
# configure user
[ "$INSTALL_USER" ] && {
userdel -rf liveuser
useradd $INSTALL_USER \
-c "$INSTALL_USER_FULLNAME" \
-G audio,filesharing,sysadmin,packager,lpadmin,video,nopermfs || {
@@ -144,13 +149,15 @@ sh -c "echo $INSTALL_ROOT_PASSWORD | passwd --stdin" || {
# set hostname and domain
[[ "$INSTALL_HOSTNAME" ]] && {
hostname $INSTALL_HOSTNAME
sed -i "s|HOSTNAME=.*|HOSTNAME=$INSTALL_HOSTNAME|" \
/etc/sysconfig/network
[[ "$INSTALL_DOMAIN" ]] || INSTALL_DOMAIN="localdomain"
sed -i "s|\(127\.0\.0\.1\W*\)\(.*\)|\1 $INSTALL_HOSTNAME.$INSTALL_DOMAIN $INSTALL_HOSTNAME localhost.localdomain localhost|" \
/etc/hosts
if [ "${INSTALL_HOSTNAME/.*}" != "${INSTALL_HOSTNAME}" -o "${INSTALL_DOMAIN}" = "localdomain" ]; then
hostnamectl set-hostname $INSTALL_HOSTNAME
if [ "${INSTALL_DOMAIN}" != "localdomain" ]; then
sed -i "s|\(127\.0\.0\.1\W*\)\(.*\)|\1 $INSTALL_HOSTNAME.$INSTALL_DOMAIN $INSTALL_HOSTNAME localhost.localdomain localhost|" \
/etc/hosts
fi
elif [ "${INSTALL_DOMAIN}" != "localdomain" ]; then
hostnamectl set-hostname $INSTALL_HOSTNAME.$INSTALL_DOMAIN
fi
}
# set samba configuration file
@@ -159,10 +166,6 @@ sh -c "echo $INSTALL_ROOT_PASSWORD | passwd --stdin" || {
sed -i "s|netbios name =.*|netbios name = $INSTALL_HOSTNAME|" /etc/samba/smb.conf
}
# update grub device mappings and config
/usr/sbin/grub-mkdevicemap -n
/usr/sbin/update-grub
# configure suspend (from suspend rpm post script) and recreate mkinitramfs
grep path_to_resume_device_file /etc/suspend.conf && {
SWAPLINE=`/sbin/swapon -s |grep -m1 ^/dev/`

View File

@@ -0,0 +1,17 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Mambawelcome 2nd stage install target
Documentation=man:systemd.special(7)
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
AllowIsolate=yes
[Install]
Alias=default.target

View File

@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms b43-firmware
Icon=network-wireless
MimeType=
Path=
StartupNotify=true
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application

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

@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms flashplugin
Icon=distromenu-flash
MimeType=
Path=
StartupNotify=true
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application

View File

@@ -12,3 +12,4 @@ 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

@@ -12,3 +12,4 @@ 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

@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms skype
Icon=distromenu-skype
MimeType=
Path=
StartupNotify=true
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application

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

@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms virtualbox-extension-pack
Icon=VBox
MimeType=
Path=
StartupNotify=true
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application

View File

@@ -12,3 +12,4 @@ 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.

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

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: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 B

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.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

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.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -2,10 +2,12 @@
#
# netsrpm-install.sh - Build srpms that download sources from network
#
# Copyright (C) 2003-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2003-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
TEXTDOMAINDIR=/usr/share/locale/
TEXTDOMAIN=openmamba-update
me="${0##*/}"
DISTRO_SRPMS_DIR=/usr/share/openmamba/SRPMS
rpmdir=$(rpm --eval=%{_rpmdir} 2>/dev/null)
@@ -13,17 +15,22 @@ 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 [-c] pkgname ...
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
@@ -32,28 +39,26 @@ fi
function check_if_already_installed() {
rpm -q $1 &>/dev/null
if [ $? -eq 0 ]; then
notify-send -i $icon "$pckname" "$pckname: "$"already installed."
else
notify-send -i $icon "$pckname" $"There was an error installing"" $pckname!"
notify-send -a $"Network software installation" -i $icon "$pckname" "$pckname: "$"already installed."
fi
}
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/netsrpminstall || exit 1
for pckname in $PACKAGES; do
icon=`grep Icon= /usr/share/applications/openmamba-$pckname.desktop | sed "s|Icon=||"`
SRPM_PATH=$DISTRO_SRPMS_DIR/${pckname}
SPEC_PATHNAME=$SRPM_PATH/${pckname}.spec
SRPM_NAME=`\
find $DISTRO_SRPMS_DIR \
-regex ".*/${pckname//+/\\+}-[^-]*-[^-]*" -printf "%f " 2>/dev/null`
[ "$SRPM_NAME" ] || {
echo "$me: $pckname is missing in $DISTRO_SRPMS_DIR; aborting."
[ -r "$SPEC_PATHNAME" ] || {
echo $"$me: $pckname is missing in $DISTRO_SRPMS_DIR; aborting."
exit 255
}
SRPM_VERSION=`\
echo $SRPM_NAME | \
sed "s|${pckname//+/\\+}-\([^-]*-[^-]*\).src.rpm|\1|" 2>/dev/null`
icon=`grep Icon= /usr/share/applications/openmamba-$pckname.desktop | sed "s|Icon=||"`
SRPM_VERSION=${SRPMVERSION[${pckname}]}-${SRPMRELEASE[${pckname}]}
RPM_INSTALLED=`rpm -q $pckname`
[ $? -eq 0 ] || RPM_INSTALLED=
@@ -62,9 +67,9 @@ for pckname in $PACKAGES; do
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 $"Package name: $pckname"
echo $"Installed version: $RPM_INSTALLED_VERSION"
echo $"Last version: $SRPM_VERSION"
echo
if [ "$RPM_INSTALLED_VERSION" != "$SRPM_VERSION" ]; then
@@ -73,71 +78,87 @@ for pckname in $PACKAGES; do
elif [ "$UPGRADE_MODE" ]; then
continue
fi
elif [ "$UPGRADE_MODE" ]; then
elif [ ! "$FORCE_MODE" ]; then
continue
fi
if [ ! "$CHECK_MODE" ]; then
SRPM_PATH=${DISTRO_SRPMS_DIR}/${SRPM_NAME}
if [ ! -f $SRPM_PATH ]; then
echo "$me: "$"missing SRPM \`$SRPM_PATH'."" "$"Aborting..." >&2
exit 255
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
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
}
# get license agreement
( rpm2cpio $SRPM_PATH > $tmpfile &&
cd $tmpdir &&
cpio --quiet --extract --make-directories < $tmpfile ) 2>/dev/null
if [ -f $tmpdir/LICENSE ]; then
license-dialog $tmpdir/LICENSE
[ $? -ne 0 ] && exit 1
fi
notify-send -i $icon "$pckname" $"$pckname installation in progress..."
notify-send -a $"Network software installation" -i $icon "$pckname" $"$pckname installation in progress..."
# build rpm
echo "$me: "$"rebuilding package \`$SRPM_PATH'..."
rpmbuild --rebuild $SRPM_PATH --define="%_rpmdir $tmpdir"
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 \`$SRPM_PATH'."" "$"Aborting..." >&2
check_if_already_installed $pckname
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
sudo rpm -hUv --force $RPM_PATH
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 \`$SRPM_PATH'."" "$"Aborting..." >&2
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 -i $icon "$pckname" $"Installation of $pckname successfully completed."
notify-send -a $"Network software installation" -i $icon "$pckname" $"Installation of $pckname successfully completed."
else
notify-send -i $icon "$pckname" $"There was an error installing $pckname!"
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing $pckname!"
fi
rm -rf $tmpdir $tmpfile
fi
done
[ "$UPDATE_NEEDED" ] && {
echo "Update needed."
exit 1
}
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

@@ -35,7 +35,7 @@ script_name="$(basename $0 2>/dev/null)"
function usage() {
echo "Usage: $script_name [OPTION][groupname ..]
echo $"Usage: $script_name [OPTION][groupname ..]
Options:
-f, --full
@@ -77,7 +77,7 @@ while [ "$1" ]; do
shift
done
[ "$list_mode" ] && echo "Available installation groups (*=installed,+=needs update):"
[ "$list_mode" ] && echo $"Available installation groups (*=installed,+=needs update):"
for i in `seq 1 ${#PKG_GROUPS[*]}`; do
eval instpkgs=(\$`echo ${PKG_GROUPS[$i-1]}`)
totpkgs=`expr $totpkgs + ${#instpkgs[*]}`
@@ -117,14 +117,14 @@ if [ "$installnames" ]; then
done
done
elif [ "$needupdategroups" ]; then
echo -n "The following groups need to be updated: "
echo -n $"The following groups need to be updated: "
for n in $needupdategroups; do
echo -n "${PKG_NAMES[$n]} "
installgroups="$installgroups $n"
done
echo
[ "$assume_yes" ] || {
echo -n "Proceed with update [Y/n]?"
echo -n $"Proceed with update [Y/n]?"
read ans
[ "$ans" = "n" -o "$ans" = "N" ] && exit 0
}

132
openmamba-update/po/it.po Normal file
View File

@@ -0,0 +1,132 @@
#: openmamba-netsrpms:21
msgid "Error: invalid option $1; aborting."
msgstr "Errore: opzione $1 non valida; uscita."
#: openmamba-netsrpms:28
msgid ""
"Usage:\n"
"$me [options...] pkgname ...\n"
"\n"
"Options:\n"
"-c: only check and exit (returns: 0: up-to-date; 1: needs update; 2: not installed)\n"
"-f: force reinstallation if already installed\n"
"-u: only upgrade if already installed\n"
""
msgstr ""
"Uso:\n"
"$me [opzioni...] pkgname ...\n"
"\n"
"Opzioni:\n"
"-c: controlla soltanto ed esci (ritorna: 0: aggiornato; 1: richiede aggiornamento; 2: non installato)\n"
"-f: forza la reinstallazione se già installato\n"
"-u: aggiorna soltanto se già installato\n"
""
#: openmamba-netsrpms:42
msgid "Network software installation"
msgstr "Installazione di software dalla rete"
#: openmamba-netsrpms:42
msgid "already installed."
msgstr "già installato"
#: openmamba-netsrpms:55
msgid "$me: $pckname is missing in $DISTRO_SRPMS_DIR; aborting."
msgstr "$me: $pckname non è presente in $DISTRO_SRPMS_DIR; uscita."
#: openmamba-netsrpms:70
msgid "Package name: $pckname"
msgstr "Nome pacchetto: $pckname"
#: openmamba-netsrpms:71
msgid "Installed version: $RPM_INSTALLED_VERSION"
msgstr "Versione installata: $RPM_INSTALLED_VERSION"
#: openmamba-netsrpms:72
msgid "Last version: $SRPM_VERSION"
msgstr "Ultima versione: $SRPM_VERSION"
#: openmamba-netsrpms:89
msgid "missing SRPM \\`$SRPM_PATH'."
msgstr "SRPM mancante \\`$SRPM_PATH'."
#: openmamba-netsrpms:89
msgid "Aborting..."
msgstr "Uscita..."
#: openmamba-netsrpms:94
msgid "error: cannot create temporary files; aborting."
msgstr "errore: non posso creare files temporanei; uscita."
#: openmamba-netsrpms:99
msgid "error: cannot create temporary directory; aborting."
msgstr "errore: non posso creare una cartella temporanea; uscita."
#: openmamba-netsrpms:113
msgid "You must accept the following license terms:"
msgstr "Devi accettare i termini della seguente licenza:"
#: openmamba-netsrpms:116
msgid "Do you agree with the above license terms [y/N]? "
msgstr "Accetti i suddetti termini di licenza [s/N]? "
#: openmamba-netsrpms:122
msgid "$pckname installation in progress..."
msgstr "Installazione di $pckname in corso..."
#: openmamba-netsrpms:125
msgid "rebuilding package \\`$SRPM_PATH'..."
msgstr "ricreazione del pacchetto \\`$SRPM_PATH'..."
#: openmamba-netsrpms:128
msgid "error rebuilding \\`$SRPM_PATH'."
msgstr "errore nella ricreazione di \\`$SRPM_PATH'."
#: openmamba-netsrpms:129
msgid "There was an error installing"
msgstr "C'è stato un errore nell'installazione di"
#: openmamba-netsrpms:140
msgid "error installing \\`$RPM_PATH'."
msgstr "errore nell'installazione di \\`$RPM_PATH'."
#: openmamba-netsrpms:147
msgid "Installation of $pckname successfully completed."
msgstr "Installazione di $pckname completata con successo."
#: openmamba-netsrpms:149
msgid "There was an error installing $pckname!"
msgstr "C'è stato un errore nell'installazione di $pckname!"
#: openmamba-netsrpms:157
msgid "Update needed."
msgstr "Aggiornamento necessario."
#: openmamba-update:28
msgid ""
"openmamba update script - version $VERSION\n"
"Copyright (c) 2011 by Silvan Calarco <silvan.calarco@mambasoft.it>\n"
""
msgstr ""
"Script di aggiornamento di openmamba - versione $VERSION\n"
"Copyright (c) 2011 by Silvan Calarco <silvan.calarco@mambasoft.it>\n"
""
#: openmamba-update:38
msgid ""
"Usage: $script_name [OPTION][groupname ..]\n"
"\n"
"Options:\n"
" -f, --full\n"
" Perform a full update\n"
" -h, --help\n"
" Display this message.\n"
" -l, --list\n"
" List available groups and exit\n"
" -v, --verbose\n"
" Produce mode verbose output\n"
" -y, --assume-yes\n"
" Assume yes to all answers"
msgstr ""
"Uso: $script_name [OPZIONE][nomegruppo ..]\n"
"\n"
"Opzioni:\n"
" -f, --full\n"
" Effettua un aggiornamento completo\n"
" -h, --help\n"
" Mostra questo messaggio.\n"
" -l, --list\n"
" Elenca i gruppi disponibili ed esci\n"
" -v, --verbose\n"
" Produci un output dettagliato\n"
" -y, --assume-yes\n"
" Assumi 'si' a tutte le risposte"
#: openmamba-update:80
msgid "Available installation groups (*=installed,+=needs update):"
msgstr "Gruppi di installazione disponibili (*=installato,+=richiede aggiornamento):"
#: openmamba-update:120
msgid "The following groups need to be updated: "
msgstr "I seguenti gruppi necessitano di essere aggiornati: "
#: openmamba-update:127
msgid "Proceed with update [Y/n]?"
msgstr "Procedere con l'aggiornamento [S/n]?"
#: openmamba-update:143
msgid "Installing: ${finalinstalllist[*]}"
msgstr "Installazione: ${finalinstalllist[*]}"