Skip to content

Commit

Permalink
warpinator: Add at 1.8.3
Browse files Browse the repository at this point in the history
**Summary**

- Add warpinator at 1.8.3
- Resolves getsolus#1863

**Test Plan**

Transfer and recieve files from phone

**Checklist**

- [x] Package was built and tested against unstable
  • Loading branch information
malfisya committed Mar 26, 2024
1 parent 80fe11a commit f7308e3
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/w/warpinator/MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This file is used to indicate primary maintainership for this package. A package may list more than one maintainer to avoid bus factor issues. People on this list may be considered “subject-matter experts”. Please note that Solus Staff may need to perform necessary rebuilds, upgrades, or security fixes as part of the normal maintenance of the Solus package repository. If you believe this package requires an update, follow documentation from https://help.getsol.us/docs/packaging/procedures/request-a-package-update. In the event that this package becomes insufficiently maintained, the Solus Staff reserves the right to request a new maintainer, or deprecate and remove this package from the repository entirely.

- Muhammad Alfi Syahrin
- Matrix: @alfisya:matrix.org
- Email: malfisya.dev@hotmail.com
22 changes: 22 additions & 0 deletions packages/w/warpinator/files/fix-launch-script-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/src/warpinator-launch.py b/src/warpinator-launch.py
index db73f93..817e4a2 100644
--- a/src/warpinator-launch.py
+++ b/src/warpinator-launch.py
@@ -135,7 +135,7 @@ else:

launch_args = []

- launch_args += ["/bin/bwrap"]
+ launch_args += ["/usr/bin/bwrap"]
launch_args += ["--ro-bind", "/", "/"]
launch_args += ["--dev", "/dev"]
launch_args += ["--bind", rundir + "/dconf", rundir + "/dconf"]
@@ -156,7 +156,7 @@ else:
launch_args += ["--die-with-parent"]

# launch_args += ["/bin/sh"]
- launch_args += ["/bin/python3", warpinator_path]
+ launch_args += ["/usr/bin/python3", warpinator_path]

ret = 0

7 changes: 7 additions & 0 deletions packages/w/warpinator/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
releases:
id: 226946
rss: https://github.com/linuxmint/warpinator/tags.atom
security:
cpe:
- vendor: linuxmint
product: warpinator
36 changes: 36 additions & 0 deletions packages/w/warpinator/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name : warpinator
version : 1.8.3
release : 1
source :
- https://github.com/linuxmint/warpinator/archive/refs/tags/1.8.3.tar.gz : 1e1e52519301e4913644ae48a588c93f380603ecbfb399f9ba55d575d6cd4a71
homepage : https://github.com/linuxmint/warpinator/
license : GPL-3.0-or-later
component : network.util
summary : Send and receive files across a local network
description: |
Warpinator allows you to easily connect multiple computers on a local area network and share files quickly and securely.
builddeps :
- pkgconfig(polkit-gobject-1)
rundeps :
- python-grpcio
- python-netifaces
- python-protobuf
- python-pynacl
- python-qrcode
- python-setproctitle
- python-xapp
- python-zeroconf
- xapp
setup : |
# Fix bubblewrap and pyhton path
%patch -p1 -i $pkgfiles/fix-launch-script-path.patch
%meson_configure \
-Dbundle-zeroconf=false \
-Dbundle-grpc=false
build : |
%ninja_build
install : |
%ninja_install
# Remove autostart file
rm -fr $installdir/etc/
142 changes: 142 additions & 0 deletions packages/w/warpinator/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<PISI>
<Source>
<Name>warpinator</Name>
<Homepage>https://github.com/linuxmint/warpinator/</Homepage>
<Packager>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-3.0-or-later</License>
<PartOf>network.util</PartOf>
<Summary xml:lang="en">Send and receive files across a local network</Summary>
<Description xml:lang="en">Warpinator allows you to easily connect multiple computers on a local area network and share files quickly and securely.
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>warpinator</Name>
<Summary xml:lang="en">Send and receive files across a local network</Summary>
<Description xml:lang="en">Warpinator allows you to easily connect multiple computers on a local area network and share files quickly and securely.
</Description>
<PartOf>network.util</PartOf>
<Files>
<Path fileType="executable">/usr/bin/warpinator</Path>
<Path fileType="executable">/usr/bin/warpinator-send</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/auth.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/config.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/dbus_service.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/firewall/ufw-modify</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/interceptors.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/landlock/LICENSE</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/landlock/__init__.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/landlock/plumbing.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/landlock/porcelain.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/misc.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/networkmonitor.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/notifications.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/ops.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/prefs.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/remote.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/remote_registration.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/server.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/transfers.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/util.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/warp_pb2.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/warp_pb2_grpc.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/warpinator-launch.py</Path>
<Path fileType="library">/usr/lib64/warpinator/warpinator/warpinator.py</Path>
<Path fileType="data">/usr/share/applications/org.x.Warpinator.desktop</Path>
<Path fileType="data">/usr/share/glib-2.0/schemas/org.x.Warpinator.gschema.xml</Path>
<Path fileType="data">/usr/share/icons/hicolor/128x128/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/128x128@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/16x16/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/16x16@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/22x22/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/22x22@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/24x24/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/24x24@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/256x256/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/256x256@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/32x32/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/32x32@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/48x48/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/48x48@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/64x64/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/64x64@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/96x96/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/96x96@2/apps/org.x.Warpinator.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/scalable/apps/org.x.Warpinator-error-symbolic.svg</Path>
<Path fileType="data">/usr/share/icons/hicolor/scalable/apps/org.x.Warpinator-symbolic.svg</Path>
<Path fileType="localedata">/usr/share/locale/am/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ar/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/be/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/bn/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ca/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/cs/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/cy/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/da/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/de/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/el/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/en_GB/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/eo/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/es/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/et/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/eu/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/fi/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/fr/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/fr_CA/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/fy/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/he/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/hi/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/hr/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/hu/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ia/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/id/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ie/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/is/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/it/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ja/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/kab/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/kk/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/kn/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ko/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/la/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/lt/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/nl/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/oc/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/pl/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/pt/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/pt_BR/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ro/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/ru/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/sk/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/sr/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/sr@latin/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/sv/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/tr/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/uk/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/zgh/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/zh_CN/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="localedata">/usr/share/locale/zh_HK/LC_MESSAGES/warpinator.mo</Path>
<Path fileType="data">/usr/share/metainfo/org.x.Warpinator.appdata.xml</Path>
<Path fileType="data">/usr/share/nemo/actions/warpinator-send-check</Path>
<Path fileType="data">/usr/share/nemo/actions/warpinator-send.nemo_action</Path>
<Path fileType="data">/usr/share/polkit-1/actions/org.x.warpinator.policy</Path>
<Path fileType="data">/usr/share/warpinator/group-code.ui</Path>
<Path fileType="data">/usr/share/warpinator/main-window.ui</Path>
<Path fileType="data">/usr/share/warpinator/manual-connect.ui</Path>
<Path fileType="data">/usr/share/warpinator/op-item.ui</Path>
<Path fileType="data">/usr/share/warpinator/overview-button.ui</Path>
<Path fileType="data">/usr/share/warpinator/prefs-window.ui</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-03-26</Date>
<Version>1.8.3</Version>
<Comment>Packaging update</Comment>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit f7308e3

Please sign in to comment.