xf86DefModeSet.c is built using the files hw/xfree86/common/vesamodes and hw/xfree86/common/extramodes. extramodes is modified in the build process by debian/patches/001_fedora_extramodes.patch, so editing extramodes directly means the patch and therefore build fails. The packages do build if I add my missing modes to vesamodes and because all the modes are combined into the one xf86DefModeSet.c, I assume it'll work for testing purposes.
It looks like installing xserver-common and xserver-xorg-core should be sufficient to test my changes, is that correct or do I need the udeb or any of the other packages?
Ok, thanks for the info re dpkg-buildpackage.
xf86DefModeSet.c is created by hw/xfree86/ common/ modeline2c. awk. If you run dpkg-buildpackage, you'll find it two places:
$ find -name xf86DefModeSet.c main/hw/ xfree86/ common/ xf86DefModeSet. c udeb/hw/ xfree86/ common/ xf86DefModeSet. c
./build-
./build-
xf86DefModeSet.c is built using the files hw/xfree86/ common/ vesamodes and hw/xfree86/ common/ extramodes. extramodes is modified in the build process by debian/ patches/ 001_fedora_ extramodes. patch, so editing extramodes directly means the patch and therefore build fails. The packages do build if I add my missing modes to vesamodes and because all the modes are combined into the one xf86DefModeSet.c, I assume it'll work for testing purposes.
dpkg-buildpackage builds a whole bunch of debs:
xserver- common_ 1.18.4- 1ubuntu6_ all.deb xserver- xorg-core- udeb_1. 18.4-1ubuntu6_ amd64.udeb xephyr_ 1.18.4- 1ubuntu6_ amd64.deb xserver- xorg-dev_ 1.18.4- 1ubuntu6_ amd64.deb xorg-core_ 1.18.4- 1ubuntu6_ amd64.deb xserver- xorg-legacy_ 1.18.4- 1ubuntu6_ amd64.deb xorg-core- dbg_1.18. 4-1ubuntu6_ amd64.deb xserver- xorg-xmir_ 1.18.4- 1ubuntu6_ all.deb
xserver-
xserver-
xserver-
It looks like installing xserver-common and xserver-xorg-core should be sufficient to test my changes, is that correct or do I need the udeb or any of the other packages?