summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-10 00:48:20 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-11 14:49:12 +0200
commit9c58805777928fd16a3dfbd9f173a9a82d0cba94 (patch)
treeffe09889f0ef45fb7d1ca47a1df9eb16e9fcdf9c
parent6ea9a5e80785b247c736e00bb1647fe8508996b9 (diff)
obsolete: add include files to make recipes parse-able
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes/obsolete/didiwiki/didiwiki.inc8
-rw-r--r--recipes/obsolete/gimp/gimp.inc47
-rw-r--r--recipes/obsolete/gtk-webcore/midori.inc14
-rw-r--r--recipes/obsolete/olsr/olsrd.inc70
-rw-r--r--recipes/obsolete/quilt/quilt-native.inc21
-rw-r--r--recipes/obsolete/quilt/quilt.inc9
-rw-r--r--recipes/obsolete/xorg-xserver/xorg-xserver-common.inc113
7 files changed, 282 insertions, 0 deletions
diff --git a/recipes/obsolete/didiwiki/didiwiki.inc b/recipes/obsolete/didiwiki/didiwiki.inc
new file mode 100644
index 0000000000..28c00196b0
--- /dev/null
+++ b/recipes/obsolete/didiwiki/didiwiki.inc
@@ -0,0 +1,8 @@
+SECTION = "console/network"
+DESCRIPTION = "A small and simple WikiWikiWeb implementation written in C \
+and which includes a built in webserver."
+LICENSE = "GPLv2"
+
+SRC_URI = "http://sources.openembedded.org/didiwiki-${PV}.tar.gz"
+
+inherit autotools
diff --git a/recipes/obsolete/gimp/gimp.inc b/recipes/obsolete/gimp/gimp.inc
new file mode 100644
index 0000000000..2894582a8e
--- /dev/null
+++ b/recipes/obsolete/gimp/gimp.inc
@@ -0,0 +1,47 @@
+DESCRIPTION = "The GIMP is the GNU Image Manipulation Program."
+HOMEPAGE = "http://www.gimp.org"
+SECTION = "x11/graphics"
+LICENSE = "GPL"
+
+DEPENDS = "sed-native gdk-pixbuf-csource-native libart-lgpl gtk+ jpeg libpng libexif tiff"
+
+SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.3/gimp-${PV}.tar.bz2 \
+ file://configure-libwmf.patch;patch=1"
+
+inherit gnome
+
+FILES_gimp-dbg =+ "${libdir}/gimp/2.0/modules/.debug \
+ ${libdir}/gimp/2.0/plug-ins/.debug"
+
+#Don't laugh, this just builds a threaded gimp
+EXTRA_OECONF = " --disable-gtktest \
+ --disable-print \
+ --disable-python \
+ --enable-mp \
+ --without-libwmf"
+
+do_configure_append() {
+ find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
+ find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
+ find ${S} -name Makefile | xargs sed -i s:'file-wmf$(EXEEXT)':'':g
+}
+
+
+do_stage() {
+ autotools_stage_all
+}
+
+python populate_packages_prepend () {
+ cv_libdir = bb.data.expand('${libdir}', d)
+ do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'GIMP %s library', extra_depends='', allow_links=True)
+}
+
+FILES_${PN} = "${bindir} ${sysconfdir} ${datadir}/gimp* ${libdir}/gimp* \
+ ${datadir}/applications \
+ ${datadir}/icons \
+ ${datadir}/mime-info \
+ ${datadir}/application-registry "
+
+FILES_${PN}-dbg += "${libdir}/gimp/2.0/plug-ins/.debug \
+ ${libdir}/gimp/2.0/modules/.debug"
+
diff --git a/recipes/obsolete/gtk-webcore/midori.inc b/recipes/obsolete/gtk-webcore/midori.inc
new file mode 100644
index 0000000000..fc2df36f4a
--- /dev/null
+++ b/recipes/obsolete/gtk-webcore/midori.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "Midori is a lightweight web browser."
+LICENSE = "GPLv2"
+
+DEPENDS = "webkit-gtk libsoup-2.4 libsexy"
+
+PE = "1"
+
+inherit autotools gtk-icon-cache pkgconfig
+
+SRC_URI = "http://software.twotoasts.de/media/midori/midori-${PV}.tar.gz"
+
+EXTRA_OECONF = " --disable-hildon "
+
+TARGET_CC_ARCH += "${LDFLAGS}"
diff --git a/recipes/obsolete/olsr/olsrd.inc b/recipes/obsolete/olsr/olsrd.inc
new file mode 100644
index 0000000000..7fd25c23dd
--- /dev/null
+++ b/recipes/obsolete/olsr/olsrd.inc
@@ -0,0 +1,70 @@
+DESCRIPTION = "OLSR mesh routing daemon"
+HOMEPAGE = "http://www.olsr.org"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "BSD"
+
+MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "http://www.olsr.org/releases/${MAJ_VER}/olsrd-${PV}.tar.bz2 \
+ file://init \
+ file://olsrd.conf"
+
+S = "${WORKDIR}/olsrd-${PV}"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "olsrd"
+INITSCRIPT_PARAMS = "defaults"
+EXTRA_OEMAKE = "MAKEFLAGS=-I${WORKDIR}/olsrd-${PV}"
+
+do_configure() {
+ oe_runmake OS=linux clean
+}
+
+do_compile() {
+ oe_runmake OS=linux clean
+ touch .depend
+ touch src/cfgparser/.depend
+ oe_runmake OS=linux all libs
+}
+
+do_install () {
+ oe_runmake OS=linux INSTALL_PREFIX=${D} STRIP=echo install install_libs
+
+ install -d ${D}/${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/olsrd
+ install -m 644 ${WORKDIR}/olsrd.conf ${D}/${sysconfdir}
+}
+
+PACKAGES =+ "\
+ olsrd-plugin-dyngw \
+ olsrd-plugin-dyngw-plain \
+ olsrd-plugin-httpinfo \
+ olsrd-plugin-nameservice \
+ olsrd-plugin-quagga \
+ olsrd-plugin-tas \
+ olsrd-plugin-pgraph \
+ olsrd-plugin-bmf \
+ olsrd-plugin-txtinfo \
+ olsrd-plugin-arprefresh \
+ olsrd-plugin-secure \
+ olsrd-plugin-dotdraw \
+ olsrd-plugin-mini \
+ "
+
+FILES_olsrd-plugin-dyngw = "${libdir}/${PN}_dyn_gw.so.*"
+FILES_olsrd-plugin-dyngw-plain = "${libdir}/${PN}_dyn_gw_plain.so.*"
+FILES_olsrd-plugin-httpinfo = "${libdir}/${PN}_httpinfo.so.*"
+FILES_olsrd-plugin-nameservice = "${libdir}/${PN}_nameservice.so.*"
+FILES_olsrd-plugin-quagga = "${libdir}/${PN}_quagga.so.*"
+FILES_olsrd-plugin-tas = "${libdir}/${PN}_tas.so.*"
+FILES_olsrd-plugin-pgraph = "${libdir}/${PN}_pgraph.so.*"
+FILES_olsrd-plugin-bmf = "${libdir}/${PN}_bmf.so.*"
+FILES_olsrd-plugin-txtinfo = "${libdir}/${PN}_txtinfo.so.*"
+FILES_olsrd-plugin-arprefresh = "${libdir}/${PN}_arprefresh.so.*"
+FILES_olsrd-plugin-dotdraw = "${libdir}/${PN}_dot_draw.so.*"
+FILES_olsrd-plugin-secure = "${libdir}/${PN}_secure.so.*"
+FILES_olsrd-plugin-mini = "${libdir}/${PN}_mini.so.*"
+
+CONFFILES_${PN} = "${sysconfdir}/olsrd.conf"
+
diff --git a/recipes/obsolete/quilt/quilt-native.inc b/recipes/obsolete/quilt/quilt-native.inc
new file mode 100644
index 0000000000..cad1b745f3
--- /dev/null
+++ b/recipes/obsolete/quilt/quilt-native.inc
@@ -0,0 +1,21 @@
+require quilt.inc
+
+SRC_URI_append_build-darwin = "? file://non-gnu.patch;patch=1 "
+RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native util-linux-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/quilt-${PV}"
+
+INHIBIT_AUTOTOOLS_DEPS = "1"
+
+inherit autotools native
+
+PATCHTOOL = "patch"
+EXTRA_OECONF = "--disable-nls --without-date"
+
+do_configure () {
+ oe_runconf
+}
+
+do_test() {
+ oe_runmake check
+}
+
diff --git a/recipes/obsolete/quilt/quilt.inc b/recipes/obsolete/quilt/quilt.inc
new file mode 100644
index 0000000000..ce9679ded1
--- /dev/null
+++ b/recipes/obsolete/quilt/quilt.inc
@@ -0,0 +1,9 @@
+DESCRIPTION = "Tool to work with series of patches."
+HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
+SECTION = "devel"
+LICENSE = "GPL"
+
+SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
+ file://install.patch;patch=1"
+
+S = "${WORKDIR}/quilt-${PV}"
diff --git a/recipes/obsolete/xorg-xserver/xorg-xserver-common.inc b/recipes/obsolete/xorg-xserver/xorg-xserver-common.inc
new file mode 100644
index 0000000000..a72812c22f
--- /dev/null
+++ b/recipes/obsolete/xorg-xserver/xorg-xserver-common.inc
@@ -0,0 +1,113 @@
+HOMEPAGE = "http://www.x.org"
+SECTION = "x11/base"
+LICENSE = "MIT-X"
+
+INC_PR = "r14"
+
+PROVIDES = "virtual/xserver"
+
+# Config manager for xserver, options are: hal, udev, empty (for configuration in xorg.conf)
+DISTRO_XORG_CONFIG_MANAGER ?= "hal"
+DISTRO_XORG_CONFIG_MANAGER_shr ?= ""
+
+# default none, enabled by DISTRO_XORG_CONFIG_MANAGER setting
+CONFIG_MANAGER_OPTION += "${@['--disable-config-hal','--enable-config-hal',''][bb.data.getVar('DISTRO_XORG_CONFIG_MANAGER',d) in ['hal']]}"
+CONFIG_MANAGER_OPTION += "${@['--disable-config-udev','--enable-config-udev',''][bb.data.getVar('DISTRO_XORG_CONFIG_MANAGER',d) in ['udev']]}"
+
+DEPENDS = "fontconfig freetype flex-native lbxutil kbproto \
+xf86driproto drm glproto randrproto renderproto fixesproto damageproto \
+xcmiscproto xextproto xproto xf86miscproto xf86vidmodeproto xf86bigfontproto \
+scrnsaverproto bigreqsproto resourceproto fontsproto inputproto \
+xf86dgaproto videoproto compositeproto trapproto recordproto dmxproto \
+resourceproto xineramaproto xtrans evieext libxkbfile libxfont libxau \
+libfontenc libxdmcp libxxf86vm libxaw libxmu libxt libxpm libxext libx11 \
+libxkbui libxxf86misc libxi libdmx libxtst libxres virtual/libgl libxcalibrate \
+libxv ${DISTRO_XORG_CONFIG_MANAGER}"
+
+RRECOMMENDS_${PN} = "libpciaccess"
+
+XORG_PN = "xorg-server"
+SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2;name=archive"
+
+S = "${WORKDIR}/${XORG_PN}-${PV}"
+
+inherit autotools pkgconfig glx-use-tls
+
+EXTRA_OECONF += " --enable-xcalibrate \
+ --enable-kdrive \
+ --enable-xephyr \
+ --disable-xfbdev \
+ --disable-xnest \
+ --disable-kdrive-vesa \
+ --with-default-font-path="/usr/share/fonts/X11/misc" \
+ ac_cv_file__usr_share_sgml_X11_defs_ent=no"
+
+# CONFIG_MANAGER_OPTION is used only in recipes which support those options
+
+EXTRA_OECONF_append_arm = " ac_cv_header_linux_apm_bios_h=no "
+
+PACKAGES =+ "xserver-security-policy"
+FILES_xserver-security-policy += "${libdir}/xserver/SecurityPolicy"
+RRECOMMENDS_${PN} += "xserver-security-policy xkeyboard-config xorg-minimal-fonts rgb xserver-xorg-conf"
+
+PACKAGES =+ "${PN}-sdl ${PN}-fbdev ${PN}-xprint ${PN}-xvfb ${PN}-utils ${PN}-xephyr"
+
+FILES_${PN}-fbdev = "${bindir}/Xfbdev"
+FILES_${PN}-sdl = "${bindir}/Xsdl"
+FILES_${PN}-xprint = "${libdir}/X11/xserver/*/print"
+FILES_${PN}-xvfb = "${bindir}/Xvfb"
+FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl"
+FILES_${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules ${libdir}/xorg/modules /etc/X11 ${libdir}/xorg/protocol.txt"
+FILES_${PN}-doc += "${libdir}/X11/doc /usr/share/X11/xkb/compiled/README.compiled"
+FILES_${PN}-xephyr = "${bindir}/Xephyr"
+
+FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
+ ${libdir}/xorg/modules/*/.debug \
+ ${libdir}/xorg/modules/*/*/.debug \
+ "
+
+# Split out some modules and extensions from the main package
+# These aren't needed for basic operations and only take up space:
+# 32.0k libdri.so
+# 336.0k libglx.so
+# 1360k libint10.so
+# 180.0k libwfb.so
+# 320.0k libxaa.so
+# 124.0k libxf1bpp.so
+# 84.0k libxf4bpp.so
+
+PACKAGES =+ "${PN}-extension-dri \
+ ${PN}-extension-dri2 \
+ ${PN}-extension-glx \
+ ${PN}-module-libint10 \
+ ${PN}-module-libafb \
+ ${PN}-module-libwfb \
+ ${PN}-module-libmfb \
+ ${PN}-module-libcfb \
+ ${PN}-module-xaa \
+ ${PN}-module-libxf1bpp \
+ ${PN}-module-libxf4bpp"
+
+FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so"
+FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so"
+FILES_${PN}-extension-glx = "${libdir}/xorg/modules/extensions/libglx.so"
+FILES_${PN}-module-libint10 = "${libdir}/xorg/modules/libint10.so"
+FILES_${PN}-module-libafb = "${libdir}/xorg/modules/libafb.so"
+FILES_${PN}-module-libwfb = "${libdir}/xorg/modules/libwfb.so"
+FILES_${PN}-module-libmfb = "${libdir}/xorg/modules/libmfb.so"
+FILES_${PN}-module-libcfb = "${libdir}/xorg/modules/libcfb.so"
+FILES_${PN}-module-xaa = "${libdir}/xorg/modules/libxaa.so"
+FILES_${PN}-module-libxf1bpp = "${libdir}/xorg/modules/libxf1bpp.so"
+FILES_${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so"
+
+PACKAGES =+ "${PN}-multimedia-modules"
+
+FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*"
+
+do_stage() {
+ autotools_stage_all
+}
+
+do_install_append () {
+ ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts
+}