Commit d6da321a authored by Yvan Masson's avatar Yvan Masson
Browse files

Rename project to WhosWho, second step

parent 346128b5
[Desktop Entry]
Name=LibreTrombi
Comment=Create PDF with people names and face
Exec=libretrombi
Icon=libretrombi
Type=Application
Categories=Office;
StartupNotify=true
Terminal=false
This diff is collapsed.
../libretrombi.py
../data/org.framagit.yvanmasson.LibreTrombi.desktop
../org.framagit.yvanmasson.LibreTrombi.metainfo.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
File currently invalid because application does not use the application
ID yet
-->
<component type="desktop-application">
<id>org.framagit.yvanmasson.LibreTrombi</id>
<name>LibreTrombi</name>
<summary>
Create PDF documents with people pictures and corresponding name, also
called &quot;trombinoscope&quot;
</summary>
<developer_name>Yvan Masson</developer_name>
<update_contact>yvan@masson-informatique.fr</update_contact>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0+</project_license>
<content_rating type="oars-1.1" />
<recommends>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</recommends>
<description>
<p>
From a set of pictures and names, LibreTrombi creates a PDF document with
faces and corresponding names, as used in schools. LibreTrombi tries to
make things as simple as possible for the user:
</p>
<ul>
<li>pictures can be automatically cropped to keep only the person&apos;s face</li>
<li>you can provide people&apos;s names from a CSV file</li>
<li>a default picture can be used if you do not have a person&apos;s picture</li>
<li>multiple sheet layouts are available</li>
</ul>
</description>
<releases>
<release version="0.1" date="2020-05-01" type="development">
<description>
<p>Initial release, it works but expect bugs.</p>
</description>
</release>
</releases>
<launchable type="desktop-id">org.framagit.yvanmasson.LibreTrombi.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://framagit.org/Yvan-Masson/LibreTrombi/-/raw/master/screenshot%2016:9.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://framagit.org/Yvan-Masson/LibreTrombi</url>
<url type="bugtracker">https://framagit.org/Yvan-Masson/LibreTrombi/-/issues</url>
<provides>
<binary>libretrombi</binary>
</provides>
</component>
---
# Currently non working because application does not use un application ID yet.
# Folder selection will work only if user has `xdg-desktop-portal-gtk` ≥ 1.7.1
app-id: org.framagit.yvanmasson.LibreTrombi
runtime: org.gnome.Platform
runtime-version: '3.34'
sdk: org.gnome.Sdk
command: libretrombi
modules:
- name: ImageMagick6
# see build options on
# https://imagemagick.org/script/advanced-unix-installation.php
# and during build
config-opts:
- --without-magick-plus-plus
- --without-perl
- --without-bzlib
- --without-dps
- --without-jbig
- --without-jp2
- --without-lzma
- --without-openjp2
- --without-png
- --without-raw
- --without-tiff
- --without-webp
- --without-wmf
- --without-x
- --without-xml
- --without-zlib
- --without-zstd
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick6/archive/6.9.11-10.tar.gz
sha256: d33ca8d72a805e375535a9c2ac450cf2c878b8549e10de0b60b05f33bcc246fc
# We use IM6 because IM7 failed to build with the following error:
# ...
# CCLD MagickWand/libMagickWand-7.Q16HDRI.la
# /usr/bin/sed: can't read 7/MagickCore/libMagickCore-7.Q16HDRI.la: No such file or directory
# libtool: error: '7/MagickCore/libMagickCore-7.Q16HDRI.la' is not a valid libtool archive
#- name: ImageMagick7
# sources:
# - type: archive
# url: https://github.com/ImageMagick/ImageMagick/archive/7.0.10-10.tar.gz
# sha256: 52afac02954c6c6f593e2842fbecb630a765e2152eb84a5f4bb47429ae20db5a
# opencv fails to install without manually specifying numpy
- name: numpy
buildsystem: simple
build-commands:
- pip3 install --prefix=/app numpy-1.18.3-cp37-cp37m-manylinux1_x86_64.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/e7/38/f14d6706ae4fa327bdb023ef40b4d902bccd314d886fac4031687a8acc74/numpy-1.18.3-cp37-cp37m-manylinux1_x86_64.whl
sha256: 6725d2797c65598778409aba8cd67077bb089d5b7d3d87c2719b206dc84ec05e
- name: opencv-python
buildsystem: simple
build-commands:
- pip3 install --prefix=/app opencv_python-4.2.0.34-cp37-cp37m-manylinux1_x86_64.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/d0/f0/cfe88d262c67825b20d396c778beca21829da061717c7aaa8b421ae5132e/opencv_python-4.2.0.34-cp37-cp37m-manylinux1_x86_64.whl
sha256: d87e506ab205799727f0efa34b3888949bf029a3ada5eb000ff632606370ca6e
- name: python-chardet
buildsystem: simple
build-commands:
- pip3 install --prefix=/app chardet-3.0.4-py2.py3-none-any.whl
sources:
- type: file
url: https://pypi.python.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl#md5=0004b00caff7bb543a1d0d0bd0185a03
sha256: fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691
- name: Pillow
buildsystem: simple
build-commands:
- pip3 install --prefix=/app Pillow-7.1.2-cp37-cp37m-manylinux1_x86_64.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/ab/f8/d3627cc230270a6a4eedee32974fbc8cb26c5fdb8710dd5ea70133640022/Pillow-7.1.2-cp37-cp37m-manylinux1_x86_64.whl
sha256: 0e2a3bceb0fd4e0cb17192ae506d5f082b309ffe5fc370a5667959c9b2f85fa3
- name: Willow
buildsystem: simple
build-commands:
- pip3 install --prefix=/app Willow-1.3-py2.py3-none-any.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/63/7c/81c5d78061dc7d64d6512fa3539735976370c9afca79e1ea3f89281219bb/Willow-1.3-py2.py3-none-any.whl
sha256: 8897a6827c0bb7dee2ac908af53f0d358720bd6032ed20bab3175507e34d739a
- name: LibreTrombi
buildsystem: simple
build-commands:
- pip3 install --prefix=/app .
sources:
- type: dir
path: "."
finish-args:
- "--socket=wayland"
- "--socket=fallback-x11"
<?xml version="1.0" encoding="UTF-8"?>
<!--
File currently invalid because application does not use the application
ID yet
-->
<component type="desktop-application">
<id>org.framagit.yvanmasson.WhosWho</id>
<name>WhosWho</name>
<summary>
Create PDF documents with people pictures and corresponding name, also
called &quot;who's who&quot;, &quot;yearbook&quot; or &quot;facebook&quot;.
</summary>
<developer_name>Yvan Masson</developer_name>
<update_contact>yvan@masson-informatique.fr</update_contact>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0+</project_license>
<content_rating type="oars-1.1" />
<recommends>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</recommends>
<description>
<p>
From a set of pictures and names, WhosWho creates a PDF document with
faces and corresponding names, as used in schools. WhosWho tries to make
things as simple as possible for the user:
</p>
<ul>
<li>pictures can be automatically cropped to keep only the person&apos;s
face</li>
<li>if you have a ODS/XLSX file containing people&apos;s name, just export
it to CSV and WhosWho will be able to use it</li>
<li>a default picture can be used if you do not have a person&apos;s
picture</li>
<li>multiple sheet layouts are available, each one in 150 and 300 DPI:
<ul>
<li>A4, portrait, 4x5</li>
<li>A4, portrait, 5x6</li>
<li>A4, landscape, 6x4</li>
<li>A4, landscape, 7x4</li>
<li>A3, portrait, 6x8</li>
<li>A3, landscape, 9x6</li>
</ul>
</li>
</ul>
</description>
<releases>
<release version="0.1" date="2020-05-07" type="development">
<description>
<p>Initial release, it works but expect bugs.</p>
</description>
</release>
</releases>
<launchable type="desktop-id">whoswho.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://framagit.org/Yvan-Masson/WhosWho/-/raw/master/screenshot%2016:9.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://framagit.org/Yvan-Masson/WhosWho</url>
<url type="bugtracker">https://framagit.org/Yvan-Masson/WhosWho/-/issues</url>
<provides>
<binary>whoswho</binary>
</provides>
</component>
---
# Currently non working because application does not use un application ID yet.
# Folder selection will work only if user has `xdg-desktop-portal-gtk` ≥ 1.7.1
app-id: org.framagit.yvanmasson.WhosWho
runtime: org.gnome.Platform
runtime-version: '3.34'
sdk: org.gnome.Sdk
command: whoswho
modules:
- name: ImageMagick6
# see build options on
# https://imagemagick.org/script/advanced-unix-installation.php
# and during build
config-opts:
- --without-magick-plus-plus
- --without-perl
- --without-bzlib
- --without-dps
- --without-jbig
- --without-jp2
- --without-lzma
- --without-openjp2
- --without-png
- --without-raw
- --without-tiff
- --without-webp
- --without-wmf
- --without-x
- --without-xml
- --without-zlib
- --without-zstd
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick6/archive/6.9.11-10.tar.gz
sha256: d33ca8d72a805e375535a9c2ac450cf2c878b8549e10de0b60b05f33bcc246fc
# We use IM6 because IM7 failed to build with the following error:
# ...
# CCLD MagickWand/libMagickWand-7.Q16HDRI.la
# /usr/bin/sed: can't read 7/MagickCore/libMagickCore-7.Q16HDRI.la: No such file or directory
# libtool: error: '7/MagickCore/libMagickCore-7.Q16HDRI.la' is not a valid libtool archive
#- name: ImageMagick7
# sources:
# - type: archive
# url: https://github.com/ImageMagick/ImageMagick/archive/7.0.10-10.tar.gz
# sha256: 52afac02954c6c6f593e2842fbecb630a765e2152eb84a5f4bb47429ae20db5a
# opencv fails to install without manually specifying numpy
- name: numpy
buildsystem: simple
build-commands:
- pip3 install --prefix=/app numpy-1.18.3-cp37-cp37m-manylinux1_x86_64.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/e7/38/f14d6706ae4fa327bdb023ef40b4d902bccd314d886fac4031687a8acc74/numpy-1.18.3-cp37-cp37m-manylinux1_x86_64.whl
sha256: 6725d2797c65598778409aba8cd67077bb089d5b7d3d87c2719b206dc84ec05e
- name: opencv-python
buildsystem: simple
build-commands:
- pip3 install --prefix=/app opencv_python-4.2.0.34-cp37-cp37m-manylinux1_x86_64.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/d0/f0/cfe88d262c67825b20d396c778beca21829da061717c7aaa8b421ae5132e/opencv_python-4.2.0.34-cp37-cp37m-manylinux1_x86_64.whl
sha256: d87e506ab205799727f0efa34b3888949bf029a3ada5eb000ff632606370ca6e
- name: python-chardet
buildsystem: simple
build-commands:
- pip3 install --prefix=/app chardet-3.0.4-py2.py3-none-any.whl
sources:
- type: file
url: https://pypi.python.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl#md5=0004b00caff7bb543a1d0d0bd0185a03
sha256: fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691
- name: Pillow
buildsystem: simple
build-commands:
- pip3 install --prefix=/app Pillow-7.1.2-cp37-cp37m-manylinux1_x86_64.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/ab/f8/d3627cc230270a6a4eedee32974fbc8cb26c5fdb8710dd5ea70133640022/Pillow-7.1.2-cp37-cp37m-manylinux1_x86_64.whl
sha256: 0e2a3bceb0fd4e0cb17192ae506d5f082b309ffe5fc370a5667959c9b2f85fa3
- name: Willow
buildsystem: simple
build-commands:
- pip3 install --prefix=/app Willow-1.3-py2.py3-none-any.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/63/7c/81c5d78061dc7d64d6512fa3539735976370c9afca79e1ea3f89281219bb/Willow-1.3-py2.py3-none-any.whl
sha256: 8897a6827c0bb7dee2ac908af53f0d358720bd6032ed20bab3175507e34d739a
- name: WhosWho
buildsystem: simple
build-commands:
- pip3 install --prefix=/app .
sources:
- type: dir
path: "."
finish-args:
- "--socket=wayland"
- "--socket=fallback-x11"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment