Initial Commit

This commit is contained in:
Yousef Khadadeh 2025-07-06 20:43:53 +03:00
commit 6088fc29ed
978 changed files with 353647 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=InfiniPaint
Comment=Infinite canvas program
Categories=Graphics;VectorGraphics;
Icon=com.erroratline0.infinipaint
Exec=infinipaint %F
Terminal=false
MimeType=application/x-com.erroratline0.infinipaint.infpnt

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.erroratline0.infinipaint</id>
<name>InfiniPaint</name>
<summary>An infinite canvas program</summary>
<metadata_license>MIT</metadata_license>
<url type="homepage">https://infinipaint.com</url>
<developer id="com.erroratline0">
<name>ErrorAtLine0</name>
</developer>
<project_license>MIT</project_license>
<categories>
<category>Graphics</category>
</categories>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>tablet</control>
</supports>
<recommends>
<internet>always</internet>
</recommends>
<description>
<p>
An infinite canvas program.
</p>
</description>
<launchable type="desktop-id">com.erroratline0.infinipaint.desktop</launchable>
</component>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-com.erroratline0.infinipaint.infpnt">
<comment>InfiniPaint Canvas</comment>
<glob pattern="*.infpnt"/>
</mime-type>
</mime-info>

View file

@ -0,0 +1,95 @@
id: com.erroratline0.infinipaint
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: infinipaint
build-options:
build-args:
- --share=network
modules:
- name: libdatachannel
buildsystem: cmake
config-opts:
- -DNO_MEDIA=ON
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
tag: v0.23.1
url: https://github.com/paullouisageneau/libdatachannel.git
- name: oneTBB
buildsystem: cmake
config-opts:
- -DTBB_TEST=OFF
sources:
- type: git
tag: v2022.0.0
url: https://github.com/uxlfoundation/oneTBB.git
- name: SDL3
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DSDL_SHARED=ON
- -DSDL_STATIC=OFF
- -DSDL_TEST_LIBRARY=OFF
- -DSDL_TESTS=OFF
- -DSDL_DISABLE_INSTALL_DOCS=OFF
- -DSDL_INSTALL_TESTS=OFF
- -DSDL_WAYLAND=OFF
- -DSDL_X11=ON
sources:
- type: git
tag: release-3.2.12
url: https://github.com/libsdl-org/SDL.git
- name: Skia
buildsystem: simple
build-commands:
- python3 tools/git-sync-deps
- bin/gn gen out/Static --args='is_official_build=true skia_use_system_expat=false skia_use_system_freetype2=false skia_use_system_harfbuzz=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false'
- ninja -C out/Static skia svg skunicode_core skunicode_icu skparagraph skresources skshaper
- mkdir /app/Skia
- mv out /app/Skia
- mv include /app/Skia
- mv src /app/Skia
- mv modules /app/Skia
cleanup:
- '*'
sources:
- type: archive
url: https://github.com/google/skia/archive/aefbd9403c1b3032ad4cd0281ef312ed262c7125.zip
sha256: e10c67a96828b9f36364e2459cdee3e3b381a3875ff78db2b30e7b6fe69509bb
- name: infinipaint
buildsystem: cmake
builddir: true
config-opts:
- -DLINK_SKIA_MANUALLY=ON
- -DSKIA_INCLUDE=/app/Skia
- -DSKIA_LIB=/app/Skia/out/Static/libskia.a
- -DSKIA_SVG_LIB=/app/Skia/out/Static/libsvg.a
- -DSKIA_RESOURCES_LIB=/app/Skia/out/Static/libskresources.a
- -DSKIA_SHAPER_LIB=/app/Skia/out/Static/libskshaper.a
- -DSKIA_UNICODE_ICU_LIB=/app/Skia/out/Static/libskunicode_core.a
- -DSKIA_UNICODE_CORE_LIB=/app/Skia/out/Static/libskunicode_icu.a
- -DSKIA_PARAGRAPH_LIB=/app/Skia/out/Static/libskparagraph.a
- -DCMAKE_BUILD_TYPE=Release
- -DTBB_NOT_ONETBB=ON
sources:
- type: dir
# branch: master
path: ..
cleanup:
- /Skia
- /include
- /lib/debug
- /lib/pkgconfig
- /lib/cmake
- /lib/cmake
- /lib/libupb.a
- /bin/proto*
- /lib/*.a
finish-args:
- --share=ipc
- --socket=x11
- --device=all
- --share=network
- --filesystem=home:create