1
2
3
4
5
6
7
8
9
10
11
|
# pack: PACKAGING=
This is a short summary for distribution package maintainers.
For regular end-user documentation please see the help/ pages.
Structural changes from 2.1.5 onwards (2015-04-xx)
--------------------------------------------------
→ There's a new `bin` script. It's a lightweight invocation
wrapper, intended to be installed as /usr/bin/streamtuner2
|
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
|
# pack: PACKAGING=
This is a short summary for distribution package maintainers.
For regular end-user documentation please see the README and
help/ pages.
Structural changes from 2.1.5 onwards (2015-04-xx)
--------------------------------------------------
→ There's a new `bin` script. It's a lightweight invocation
wrapper, intended to be installed as /usr/bin/streamtuner2
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
---------
→ Help files still need to go to share/docs/streamtuner2/help/
unless you patch the source.
→ *.desktop as usual
→ and `logo.png` is the pixmap/app icon
Removed
-------
Most plugin PNGs may have been removed already. (Embedded
binary data may violate some distro guidelines(?), but hey,
fewer files are fewer files!)
And the streamtuner2.png logo is now source-embedded instead,
the `logo.py` module provides a `logo.png` base64-string.
The old `gtk2.xml` file is gone. It probably became obsolete
a long while back. The gtk3.xml is instead runtime-patched
to work with PyGTK/gtk2.
Dependencies
------------
If possible, make ST2 dependend on Python2 -or- Python3.
It's not yet practical, and probably against distro standards,
and only APT could so anyway. But if feasible...
Also, hard dependencies are meanwhile:
- gtk (>= 2.16)
- pygtk [or python-gi for python3]
- python-requests (>> 1.2.0)
- python-pyquery [though most plugins would work without]
- and its implied python-lxml
Optional dependencies (just affects a single plugin, which
semi-gracefully disables itself):
- python-keybinder [for global_key]
|
|
|
|
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
---------
→ Help files still need to go to share/docs/streamtuner2/help/
unless you patch the source.
→ *.desktop as usual
→ and `icon.png` is the /share/pixmaps/ icon
Removed
-------
Most plugin PNGs may have been removed already. (Embedded
binary data may violate some distro guidelines(?), but hey,
fewer files are fewer files!)
And the streamtuner2.png logo is now source-embedded instead;
the `logo.py` module provides a `logo.png` base64-string.
The old `gtk2.xml` file is gone. It probably became obsolete
a long while back. The gtk3.xml is instead runtime-patched
to work with PyGTK/gtk2.
Dependencies
------------
If possible, make ST2 dependend on Python2 -or- Python3.
It's not yet practical, and probably against distro standards,
and only APT could so anyway. But if feasible...
Also, hard dependencies are meanwhile:
- gtk (>= 2.16)
- pygtk [or python-gi for python3]
- python-requests (>= 2.0.0)
- python-pyquery [though most plugins would work without]
- and its implied python-lxml
Optional dependencies (just affects a single plugin, which
semi-gracefully disables itself):
- python-keybinder [for global_key]
|
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
FPM/XPM packaging
-----------------
You may have noticed (and scoffed at ;) the newer packaging
method. It's now using http://fossil.include-once.org/xpm/
with the `src` filter. (That's what the meta comment blocks
in the source modules were always meant for.)
Simplifies DEB and RPM packaging, as well as PYZ generation.
(They're all workable, but decidedly rather crude packages.
So yes, proper distro packages are very much still needed.)
|
|
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
FPM/XPM packaging
-----------------
You may have noticed (and scoffed at ;) the newer packaging
method. It's now using http://fossil.include-once.org/xpm/
with the `-s src` filter. (That's what the meta comment blocks
in the source modules were always meant for.)
Simplifies DEB and RPM packaging, as well as PYZ generation.
(They're all workable, but decidedly rather crude packages.
So yes, proper distro packages are very much still needed.)
|