Re: [OVC-demo-team] EVM Milestone 1, Integrator (was: New Dev Lead Selected -- Fred McLain)

From: Eron Lloyd <elloyd_at_lancaster_dot_lib_dot_pa_dot_us>
Date: Thu Feb 12 2004 - 16:34:10 CST

Hello Anand,

Excellent, as I definitely need it. To set up your environment, you'll need
the following (in build/install order):

Mandatory:
1. Python 2.3.3 (from source, default build to /usr/local)
2. MySQL 4.0.17+ (standard binary pkg., including all dev. pkgs.)
3. Network Audio System 1.6b+ (build before Qt!)
4. Qt 3.3.0 Free Edition *see build notes below
5. SIP 4.0rcX *see build notes below
6. PyQt snapshot >= 20040207 (I try to stay as bleeding edge as possible) *see
build notes below

Optional:
1. QScintilla *Build before PyQt & use proper Qt PATH* (available on PyQt
site; needed for Eric below)
2. Eric 3.3 (great Python/PyQt IDE, good to study source code for design
ideas)

I suggest building all into usr/local/, or somewhere that won't affect your
distro's default packages. This is because I like to stay current with my dev
tools, and upgrade frequently, which might break the distro's dependacies.
Build everything but MySQL from source. For Qt, this command should compile
all necessary libraries (assuming you unpack and build in /usr/local):

./configure -thread -qt-sql-mysql -L/usr/lib/mysql/ -R/usr/lib/mysql/
-I/usr/include/mysql/ -system-nas-sound -L/usr/X11R6/lib/ -R/usr/X11R6/lib/
-I/usr/X11R6/include/audio/

Then symlink /usr/local/qt3 -> /usr/local/qt-x11-3.30.

For building PyQt and SIP, make sure you use the correct python interpreter
and Qt PATH. By installing Python the default way, you'll end up with
everything under usr/local/bin and /usr/local/lib/python*. Set
QTDIR=/usr/local/qt3 to override the default PATH for Qt, and run the build
on PyQt and SIP using the *configure.py* script (not build.py). Make sure to
build SIP with threading enabled, by passing in the "-l qt-mt" argument to
configure.py.

By the time you get all this done, I should have some code ready for you to
work with ;-) Please don't hestitate to ask me for help.

Eron

