commit 7d91da8757d3f9d09a939014dc0679c731a499bb Author: Jose V Beneyto <jose.beneyto@eslife.es> Date: Wed Mar 4 11:46:54 2015 +0000 chromium: updated to 40.0.2214.115, cleaned up and also added .desktop file (FS#1141) diff --git a/chromium/.footprint b/chromium/.footprint index ea6a61d..9d62037 100644 --- a/chromium/.footprint +++ b/chromium/.footprint @@ -119,6 +119,8 @@ drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ -rw-r--r-- root/root usr/man/man1/chromium.1.gz drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/chromium.desktop drwxr-xr-x root/root usr/share/icons/ drwxr-xr-x root/root usr/share/icons/hicolor/ drwxr-xr-x root/root usr/share/icons/hicolor/128x128/ @@ -136,3 +138,5 @@ drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/ drwxr-xr-x root/root usr/share/icons/hicolor/48x48/ drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/ -rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/chromium.png +drwxr-xr-x root/root usr/share/pixmaps/ +lrwxrwxrwx root/root usr/share/pixmaps/chromium.png -> /usr/share/icons/hicolor/48x48/apps/chromium.png diff --git a/chromium/.md5sum b/chromium/.md5sum index be15838..2c48951 100644 --- a/chromium/.md5sum +++ b/chromium/.md5sum @@ -1,2 +1,3 @@ -8c5b392e1ec57a8e05b4804c4d844a14 chromium-40.0.2214.111.tar.xz +f2fc8da98bfc67640c7c22d5ecf51d8d chromium-40.0.2214.115.tar.xz +b527005e021b14869a669e42c46b661d chromium.desktop 64968626706b07721983ac59fb3babbf chromium.sh diff --git a/chromium/Pkgfile b/chromium/Pkgfile index 3780820..e168b8d 100644 --- a/chromium/Pkgfile +++ b/chromium/Pkgfile @@ -5,10 +5,10 @@ # Depends on: ninja dbus-glib gtk libevent nss xorg-libxscrnsaver xorg-libxtst libgcrypt xorg-libxdamage yasm xorg-libxt gperf speech-dispatcher libdrm libexif clang name=chromium -version=40.0.2214.111 +version=40.0.2214.115 release=1 -source=(http://commondatastorage.googleapis.com/chromium-browser-official/$name-$ver... \ - $name.sh) +source=(http://commondatastorage.googleapis.com/$name-browser-official/$name-$versio... \ + $name.sh $name.desktop) build() { cd $name-$version @@ -24,7 +24,7 @@ build() { -Dpython_ver="2.7" \ -Dno_strict_aliasing=1 \ -Dwerror= \ - -Dlinux_sandbox_path=/usr/lib/chromium/chrome-sandbox \ + -Dlinux_sandbox_path=/usr/lib/$name/chrome-sandbox \ -Dlinux_strip_binary=1 \ -Dlinux_use_gold_binary=0 \ -Dlinux_use_gold_flags=0 \ @@ -58,19 +58,22 @@ build() { ninja -C out/Release chrome chrome_sandbox - install -m 0755 -D out/Release/chrome $PKG/usr/lib/chromium/chromium - install -m 4755 -o root -g root -D out/Release/chrome_sandbox $PKG/usr/lib/chromium/chrome-sandbox - install -m 0644 -D out/Release/*.pak $PKG/usr/lib/chromium - install -m 0755 -D out/Release/libffmpegsumo.so $PKG/usr/lib/chromium - install -d $PKG/usr/lib/chromium/locales - install -m 0644 out/Release/locales/en-US.pak $PKG/usr/lib/chromium/locales - cp -a out/Release/resources $PKG/usr/lib/chromium - install -m 0644 -D out/Release/chrome.1 $PKG/usr/man/man1/chromium.1 + install -m 0755 -D out/Release/chrome $PKG/usr/lib/$name/$name + install -m 4755 -o root -g root -D out/Release/chrome_sandbox $PKG/usr/lib/$name/chrome-sandbox + install -m 0644 -D out/Release/*.pak $PKG/usr/lib/$name + install -m 0755 -D out/Release/libffmpegsumo.so $PKG/usr/lib/$name + install -d $PKG/usr/lib/$name/locales + install -m 0644 out/Release/locales/en-US.pak $PKG/usr/lib/$name/locales + cp -a out/Release/resources $PKG/usr/lib/$name + install -m 0644 -D out/Release/chrome.1 $PKG/usr/man/man1/$name.1 for size in 22 24 48 128 256; do - install -m 0644 -D chrome/app/theme/chromium/product_logo_${size}.png \ - $PKG/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png + install -m 0644 -D chrome/app/theme/$name/product_logo_${size}.png \ + $PKG/usr/share/icons/hicolor/${size}x${size}/apps/$name.png done - install -m 0755 -D $SRC/chromium.sh $PKG/usr/bin/chromium + install -d $PKG/usr/share/pixmaps + ln -sf /usr/share/icons/hicolor/48x48/apps/$name.png $PKG/usr/share/pixmaps/$name.png + install -m 0644 -D $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop + install -m 0755 -D $SRC/$name.sh $PKG/usr/bin/$name } diff --git a/chromium/chromium.desktop b/chromium/chromium.desktop new file mode 100644 index 0000000..9a6e5e2 --- /dev/null +++ b/chromium/chromium.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Chromium +Comment=Browser +Exec=chromium +Icon=chromium.png +Terminal=false +Type=Application +Categories=Application;Network;