[Xastir] Window Sizing and Shortcuts
Tom Russo
russo at bogodyn.org
Wed Jul 2 21:48:37 EDT 2014
On Wed, Jul 02, 2014 at 06:18:41PM -0700, we recorded a bogon-computron collision of the <jason at ke4nyv.com> flavor, containing:
> Curt,
>
> The resolution is 800x480. Can I recompile the version I have installed? ?The install was automated, so I have no idea if I can work with that or start over.
If I recall correctly, your install was done by running the script at
http://www.175moonlight.com/xastir/raspbian-xastir-cvsbuild.sh
with minor modifications. If so, all that "automation" was really just
running what most of us do by hand on other systems.
The script installs all the packages Xastir depends on, then downloads the
CVS version of Xastir and builds it. To do what Curt's suggesting means
skipping right to the last step after hacking the source --- you don't need to
re-run the script, since you already have all the prerequisites.
All you need to do to rebuild Xastir with that option is to do the following:
- cd ~/src/xastir/src
- cd ~/src/xastir/build
- ../configure CPPFLAGS="-DLCD640x480TOUCH"
This is the same as if you had edited main.c and uncommented an ifdef that
Curt mentioned, but is a lot simpler than editing code.
- make clean && make && sudo make install
Then, launch Xastir as before, but change font sizes so that everything looks
OK for you. While the "ifdef" has 640x480 in its name, there is nothing
that actually uses the 640x480 size in the code --- it's just a shorthand for
the specific use case Curt was experimenting with when he inserted this code.
Ideally, selecting these options should be done in the "configure" script with
an "--enable-touchscreen" option or something rather than by forcing CPPFLAGS
or hand-editing code, but nobody has set it up that way.
HTH,
T.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
More information about the Xastir
mailing list