gimp-gmic-plugin ver. bump
This commit is contained in:
@@ -7,26 +7,69 @@
|
|||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
#def setup():
|
def setup():
|
||||||
|
cmaketools.configure("-B build \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DENABLE_DYNAMIC_LINKING=ON \
|
||||||
|
-DBUILD_LIB_STATIC=OFF \
|
||||||
|
-DENABLE_OPENCV=ON")
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
#pisitools.dosed("src/Makefile", "^(FFMPEG_LDFLAGS\s=.*)", r"\1 -lavutil")
|
cmaketools.make("-C build")
|
||||||
autotools.make("-C src gimp lib -j1")
|
|
||||||
|
|
||||||
|
cmaketools.rawInstall("-C build DESTDIR=%s/tmp-install" % get.curDIR())
|
||||||
|
|
||||||
|
shelltools.cd("gmic-qt")
|
||||||
|
cmaketools.configure("-B build-qt \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DENABLE_DYNAMIC_LINKING=ON \
|
||||||
|
-DBUILD_WITH_QT6=ON \
|
||||||
|
-DCMAKE_PREFIX_PATH=%s/gmic-4.0.2/tmp-install/usr \
|
||||||
|
-DGMIC_QT_HOST=none" % get.workDIR())
|
||||||
|
shelltools.cd("build-qt")
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
shelltools.cd("..")
|
||||||
|
cmaketools.configure("cmake -B build-gimp \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DENABLE_DYNAMIC_LINKING=ON \
|
||||||
|
-DBUILD_WITH_QT6=ON \
|
||||||
|
-DCMAKE_PREFIX_PATH=%s/gmic-4.0.2/tmp-install/usr \
|
||||||
|
-DGMIC_QT_HOST=gimp3" % get.workDIR())
|
||||||
|
cmaketools.make("-C build-gimp")
|
||||||
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
|
cmaketools.rawInstall("-C build DESTDIR=%s" % get.installDIR())
|
||||||
|
cmaketools.rawInstall("-C gmic-qt/build-qt DESTDIR=%s" % get.installDIR())
|
||||||
|
cmaketools.rawInstall("-C gmic-qt/build-gimp DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
for size in (16, 32, 48, 64):
|
||||||
|
pisitools.insinto("/usr/share/icons/hicolor/%dx%d/apps" % (size, size),
|
||||||
|
"gmic-qt/icons/application/%d-gmic_qt.png" % size,
|
||||||
|
"gmic_qt.png")
|
||||||
|
|
||||||
|
pisitools.insinto("/usr/share/icons/hicolor/scalable/apps",
|
||||||
|
"gmic-qt/icons/application/gmic_qt.svg")
|
||||||
|
pisitools.insinto("/usr/share/applications",
|
||||||
|
"gmic-qt/gmic_qt.desktop")
|
||||||
|
|
||||||
pisitools.doman("man/gmic.1.gz")
|
pisitools.doman("man/gmic.1.gz")
|
||||||
pisitools.dodoc("COPYING", "README")
|
pisitools.dodoc("COPYING", "README")
|
||||||
pisitools.insinto("/usr/share/doc/gimp-gmic-plugin", "COPYING")
|
pisitools.insinto("/usr/share/doc/gimp-gmic-plugin", "COPYING")
|
||||||
pisitools.insinto("/etc/bash_completion.d/", "resources/gmic_bashcompletion.sh", destinationFile = "gmic")
|
pisitools.insinto("/etc/bash_completion.d/", "resources/gmic_bashcompletion.sh", destinationFile = "gmic")
|
||||||
shelltools.cd("gmic-qt")
|
# shelltools.cd("gmic-qt")
|
||||||
#pisitools.dobin("gmic")
|
#pisitools.dobin("gmic")
|
||||||
pisitools.doexe("gmic_gimp_qt", "/usr/lib/gimp/2.0/plug-ins/")
|
# pisitools.doexe("gmic_gimp_qt", "/usr/lib/gimp/2.0/plug-ins/")
|
||||||
#pisitools.insinto("/usr/lib/gimp/2.0/plug-ins/", "gmic_gimp_qt", "gmic_gimp")
|
#pisitools.insinto("/usr/lib/gimp/2.0/plug-ins/", "gmic_gimp_qt", "gmic_gimp")
|
||||||
pisitools.dosym("/usr/lib/gimp/2.0/plug-ins/gmic_gimp_qt", "/usr/lib/gimp/2.0/plug-ins/gmic_gimp")
|
pisitools.dosym("/usr/lib/gimp/3.0/plug-ins/gmic_gimp_qt/gmic_gimp_qt", "/usr/lib/gimp/3.0/plug-ins/gmic_gimp_qt/gmic_gimp")
|
||||||
|
|
||||||
shelltools.cd("..")
|
# shelltools.cd("..")
|
||||||
shelltools.cd("src")
|
shelltools.cd("src")
|
||||||
pisitools.insinto("/usr/include", "gmic.h")
|
pisitools.insinto("/usr/include", "gmic.h")
|
||||||
# pisitools.dolib("libgmic.so")
|
# pisitools.dolib("libgmic.so")
|
||||||
|
|||||||
@@ -14,9 +14,13 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Gimp plugin for the G'MIC image processing framework</Summary>
|
<Summary>Gimp plugin for the G'MIC image processing framework</Summary>
|
||||||
<Description>G'MIC stands for GREYC's Magic Image Converter. G'MIC is focused on the design of possibly complex pipelines for converting, manipulating, filtering and visualizing generic 1d/2d/3d multi-spectral image datasets.</Description>
|
<Description>G'MIC stands for GREYC's Magic Image Converter. G'MIC is focused on the design of possibly complex pipelines for converting, manipulating, filtering and visualizing generic 1d/2d/3d multi-spectral image datasets.</Description>
|
||||||
<Archive sha1sum="a7898a5ed1ea6faf99176836dcb5116a374bc8da" type="targz">https://gmic.eu/files/source/gmic_3.3.2.tar.gz</Archive>
|
<Archive sha1sum="ccfa4f97f098e869b3b96d6c6b033532a4a94795" type="targz">https://gmic.eu/files/source/gmic_4.0.2.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>qt5-base-devel</Dependency>
|
<Dependency>gtk3-devel</Dependency>
|
||||||
|
<Dependency>glib2-devel</Dependency>
|
||||||
|
<Dependency>lcms2-devel</Dependency>
|
||||||
|
<Dependency>pango-devel</Dependency>
|
||||||
|
<Dependency>qt6-base-devel</Dependency>
|
||||||
<Dependency>ffmpeg-devel</Dependency>
|
<Dependency>ffmpeg-devel</Dependency>
|
||||||
<Dependency>fftw3-devel</Dependency>
|
<Dependency>fftw3-devel</Dependency>
|
||||||
<Dependency>gimp-devel</Dependency>
|
<Dependency>gimp-devel</Dependency>
|
||||||
@@ -27,6 +31,7 @@
|
|||||||
<Dependency>openexr-devel</Dependency>
|
<Dependency>openexr-devel</Dependency>
|
||||||
<Dependency>tiff-devel</Dependency>
|
<Dependency>tiff-devel</Dependency>
|
||||||
<Dependency>curl-devel</Dependency>
|
<Dependency>curl-devel</Dependency>
|
||||||
|
<Dependency>libgexiv2-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch></Patch> -->
|
<!-- <Patch></Patch> -->
|
||||||
@@ -40,10 +45,14 @@
|
|||||||
<Dependency>tiff</Dependency>
|
<Dependency>tiff</Dependency>
|
||||||
<Dependency>zlib</Dependency>
|
<Dependency>zlib</Dependency>
|
||||||
<Dependency>fftw3</Dependency>
|
<Dependency>fftw3</Dependency>
|
||||||
|
<Dependency>imath</Dependency>
|
||||||
<Dependency>libX11</Dependency>
|
<Dependency>libX11</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>libpng</Dependency>
|
<Dependency>libpng</Dependency>
|
||||||
|
<Dependency>opencv</Dependency>
|
||||||
<Dependency>libgomp</Dependency>
|
<Dependency>libgomp</Dependency>
|
||||||
|
<Dependency>qt6-base</Dependency>
|
||||||
|
<Dependency>openexr-libs</Dependency>
|
||||||
<Dependency>libjpeg-turbo</Dependency>
|
<Dependency>libjpeg-turbo</Dependency>
|
||||||
<Dependency>GraphicsMagick</Dependency>
|
<Dependency>GraphicsMagick</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
@@ -53,6 +62,9 @@
|
|||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/gmic</Path>
|
<Path fileType="doc">/usr/share/doc/gmic</Path>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
<Path fileType="data">/usr/share/icons</Path>
|
||||||
|
<Path fileType="data">/usr/share/applications</Path>
|
||||||
|
<Path fileType="data">/usr/share/bash-completion/completions/gmic</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
@@ -77,6 +89,7 @@
|
|||||||
<Dependency>curl</Dependency>
|
<Dependency>curl</Dependency>
|
||||||
<Dependency>gtk2</Dependency>
|
<Dependency>gtk2</Dependency>
|
||||||
<Dependency>zlib</Dependency>
|
<Dependency>zlib</Dependency>
|
||||||
|
<Dependency>gmic</Dependency>
|
||||||
<Dependency>gimp</Dependency>
|
<Dependency>gimp</Dependency>
|
||||||
<Dependency>cairo</Dependency>
|
<Dependency>cairo</Dependency>
|
||||||
<Dependency>pango</Dependency>
|
<Dependency>pango</Dependency>
|
||||||
@@ -89,7 +102,8 @@
|
|||||||
<Dependency>glib2</Dependency>
|
<Dependency>glib2</Dependency>
|
||||||
<Dependency>fontconfig</Dependency>
|
<Dependency>fontconfig</Dependency>
|
||||||
<Dependency>gdk-pixbuf</Dependency>
|
<Dependency>gdk-pixbuf</Dependency>
|
||||||
<Dependency>qt5-base</Dependency>
|
<Dependency>qt6-base</Dependency>
|
||||||
|
<Dependency>libgexiv2</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/gimp</Path>
|
<Path fileType="library">/usr/lib/gimp</Path>
|
||||||
@@ -98,6 +112,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="13">
|
||||||
|
<Date>2026-07-08</Date>
|
||||||
|
<Version>4.0.2</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="12">
|
<Update release="12">
|
||||||
<Date>2024-01-03</Date>
|
<Date>2024-01-03</Date>
|
||||||
<Version>3.3.2</Version>
|
<Version>3.3.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user