On Monday 09 February 2004 8:49 am, Anand Pillai wrote:
> Hello Eron
>
> I would like to help you with this part. Once you
> upload the code, I can work on it further once I get the
> "hang" of PyQt. Sort of your apprentice :-)
>
> Just update the list with a message once you upload
> your code.
>
> Thanks
>
> -Anand
>
> ----- Original message -----
> From: "Eron Lloyd" <elloyd@lancaster.lib.pa.us>
> To: OVC-demo-team@lists.sonic.net
> Date: Fri, 6 Feb 2004 23:13:52 -0500
> Subject: Re: [OVC-demo-team] EVM Milestone 1, Integrator (was: New Dev
> Lead Selected -- Fred McLain)
>
> Sounds great, Fred. Sorry I've been a bit tied up through tomorrow, but I
> have
> some stuff that will probably be ready (UI-wise) to look at Sunday.
> Basically, I've broken down the UI to a basic column-based layout with
> multiple contest and referendum widgets, which are composed of basic Qt
> objects to avoid over-complexity of low-level drawing routines at this
> point.
> Attached is a sample contest widget. It's not polished at all (size,
> padding,
> colors, etc.), but will give you an idea of how simple we can make it. Is
> everyone cool with PyQt at this point? I'll comment more later on the
> milestone points later this weekend. Some quick thoughts on what needs to
> be
> done (code-wise):
>
> 1. Shell application hooking everything into main loop
> 2. UI classes
> 3. XML handler class(es)
> 4. Audio classes
> 5. Printing classes
> 6. Installation scripts
>
> At this point I'd like to focus on #2, then #1. Perhaps Jan can work with
> us
> to get #4 & 5 done... anyone else, help where needed! Some documentation
> would help too (I'll volunteer, as I like technical writing--can we use
> OpenOffice.org, please?). It would be fun to use UML to lay this all out,
> as
> well as some use cases. Umbrello (uml.sf.net) is mature enough to use.
> Other
> thoughts?
>
> Good work,
>
> Eron
>
> On Thursday 05 February 2004 9:55 pm, Fred McLain wrote:
> > Greetings all,
> >
> > Are there any comments on the Integrator release objectives? I hope we
> > can keep the GUI for Integrator as simple as possible and start forward
> > on it ASAP. Note that for the M1 release the ballot is a static
> > display, only the user selections vary it. For this release we do not
> > need to be able to accommodate all possible ballots, just the sample.
> > It's located here:
> >
> > http://evm2003.sourceforge.net/ballot-mockup3.gif
> >
> > Thanks!
> >
> > -Fred-
> >
> > On Thu, 2004-02-05 at 08:04, Fred McLain wrote:
> > > On Wed, 2004-02-04 at 21:39, Alan Dechert wrote:
> > > > I hope you all will join me in throwing your support to our new
> > > > Development Lead for the OVC demo.
> > >
> > > Thanks Alan, and thank you to everyone who has worked to bring the
> > > project to this point. I also appreciate all the kind words of
> > > welcome. I'm a strong believer in taking complex problems and finding
> > > simple solutions to them, so I would like to propose a very simple set
> > > of goals for our first milestone release. If we can work toward these
> > > goals as a community I believe we will have something that Alan can
> > > demonstrate in a very short time frame. Here are a set of goals for
> > > our first release. Let's focus on these tasks in the short term while
> > > understanding that for M2 we may take on some of the more complex bits
> > > discussed on this list so far. Please let me know which parts you each
> > > feel most competent to complete.
> > >
> > > ------- SNIP -------
> > > EVM Integrator Release
> > >
> > > To form into one whole; to make entire; to complete; to
> > > renew; to restore; to perfect. ``That conquest rounded and
> > > integrated the glorious empire.'' --De Quincey.
> > >
> > > EVM Milestone 1 release goals
> > >
> > > 1. Integrate existing components under a very simple static
> > > graphical user interface (GUI)
> > >
> > > 2. Link the new graphical and the audio (RII) UI to the printing
> > > system
> > >
> > > 3. Create a smooth work flow for both the GUI and RII
> > >
> > > 4. Create a reliable RPM based install for Redhat 9 with
> > > installation instructions
> > >
> > > GUI use case for Integrator M1
> > >
> > > 1. Display instructions screen with a "Continue" button.
> > >
> > > 2. Display the Ballot screen*
> > >
> > > 3. User makes selections and presses "Finished"**
> > >
> > > 4. System prints ballot and returns to step 1
> > >
> > > In debug mode at step 4:
> > >
> > > 4) System writes a temporary file and displays the postscript file.
> > >
> > > * The display needs to be as simple as possible and yet accurately
> > > representing the ballot in an approved form. A simple graphic (e.g.
> > > PNG) fits these requirements.
> > >
> > > ** A confirmation step may be inserted here, possibly a view of the
> > > printed form of the ballot with an option to return to voting or to
> > > print now (TBD).
> > >
> > > ------- SNIP -------
> >
> > ---
> > [This E-mail scanned for viruses by Declude Virus]
>
> --
> Anand Pillai
> anand_pillai@fastmail.fm

-- 
Eron Lloyd
Technology Coordinator
Lancaster County Library
elloyd@lancaster.lib.pa.us
Phone: 717-239-2116
Fax: 717-394-3083
---
[This E-mail scanned for viruses by Declude Virus]
==================================================================
= The content of this message, with the exception of any external 
= quotations under fair use, are released to the Public Domain    
==================================================================
Received on Thu Apr 1 02:40:17 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2004 - 02:40:36 CST