Apart from porting, only code logics change is the whole encode()/decode() code because it created a string vs bytes mess and the zipfile API apparently didn't like to deal with bytes, even though the docs say otherwise. It's hard to test on my UTF-8 system, so please anyone working with non-UTF-8 paths, we welcome reports if ORA load/save does not work properly. Other than this, load, save and load_thumb were all tested and working properly so far.
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = \
|
|
python-console
|
|
|
|
palette_offsetdir = $(gimpplugindir)/plug-ins/palette-offset
|
|
palette_offset_SCRIPTS = palette-offset.py
|
|
|
|
palette_to_gradientdir = $(gimpplugindir)/plug-ins/palette-to-gradient
|
|
palette_to_gradient_SCRIPTS = palette-to-gradient.py
|
|
|
|
file_openrasterdir= $(gimpplugindir)/plug-ins/file-openraster
|
|
file_openraster_SCRIPTS = file-openraster.py
|
|
|
|
# TODO: to be ported:
|
|
## colorxhtml.py
|
|
## foggify.py
|
|
## gradients-save-as-css.py
|
|
## histogram-export.py
|
|
## palette-sort.py
|
|
## py-slice.py
|
|
## python-eval.py
|
|
## spyro_plus.py
|
|
|
|
if GIMP_UNSTABLE
|
|
## benchmark-foreground-extract.py
|
|
## clothify.py
|
|
## shadow_bevel.py
|
|
## sphere.py
|
|
## whirlpinch.py
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
file-openraster.py \
|
|
palette-offset.py \
|
|
palette-to-gradient.py
|
|
|
|
# Python interpreter file.
|
|
|
|
pyinterpdir = $(gimpplugindir)/interpreters
|
|
pyinterpfile = $(pyinterpdir)/pygimp.interp
|
|
|
|
if HAS_PYTHON_INTERP
|
|
install-interp-file:
|
|
$(mkinstalldirs) '$(DESTDIR)$(pyinterpdir)'
|
|
echo 'python=$(PYBIN_PATH)' > '$(DESTDIR)$(pyinterpfile)'
|
|
echo 'python3=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
|
|
echo '/usr/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
|
|
echo ":Python:E::py::`basename $(PYTHON)`:" >> '$(DESTDIR)$(pyinterpfile)'
|
|
|
|
install-data-local: install-interp-file
|
|
endif
|
|
|
|
uninstall-local:
|
|
rm -f '$(DESTDIR)$(pyinterpfile)'
|