diff --git a/programming/library/libappimage/actions.py b/programming/library/libappimage/actions.py new file mode 100644 index 0000000000..604b024957 --- /dev/null +++ b/programming/library/libappimage/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + cmaketools.configure("-DUSE_SYSTEM_XZ=ON \ + -DUSE_SYSTEM_SQUASHFUSE=ON \ + -DUSE_SYSTEM_LIBARCHIVE=ON \ + -DUSE_SYSTEM_BOOST=ON \ + -DUSE_SYSTEM_XDGUTILS=ON \ + -DBUILD_TESTING=OFF") + +def build(): + cmaketools.make() + +def install(): + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("LICENSE", "README*") diff --git a/programming/library/libappimage/files/libappimage-gcc10.patch b/programming/library/libappimage/files/libappimage-gcc10.patch new file mode 100644 index 0000000000..d7155448ad --- /dev/null +++ b/programming/library/libappimage/files/libappimage-gcc10.patch @@ -0,0 +1,50 @@ +diff --git a/src/libappimage/utils/StringSanitizer.cpp b/src/libappimage/utils/StringSanitizer.cpp +index fee9f7d..521d82e 100644 +--- a/src/libappimage/utils/StringSanitizer.cpp ++++ b/src/libappimage/utils/StringSanitizer.cpp +@@ -13,6 +13,20 @@ std::string StringSanitizer::sanitizeForPath() { + std::vector buffer{}; + buffer.reserve(input_.size()); + ++ // these three lists can be used to compose alphabets for sanitization ++ static constexpr std::initializer_list asciiLetters_ = { ++ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', ++ 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', ++ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', ++ 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ++ }; ++ static constexpr std::initializer_list asciiDigits_ = { ++ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ++ }; ++ static constexpr std::initializer_list pathSafeChars_ = { ++ '.', '-', '_' ++ }; ++ + // first of all, we compose an alphabet of safe characters + // all characters not contained in this alphabet will be replaced by some safe character, e.g., an underscore (_) + std::vector safeAlphabet{asciiDigits_.size() + asciiLetters_.size() + pathSafeChars_.size()}; +diff --git a/src/libappimage/utils/StringSanitizer.h b/src/libappimage/utils/StringSanitizer.h +index 5301ec1..9919ed6 100644 +--- a/src/libappimage/utils/StringSanitizer.h ++++ b/src/libappimage/utils/StringSanitizer.h +@@ -10,20 +10,6 @@ class StringSanitizer { + private: + std::string input_; + +- // these three lists can be used to compose alphabets for sanitization +- static constexpr std::initializer_list asciiLetters_ = { +- 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', +- 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', +- 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', +- 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', +- }; +- static constexpr std::initializer_list asciiDigits_ = { +- '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', +- }; +- static constexpr std::initializer_list pathSafeChars_ = { +- '.', '-', '_' +- }; +- + public: + /** + * Default constructor. diff --git a/programming/library/libappimage/pspec.xml b/programming/library/libappimage/pspec.xml new file mode 100644 index 0000000000..e6b8dcdf2a --- /dev/null +++ b/programming/library/libappimage/pspec.xml @@ -0,0 +1,75 @@ + + + + + libappimage + https://appimage.org/ + + Pisi Linux Admins + admin@pisilinux.org + + GPLv3 + library + Reference implementation of the AppImage specification + Reference implementation of the AppImage specification + https://github.com/AppImage/libappimage/archive/refs/tags/v1.0.3.tar.gz + + vim + wget + cmake + boost-devel + cairo-devel + glib2-devel + librsvg-devel + desktop-file-utils + libarchive-devel + squashfuse-devel + xdg-utils-cxx-devel + + + libappimage-gcc10.patch + + + + + libappimage + + boost + cairo + glib2 + libgcc + librsvg + libarchive + squashfuse + xdg-utils-cxx + + + /usr/lib + /usr/share/doc + + + + + libappimage-devel + Development files for libappimage + + libappimage + xdg-utils-cxx-devel + + + /usr/include + /usr/lib/cmake + /usr/lib/pkgconfig + + + + + + 2021-05-19 + 1.0.3 + First release + Pisi Linux Admins + admin@pisilinux.org + + + diff --git a/programming/library/libappimage/translations.xml b/programming/library/libappimage/translations.xml new file mode 100644 index 0000000000..d0ab56677c --- /dev/null +++ b/programming/library/libappimage/translations.xml @@ -0,0 +1,8 @@ + + + + libappimage + Reference implementation of the AppImage specification + Reference implementation of the AppImage specification + + diff --git a/programming/library/squashfuse/actions.py b/programming/library/squashfuse/actions.py new file mode 100644 index 0000000000..efdb636135 --- /dev/null +++ b/programming/library/squashfuse/actions.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.system("./autogen.sh") + autotools.configure("--enable-static=no") + + + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("LICENSE", "NEWS", "README*") diff --git a/programming/library/squashfuse/pspec.xml b/programming/library/squashfuse/pspec.xml new file mode 100644 index 0000000000..ab60361702 --- /dev/null +++ b/programming/library/squashfuse/pspec.xml @@ -0,0 +1,73 @@ + + + + + squashfuse + https://github.com/vasi/squashfuse + + Pisi Linux Admins + admin@pisilinux.org + + custom + app + FUSE filesystem to mount squashfs archives + FUSE filesystem to mount squashfs archives + https://github.com/vasi/squashfuse/archive/refs/tags/0.1.104.tar.gz + + xz-devel + lz4-devel + lzo-devel + zlib-devel + zstd-devel + fuse-devel + squashfs-tools + + + + + + squashfuse + + xz + lz4 + lzo + zlib + zstd + fuse + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + + + + + squashfuse-devel + Development files for squashfuse + + squashfuse + xz-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2021-05-19 + 0.1.104 + First release + Pisi Linux Admins + admin@pisilinux.org + + + diff --git a/programming/library/squashfuse/translations.xml b/programming/library/squashfuse/translations.xml new file mode 100644 index 0000000000..a5a37952c8 --- /dev/null +++ b/programming/library/squashfuse/translations.xml @@ -0,0 +1,8 @@ + + + + squashfuse + FUSE filesystem to mount squashfs archives + FUSE filesystem to mount squashfs archives + + diff --git a/programming/library/xdg-utils-cxx/actions.py b/programming/library/xdg-utils-cxx/actions.py new file mode 100644 index 0000000000..057d08b8e6 --- /dev/null +++ b/programming/library/xdg-utils-cxx/actions.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + cmaketools.configure() + +def build(): + cmaketools.make() + +def install(): + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("LICENSE", "README*") diff --git a/programming/library/xdg-utils-cxx/pspec.xml b/programming/library/xdg-utils-cxx/pspec.xml new file mode 100644 index 0000000000..2737e97bef --- /dev/null +++ b/programming/library/xdg-utils-cxx/pspec.xml @@ -0,0 +1,56 @@ + + + + + xdg-utils-cxx + https://github.com/azubieta/xdg-utils-cxx + + Pisi Linux Admins + admin@pisilinux.org + + MIT + library + Implementation of the FreeDesktop specifications to be used in C++ projects + Implementation of the FreeDesktop specifications to be used in C++ projects + https://github.com/azubieta/xdg-utils-cxx/archive/refs/tags/v1.0.1.tar.gz + + cmake + + + + + + xdg-utils-cxx + + /usr/lib + /usr/share/doc + + + + + xdg-utils-cxx-devel + Development files for xdg-utils-cxx + + xdg-utils-cxx + + + /usr/include + /usr/lib/cmake + + + + + + 2021-05-19 + 1.0.1 + First release + Pisi Linux Admins + admin@pisilinux.org + + + diff --git a/programming/library/xdg-utils-cxx/translations.xml b/programming/library/xdg-utils-cxx/translations.xml new file mode 100644 index 0000000000..aa80f555cd --- /dev/null +++ b/programming/library/xdg-utils-cxx/translations.xml @@ -0,0 +1,8 @@ + + + + xdg-utils-cxx + Implementation of the FreeDesktop specifications to be used in C++ projects + Implementation of the FreeDesktop specifications to be used in C++ projects + +