This library used on PDA to acses touchscreens Sucsessfuly work on iPAQ's
Created attachment 103137 [details] tslib ebuild
Created attachment 103138 [details] env.d file for tslib
Portage 2.1.2_rc2-r3 (default-linux/arm, gcc-4.1.1, glibc-2.5-r0, 2.6.17-hh2-gentoo-r1 armv5tel) ================================================================= System uname: 2.6.17-hh2-gentoo-r1 armv5tel XScale-PXA270 rev 7 (v5l) Gentoo Base System version 1.12.6 Last Sync: Fri, 01 Dec 2006 13:50:01 +0000 distcc 2.18.3 armv5te-softfloat-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="arm ~arm" AUTOCLEAN="yes" CBUILD="armv5te-softfloat-linux-gnu" CFLAGS="-Os -pipe" CHOST="armv5te-softfloat-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="ru en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm X Xaw3d acl apm bash-completion bitmap-fonts bzip2 cairo cli crypt dlloader elibc_glibc fbcon fortran gif glitz hh input_devices_evdev input_devices_keyboard input_devices_mouse jpeg kdrive kernel_linux linguas_en linguas_ru mp3 ncurses nls nptl nptlonly pam pcre pdf perl png pppd profile python readline reflection samba session slang spl ssl svg tcpd tiff truetype truetype-fonts tslib type1-fonts ucs2 unicode userland_GNU userlocales video_cards_fbdev xattr xcb xcomposite xsettings zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Why did you have to explicitly disable/enable those options? Some are enabled by default already. Enabling other drivers wouldn't hurt IMO
Looks like embedded will take this one on. Really PDA's kinda fall under embedded anyway.
Whatever gets comited to the tree will be reworked. The extra hardware functionality will either be moved into USE= flags or will be USE expanded. The logic for flipping the nonul will have to be reviewed but I think that it's only correct for the case of gnu libc.
not USE flags, but IUSE expanded stuff like VIDEO_CARDS the nonnull applies to uClibc, but it should never appear in an ebuild ... we document these things in the embedded handbook autogen should be run in src_unpack the env.d will need to be created by users and cannot be done in the ebuild ... no idea what event the touchscreen will actually be at runtime this package is known to work fine under uClibc ... we use it everyday on Blackfin
Theebuild was pretty much rewritten and has been added to the tree. We took patches from buildroot and openembedded. KEYWORDS=~arm ~x86 ~x86_64. It cross compiles fine.