aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb')
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
index 81aee0ed0b..3b2d479186 100644
--- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
+++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "https://fedorahosted.org/liberation-fonts/"
BUGTRACKER = "https://bugzilla.redhat.com/"
SECTION = "x11/fonts"
-PRIORITY = "optional"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
PACKAGE_ARCH = "all"
s="gd">- unsigned char status; - unsigned short voltage; /* Voltage for battery #0; unknown for battery #1 */ - unsigned short percentage; /* Percentage of full charge */ - unsigned short life; /* Life remaining in minutes */ -}; - -struct h3600_battery { - unsigned char ac_status; - unsigned char battery_count; /* How many batteries we have */ - struct battery_data battery[2]; -}; - -/* -------- EEPROM and SPI Interfaces ---------------*/ - -#define EEPROM_RD_BUFSIZ 6 /* EEPROM reads are 16 bits */ -#define EEPROM_WR_BUFSIZ 5 /* Allow room for 8bit 'addr' field in buffer*/ -#define SPI_RD_BUFSIZ 16 /* SPI reads are 8 bits */ -#define SPI_WR_BUFSIZ 7 - -/* The EEPROM is where internal programs are stored on the Amtel. - You probably don't want to read or write these values */ - -typedef struct h3600_eeprom_read_request { - unsigned char addr; /* 8bit Address Offset 0-255 */ - unsigned char len; /* Number of 16bit words to read 0-128 */ - unsigned short buff[EEPROM_RD_BUFSIZ]; -} EEPROM_READ; - -typedef struct h3600_eeprom_write_request { - unsigned char len; /* used only to compute the number of bytes to send */ - unsigned char addr; /* 0-128 */ - unsigned short buff[EEPROM_WR_BUFSIZ]; -} EEPROM_WRITE; - -/* The SPI bus connects to EEPROMs located on sleeves plugged into - the iPAQ. You may want to read these values */ - -typedef struct h3600_spi_read_request { - unsigned short addr; /* 16bit Address Offset 0-128 */ - unsigned char len; /* Number of bytes to read */ - unsigned char buff[SPI_RD_BUFSIZ]; -} SPI_READ; - -#define SPI_READ_STATUS_BYTE 0xffff /* Use this address to read the status byte */ - -typedef struct h3600_spi_write_request { - unsigned short len; /* used only to compute the number of bytes to send */ - unsigned short addr; /* this 16bit address accesses a single byte */ - unsigned char buff[SPI_WR_BUFSIZ]; -} SPI_WRITE; - - -/* -------- end of EEPROM and SPI Interfaces ---------------*/ - -/* User space structures for IOCTL calls */ - -typedef struct h3600_ts_version { - unsigned char host_version[8]; /* ascii "x.yy" */ - unsigned char pack_version[8]; /* ascii "x.yy" */ - unsigned char boot_type; /* TODO ?? */ -} VER_RET; - -typedef struct h3600_ts_led { - unsigned char OffOnBlink; /* 0=off 1=on 2=Blink */ - unsigned char TotalTime; /* Units of 5 seconds */ - unsigned char OnTime; /* units of 100m/s */ - unsigned char OffTime; /* units of 100m/s */ -} LED_IN; - -enum flite_mode { - FLITE_MODE1 = 1, - FLITE_AUTO_MODE = 1, /* for reference only */ - FLITE_MANUAL_MODE = 2, /* Use this normally? */ - FLITE_GET_LIGHT_SENSOR = 3 /* Returns light reading in "brightness" field */ -}; -enum flite_pwr { - FLITE_PWR_OFF = 0, - FLITE_PWR_ON = 1 -}; - -typedef struct h3600_ts_flite { - unsigned char mode; - unsigned char pwr; - unsigned char brightness; -} FLITE_IN; - -/*************************** Updated "universal" structures *******************/ - -/* Sets backlight for both H3100 and H3600 models - technically "frontlight" for H3600 */ -struct h3600_ts_backlight { - enum flite_pwr power; /* 0 = off, 1 = on */ - unsigned char brightness; /* 0 - 255 */ -}; - -struct h3600_ts_contrast { /* Only useful on H3100 model */ - unsigned char contrast; /* 0 - 255 */ -}; - -/* IOCTL cmds user or kernel space */ - -/* Use 'f' as magic number */ -#define IOC_H3600_TS_MAGIC 'f' - -/* TODO: Some of these IOWR values are just plain wrong */ -#define GET_VERSION _IOR(IOC_H3600_TS_MAGIC, 1, struct h3600_ts_version ) -#define READ_EEPROM _IOWR(IOC_H3600_TS_MAGIC, 2, struct h3600_eeprom_read_request) -#define WRITE_EEPROM _IOWR(IOC_H3600_TS_MAGIC, 3, struct h3600_eeprom_write_request) -#define GET_THERMAL _IOR(IOC_H3600_TS_MAGIC, 4, struct therm_dev) -#define LED_ON _IOW(IOC_H3600_TS_MAGIC, 5, struct h3600_ts_led) -#define GET_BATTERY_STATUS _IOR(IOC_H3600_TS_MAGIC, 6, struct h3600_battery) -#define FLITE_ON _IOW(IOC_H3600_TS_MAGIC, 7, struct h3600_ts_flite) -#define READ_SPI _IOWR(IOC_H3600_TS_MAGIC, 8, struct h3600_spi_read_request) -#define WRITE_SPI _IOWR(IOC_H3600_TS_MAGIC, 9, struct h3600_spi_write_request) -#define TS_GET_CAL _IOR(IOC_H3600_TS_MAGIC, 10, struct h3600_ts_calibration) -#define TS_SET_CAL _IOW(IOC_H3600_TS_MAGIC, 11, struct h3600_ts_calibration) - -/* New IOCTL interfaces - defined to be more user friendly */ -#define TS_GET_BACKLIGHT _IOR(IOC_H3600_TS_MAGIC, 20, struct h3600_ts_backlight) -#define TS_SET_BACKLIGHT _IOW(IOC_H3600_TS_MAGIC, 20, struct h3600_ts_backlight) -#define TS_GET_CONTRAST _IOR(IOC_H3600_TS_MAGIC, 21, struct h3600_ts_contrast) -#define TS_SET_CONTRAST _IOW(IOC_H3600_TS_MAGIC, 21, struct h3600_ts_contrast) - -#endif Index: xtscal-0.6.3/Makefile.am =================================================================== --- xtscal-0.6.3.orig/Makefile.am 2004-06-02 23:07:13.000000000 +0100 +++ xtscal-0.6.3/Makefile.am 2007-07-02 12:51:02.000000000 +0100 @@ -1,11 +1,8 @@ -libexec_PROGRAMS = xtscal.bin -bin_SCRIPTS = xtscal +bin_PROGRAMS = xtscal -xtscal_bin_SOURCES = main.c calibrate.c calibrate.h h3600_ts.h +xtscal_SOURCES = main.c calibrate.c calibrate.h -xtscal_bin_LDADD = @XTSCAL_LIBS@ +xtscal_LDADD = @XTSCAL_LIBS@ INCLUDES = @XTSCAL_CFLAGS@ -DNR_POINTS=5 -include gpe-dist.am -