dslinux/user/pixil/pixilDT Config.in Makefile PixilDT.ini.templ README README.Desktop run_desktop.sh.in

amadeus dslinux_amadeus at user.in-berlin.de
Tue Oct 3 13:26:48 CEST 2006


Update of /cvsroot/dslinux/dslinux/user/pixil/pixilDT
In directory antilope:/tmp/cvs-serv11916/pixilDT

Added Files:
	Config.in Makefile PixilDT.ini.templ README README.Desktop 
	run_desktop.sh.in 
Log Message:
adding pristine copy of pixil to HEAD so I can branch from it

--- NEW FILE: README ---
PIXIL 1.2 Distribution
-----------------------

The PIXIL 1.2 Distribution needs to be unpacked before use. To do this, 
issue the following command:

tar xzvf pixil-1.2.tar.gz

This will produce the following directory tree in the current directory:

pixil-1.2/
pixil-1.2/README
pixil-1.2/README.Desktop
pixil-1.2/README.PDA
pixil-1.2/ReleaseNotes
pixil-1.2/Desktop/
pixil-1.2/Desktop/pixil-1.2-desktop.tar.gz
pixil-1.2/PDA/
pixil-1.2/PDA/2.4.7-rmk3-np1-zImage
pixil-1.2/PDA/bootldr-c002-2.9.5
pixil-1.2/PDA/bootldr-0000-2.14.8
pixil-1.2/PDA/osloader-1.3.0.exe
pixil-1.2/PDA/pixil.root


PIXIL 1.2 Installation Instructions
------------------------------------

The PIXIL 1.2 installation is composed of two parts, loading the PDA
and desktop installation.

Installation instructions for each of these parts is contained in
the files README.PDA and README.Desktop.

PIXIL 1.2 Desktop Dependencies
-------------------------------

PIXIL 1.2 for the desktop is dependent on the following Linux features
being present on the desktop being used:

1. RedHat 7.1 or 7.2
2. The expect package being present. If this is not installed, you
   can retrieve and install it from the RedHat installation CDs.
3. XFree86 version 4.1 or above

Please see the README.Desktop file for more information on obtaining and
installing dependent packages.

PIXIL 1.2 PDA Dependencies
---------------------------

PIXIL 1.2 has been tested on the iPAQ 3630 and similar color models. The
newer versions of the iPAQ may not be fully compatible with the PIXIL
PDA installation. Grayscale versions of the iPAQ are not supported.

****

!!! Forcing an install on an usupported platform may result in a dead iPAQ !!!

****

Please see the README.PDA file for more information on installing the
PDA portion of PIXIL.

--- NEW FILE: Makefile ---
# apps/pixilDT/Makefile

PIXILDT_DIR=$(ROOT_DIR)/workstation
DEST_DIR?=$(ROOT_DIR)

export PIXILDT_DIR

DIRS =

ifndef CONFIG_PIXILDT_FLTK
DIRS += fltk 
endif

DIRS += flek NxDb

ifeq ($(CONFIG_SYNC),y)
DIRS += sync syncapp
endif

DIRS += src

subdir-build = $(patsubst %,_subdir_%,$(DIRS))
subdir-clean = $(patsubst %,_clean_%,$(DIRS))
subdir-install = $(patsubst %,_install_%,$(DIRS))

all: $(subdir-build)
clean: $(subdir-clean)
install: $(subdir-install) $(PIXILDT_DIR)/PixilDT.ini $(DEST_DIR)/run_desktop.sh

$(subdir-build): dummy
	@ $(MAKE) -C $(patsubst _subdir_%,%,$@)

$(subdir-clean): dummy
	@ $(MAKE) -C $(patsubst _clean_%,%,$@) clean

$(subdir-install):
	@ $(MAKE) -C $(patsubst _install_%,%,$@) install

$(PIXILDT_DIR): 
	@ mkdir -p $(PIXILDT_DIR)
	@ mkdir -p $(PIXILDT_DIR)/bin

	@ mkdir -p $(PIXILDT_DIR)/data
	@ chmod 777 $(PIXILDT_DIR)/data

$(PIXILDT_DIR)/PixilDT.ini: $(PIXILDT_DIR)
	@ cat PixilDT.ini.templ | \
	sed -e s%Path=.*%Path=$(DEST_DIR)/workstation/data%g \
	> $(PIXILDT_DIR)/bin/PixilDT.ini

