Skip to content

Commit

Permalink
serpent-tools: Add at 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah authored and ReillyBrogan committed Nov 8, 2024
1 parent fd44f4f commit 7ff1e22
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/s/serpent-tools/abi_libs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libstone.so.0.24
24 changes: 24 additions & 0 deletions packages/s/serpent-tools/abi_symbols
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
libstone.so.0.24:stone_format_header_v1_file_type
libstone.so.0.24:stone_format_payload_compression
libstone.so.0.24:stone_format_payload_kind
libstone.so.0.24:stone_format_payload_layout_file_type
libstone.so.0.24:stone_format_payload_meta_dependency
libstone.so.0.24:stone_format_payload_meta_tag
libstone.so.0.24:stone_payload_content_reader_buf_hint
libstone.so.0.24:stone_payload_content_reader_destroy
libstone.so.0.24:stone_payload_content_reader_is_checksum_valid
libstone.so.0.24:stone_payload_content_reader_read
libstone.so.0.24:stone_payload_destroy
libstone.so.0.24:stone_payload_header
libstone.so.0.24:stone_payload_next_attribute_record
libstone.so.0.24:stone_payload_next_index_record
libstone.so.0.24:stone_payload_next_layout_record
libstone.so.0.24:stone_payload_next_meta_record
libstone.so.0.24:stone_read
libstone.so.0.24:stone_read_buf
libstone.so.0.24:stone_read_file
libstone.so.0.24:stone_reader_destroy
libstone.so.0.24:stone_reader_header_v1
libstone.so.0.24:stone_reader_next_payload
libstone.so.0.24:stone_reader_read_content_payload
libstone.so.0.24:stone_reader_unpack_content_payload
4 changes: 4 additions & 0 deletions packages/s/serpent-tools/abi_used_libs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ld-linux-x86-64.so.2
libc.so.6
libgcc_s.so.1
libzstd.so.1
54 changes: 54 additions & 0 deletions packages/s/serpent-tools/abi_used_symbols
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
ld-linux-x86-64.so.2:__tls_get_addr
libc.so.6:__errno_location
libc.so.6:__xpg_strerror_r
libc.so.6:abort
libc.so.6:bcmp
libc.so.6:calloc
libc.so.6:close
libc.so.6:dl_iterate_phdr
libc.so.6:free
libc.so.6:fstat64
libc.so.6:getcwd
libc.so.6:getenv
libc.so.6:lseek64
libc.so.6:malloc
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memset
libc.so.6:mmap64
libc.so.6:munmap
libc.so.6:open64
libc.so.6:posix_memalign
libc.so.6:pthread_key_create
libc.so.6:pthread_key_delete
libc.so.6:pthread_setspecific
libc.so.6:read
libc.so.6:readlink
libc.so.6:realloc
libc.so.6:realpath
libc.so.6:stat64
libc.so.6:strlen
libc.so.6:syscall
libc.so.6:write
libc.so.6:writev
libgcc_s.so.1:_Unwind_Backtrace
libgcc_s.so.1:_Unwind_GetDataRelBase
libgcc_s.so.1:_Unwind_GetIP
libgcc_s.so.1:_Unwind_GetIPInfo
libgcc_s.so.1:_Unwind_GetLanguageSpecificData
libgcc_s.so.1:_Unwind_GetRegionStart
libgcc_s.so.1:_Unwind_GetTextRelBase
libgcc_s.so.1:_Unwind_RaiseException
libgcc_s.so.1:_Unwind_Resume
libgcc_s.so.1:_Unwind_SetGR
libgcc_s.so.1:_Unwind_SetIP
libzstd.so.1:ZSTD_DCtx_loadDictionary
libzstd.so.1:ZSTD_DCtx_reset
libzstd.so.1:ZSTD_DCtx_setParameter
libzstd.so.1:ZSTD_DStreamInSize
libzstd.so.1:ZSTD_createDCtx
libzstd.so.1:ZSTD_decompressStream
libzstd.so.1:ZSTD_freeDCtx
libzstd.so.1:ZSTD_getErrorName
libzstd.so.1:ZSTD_initDStream
libzstd.so.1:ZSTD_isError
8 changes: 8 additions & 0 deletions packages/s/serpent-tools/files/x-stone-archive.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-stone-archive">
<comment>Stone Archive</comment>
<icon name="package-x-generic"/>
<glob pattern="*.stone"/>
</mime-type>
</mime-info>
53 changes: 53 additions & 0 deletions packages/s/serpent-tools/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name : serpent-tools
version : 0.0.1
release : 1
source :
- https://github.com/serpent-os/tools/archive/476cf0e9626805b6bd0fd4f110e113fc9c6092b6.tar.gz : 7c63bfce8cff30561f19b4228476e594927bbff6dd89eb028c9ef3a23ae1ba09
license :
- MPL-2.0
homepage : https://github.com/serpent-os/tools
component :
- programming.library # temporary
- ^libstone : system.base
- ^libstone-devel : system.devel
summary :
- Tooling from the Serpent OS project
- ^libstone : Library for reading .stone archives
- ^libstone-devel : Library for reading .stone archives
description:
- Tooling from the Serpent OS project
- ^libstone : Library for reading .stone archives
- ^libstone-devel : Library for reading .stone archives
networking : yes
builddeps :
- cargo-c
environment: |
# Force use of system libs
export ZSTD_SYS_USE_PKG_CONFIG=1
setup : |
%cargo_fetch
build : |
cargo cbuild \
-p libstone \
--prefix=/usr \
--frozen \
--release
install : |
cargo cinstall \
-p libstone \
--destdir=$installdir \
--libdir=%libdir% \
--library-type=cdylib \
--release \
--frozen \
--prefix=/usr
install -Dm00644 $pkgfiles/x-stone-archive.xml $installdir/usr/share/mime/packages/x-stone-archive.xml
patterns :
- ^libstone :
- /usr/lib64/libstone.so.*
- /usr/share/mime/
- ^libstone-devel :
- /usr/include/
- /usr/lib64/libstone.so
- /usr/lib64/pkgconfig/
49 changes: 49 additions & 0 deletions packages/s/serpent-tools/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<PISI>
<Source>
<Name>serpent-tools</Name>
<Homepage>https://github.com/serpent-os/tools</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>[email protected]</Email>
</Packager>
<License>MPL-2.0</License>
<PartOf>system.base</PartOf>
<Summary xml:lang="en">Tooling from the Serpent OS project</Summary>
<Description xml:lang="en">Tooling from the Serpent OS project</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>libstone</Name>
<Summary xml:lang="en">Library for reading .stone archives</Summary>
<Description xml:lang="en">Library for reading .stone archives</Description>
<PartOf>system.base</PartOf>
<Files>
<Path fileType="library">/usr/lib64/libstone.so.0.24</Path>
<Path fileType="library">/usr/lib64/libstone.so.0.24.2</Path>
<Path fileType="data">/usr/share/mime/packages/x-stone-archive.xml</Path>
</Files>
</Package>
<Package>
<Name>libstone-devel</Name>
<Summary xml:lang="en">Library for reading .stone archives</Summary>
<Description xml:lang="en">Library for reading .stone archives</Description>
<PartOf>system.devel</PartOf>
<RuntimeDependencies>
<Dependency release="1">libstone</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/stone.h</Path>
<Path fileType="library">/usr/lib64/libstone.so</Path>
<Path fileType="data">/usr/lib64/pkgconfig/libstone.pc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-11-08</Date>
<Version>0.0.1</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

0 comments on commit 7ff1e22

Please sign in to comment.