GimpとPC-Linux_GUIの古い縁

gimp が gnome を 作った、でググった:
Krita初期の開発史:GIMPを巡るKDE・Gnome戦争から長きにわたる開発の停滞、そこからの復活まで
https://togetter.com/li/907864
つまりまとめると、KDEが依存していたQtは当時KDEがLinuxに属するプロジェクトであるにもかかわらずライセンス的に全くそれにそぐわないものだった。それを問題視する勢力は当時GIMPが利用していたオープンソースのGTKを利用してGnomeを作り、KDEから離脱した
(言い換えると、gnomeはgimpが作ったようなもんだ、あるいは兄弟?)

gimpとgnomeの関係を思い出すきっかけになった事柄:
Web制作にはPhotoshopとIllustratorは必須らしい。しかも高価過ぎ。Coderでも画像のData(Config?)
は見れないと作業ができないらしい。gimpで代替できないのだろうか。(2022.04)
よく考えるとバイナリエディタで開けば、フォーマット情報とか見れるんじゃないか?。(2022.08)
photoshop gimp、でググった:2022.09
https://citrus-designs.com/photoshop-gimp-difference/ (性能はやっぱりphotoshop)
https://s-coban.com/blog/photoshop-gimp (使い勝手は結構違う)
https://ischool.co.jp/2019-01-09/ (移行する人がいないわけではない)

そのうち本当に副業を始めたら(いつの事になるやら)、gimpを試してみよう。

と思ったが、HTML/CSSの練習 https://seesaawiki.jp/lifewithslackzaurus_15_0/d/HTML/CSS/JavaScript%a4%ce%ce%fd%bd%ac%20%bc%c2%c1%a9%20%bb%a8%c2%bf%a4%ca%b5%ad%cf%bf%20HTML/CSS で使いそうだし、Slackにもあったので入れてみる事にした。
$ sudo installpkg /mnt2/slackware64/xap/gimp-2.10.30-x86_64-2.txz
(表示は省略。一部のみ下部に記した)
$ ldd /usr/bin/gimp
(省略した。スゲー量だ、84コ。本家からbinary持ってきた方がいいか?まぁいいか)
不足libチェック&Inst:
https://seesaawiki.jp/lifewithslackzaurus_15_0/d/%a5%e9%a5%a4%a5%d6%a5%e9%a5%ea%a4%ceinstall%c9%d4%c2%ad%a4%ce%a5%c1%a5%a7%a5%c3%a5%af
\
本格的にgimpを使う事になりそうなので、どんなlibに依存しているか貼っておくかと思ったが、
見ようと思えばすぐ見れるしウザいからやめた。とりあぜず、gtkは3でなく2らしい事だけ確認した。
$ ls -l /mnt2/slackware64/*/gtk*.txz
\-rw-r–r– 1 root root 810820 2月 13 2021 /mnt2/slackware64/l/gtk+-1.2.10-x86_64-9.txz
\-rw-r–r– 1 root root 6877144 2月 13 2021 /mnt2/slackware64/l/gtk+2-2.24.33-x86_64-2.txz
\-rw-r–r– 1 root root 11205548 12月 22 2021 /mnt2/slackware64/l/gtk+3-3.24.31-x86_64-1.txz
\-rw-r–r– 1 root root 18892208 11月 3 2021 /mnt2/slackware64/l/gtk4-4.4.1-x86_64-1.txz
$ ldd /usr/bin/gimp | grep gtk
\ libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f118b966000)
$ grep libgtk-x11-2 /var/log/packages/*gtk*
/var/log/packages/gtk+2-2.24.33-x86_64-2:usr/lib64/libgtk-x11-2.0.so.0.2400.33

$ gimp &
\Traceback (most recent call last):
\ File “/usr/lib64/gimp/2.0/plug-ins/spyro_plus/spyro_plus.py”, line 18, in <module>
\ from gimpshelf import shelf
\ File “/usr/lib64/gimp/2.0/python/gimpshelf.py”, line 40, in <module>
\ import gimp
\ImportError: could not import pygtk
\gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
こんなんが出るので、gimpshelf.py import gimp ImportError: could not import pygtk gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
でググってみると、
https://www.linuxquestions.org/questions/slackware-14/gimp-can%27t-find-pygtk-4175646058/
https://gitlab.gnome.org/GNOME/gimp/-/issues/6135
\
$ sudo installpkg /mnt2/slackware64/l/pygobject-2.28.7-x86_64-8.txz
$ sudo installpkg /mnt2/slackware64/l/pycairo-1.20.1-x86_64-3.txz
$ sudo installpkg /mnt2/slackware64/l/cairomm-1.12.2-x86_64-4.txz (要らないかも)
$ sudo installpkg /mnt2/slackware64/l/gdk-pixbuf2-xlib-2.40.2-x86_64-3.txz (要らないかも)
$ sudo installpkg /mnt2/slackware64/l/python2-module-collection-2.7.18-x86_64-6.txz
(これでwarningは以下だけになった)
gimp: Gimp-Widgets-WARNING: parse_iso_codes: error parsing ‘/usr/share/xml/iso-codes/iso_639.xml’: そのようなファイルやディレクトリはありません
https://www.web-dev-qa-db-ja.com/ja/18.04/gimp-toolbox%E3%81%AE%E3%83%84%E3%83%BC%E3%83%AB%E3%81%AE%E6%95%B0%E3%81%8C%E6%B8%9B%E3%82%8A%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%9D%E3%82%8C%E3%82%89%E3%82%92%E5%BE%A9%E5%85%83%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%EF%BC%9F/997901584/
(使えないわけじゃなさそうなので無視する)

参考情報:
無料で使えるWebデザインツールおすすめ8選【2023年版】 (2023.01)
https://www.sejuku.net/blog/105585

installまたは展開時のメッセージ:
\# gimp (The GNU Image Manipulation Program)
\# The GIMP is a powerful tool for the preparation and manipulation of
\# digital images. The GIMP provides the user with a wide variety of
\# image manipulation, painting, processing, and rendering tools. The
\# GIMP’s open design and extensible architecture make for a very
\# powerful end product for photo and image retouching, web graphics
\# design, or digital illustration.
\
\# pygtk (GTK+ bindings for Python)
\# PyGTK provides a convenient wrapper for the GTK+ library for use in
\# Python programs, taking care of many of the boring details such as
\# managing memory and type casting.
\# Homepage: http://www.pygtk.org/
\
\# pygobject (GObject bindings for Python)
\# This archive contains bindings for the GObject, to be used in Python.
\# It is a fairly complete set of bindings, it’s already rather useful,
\# and is usable to write moderately complex programs.
\# pygobject’s home page: http://www.pygtk.org/
\
\# pycairo (a set of Python bindings for the cairo graphics library)
\# Pycairo is set of Python bindings for the cairo graphics library.
\# Pycairo’s web site: https://pycairo.readthedocs.io/en/latest/
\
\# cairomm (C++ wrapper for the cairo graphics library)
\# cairomm is a C++ wrapper for the cairo graphics library. It offers
\# all the power of cairo with an interface familiar to C++ developers,
\# including use of the Standard Template Library where it makes sense.
\# Homepage: http://cairographics.org/cairomm/
\
\# python2-module-collection (modules for python2)
\# These are additional modules that have traditionally been supplied by
\# Slackware for python2. As python2 is officially EOL but is still
\# required by some software, these modules have been collected here in
\# a single package to reduce clutter and to allow them to be pinned at
\# these versions since upstream has been dropping python2 support in
\# newer versions.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です