Skip to content

Commit 10eb1e5

Browse files
committed
Update deb build, readme, dependencies, .gitignore.
1 parent 6bead39 commit 10eb1e5

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

.gitignore

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
obj-x86_64-linux-gnu
22
debian/warpinator
3+
debian/warpinator-dbg
4+
debian/tmp
35

46
debian/.debhelper/generated/warpinator/installed-by-dh_installdocs
57
debian/debhelper-build-stamp
68
debian/files
7-
debian/warpinator.substvars
9+
debian/*.substvars
810
debian/*.debhelper
11+
debian/*.log
12+
13+
python_build
14+
__pycache__
15+
a.out
16+
*.so

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ git checkout 1.2.3
3232

3333
# Try to build. If this fails, it's probably due to missing dependencies.
3434
# If you use GitHub Actions to compile, please install the following dependencies.
35-
sudo apt-get -y install debhelper dh-python gnome-pkg-tools meson gobject-introspection appstream python3-grpc-tools
35+
sudo apt-get -y install debhelper dh-python meson gobject-introspection cython3
3636

3737
# Take note of these packages, install them using apt-get:
3838
dpkg-buildpackage --no-sign
@@ -71,8 +71,8 @@ flatpak install flathub org.x.Warpinator
7171
_____
7272
##### build deps (ref: debian/control)
7373
- meson (>= 0.45.0)
74-
- python3-grpc-tools (>= 1.14.0)
75-
- python3-protobuf (>= 3.6.1)
74+
- python3-grpc-tools (>= 1.14.0) - needed *only* if updating the protobuf files (not likely)
75+
- cython3 (only if `bundle-grpc=true`)
7676
- gobject-introspection
7777

7878
##### required only for makepot
@@ -84,16 +84,22 @@ _____
8484
- gir1.2-gtk-3.0 (>= 3.20.0)
8585
- gir1.2-xapp-1.0 (>= 1.6.0)
8686
- python3
87+
- python3-async-timeout (only with python < 3.11 and `bundle-zeroconf=true`)
8788
- python3-gi
8889
- python3-setproctitle
8990
- python3-xapp (>= 1.6.0)
90-
- python3-zeroconf (>= 0.27.0) *** see note below
91-
- python3-grpcio (>= 1.16.0)
91+
- python3-zeroconf (>= 0.27.0) (only if `bundle-zeroconf=false`)
92+
- python3-grpcio (>= 1.16.0) (only if `bundle-grpc=false`)
93+
- python3-protobuf (only if `bundle-grpc=false`)
9294
- python3-cryptography
9395
- python3-nacl
96+
- python3-netaddr
97+
- python3-ifaddr
98+
- python3-netifaces
9499

95100
##### Note about zeroconf
96-
As of v1.2.0, the build attempts to download and install/package zeroconf to the warpinator install dir (or package). To disable this and have warpinator use the system's version, set the 'bundle-zeroconf' build option to false:
101+
We've started bundling certain dependencies due to their tendency to break and/or exhibit different behavior on different distributions.
102+
To disable this, you can do something like:
97103
```
98104
meson builddir --prefix=/usr -Dbundle-zeroconf=false
99105
ninja -C builddir

debian/control

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ Priority: optional
44
Maintainer: Linux Mint <[email protected]>
55
Build-Depends:
66
debhelper-compat (= 12),
7-
appstream,
87
cython3,
98
curl,
109
dh-python,
11-
gnome-pkg-tools (>= 0.10),
1210
meson (>= 0.45.0),
1311
policykit-1,
1412
python3-dev,
@@ -24,6 +22,7 @@ Depends:
2422
gir1.2-gtk-3.0 (>= 3.20.0),
2523
gir1.2-xapp-1.0 (>= 1.6.0),
2624
python3,
25+
python3-async-timeout | python3 (>= 3.11.0),
2726
python3-gi,
2827
python3-setproctitle,
2928
python3-xapp (>= 1.6.0),
@@ -33,7 +32,8 @@ Depends:
3332
python3-netifaces,
3433
python3-ifaddr,
3534
${misc:Depends},
36-
${python3:Depends}
35+
${python3:Depends},
36+
${shlibs:Depends}
3737
Description: Allows simple local network file sharing.
3838

3939
Package: warpinator-dbg

debian/py3dist-overrides

-4
This file was deleted.

debian/rules

+3
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ override_dh_python3:
88

99
override_dh_auto_test:
1010

11+
override_dh_dwz:
12+
dh_dwz --no-dwz-multifile
13+
1114
override_dh_strip:
1215
dh_strip --dbg-package=warpinator-dbg

src/zeroconf-0.115.2/build_script.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)