maestrogerardo / i3-gaps-deb

Tool to create and install Debian (or Ubuntu) packages of i3-gaps.
GNU General Public License v3.0
313 stars 46 forks source link

i3-gaps-next needs a change in i3 meson_options.txt #26

Closed SteveClement closed 3 years ago

SteveClement commented 4 years ago

By default docs/mans is disabled in i3-next. Thus the packages do not build and they need to be enabled:

PR #27 fixes this.

Error:

Running custom install script '/home/steve/Desktop/code/i3-gaps-deb/i3-gaps/meson/meson-install-i3-with-shmlog bin'
   debian/rules override_dh_installchangelogs
make[1]: Entering directory '/home/steve/Desktop/code/i3-gaps-deb/i3-gaps'
dh_installchangelogs RELEASE-NOTES-*
make[1]: Leaving directory '/home/steve/Desktop/code/i3-gaps-deb/i3-gaps'
   debian/rules override_dh_installman
make[1]: Entering directory '/home/steve/Desktop/code/i3-gaps-deb/i3-gaps'
dh_install -O--parallel -O--buildsystem=meson
make[1]: Leaving directory '/home/steve/Desktop/code/i3-gaps-deb/i3-gaps'
   dh_systemd_enable -O--buildsystem=meson
   dh_installinit -O--buildsystem=meson
   dh_systemd_start -O--buildsystem=meson
   dh_perl -O--buildsystem=meson
   dh_link -O--buildsystem=meson
   dh_installwm -O--buildsystem=meson
dh_installwm: error: no manpage found (creating an x-window-manager alternative requires a slave symlink for the manpage)
make: *** [debian/rules:30: binary] Error 255
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
$ cat i3-gaps/meson_options.txt
# -*- mode: meson -*-

option('docs', type: 'boolean', value: false,
       description: 'Build documentation from source (release tarballs contain a generated copy)')

option('mans', type: 'boolean', value: false,
       description: 'Build manpages from source (release tarballs contain a generated copy)')

option('docdir', type: 'string', value: '',
       description: 'documentation directory (default: $datadir/docs/i3)')
maestrogerardo commented 3 years ago

(thx -- meanwhile not an issue any more)