Merge pull request #11239 from 4fury-c3440d8/next

darktable.
This commit is contained in:
Rmys
2023-01-01 10:07:09 +03:00
committed by GitHub
11 changed files with 125 additions and 93 deletions
+9 -8
View File
@@ -4,19 +4,20 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools, pisitools, get
j = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_INSTALL_LIBDIR=lib',
' -DBUILD_STATIC=ON',
' -DCMAKE_BUILD_TYPE=Release -L '
])
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release")
cmaketools.configure(j)
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "README*")
+13 -3
View File
@@ -12,9 +12,12 @@
<IsA>library</IsA>
<Summary>Encoding detector library ported from Mozilla</Summary>
<Description>Encoding detector library ported from Mozilla</Description>
<Archive sha1sum="de19b7e614f11572582a0d47f7d5d6f8ec649199" type="tarxz">https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.7.tar.xz</Archive>
<Archive sha1sum="fdc11673bfb0939f48825bf811b64af709339c80" type="tarxz">
https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>python3</Dependency>
</BuildDependencies>
</Source>
@@ -31,7 +34,7 @@
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>uchardet-devel</Name>
<Summary>Development files for uchardet</Summary>
@@ -44,8 +47,15 @@
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2022-12-30</Date>
<Version>0.0.8</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2">
<Date>2021-04-26</Date>
<Version>0.0.7</Version>
+18 -22
View File
@@ -4,35 +4,31 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import mesontools, cmaketools, pisitools
j = ''.join([
' -DUSE_COLORD=ON',
' -DUSE_OPENJPEG=ON',
' -DUSE_LIBSECRET=ON',
' -DBUILD_USERMANUAL=1',
' -DENABLE_RAWSPEED=ON',
' -DRAWSPEED_ENABLE_LTO=ON',
' -DBINARY_PACKAGE_BUILD=1',
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_LIBDIR=/usr/lib',
' -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib',
' -B_build -G Ninja -L '
])
def setup():
pisitools.ldflags.add("-lgs")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DUSE_COLORD=On \
-DUSE_OPENJPEG=On \
-DUSE_LIBSECRET=On \
-DBUILD_USERMANUAL=0 \
-DBINARY_PACKAGE_BUILD=1 \
-DBUILD_USERMANUAL=False \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_BUILD_RPATH=ON \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
-DDONT_INSTALL_GCONF_SCHEMAS=1", sourceDir="..")
cmaketools.configure(j)
def build():
shelltools.cd("build")
cmaketools.make()
mesontools.build("-C _build")
def install():
shelltools.cd("build")
cmaketools.install()
mesontools.install("-C _build")
# fix libdarktable.so path under /usr/lib
pisitools.dosym("/usr/lib/darktable/libdarktable.so", "/usr/lib/libdarktable.so")
+27 -5
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>darktable</Name>
@@ -12,16 +12,22 @@
<PartOf>multimedia.graphics</PartOf>
<Summary>darktable is an open source photography workflow application and RAW developer.</Summary>
<Description>darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers.</Description>
<Archive type="tarxz" sha1sum="8947f647d1a990f81f3493cd2f9a88ea3e8441ed">https://github.com/darktable-org/darktable/releases/download/release-3.4.1/darktable-3.4.1.tar.xz</Archive>
<Archive type="tarxz" sha1sum="1f84d1d18677797215c0a71886ad15954c10da41">
https://github.com/darktable-org/darktable/releases/download/release-4.2.0/darktable-4.2.0.tar.xz
</Archive>
<BuildDependencies>
<Dependency>llvm</Dependency>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>ccache</Dependency>
<Dependency>libgomp</Dependency>
<Dependency>intltool</Dependency>
<Dependency>lua-devel</Dependency>
<Dependency>llvm-libs</Dependency>
<Dependency>llvm-mlir</Dependency>
<Dependency>llvm-polly</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>gmic-devel</Dependency>
<!-- <Dependency>gtk2-devel</Dependency> -->
<Dependency>gtk3-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>webp-devel</Dependency>
@@ -33,10 +39,13 @@
<Dependency>gconf-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>imath-devel</Dependency>
<Dependency>colord-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>jasper-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>libheif-devel</Dependency>
<Dependency>lensfun-devel</Dependency>
<Dependency>librsvg-devel</Dependency>
<Dependency>libsdl2-devel</Dependency>
@@ -58,10 +67,11 @@
<Dependency>ghostscript-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>perl-Image-ExifTool</Dependency>
<Dependency>GraphicsMagick-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">darktable-openexr3.patch</Patch>
<!-- <Patch level="1">darktable-openexr3.patch</Patch> -->
</Patches>
</Source>
@@ -69,6 +79,8 @@
<Name>darktable</Name>
<Summary>darktable is an open source photography workflow application and RAW developer.</Summary>
<RuntimeDependencies>
<Dependency>lua</Dependency>
<Dependency>gmic</Dependency>
<Dependency>webp</Dependency>
<Dependency>cups</Dependency>
<Dependency>curl</Dependency>
@@ -77,15 +89,18 @@
<Dependency>mesa</Dependency>
<Dependency>tiff</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>pango</Dependency>
<Dependency>imath</Dependency>
<Dependency>colord</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libheif</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>pugixml</Dependency>
<Dependency>libsdl2</Dependency>
@@ -115,7 +130,7 @@
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="data">/usr/share/darktable</Path>
<Path fileType="library">/usr/lib/darktable</Path>
<Path fileType="data">/usr/share/applications</Path>
@@ -125,6 +140,13 @@
</Package>
<History>
<Update release="13">
<Date>2022-12-31</Date>
<Version>4.2.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="12">
<Date>2021-02-24</Date>
<Version>3.4.1</Version>
+13 -19
View File
@@ -2,33 +2,27 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DENABLE_LAPACK=yes',
' -B_build -G Ninja -L '
])
def setup():
shelltools.unlink("CMakeModules/FindZLIB.cmake")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DENABLE_LAPACK=yes", sourceDir="..")
#shelltools.unlink("CMakeModules/FindZLIB.cmake")
cmaketools.configure(j)
def build():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.make()
mesontools.build("-C _build")
def install():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.rawInstall('DESTDIR="%s"' % get.installDIR())
shelltools.cd("..")
mesontools.install("-C _build")
pisitools.dodoc("AUTHORS", "README", "TODO")
pisitools.dodoc("authors.txt", "Changes.txt")
+20 -18
View File
@@ -3,7 +3,7 @@
<PISI>
<Source>
<Name>hugin</Name>
<Homepage>http://hugin.sourceforge.net</Homepage>
<Homepage>https://hugin.sourceforge.io/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
@@ -14,20 +14,22 @@
<IsA>library</IsA>
<Summary>A panoramic photo stitcher</Summary>
<Description>hugin can be used to stitch multiple images together. The resulting image can span 360 degrees. Another common use is the creation of very high resolution pictures by combining multiple images.</Description>
<Archive sha1sum="20e39ab82e1d8208a7eee2f216ab1271c95f583f" type="tarbz2">mirrors://sourceforge/hugin/hugin/hugin-2020.0/hugin-2020.0.0.tar.bz2</Archive>
<Archive sha1sum="f543d8b617a5d39e7b8671766bbdcf0f34776ea6" type="tarbz2">mirrors://sourceforge/hugin/hugin/hugin-2022.0/hugin-2022.0.0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>swig</Dependency>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>glew-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>vigra-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>wxGTK-devel</Dependency>
<Dependency>imath-devel</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>exiv2-devel</Dependency>
<Dependency>fftw3-devel</Dependency>
<Dependency>flann-devel</Dependency>
<Dependency>wxGTK-devel</Dependency>
<Dependency>libXmu-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>python-devel</Dependency>
@@ -40,7 +42,7 @@
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">hugin-openexr3.patch</Patch>
<!-- <Patch level="1">hugin-openexr3.patch</Patch> -->
</Patches>
</Source>
@@ -53,17 +55,18 @@
<RuntimeDependencies>
<Dependency>blas</Dependency>
<Dependency>glew</Dependency>
<Dependency>flann</Dependency>
<Dependency>mesa</Dependency>
<Dependency>tiff</Dependency>
<Dependency>boost</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>imath</Dependency>
<Dependency>flann</Dependency>
<Dependency>fftw3</Dependency>
<Dependency>vigra</Dependency>
<Dependency>wxGTK</Dependency>
<Dependency>lapack</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>enblend</Dependency>
@@ -78,30 +81,29 @@
<Dependency>perl-Image-ExifTool</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/</Path>
<Path fileType="data">/usr/share/mime</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/hugin</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/metainfo/</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>hugin-docs</Name>
<Summary>Help documents for hugin</Summary>
<Files>
<Path fileType="data">/usr/share/hugin/xrc/data/help*</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/hugin/xrc/data</Path>
</Files>
</Package>
<History>
<Update release="15">
<Date>2022-12-31</Date>
<Version>2022.0.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="14">
<Date>2022-08-01</Date>
<Version>2020.0.0</Version>
+1 -1
View File
@@ -176,7 +176,7 @@
<History>
<Update release="17">
<Date>2022-12-28</Date>
<Date>2022-12-31</Date>
<Version>1.2.2</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
+1 -2
View File
@@ -2,10 +2,9 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib")
+21 -13
View File
@@ -1,42 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lensfun</Name>
<Homepage>http://lensfun.berlios.de/</Homepage>
<Homepage>https://lensfun.github.io/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv3</License>
<License>GPLv3</License>
<License>CCPL-Attribution-ShareAlike-3.0</License>
<License>GPL-3</License>
<License>LGPL-3</License>
<IsA>library</IsA>
<Summary>A programming library for rectifying and simulating photographic lens distortions</Summary>
<Summary>A programming library for rectifying and simulating photographic lens distortions.</Summary>
<Description>lensfun provides an open source database of photographic lenses and their characteristics. The library provides also the necessary set of algorithms for correcting images based on detailed knowledge of lens properties and calibration data.</Description>
<Archive sha1sum="01c25c87ad34b490b12b86aef673caf61413aa5c" type="targz">https://sourceforge.net/projects/lensfun/files/0.3.95/lensfun-0.3.95.tar.gz</Archive>
<Archive sha1sum="541fde21341f55e9776857946bdaa2a9da4d4d8d" type="targz">
https://github.com/lensfun/lensfun/archive/refs/tags/v0.3.3.tar.gz
</Archive>
<Patches>
<!-- <Patch level="1">upstream_Patch-47-respect-DESTDIR-when-installing-python-stuf.patch</Patch> -->
<!-- <Patch level="1">upstream_Use-database-in-source-directory-while-running-tests.patch</Patch> -->
<!-- <Patch level="1">upstream_Patch-47-respect-DESTDIR-when-installing-python-stuf.patch</Patch>
<Patch level="1">upstream_Use-database-in-source-directory-while-running-tests.patch</Patch> -->
</Patches>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>lensfun</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
@@ -55,6 +56,13 @@
</Package>
<History>
<Update release="8">
<Date>2022-12-31</Date>
<Version>0.3.3</Version>
<Comment>Stable version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="7">
<Date>2021-10-24</Date>
<Version>0.3.95</Version>
@@ -103,6 +111,6 @@
<Comment>First Release.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</Update>
</History>
</PISI>
+1 -1
View File
@@ -73,7 +73,7 @@
<History>
<Update release="2">
<Date>2022-12-04</Date>
<Date>2022-12-31</Date>
<Version>5.9</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
+1 -1
View File
@@ -164,7 +164,7 @@
<History>
<Update release="15">
<Date>2022-10-14</Date>
<Date>2022-12-31</Date>
<Version>0.23.10</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>