2012年07月06日

chromium上でpdfを閲覧。archbang

■パッケージの探し方:
[xxx@archxxxx ~]$ yaourt -Ss chromium
extra/chromium 20.0.1132.47-1 [installed]
The open-source project behind Google Chrome, an attempt at creating a
safer, faster, and more stable browser
community/chromium-bsu 0.9.15-2
A fast paced top scrolling shooter
aur/chromeplus 1.3.3.3-1 (Out of Date) (60)
a web browser based on Chromium
aur/chromium-browser-bin LATEST-32 (1282)
The open-source project behind Google Chrome (Web/HTTP/FTP Browser)
aur/chromium-browser-inspector-ppa 14.0.805.0.90701-1 (Out of Date) (28)
The open-source project behind Google Chrome (HTML/XHTML/XML/CSS Inspector)
aur/chromium-browser-l10n-ppa 18.0.997.0.116462-1 (44)
The open-source project behind Google Chrome (Language Localization)
aur/chromium-browser-ppa 18.0.997.0.116462-1 (Out of Date) (114)
The open-source project behind Google Chrome (Web/HTTP/FTP Browser)
aur/chromium-browser-svn 2012-73 (Out of Date) (107)
An open-source browser project that aims to build a safer, faster, and
more stable way for all users to experience the web
aur/chromium-codecs-ffmpeg-extra-ppa 18.0.997.0.116462-1 (71)
Extra ffmpeg codecs for 'chromium-browser-ppa' (View/Watch HTML5 videos)
aur/chromium-codecs-ffmpeg-nonfree-bin 18.0.997.0.116462-1 (Out of Date) (447)
Extra ffmpeg codecs for 'chromium-browser-bin' (View/Watch HTML5 videos)
aur/chromium-dev 21.0.1180.15-1 (244)
The open-source project behind Google Chrome (Dev channel)
aur/chromium-dev-codecs-ffmpeg-nonfree-bin 0.6+%+*}.svn20101227r70200+70112 (Out of Date) (6)
Extra ffmpeg codecs for 'chromium-dev' (View/Watch HTML5 videos)
aur/chromium-libpdf LATEST-5 (114)
libpdf plugin for Chromium
aur/chromium-pepper-flash 11.3.31.208-1 (60)
Google Chrome's Pepper Flash plugin for Chromium (latest development
version)
aur/chromium-pepper-flash-stable 11.3.31.109-1 (7)
Google Chrome's Pepper Flash plugin for Chromium (stable version)
aur/chromium-stable-libpdf 20.0.1132.47-1 (227)
Build in PDF viewer (libpdf plugin) for Chromium stable version
aur/chromium-tmpfs 0.5-1 (Out of Date) (8)
Sync all ~/.config/chromium and ~/.cache/chromium directories to tmpfs
aur/chromium-update 1.1-13 (4)
Simple SH installer and updater of precompiled Chromium nightly builds
aur/iron-bin 19.0.1100.0-1 (136)
A browser based on Chromium without Google's 'tracking features'
aur/krunner-chromiumbookmarks 0.2-1 (16)
A runner that integrates chromium bookmarks into krunner
aur/mozc 1.5.1090.102-1 (31)
A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open
Source Edition of Google Japanese Input)
aur/mozc-fcitx 1.5.1090.102-1 (7)
A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open
Source Edition of Google Japanese Input) - With Fcitx Support
aur/mozc-svn 115-2 (20)
A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open
Source Edition of Google Japanese Input), with uim-mozc and fcitx-mozc
(optional)
aur/mozplugger-chromium 1.14.5-2 (51)
Mozilla multimedia plugin for Chromium
aur/swfdec-mozilla-xembed 0.9.2-1 (2)
Simplified version of swfdec-mozilla that works in Chromium
aur/wow-2-themes latest-2 (22)
Nice looking theme collection for GTK3, GTK2, Metacity, Unity, Xfwm4,
Openbox, Emerald and Chrome/Chromium.


■で、インストール。chromium-libpdf LATEST-5の存在には気づかず。

[xxx@archxxxx ~]$ sudo yaourt -S chromium-stable-libpdf

==> Downloading chromium-stable-libpdf PKGBUILD from AUR...
x PKGBUILD

Comment by: danilo on Thu, 05 Apr 2012 23:10:35 +0000
...and again.

77997f371088836ee8a0c6f637658e2e google-chrome-stable_current_amd64.deb

Comment by: flexiondotorg on Tue, 10 Apr 2012 13:37:02 +0000
Hi,

Changed for i686 too. Here both the current md5sums.

08cdcbddd4b0565d89c49b0aac00c1f2 google-chrome-stable_current_i386.deb
77997f371088836ee8a0c6f637658e2e google-chrome-stable_current_amd64.deb

Regards, Martin

Comment by: toketin on Mon, 07 May 2012 18:05:54 +0000
Nothing still erorr for wrong md5sum under x86_64

Comment by: clu on Sat, 26 May 2012 18:45:14 +0000
New md5sum for i386: 6ae57a62c4a1ea24b95beb6923c9fab0

Comment by: cyberpatrol on Fri, 29 Jun 2012 06:30:06 +0000
Out-of-date and wrong md5sums anyway.

Comment by: ava1ar on Sat, 30 Jun 2012 16:41:48 +0000
Hi, sxe

Thanks for the package. Here I posted the updated PKGBUILD, which tries to follow PKGBUILD rules more accurately, then your one: http://pastebin.com/k8aWNuRb Feel free to use it.


First Submitted: Sat, 04 Dec 2010 13:32:57 +0000
chromium-stable-libpdf 20.0.1132.47-1
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> chromium-stable-libpdf dependencies:
- chromium (already installed)


==> Continue building chromium-stable-libpdf ? [Y/n]
==> ------------------------------------------------
==>
==> Building and installing package
==> WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> Making package: chromium-stable-libpdf 20.0.1132.47-1 (2012年 7月 6日 金曜日 19:13:43 JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading google-chrome-stable_current_amd64.deb...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 31.4M 100 31.4M 0 0 5343k 0 0:00:06 0:00:06 --:--:-- 5886k
==> Validating source files with md5sums...
google-chrome-stable_current_amd64.deb ... Passed
==> Extracting Sources...
-> Extracting google-chrome-stable_current_amd64.deb with bsdtar
==> Starting build()...
x - debian-binary
x - control.tar.gz
x - data.tar.lzma
./opt/google/chrome/libpdf.so
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Finished making: chromium-stable-libpdf 20.0.1132.47-1 (2012年 7月 6日 金曜日 19:13:55 JST)

==> Continue installing chromium-stable-libpdf ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): chromium-stable-libpdf-20.0.1132.47-1

Total Installed Size: 6.20 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) installing chromium-stable-libpdf [######################] 100%
[xxx@archxxxx ~]$
ーーーーーーーーーーーーーーーーーーーーーーーーーー
インストールを終えると、
chromiumu上でそのままpdfファイルが閲覧できる。
印刷もできる。閲覧したpdfファイルは、
tmp内にある。保存するには、ブラウザ上に出た
操作パネルの保存ボタンから、好きな場所に保存できる。
保存pdfファイルをchromiumで開くときは、
ファイルを捕まえて、ブラウザ上に落とす。
pdfファイルを開いているところに別なpdfファイルを
落としても、切り替わらない。
htmlを表示しているところになら、
すぐpdfの表示に切り替わる。
※上記のうち、保存の方法の記述を修正した。
posted by ブログ開設者 at 23:04| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする