mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-slava86.git
synced 2025-02-24 07:52:54 +00:00
initial import
This commit is contained in:
parent
a5c5d5eec1
commit
e11dd6ebfd
5 changed files with 394 additions and 1 deletions
3
.abf.yml
3
.abf.yml
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
sources: {}
|
||||
sources:
|
||||
chromium-19.0.1084.56.tar.xz: 0edcb3e8434cf34755c75914d49421caca06de78
|
||||
|
|
0
blank
0
blank
175
chromium-browser-stable.spec
Normal file
175
chromium-browser-stable.spec
Normal file
|
@ -0,0 +1,175 @@
|
|||
%define revision 06092012
|
||||
%define crname chromium-browser
|
||||
%define _crdir %{_libdir}/%{crname}
|
||||
%define basever 19.0.1084.56
|
||||
%define _src %{_topdir}/SOURCES
|
||||
|
||||
|
||||
Name: chromium-browser-stable
|
||||
Version: %{basever}
|
||||
Release: %mkrel 1
|
||||
Summary: A fast webkit-based web browser
|
||||
Group: Networking/WWW
|
||||
License: BSD, LGPL
|
||||
Source0: chromium-%{basever}.tar.xz
|
||||
Source1: chromium-wrapper
|
||||
Source2: chromium-browser.desktop
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildRequires: bison, flex, gtk2-devel, atk-devel, libexpat-devel, gperf
|
||||
BuildRequires: nspr-devel, nss-devel, libalsa-devel
|
||||
BuildRequires: libglib2-devel, libbzip2-devel, zlib-devel, libpng-devel
|
||||
BuildRequires: libjpeg-devel, libmesagl-devel, libmesaglu-devel
|
||||
BuildRequires: libxscrnsaver-devel, libdbus-glib-devel, cups-devel
|
||||
BuildRequires: libgnome-keyring-devel libvpx-devel libxtst-devel
|
||||
BuildRequires: libxslt-devel libxml2-devel libxt-devel pam-devel
|
||||
BuildRequires: libevent-devel libflac-devel libpulseaudio-devel
|
||||
BuildRequires: elfutils-devel udev-devel
|
||||
ExclusiveArch: i586 x86_64 armv7l
|
||||
|
||||
%description
|
||||
Chromium is a browser that combines a minimal design with sophisticated
|
||||
technology to make the web faster, safer, and easier.
|
||||
|
||||
This is the stable channel Chromium browser. It offers a rock solid
|
||||
browser which is updated with features and fixes once they have been
|
||||
thoroughly tested. If you want the latest features, install the
|
||||
chromium-browser-unstable package instead.
|
||||
|
||||
Note: If you are reverting from unstable to stable or beta channel, you may
|
||||
experience tab crashes on startup. This crash only affects tabs restored
|
||||
during the first launch due to a change in how tab state is stored.
|
||||
See http://bugs.chromium.org/34688. It's always a good idea to back up
|
||||
your profile before changing channels.
|
||||
|
||||
%package -n chromium-browser
|
||||
Summary: A fast webkit-based web browser (transition package)
|
||||
Epoch: 1
|
||||
Group: Networking/WWW
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n chromium-browser
|
||||
Chromium is a browser that combines a minimal design with sophisticated
|
||||
technology to make the web faster, safer, and easier.
|
||||
|
||||
This is a transition package that installs the stable channel Chromium
|
||||
browser. If you prefer the dev channel browser, install the
|
||||
chromium-browser-unstable package instead.
|
||||
|
||||
%prep
|
||||
%setup -q -n chromium-%{basever}
|
||||
|
||||
|
||||
echo "%{revision}" > build/LASTCHANGE.in
|
||||
|
||||
# Hard code extra version
|
||||
FILE=chrome/common/chrome_version_info_posix.cc
|
||||
sed -i.orig -e 's/getenv("CHROME_VERSION_EXTRA")/"%{product_vendor} %{product_version}"/' $FILE
|
||||
cmp $FILE $FILE.orig && exit 1
|
||||
|
||||
%build
|
||||
export GYP_GENERATORS=make
|
||||
build/gyp_chromium --depth=. \
|
||||
-D linux_sandbox_path=%{_crdir}/chrome-sandbox \
|
||||
-D linux_sandbox_chrome_path=%{_crdir}/chrome \
|
||||
-D linux_link_gnome_keyring=0 \
|
||||
-D use_gconf=0 \
|
||||
-D werror='' \
|
||||
-D use_system_sqlite=0 \
|
||||
-D use_system_libxml=1 \
|
||||
-D use_system_zlib=1 \
|
||||
-D use_system_bzip2=1 \
|
||||
-D use_system_libpng=1 \
|
||||
-D use_system_libjpeg=1 \
|
||||
-D use_system_libevent=1 \
|
||||
-D use_system_flac=0 \
|
||||
-D use_system_vpx=0 \
|
||||
-D use_system_icu=0 \
|
||||
%ifarch i586
|
||||
-D disable_sse2=1 \
|
||||
-D release_extra_cflags="-march=i586"
|
||||
%endif
|
||||
%ifarch armv7l
|
||||
-D target_arch=arm \
|
||||
-D disable_nacl=1 \
|
||||
-D linux_use_tcmalloc=0 \
|
||||
-D armv7=1 \
|
||||
-D release_extra_cflags="-marm"
|
||||
%endif
|
||||
|
||||
# Note: DON'T use system sqlite (3.7.3) -- it breaks history search
|
||||
|
||||
%make chrome chrome_sandbox BUILDTYPE=Release
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_crdir}/locales
|
||||
mkdir -p %{buildroot}%{_crdir}/themes
|
||||
mkdir -p %{buildroot}%{_crdir}/default_apps
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
install -m 755 %{_src}/chromium-wrapper %{buildroot}%{_crdir}/
|
||||
install -m 755 out/Release/chrome %{buildroot}%{_crdir}/
|
||||
install -m 4755 out/Release/chrome_sandbox %{buildroot}%{_crdir}/chrome-sandbox
|
||||
install -m 644 out/Release/chrome.1 %{buildroot}%{_mandir}/man1/%{crname}.1
|
||||
install -m 644 out/Release/chrome.pak %{buildroot}%{_crdir}/
|
||||
install -m 755 out/Release/libffmpegsumo.so %{buildroot}%{_crdir}/
|
||||
%ifnarch armv7l
|
||||
install -m 755 out/Release/libppGoogleNaClPluginChrome.so %{buildroot}%{_crdir}/
|
||||
install -m 755 out/Release/nacl_helper_bootstrap %{buildroot}%{_crdir}/
|
||||
install -m 755 out/Release/nacl_helper %{buildroot}%{_crdir}/
|
||||
install -m 644 out/Release/nacl_irt_*.nexe %{buildroot}%{_crdir}/
|
||||
%endif
|
||||
install -m 644 out/Release/locales/*.pak %{buildroot}%{_crdir}/locales/
|
||||
install -m 755 out/Release/xdg-mime %{buildroot}%{_crdir}/
|
||||
install -m 755 out/Release/xdg-settings %{buildroot}%{_crdir}/
|
||||
install -m 644 out/Release/resources.pak %{buildroot}%{_crdir}/
|
||||
install -m 644 chrome/browser/resources/default_apps/* %{buildroot}%{_crdir}/default_apps/
|
||||
ln -s %{_crdir}/chromium-wrapper %{buildroot}%{_bindir}/%{crname}
|
||||
|
||||
find out/Release/resources/ -name "*.d" -exec rm {} \;
|
||||
cp -r out/Release/resources %{buildroot}%{_crdir}
|
||||
|
||||
# desktop file
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
install -m 644 %{_src}/%{crname}.desktop %{buildroot}%{_datadir}/applications/
|
||||
|
||||
# icon
|
||||
for i in 16 22 24 26 32 48 64 128 256; do
|
||||
mkdir -p %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps
|
||||
install -m 644 chrome/app/theme/chromium/product_logo_$i.png \
|
||||
%{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps/%{crname}.png
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/%{crname}
|
||||
%{_crdir}/chromium-wrapper
|
||||
%{_crdir}/chrome
|
||||
%{_crdir}/chrome-sandbox
|
||||
%{_crdir}/chrome.pak
|
||||
%{_crdir}/libffmpegsumo.so
|
||||
%ifnarch armv7l
|
||||
%{_crdir}/libppGoogleNaClPluginChrome.so
|
||||
%{_crdir}/nacl_helper_bootstrap
|
||||
%{_crdir}/nacl_helper
|
||||
%{_crdir}/nacl_irt_*.nexe
|
||||
%endif
|
||||
%{_crdir}/locales
|
||||
%{_crdir}/resources.pak
|
||||
%{_crdir}/resources
|
||||
%{_crdir}/themes
|
||||
%{_crdir}/default_apps
|
||||
%{_crdir}/xdg-mime
|
||||
%{_crdir}/xdg-settings
|
||||
%{_mandir}/man1/%{crname}*
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_iconsdir}/hicolor/*/apps/%{crname}.png
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
* Wed Jun 20 2012 Sergey Voronin <sergey.voronin@osinit.ru> - 19.0.1084.56-1
|
||||
- New upstream stable release
|
190
chromium-browser.desktop
Normal file
190
chromium-browser.desktop
Normal file
|
@ -0,0 +1,190 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Chromium Web Browser
|
||||
Name[ar]=مُتصفح الوِب فيَرفُكس
|
||||
Name[bg]=Chromium уеб клиент
|
||||
Name[ca]=Navegador web Chromium
|
||||
Name[cs]=Webový prohlížeč Chromium
|
||||
Name[cy]=Porwr Gwe Chromium
|
||||
Name[da]=Chromium netlæser
|
||||
Name[de]=Chromium Webbrowser
|
||||
Name[el]=Chromium Περιηγητής Ιστοσελίδων
|
||||
Name[es]=Navegador web Chromium
|
||||
Name[et]=Chromium veebibrauser
|
||||
Name[eu]=Chromium Web Arakatzailea
|
||||
Name[fa]=مرورگر اینترنتی Chromium
|
||||
Name[fi]=Chromium-selain
|
||||
Name[fr]=Navigateur Web Chromium
|
||||
Name[gl]=Navegador Web Chromium
|
||||
Name[he]=דפדפן אינטרנט - פיירפוקס
|
||||
Name[hu]=Chromium webböngésző
|
||||
Name[is]=Chromium Vef-Vafri
|
||||
Name[it]=Browser web Chromium
|
||||
Name[ja]=Chromium ウェブブラウザ
|
||||
Name[ko]=Chromium 웹 브라우저
|
||||
Name[ky]=Chromium веб аралагычы
|
||||
Name[nb]=Chromium nettleser
|
||||
Name[nl]=Chromium webbrowser
|
||||
Name[nn]=Chromium nettlesar
|
||||
Name[pl]=Przeglądarka Chromium
|
||||
Name[pt]=Navegador Web Chromium
|
||||
Name[pt_BR]=Chromium
|
||||
Name[ro]=Navigatorul Chromium
|
||||
Name[ru]=Браузер Chromium
|
||||
Name[sk]=Internetový prehliadač Chromium
|
||||
Name[sl]=Spletni brskalnik Chromium
|
||||
Name[sv]=Webbläsaren Chromium
|
||||
Name[tr]=Chromium Ağ Tarayıcısı
|
||||
Name[uk]=Навігатор тенет Chromium
|
||||
Name[zh_CN]=Chromium Web 浏览器
|
||||
Name[zh_TW]=Chromium 網頁瀏覽器
|
||||
GenericName=Web Browser
|
||||
GenericName[af]=Web Blaaier
|
||||
GenericName[ar]=متصفّح وِب
|
||||
GenericName[as]=ৱেব চৰক
|
||||
GenericName[az]=Veb Səyyahı
|
||||
GenericName[be]=Гартач сеціва
|
||||
GenericName[bg]=Уеб браузър
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[br]=Furcher ar Gwiad
|
||||
GenericName[bs]=Web preglednik
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Prohlížeč WWW
|
||||
GenericName[cy]=Porwr Gwe
|
||||
GenericName[da]=Internetbrowser
|
||||
GenericName[de]=Webbrowser
|
||||
GenericName[el]=Περιηγητής ιστοσελίδων
|
||||
GenericName[eo]=TTT-legilo
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebisirvija
|
||||
GenericName[eu]=Web arakatzailea
|
||||
GenericName[fa]=مرورگر وب
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fo]=Vevlesari
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[ga]=Brabhsálaí Lín
|
||||
GenericName[gl]=Navegador web
|
||||
GenericName[gu]=વેબ બ્રાઉઝર
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hi]=वेब ब्राउज़र
|
||||
GenericName[hr]=Web pretraživač
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[id]=Browser Web
|
||||
GenericName[is]=Vafri
|
||||
GenericName[it]=Browser web
|
||||
GenericName[ja]=GNOME ウェブ・ブラウザ
|
||||
GenericName[ka]=ვებ ბრაუზერი
|
||||
GenericName[kn]=ಜಾಾಲ ವೀಕ್ಷಕ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[ku]=Geroka Torê
|
||||
GenericName[ky]=Web Браузер
|
||||
GenericName[li]=Wèb Browser
|
||||
GenericName[lo]=ຮງກເບິ່ງຖານເບິ່ງຂໍ້ມູນ
|
||||
GenericName[lt]=Žiniatinklio naršyklė
|
||||
GenericName[lv]=Tīmekļa pārlūkprogramma
|
||||
GenericName[mk]=Веб прелистувач
|
||||
GenericName[ml]=വെബ് ബ്രൌസര്
|
||||
GenericName[mn]=Вэб-Хөтөч
|
||||
GenericName[mr]=वेब ब्राउझर
|
||||
GenericName[ms]=Pelungsur Web
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nds]=Nettkieker
|
||||
GenericName[ne]=वेब ब्राउजर
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[nn]=Nettlesar
|
||||
GenericName[oc]=Navegaire web
|
||||
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
|
||||
GenericName[pa]=ਵੈੱਬ ਬਰਾਊਜ਼ਰ
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador Web
|
||||
GenericName[ro]=Navigator Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[se]=Fierpmádatlogan
|
||||
GenericName[sk]=Webový prehliadač
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sq]=Shfletuesi Web
|
||||
GenericName[sr]=Интернет прегледник
|
||||
GenericName[sr@Latn]=Internet preglednik
|
||||
GenericName[ss]=Ibrawuza ye-Web
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[ta]=இணைய உலாவி
|
||||
GenericName[tg]=Тафсири веб
|
||||
GenericName[th]=เว็บเบราว์เซอร์
|
||||
GenericName[tk]=Web Ahtarçysy
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[uk]=Переглядач веб-сторінок
|
||||
GenericName[ur]=ویب براؤزر
|
||||
GenericName[uz]=Veb-brauzer
|
||||
GenericName[uz@cyrillic]=Веб-браузер
|
||||
GenericName[vi]=Bộ duyệt Web
|
||||
GenericName[wa]=Betchteu waibe
|
||||
GenericName[xh]=Umkhangeli zincwadi we Web
|
||||
GenericName[zh_CN]=Web 浏览器
|
||||
GenericName[zh_TW]=網頁瀏覽器
|
||||
Comment=Browse the Web
|
||||
Comment[af]=Blaai die Web
|
||||
Comment[am]=ዌብን ይቃኙ
|
||||
Comment[ar]=تصفّح الوِب
|
||||
Comment[az]=Vebdə gəz
|
||||
Comment[bg]=Сърфиране из интернет
|
||||
Comment[bn]=ওয়েব ব্রাউজ করুন
|
||||
Comment[bs]=Pretražujte web
|
||||
Comment[ca]=Navega pel web
|
||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
||||
Comment[cy]=Pori'r We
|
||||
Comment[da]=Surf på internettet
|
||||
Comment[de]=Im Internet surfen
|
||||
Comment[el]=Περιηγηθείτε στο Διαδίκτυο
|
||||
Comment[eo]=Foliumi la TTT-on
|
||||
Comment[es]=Navegue por la web
|
||||
Comment[et]=Veebi sirvimine
|
||||
Comment[eu]=Web-a arakatu
|
||||
Comment[fa]=مرور بر وب
|
||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
||||
Comment[fr]=Navigue sur Internet
|
||||
Comment[fur]=Navighe tal Web
|
||||
Comment[hi]=वेब पर ब्राउज करें
|
||||
Comment[hr]=Pregledaj Web
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[hy]=Զբոսնել Ցանցում
|
||||
Comment[is]=Flakka á vefnum
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ka]=ინტერნეტში გასეირნება
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[ku]=Geryana Înternet
|
||||
Comment[ky]=Вебди аралоо
|
||||
Comment[lv]=Pārlūkojiet Web
|
||||
Comment[mt]=Ibbrawżja l-web
|
||||
Comment[nb]=Surf på nettet
|
||||
Comment[nl]=Verken het internet
|
||||
Comment[nn]=Surf på nettet
|
||||
Comment[pl]=Przeglądanie stron WWW
|
||||
Comment[pt]=Navegue na Internet
|
||||
Comment[pt_BR]=Navegar na Web
|
||||
Comment[ro]=Navigați pe Web
|
||||
Comment[ru]=Веб-навигация
|
||||
Comment[sc]=Sfollya s'arretza
|
||||
Comment[sk]=Prezerať Web
|
||||
Comment[sl]=Brskanje po spletu
|
||||
Comment[sq]=Shfletues Web
|
||||
Comment[sr@Latn]=Pretražite Internet
|
||||
Comment[sv]=Surfa på webben
|
||||
Comment[ta]=வலையத்ைத மேலோட
|
||||
Comment[tg]=Шабакаро баррасӣ кунед
|
||||
Comment[th]=Browse the Web
|
||||
Comment[tl]=I-browse ang Web
|
||||
Comment[tr]=Web' de gezin
|
||||
Comment[uk]=Переглядайте Тенета
|
||||
Comment[vi]=Duyệt web
|
||||
Comment[wa]=Naivyî so les pådjes waibe
|
||||
Comment[zh_CN]=浏览 Web
|
||||
Comment[zh_TW]=瀏覽網頁
|
||||
Exec=chromium-browser %u
|
||||
Icon=chromium-browser
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=Chromium-browser
|
||||
MimeType=application/x-extension-htm;application/x-extension-html;application/x-extension-shtml;application/x-extension-xht;application/x-extension-xhtml;application/xhtml+xml;text/html;x-scheme-handler/chrome;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;
|
||||
Categories=GTK;Network;WebBrowser;X-MandrivaLinux-Internet-WebBrowsers;X-MandrivaLinux-CrossDesktop;
|
27
chromium-wrapper
Normal file
27
chromium-wrapper
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Let the wrapped binary know that it has been run through the wrapper
|
||||
export CHROME_WRAPPER="`readlink -f "$0"`"
|
||||
|
||||
PROGDIR="`dirname "$CHROME_WRAPPER"`"
|
||||
|
||||
case ":$PATH:" in
|
||||
*:$PROGDIR:*)
|
||||
# $PATH already contains $PROGDIR
|
||||
;;
|
||||
*)
|
||||
# Append $PROGDIR to $PATH
|
||||
export PATH="$PATH:$PROGDIR"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Always use our versions of ffmpeg libs.
|
||||
# This also makes RPMs find the compatibly-named NSS3/NSPR symlinks.
|
||||
LD_LIBRARY_PATH="$PROGDIR:$PROGDIR/lib:$LD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
exec -a "$0" "$PROGDIR/chrome" "$@"
|
Loading…
Add table
Reference in a new issue