$(DEST_DIR)/run_desktop.sh:
	cat run_desktop.sh.in | \
	sed -e s%@prefix@%$(DEST_DIR)/workstation%g \
	> $(DEST_DIR)/run_desktop.sh 

	chmod uga+x $(DEST_DIR)/run_desktop.sh

dummy:

.PHONY: fltk flek NxDb src


--- NEW FILE: README.Desktop ---
PIXIL 1.2 Desktop Dependencies
-------------------------------

The PIXIL 1.2 Desktop is dependent on the following Linux features:

1. RedHat 7.1 or 7.2
2. The expect package being present. If this is not installed, you
   can retrieve and install it from the RedHat installation CDs.
3. XFree86 version 4.1 or above
4. Working serial port.

Installation of the Expect Package
-----------------------------------
The majority of RedHat installation contain the expect packages already
installed. However, there are installation options which will not
install this feature. PIXIL 1.2 depends on the expect program to 
interact with the PDA.

For convenience's sake, Century has placed the RPMs for the expect packages
in the same location as where you obtained the original PIXIL distribution.
Additionally, you can obtain the RedHat RPMs from your original RedHat
installation CDs, or from one of the many mirrors available on the 
Internet.

For RedHat 7.1, the RPM is named:

expect-5.31-53.i386.rpm

and for RedHat 7.2:

expect-5.32.2-65.i386.rpm

Install the appropriate package on your desktop system before attempting
to run PIXIL synchronization.

Installation of the Desktop Software
-------------------------------------

Installing the desktop software is simply a matter of unpacking the 
pixil-1.2-desktop.tar.gz file into an appropriate place on your desktop
system. Common locations are /usr/local, or even the home directory
of an individual user. For example, to install in /usr/local:

cd /usr/local
tar xzvf /home/user/pixil-1.2-desktop.tar.gz

This will create a subdirectory called pixil-1.2 which contains all of the
binaries and other scripts needed to run PIXIL 1.2 Desktop.

Following the unpacking of the distribution, all that remains is to 
setup PIXIL 1.2 for a given user. This is done by following these steps:

1. Log in as the desired user.
2. Change directories to the installation location of pixil 1.2. In the
   above example, this would be /usr/local/pixil-1.2
3. Run the shell script Setup.sh 

The Setup.sh script will ask a couple of questions. Normally, the default
values provided will be sufficient for most installations. The Setup.sh
script writes a configuration file in the home directory of the user
running it. This file is called .pixilrc, and can be modified by hand
if needed.

Running PIXIL Desktop
----------------------
To start the PIXIL 1.2 desktop software, run the PixilDT script from the
installation directory. For the example given above, this would be
/usr/local/pixil-1.2/PixilDT.


--- NEW FILE: Config.in ---
menu "Pixil Desktop"

config CONFIG_PIXILDT
       bool "Build the PixilDT application"
       default y

config CONFIG_PIXILDT_FLTK
	bool "Use external FLTK for PixilDT"
	default n

config CONFIG_PIXILDT_FLTKDIR
	string "External FLTK directory"
	depends CONFIG_PIXILDT_FLTK
	default "/usr/local/"
	
config CONFIG_PIXILDT_INTERNATIONAL
        bool "Build gettext support into PixilDT"
        default n
        depends CONFIG_PIXILDT

config CONFIG_PIXILDT_DEBUG
	bool "Build PixilDT with debugging symbols"
	default n
	depends CONFIG_PIXILDT
endmenu

--- NEW FILE: run_desktop.sh.in ---
#!/bin/sh

export PATH=$PATH:@prefix@/bin

(cd @prefix@/bin/; ./PixilDT)


--- NEW FILE: PixilDT.ini.templ ---
[DataBase]
Path=c:\pixil-dt\pixildt

[Search]
String=else

[ToDoList]
ShowCategory=Yes
ShowCompleted=Yes
ShowDueDate=Yes
ShowOnlyDue=No
ShowPriority=Yes
Sort=0

[Application]
ConfirmDelete=Yes
MainPage=3
SchedulerPage=0

[Scheduler]
DayBegins=8
WeekBegins=1





More information about the dslinux-commit mailing list