diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-05-23 18:47:20 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-05-23 18:47:20 +0000 |
commit | 5599260fe5f7d401bc36c677245511855b63318c (patch) | |
tree | c90071ba06fe784fdb74067abe4330a52ed16992 | |
parent | 1aa3d65c3f78f30a819217e97e3fd401f076ca7c (diff) | |
parent | a8ab3ecbfc4b62c2752e6acf6f42971a0eaaf34b (diff) |
merge of '2095c71741c2d1d79a50f2d9ea052cada53ba7d0'
and 'a0522e7d7dc85bbbff61ba37e7b7c0069fc5f5b5'
22 files changed, 1019 insertions, 12 deletions
diff --git a/conf/machine/guinness.conf b/conf/machine/guinness.conf index 11dbadacb8..1996a1603b 100644 --- a/conf/machine/guinness.conf +++ b/conf/machine/guinness.conf @@ -7,6 +7,7 @@ TARGET_ARCH = "i686" PACKAGE_EXTRA_ARCHS = "x86 i386 i486 i586" PREFERRED_PROVIDER_virtual/kernel = "linux-x86" +PREFERRED_PROVIDER_xserver = "xserver-xorg" udevdir = "/dev" diff --git a/packages/libcap/libcap_1.10.bb b/packages/libcap/libcap_1.10.bb index a7e1068f49..172acaca6e 100644 --- a/packages/libcap/libcap_1.10.bb +++ b/packages/libcap/libcap_1.10.bb @@ -3,12 +3,14 @@ PRIORITY = "optional" SECTION = "libs" LICENSE = "GPL" DEPENDS = "bison-native flex-native" +PR = "r1" CFLAGS_append = " -I${S}/libcap/include" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/kernel-2.4/${PN}-${PV}.tar.bz2 \ file://makenames.patch;patch=1 \ - file://make.patch;patch=1 " + file://make.patch;patch=1 \ + file://syscall.patch;patch=1" FILES_${PN} = "${libdir}" FILES_${PN}-dev = "${includedir}" diff --git a/packages/lighttpd/lighttpd_1.4.15.bb b/packages/lighttpd/lighttpd_1.4.15.bb new file mode 100644 index 0000000000..c759188b6b --- /dev/null +++ b/packages/lighttpd/lighttpd_1.4.15.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "Web server" +SECTION = "net" +LICENSE = "BSD" +PR = "r0" + +SRC_URI = "http://www.lighttpd.net/download/lighttpd-1.4.15.tar.gz \ + file://configure.in.patch;patch=1 \ + file://src-server.c.patch;patch=1 \ + file://index.html \ + file://lighttpd.conf \ + file://lighttpd" + +EXTRA_OECONF="--without-bzip2 \ + --without-ldap \ + --without-lua \ + --without-memcache \ + --without-pcre \ + --without-webdav-props \ + --without-webdav-locks \ + --without-openssl \ + --disable-nls \ + --disable-static" + +inherit autotools pkgconfig update-rc.d + +INITSCRIPT_NAME = "lighttpd" +INITSCRIPT_PARAMS = "defaults 70" + +do_install_append() { + install -d ${D}${sysconfdir}/init.d ${D}/www/logs ${D}/www/pages/dav ${D}/www/var + install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/index.html ${D}/www/pages/ +} + +do_stage() { + autotools_stage_all +} + +FILES_${PN} += "${libdir}/mod_*.so ${sysconfdir} /www" diff --git a/packages/linux/linux-dht-walnut_2.6.20.bb b/packages/linux/linux-dht-walnut_2.6.20.bb index 4a93954dfe..c770c6aa79 100644 --- a/packages/linux/linux-dht-walnut_2.6.20.bb +++ b/packages/linux/linux-dht-walnut_2.6.20.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for DHT-Walnut (ppc) machine" LICENSE = "GPL" -PR = "r1" +PR = "r2" DEPENDS = "u-boot" KERNEL_CCSUFFIX = "-3.4.4" @@ -49,7 +49,7 @@ do_install_append () { install -d ${DEPLOY_DIR}/images install -m 0755 arch/ppc/boot/images/zImage.elf ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.elf install -m 0755 vmlinux ${DEPLOY_DIR}/images/ - powerpc-${TARGET_OS}-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin + powerpc${TARGET_VENDOR}-${TARGET_OS}-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin gzip -f -9 ${DEPLOY_DIR}/images/linux.bin mkimage -A ppc -O linux -T kernel -C gzip -a 0 -e 0 -n "ppc405"+${PV} -d ${DEPLOY_DIR}/images/linux.bin.gz ${DEPLOY_DIR}/images/uImage-${PV}-${MACHINE}-${DATETIME}.bin rm ${DEPLOY_DIR}/images/vmlinux diff --git a/packages/linux/linux-magicbox_2.6.19.2.bb b/packages/linux/linux-magicbox_2.6.19.2.bb index f76d39156f..4e07abdfb2 100644 --- a/packages/linux/linux-magicbox_2.6.19.2.bb +++ b/packages/linux/linux-magicbox_2.6.19.2.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for Magicbox ver 1.1 and 2.0 router boards" LICENSE = "GPL" -PR = "r1" +PR = "r2" DEPENDS = "u-boot" COMPATIBLE_MACHINE = "magicbox" @@ -89,7 +89,7 @@ do_install_append () { install -d ${DEPLOY_DIR}/images install -m 0755 arch/ppc/boot/images/zImage.elf ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.elf install -m 0755 vmlinux ${DEPLOY_DIR}/images/ - powerpc-${TARGET_OS}-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin + powerpc${TARGET_VENDOR}-${TARGET_OS}-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin gzip -f -9 ${DEPLOY_DIR}/images/linux.bin cp -a ${DEPLOY_DIR}/images/linux.bin.gz ${DEPLOY_DIR}/images/linux-${PV}-${MACHINE}-${DATETIME}.bin.gz mkimage -A ppc -O linux -T kernel -C gzip -a 00000000 -e 00000000 -n "magicbox"-${PV} \ diff --git a/packages/meta/oplinux-packages.bb b/packages/meta/oplinux-packages.bb new file mode 100644 index 0000000000..2b43a39720 --- /dev/null +++ b/packages/meta/oplinux-packages.bb @@ -0,0 +1,646 @@ +# Meta package containing all the packages which build for OPLinux and OPLinux uclibc distro +# Copyright (C) 2007, Stelios Koroneos - Digital OPSiS, All Rights Reserved +# Released under the MIT license (see packages/COPYING) +DESCRIPTION = "Packages that are compatible with the OPLinux distro" +HOMEPAGE = "http://www.digital-opsis/oplinux" +LICENSE = "MIT" +PR = "r0" +PROVIDES += "${OPLINUX_IMAGENAME}-packages" + +EXCLUDE_FROM_WORLD = "1" +INHIBIT_DEFAULT_DEPS = "1" +ALLOW_EMPTY = "1" + + +python __anonymous () { + + import bb + + #Get all the packages we can build/exist in OE + package_list = bb.data.getVar('PACKAGES_LIST', d) or "none" + package_list=package_list.split() + + #Get the packages that are broken on all architectures + broken_package_list = bb.data.expand('${OPLINUX_BROKEN_PACKAGES}', d) + + # Get the arch we are building for + building_arch = bb.data.getVar('FEED_ARCH',d) + + #Now add the broken packages list the ones that fail for the arch we build now + if (building_arch=="i468") or (building_arch=="i568") or (building_arch=="i668"): + broken_package_list = broken_package_list + bb.data.expand('${OPLINUX_BROKEN_PACKAGES_ARCH_x8}', d) + + elif (building_arch=="ppc405"): + broken_package_list = broken_package_list + bb.data.expand('${OPLINUX_BROKEN_PACKAGES_ARCH_PPC}', d) + + elif (building_arch=="ppc603e"): + broken_package_list = broken_package_list + bb.data.expand('${OPLINUX_BROKEN_PACKAGES_ARCH_POWERPC}', d) + + + for chk_package in package_list : + build_package="yes" + if chk_package in broken_package_list: + build_package="no" + else : + bb.data.setVar('DEPENDS', (bb.data.getVar('DEPENDS', d) + chk_package +" "), d) + +#add the OPLinux extra packages to the DEPENDS list + bb.data.setVar('DEPENDS', (bb.data.getVar('DEPENDS', d) + bb.data.getVar('OPLINUX_EXTRA_PACKAGES', d)), d) + + + bb.data.setVar('DEPENDS', (bb.data.getVar('DEPENDS', d) + "package-index"), d) +} + + + + + +# The list of packages availiable to OE +# KEEP IN ALPHABETICAL ORDER +# Do *not* simply comment out a line. That will break. Instead +# remove the package and place it in the corresponding "broken" list +PACKAGES_LIST = "\ + acct \ + acpid \ + adns \ + aiostress \ + aircrack \ + alsa-lib \ + alsa-utils \ + apache2 \ + appweb \ + apmd \ + apt \ + ark3116 \ + arpwatch \ + at \ + atd \ + atftp \ + atmelwlandriver \ + audiofile \ + aumix \ + autoconf \ + automake \ + autofs \ + aspell \ + avahi \ + bacula-client \ + balsa \ + bash \ + bazaar \ + bb \ + bc \ + beep \ + beecrypt \ + beepmp \ + bind \ + binutils \ + bing \ + bison \ + bitchx \ + blueprobe \ + bmon \ + boa \ + bochs \ + bogofilter \ + boost \ + boost-asio \ + bonnie++ \ + bootchart \ + bootmenu \ + bootsplash \ + bridge-utils \ + bt950-cs \ + btscanner \ + btsco \ + btsco-module \ + btxml \ + bvi \ + bwmon \ + bluez-utils \ + bzflag \ + bzflag-server \ + bzip2 \ + came \ + chillispot \ + camsource \ + cscope \ + cups \ + ccxstream \ + cdparanoia \ + cdstatus \ + cetools \ + cherokee \ + ckermit \ + clish \ + coreutils \ + conserver \ + corkscrew \ + cpusage \ + cron \ + ctorrent \ + cvs \ + cyrus-sasl \ + cyrus-imapd \ + dialog \ + db \ + ddclient \ + dhclient \ + dhcp \ + didiwiki \ + devlabel \ + diffstat \ + diffutils \ + dnsmasq \ + ebtables \ + elftoaout \ + emul \ + enscript \ + e2fsprogs \ + e2fsprogs-libs \ + esmtp \ + etherpuppet \ + ethload \ + ethtool \ + ettercap \ + expat \ + ez-ipupdate \ + fortune-mod \ + fakeconnect \ + fbgrab \ + fetchmail \ + file \ + findutils \ + flac \ + flex \ + flite \ + frotz \ + fush \ + g15daemon \ + gallery \ + gammu \ + gawk \ + gcc \ + gdb \ + gdbm \ + genext2fs \ + gphoto2 \ + git \ + gift \ + glib-2.0 \ + gpm \ + gpsbabel \ + gs \ + gnu-config \ + gnuplot \ + gpsd \ + grep \ + gtk-doc \ + gzip \ + hdparm \ + hydra \ + ifupdown \ + iputils \ + ipkg-utils \ + iptables \ + intercom \ + ircp \ + irssi \ + joe \ + jpeg \ + kismet \ + kbdd \ + ksymoops \ + lame \ + lxt \ + lcdproc \ + less \ + libao \ + libpcre \ + libid3tag \ + liblockfile \ + libmad \ + libmikmod \ + libogg \ + libol \ + libpng \ + libtool \ + libupnp \ + libusb \ + libvorbis \ + litestream \ + lrzsz \ + lsof \ + lvm2 \ + m4 \ + madplay \ + mailx \ + make \ + mc \ + mikmod \ + mdadm \ + memtester \ + mgetty \ + miau \ + microcom \ + minicom \ + modphp \ + modplugplay \ + mp3blaster \ + mpg321 \ + mt-daapd \ + mtd-utils \ + mutt \ + mysql \ + mystun-server \ + nail \ + nano \ + ncftp \ + ncurses \ + netcat \ + nmap \ + nmixer \ + ntp \ + netkit-ftp \ + netperf \ + net-snmp \ + nfs-utils \ + ngrep \ + nmap \ + nsd \ + ntp \ + ntpdate \ + openobex-apps \ + openldap \ + openntpd \ + openobex \ + obexftp \ + obexpush \ + olsrd \ + openswan \ + openssh \ + openvpn \ + patch \ + pciutils \ + pcmcia-cs \ + portmap \ + privoxy \ + perl \ + pkgconfig \ + ppp \ + procps \ + pvrusb2-mci \ + pwc \ + quilt \ + rng-tools \ + rsync \ + samba \ + sane-backends \ + sed \ + setpwc \ + setserial \ + shorewall \ + smartmontools \ + ssmtp \ + strace \ + streamripper \ + sysfsutils \ + syslog-ng \ + stunnel \ + spandsp \ + subversion \ + slutils \ + strace \ + sudo \ + tcpdump \ + tor \ + tar \ + thttpd \ + tiff \ + texinfo \ + unzip \ + unrar \ + usbutils \ + util-linux \ + vim \ + vlan \ + vorbis-tools \ + vpnc \ + vsftpd \ + vtun \ + watchdog \ + wget \ + zd1211-firmware \ + zip \ + zlib \ + zsh \ + lirc \ + masqmail \ + wakelan \ + wireless-tools \ + wpa-supplicant \ + libxml2 \ + libdvb \ + madwifi-ng \ + motion \ + ftpd-topfield \ + eciadsl \ + netpbm \ + reiserfsprogs reiser4progs \ + python \ + mpd \ + memtester \ + puppy \ + + ctrlproxy \ + dsniff \ + iperf \ + groff \ + man man-pages \ + psmisc \ + screen \ + timezones \ + wview-sim wview-vpro wview-wxt510 \ + wview-sim-mysql wview-vpro-mysql \ + wview-wxt510-mysql \ + xinetd \ + obexftp \ + qc-usb-messenger \ + unionfs-modules \ + unionfs-utils \ + erlang \ + ctrlproxy \ + dsniff \ + fortune-mod \ + libpam \ + nfs-utils \ + rng-tools \ + postfix \ + yp-tools ypbind ypserv \ + +" + + + +# Packages currently broken on all platforms (glibc) +OPLINUX_BROKEN_PACKAGES = "irssi \ + unionfs-modules \ + unionfs-utils \ + +" + +#Here we define the packages that are broken on a specific architecture +#i486, i586, i686 +OPLINUX_BROKEN_PACKAGES_ARCH_x86 =" \ + aircrack \ + appweb \ + apt \ + ark3116 \ + at \ + atmelwlandriver \ + atftp \ + autofs \ + balsa \ + bazaar \ + bb \ + beecrypt \ + beepmp \ + bitchx \ + bochs \ + bmon \ + bt950-cs \ + btscanner \ + btsco-module \ + bwmon \ + came \ + ctrlproxy \ + cyrus-sasl \ + cyrus-imapd \ + dsniff \ + eciadsl \ + erlang \ + fortune-mod \ + gphoto2 \ + gpsd \ + intercom \ + lcdproc \ + lirc \ + mpd \ + puppy \ + pvrusb2-mci \ + pwc \ + qc-usb-messenger \ + sane-backends \ + setpwc \ + slutils \ + texinfo \ + vsftpd \ + libpam \ + aircrack \ + appweb \ + apt \ + ark3116 \ + gcc \ + gpsd \ + pvrusb2-mci \ + pwc \ + setpwc \ + cyrus-sasl \ + atftp \ + gphoto2 \ + lirc \ + libdvb \ + netpbm \ +" +# +#ppc405 +OPLINUX_BROKEN_PACKAGES_ARC_PPC = " \ + aircrack \ + appweb \ + apt \ + ark3116 \ + at \ + atmelwlandriver \ + atftp \ + autofs \ + balsa \ + bazaar \ + bb \ + beecrypt \ + beepmp \ + bitchx \ + bochs \ + bmon \ + bt950-cs \ + btscanner \ + btsco-module \ + bwmon \ + came \ + ctrlproxy \ + cyrus-sasl \ + cyrus-imapd \ + dsniff \ + eciadsl \ + erlang \ + fortune-mod \ + gphoto2 \ + gpsd \ + intercom \ + lcdproc \ + lirc \ + mpd \ + puppy \ + pvrusb2-mci \ + pwc \ + qc-usb-messenger \ + sane-backends \ + setpwc \ + slutils \ + texinfo \ + vsftpd \ +" + + + +# +#ppc440 ppc603e +OPLINUX_BROKEN_PACKAGES_ARCH_POWERPC = " \ + aircrack \ + appweb \ + apt \ + ark3116 \ + arpwatch \ + at \ + atmelwlandriver \ + atftp \ + autofs \ + balsa \ + bazaar \ + bb \ + beecrypt \ + beepmp \ + bitchx \ + bochs \ + bmon \ + bt950-cs \ + btscanner \ + btsco-module \ + bwmon \ + came \ + ctrlproxy \ + cyrus-sasl \ + cyrus-imapd \ + dsniff \ + eciadsl \ + erlang \ + fortune-mod \ + gphoto2 \ + gpsd \ + intercom \ + lcdproc \ + lirc \ + mpd \ + puppy \ + pvrusb2-mci \ + pwc \ + qc-usb-messenger \ + sane-backends \ + setpwc \ + slutils \ + spandsp \ + texinfo \ + vsftpd \ + + libpam \ + aircrack \ + appweb \ + apt \ + ark3116 \ + gcc \ + gpsd \ + pvrusb2-mci \ + pwc \ + setpwc \ + cyrus-sasl \ + atftp \ + gphoto2 \ + lirc \ + libdvb \ + netpbm \ +" + + + + +#Packages broken per machine (if we ever need such a thing) +OPLINUX_BROKEN_PACKAGES_append_x86 =" \ +" +OPLINUX_BROKEN_PACKAGES_append_i586-generic =" \ +" +OPLINUX_BROKEN_PACKAGES_append_i686-generic =" \ +" +OPLINUX_BROKEN_PACKAGES_append_epia =" \ +" +OPLINUX_BROKEN_PACKAGES_append_wrap = "\ +" + +#ppc targets +OPLINUX_BROKEN_PACKAGES_append_magicbox = "\ +" +OPLINUX_BROKEN_PACKAGES_append_dht-walnut = "\ +" +#powerpc targets +OPLINUX_BROKEN_PACKAGES_append_efika = "\ +" + + +# +# +OPLINUX_UCLIBC_UNSUPPORTABLE_PACKAGES = "\ + libpam \ + nfs-utils \ + rng-tools \ + postfix \ + yp-tools ypbind ypserv \ + " + +# These packages work with glibc, but break on uclibc. +OPLINUX_UCLIBC_BROKEN_PACKAGES = "\ +# bwmon \ +# erlang \ +# apr \ +# bogofilter \ +# boost \ +# linphone \ +# sudo \ +# ushare \ + " + +OPLINUX_UCLIBC_BROKEN_PACKAGES_append_x86 = "\ + " + +OPLINUX_UCLIBC_BROKEN_PACKAGES_append_epia = "\ + " + +OPLINUX_UCLIBC_BROKEN_PACKAGES_append_wrap = "\ + " + +OPLINUX_UCLIBC_BROKEN_PACKAGES_append_magicbox = "\ + " + +OPLINUX_UCLIBC_BROKEN_PACKAGES_append_dht-walnut = "\ + " + + +# Packages which build only with glibc (some of these use internal +# glibc functions and so will probably never run on uclibc). +OPLINUX_BROKEN_PACKAGES_append_uclibc-linux = "\ + ${OPLINUX_UCLIBC_UNSUPPORTABLE_PACKAGES} \ + ${OPLINUX_UCLIBC_BROKEN_PACKAGES} \ + +" + +# +#Any extra packages defined +# +OPLINUX_EXTRA_PACKAGES ?= "" diff --git a/packages/rt2x00/rt2570-k2wrlz_1.6.0.bb b/packages/rt2x00/rt2570-k2wrlz_1.6.0.bb new file mode 100644 index 0000000000..b22a3955a6 --- /dev/null +++ b/packages/rt2x00/rt2570-k2wrlz_1.6.0.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Driver for Ralink rt2570 USB 802.11g WiFi sticks" +HOMEPAGE = "http://rt2x00.serialmonkey.com/" +SECTION = "kernel/modules" +LICENSE = "GPL" + +SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/${PN}-${PV}.tar.bz2" + +inherit module + +S = "${WORKDIR}/${PN}-${PV}/Module/" + +EXTRA_OEMAKE = "KERNDIR=${STAGING_KERNEL_DIR}" + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra + install -m 0644 rt2570${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/ +} diff --git a/packages/uboot/u-boot.inc b/packages/uboot/u-boot.inc index d9b2f7b7c9..9a0199496c 100644 --- a/packages/uboot/u-boot.inc +++ b/packages/uboot/u-boot.inc @@ -27,5 +27,5 @@ addtask deploy before do_build after do_compile do_stage() { install -d ${STAGING_BINDIR_NATIVE} - install -m755 tools/mkimage ${STAGING_BINDIR_NATIVE}/ + install -m 755 tools/mkimage ${STAGING_BINDIR_NATIVE}/ } diff --git a/packages/uclibc/uclibc-initial_0.9.29.bb b/packages/uclibc/uclibc-initial_0.9.29.bb new file mode 100644 index 0000000000..840acafeac --- /dev/null +++ b/packages/uclibc/uclibc-initial_0.9.29.bb @@ -0,0 +1,32 @@ +SECTION = "base" +require uclibc_${PV}.bb + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + +DEPENDS = "linux-libc-headers" +PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" +PACKAGES = "" + +do_stage() { + # Install initial headers into the cross dir + make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \ + RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \ + pregen install_dev + + mkdir -p ${CROSS_DIR}/${TARGET_SYS} + mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include + mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib + ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include + rm -rf ${CROSS_DIR}/${TARGET_SYS}/${prefix} + + # This conflicts with the c++ version of this header + rm -f ${UCLIBC_PREFIX}/include/bits/atomicity.h +} + +do_install() { + : +} + +do_compile () { + : +} diff --git a/packages/uclibc/uclibc_0.9.29.bb b/packages/uclibc/uclibc_0.9.29.bb index 00cb7afb75..293a00ed55 100644 --- a/packages/uclibc/uclibc_0.9.29.bb +++ b/packages/uclibc/uclibc_0.9.29.bb @@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.29" -PR = "r2" +PR = "r3" require uclibc.inc diff --git a/packages/vsftpd/vsftpd-2.0.5/syscall.patch b/packages/vsftpd/vsftpd-2.0.5/syscall.patch new file mode 100644 index 0000000000..b91cd5392b --- /dev/null +++ b/packages/vsftpd/vsftpd-2.0.5/syscall.patch @@ -0,0 +1,12 @@ +Index: vsftpd-2.0.5/sysdeputil.c +=================================================================== +--- vsftpd-2.0.5.orig/sysdeputil.c 2007-05-20 21:20:01.000000000 +0200 ++++ vsftpd-2.0.5/sysdeputil.c 2007-05-20 21:20:28.000000000 +0200 +@@ -159,7 +159,6 @@ + #include <linux/capability.h> + #include <errno.h> + #include <syscall.h> +-_syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data) + /* Gross HACK to avoid warnings - linux headers overlap glibc headers */ + #undef __NFDBITS + #undef __FDMASK diff --git a/packages/vsftpd/vsftpd_2.0.5.bb b/packages/vsftpd/vsftpd_2.0.5.bb index 81aec46845..fc10d27f08 100644 --- a/packages/vsftpd/vsftpd_2.0.5.bb +++ b/packages/vsftpd/vsftpd_2.0.5.bb @@ -1,12 +1,12 @@ DESCRIPTION = "Secure ftp daemon" SECTION = "console/network" LICENSE = "GPL" -DEPENDS = "openssl" -PR = "r0" +PR = "r1" SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \ file://makefile.patch;patch=1 \ file://nopam.patch;patch=1 \ + file://syscall.patch;patch=1 \ file://init \ file://vsftpd.conf" @@ -20,7 +20,7 @@ do_configure() { } do_compile() { - oe_runmake "LIBS=-lssl -lcrypto -lcrypt -L${STAGING_LIBDIR}" + oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}" } do_install() { diff --git a/packages/xorg-xserver/xorg-xserver-common.inc b/packages/xorg-xserver/xorg-xserver-common.inc index 634d6eb835..7bcd483c24 100644 --- a/packages/xorg-xserver/xorg-xserver-common.inc +++ b/packages/xorg-xserver/xorg-xserver-common.inc @@ -42,6 +42,15 @@ FILES_${PN}-doc += "${libdir}/X11/doc /usr/share/X11/xkb/compiled/README.compile FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug ${libdir}/xorg/modules/*/.debug" FILES_${PN}-dev += "${libdir}/xorg/modules/*.la ${libdir}/xorg/modules/*/*.la" +PACKAGES =+ "${PN}-multimedia ${PN}-configtools" + +FILES_${PN}-multimedia = "${libdir}/xorg/modules/multimedia/*.so" +FILES_${PN}-configtools = "${bindir}/xorgconfig ${bindir}/xorgcfg" + +do_configure_prepend() { + sed -i -e s:/usr/include/drm:${STAGING_INCDIR}/drm:g hw/xfree86/os-support/linux/Makefile.am +} + do_stage() { autotools_stage_all } diff --git a/packages/xorg-xserver/xserver-kdrive-1.3.0.0/.mtn2git_empty b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/.mtn2git_empty diff --git a/packages/xorg-xserver/xserver-kdrive-1.3.0.0/disable-xf86-dga-xorgcfg.patch b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/disable-xf86-dga-xorgcfg.patch new file mode 100644 index 0000000000..ccc19139c8 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/disable-xf86-dga-xorgcfg.patch @@ -0,0 +1,39 @@ +Index: xorg-server-1.3.0.0/configure.ac +=================================================================== +--- xorg-server-1.3.0.0.orig/configure.ac 2007-04-20 03:23:40.000000000 +0200 ++++ xorg-server-1.3.0.0/configure.ac 2007-05-09 16:51:34.000000000 +0200 +@@ -520,7 +520,11 @@ + XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la' + + dnl Core modules for most extensions, et al. ++if test "$KDRIVE" = yes; then ++REQUIRED_MODULES="[randrproto >= 1.2] renderproto [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto xextproto xproto xtrans xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto [kbproto >= 1.0.3]" ++else + REQUIRED_MODULES="[randrproto >= 1.2] renderproto [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto xf86dgaproto [kbproto >= 1.0.3]" ++fi + REQUIRED_LIBS="xfont xau fontenc" + + AM_CONDITIONAL(XV, [test "x$XV" = xyes]) +@@ -1603,7 +1607,9 @@ + AC_SUBST(XKB_COMPILED_DIR) + + dnl and the rest of these are generic, so they're in config.h ++if test ! x"$KDRIVE" = xyes; then + AC_DEFINE(XFreeXDGA, 1, [Build XDGA support]) ++fi + AC_DEFINE(XResExtension, 1, [Build XRes extension]) + + AC_TRY_COMPILE([ +@@ -1616,10 +1622,12 @@ + + AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix]) + ++if test ! "x$KDRIVE" = xyes ; then + dnl xorgconfig CLI configuration utility + PKG_CHECK_MODULES([XORGCONFIG_DEP], [xkbfile x11]) + AC_SUBST(XORGCONFIG_DEP_CFLAGS) + AC_SUBST(XORGCONFIG_DEP_LIBS) ++fi + + dnl xorgcfg GUI configuration utility + AC_ARG_ENABLE(xorgcfg, AS_HELP_STRING([--enable-xorgcfg], diff --git a/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-epson.patch b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-epson.patch new file mode 100644 index 0000000000..8ec3a37c78 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-epson.patch @@ -0,0 +1,11 @@ +Index: xorg-server-1.2.0/hw/kdrive/Makefile.am +=================================================================== +--- xorg-server-1.2.0.orig/hw/kdrive/Makefile.am 2007-03-28 17:11:38.000000000 +0200 ++++ xorg-server-1.2.0/hw/kdrive/Makefile.am 2007-03-28 17:12:28.000000000 +0200 +@@ -1,5 +1,5 @@ + if KDRIVEFBDEV +-FBDEV_SUBDIRS = fbdev ++FBDEV_SUBDIRS = fbdev epson + endif + + if KDRIVEIMAGEON diff --git a/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-tslib.patch b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-tslib.patch new file mode 100644 index 0000000000..9a59530ed3 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-tslib.patch @@ -0,0 +1,12 @@ +Index: xorg-server-1.2.0/configure.ac +=================================================================== +--- xorg-server-1.2.0.orig/configure.ac 2007-03-29 13:28:10.000000000 +0200 ++++ xorg-server-1.2.0/configure.ac 2007-03-29 13:28:35.000000000 +0200 +@@ -1517,6 +1517,7 @@ + AC_MSG_ERROR([tslib must be installed to build the tslib driver. See http://tslib.berlios.de/]) + fi + AC_DEFINE(TSLIB, 1, [Have tslib support]) ++ AC_DEFINE(TOUCHSCREEN, 1, [Have touchscreen support]) + fi + + # damage shadow extension glx (NOTYET) fb mi diff --git a/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch new file mode 100644 index 0000000000..717e72f93f --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch @@ -0,0 +1,101 @@ +--- + Xext/Makefile.am | 6 ++++++ + configure.ac | 9 ++++++++- + include/kdrive-config.h.in | 3 +++ + mi/miinitext.c | 6 ++++++ + 4 files changed, 23 insertions(+), 1 deletion(-) + +Index: xorg-server-1.3.0.0/mi/miinitext.c +=================================================================== +--- xorg-server-1.3.0.0.orig/mi/miinitext.c 2007-05-15 16:05:34.000000000 +0100 ++++ xorg-server-1.3.0.0/mi/miinitext.c 2007-05-15 16:05:39.000000000 +0100 +@@ -372,6 +372,9 @@ extern void ResExtensionInit(INITARGS); + #ifdef DMXEXT + extern void DMXExtensionInit(INITARGS); + #endif ++#ifdef XCALIBRATE ++extern void XCalibrateExtensionInit(INITARGS); ++#endif + #ifdef XEVIE + extern void XevieExtensionInit(INITARGS); + #endif +@@ -663,6 +666,9 @@ InitExtensions(argc, argv) + #ifdef DAMAGE + if (!noDamageExtension) DamageExtensionInit(); + #endif ++#ifdef XCALIBRATE ++ XCalibrateExtensionInit (); ++#endif + } + + void +Index: xorg-server-1.3.0.0/configure.ac +=================================================================== +--- xorg-server-1.3.0.0.orig/configure.ac 2007-05-15 16:05:34.000000000 +0100 ++++ xorg-server-1.3.0.0/configure.ac 2007-05-15 16:17:54.000000000 +0100 +@@ -421,6 +421,7 @@ AC_ARG_ENABLE(xf86vidmode, AS_HELP_ST + AC_ARG_ENABLE(xf86misc, AS_HELP_STRING([--disable-xf86misc], [Build XF86Misc extension (default: enabled)]), [XF86MISC=$enableval], [XF86MISC=yes]) + AC_ARG_ENABLE(xace, AS_HELP_STRING([--disable-xace], [Build X-ACE extension (default: enabled)]), [XACE=$enableval], [XACE=yes]) + AC_ARG_ENABLE(xcsecurity, AS_HELP_STRING([--disable-xcsecurity], [Build Security extension (default: enabled)]), [XCSECURITY=$enableval], [XCSECURITY=$XACE]) ++AC_ARG_ENABLE(xcalibrate, AS_HELP_STRING([--enable-xcalibrate], [Build XCalibrate extension (default: disabled)]), [XCALIBRATE=$enableval], [XCALIBRATE=no]) + AC_ARG_ENABLE(appgroup, AS_HELP_STRING([--disable-appgroup], [Build XC-APPGROUP extension (default: enabled)]), [APPGROUP=$enableval], [APPGROUP=$XCSECURITY]) + AC_ARG_ENABLE(xcalibrate, AS_HELP_STRING([--enable-xcalibrate], [Build XCalibrate extension (default: disabled)]), [XCALIBRATE=$enableval], [XCALIBRATE=no]) + AC_ARG_ENABLE(tslib, AS_HELP_STRING([--enable-tslib], [Build kdrive tslib touchscreen support (default: disabled)]), [TSLIB=$enableval], [TSLIB=no]) +@@ -653,6 +654,12 @@ if test "x$XCSECURITY" = xyes; then + AC_DEFINE(XCSECURITY, 1, [Build Security extension]) + fi + ++AM_CONDITIONAL(XCALIBRATE, [test "x$XCALIBRATE" = xyes]) ++if test "x$XCALIBRATE" = xyes; then ++ AC_DEFINE(XCALIBRATE, 1, [Build XCalibrate extension]) ++ REQUIRED_MODULES="$REQUIRED_MODULES xcalibrateproto" ++fi ++ + AM_CONDITIONAL(XEVIE, [test "x$XEVIE" = xyes]) + if test "x$XEVIE" = xyes; then + AC_DEFINE(XEVIE, 1, [Build XEvIE extension]) +@@ -1547,7 +1554,7 @@ if test "$KDRIVE" = yes; then + ;; + esac + KDRIVE_STUB_LIB='$(top_builddir)/hw/kdrive/src/libkdrivestubs.a' +- KDRIVE_LIBS="$DIX_LIB $KDRIVE_LIB $KDRIVE_OS_LIB $KDRIVE_PURE_LIBS $KDRIVE_STUB_LIB $TSLIB_LIBS" ++ KDRIVE_LIBS="$DIX_LIB $KDRIVE_LIB $KDRIVE_PURE_LIBS $KDRIVE_OS_LIB $KDRIVE_STUB_LIB $TSLIB_LIBS" + + # check if we can build Xephyr + PKG_CHECK_MODULES(XEPHYR, x11 xext xfont xau xdmcp, [xephyr="yes"], [xephyr="no"]) +Index: xorg-server-1.3.0.0/include/kdrive-config.h.in +=================================================================== +--- xorg-server-1.3.0.0.orig/include/kdrive-config.h.in 2007-05-15 16:05:34.000000000 +0100 ++++ xorg-server-1.3.0.0/include/kdrive-config.h.in 2007-05-15 16:05:39.000000000 +0100 +@@ -25,4 +25,7 @@ + /* Verbose debugging output hilarity */ + #undef DEBUG + ++/* Enable XCalibrate extension */ ++#undef XCALIBRATE ++ + #endif /* _KDRIVE_CONFIG_H_ */ +Index: xorg-server-1.3.0.0/Xext/Makefile.am +=================================================================== +--- xorg-server-1.3.0.0.orig/Xext/Makefile.am 2007-05-15 16:05:34.000000000 +0100 ++++ xorg-server-1.3.0.0/Xext/Makefile.am 2007-05-15 16:05:39.000000000 +0100 +@@ -91,6 +91,11 @@ BUILTIN_SRCS += $(XCALIBRATE_SRCS) + # XCalibrare needs tslib + endif + ++XCALIBRATE_SRCS = xcalibrate.c ++if XCALIBRATE ++BUILTIN_SRCS += $(XCALIBRATE_SRCS) ++endif ++ + # X EVent Interception Extension: allows accessibility helpers & composite + # managers to intercept events from input devices and transform as needed + # before the clients see them. +@@ -169,6 +174,7 @@ EXTRA_DIST = \ + $(XCSECURITY_SRCS) \ + $(XCALIBRATE_SRCS) \ + $(XINERAMA_SRCS) \ ++ $(XCALIBRATE_SRCS) \ + $(XEVIE_SRCS) \ + $(XPRINT_SRCS) \ + $(APPGROUP_SRCS) \ diff --git a/packages/xorg-xserver/xserver-kdrive-1.3.0.0/optional-xkb.patch b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/optional-xkb.patch new file mode 100644 index 0000000000..a580b500b7 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.3.0.0/optional-xkb.patch @@ -0,0 +1,58 @@ +Index: xorg-server-1.2.0/Makefile.am +=================================================================== +--- xorg-server-1.2.0.orig/Makefile.am 2007-01-23 06:39:15.000000000 +0100 ++++ xorg-server-1.2.0/Makefile.am 2007-03-28 20:26:19.000000000 +0200 +@@ -30,6 +30,10 @@ + XINPUT_DIR=Xi + endif + ++if XKB ++XKB_DIR=xkb ++endif ++ + if DBE + DBE_DIR=dbe + endif +@@ -46,7 +50,7 @@ + randr \ + render \ + $(XINPUT_DIR) \ +- xkb \ ++ $(XKB_DIR) \ + $(DBE_DIR) \ + $(MFB_DIR) \ + $(AFB_DIR) \ +Index: xorg-server-1.2.0/configure.ac +=================================================================== +--- xorg-server-1.2.0.orig/configure.ac 2007-01-23 06:39:15.000000000 +0100 ++++ xorg-server-1.2.0/configure.ac 2007-03-28 20:27:13.000000000 +0200 +@@ -428,6 +428,7 @@ + AC_ARG_ENABLE(dpms, AS_HELP_STRING([--disable-dpms], [Build DPMS extension (default: enabled)]), [DPMSExtension=$enableval], [DPMSExtension=yes]) + AC_ARG_ENABLE(xinput, AS_HELP_STRING([--disable-xinput], [Build XInput Extension (default: enabled)]), [XINPUT=$enableval], [XINPUT=yes]) + AC_ARG_ENABLE(xfree86-utils, AS_HELP_STRING([--enable-xfree86-utils], [Build xfree86 DDX utilities (default: enabled)]), [XF86UTILS=$enableval], [XF86UTILS=yes]) ++AC_ARG_ENABLE(xkb, AS_HELP_STRING([--disable-xkb], [Build XKB (default: enabled)]), [XKB=$enableval], [XKB=yes]) + + dnl DDXes. + AC_ARG_ENABLE(xorg, AS_HELP_STRING([--enable-xorg], [Build Xorg server (default: auto)]), [XORG=$enableval], [XORG=auto]) +@@ -754,12 +755,15 @@ + + AC_DEFINE(SHAPE, 1, [Support SHAPE extension]) + +-AC_DEFINE(XKB, 1, [Build XKB]) +-AC_DEFINE(XKB_IN_SERVER, 1, [Build XKB server]) +-AC_DEFINE(XKB_DFLT_DISABLED, 0, [Disable XKB per default]) +-REQUIRED_MODULES="$REQUIRED_MODULES xkbfile" +-XKB_LIB='$(top_builddir)/xkb/libxkb.la' +-XKB_STUB_LIB='$(top_builddir)/xkb/libxkbstubs.la' ++AM_CONDITIONAL(XKB, [test "x$XKB" = xyes]) ++if test "x$XKB" = xyes; then ++ AC_DEFINE(XKB, 1, [Build XKB]) ++ AC_DEFINE(XKB_IN_SERVER, 1, [Build XKB server]) ++ AC_DEFINE(XKB_DFLT_DISABLED, 0, [Disable XKB per default]) ++ REQUIRED_MODULES="$REQUIRED_MODULES xkbfile" ++ XKB_LIB='$(top_builddir)/xkb/libxkb.la' ++ XKB_STUB_LIB='$(top_builddir)/xkb/libxkbstubs.la' ++fi + + AC_CHECK_FUNC(strcasecmp, [], AC_DEFINE([NEED_STRCASECMP], 1, + [Do not have `strcasecmp'.])) diff --git a/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb b/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb new file mode 100644 index 0000000000..8c6db70987 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb @@ -0,0 +1,17 @@ +require xserver-kdrive-common.inc + +# it's missing the xw100 patch +DEFAULT_PREFERENCE = "-1" + +DEPENDS += "libxkbfile libxcalibrate" + +PE = "1" +PR = "r0" + +SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \ + ${KDRIVE_COMMON_PATCHES} \ + file://fix_default_mode.patch;patch=1 \ + file://enable-xcalibrate.patch;patch=1 \ + file://hide-cursor-and-ppm-root.patch;patch=1" + +S = "${WORKDIR}/xorg-server-${PV}" diff --git a/packages/xorg-xserver/xserver-xorg_1.2.0.bb b/packages/xorg-xserver/xserver-xorg_1.2.0.bb index 900c3266cb..08b965bb75 100644 --- a/packages/xorg-xserver/xserver-xorg_1.2.0.bb +++ b/packages/xorg-xserver/xserver-xorg_1.2.0.bb @@ -1,8 +1,8 @@ +MESA_VER = "6.5.2" + require xorg-xserver-common.inc PE = "1" -SRC_URI += "file://drmfix.patch;patch=1" - EXTRA_OECONF += " ac_cv_file__usr_share_X11_sgml_defs_ent=no " #DESCRIPTION = "" diff --git a/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb b/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb new file mode 100644 index 0000000000..08b965bb75 --- /dev/null +++ b/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb @@ -0,0 +1,10 @@ +MESA_VER = "6.5.2" + +require xorg-xserver-common.inc +PE = "1" + +EXTRA_OECONF += " ac_cv_file__usr_share_X11_sgml_defs_ent=no " + +#DESCRIPTION = "" + +#DEPENDS += " " |