1: 2015-05-14 (木) 00:18:15 nao-pon[5] [6] | |||
---|---|---|---|
Line 1: | Line 1: | ||
+ | #navi | ||
+ | RIGHT:&rsslink(../); | ||
+ | #boxdate | ||
+ | * exiftran をソースコードからインストール [#ta84d8bd] | ||
+ | RIGHT:&tag(自宅サーバー,make,exiftran); | ||
+ | |||
+ | スマホで縦位置で撮影した写真をアップロードした場合、画像が横になってしまうので、それを上手いこと処理するのに、exiftran が便利そうだということで、Vine のパッケージを探したけどなかったので、ソースからインストールした。 | ||
+ | |||
+ | wget https://www.kraxel.org/releases/fbida/fbida-2.10.tar.gz | ||
+ | tar xfvz fbida-2.10.tar.gz | ||
+ | cd fbida-2.10 | ||
+ | make | ||
+ | |||
+ | #pre{{ | ||
+ | checking for libdir name ... lib64 | ||
+ | checking for X11 app-defaults prefix ... /usr/share/X11 | ||
+ | checking for endian.h ... yes | ||
+ | checking for linux/fb.h ... yes | ||
+ | checking for libexif/exif-log.h ... yes | ||
+ | checking for fopencookie ... yes | ||
+ | checking for strsignal ... yes | ||
+ | checking for pcd_open in pcd ... no | ||
+ | checking for DGifOpenFileName in gif ... no | ||
+ | checking for png_read_info in png ... yes | ||
+ | checking for TIFFOpen in tiff ... yes | ||
+ | checking for WebPDecodeRGBA in webp ... no | ||
+ | checking for Magick-config ... no | ||
+ | checking for sane_init in sane ... yes | ||
+ | checking for curl_easy_init in curl ... yes | ||
+ | checking for lirc_init in lirc_client ... no | ||
+ | checking for XmStringGenerate in Xm ... no | ||
+ | checking for libjpeg version ... 62 | ||
+ | |||
+ | Make.config written, edit if needed | ||
+ | |||
+ | CC exiftran.o | ||
+ | CC genthumbnail.o | ||
+ | CC jpegtools.o | ||
+ | CC jpeg/62/transupp.o | ||
+ | CC filter.o | ||
+ | CC op.o | ||
+ | CC readers.o | ||
+ | CC rd/read-jpeg.o | ||
+ | LD exiftran | ||
+ | CC thumbnail.cgi.o | ||
+ | LD thumbnail.cgi | ||
+ | CC fbi.o | ||
+ | CC fbtools.o | ||
+ | CC fb-gui.o | ||
+ | CC desktop.o | ||
+ | CC parseconfig.o | ||
+ | CC fbiconfig.o | ||
+ | CC dither.o | ||
+ | CC rd/read-png.o | ||
+ | CC rd/read-tiff.o | ||
+ | CC curl.o | ||
+ | curl.c: In function ‘curl_setup’: | ||
+ | curl.c:145: 警告: call to ‘_curl_easy_setopt_err_write_callback’ declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option | ||
+ | CC rd/read-ppm.o | ||
+ | CC rd/read-bmp.o | ||
+ | LD fbi | ||
+ | }} | ||
+ | |||
+ | sudo make install | ||
+ | |||
+ | #pre{{ | ||
+ | basename: オペランドがありません | ||
+ | 詳しくは `basename --help' を実行して下さい。 | ||
+ | install -d /usr/local/bin | ||
+ | install -d /usr/local/share/man/man1 | ||
+ | install -s exiftran /usr/local/bin | ||
+ | install -m 644 ./exiftran.man /usr/local/share/man/man1/exiftran.1 | ||
+ | install -s fbi /usr/local/bin | ||
+ | install fbgs /usr/local/bin | ||
+ | install -m 644 ./fbi.man /usr/local/share/man/man1/fbi.1 | ||
+ | install -m 644 ./fbgs.man /usr/local/share/man/man1/fbgs.1 | ||
+ | }} | ||
+ | |||
+ | なんかエラーが出たけど・・・まあいいか。 | ||
+ | |||
+ | RIGHT:&font(90%){&page_comments;}; | ||
+ | #navi |
(This host) = https://xoops.hypweb.net