Merge pull request #10016 from 4fury-c3440d8/b1

gphoto2, geeqie.
This commit is contained in:
Kamil ATLI
2022-01-17 11:40:40 +03:00
committed by GitHub
16 changed files with 132 additions and 71 deletions
+13 -11
View File
@@ -14,10 +14,8 @@ import os
def setup():
shelltools.export("AUTOPOINT", "true")
autotools.autoreconf("-fi")
autotools.configure("--with-rpmbuild=/bin/false \
--with-drivers=all \
autotools.configure("--with-drivers=all \
--enable-nls \
--without-aalib \
--disable-rpath \
--disable-lockdev \
--disable-resmgr \
@@ -31,16 +29,16 @@ def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s \
udevscriptdir=/lib/udev" % get.installDIR())
autotools.rawInstall("DESTDIR=%s udevscriptdir=/lib/udev" % get.installDIR())
HAL_FDI="usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi"
# HAL_FDI="usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi"
UDEV_RULES="lib/udev/rules.d/40-libgphoto2.rules"
HWDB_RULES="lib/udev/rules.d/20-libgphoto2.hwdb"
CAM_LIST="usr/lib/libgphoto2/print-camera-list"
CAM_LIBS="usr/lib/libgphoto2/%s" % get.srcVERSION()
# Create hal directory
pisitools.dodir(shelltools.dirName(HAL_FDI))
# pisitools.dodir(shelltools.dirName(HAL_FDI))
# Export the necessary env variables
shelltools.export("CAMLIBS", "%s/%s" % (get.installDIR(), CAM_LIBS))
@@ -48,14 +46,18 @@ def install():
shelltools.export("LD_LIBRARY_PATH", "%s/usr/lib/" % get.installDIR())
# Generate HAL FDI file
f = open(os.path.join(get.installDIR(), HAL_FDI), "w")
f.write(os.popen("%s/%s hal-fdi" % (get.installDIR(), CAM_LIST)).read())
f.close()
# f = open(os.path.join(get.installDIR(), HAL_FDI), "w")
# f.write(os.popen("%s/%s hal-fdi" % (get.installDIR(), CAM_LIST)).read())
# f.close()
# Generate UDEV rule which will replace the HAL FDI when HAL is deprecated
pisitools.dodir("/lib/udev/rules.d")
f = open(os.path.join(get.installDIR(), UDEV_RULES), "w")
f.write(os.popen("%s/%s udev-rules version 136" % (get.installDIR(), CAM_LIST)).read())
f.write(os.popen("%s/%s udev-rules version 201" % (get.installDIR(), CAM_LIST)).read())
f.close()
f = open(os.path.join(get.installDIR(), HWDB_RULES), "w")
f.write(os.popen("%s/%s hwdb" % (get.installDIR(), CAM_LIST)).read())
f.close()
pisitools.removeDir("/usr/share/doc/libgphoto2_port")
+16 -13
View File
@@ -5,18 +5,19 @@
<Name>libgphoto2</Name>
<Homepage>http://www.gphoto.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>LGPL-2.1</License>
<IsA>library</IsA>
<Summary>Library that implements support for numerous digital cameras</Summary>
<Description>libgphoto2 is the core library designed to allow access to digital camera by external programs.</Description>
<Archive sha1sum="38373ef7f76e90492ffca309094487fb1474f3fe" type="tarbz2">mirrors://sourceforge/project/gphoto/libgphoto/2.5.26/libgphoto2-2.5.26.tar.bz2</Archive>
<Archive sha1sum="100b14413478ffb3852cab55508d4b83aa717dc5" type="tarxz">mirrors://sourceforge/project/gphoto/libgphoto/2.5.28/libgphoto2-2.5.28.tar.xz</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
<Dependency>gd-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>libusb-devel</Dependency>
<Dependency>libexif-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
@@ -36,19 +37,16 @@
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/lib/udev</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/libgphoto2</Path>
<Path fileType="data">/usr/share/hal/fdi</Path>
<!-- <Path fileType="data">/usr/share/hal/fdi</Path> -->
<Path fileType="data">/lib/udev/rules.d</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2/README</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2/COPYING</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
<!-- <COMAR script="package.py">System.Package</COMAR> -->
</Provides>
</Package>
@@ -56,10 +54,8 @@
<Name>libgphoto2-docs</Name>
<Summary>Documentation for libgphoto2</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/libgphoto2</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2/camlibs</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2/apidocs.html</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2/linux-hotplug</Path>
<Path fileType="doc">/usr/share/doc/libgphoto2/libgphoto2-api.html</Path>
</Files>
</Package>
@@ -71,7 +67,7 @@
<Dependency release="current">libgphoto2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/gphoto2-config*</Path>
<Path fileType="executable">/usr/bin/gphoto2-config</Path>
<Path fileType="executable">/usr/bin/gphoto2-port-config</Path>
<Path fileType="header">/usr/include/gphoto2</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
@@ -80,6 +76,13 @@
</Package>
<History>
<Update release="8">
<Date>2022-01-17</Date>
<Version>2.5.28</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="7">
<Date>2021-01-19</Date>
<Version>2.5.26</Version>
+2 -2
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env python
#!/usr/bin/python
# -*- 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
+15 -5
View File
@@ -1,5 +1,5 @@
<?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>flacon</Name>
@@ -9,12 +9,13 @@
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks</Summary>
<Description>Bir Ses Dosyası Kodlayıcısı. Ses parçalarını bir ses CD görüntüsünden ayrı parçalara ayıklar.</Description>
<Archive sha1sum="db4f2b6f3893038d17ce4b3510542be98ad7f162" type="targz">https://github.com/flacon/flacon/archive/v5.5.1.tar.gz</Archive>
<IsA>app:gui</IsA>
<Summary>Flacon is a open source audio file encoder.</Summary>
<Description>You can split a single large audio file containing the entire album into the separate audio tracks.</Description>
<Archive sha1sum="d372cce2c97020096c3395f5186c6ca71a56d597" type="targz">https://github.com/flacon/flacon/archive/refs/tags/v8.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>uchardet-devel</Dependency>
@@ -24,6 +25,8 @@
<Package>
<Name>flacon</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>taglib</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>uchardet</Dependency>
</RuntimeDependencies>
@@ -38,6 +41,13 @@
</Package>
<History>
<Update release="2">
<Date>2022-01-17</Date>
<Version>8.2.0</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2021-04-26</Date>
<Version>5.5.1</Version>
+3 -5
View File
@@ -2,11 +2,11 @@
# -*- 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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
@@ -14,9 +14,7 @@ def setup():
shelltools.system("sed -i -e '/AM_PATH_AALIB,/s/AM_PATH_AALIB/[&]/' aalib.m4")
autotools.autoreconf("-vfi")
autotools.configure("--with-slang-driver \
--with-x11-driver \
--disable-static")
autotools.configure("--with-slang-driver --with-x11-driver --disable-static")
def build():
autotools.make("CC=%s" % get.CC())
+9 -2
View File
@@ -1,5 +1,5 @@
<?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>aalib</Name>
@@ -51,7 +51,14 @@
</Package>
<History>
<Update release="5">
<Update release="6">
<Date>2022-01-17</Date>
<Version>1.4_rc5</Version>
<Comment>Rebuild.</Comment>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2020-01-12</Date>
<Version>1.4_rc5</Version>
<Comment>Rebuild</Comment>
+14 -8
View File
@@ -4,20 +4,26 @@
# 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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "--disable-map \
--disable-pdf \
--disable-djvu \
--disable-heif \
--disable-gtk3 \
--disable-gpu-accel \
--disable-debug-log \
"
j = ''.join([
' --disable-map',
' --disable-pdf',
' --disable-djvu',
' --disable-gtk3',
' --disable-gpu-accel',
' --disable-debug-log '
])
def setup():
pisitools.cflags.add("-Wno-deprecated-declarations")
# Fix instalation step
pisitools.dosed("Makefile.am", "\ ChangeLog\ ", " ")
pisitools.dosed("Makefile.am", "\ ChangeLog.html$", "")
autotools.autoreconf("-vif")
autotools.configure(j)
+15 -3
View File
@@ -8,17 +8,18 @@
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPLv2</License>
<License>GPL-2</License>
<IsA>app:gui</IsA>
<PartOf>multimedia.graphics</PartOf>
<Summary>Geeqie is a lightweight image viewer for Linux, BSDs and compatibles.</Summary>
<Description>
Geeqie can be used as a simple, fast, database-free image viewer, but equally it can be used to manage large collections of images.
</Description>
<Archive sha1sum="f707374491170673e7a8db8c57eec7fc780045bf" type="tarxz">
http://www.geeqie.org/geeqie-1.6.tar.xz
<Archive sha1sum="ffe8faaaa665e585bd5428f5ee4ab27fbbaf51da" type="targz">
https://github.com/BestImageViewer/geeqie/archive/refs/tags/v1.7.tar.gz
</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
<Dependency>intltool</Dependency>
<Dependency>lua-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
@@ -28,6 +29,8 @@
<Dependency>lcms2-devel</Dependency>
<Dependency>lua51-devel</Dependency>
<Dependency>exiv2-devel</Dependency>
<Dependency>libraw-devel</Dependency>
<Dependency>libheif-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>openjpeg2-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
@@ -52,7 +55,9 @@
<Dependency>pango</Dependency>
<Dependency>zenity</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libraw</Dependency>
<Dependency>gphoto2</Dependency>
<Dependency>libheif</Dependency>
<Dependency>openjpeg2</Dependency>
<Dependency>exiv2-libs</Dependency>
<Dependency>gdk-pixbuf</Dependency>
@@ -71,6 +76,13 @@
</Package>
<History>
<Update release="2">
<Date>2022-01-17</Date>
<Version>1.7</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2020-12-06</Date>
<Version>1.6</Version>
+1 -1
View File
@@ -112,7 +112,7 @@
<History>
<Update release="17">
<Date>2021-10-27</Date>
<Date>2022-01-17</Date>
<Version>0.4.32</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
+1 -1
View File
@@ -117,7 +117,7 @@
<History>
<Update release="14">
<Date>2021-10-28</Date>
<Date>2022-01-17</Date>
<Version>7.0.10.62</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
+4 -6
View File
@@ -2,22 +2,20 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static \
--enable-jpeg \
--enable-jasper \
--enable-lcms")
autotools.autoreconf("-fiv")
autotools.configure("--disable-static --enable-jpeg --enable-jasper --enable-lcms")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*")
pisitools.dodoc("README*")
+15 -5
View File
@@ -1,9 +1,9 @@
<?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>libraw</Name>
<Homepage>http://www.libraw.org/</Homepage>
<Homepage>https://www.libraw.org/</Homepage>
<Packager>
<Name>Yücel KILIÇ</Name>
<Email>yucel.kilic@linux.org.tr</Email>
@@ -13,7 +13,7 @@
<IsA>library</IsA>
<Summary>Raw image decoder</Summary>
<Description>LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others).</Description>
<Archive sha1sum="c151995b6f17a0ccef7fbc1dcb982f0ccb04d934" type="targz">http://www.libraw.org/data/LibRaw-0.19.5.tar.gz</Archive>
<Archive sha1sum="8143597d820167fb4f3a51c920e142e6f1386d01" type="targz">https://www.libraw.org/data/LibRaw-0.20.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>libgomp</Dependency>
<Dependency>lcms2-devel</Dependency>
@@ -21,13 +21,15 @@
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libraw</Name>
<RuntimeDependencies>
<Dependency>libgomp</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>zlib</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>jasper</Dependency>
<Dependency>libgomp</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
@@ -36,6 +38,7 @@
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libraw-devel</Name>
<Summary>Development files for libraw</Summary>
@@ -52,6 +55,13 @@
</Package>
<History>
<Update release="8">
<Date>2022-01-17</Date>
<Version>0.20.2</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="7">
<Date>2020-03-15</Date>
<Version>0.19.5</Version>
+1 -2
View File
@@ -9,7 +9,6 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
pisitools.cflags.add("-Wno-stringop-truncation -Wno-discarded-qualifiers -Wno-pointer-sign")
autotools.autoreconf("-fi")
autotools.configure()
@@ -19,5 +18,5 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md")
pisitools.dodoc("AUTHORS", "NEWS")
+11 -4
View File
@@ -15,8 +15,8 @@
<Description>
gPhoto2 is a free, redistributable, ready to use set of digital camera software applications for Unix-like systems, written by a whole team of dedicated volunteers around the world. It supports more than 2500 cameras.
</Description>
<Archive sha1sum="6678a94ef8d102980323642881271c6198051aff" type="tarbz2">
mirrors://sourceforge/project/gphoto/gphoto/2.5.26/gphoto2-2.5.26.tar.bz2
<Archive sha1sum="fd2c94ac0fff6b5c141925bcfbe32386d95ccced" type="tarxz">
mirrors://sourceforge/project/gphoto/gphoto/2.5.28/gphoto2-2.5.28.tar.xz
</Archive>
<BuildDependencies>
<Dependency>cdk-devel</Dependency>
@@ -27,7 +27,7 @@
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">cdk_header_path.patch</Patch>
<!-- <Patch level="1">cdk_header_path.patch</Patch> -->
</Patches>
</Source>
@@ -52,10 +52,17 @@
</Package>
<History>
<Update release="3">
<Date>2022-01-17</Date>
<Version>2.5.28</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2">
<Date>2021-01-19</Date>
<Version>2.5.26</Version>
<Comment>First build.</Comment>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
+3 -1
View File
@@ -4,11 +4,13 @@
# 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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
# shelltools.export("CFLAGS", "")
autotools.configure("--enable-hdr-subdir --with-Xaw3d --with-Xaw3dxft --with-shared")
def build():
@@ -17,5 +19,5 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# pisitools.dodoc("CHANGES", "COPYING", "EXPANDING", "NOTES", "README")
pisitools.dodoc("CHANGES")
+9 -2
View File
@@ -15,8 +15,8 @@
<Description>
Cdk stands for 'Curses Development Kit' and it currently contains 21 ready to use widgets which facilitate the speedy development of full screen curses programs. This little project of mine started as a test to see how compatible my Linux machine was to other UNIX breeds. While doing this I discovered Ncurses, and played with it. These widgets are the result of over a years worth of playing.
</Description>
<Archive sha1sum="be7695be27dd36cf1639d2d39a4920b79a63f411" type="targz">
https://invisible-mirror.net/archives/cdk/cdk-5.0-20200923.tgz
<Archive sha1sum="9e9984d772b45333993a0dd397d7c124b8f31ce7" type="targz">
https://invisible-mirror.net/archives/cdk/cdk-5.0-20211216.tgz
</Archive>
<BuildDependencies>
<Dependency>Xaw3d-devel</Dependency>
@@ -51,6 +51,13 @@
</Package>
<History>
<Update release="2">
<Date>2022-01-17</Date>
<Version>5.0.20211216</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2020-11-28</Date>
<Version>5.0.20200923</Version>