On Fri, Sep 18, 2026 at 10:38:22AM -0400, Scott Talbert wrote:
> > On Thu, 17 Sep 2026 at 08:29:11 +1200, Olly Betts wrote:
> > > There may be a gotcha here if any of the arch=all package contents vary
> > > when building without webview. I'm particularly thinking that
> > > wx3.2-headers and wx3.2-doc might.
[...]
> Good news. The doc, headers, and i18n packages all build identically with
> and without the webkit -dev package.
That's great.
> The only difference is in the examples
> package, and only in the top-level Makefile, see below.
>
> │ │ ├── ./usr/share/doc/wx3.2-examples/examples/samples/Makefile
> │ │ │ @@ -1,12 +1,12 @@
> │ │ │ #
> │ │ │ # Makefile : Builds wxWindows samples for Unix.
> │ │ │ #
> │ │ │
> │ │ │ -SAMPLES_SUBDIRS=animate archive artprov aui calendar caret clipboard
> collpane combo config console dataview debugrpt dialogs dialup display dnd
> docview dragimag drawing erase event except exec font fswatcher grid help
> htlbox html/about html/help html/helpview html/printing html/test
> html/virtual html/widget html/zip image internat ipc joytest keyboard layout
> listctrl mdi mediaplayer menu minimal notebook opengl/cube opengl/isosurf
> opengl/penguin opengl/pyramid popup power preferences printing propgrid
> render ribbon richtext sashtest scroll shaped sockets sound splash splitter
> statbar stc svg taborder taskbar text thread toolbar treectrl treelist
> typetest uiaction validate vscroll webrequest webview widgets wizard
> wrapsizer xrc
> │ │ │ +SAMPLES_SUBDIRS=animate archive artprov aui calendar caret clipboard
> collpane combo config console dataview debugrpt dialogs dialup display dnd
> docview dragimag drawing erase event except exec font fswatcher grid help
> htlbox html/about html/help html/helpview html/printing html/test
> html/virtual html/widget html/zip image internat ipc joytest keyboard layout
> listctrl mdi mediaplayer menu minimal notebook opengl/cube opengl/isosurf
> opengl/penguin opengl/pyramid popup power preferences printing propgrid
> render ribbon richtext sashtest scroll shaped sockets sound splash splitter
> statbar stc svg taborder taskbar text thread toolbar treectrl treelist
> typetest uiaction validate vscroll webrequest widgets wizard wrapsizer xrc
> │ │ │
>
> I don't think this is important enough to do anything about (the webview
> samples are still there).
It means the "architecture-independent" wx3.2-examples is different
depending on where it is built. I'd thought policy didn't allow that
though I'm failing to spot anything explicitly about it.
It seems better avoided though and could easily be by adding something
like this at a suitable place in debian/rules (untested - in particular
the path is something of a guess):
sed -i 's/webrequest wi/webrequest webview wi/' \
debian/tmp/wx3.2-examples/examples/samples/Makefile
# Check it worked.
grep -w webview debian/tmp/wx3.2-examples/examples/samples/Makefile
That'll be a no-op if webview is already listed, but fixes the file to
match a build with webview if it isn't. The `grep` avoids it quietly
failing if a new sample is added that sorts between `webrequest` and
`wi`.
Cheers,
Olly