Remove chromium-unstable pkg (useless).
This commit is contained in:
parent
ca72cf402c
commit
6e54bdd2c0
|
@ -1,49 +0,0 @@
|
||||||
libm.so.6
|
|
||||||
libgcc_s.so.1
|
|
||||||
libpthread.so.0
|
|
||||||
libc.so.6
|
|
||||||
libX11.so.6
|
|
||||||
libXrender.so.1
|
|
||||||
libXss.so.1
|
|
||||||
libXext.so.6
|
|
||||||
librt.so.1
|
|
||||||
libdl.so.2
|
|
||||||
libgobject-2.0.so.0
|
|
||||||
libgthread-2.0.so.0
|
|
||||||
libglib-2.0.so.0
|
|
||||||
libgtk-x11-2.0.so.0
|
|
||||||
libgdk-x11-2.0.so.0
|
|
||||||
libpangocairo-1.0.so.0
|
|
||||||
libgdk_pixbuf-2.0.so.0
|
|
||||||
libcairo.so.2
|
|
||||||
libpango-1.0.so.0
|
|
||||||
libfreetype.so.6
|
|
||||||
libfontconfig.so.1
|
|
||||||
libevent-2.0.so.5
|
|
||||||
libnss3.so
|
|
||||||
libsmime3.so
|
|
||||||
libnssutil3.so
|
|
||||||
libplc4.so
|
|
||||||
libnspr4.so
|
|
||||||
libz.so.1
|
|
||||||
libicui18n.so.46
|
|
||||||
libicuuc.so.46
|
|
||||||
libpng14.so.14
|
|
||||||
libjpeg.so.8
|
|
||||||
libxml2.so.2
|
|
||||||
libasound.so.2
|
|
||||||
libwebp.so.2
|
|
||||||
libxslt.so.1
|
|
||||||
libbz2.so.1
|
|
||||||
libexpat.so.1
|
|
||||||
libFLAC.so.8
|
|
||||||
libspeex.so.1
|
|
||||||
libdbus-1.so.3
|
|
||||||
libstdc++.so.6
|
|
||||||
libv8.so
|
|
||||||
libgconf-2.so.4
|
|
||||||
libXfixes.so.3
|
|
||||||
libpulse.so.0
|
|
||||||
libgnome-keyring.so.0
|
|
||||||
libXcomposite.so.1
|
|
||||||
libudev.so.0
|
|
|
@ -1,113 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Name=Chromium
|
|
||||||
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
|
|
||||||
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
|
|
||||||
GenericName=Web Browser
|
|
||||||
GenericName[ar]=متصفح الشبكة
|
|
||||||
GenericName[bg]=Уеб браузър
|
|
||||||
GenericName[ca]=Navegador web
|
|
||||||
GenericName[cs]=WWW prohlížeč
|
|
||||||
GenericName[da]=Browser
|
|
||||||
GenericName[de]=Web-Browser
|
|
||||||
GenericName[el]=Περιηγητής ιστού
|
|
||||||
GenericName[en_GB]=Web Browser
|
|
||||||
GenericName[es]=Navegador web
|
|
||||||
GenericName[et]=Veebibrauser
|
|
||||||
GenericName[fi]=WWW-selain
|
|
||||||
GenericName[fr]=Navigateur Web
|
|
||||||
GenericName[gu]=વેબ બ્રાઉઝર
|
|
||||||
GenericName[he]=דפדפן אינטרנט
|
|
||||||
GenericName[hi]=वेब ब्राउज़र
|
|
||||||
GenericName[hu]=Webböngésző
|
|
||||||
GenericName[it]=Browser Web
|
|
||||||
GenericName[ja]=ウェブブラウザ
|
|
||||||
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
|
|
||||||
GenericName[ko]=웹 브라우저
|
|
||||||
GenericName[lt]=Žiniatinklio naršyklė
|
|
||||||
GenericName[lv]=Tīmekļa pārlūks
|
|
||||||
GenericName[ml]=വെബ് ബ്രൌസര്
|
|
||||||
GenericName[mr]=वेब ब्राऊजर
|
|
||||||
GenericName[nb]=Nettleser
|
|
||||||
GenericName[nl]=Webbrowser
|
|
||||||
GenericName[pl]=Przeglądarka WWW
|
|
||||||
GenericName[pt]=Navegador Web
|
|
||||||
GenericName[pt_BR]=Navegador da Internet
|
|
||||||
GenericName[ro]=Navigator de Internet
|
|
||||||
GenericName[ru]=Веб-браузер
|
|
||||||
GenericName[sl]=Spletni brskalnik
|
|
||||||
GenericName[sv]=Webbläsare
|
|
||||||
GenericName[ta]=இணைய உலாவி
|
|
||||||
GenericName[th]=เว็บเบราว์เซอร์
|
|
||||||
GenericName[tr]=Web Tarayıcı
|
|
||||||
GenericName[uk]=Навігатор Тенет
|
|
||||||
GenericName[zh_CN]=网页浏览器
|
|
||||||
GenericName[zh_HK]=網頁瀏覽器
|
|
||||||
GenericName[zh_TW]=網頁瀏覽器
|
|
||||||
# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
|
|
||||||
GenericName[bn]=ওয়েব ব্রাউজার
|
|
||||||
GenericName[fil]=Web Browser
|
|
||||||
GenericName[hr]=Web preglednik
|
|
||||||
GenericName[id]=Browser Web
|
|
||||||
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
|
|
||||||
GenericName[sk]=WWW prehliadač
|
|
||||||
GenericName[sr]=Интернет прегледник
|
|
||||||
GenericName[te]=మహాతల అన్వేషి
|
|
||||||
GenericName[vi]=Bộ duyệt Web
|
|
||||||
# Gnome and KDE 3 uses Comment.
|
|
||||||
Comment=Access the Internet
|
|
||||||
Comment[ar]=الدخول إلى الإنترنت
|
|
||||||
Comment[bg]=Достъп до интернет
|
|
||||||
Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
|
|
||||||
Comment[ca]=Accedeix a Internet
|
|
||||||
Comment[cs]=Přístup k internetu
|
|
||||||
Comment[da]=Få adgang til internettet
|
|
||||||
Comment[de]=Internetzugriff
|
|
||||||
Comment[el]=Πρόσβαση στο Διαδίκτυο
|
|
||||||
Comment[en_GB]=Access the Internet
|
|
||||||
Comment[es]=Accede a Internet.
|
|
||||||
Comment[et]=Pääs Internetti
|
|
||||||
Comment[fi]=Käytä internetiä
|
|
||||||
Comment[fil]=I-access ang Internet
|
|
||||||
Comment[fr]=Accéder à Internet
|
|
||||||
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
|
|
||||||
Comment[he]=גישה אל האינטרנט
|
|
||||||
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
|
|
||||||
Comment[hr]=Pristup Internetu
|
|
||||||
Comment[hu]=Internetelérés
|
|
||||||
Comment[id]=Akses Internet
|
|
||||||
Comment[it]=Accesso a Internet
|
|
||||||
Comment[ja]=インターネットにアクセス
|
|
||||||
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
|
|
||||||
Comment[ko]=인터넷 연결
|
|
||||||
Comment[lt]=Interneto prieiga
|
|
||||||
Comment[lv]=Piekļūt internetam
|
|
||||||
Comment[ml]=ഇന്റര്നെറ്റ് ആക്സസ് ചെയ്യുക
|
|
||||||
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
|
|
||||||
Comment[nb]=Gå til Internett
|
|
||||||
Comment[nl]=Verbinding maken met internet
|
|
||||||
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
|
|
||||||
Comment[pl]=Skorzystaj z internetu
|
|
||||||
Comment[pt]=Aceder à Internet
|
|
||||||
Comment[pt_BR]=Acessar a internet
|
|
||||||
Comment[ro]=Accesaţi Internetul
|
|
||||||
Comment[ru]=Доступ в Интернет
|
|
||||||
Comment[sk]=Prístup do siete Internet
|
|
||||||
Comment[sl]=Dostop do interneta
|
|
||||||
Comment[sr]=Приступите Интернету
|
|
||||||
Comment[sv]=Gå ut på Internet
|
|
||||||
Comment[ta]=இணையத்தை அணுகுதல்
|
|
||||||
Comment[te]=ఇంటర్నెట్ను ఆక్సెస్ చెయ్యండి
|
|
||||||
Comment[th]=เข้าถึงอินเทอร์เน็ต
|
|
||||||
Comment[tr]=İnternet'e erişin
|
|
||||||
Comment[uk]=Доступ до Інтернету
|
|
||||||
Comment[vi]=Truy cập Internet
|
|
||||||
Comment[zh_CN]=访问互联网
|
|
||||||
Comment[zh_HK]=連線到網際網路
|
|
||||||
Comment[zh_TW]=連線到網際網路
|
|
||||||
Exec=chromium %U
|
|
||||||
Terminal=false
|
|
||||||
Icon=chromium
|
|
||||||
Type=Application
|
|
||||||
Categories=GTK;Network;WebBrowser;
|
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
export CHROME_WRAPPER=/usr/lib/chromium/chromium
|
|
||||||
export CHROME_DESKTOP=chromium.desktop
|
|
||||||
exec /usr/lib/chromium/chromium "$@"
|
|
|
@ -1,81 +0,0 @@
|
||||||
diff --git media/audio/pulse/pulse_output.cc b/media/audio/pulse/pulse_output.cc
|
|
||||||
index c58d5bf..55ce3d2 100644
|
|
||||||
--- media/audio/pulse/pulse_output.cc
|
|
||||||
+++ media/audio/pulse/pulse_output.cc
|
|
||||||
@@ -126,7 +126,7 @@ void PulseAudioOutputStream::WriteRequestCallback(pa_stream* playback_handle,
|
|
||||||
PulseAudioOutputStream* stream =
|
|
||||||
reinterpret_cast<PulseAudioOutputStream*>(stream_addr);
|
|
||||||
|
|
||||||
- DCHECK_EQ(stream->manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(stream->manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
stream->write_callback_handled_ = true;
|
|
||||||
|
|
||||||
@@ -153,7 +153,7 @@ PulseAudioOutputStream::PulseAudioOutputStream(const AudioParameters& params,
|
|
||||||
write_callback_handled_(false),
|
|
||||||
ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
|
|
||||||
source_callback_(NULL) {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
// TODO(slock): Sanity check input values.
|
|
||||||
}
|
|
||||||
@@ -167,7 +167,7 @@ PulseAudioOutputStream::~PulseAudioOutputStream() {
|
|
||||||
}
|
|
||||||
|
|
||||||
bool PulseAudioOutputStream::Open() {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
// TODO(slock): Possibly move most of this to an OpenPlaybackDevice function
|
|
||||||
// in a new class 'pulse_util', like alsa_util.
|
|
||||||
@@ -270,7 +270,7 @@ void PulseAudioOutputStream::Reset() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void PulseAudioOutputStream::Close() {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
Reset();
|
|
||||||
|
|
||||||
@@ -280,7 +280,7 @@ void PulseAudioOutputStream::Close() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void PulseAudioOutputStream::WaitForWriteRequest() {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
if (stream_stopped_)
|
|
||||||
return;
|
|
||||||
@@ -382,7 +382,7 @@ void PulseAudioOutputStream::WriteToStream(size_t bytes_to_write,
|
|
||||||
}
|
|
||||||
|
|
||||||
void PulseAudioOutputStream::Start(AudioSourceCallback* callback) {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
CHECK(callback);
|
|
||||||
DLOG_IF(ERROR, !playback_handle_)
|
|
||||||
<< "Open() has not been called successfully";
|
|
||||||
@@ -402,19 +402,19 @@ void PulseAudioOutputStream::Start(AudioSourceCallback* callback) {
|
|
||||||
}
|
|
||||||
|
|
||||||
void PulseAudioOutputStream::Stop() {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
stream_stopped_ = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void PulseAudioOutputStream::SetVolume(double volume) {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
volume_ = static_cast<float>(volume);
|
|
||||||
}
|
|
||||||
|
|
||||||
void PulseAudioOutputStream::GetVolume(double* volume) {
|
|
||||||
- DCHECK_EQ(manager_->GetMessageLoop(), MessageLoop::current());
|
|
||||||
+ DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
|
|
||||||
|
|
||||||
*volume = volume_;
|
|
||||||
}
|
|
|
@ -1,130 +0,0 @@
|
||||||
# Template file for 'chromium-unstable'
|
|
||||||
__pkgname=chromium
|
|
||||||
pkgname=${__pkgname}-unstable
|
|
||||||
version=19.0.1049.0
|
|
||||||
distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/${__pkgname}-$version.tar.bz2"
|
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
|
||||||
makedepends="pkg-config yasm flex gperf libXrender-devel libXScrnSaver-devel gtk+-devel libevent-devel icu-devel nss-devel libxslt-devel alsa-lib-devel libflac-devel dbus-glib-devel libXdamage-devel libXtst-devel pam-devel GConf-devel libgnome-keyring-devel libvpx-devel speex-devel libwebp-devel pulseaudio-devel v8-devel libxml2-devel zlib-devel expat-devel libpng-devel jpeg-devel mit-krb5-devel libXcomposite-devel"
|
|
||||||
fulldepends="xdg-utils"
|
|
||||||
revision=1
|
|
||||||
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
|
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
||||||
homepage="http://www.chromium.org/"
|
|
||||||
license="BSD"
|
|
||||||
checksum=3bcf210fd3140700b7b3fd07796e0932e50bb55a6b13cd0ad55810322da43cce
|
|
||||||
long_desc="
|
|
||||||
Chromium is an open-source browser project that aims to build a safer,
|
|
||||||
faster, and more stable way for all Internet users to experience the web.
|
|
||||||
|
|
||||||
Chromium serves as a base for Google Chrome, which is Chromium rebranded
|
|
||||||
(name and logo) with very few additions such as usage tracking and an
|
|
||||||
auto-updater system.
|
|
||||||
|
|
||||||
This package contains the Chromium browser (unstable build)."
|
|
||||||
|
|
||||||
replaces="chromium>=0"
|
|
||||||
provides="chromium-$version"
|
|
||||||
build_requires=11
|
|
||||||
|
|
||||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
wrksrc=chromium-$version
|
|
||||||
|
|
||||||
pre_configure()
|
|
||||||
{
|
|
||||||
# Use external V8
|
|
||||||
find v8 -type f \! -iname '*.gyp*' -delete
|
|
||||||
rmdir v8/include
|
|
||||||
ln -s /usr/include v8/include
|
|
||||||
|
|
||||||
# zlib-1.2.5.1-r1 renames the OF macro in zconf.h
|
|
||||||
# bug #383371 (Gentoo).
|
|
||||||
sed -i '1i#define OF(x) x' \
|
|
||||||
third_party/zlib/contrib/minizip/{ioapi,{,un}zip}.c \
|
|
||||||
chrome/common/zip*.cc
|
|
||||||
|
|
||||||
# Don't use type 'settings' in gyp files: http://crbug.com/96629
|
|
||||||
find third_party -type f -path '*.gyp' -print0 | \
|
|
||||||
xargs -0 sed -i "s|'type': 'settings',|'type': 'none',|g"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure()
|
|
||||||
{
|
|
||||||
# We need to disable system_ssl until "next protocol negotiation" support is
|
|
||||||
# available in our nss package.
|
|
||||||
# (See https://bugzilla.mozilla.org/show_bug.cgi?id=547312)
|
|
||||||
#
|
|
||||||
# XXX: Disable CUPS until a package exists.
|
|
||||||
GYP_DEFINES="\
|
|
||||||
gcc_version=46 \
|
|
||||||
werror= \
|
|
||||||
no_strict_aliasing=1 \
|
|
||||||
linux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
|
|
||||||
linux_sandbox_chrome_path=/usr/lib/chromium/chromium \
|
|
||||||
release_extra_cflags="-fno-ipa-cp" \
|
|
||||||
use_system_ffmpeg=0 \
|
|
||||||
_build_ffmpegsumo=1 \
|
|
||||||
ffmpeg_branding=Chrome \
|
|
||||||
proprietary_codecs=1 \
|
|
||||||
use_system_vpx=1 \
|
|
||||||
use_system_speex=1 \
|
|
||||||
use_system_flac=1 \
|
|
||||||
use_system_libwebp=1 \
|
|
||||||
use_system_libxslt=1 \
|
|
||||||
use_system_libxml=1 \
|
|
||||||
use_system_bzip2=1 \
|
|
||||||
use_system_zlib=1 \
|
|
||||||
use_system_libexpat=1 \
|
|
||||||
use_system_v8=1 \
|
|
||||||
use_system_sqlite=0 \
|
|
||||||
use_system_libpng=1 \
|
|
||||||
use_system_libjpeg=1 \
|
|
||||||
use_system_yasm=1 \
|
|
||||||
use_system_libevent=1 \
|
|
||||||
use_system_icu=1 \
|
|
||||||
use_system_xdg_utils=1 \
|
|
||||||
use_system_ssl=0 \
|
|
||||||
use_system_hunspell=0 \
|
|
||||||
use_pulseaudio=1 \
|
|
||||||
use_gconf=1 \
|
|
||||||
use_cups=0 \
|
|
||||||
use_gnome_keyring=1 \
|
|
||||||
linux_link_gnome_keyring=1 \
|
|
||||||
disable_nacl=1 \
|
|
||||||
linux_strip_binary=1 \
|
|
||||||
remove_webcore_debug_symbols=1 "
|
|
||||||
export GYP_DEFINES
|
|
||||||
python build/gyp_chromium -f make --depth=. build/all.gyp
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build()
|
|
||||||
{
|
|
||||||
make ${makejobs} BUILDTYPE=Release chrome chrome_sandbox
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vinstall out/Release/chrome 755 usr/lib/${__pkgname} ${__pkgname}
|
|
||||||
vinstall out/Release/chrome_sandbox 4755 usr/lib/${__pkgname} ${__pkgname}-sandbox
|
|
||||||
vinstall out/Release/chrome.pak 644 usr/lib/${__pkgname}
|
|
||||||
vinstall out/Release/resources.pak 644 usr/lib/${__pkgname}
|
|
||||||
vinstall out/Release/libffmpegsumo.so 755 usr/lib/${__pkgname}
|
|
||||||
#vinstall out/Release/libppGoogleNaClPluginChrome.so 755 usr/lib/${__pkgname}
|
|
||||||
#vcopy "out/Release/nacl_irt_x86_*.nexe" usr/lib/${__pkgname}
|
|
||||||
|
|
||||||
for f in locales resources; do
|
|
||||||
vcopy out/Release/${f} usr/lib/chromium
|
|
||||||
done
|
|
||||||
find ${DESTDIR}/usr/lib/chromium/ -name '*.d' -type f -delete
|
|
||||||
vinstall out/Release/chrome.1 644 usr/share/man/man1 chromium.1
|
|
||||||
vinstall ${FILESDIR}/chromium.desktop 644 usr/share/applications
|
|
||||||
for size in 16 22 24 32 48 64 128 256; do
|
|
||||||
install -Dm644 "chrome/app/theme/chromium/product_logo_${size}.png" \
|
|
||||||
${DESTDIR}/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png
|
|
||||||
done
|
|
||||||
vinstall ${FILESDIR}/chromium.sh 755 usr/bin chromium
|
|
||||||
vinstall LICENSE 644 usr/share/licenses/${__pkgname}
|
|
||||||
}
|
|
Loading…
Reference in New Issue