1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
Quick Debian Developer Notes
1. Prior to v2.0.0, the autofiles patch needed to be refreshed every time there
was a new package, because the contents of the files changed. I'm hoping this
won't be necessary with v2.0.0, because the build process is more standard.
For my future sanity, here's the process I previously used:
$ svn-do
$ quilt delete -n
$ quilt new remove-auto-files.patch
$ quilt add config.hin~ config.log config.status config.cache
$ rm config.hin~ config.log config.status config.cache
$ quilt refresh
$ quilt pop -a
$ exit
$ svn commit -m "Rework remove-auto-files.patch"
The list of files in 'quilt add' (and subsequently rm) always varied
depending on what got leftover upstream.
2. Testing from a chroot is a bit of a pain. First, on the
main host, establish what display you're using, and save off
the value:
$ echo $DISPLAY
:10.0
Then, allow anything to use the X display:
$ xhost +
access control disabled, clients can connect from any host
Switch into your chroot and set the same display as on the
main host:
$ schroot -c unstable-amd64 # or whatever chroot you're using
$ export DISPLAY=:10.0
$ sopwith
This should let you smoke-test the video. However, audio generally doesn't
work from the chroot, and I haven't figured out a way to resolve that. Adding
the user to the audio group avoids ALSA error messages, but I still don't get
any output from sopwith or from alsa-utils test commands like speaker-test.
If you have problems with rendering, experiment first with xterm. If you can
open an xterm, then generally sopwith will work. If not, then you've got some
other X-related problem you need to fix first.
|