diff options
139 files changed, 1807 insertions, 464 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 5086136aa3..2a586f6072 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -189,6 +189,11 @@ Website: www.codeomega.info Interests: text-to-speech, vnc Recipes: libvncserver, fbvncserver2 +Person: Paul Eggleton +Mail: bluelightning@bluelightning.org +Interests: PocketPC and Zaurus userland (especially Opie) +Recipes: opie-*, qpe-* + Person: Paul Sokolovsky Mail: pmiscml@gmail.com Machines: h3900, h4000, hx4700 diff --git a/classes/lockdown.bbclass b/classes/lockdown.bbclass new file mode 100644 index 0000000000..45b9761b9c --- /dev/null +++ b/classes/lockdown.bbclass @@ -0,0 +1,41 @@ +addtask show_versions before do_build +do_show_versions[nostamp] = "1" +python do_show_versions() { + import sys + + localdata = bb.data.createCopy(d) + bb.data.update_data(localdata) + + src_uri = bb.data.getVar('SRC_URI', localdata, 1) + if not src_uri: + return 1 + + try: + bb.fetch.init(src_uri.split(),d) + except bb.fetch.NoMethodError: + (type, value, traceback) = sys.exc_info() + raise bb.build.FuncFailed("No method: %s" % value) + + + src_uri = bb.data.getVar("SRC_URI", d, False) + pn = bb.data.getVar("PN", d, True) + src_revs = open("%s/src_revs.inc" % bb.data.getVar("TMPDIR", d, 1), "a") + src_dates = open("%s/src_dates.inc" % bb.data.getVar("TMPDIR", d, 1), "a") + pref_versions = open("%s/preferred_versions.inc" % bb.data.getVar("TMPDIR", d, 1), "a") + if "SRCREV" in bb.data.getVar("PV", d, False): + print >> src_revs, 'SRCREV_pn-%(pn)s ?= "%(rev)s"' % { 'pn' : pn, 'rev' : bb.data.getVar("SRCREV", d, True) } + elif "cvs://" in src_uri or "svn://" in src_uri or "git://" in src_uri: + print >> src_dates, 'SRCDATE_pn-%(pn)s ?= "%(date)s"' % { 'pn' : pn, 'date' : bb.data.getVar("SRCDATE", d, True) } + + print >> pref_versions, 'PREFERRED_VERSION_%(pn)s = "%(version)s"' % { "pn" : pn, 'version' : bb.data.getVar("PV", d, True) } + src_revs.close() + src_dates.close() + pref_versions.close() +} + +addtask lockdown +do_lockdown[nostamp] = "1" +do_lockdown[recrdeptask] = "do_show_versions" +python do_lockdown() { +} + diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass index ab8096eb45..546738dde8 100644 --- a/classes/seppuku.bbclass +++ b/classes/seppuku.bbclass @@ -319,6 +319,12 @@ python seppuku_eventhandler() { passw = bb.data.getVar("SEPPUKU_PASS", data, True) product = bb.data.getVar("SEPPUKU_PRODUCT", data, True) component = bb.data.getVar("SEPPUKU_COMPONENT", data, True) + proxy = bb.data.getVar('HTTP_PROXY', data, True ) + if (proxy): + phl = urllib2.ProxyHandler({'http' : proxy}) + poster.add_handler(phl) + opener.add_handler(phl) + # evil hack to figure out what is going on debug_file = open(os.path.join(bb.data.getVar("TMPDIR", data, True),"..","seppuku-log"),"a") diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index 0b7fc1d843..d2b2b33898 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -1,10 +1,20 @@ -def tinder_http_post(server, selector, content_type, body): +def tinder_http_post(d, server, selector, content_type, body): import httplib + from bb import data # now post it for i in range(0,5): try: - h = httplib.HTTP(server) - h.putrequest('POST', selector) + proxy = data.getVar('HTTP_PROXY', d, True ) + if (proxy): + if (proxy.endswith('/')): + proxy = proxy[:-1] + if (proxy.startswith('http://')): + proxy = proxy[7:] + h = httplib.HTTP(proxy) + h.putrequest('POST', 'http://%s%s' % (server, selector)) + else: + h = httplib.HTTP(server) + h.putrequest('POST', selector) h.putheader('content-type', content_type) h.putheader('content-length', str(len(body))) h.endheaders() @@ -12,8 +22,8 @@ def tinder_http_post(server, selector, content_type, body): errcode, errmsg, headers = h.getreply() #print errcode, errmsg, headers return (errcode,errmsg, headers, h.file) - except: - print "Error sending the report!" + except Exception, e: + print "Error sending the report! ", e # try again pass @@ -116,7 +126,7 @@ def tinder_build_start(d): #print "selector %s and url %s" % (selector, url) # now post it - errcode, errmsg, headers, h_file = tinder_http_post(server,selector,content_type, body) + errcode, errmsg, headers, h_file = tinder_http_post(d,server,selector,content_type, body) #print errcode, errmsg, headers report = h_file.read() @@ -151,7 +161,7 @@ def tinder_send_http(d, status, _log): new_log = _log while len(new_log) > 0: content_type, body = tinder_format_http_post(d,status,new_log[0:18000]) - errcode, errmsg, headers, h_file = tinder_http_post(server,selector,content_type, body) + errcode, errmsg, headers, h_file = tinder_http_post(d,server,selector,content_type, body) #print errcode, errmsg, headers #print h.file.read() new_log = new_log[18000:] diff --git a/conf/checksums.ini b/conf/checksums.ini index e07f929acd..29f535c6ab 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -1410,6 +1410,10 @@ sha256=bc691463af8506c1c84db0edab727ee8f8ee4ecd1777b0e264db2525d4500833 md5=de60df7541fafe8c6a3397e0f105ff0e sha256=c487645d32b8124b9ae224b8929e5aa45e581bd8d8c8da666add423cf927d1ea +[ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.20.tar.bz2] +md5=6e9080ba1faa5d3739d14dd76c62d8dc +sha256=15f8d0eef1da10c62136107e7b585bc8beb9c9e9b7ad177654097f8c15e57a63 + [ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-1.0.11.tar.bz2] md5=3106c2d59a329263867fa3dd44133dda sha256=6b688a3895a14945d0622e16cfdb9292ef9f953ab2d195b08595736f76e5a790 @@ -1550,6 +1554,10 @@ sha256=17da486f983597f28c0efadb261b76b733155be7451ef34eefc65cb4058d883d md5=d5d7c69837cc7dcbf2aa181ff423ab20 sha256=a938c07ea331359f379802c50c33aa0307b913f742ad74087d45e7fb2a1f4d50 +[http://xorg.freedesktop.org/releases/individual/proto/applewmproto-1.2.0.tar.bz2] +md5=44e18d01857f9dfeb8628e317e786f31 +sha256=4f549083df9db85e61d0b272645e3dc71bacde9b9156ca20a57440e794b71042 + [http://xorg.freedesktop.org/releases/X11R7.0/src/proto/applewmproto-X11R7.0-1.0.3.tar.bz2] md5=2acf46c814a27c40acd3e448ed17fee3 sha256=db738777fd573bede8e41f121f31692e8ec70bb822b5dcd263973533273fc5ec @@ -4978,6 +4986,10 @@ sha256=545ce9830f0cf649e3b1b40d25d13989c23302623bf9b50f4c24402f63c82184 md5=1d70f0653b0b3a837853262dc5d34da4 sha256=69def6d1f64b3699ec9c729596d8b096623a62bdda6bbea78ed690421d174c11 +[http://xorg.freedesktop.org/releases/individual/proto/dri2proto-2.0.tar.bz2] +md5=26f6515322ec50691584ac74291b4254 +sha256=1954a7e96d7fe70611c483836ed143e84a069eed6d3dab22c05a531bfb6da9e4 + [http://www.ex-parrot.com/~chris/driftnet/driftnet-0.1.6.tar.gz] md5=8e11d77770452f97bb3c23f510489815 sha256=dbdf7ead3ae14b109f88c86dedeb7524be8c257aa773a781891216f013373d6d @@ -10222,6 +10234,14 @@ sha256=80655b3531ea56a5d64085e572dfb8d3ecabffd28af482cd130f72dfdd6254b0 md5=ae7177ab8f0163d3ef2df71f0de2b357 sha256=33dd87dc9452227375b8b9cdad940581714a55d55ff18ae2990905ac2f81fa0f +[http://downloads.sourceforge.net/hamlib/hamlib-1.2.8.tar.gz] +md5=74eaf1be4cf1cbdecee54808c6930788 +sha256=be81153a6e2830234d62818c8aa5658b1410b538a3676686a3f1373f03036b81 + +[http://downloads.sourceforge.net/hamlib/hamlib-1.2.9.tar.gz] +md5=9515288826284d6c8dd569354dacc8e0 +sha256=ba75e64e1b6d5ffaa41e2063e475eca5b35ad68cb4ee6e888e0fc73bd6fa9fba + [http://www.soft.uni-linz.ac.at/~vogl/bluez/handsfree-040326.tar.gz] md5=488b0f2f346361bba7996b459c5d7b6f sha256=dbd0c389a160c9f6dcd9eac81b6c4d5a02866968a33f06201556d6860012f6c3 @@ -11282,26 +11302,6 @@ sha256=4c4f3c7c479994c3ce09f542d4fbdc03eed58a2d7f320d32f2baf238b5b6f566 md5=b941b8f4de297827f3211c2cb34af199 sha256=79e80af8cbeb68ddad75a1aa6244d7acd62176bfd69bcdc0640d11177dcde97d -[http://downloads.sourceforge.net/jamvm/jamvm-1.3.0.tar.gz] -md5=4f0af6c15f1b9fc50375d30a422bc88f -sha256=445813850236d5ea54942df45046ee9414192b403fb8fb1b8e7cfce0f3ace761 - -[http://downloads.sourceforge.net/jamvm/jamvm-1.3.1.tar.gz] -md5=cceb887aec78fee99773949ede34759e -sha256=3a089c19c49e0e29f319d60afac73708a80a22ac42a9728316193e680f4cec5d - -[http://downloads.sourceforge.net/jamvm/jamvm-1.3.2.tar.gz] -md5=f63b7cf4b541a144c41f17fffb7cc869 -sha256=6740f2cef6a2620bc5959eb65562866ffb5c45050a04555aed244abcbe30f88d - -[http://downloads.sourceforge.net/jamvm/jamvm-1.4.1.tar.gz] -md5=ed79d6b60e50b007614831f8c28321ac -sha256=a73727c9c2e15d6302cf4f5d3aaf8378c5de9d60a302b9d5fa4ee5332341f867 - -[http://downloads.sourceforge.net/jamvm/jamvm-1.4.2.tar.gz] -md5=c7affcc61d4135ee838121a57b08de0f -sha256=dae915b7f963762385df2f4660eaad497261fa72393ba69339530e5b0b5d8bc3 - [http://downloads.sourceforge.net/jamvm/jamvm-1.4.5.tar.gz] md5=3f538bab6e1c77aed331e5e71f754f5b sha256=f329d1c8f42c06b53a3e82763d33900b100b8e9acd7afe02f7583c51253fd6e5 @@ -11330,6 +11330,10 @@ sha256=663895bd69caf3a1fda6af5eea8263d90a5fd35ca8f4c32e2210ac410788901a md5=2a564045670b459e9aed857b5f8a3391 sha256=76c976616d344a3b1abd8896be6610c4d97a58af6960e1bc2f442b774bdda839 +[http://downloads.sourceforge.net/jamvm/jamvm-1.5.3.tar.gz] +md5=ce886163658d748113b0570dfae12aea +sha256=f2795ab62635df1c9bc6c4a7b90f53d0d846c0c26f5ec7b352f687506407ebd8 + [http://downloads.sourceforge.net/gakusei/jards_gakusei.cvs.sourceforge.net__20070212.tar.gz] md5=1282913edd226bc9e865f39d79573117 sha256=3c884982ebf40aade899379902ec92c41782d18c19506cf0ec40bcf6a7df8e3b @@ -11638,6 +11642,10 @@ sha256=1b998b34e2e9377f5ac7704295d64507234fe7656e49d384f8bf95604e97e05b md5=2100c667e69db0cde35fa2d06c8516e2 sha256=023e7f47039c1ad8615052e464f76a3cd496a423449b931036d127c56d58b2b9 +[http://www.kismetwireless.net/code/kismet-2008-05-R1.tar.gz] +md5=6ee365d36354b4dee4945e67f8149294 +sha256=a298d44f8a6ec977021cd492a720987ded81b5c4baf5f68b36f1282a23c9f7d3 + [http://kernel.org//pub/linux/libs/klibc/Stable/klibc-0.190.tar.bz2] md5=6c96f954676c7b898dfe230e0f2a1fb5 sha256=5767cbb094300c5e26eb0bab588ecdbf9e5db2a637e9ae73c2efb8a62e05217e @@ -11854,6 +11862,10 @@ sha256=463f0b46ce3a0fc09ef9ad7a5429959034d50a1eadbed5dfeae36c25dca31130 md5=48a403c45be2206ee900729ced3a0e62 sha256=ecd2ff407a418eb4ac673f48b4d0a9c5b6860a13cef7211a32fe8f3d3db0407e +[http://xorg.freedesktop.org/releases/individual/lib/libAppleWM-1.2.0.tar.bz2] +md5=d58b5a03ba36c661ff48f38048c2edd3 +sha256=82f9b9dff544fc3d8bcda5878930cdc3817d478f34b3790c599fe185c138f160 + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libAppleWM-X11R7.0-1.0.0.tar.bz2] md5=8af30932ebc278835375fca34a2790f5 sha256=66d5b9d53816cc158a0f241772cbde60a52aa0a722e28d3ef76a5eb6c82840d5 @@ -11962,6 +11974,14 @@ sha256=bdbd6d239435c1736f5c532b12e8078761db8db5f37ab3195fe11c3e5b692c1c md5=d1512d65dadd4f48c779d4749e7753a8 sha256=da9272900e41615e9c5dc25d84730b8966da6f5c8f4c40418dca2ad040fc8b82 +[http://xorg.freedesktop.org/releases/individual/lib/libX11-1.2.1.tar.bz2] +md5=2f2beb98e71f397e1209beaca4e97cb1 +sha256=d172e5a401a2607f4ff145db4e8e09c193a1980bbb2c5c7f824e61ee3fdfdff3 + +[http://xorg.freedesktop.org/releases/individual/lib/libX11-1.2.tar.bz2] +md5=c6265b59ea2b594fd68e33f9125b4d20 +sha256=e4863cdf5d471763806e9bcae25ea47606a56cd91a5546a34c093aa3de181051 + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libX11-X11R7.0-1.0.0.tar.bz2] md5=dcf59f148c978816ebbe3fbc5c9ef0e1 sha256=89a3c2d8324ff9d0d91682503407310f7df30a74915cd253be3a75247b044248 @@ -12018,6 +12038,10 @@ sha256=45ca55bdac904a07b8118618c65ddb5bf8826e626c4c927e3c2508c58e231514 md5=73671d8f1cf36fdd81395328cc3539c9 sha256=11f4ab184fb8dc853fd95238d4de7b251427dd036643d11fd2a669232fa35af9 +[http://xorg.freedesktop.org/releases/individual/lib/libXaw-1.0.5.tar.bz2] +md5=64e7782db4653cb57c7f7e660b2431c3 +sha256=2503f3e3348ee3cf38368161dfab8112d3aea2a26deea34f3136898c13cfb88d + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libXaw-X11R7.0-1.0.1.tar.bz2] md5=ded3c7ed6d6ca2c5e257f60079a1a824 sha256=076ed9c4b07379b1a957753a3c8fd2a1d93ba460587d450787630f81a85f9741 @@ -12110,6 +12134,10 @@ sha256=2d706baf206d1cb422c8e0ceb6c5a8546bc3f0587cf090eba51e75a295d9c3f0 md5=a91f1f722ac80c597cf0b75dcb8b48c0 sha256=2dfd8eace1cafacc87b4055c57efeb771a740e24141d3f113de58c2a9eebd21f +[http://xorg.freedesktop.org/releases/individual/lib/libXext-1.0.5.tar.bz2] +md5=aa11d859cc8e9a0bad3bb55e1666547b +sha256=1280af98466cb4484a89858ede3347ba9d7785baeb80b11f2066142dc2317d97 + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libXext-X11R7.0-1.0.0.tar.bz2] md5=9e47f574ac747446ac58ff9f6f402ceb sha256=5ccefe638c3dfc12fd8c2f2de38ec7e0e0b54bb271fa75f687e474a58edbad28 @@ -12158,6 +12186,10 @@ sha256=c167cfd529b7c67f496ee0bed3c0b43e0107de0f689d387c1c0e23ef7cf3d2f2 md5=4f174b9613f87cf00d731da428a1b194 sha256=6171e6bca4bd6333611bd9c63cccc8e8e412d876c72097f0dddc490a9df51d5a +[http://xorg.freedesktop.org/releases/individual/lib/libXfont-1.4.0.tar.bz2] +md5=3a8e06b25912ef339d70a8ba003da9b5 +sha256=eafff0157f2c7172214449d4b6b0c72328cad7026ecace226189b511791c5f75 + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libXfont-X11R7.0-1.0.0.tar.bz2] md5=955c41694772c9fd214e3e206f5d2178 sha256=47d4de6986f6ca85bc48ecd76188d7f3f009e1aeb640008cab12ac5ca5896622 @@ -12210,6 +12242,10 @@ sha256=c77a5bbe97d0d0a6493adefcf1bd57aca91bc33279633b3f6cf1d2bb8812153f md5=4b88e07d7dd77ca1e786f09066b58c02 sha256=7c0125ffb864e121ebfb5a20b1cfdff60562c2f2dfbb4e77c5eac81f36e15f3a +[http://xorg.freedesktop.org/releases/individual/lib/libXi-1.2.1.tar.bz2] +md5=cfb36307e8e7ffafe40848dba24e0b11 +sha256=a0cef8deaccedb877137782a7e77441c8231b2da848bd145788a12fe05034fc5 + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libXi-X11R7.0-1.0.0.tar.bz2] md5=99503799b4d52ec0cac8e203341bb7b3 sha256=64e8ece13fc778b9dd86ef93c4b782de9a1176a005ed7d895552a73acb103d9b @@ -12302,6 +12338,10 @@ sha256=206f8dc850f12b1213fb73dbef09fafa1bb8fb8c3ddfe4d39721c1e2dec12a98 md5=5cd67cc02a50c9644ba0a1846ea3b08e sha256=f8edfe26b8c4c3677a3a949f81a8b09a5fad62972020bfd230401e11cc0ed267 +[http://xorg.freedesktop.org/releases/individual/lib/libXrandr-1.3.0.tar.bz2] +md5=68eb59c3b7524db6ffd78746ee893d1d +sha256=5961ce0f77c5173a8208b3ed669ac01719f2bf4a10517ffa6c33a5e064802e78 + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libXrandr-X11R7.0-1.1.0.2.tar.bz2] md5=e10aed44c2e1e5d9e6848a62ff2c90c7 sha256=6b6a3fcf44621bf163ba2db6dbcc518bff4e8cf74695d1b86595387a3ff3c6fb @@ -14046,6 +14086,10 @@ sha256=a214c4e1d7e22a758f66fe1d08f0ce41c3ba801a4c13dd1188e1e38288ac73c0 md5=6d5468debf76fac84576ca26c9535821 sha256=2f609ad3b5688ae66dcd18d7cdd1fc6b68531a2a85f89798f6cfb5eda6d680dc +[http://xorg.freedesktop.org/releases/individual/lib/libpciaccess-0.10.6.tar.bz2] +md5=ba25eb7582f69428648e8c67564d68e5 +sha256=b9532db51a093221f82e6659ab2979d357eac770d6eb9e9361efead0aca709ce + [http://www.xmailserver.org/libpcl-1.4.tar.gz] md5=6d63c462911349de80109c0161ed6d37 sha256=3c64155a9218c0367f3b0afd4bd8a4a46cc467ad6c85e98952a4ef517b183686 @@ -20502,6 +20546,10 @@ sha256=9e1db25eec33ba1dff95010d6b8f1150ea40e7f953f1b6b7668a69a1171d23df md5=e2e45564f8ce22e00e1360e79c8ccdeb sha256=102fd42f8f2562450f4e45c28bfb0390c2d30ffa6a805eead15d67018930f654 +[http://xorg.freedesktop.org/releases/individual/proto/randrproto-1.3.0.tar.bz2] +md5=a49416013fff33c853efb32f1926551e +sha256=cfeb1429465e3c24debde1bf53ec35ef738fde5e80d2eed14f33e315e747bb8d + [http://xorg.freedesktop.org/releases/X11R7.0/src/proto/randrproto-X11R7.0-1.1.2.tar.bz2] md5=bcf36d524f6f50aa16ee8e183350f7b8 sha256=7a5eb58f10d02f58c2f7fb153bb5dc6d72173d5fa3d317bdbd9674f4577e0ad0 @@ -20730,6 +20778,10 @@ sha256=13cce714959056d41627ec9442342d46072f9d72ef57554b9d03ebfb353ed2d1 md5=613eed8201d37be201805e5048ebb0c3 sha256=084e250d2392369b2548b663e61bcf128baecb2f527e381e9ba89f0148db2c0d +[http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.12/rhythmbox-0.12.1.tar.bz2] +md5=f17a72465dc43d554b11cf7b18776bff +sha256=1f444b9cd74615831dab7ec8cd3c58c95d7436372df9a768bd701ab4321a8721 + [http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.8/rhythmbox-0.8.5.tar.gz] md5=5ac4e1b5ff4f2fdada81c007ac599cb9 sha256=654d6b190f4644d82c10b4ce5645b72405c2e78ea346ce3d8eb385fc3f3732de @@ -21118,6 +21170,10 @@ sha256=2a11ba05f34b2978af3add623a641e0340d39322b4ca2bd26baae743c78de956 md5=953dc98dbd78fba3a80d554514581d26 sha256=0431955a17cd687a28c9b005a6afbc11d8db9348cd4ec91c5600f4f662819e07 +[http://slimlogic.co.uk/pub/downloads/libscenario/scenario-lib-0.2.0.tar.bz2] +md5=18b370f6ff89546df66fe64a2efd676a +sha256=d76d0e8267e781e4ed4a93c9f51b7ae1257bfb2fadb8d8f5b64414b5340b1239 + [http://savannah.nongnu.org/download/scew/scew-0.3.1.tar.gz] md5=e9a69f7014cad332cc78667b07eebbce sha256=0e966359b9e1de31bf375b2a982b7f63cc6dd0c253bda480d1913c668791972a @@ -22982,6 +23038,10 @@ sha256=5730611c42f8a8540343faa9512d9161073d2f882668c80dd0cf6a34c72daa75 md5=fa658ae2f20458d3c5d3effba3b2dd7e sha256=3193c3446d211db2bd3c169c86f6d433666669336bd589a20c87f1483295cf2a +[http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.26/totem-pl-parser-2.26.2.tar.bz2] +md5=daffda80cfead2a1473ca3ff71e1057b +sha256=3a6dd0382fe074f23a747b08423fccb23fb38c25b1feddacbd4875d8b8c83743 + [http://www.gnome.org/~jamiemcc/tracker/tracker-0.5.4.tar.gz] md5=724208e1b2d235148499672b44181298 sha256=ad214a2692041f423d2150777c233b21cab2d108f849edc513192587ac63c9c2 @@ -23642,6 +23702,10 @@ sha256=4f2a8a19e90ad82bc2da4eb52799a299a1c94bf5143bc2711e9e5d4cc5a7cdb4 md5=ea2d9cd33ca6fd05923f007bd74d7c37 sha256=97748154c41a1cd12635a79aee0c2846fd48ecb555fc8b54e3e5baec174e6e74 +[http://xorg.freedesktop.org/releases/individual/util/util-macros-1.2.1.tar.gz] +md5=81b9746d6202ccf0b4a498cfd0731e71 +sha256=f3804f02f51a1be243ce7413dc67dca774f000686f8f2efedc77203a1962d401 + [http://xorg.freedesktop.org/releases/X11R7.0/src/util/util-macros-X11R7.0-1.0.1.tar.bz2] md5=bc6be634532d4936eb753de54e1663d3 sha256=e95a45db65b33be472a3134492e348c4cd6edc200d02a85654ffe62bc2e6fdcd @@ -24698,6 +24762,10 @@ sha256=53f3039ae769b08bd139d4474a7debe0b6f24048e7c514c835c8a1880f11e0d9 md5=3a2e0252e853ab30b3bff05ac92ec61c sha256=3972428e3651c9159aff655c9c794728520c3ce3d66ac219ec5243d5d73d4db4 +[http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.0.5.tar.bz2] +md5=e6841018a7c64983b0954aa2c564d115 +sha256=d33e1f3c96daad78667b2dfc14a1ce2ee3bdce19409f82cd5ede6c696ca5b042 + [http://xorg.freedesktop.org/releases/X11R7.0/src/proto/xextproto-X11R7.0-7.0.2.tar.bz2] md5=c0e88fc3483d90a7fea6a399298d90ea sha256=41c091d05943817c0b667192dab8c8f3a3a59c04a66dd311a9573f48a7b70b3b @@ -24898,6 +24966,10 @@ sha256=825adcadaf4c90d4cb1d0bd21dcf67bf3b895f12f8e7bf186ed936445dc015ca md5=a6070ead29b2d81b5b386a96df2661b8 sha256=45c4b6df8d1dbc4db8aa580be4f3c693ebba4eba4908d82489948827d3bed0e5 +[http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-2.2.2.tar.bz2] +md5=23341f098e7fe8ec13ef06ef784ac51a +sha256=63606119e86c27b47bd7ec4b2b6048b76515df6755fc5dd8bcfc98f5fe53d994 + [http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-input-evdev-X11R7.0-1.0.0.5.tar.bz2] md5=d982c6f185f4c75a4b65703ceed7be06 sha256=ba53e8ce6bfa01da7fa86a31853542a71722b41b511041bdb58cf66c10f3edb4 @@ -24994,6 +25066,10 @@ sha256=c25b35524eaf00928d97bd0d8bf9e489d92993b133461b5f4d8d9655d37ec072 md5=ebe5dcf8eed819103909f18321fc3b9d sha256=7b514715dfb5a2512dea3355bc3f09eb879d7184440c5525f0a9d29ec9f3be42 +[http://xorg.freedesktop.org/releases/individual/driver/xf86-input-keyboard-1.3.2.tar.bz2] +md5=d6fe929c4f6085d6dd67f197ae9c42f6 +sha256=33939ec65dbf56f49e1e7de854a1cf95446e40c533950431901567e67112aef2 + [http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-input-keyboard-X11R7.0-1.0.1.3.tar.bz2] md5=8fb8a30fd9d7f152a1aef4eb8ef32b3f sha256=e82d510157d13be37eed604cfb0d9355c054c4d3ac39bdef0c6ef320f2973d77 @@ -25074,6 +25150,10 @@ sha256=a07cb2169f43018c90b7889781c0db30cda0da03811edccb8c4db533166357ab md5=31a51b0e5ddc4fac19754f48a3adf881 sha256=054b253f366795c2865714ce8bc545c79e59aa9ce1b7a9a4a05b9c674dff9dec +[http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-1.4.0.tar.bz2] +md5=e7dc0759c14a9bfd373917a49e5f7c7d +sha256=e6e1dbd64d41c826619a5881c5aeed46095bfdcb87c3e27d65292fc12a5bb7c7 + [http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-input-mouse-X11R7.0-1.0.3.1.tar.bz2] md5=12a908e5a97b1b03e8717abf167f4f27 sha256=183c1cda6550c8821ef4b8d13e681a32813bcd32b6cf34a75d3870e399fa292d @@ -26754,6 +26834,10 @@ sha256=2f36880bffaee0a5b2b704376a02b22066b6842445e1d77da698854e5973eb21 md5=308971036e25250e7fe3cccfd5a120f8 sha256=a680174f54be7763819e5275c5d5d44fc9e9b6f8e9351dd45c150eb4c182d5bb +[http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.6.1.tar.bz2] +md5=ed0878bf32a24d4948c3b8a122a39eff +sha256=0edbaa994797cb7944a4129d33b634ad99164b21ec32355d56996a178d38bfcf + [http://xorg.freedesktop.org/releases/X11R7.0/src/xserver/xorg-server-X11R7.0-1.0.1.tar.bz2] md5=0e7527480fb845a3c2e333bd0f47ff50 sha256=0419124e1bab473f8f9e2d7de1dba8bae2ed1375b72d55cdfb9471dac357ed47 @@ -26890,6 +26974,10 @@ sha256=bec5a98bbea56da069785784116261ec956df039fb07d0cdca53ae1ed03ebc0f md5=7d26f45dca52632712a696e0631dc17b sha256=6f6328922d69f5de29513a5baf1d010db2a7a54cb58a7a6cbbb1b25097ecd592 +[http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.15.tar.bz2] +md5=1a2b31430d04340be2e49e8b6445e076 +sha256=fd8cd0bc3e94d7416e6af9eddfa909b0e64246e0d2bb41c00f4e02bd85c76bee + [http://xorg.freedesktop.org/releases/development/X11R7.2-RC3/proto/xproto-7.0.9.tar.gz] md5=937c572775ff4a2edfbbf5568dc0e959 sha256=e68db1c55c1c6d398098d69096b3c3b35863b5d25ef216cb2d1d4364ab0000af @@ -27154,6 +27242,10 @@ sha256=16bc4646f105efd3d0dd105899ac19035d67acf50950ca8c70cf68772508272d md5=96e142331edd498a9364887b2548f1bb sha256=9ff21a8d9ea524ca9b7cb6d6b4d522b4cb20b1c35edeb8995a9e9265a0df64bd +[http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.2.3.tar.bz2] +md5=f9cf791dfad59cf044e276aab3a71e1d +sha256=a67a8b09d9530021e2bd4b93136f385e72a8d8e4f2c26a99aeb169bee88facf0 + [http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.2.tar.bz2] md5=a91fef8b932b21992af7dfff7b2643f3 sha256=d6c3cabd5ecd0183a8a9bc6b3471545df8e2c78956b4c4cfd48f0c545a88c9a4 diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf index ad34b7d48c..d365a38c24 100644 --- a/conf/distro/angstrom-2008.1.conf +++ b/conf/distro/angstrom-2008.1.conf @@ -123,11 +123,6 @@ PREFERRED_VERSION_gcc-cross-sdk ?= "${ANGSTROM_GCC_VERSION}" PREFERRED_VERSION_gcc-cross-initial ?= "${ANGSTROM_GCC_VERSION}" PREFERRED_VERSION_gcc-cross-intermediate ?= "${ANGSTROM_GCC_VERSION}" -#Loads preferred versions from files, these have weak assigments (?=), so put them at the bottom -require conf/distro/include/preferred-e-versions.inc -require conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc -require conf/distro/include/preferred-xorg-versions-X11R7.4.inc - #avr32 only has patches for binutils 2.17 in OE PREFERRED_VERSION_binutils_avr32 = "2.17" PREFERRED_VERSION_binutils-cross_avr32 = "2.17" diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index 3b7905c284..a7c7f4cd58 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -26,5 +26,8 @@ PREFERRED_VERSION_pkgconfig-native = "0.23" PREFERRED_VERSION_pulseaudio = "0.9.10" PREFERRED_VERSION_tiff = "3.8.2+4.0.0beta2" PREFERRED_VERSION_udev = "141" +PREFERRED_VERSION_util-macros-native = "1.2.1" +PREFERRED_VERSION_util-macros = "1.2.1" PREFERRED_VERSION_wpa-supplicant = "0.6.7" PREFERRED_VERSION_xserver-kdrive = "1.4.0.90" +PREFERRED_VERSION_xserver-xorg = "1.6.1" diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 8d2bc93359..4d7c257de2 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -13,7 +13,7 @@ SRCREV_pn-accelges ?= "206" SRCREV_pn-aircrack-ng ?= "802" -SRCREV_pn-alsa-scenario ?= "633aaccc37f845146e490090dbd2a1ebb8064fd6" +SRCREV_pn-alsa-scenario ?= "8bd7f83d847424eb44704cf1649974b2fda8d8f1" SRCREV_pn-app-restarter ?= "4552" SRCREV_pn-assassin ?= "268" SRCREV_pn-assassin-thumbnail ?= "4690" diff --git a/conf/machine/at91cap9adk.conf b/conf/machine/at91cap9adk.conf index 50549dabf6..87311e9be4 100644 --- a/conf/machine/at91cap9adk.conf +++ b/conf/machine/at91cap9adk.conf @@ -9,7 +9,6 @@ PREFERRED_VERSION_linux = "2.6.28" PREFERRED_PROVIDER_xserver = "xserver-kdrive" KERNEL_IMAGETYPE = "uImage" -PREFERRED_VERSION_u-boot = "2009.01" UBOOT_MACHINE = "at91cap9adk_config" PREFERRED_VERSION_at91bootstrap = "2.10" diff --git a/conf/machine/at91sam9260ek.conf b/conf/machine/at91sam9260ek.conf index 3882c118fb..9a7ca9af62 100644 --- a/conf/machine/at91sam9260ek.conf +++ b/conf/machine/at91sam9260ek.conf @@ -10,8 +10,7 @@ PREFERRED_VERSION_linux = "2.6.28" PREFERRED_PROVIDER_xserver = "xserver-kdrive" KERNEL_IMAGETYPE = "uImage" -PREFERRED_VERSION_u-boot = "2009.01" -UBOOT_MACHINE = "at92sam9260ek_config" +UBOOT_MACHINE = "at91sam9260ek_config" PREFERRED_VERSION_at91bootstrap = "2.10" diff --git a/conf/machine/at91sam9261ek.conf b/conf/machine/at91sam9261ek.conf index a3a9be6dc1..79f275f483 100644 --- a/conf/machine/at91sam9261ek.conf +++ b/conf/machine/at91sam9261ek.conf @@ -10,8 +10,7 @@ PREFERRED_VERSION_linux = "2.6.28" PREFERRED_PROVIDER_xserver = "xserver-kdrive" KERNEL_IMAGETYPE = "uImage" -PREFERRED_VERSION_u-boot = "2009.01" -UBOOT_MACHINE = "at92sam9261ek_config" +UBOOT_MACHINE = "at91sam9261ek_config" PREFERRED_VERSION_at91bootstrap = "2.10" diff --git a/conf/machine/at91sam9263ek.conf b/conf/machine/at91sam9263ek.conf index e633148172..f052170aed 100644 --- a/conf/machine/at91sam9263ek.conf +++ b/conf/machine/at91sam9263ek.conf @@ -10,7 +10,6 @@ PREFERRED_VERSION_linux = "2.6.28" PREFERRED_PROVIDER_xserver = "xserver-kdrive" KERNEL_IMAGETYPE = "uImage" -PREFERRED_VERSION_u-boot = "2009.01" UBOOT_MACHINE = "at91sam9263ek_config" PREFERRED_VERSION_at91bootstrap = "2.10" diff --git a/conf/machine/at91sam9g20ek.conf b/conf/machine/at91sam9g20ek.conf index 38078b6d03..7dc6ba0d53 100644 --- a/conf/machine/at91sam9g20ek.conf +++ b/conf/machine/at91sam9g20ek.conf @@ -9,7 +9,6 @@ PREFERRED_VERSION_linux = "2.6.28" PREFERRED_PROVIDER_xserver = "xserver-kdrive" KERNEL_IMAGETYPE = "uImage" -PREFERRED_VERSION_u-boot = "2009.01" UBOOT_MACHINE = "at91sam9g20ek_config" PREFERRED_VERSION_at91bootstrap = "2.10" diff --git a/conf/machine/at91sam9rlek.conf b/conf/machine/at91sam9rlek.conf index ba19cb3e00..f7a78dcf75 100644 --- a/conf/machine/at91sam9rlek.conf +++ b/conf/machine/at91sam9rlek.conf @@ -10,8 +10,7 @@ PREFERRED_VERSION_linux = "2.6.28" PREFERRED_PROVIDER_xserver = "xserver-kdrive" KERNEL_IMAGETYPE = "uImage" -PREFERRED_VERSION_u-boot = "2009.01" -UBOOT_MACHINE = "at92sam9rlek_config" +UBOOT_MACHINE = "at91sam9rlek_config" PREFERRED_VERSION_at91bootstrap = "2.10" diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc index bb4fa7eaf0..1b47888ab7 100644 --- a/conf/machine/include/omap3.inc +++ b/conf/machine/include/omap3.inc @@ -1,7 +1,7 @@ require conf/machine/include/tune-cortexa8.inc PREFERRED_PROVIDER_virtual/kernel = "linux-omap" # Increase this everytime you change something in the kernel -MACHINE_KERNEL_PR = "r34" +MACHINE_KERNEL_PR = "r35" KERNEL_IMAGETYPE = "uImage" diff --git a/recipes/alsa/alsa-lib_1.0.20.bb b/recipes/alsa/alsa-lib_1.0.20.bb new file mode 100644 index 0000000000..eff114de4b --- /dev/null +++ b/recipes/alsa/alsa-lib_1.0.20.bb @@ -0,0 +1,48 @@ +DESCRIPTION = "Alsa sound library" +HOMEPAGE = "http://www.alsa-project.org" +SECTION = "libs/multimedia" +LICENSE = "LGPL" + +# configure.in sets -D__arm__ on the command line for any arm system +# (not just those with the ARM instruction set), this should be removed, +# (or replaced by a permitted #define). +#FIXME: remove the following +ARM_INSTRUCTION_SET = "arm" + +SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ + file://fix-tstamp-declaration.patch;patch=1 \ + file://fix_libmath.patch;patch=1 \ + " + +inherit autotools pkgconfig + + +EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" + + +require alsa-fpu.inc +EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " + + +require alsa-versym.inc +EXTRA_OECONF += "${@get_alsa_versym_setting(bb, d)} " + + +do_stage () { + autotools_stage_all +} + +PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" +FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" +FILES_libasound = "${libdir}/libasound.so.*" +FILES_alsa-server = "${bindir}/*" +FILES_alsa-conf = "${datadir}/alsa/" +FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" +FILES_alsa-conf-base = "\ +${datadir}/alsa/alsa.conf \ +${datadir}/alsa/cards/aliases.conf \ +${datadir}/alsa/pcm/default.conf \ +${datadir}/alsa/pcm/dmix.conf \ +${datadir}/alsa/pcm/dsnoop.conf" + +RDEPENDS_libasound = "alsa-conf-base" diff --git a/recipes/alsa/alsa-scenario_0.2.bb b/recipes/alsa/alsa-scenario_0.2.bb new file mode 100644 index 0000000000..3b4cf79f93 --- /dev/null +++ b/recipes/alsa/alsa-scenario_0.2.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "ALSA Scenario Library" +HOMEPAGE = "http://opensource.wolfsonmicro.com/node/22" +SECTION = "console/utils" +LICENSE = "GPL" +DEPENDS = "alsa-lib ncurses" + +PR = "r0" +PE = "1" + +SRC_URI = "http://slimlogic.co.uk/pub/downloads/libscenario/scenario-lib-0.2.0.tar.bz2" + +S = "${WORKDIR}/scenario-lib-0.2.0" + +inherit autotools diff --git a/recipes/alsa/alsa-scenario_git.bb b/recipes/alsa/alsa-scenario_git.bb index 74c25c247e..edc77d2bbc 100644 --- a/recipes/alsa/alsa-scenario_git.bb +++ b/recipes/alsa/alsa-scenario_git.bb @@ -3,11 +3,13 @@ HOMEPAGE = "http://opensource.wolfsonmicro.com/node/22" SECTION = "console/utils" LICENSE = "GPL" DEPENDS = "alsa-lib ncurses" -PV = "0.1+gitr${SRCREV}" +PV = "0.2+gitr${SRCREV}" PR = "r0" PE = "1" -SRC_URI = "git://opensource.wolfsonmicro.com/alsa-scenario;branch=master;protocol=git" +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "git://slimlogic.co.uk/alsa-scenario;branch=master;protocol=git" S = "${WORKDIR}/git" inherit autotools diff --git a/recipes/angstrom/angstrom-led-config.bb b/recipes/angstrom/angstrom-led-config.bb index 12cdb96d93..464979b39c 100644 --- a/recipes/angstrom/angstrom-led-config.bb +++ b/recipes/angstrom/angstrom-led-config.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Configuration files for runtime LED configuration" #PV = "${DISTRO_VERSION}" -PR = "r4" +PR = "r5" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit update-rc.d diff --git a/recipes/angstrom/angstrom-led-config/sheevaplug/leds b/recipes/angstrom/angstrom-led-config/sheevaplug/leds new file mode 100644 index 0000000000..d39426bd90 --- /dev/null +++ b/recipes/angstrom/angstrom-led-config/sheevaplug/leds @@ -0,0 +1,2 @@ +#file format: name trigger +plug:green:health heartbeat diff --git a/recipes/binutils/binutils-2.14.90.0.7/binutils-2.14.90.0.7-fix-broken-configure.patch b/recipes/binutils/binutils-2.14.90.0.7/binutils-2.14.90.0.7-fix-broken-configure.patch new file mode 100644 index 0000000000..30d4bcdf78 --- /dev/null +++ b/recipes/binutils/binutils-2.14.90.0.7/binutils-2.14.90.0.7-fix-broken-configure.patch @@ -0,0 +1,78 @@ +--- binutils-2.14.90.0.7/configure.in-orig 2009-03-30 13:12:57.000000000 +0200 ++++ binutils-2.14.90.0.7/configure.in 2009-03-30 13:13:36.000000000 +0200 +@@ -1795,21 +1795,21 @@ + # at the end of the argument list. + # These will be expanded by make, so quote '$'. + cat <<\EOF_SED > conftestsed +-s/ --no[[^ ]]* / / +-s/ --c[[a-z-]]*[[= ]][[^ ]]* / / +-s/ --sr[[a-z-]]*[[= ]][[^ ]]* / / +-s/ --ho[[a-z-]]*[[= ]][[^ ]]* / / +-s/ --bu[[a-z-]]*[[= ]][[^ ]]* / / +-s/ --t[[a-z-]]*[[= ]][[^ ]]* / / +-s/ --program-[[pst]][[a-z-]]*[[= ]][[^ ]]* / / +-s/ -cache-file[[= ]][[^ ]]* / / +-s/ -srcdir[[= ]][[^ ]]* / / +-s/ -host[[= ]][[^ ]]* / / +-s/ -build[[= ]][[^ ]]* / / +-s/ -target[[= ]][[^ ]]* / / +-s/ -program-prefix[[= ]][[^ ]]* / / +-s/ -program-suffix[[= ]][[^ ]]* / / +-s/ -program-transform-name[[= ]][[^ ]]* / / ++s/ --no[[^ ]]* / /g ++s/ --c[[a-z-]]*[[= ]][[^ ]]* / /g ++s/ --sr[[a-z-]]*[[= ]][[^ ]]* / /g ++s/ --ho[[a-z-]]*[[= ]][[^ ]]* / /g ++s/ --bu[[a-z-]]*[[= ]][[^ ]]* / /g ++s/ --t[[a-z-]]*[[= ]][[^ ]]* / /g ++s/ --program-[[pst]][[a-z-]]*[[= ]][[^ ]]* / /g ++s/ -cache-file[[= ]][[^ ]]* / /g ++s/ -srcdir[[= ]][[^ ]]* / /g ++s/ -host[[= ]][[^ ]]* / /g ++s/ -build[[= ]][[^ ]]* / /g ++s/ -target[[= ]][[^ ]]* / /g ++s/ -program-prefix[[= ]][[^ ]]* / /g ++s/ -program-suffix[[= ]][[^ ]]* / /g ++s/ -program-transform-name[[= ]][[^ ]]* / /g + s/ [[^' -][^ ]*] / / + s/^ *//;s/ *$// + s,\$,$$,g +--- binutils-2.14.90.0.7/configure-orig 2009-03-30 13:12:51.000000000 +0200 ++++ binutils-2.14.90.0.7/configure 2009-03-30 13:13:25.000000000 +0200 +@@ -2556,21 +2556,21 @@ + # at the end of the argument list. + # These will be expanded by make, so quote '$'. + cat <<\EOF_SED > conftestsed +-s/ --no[^ ]* / / +-s/ --c[a-z-]*[= ][^ ]* / / +-s/ --sr[a-z-]*[= ][^ ]* / / +-s/ --ho[a-z-]*[= ][^ ]* / / +-s/ --bu[a-z-]*[= ][^ ]* / / +-s/ --t[a-z-]*[= ][^ ]* / / +-s/ --program-[pst][a-z-]*[= ][^ ]* / / +-s/ -cache-file[= ][^ ]* / / +-s/ -srcdir[= ][^ ]* / / +-s/ -host[= ][^ ]* / / +-s/ -build[= ][^ ]* / / +-s/ -target[= ][^ ]* / / +-s/ -program-prefix[= ][^ ]* / / +-s/ -program-suffix[= ][^ ]* / / +-s/ -program-transform-name[= ][^ ]* / / ++s/ --no[^ ]* / /g ++s/ --c[a-z-]*[= ][^ ]* / /g ++s/ --sr[a-z-]*[= ][^ ]* / /g ++s/ --ho[a-z-]*[= ][^ ]* / /g ++s/ --bu[a-z-]*[= ][^ ]* / /g ++s/ --t[a-z-]*[= ][^ ]* / /g ++s/ --program-[pst][a-z-]*[= ][^ ]* / /g ++s/ -cache-file[= ][^ ]* / /g ++s/ -srcdir[= ][^ ]* / /g ++s/ -host[= ][^ ]* / /g ++s/ -build[= ][^ ]* / /g ++s/ -target[= ][^ ]* / /g ++s/ -program-prefix[= ][^ ]* / /g ++s/ -program-suffix[= ][^ ]* / /g ++s/ -program-transform-name[= ][^ ]* / /g + s/ [^' -][^ ]* / / + s/^ *//;s/ *$// + s,\$,$$,g diff --git a/recipes/binutils/binutils_2.14.90.0.7.bb b/recipes/binutils/binutils_2.14.90.0.7.bb index b47c8e51b1..3447c4fea8 100644 --- a/recipes/binutils/binutils_2.14.90.0.7.bb +++ b/recipes/binutils/binutils_2.14.90.0.7.bb @@ -48,7 +48,8 @@ SRC_URI = \ file://binutils-uclibc-210-cflags.patch;patch=1 \ file://binutils-100_cflags_for_build.patch;patch=1 \ file://plt32trunc.patch;patch=1 \ - file://600-arm-textrel.patch;patch=1" + file://600-arm-textrel.patch;patch=1 \ + file://binutils-2.14.90.0.7-fix-broken-configure.patch;patch=1" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/busybox/busybox-1.13.2/angstrom/defconfig b/recipes/busybox/busybox-1.13.2/angstrom/defconfig index 0db650fcf1..8934890ef4 100644 --- a/recipes/busybox/busybox-1.13.2/angstrom/defconfig +++ b/recipes/busybox/busybox-1.13.2/angstrom/defconfig @@ -214,8 +214,8 @@ CONFIG_SORT=y CONFIG_FEATURE_SORT_BIG=y # CONFIG_SPLIT is not set # CONFIG_FEATURE_SPLIT_FANCY is not set -# CONFIG_STAT is not set -# CONFIG_FEATURE_STAT_FORMAT is not set +CONFIG_STAT=y +CONFIG_FEATURE_STAT_FORMAT=y CONFIG_STTY=y # CONFIG_SUM is not set CONFIG_SYNC=y diff --git a/recipes/busybox/busybox_1.13.2.bb b/recipes/busybox/busybox_1.13.2.bb index 602e782d4d..96d0f0baca 100644 --- a/recipes/busybox/busybox_1.13.2.bb +++ b/recipes/busybox/busybox_1.13.2.bb @@ -1,5 +1,5 @@ require busybox.inc -PR = "r18" +PR = "r19" SRC_URI = "\ http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc index 8b214c13bd..5b82c11ca1 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc @@ -15,12 +15,12 @@ FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss" FILES_${PN} = "${bindir}" python populate_packages_prepend () { - cv_libdir = bb.data.expand('${libdir}', d) - cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d) - do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True) - do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev') - do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev') - do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True) + e2fs_libdir = bb.data.expand('${libdir}', d) + e2fs_libdir_dbg = bb.data.expand('${libdir}/.debug', d) + do_split_packages(d, e2fs_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev', allow_links=True) + do_split_packages(d, e2fs_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev') + do_split_packages(d, e2fs_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'e2fsprogs-libs %s development package', extra_depends='${PN}-dev') + do_split_packages(d, e2fs_libdir, '^lib(.*)\.so\.*', 'lib%s', 'e2fsprogs-libs %s library', extra_depends='', allow_links=True) } do_stage () { diff --git a/recipes/elvis/elvis_2.2.0.bb b/recipes/elvis/elvis_2.2.0.bb index c0f92627bf..f038c6b110 100644 --- a/recipes/elvis/elvis_2.2.0.bb +++ b/recipes/elvis/elvis_2.2.0.bb @@ -4,8 +4,7 @@ PRIORITY = "optional" LICENSE = "Perl Clarified Artistic License" DEPENDS = "ncurses" -#SRC_URI = "ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.2_0.tar.gz" -SRC_URI = "http://www.fh-wedel.de/pub/elvis/elvis-2.2_0.tar.gz" +SRC_URI = "ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.2_0.tar.gz" S = "${WORKDIR}/elvis-2.2_0" CFLAGS_prepend = " -I. -Iosunix -L${STAGING_LIBDIR} " diff --git a/recipes/emacs/emacs.inc b/recipes/emacs/emacs.inc index 05acd828dc..0464a26706 100644 --- a/recipes/emacs/emacs.inc +++ b/recipes/emacs/emacs.inc @@ -5,6 +5,8 @@ SECTION = "editor" # and it needs to run some generated binaries.. DEPENDS += "qemu-native" +DEPENDS +=" liblockfile" + inherit autotools PACKAGES =+ "${PN}-el" @@ -16,8 +18,12 @@ FILES_${PN} += "${datadir}/emacs" FILES_${PN}-dbg += "${libexecdir}/emacs/*/*/.debug ${datadir}/emacs/*/*/.debug" +TREEDIR = "${WORKDIR}/qemu-treedir" + # Large stack is required at least on x86_64 host, otherwise random segfaults appear: -QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${STAGING_DIR_TARGET}" +QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${TREEDIR}" + +export LOGNAME = "$(whoami)" do_compile_prepend() { sed -i ':1;s:\(START.* \|LIB_STANDARD.* \|LIBES.* \)/usr/lib:\1${STAGING_LIBDIR}:;t1' ${S}/src/s/gnu-linux.h `find "${S}" -name Makefile` @@ -26,6 +32,19 @@ do_compile_prepend() { ln -sf ../src/emacs lisp/emacs ln -sf ../src/emacs lib-src/emacs ln -sf ../src/emacs leim/emacs +#copy STAGING_DIR_TARGET and libgcc_s.so* to WORKDIR/qemu-treedir #copied code from glibc-package.bbclass + treedir=${TREEDIR} + if [ -e $treedir ];then + rm -rf $treedir + fi + mkdir $treedir + cp -pPR ${STAGING_DIR_TARGET}/* $treedir + if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so ]; then + cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so $treedir/lib + fi + if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* ]; then + cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* $treedir/lib + fi } EXTRA_OEMAKE += 'QEMU="${QEMU}"' diff --git a/recipes/emacs/emacs_22.3.bb b/recipes/emacs/emacs_22.3.bb index da8de39eec..4eeff7b567 100644 --- a/recipes/emacs/emacs_22.3.bb +++ b/recipes/emacs/emacs_22.3.bb @@ -1,5 +1,7 @@ require emacs.inc +PR="r1" + EXTRA_OECONF = "--without-sound --without-x" SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz \ diff --git a/recipes/flac/files/flac-gcc43-fixes.diff b/recipes/flac/files/flac-gcc43-fixes.diff new file mode 100644 index 0000000000..8d41490975 --- /dev/null +++ b/recipes/flac/files/flac-gcc43-fixes.diff @@ -0,0 +1,10 @@ +--- examples/cpp/encode/file/main.cpp-dist 2007-10-22 15:14:12.000000000 +0200 ++++ examples/cpp/encode/file/main.cpp 2007-10-22 15:14:41.000000000 +0200 +@@ -30,6 +30,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include "FLAC++/metadata.h" + #include "FLAC++/encoder.h" + diff --git a/recipes/flac/files/flac-printf-format-fix.diff b/recipes/flac/files/flac-printf-format-fix.diff new file mode 100644 index 0000000000..2296cdbe91 --- /dev/null +++ b/recipes/flac/files/flac-printf-format-fix.diff @@ -0,0 +1,43 @@ +--- src/test_grabbag/cuesheet/main.c-dist 2007-04-10 19:14:42.000000000 +0200 ++++ src/test_grabbag/cuesheet/main.c 2007-04-10 19:15:33.000000000 +0200 +@@ -115,12 +115,12 @@ int main(int argc, char *argv[]) + const char *usage = "usage: test_cuesheet cuesheet_file lead_out_offset [ cdda ]\n"; + + if(argc > 1 && 0 == strcmp(argv[1], "-h")) { +- printf(usage); ++ fputs(usage, stdout); + return 0; + } + + if(argc < 3 || argc > 4) { +- fprintf(stderr, usage); ++ fputs(usage, stderr); + return 255; + } + +@@ -129,7 +129,7 @@ int main(int argc, char *argv[]) + if(0 == strcmp(argv[3], "cdda")) + is_cdda = true; + else { +- fprintf(stderr, usage); ++ fputs(usage, stderr); + return 255; + } + } +--- src/test_grabbag/picture/main.c-dist 2007-04-10 19:15:47.000000000 +0200 ++++ src/test_grabbag/picture/main.c 2007-04-10 19:16:02.000000000 +0200 +@@ -211,12 +211,12 @@ int main(int argc, char *argv[]) + const char *usage = "usage: test_pictures path_prefix\n"; + + if(argc > 1 && 0 == strcmp(argv[1], "-h")) { +- printf(usage); ++ fputs(usage, stdout); + return 0; + } + + if(argc != 2) { +- fprintf(stderr, usage); ++ fputs(usage, stderr); + return 255; + } + diff --git a/recipes/flac/flac_1.2.1.bb b/recipes/flac/flac_1.2.1.bb index 94f24fc169..eea1cbb9a5 100644 --- a/recipes/flac/flac_1.2.1.bb +++ b/recipes/flac/flac_1.2.1.bb @@ -1,3 +1,7 @@ require flac.inc -PR = "r0" +PR = "r1" + +# fixes from openSUSE: +SRC_URI += "file://flac-gcc43-fixes.diff;patch=1;pnum=0 \ + file://flac-printf-format-fix.diff;patch=1;pnum=0" diff --git a/recipes/fltk/fltk_1.1.9.bb b/recipes/fltk/fltk_1.1.9.bb index a2c5dcb5ab..b30da2eeea 100644 --- a/recipes/fltk/fltk_1.1.9.bb +++ b/recipes/fltk/fltk_1.1.9.bb @@ -4,7 +4,7 @@ SECTION = "libs" PRIORITY = "optional" LICENSE = "LGPL" DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \ file://disable_test.patch;patch=1 \ @@ -12,7 +12,9 @@ SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fl S = "${WORKDIR}/fltk-${PV}" -inherit lib_package autotools binconfig +inherit lib_package autotools_stage binconfig + +TARGET_CC_ARCH += "${LDFLAGS}" EXTRA_OECONF = "--enable-shared \ --enable-threads \ @@ -23,10 +25,6 @@ do_configure() { oe_runconf } -do_stage() { - autotools_stage_all -} - python populate_packages_prepend () { if (bb.data.getVar('DEBIAN_NAMES', d, 1)): bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d) diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc index ee5784afc3..9363585de1 100644 --- a/recipes/gcc/gcc-configure-common.inc +++ b/recipes/gcc/gcc-configure-common.inc @@ -89,4 +89,7 @@ do_configure () { echo "#define STANDARD_INCLUDE_DIR \"${layout_includedir}\"" >> ${S}/gcc/defaults.h oe_runconf + + # make sure that no @LDFLAG@ is left in the generated Makefile + sed -i "s/@LDFLAGS@//g" ${B}/Makefile } diff --git a/recipes/glibc/glibc-2.3.2/allow-gcc.patch b/recipes/glibc/glibc-2.3.2/allow-gcc.patch new file mode 100644 index 0000000000..1e38f0ef14 --- /dev/null +++ b/recipes/glibc/glibc-2.3.2/allow-gcc.patch @@ -0,0 +1,70 @@ +--- glibc-2.3.2/configure-orig 2009-03-26 15:46:33.000000000 +0100 ++++ glibc-2.3.2/configure 2009-03-26 15:49:15.000000000 +0100 +@@ -3850,67 +3850,6 @@ + + # These programs are version sensitive. + +-for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_CC+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$CC"; then +- ac_cv_prog_CC="$CC" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_CC="$ac_prog" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +- +-fi +-fi +-CC=$ac_cv_prog_CC +-if test -n "$CC"; then +- echo "$as_me:$LINENO: result: $CC" >&5 +-echo "${ECHO_T}$CC" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +- test -n "$CC" && break +-done +- +-if test -z "$CC"; then +- ac_verc_fail=yes +-else +- # Found it, now check the version. +- echo "$as_me:$LINENO: checking version of $CC" >&5 +-echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 +- ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'` +- case $ac_prog_version in +- '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; +- 3.[2-9]*) +- ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; +- *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; +- +- esac +- echo "$as_me:$LINENO: result: $ac_prog_version" >&5 +-echo "${ECHO_T}$ac_prog_version" >&6 +-fi +-if test $ac_verc_fail = yes; then +- critic_missing="$critic_missing gcc" +-fi +- + for ac_prog in gnumake gmake make + do + # Extract the first word of "$ac_prog", so it can be a program name with args. diff --git a/recipes/glibc/glibc-2.3.2/mips-abio32.patch b/recipes/glibc/glibc-2.3.2/mips-abio32.patch new file mode 100644 index 0000000000..49c46f9113 --- /dev/null +++ b/recipes/glibc/glibc-2.3.2/mips-abio32.patch @@ -0,0 +1,12 @@ +--- glibc-2.3.3-r16/sysdeps/mips/sgidefs.h-orig 2009-02-27 16:05:55.000000000 +0100 ++++ glibc-2.3.3-r16/sysdeps/mips/sgidefs.h 2009-02-27 16:06:26.000000000 +0100 +@@ -43,4 +43,9 @@ + #define _MIPS_SIM_NABI32 2 + #define _MIPS_SIM_ABI64 3 + ++/* compatibility stuff needed e.g. by gdb */ ++#ifndef _ABIO32 ++# define _ABIO32 _MIPS_SIM_ABI32 ++#endif ++ + #endif /* sgidefs.h */ diff --git a/recipes/glibc/glibc-2.3.3/allow-gcc.patch b/recipes/glibc/glibc-2.3.3/allow-gcc.patch new file mode 100644 index 0000000000..1e38f0ef14 --- /dev/null +++ b/recipes/glibc/glibc-2.3.3/allow-gcc.patch @@ -0,0 +1,70 @@ +--- glibc-2.3.2/configure-orig 2009-03-26 15:46:33.000000000 +0100 ++++ glibc-2.3.2/configure 2009-03-26 15:49:15.000000000 +0100 +@@ -3850,67 +3850,6 @@ + + # These programs are version sensitive. + +-for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_CC+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$CC"; then +- ac_cv_prog_CC="$CC" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_CC="$ac_prog" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +- +-fi +-fi +-CC=$ac_cv_prog_CC +-if test -n "$CC"; then +- echo "$as_me:$LINENO: result: $CC" >&5 +-echo "${ECHO_T}$CC" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +- test -n "$CC" && break +-done +- +-if test -z "$CC"; then +- ac_verc_fail=yes +-else +- # Found it, now check the version. +- echo "$as_me:$LINENO: checking version of $CC" >&5 +-echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 +- ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'` +- case $ac_prog_version in +- '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; +- 3.[2-9]*) +- ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; +- *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; +- +- esac +- echo "$as_me:$LINENO: result: $ac_prog_version" >&5 +-echo "${ECHO_T}$ac_prog_version" >&6 +-fi +-if test $ac_verc_fail = yes; then +- critic_missing="$critic_missing gcc" +-fi +- + for ac_prog in gnumake gmake make + do + # Extract the first word of "$ac_prog", so it can be a program name with args. diff --git a/recipes/glibc/glibc-2.3.3/etc/ld.so.conf b/recipes/glibc/glibc-2.3.3/etc/ld.so.conf new file mode 100644 index 0000000000..dfa65edb85 --- /dev/null +++ b/recipes/glibc/glibc-2.3.3/etc/ld.so.conf @@ -0,0 +1,2 @@ +/usr/local/lib +/usr/X11R6/lib diff --git a/recipes/glibc/glibc-2.3.3/mips-abio32.patch b/recipes/glibc/glibc-2.3.3/mips-abio32.patch new file mode 100644 index 0000000000..49c46f9113 --- /dev/null +++ b/recipes/glibc/glibc-2.3.3/mips-abio32.patch @@ -0,0 +1,12 @@ +--- glibc-2.3.3-r16/sysdeps/mips/sgidefs.h-orig 2009-02-27 16:05:55.000000000 +0100 ++++ glibc-2.3.3-r16/sysdeps/mips/sgidefs.h 2009-02-27 16:06:26.000000000 +0100 +@@ -43,4 +43,9 @@ + #define _MIPS_SIM_NABI32 2 + #define _MIPS_SIM_ABI64 3 + ++/* compatibility stuff needed e.g. by gdb */ ++#ifndef _ABIO32 ++# define _ABIO32 _MIPS_SIM_ABI32 ++#endif ++ + #endif /* sgidefs.h */ diff --git a/recipes/glibc/glibc_2.3.2.bb b/recipes/glibc/glibc_2.3.2.bb index 2d2663f56b..0ed7d3e723 100644 --- a/recipes/glibc/glibc_2.3.2.bb +++ b/recipes/glibc/glibc_2.3.2.bb @@ -104,6 +104,11 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/glibc/glibc-${PV}.tar.gz \ file://etc/ld.so.conf \ file://generate-supported.mk" +SRC_URI_append_mtx-1 = " file://mips-abio32.patch;patch=1 \ + file://allow-gcc.patch;patch=1 " +SRC_URI_append_mtx-2 = " file://mips-abio32.patch;patch=1 \ + file://allow-gcc.patch;patch=1 " + S = "${WORKDIR}/glibc-${PV}" B = "${WORKDIR}/build-${TARGET_SYS}" diff --git a/recipes/glibc/glibc_2.3.3.bb b/recipes/glibc/glibc_2.3.3.bb index 05a8581957..dada4bb2fb 100644 --- a/recipes/glibc/glibc_2.3.3.bb +++ b/recipes/glibc/glibc_2.3.3.bb @@ -49,6 +49,11 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/glibc/glibc-${PV}.tar.gz \ file://etc/ld.so.conf \ file://generate-supported.mk" +SRC_URI_append_mtx-1 = " file://mips-abio32.patch;patch=1 \ + file://allow-gcc.patch;patch=1 " +SRC_URI_append_mtx-2 = " file://mips-abio32.patch;patch=1 \ + file://allow-gcc.patch;patch=1 " + S = "${WORKDIR}/glibc-${PV}" B = "${WORKDIR}/build-${TARGET_SYS}" diff --git a/recipes/gnutls/gnutls.inc b/recipes/gnutls/gnutls.inc index e438423c9c..004161a9f6 100644 --- a/recipes/gnutls/gnutls.inc +++ b/recipes/gnutls/gnutls.inc @@ -1,6 +1,6 @@ DESCRIPTION = "GNU Transport Layer Security Library" HOMEPAGE = "http://www.gnu.org/software/gnutls/" -DEPENDS = "zlib libgcrypt lzo" +DEPENDS = "zlib libgcrypt lzo guile-native" LICENSE = "LGPL" SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2" diff --git a/recipes/h2200-bootloader/h2200-bootloader.bb b/recipes/h2200-bootloader/h2200-bootloader.bb index 5db3cd058d..69214c76f2 100644 --- a/recipes/h2200-bootloader/h2200-bootloader.bb +++ b/recipes/h2200-bootloader/h2200-bootloader.bb @@ -1,7 +1,6 @@ DESCRIPTION = "Bootloader firmware extractor for the h2200 iPAQ" -RRECOMMENDS_${PN} = "kernel-module-mtdblock" ALLOW_EMPTY = "1" -PR = "r3" +PR = "r4" COMPATIBLE_MACHINE = "h2200" #it is a shell script, but lets protect the innocent some more @@ -10,6 +9,5 @@ PACKAGE_ARCH = "h2200" pkg_postinst() { #!/bin/sh mkdir -p /lib/firmware -modprobe mtdblock dd if=/dev/mtdblock0 of=/lib/firmware/h2200_bootloader.bin 2>/dev/null } diff --git a/recipes/hostap/files/hostap-no-bsd.patch b/recipes/hostap/files/hostap-no-bsd.patch new file mode 100644 index 0000000000..c40d98c959 --- /dev/null +++ b/recipes/hostap/files/hostap-no-bsd.patch @@ -0,0 +1,19 @@ +--- hostapd-0.4.4/driver_madwifi.c-orig 2008-04-16 15:11:49.000000000 +0200 ++++ hostapd-0.4.4/driver_madwifi.c 2008-04-16 15:10:38.000000000 +0200 +@@ -26,14 +26,14 @@ + #include <net80211/ieee80211.h> + #ifdef WME_NUM_AC + /* Assume this is built against BSD branch of madwifi driver. */ +-#define MADWIFI_BSD ++/*#define MADWIFI_BSD*/ ++#include <linux/wireless.h> + #include <net80211/_ieee80211.h> + #endif /* WME_NUM_AC */ + #include <net80211/ieee80211_crypto.h> + #include <net80211/ieee80211_ioctl.h> + + #include <net/if_arp.h> +-#include <linux/wireless.h> + + #include <netinet/in.h> + #include <netpacket/packet.h> diff --git a/recipes/hostap/hostap-daemon_0.4.4.bb b/recipes/hostap/hostap-daemon_0.4.4.bb index bece7d1450..83a5386f3a 100644 --- a/recipes/hostap/hostap-daemon_0.4.4.bb +++ b/recipes/hostap/hostap-daemon_0.4.4.bb @@ -1,3 +1,7 @@ require hostap-daemon.inc +SRC_URI_append_nylon = "\ + file://hostap-no-bsd.patch;patch=1" + + PR = "r2" diff --git a/recipes/hostap/hostap-daemon_0.5.10.bb b/recipes/hostap/hostap-daemon_0.5.10.bb index 3fc1d8dc11..ea493017fe 100644 --- a/recipes/hostap/hostap-daemon_0.5.10.bb +++ b/recipes/hostap/hostap-daemon_0.5.10.bb @@ -5,6 +5,10 @@ PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "openssl ${@base_contains("COMBINED_FEATURES", "pci", "madwifi-ng", "",d)}" PR = "r1" +DEPENDS_append_mtx-1 = " madwifi-modules" +DEPENDS_append_mtx-2 = " madwifi-modules" +CPPFLAGS_append_mtx-1 = " -I${STAGING_INCDIR}/madwifi/" +CPPFLAGS_append_mtx-2 = " -I${STAGING_INCDIR}/madwifi/" #we introduce MY_ARCH to get 'armv5te' as arch instead of the misleading 'arm' on armv5te builds MY_ARCH := "${PACKAGE_ARCH}" diff --git a/recipes/initscripts/initscripts-1.0/bootmisc.sh b/recipes/initscripts/initscripts-1.0/bootmisc.sh index dde1209be5..d19477be87 100755 --- a/recipes/initscripts/initscripts-1.0/bootmisc.sh +++ b/recipes/initscripts/initscripts-1.0/bootmisc.sh @@ -66,7 +66,7 @@ fi # Set the system clock from hardware clock # If the timestamp is 1 day or more recent than the current time, # use the timestamp instead. -/etc/init.d/hwclock.sh start +test -x /etc/init.d/hwclock.sh && /etc/init.d/hwclock.sh start if test -e /etc/timestamp then SYSTEMDATE=`date "+%Y%m%d"` diff --git a/recipes/jamvm/jamvm-native_1.5.2.bb b/recipes/jamvm/jamvm-native_1.5.2.bb deleted file mode 100644 index e174e2a312..0000000000 --- a/recipes/jamvm/jamvm-native_1.5.2.bb +++ /dev/null @@ -1,4 +0,0 @@ -require jamvm-native.inc - -PR = "r0" - diff --git a/recipes/jamvm/jamvm-native_1.5.3.bb b/recipes/jamvm/jamvm-native_1.5.3.bb new file mode 100644 index 0000000000..07a213c260 --- /dev/null +++ b/recipes/jamvm/jamvm-native_1.5.3.bb @@ -0,0 +1,6 @@ +# Note: You *must* use this together with classpath-native 0.98. Otherwise it won't work! + +require jamvm-native.inc + +PR = "r0" + diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc index fb3816b348..74767b0b12 100644 --- a/recipes/kexecboot/linux-kexecboot.inc +++ b/recipes/kexecboot/linux-kexecboot.inc @@ -6,7 +6,7 @@ SRC_URI = "file://defconfig" LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}' SRC_URI += "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2" -require recipes/linux/linux.inc +require ../linux/linux.inc DONT_CHECK_KERNELSIZE = "" INITRAMFS_IMAGE = "initramfs-kexecboot-image" diff --git a/recipes/kismet/kismet-2007-10-R1/fix_strip.patch b/recipes/kismet/files/fix_strip.patch index 54e7a9b1b7..54e7a9b1b7 100644 --- a/recipes/kismet/kismet-2007-10-R1/fix_strip.patch +++ b/recipes/kismet/files/fix_strip.patch diff --git a/recipes/kismet/kismet-2007-10-R1/string_h.patch b/recipes/kismet/kismet-2007-10-R1/string_h.patch new file mode 100644 index 0000000000..363664fb6f --- /dev/null +++ b/recipes/kismet/kismet-2007-10-R1/string_h.patch @@ -0,0 +1,36 @@ +Index: kismet-2007-10-R1/kismet_wrapper.cc +=================================================================== +--- kismet-2007-10-R1.orig/kismet_wrapper.cc 2007-10-06 21:50:03.000000000 +0000 ++++ kismet-2007-10-R1/kismet_wrapper.cc 2009-05-26 12:58:01.000000000 +0000 +@@ -25,6 +25,7 @@ + #include <sys/wait.h> + #include <fcntl.h> + #include <unistd.h> ++#include <string.h> + + #include "config.h" + +Index: kismet-2007-10-R1/ringbuf.cc +=================================================================== +--- kismet-2007-10-R1.orig/ringbuf.cc 2005-12-11 19:14:39.000000000 +0000 ++++ kismet-2007-10-R1/ringbuf.cc 2009-05-26 12:56:17.000000000 +0000 +@@ -17,6 +17,7 @@ + */ + + #include "ringbuf.h" ++#include <string.h> + + RingBuffer::RingBuffer(int in_size) { + ring_len = in_size; +Index: kismet-2007-10-R1/util.cc +=================================================================== +--- kismet-2007-10-R1.orig/util.cc 2006-08-28 20:37:29.000000000 +0000 ++++ kismet-2007-10-R1/util.cc 2009-05-26 12:57:00.000000000 +0000 +@@ -22,6 +22,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> ++#include <string.h> + + // We need this to make uclibc happy since they don't even have rintf... + #ifndef rintf diff --git a/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff new file mode 100644 index 0000000000..4c1d3a2360 --- /dev/null +++ b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff @@ -0,0 +1,20 @@ +--- kismet_wrapper.cc ++++ kismet_wrapper.cc +@@ -79,7 +79,7 @@ void reap(int sig) { + if (FD_ISSET(epipe[0], &rset)) { + if (fgets(ret, 2048, err) == NULL || + feof(err)) { +- if (feof(out)) ++ if (!check_out || feof(out)) + break; + + fclose(err); +@@ -98,7 +98,7 @@ void reap(int sig) { + if (FD_ISSET(rpipe[0], &rset)) { + if (fgets(ret, 2048, out) == NULL || + feof(out)) { +- if (feof(err)) ++ if (!check_err || feof(err)) + break; + + fclose(out); diff --git a/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-fmt.diff b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-fmt.diff new file mode 100644 index 0000000000..032f92ba22 --- /dev/null +++ b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-fmt.diff @@ -0,0 +1,11 @@ +--- gpsmap.cc ++++ gpsmap.cc +@@ -3825,7 +3825,7 @@ + else if (tok == "location") + network_labels.push_back(NETLABEL_LOCATION); + else { +- fprintf(stderr, "Invalid label '%s'\n", tok.c_str()); ++ fprintf(stderr, "Invalid label '%zs'\n", tok.c_str()); + exit(1); + } + } diff --git a/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-infinite-loop.diff b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-infinite-loop.diff new file mode 100644 index 0000000000..f8417943e8 --- /dev/null +++ b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-infinite-loop.diff @@ -0,0 +1,20 @@ +--- gpsmap.cc ++++ gpsmap.cc +@@ -874,7 +874,7 @@ + + // Break up the path to the gpsxml file and form a path based on that + unsigned int lastslash = 0; +- for (unsigned int x = origxmlfile.find('/'); x != string::npos; ++ for (string::size_type x = origxmlfile.find('/'); x != string::npos; + lastslash = x, x = origxmlfile.find('/', lastslash+1)) { + // We don't actually need to do anything... + } +@@ -882,7 +882,7 @@ + comp = origxmlfile.substr(0, lastslash); + + lastslash = 0; +- for (unsigned int x = orignetfile.find('/'); x != string::npos; ++ for (string::size_type x = orignetfile.find('/'); x != string::npos; + lastslash = x, x = orignetfile.find('/', lastslash+1)) { + // We don't actually need to do anything... + } diff --git a/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-nonvoid.diff b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-nonvoid.diff new file mode 100644 index 0000000000..e068f8dac5 --- /dev/null +++ b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-nonvoid.diff @@ -0,0 +1,10 @@ +--- pcapsource.cc ++++ pcapsource.cc +@@ -2914,6 +2914,7 @@ + return -1; + + } ++ return -1; + } + #endif + diff --git a/recipes/kismet/kismet_2007-10-R1.bb b/recipes/kismet/kismet_2007-10-R1.bb index 4786543ec8..ac3c56f156 100644 --- a/recipes/kismet/kismet_2007-10-R1.bb +++ b/recipes/kismet/kismet_2007-10-R1.bb @@ -1,5 +1,6 @@ require kismet.inc -SRC_URI += "file://fix_strip.patch;patch=1" +SRC_URI += "file://fix_strip.patch;patch=1 \ + file://string_h.patch;patch=1" PR = "r5" diff --git a/recipes/kismet/kismet_2008-05-R1.bb b/recipes/kismet/kismet_2008-05-R1.bb new file mode 100644 index 0000000000..c413ed508a --- /dev/null +++ b/recipes/kismet/kismet_2008-05-R1.bb @@ -0,0 +1,10 @@ +require kismet.inc + +# patches *.diff are from openSUSE +SRC_URI += "file://kismet-2008-05-R1-crash.diff;patch=1;pnum=0 \ + file://kismet-2008-05-R1-fmt.diff;patch=1;pnum=0 \ + file://kismet-2008-05-R1-infinite-loop.diff;patch=1;pnum=0 \ + file://kismet-2008-05-R1-nonvoid.diff;patch=1;pnum=0 \ + file://fix_strip.patch;patch=1" + +PR = "r0" diff --git a/recipes/libopie/libopie2/rotate_fix.patch b/recipes/libopie/libopie2/rotate_fix.patch new file mode 100644 index 0000000000..c6a59846a0 --- /dev/null +++ b/recipes/libopie/libopie2/rotate_fix.patch @@ -0,0 +1,87 @@ +--- libopie2/opiecore/device/odevice_ipaq.cpp 24 May 2009 20:09:49 -0000 1.40 ++++ libopie2/opiecore/device/odevice_ipaq.cpp 27 May 2009 21:16:24 -0000 +@@ -35,6 +35,7 @@ + #include <qfile.h> + #include <qtextstream.h> + #include <qwindowsystem_qws.h> ++#include <qgfx_qws.h> + + /* OPIE */ + #include <qpe/config.h> +@@ -335,11 +336,11 @@ + int quarters; + switch (d->m_rotation) { + case Rot0: quarters = 0/*0deg*/; break; +- case Rot90: quarters = 1/*90deg*/; break; ++ case Rot90: quarters = 3/*90deg*/; break; + case Rot180: quarters = 2/*180deg*/; break; +- case Rot270: quarters = 3/*270deg*/; break; ++ case Rot270: quarters = 1/*270deg*/; break; + } +- newkeycode = Key_Left + ( keycode - Key_Left + quarters ) % 4; ++ newkeycode = Key_Left + ( keycode - Key_Left + quarters + qt_screen->transformOrientation() ) % 4; + break; + } + +--- libopie2/opiecore/device/odevice_zaurus.cpp 24 May 2009 20:09:49 -0000 1.57 ++++ libopie2/opiecore/device/odevice_zaurus.cpp 27 May 2009 21:16:24 -0000 +@@ -807,16 +807,8 @@ + case Key_Up : + case Key_Down : + { +- if (d->m_model == Model_Zaurus_SLC3000) { +- // This ensures that the cursor keys work correctly and that the +- // side wheel works as expected when the screen is flipped over +- if (rotation() == Rot270) +- newkeycode = Key_Left + ( keycode - Key_Left + 1 ) % 4; +- } +- else { +- if (rotation()==Rot90) +- newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; +- } ++ if (rotation()==Rot90) ++ newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; + break; + + } +--- libopie2/opiecore/device/odevice_palm.cpp 2009-05-27 22:28:37.000000000 +0100 ++++ libopie2/opiecore/device/odevice_palm.cpp 2009-05-27 22:28:09.000000000 +0100 +@@ -295,25 +295,21 @@ + { + int newkeycode = keycode; + +- if (qt_screen->transformOrientation() != Rot0){ +- +- switch ( keycode ) { +- case Key_Left : +- case Key_Right: +- case Key_Up : +- case Key_Down : +- newkeycode = Key_Left + ( keycode - Key_Left + 4 ) % 4; +- default: +- break; +- } ++ switch ( keycode ) { ++ case Key_Left : ++ case Key_Right: ++ case Key_Up : ++ case Key_Down : ++ newkeycode = Key_Left + ( keycode - Key_Left + qt_screen->transformOrientation() ) % 4; ++ default: ++ break; ++ } + +- if (newkeycode!=keycode) { +- if ( newkeycode != Key_unknown ) { +- QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); +- } +- return true; ++ if (newkeycode!=keycode) { ++ if ( newkeycode != Key_unknown ) { ++ QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); + } +- ++ return true; + } + + return false; diff --git a/recipes/libopie/libopie2_1.2.4.bb b/recipes/libopie/libopie2_1.2.4.bb index 0634ad7d22..d66cf3fea5 100644 --- a/recipes/libopie/libopie2_1.2.4.bb +++ b/recipes/libopie/libopie2_1.2.4.bb @@ -1,10 +1,11 @@ require ${PN}.inc -PR = "r1" +PR = "r2" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \ file://include.pro \ file://libopie2-tosa.patch;patch=1 \ - file://c7x0_w100_disable.patch;patch=1" + file://c7x0_w100_disable.patch;patch=1 \ + file://rotate_fix.patch;patch=1" SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1" diff --git a/recipes/libsdl/libsdl-gfx_2.0.17.bb b/recipes/libsdl/libsdl-gfx_2.0.17.bb index 79af40ae1d..b07be45ac5 100644 --- a/recipes/libsdl/libsdl-gfx_2.0.17.bb +++ b/recipes/libsdl/libsdl-gfx_2.0.17.bb @@ -10,6 +10,7 @@ S = "${WORKDIR}/SDL_gfx-${PV}" inherit autotools EXTRA_OECONF = "--disable-mmx" +TARGET_CC_ARCH += "${LDFLAGS}" do_stage() { autotools_stage_all diff --git a/recipes/libsdl/libsdl-ttf_2.0.3.bb b/recipes/libsdl/libsdl-ttf_2.0.3.bb index 250fb698ce..b1da5b47f8 100644 --- a/recipes/libsdl/libsdl-ttf_2.0.3.bb +++ b/recipes/libsdl/libsdl-ttf_2.0.3.bb @@ -11,6 +11,8 @@ S = "${WORKDIR}/SDL_ttf-${PV}" inherit autotools +TARGET_CC_ARCH += "${LDFLAGS}" + do_stage() { autotools_stage_all } diff --git a/recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch b/recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch new file mode 100644 index 0000000000..f07b5383bf --- /dev/null +++ b/recipes/libusb/libusb-compat-0.1.0/gcc-3-compatibility.patch @@ -0,0 +1,22 @@ +--- libusb-compat-0.1.0/configure.ac-orig 2009-02-26 15:30:51.000000000 +0100 ++++ libusb-compat-0.1.0/configure.ac 2009-02-26 15:31:04.000000000 +0100 +@@ -55,7 +55,7 @@ + CFLAGS="$saved_cflags" + + AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility]) +-AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" ++AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow" + AC_SUBST(AM_CFLAGS) + + AC_CONFIG_FILES([libusb.pc] [libusb-config] [Makefile] [libusb/Makefile] [examples/Makefile]) +--- libusb-compat-0.1.0/libusb/Makefile.am-orig 2009-02-26 15:33:30.000000000 +0100 ++++ libusb-compat-0.1.0/libusb/Makefile.am 2009-02-26 15:33:40.000000000 +0100 +@@ -2,7 +2,7 @@ + lib_LTLIBRARIES = libusb.la + + libusb_la_SOURCES = core.c usbi.h +-libusb_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) $(LIBUSB_1_0_CFLAGS) ++libusb_la_CFLAGS = $(AM_CFLAGS) $(LIBUSB_1_0_CFLAGS) + libusb_la_LIBADD = $(LIBUSB_1_0_LIBS) + libusb_la_LDFLAGS = -version-info $(LT_MAJOR):$(LT_REVISION):$(LT_AGE) \ + -release 0.1 diff --git a/recipes/libusb/libusb-compat_0.1.0.bb b/recipes/libusb/libusb-compat_0.1.0.bb index 887765133a..48694403e5 100644 --- a/recipes/libusb/libusb-compat_0.1.0.bb +++ b/recipes/libusb/libusb-compat_0.1.0.bb @@ -11,7 +11,8 @@ DEPENDS = "libusb1" SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ " - +SRC_URI_append_nylon = " file://gcc-3-compatibility.patch;patch=1 \ +" inherit autotools pkgconfig binconfig lib_package PARALLEL_MAKE = "" diff --git a/recipes/libusb/libusb1-1.0.0/gcc-3-compatibility.patch b/recipes/libusb/libusb1-1.0.0/gcc-3-compatibility.patch new file mode 100644 index 0000000000..d1bc6803d8 --- /dev/null +++ b/recipes/libusb/libusb1-1.0.0/gcc-3-compatibility.patch @@ -0,0 +1,22 @@ +--- libusb-1.0.0/configure.ac-orig 2009-02-26 13:18:31.000000000 +0100 ++++ libusb-1.0.0/configure.ac 2009-02-26 13:18:43.000000000 +0100 +@@ -62,7 +62,7 @@ + CFLAGS="$saved_cflags" + + AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility]) +-AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" ++AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow" + AC_SUBST(AM_CFLAGS) + + AC_CONFIG_FILES([libusb-1.0.pc] [Makefile] [libusb/Makefile] [examples/Makefile] [doc/Makefile] [doc/doxygen.cfg]) +--- libusb-1.0.0/libusb/Makefile.am-orig 2009-02-26 13:18:11.000000000 +0100 ++++ libusb-1.0.0/libusb/Makefile.am 2009-02-26 13:18:23.000000000 +0100 +@@ -8,7 +8,7 @@ + OS_SRC = $(LINUX_USBFS_SRC) + endif + +-libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread ++libusb_1_0_la_CFLAGS = $(AM_CFLAGS) -pthread + libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) + libusb_1_0_la_LIBADD = -lrt + diff --git a/recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch b/recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch new file mode 100644 index 0000000000..98c3674bca --- /dev/null +++ b/recipes/libusb/libusb1-1.0.1/gcc-3-compatibility.patch @@ -0,0 +1,33 @@ +--- libusb-1.0.1/libusb/Makefile.am-orig 2009-05-19 22:41:07.000000000 +0200 ++++ libusb-1.0.1/libusb/Makefile.am 2009-05-19 22:41:27.000000000 +0200 +@@ -14,7 +14,7 @@ + AM_CFLAGS_EXT = -no-cpp-precomp + endif + +-libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread ++libusb_1_0_la_CFLAGS = $(AM_CFLAGS) -pthread + libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) + + hdrdir = $(includedir)/libusb-1.0 +--- libusb-1.0.1/libusb/Makefile.in-orig 2009-05-19 22:41:13.000000000 +0200 ++++ libusb-1.0.1/libusb/Makefile.in 2009-05-19 22:41:42.000000000 +0200 +@@ -210,7 +210,7 @@ + @OS_DARWIN_TRUE@OS_SRC = $(DARWIN_USB_SRC) + @OS_LINUX_TRUE@OS_SRC = $(LINUX_USBFS_SRC) + @OS_DARWIN_TRUE@AM_CFLAGS_EXT = -no-cpp-precomp +-libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread ++libusb_1_0_la_CFLAGS = $(AM_CFLAGS) -pthread + libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) + hdrdir = $(includedir)/libusb-1.0 + hdr_HEADERS = libusb.h +--- libusb-1.0.1/configure.ac-orig 2009-05-19 22:44:06.000000000 +0200 ++++ libusb-1.0.1/configure.ac 2009-05-19 22:44:16.000000000 +0200 +@@ -72,7 +72,7 @@ + CFLAGS="$saved_cflags" + + AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility]) +-AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" ++AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow" + + AC_SUBST(AM_CFLAGS) + AC_SUBST(AM_LDFLAGS) diff --git a/recipes/libusb/libusb1_1.0.0.bb b/recipes/libusb/libusb1_1.0.0.bb index 8450a7c946..978d819a6f 100644 --- a/recipes/libusb/libusb1_1.0.0.bb +++ b/recipes/libusb/libusb1_1.0.0.bb @@ -9,6 +9,8 @@ PR = "r0" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \ " +SRC_URI_append_nylon = " file://gcc-3-compatibility.patch;patch=1 \ +" S = "${WORKDIR}/libusb-${PV}" inherit autotools pkgconfig binconfig lib_package diff --git a/recipes/libusb/libusb1_1.0.1.bb b/recipes/libusb/libusb1_1.0.1.bb index 1af46bcf98..3856812965 100644 --- a/recipes/libusb/libusb1_1.0.1.bb +++ b/recipes/libusb/libusb1_1.0.1.bb @@ -8,6 +8,8 @@ LICENSE = "LGPL" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \ " +SRC_URI_append_nylon = " file://gcc-3-compatibility.patch;patch=1 \ +" S = "${WORKDIR}/libusb-${PV}" inherit autotools_stage binconfig lib_package diff --git a/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch b/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch new file mode 100644 index 0000000000..c68a0099fa --- /dev/null +++ b/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch @@ -0,0 +1,20 @@ +--- hotplug-2004_09_20/etc/hotplug/pci.rc-orig 2009-04-07 21:00:18.000000000 +0200 ++++ hotplug-2004_09_20/etc/hotplug/pci.rc 2009-04-07 21:00:43.000000000 +0200 +@@ -38,7 +38,7 @@ + sub_vendor_id=`cat $PCI_DEVICE/subsystem_vendor` + sub_device_id=`cat $PCI_DEVICE/subsystem_device` + PCI_SUBSYS_ID="${sub_vendor_id#0x}:${sub_device_id#0x}" +- /sbin/hotplug pci ++ /usr/sbin/hotplug pci + done + fi + else +@@ -53,7 +53,7 @@ + for BUS in `cd /proc/bus/pci;find * -type d -print`; do + for SLOT_FUNC in `cd /proc/bus/pci/$BUS; echo *`; do + PCI_SLOT=$BUS:$SLOT_FUNC +- /sbin/hotplug pci ++ /usr/sbin/hotplug pci + done + done + fi diff --git a/recipes/linux-hotplug/linux-hotplug_20040920.bb b/recipes/linux-hotplug/linux-hotplug_20040920.bb index 6209504c20..5cab3b81d8 100644 --- a/recipes/linux-hotplug/linux-hotplug_20040920.bb +++ b/recipes/linux-hotplug/linux-hotplug_20040920.bb @@ -27,7 +27,8 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20 file://sysconfig-usb \ file://isapnp-exit.diff;patch=1 \ file://usb-storage \ - file://soc.agent" + file://soc.agent \ + file://hotplug-binary-path.patch;patch=1" SRC_URI_append_openzaurus = " file://quiet-pci.patch;patch=1" diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb index 73e9b07d7f..3a6de1c72e 100644 --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb @@ -49,9 +49,12 @@ do_stage () { } do_stage_append_nylon () { - cp -pPR include/asm-${ARCH}/* ${STAGING_INCDIR}/asm/ - cp -pPR include/asm-${ARCH}/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/ - cp -pPR include/linux/* ${STAGING_INCDIR}/linux/ - cp -pPR include/linux/* ${CROSS_DIR}/${TARGET_SYS}/include/linux/ + install -d ${STAGING_INCDIR}/asm/ + cp -vpPR include/asm-${ARCH}/* ${STAGING_INCDIR}/asm/ + install -d ${CROSS_DIR}/${TARGET_SYS}/include/asm/ + cp -vpPR include/asm-${ARCH}/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/ + cp -vpPR include/linux/* ${STAGING_INCDIR}/linux/ + install -d ${CROSS_DIR}/${TARGET_SYS}/include/linux/ + cp -vpPR include/linux/* ${CROSS_DIR}/${TARGET_SYS}/include/linux/ } diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb index d71b68a930..60d621b1dc 100644 --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb @@ -69,9 +69,12 @@ do_stage () { } do_stage_append_nylon () { - cp -pPR include/asm-${ARCH}/* ${STAGING_INCDIR}/asm/ - cp -pPR include/asm-${ARCH}/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/ - cp -pPR include/linux/* ${STAGING_INCDIR}/linux/ - cp -pPR include/linux/* ${CROSS_DIR}/${TARGET_SYS}/include/linux/ + install -d ${STAGING_INCDIR}/asm/ + cp -vpPR include/asm-${ARCH}/* ${STAGING_INCDIR}/asm/ + install -d ${CROSS_DIR}/${TARGET_SYS}/include/asm/ + cp -vpPR include/asm-${ARCH}/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/ + cp -vpPR include/linux/* ${STAGING_INCDIR}/linux/ + install -d ${CROSS_DIR}/${TARGET_SYS}/include/linux/ + cp -vpPR include/linux/* ${CROSS_DIR}/${TARGET_SYS}/include/linux/ } diff --git a/recipes/linux/linux-omap-2.6.29/dss2/0070-DSS2-fix-irq1.diff b/recipes/linux/linux-omap-2.6.29/dss2/0070-DSS2-fix-irq1.diff new file mode 100644 index 0000000000..8f384dfe2d --- /dev/null +++ b/recipes/linux/linux-omap-2.6.29/dss2/0070-DSS2-fix-irq1.diff @@ -0,0 +1,221 @@ +From 093988f36ffcb0201927f8b452e546e1141aa0fa Mon Sep 17 00:00:00 2001 +From: Tomi Valkeinen <tomi.valkeinen@nokia.com> +Date: Sat, 23 May 2009 15:00:21 +0000 +Subject: DSS2: DISPC: fix irq handling locking + +--- +diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c +index b0e4960..b3685b2 100644 +--- a/drivers/video/omap2/dss/dispc.c ++++ b/drivers/video/omap2/dss/dispc.c +@@ -154,23 +154,20 @@ static struct { + + struct clk *dpll4_m4_ck; + +- spinlock_t irq_lock; +- + unsigned long cache_req_pck; + unsigned long cache_prate; + struct dispc_clock_info cache_cinfo; + +- u32 irq_error_mask; ++ spinlock_t irq_lock; ++ u32 irq_error_mask; + struct omap_dispc_isr_data registered_isr[DISPC_MAX_NR_ISRS]; +- +- spinlock_t error_lock; + u32 error_irqs; + struct work_struct error_work; + + u32 ctx[DISPC_SZ_REGS / sizeof(u32)]; + } dispc; + +-static void omap_dispc_set_irqs(void); ++static void _omap_dispc_set_irqs(void); + + static inline void dispc_write_reg(const struct dispc_reg idx, u32 val) + { +@@ -1691,10 +1688,13 @@ void dispc_enable_digit_out(bool enable) + } + + if (enable) { ++ unsigned long flags; + /* When we enable digit output, we'll get an extra digit + * sync lost interrupt, that we need to ignore */ ++ spin_lock_irqsave(&dispc.irq_lock, flags); + dispc.irq_error_mask &= ~DISPC_IRQ_SYNC_LOST_DIGIT; +- omap_dispc_set_irqs(); ++ _omap_dispc_set_irqs(); ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + } + + /* When we disable digit output, we need to wait until fields are done. +@@ -1728,9 +1728,12 @@ void dispc_enable_digit_out(bool enable) + DSSERR("failed to unregister EVSYNC isr\n"); + + if (enable) { ++ unsigned long flags; ++ spin_lock_irqsave(&dispc.irq_lock, flags); + dispc.irq_error_mask = DISPC_IRQ_MASK_ERROR; + dispc_write_reg(DISPC_IRQSTATUS, DISPC_IRQ_SYNC_LOST_DIGIT); +- omap_dispc_set_irqs(); ++ _omap_dispc_set_irqs(); ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + } + + enable_clocks(0); +@@ -2508,14 +2511,14 @@ int dispc_get_clock_div(struct dispc_clock_info *cinfo) + return 0; + } + +-static void omap_dispc_set_irqs(void) ++/* dispc.irq_lock has to be locked by the caller */ ++static void _omap_dispc_set_irqs(void) + { +- unsigned long flags; +- u32 mask = dispc.irq_error_mask; ++ u32 mask; + int i; + struct omap_dispc_isr_data *isr_data; + +- spin_lock_irqsave(&dispc.irq_lock, flags); ++ mask = dispc.irq_error_mask; + + for (i = 0; i < DISPC_MAX_NR_ISRS; i++) { + isr_data = &dispc.registered_isr[i]; +@@ -2528,9 +2531,8 @@ static void omap_dispc_set_irqs(void) + + enable_clocks(1); + dispc_write_reg(DISPC_IRQENABLE, mask); +- enable_clocks(0); + +- spin_unlock_irqrestore(&dispc.irq_lock, flags); ++ enable_clocks(0); + } + + int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask) +@@ -2571,11 +2573,14 @@ int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask) + + break; + } +-err: ++ ++ _omap_dispc_set_irqs(); ++ + spin_unlock_irqrestore(&dispc.irq_lock, flags); + +- if (ret == 0) +- omap_dispc_set_irqs(); ++ return 0; ++err: ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + + return ret; + } +@@ -2606,10 +2611,10 @@ int omap_dispc_unregister_isr(omap_dispc_isr_t isr, void *arg, u32 mask) + break; + } + +- spin_unlock_irqrestore(&dispc.irq_lock, flags); +- + if (ret == 0) +- omap_dispc_set_irqs(); ++ _omap_dispc_set_irqs(); ++ ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + + return ret; + } +@@ -2645,11 +2650,15 @@ static void print_irq_status(u32 status) + void dispc_irq_handler(void) + { + int i; +- u32 irqstatus = dispc_read_reg(DISPC_IRQSTATUS); ++ u32 irqstatus; + u32 handledirqs = 0; + u32 unhandled_errors; + struct omap_dispc_isr_data *isr_data; + ++ spin_lock(&dispc.irq_lock); ++ ++ irqstatus = dispc_read_reg(DISPC_IRQSTATUS); ++ + #ifdef DEBUG + if (dss_debug) + print_irq_status(irqstatus); +@@ -2673,15 +2682,15 @@ void dispc_irq_handler(void) + unhandled_errors = irqstatus & ~handledirqs & dispc.irq_error_mask; + + if (unhandled_errors) { +- spin_lock(&dispc.error_lock); + dispc.error_irqs |= unhandled_errors; +- spin_unlock(&dispc.error_lock); + + dispc.irq_error_mask &= ~unhandled_errors; +- omap_dispc_set_irqs(); ++ _omap_dispc_set_irqs(); + + schedule_work(&dispc.error_work); + } ++ ++ spin_unlock(&dispc.irq_lock); + } + + static void dispc_error_worker(struct work_struct *work) +@@ -2690,10 +2699,10 @@ static void dispc_error_worker(struct work_struct *work) + u32 errors; + unsigned long flags; + +- spin_lock_irqsave(&dispc.error_lock, flags); ++ spin_lock_irqsave(&dispc.irq_lock, flags); + errors = dispc.error_irqs; + dispc.error_irqs = 0; +- spin_unlock_irqrestore(&dispc.error_lock, flags); ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + + if (errors & DISPC_IRQ_GFX_FIFO_UNDERFLOW) { + DSSERR("GFX_FIFO_UNDERFLOW, disabling GFX\n"); +@@ -2836,8 +2845,10 @@ static void dispc_error_worker(struct work_struct *work) + } + } + ++ spin_lock_irqsave(&dispc.irq_lock, flags); + dispc.irq_error_mask |= errors; +- omap_dispc_set_irqs(); ++ _omap_dispc_set_irqs(); ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + } + + int omap_dispc_wait_for_irq_timeout(u32 irqmask, unsigned long timeout) +@@ -2921,6 +2932,10 @@ void dispc_fake_vsync_irq(void) + + static void _omap_dispc_initialize_irq(void) + { ++ unsigned long flags; ++ ++ spin_lock_irqsave(&dispc.irq_lock, flags); ++ + memset(dispc.registered_isr, 0, sizeof(dispc.registered_isr)); + + dispc.irq_error_mask = DISPC_IRQ_MASK_ERROR; +@@ -2929,7 +2944,9 @@ static void _omap_dispc_initialize_irq(void) + * so clear it */ + dispc_write_reg(DISPC_IRQSTATUS, dispc_read_reg(DISPC_IRQSTATUS)); + +- omap_dispc_set_irqs(); ++ _omap_dispc_set_irqs(); ++ ++ spin_unlock_irqrestore(&dispc.irq_lock, flags); + } + + void dispc_enable_sidle(void) +@@ -2970,7 +2987,6 @@ int dispc_init(void) + u32 rev; + + spin_lock_init(&dispc.irq_lock); +- spin_lock_init(&dispc.error_lock); + + INIT_WORK(&dispc.error_work, dispc_error_worker); + +-- +cgit v0.8.2.1-10-g45e7 diff --git a/recipes/linux/linux-omap-2.6.29/dss2/0071-DSS2-fix-irq2.diff b/recipes/linux/linux-omap-2.6.29/dss2/0071-DSS2-fix-irq2.diff new file mode 100644 index 0000000000..cb8aaf1a28 --- /dev/null +++ b/recipes/linux/linux-omap-2.6.29/dss2/0071-DSS2-fix-irq2.diff @@ -0,0 +1,35 @@ +From 8af2f6550d6971875e4c5d3f93982f86f4bcf216 Mon Sep 17 00:00:00 2001 +From: Tomi Valkeinen <tomi.valkeinen@nokia.com> +Date: Sat, 23 May 2009 15:00:00 +0000 +Subject: DSS2: DISPC: clear irqstatus for newly enabled irqs + +This fixes the problem that when requesting a new irq +we could get the isr called too early in case irqstatus +already had that irq flag on. +--- +diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c +index b3685b2..2471cfe 100644 +--- a/drivers/video/omap2/dss/dispc.c ++++ b/drivers/video/omap2/dss/dispc.c +@@ -2515,6 +2515,7 @@ int dispc_get_clock_div(struct dispc_clock_info *cinfo) + static void _omap_dispc_set_irqs(void) + { + u32 mask; ++ u32 old_mask; + int i; + struct omap_dispc_isr_data *isr_data; + +@@ -2530,6 +2531,11 @@ static void _omap_dispc_set_irqs(void) + } + + enable_clocks(1); ++ ++ old_mask = dispc_read_reg(DISPC_IRQENABLE); ++ /* clear the irqstatus for newly enabled irqs */ ++ dispc_write_reg(DISPC_IRQSTATUS, (mask ^ old_mask) & mask); ++ + dispc_write_reg(DISPC_IRQENABLE, mask); + + enable_clocks(0); +-- +cgit v0.8.2.1-10-g45e7 diff --git a/recipes/linux/linux-omap_2.6.29.bb b/recipes/linux/linux-omap_2.6.29.bb index 5be04d2a84..67a4803893 100644 --- a/recipes/linux/linux-omap_2.6.29.bb +++ b/recipes/linux/linux-omap_2.6.29.bb @@ -91,6 +91,8 @@ SRC_URI_append = " \ file://dss2/0067-DSS2-VRFB-don-t-WARN-when-releasing-inactive-ctx.patch;patch=1 \ file://dss2/0068-DSS2-Swap-field-offset-values-w-VRFB-rotation.patch;patch=1 \ file://dss2/0069-DSS2-OMAP3EVM-Added-DSI-powerup-and-powerdown-func.patch;patch=1 \ + file://dss2/0070-DSS2-fix-irq1.diff;patch=1 \ + file://dss2/0071-DSS2-fix-irq2.diff;patch=1 \ file://0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch;patch=1 \ file://fix-unaligned-access.diff;patch=1 \ file://make-alignment-visible.diff;patch=1 \ diff --git a/recipes/logrotate-script/logrotate-script_cvs.bb b/recipes/logrotate-script/logrotate-script_cvs.bb index a46b265e2f..2c6fd909b8 100644 --- a/recipes/logrotate-script/logrotate-script_cvs.bb +++ b/recipes/logrotate-script/logrotate-script_cvs.bb @@ -4,7 +4,7 @@ SECTION = "admin" PRIORITY = "optional" LICENSE = "GPL" -SRC_URI = "http://meshcube.org/download/logrotate_${SRCDATE}.tgz" +SRC_URI = "http://download.berlin.freifunk.net/meshcube.org/nylon/stable/sources/logrotate_${SRCDATE}.tgz" S = "${WORKDIR}/${PN}" do_install() { diff --git a/recipes/lowpan-tools/lowpan-tools_git.bb b/recipes/lowpan-tools/lowpan-tools_git.bb new file mode 100644 index 0000000000..1fde23218d --- /dev/null +++ b/recipes/lowpan-tools/lowpan-tools_git.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "LoWPAN utilities (IEEE802.15.4)" +LICENSE = "GPL" +SRCREV = "e9e80a2eefa7aadbbb15bef1519b373e2e907aa0" +#SRC_URI = "git://github.com/lumag/lowpan-utils.git;protocol=git" +SRC_URI = "git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee;protocol=git" +DEPENDS = "libnl bison-native flex-native" +PR = "r6" + +S = "${WORKDIR}/git" +PACKAGES += "${PN}-tests-dbg" +PACKAGES += "${PN}-tests" +FILES_${PN} = "${sbindir}/iz ${sbindir}/izconfig \ + ${bindir}/izchat ${bindir}/izlisten ${sbindir}/izcoordinator \ + ${sbindir}/izattach" +FILES_${PN}-tests = "${libexecdir}/lowpan-tools ${libdir}/python*/site-packages" +FILES_${PN}-tests-dbg = "${libexecdir}/lowpan-tools/.debug" + +EXTRA_OECONF = "--disable-manpages" + +inherit autotools_stage diff --git a/recipes/lowpan-utils/lowpan-utils_git.bb b/recipes/lowpan-utils/lowpan-utils_git.bb deleted file mode 100644 index 89a5e438ab..0000000000 --- a/recipes/lowpan-utils/lowpan-utils_git.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "LoWPAN utilities (IEEE802.15.4)" -LICENSE = "GPL" -SRCREV = "master" -SRC_URI = "git://github.com/lumag/lowpan-utils.git;protocol=git" -DEPENDS = "libnl bison-native flex-native" -PR = "r4" - -S = "${WORKDIR}/git" -PACKAGES += "${PN}-tests-dbg" -PACKAGES += "${PN}-tests" -FILES_${PN} = "${sbindir}/iz ${sbindir}/izconfig \ - ${bindir}/izchat ${bindir}/izlisten ${sbindir}/izcoordinator \ - ${sbindir}/izattach" -FILES_${PN}-tests = "${libexecdir}/zigbee ${libdir}/python*/site-packages" -FILES_${PN}-tests-dbg = "${libexecdir}/zigbee/.debug" - -inherit autotools - -do_stage() { - autotools_stage_all -} diff --git a/recipes/meta/nylon-feed.inc b/recipes/meta/nylon-feed.inc index f20bcec824..15f0b20881 100644 --- a/recipes/meta/nylon-feed.inc +++ b/recipes/meta/nylon-feed.inc @@ -56,7 +56,6 @@ tcl \ tcpdump \ tinc \ tzdata \ -usbutils \ vtun \ wireless-tools \ wpa-supplicant \ diff --git a/recipes/mobilemesh/mobilemesh_1.2.bb b/recipes/mobilemesh/mobilemesh_1.2.bb index df8f2f98bb..4fdf2aba3b 100644 --- a/recipes/mobilemesh/mobilemesh_1.2.bb +++ b/recipes/mobilemesh/mobilemesh_1.2.bb @@ -3,7 +3,7 @@ DESCRIPTION = "MobileMesh mobile ad-hoc routing protocol" HOMEPAGE = "http://www.mitre.org/work/tech_transfer/mobilemesh/" LICENSE = "GPL" DEPENDS = "openssl" -SRC_URI = "http://meshcube.org/download/mobilemesh_1.2.tgz" +SRC_URI = "http://download.berlin.freifunk.net/meshcube.org/nylon/stable/sources/mobilemesh_1.2.tgz" PR = "r1" S = "${WORKDIR}/mobilemesh" @@ -34,4 +34,7 @@ do_install() { install ${S}/mobilemesh.init ${D}${sysconfdir}/init.d/mobilemesh } +FILES_${PN}-dbg += "${sysconfdir}/mobilemesh/mmtodot.debug ${sysconfdir}/mobilemesh/mmborder.debug \ + ${sysconfdir}/mobilemesh/mmrp.debug ${sysconfdir}/mobilemesh/mmdiscover.debug" CONFFILES_${PN}_nylon = "${sysconfdir}/mobilemesh/mmrp.conf ${sysconfdir}/mobilemesh/mmdiscover.conf" + diff --git a/recipes/musicbrainz/files/libmusicbrainz-2.1.5-gcc43.patch b/recipes/musicbrainz/files/libmusicbrainz-2.1.5-gcc43.patch new file mode 100644 index 0000000000..c9685301b4 --- /dev/null +++ b/recipes/musicbrainz/files/libmusicbrainz-2.1.5-gcc43.patch @@ -0,0 +1,58 @@ +diff -Naur libmusicbrainz-2.1.5.org/lib/comhttpsocket.cpp libmusicbrainz-2.1.5/lib/comhttpsocket.cpp +--- libmusicbrainz-2.1.5.org/lib/comhttpsocket.cpp 2008-01-07 11:36:10.105820000 +0100 ++++ libmusicbrainz-2.1.5/lib/comhttpsocket.cpp 2008-01-07 11:38:45.794974000 +0100 +@@ -20,6 +20,7 @@ + #endif + #include <stdlib.h> + #include <assert.h> ++#include <cstring> + + const char* g_strCOMVer = "libmusicbrainz/"VERSION; + +diff -Naur libmusicbrainz-2.1.5.org/lib/comsocket.cpp libmusicbrainz-2.1.5/lib/comsocket.cpp +--- libmusicbrainz-2.1.5.org/lib/comsocket.cpp 2008-01-07 11:36:10.145783000 +0100 ++++ libmusicbrainz-2.1.5/lib/comsocket.cpp 2008-01-07 11:44:12.604854000 +0100 +@@ -34,6 +34,7 @@ + #include "comsocket.h" + #ifndef WIN32 + ++#include <string.h> + #include <netinet/tcp.h> + #include <errno.h> + #include <stdio.h> +diff -Naur libmusicbrainz-2.1.5.org/lib/c_wrapper.cpp libmusicbrainz-2.1.5/lib/c_wrapper.cpp +--- libmusicbrainz-2.1.5.org/lib/c_wrapper.cpp 2008-01-07 11:36:10.083846000 +0100 ++++ libmusicbrainz-2.1.5/lib/c_wrapper.cpp 2008-01-07 11:41:45.093496000 +0100 +@@ -21,6 +21,7 @@ + $Id: c_wrapper.cpp 665 2003-10-16 22:21:10Z robert $ + + ----------------------------------------------------------------------------*/ ++#include <cstring> + #include "musicbrainz.h" + #include "trm.h" + #include "mb_c.h" +diff -Naur libmusicbrainz-2.1.5.org/lib/http.cpp libmusicbrainz-2.1.5/lib/http.cpp +--- libmusicbrainz-2.1.5.org/lib/http.cpp 2008-01-07 11:36:10.210725000 +0100 ++++ libmusicbrainz-2.1.5/lib/http.cpp 2008-01-07 11:46:38.053245000 +0100 +@@ -23,7 +23,8 @@ + + ----------------------------------------------------------------------------*/ + #include <stdlib.h> +-#include <stdio.h> ++#include <stdio.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <ctype.h> +diff -Naur libmusicbrainz-2.1.5.org/lib/sigclient.cpp libmusicbrainz-2.1.5/lib/sigclient.cpp +--- libmusicbrainz-2.1.5.org/lib/sigclient.cpp 2008-01-07 11:36:10.338589000 +0100 ++++ libmusicbrainz-2.1.5/lib/sigclient.cpp 2008-01-07 11:48:42.883323000 +0100 +@@ -33,6 +33,8 @@ + #pragma warning(disable:4786) + #endif + ++#include <string.h> ++ + #include "sigclient.h" + #include "comhttpsocket.h" + diff --git a/recipes/musicbrainz/libmusicbrainz_2.1.5.bb b/recipes/musicbrainz/libmusicbrainz_2.1.5.bb index 7ab0997218..452e874e1f 100644 --- a/recipes/musicbrainz/libmusicbrainz_2.1.5.bb +++ b/recipes/musicbrainz/libmusicbrainz_2.1.5.bb @@ -4,7 +4,9 @@ HOMEPAGE = "http://musicbrainz.org" LICENSE = "LGPL" DEPENDS = "expat" -SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-${PV}.tar.gz" +# gcc43.patch from openSUSE +SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-${PV}.tar.gz \ + file://libmusicbrainz-2.1.5-gcc43.patch;patch=1" inherit autotools pkgconfig diff --git a/recipes/musicpd/mpd-alsa_0.14.2.bb b/recipes/musicpd/mpd-alsa_0.14.2.bb index 87b59a1bcf..b3cdaf4208 100644 --- a/recipes/musicpd/mpd-alsa_0.14.2.bb +++ b/recipes/musicpd/mpd-alsa_0.14.2.bb @@ -24,8 +24,8 @@ INITSCRIPT_NAME = "mpd" EXTRA_OECONF = "\ --enable-ogg \ --enable-oggvorbis \ ---disable-oggflac \ ---enable-flac \ +--disable-oggflac \ +--enable-flac \ --enable-faad \ --with-ao-libraries=${STAGING_LIBDIR} \ --with-ao-includes=${STAGING_INCDIR} \ @@ -41,14 +41,15 @@ EXTRA_OECONF = "\ --with-ogg-includes=${STAGING_INCDIR} \ --with-vorbis-libraries=${STAGING_LIBDIR} \ --with-vorbis-includes=${STAGING_INCDIR} \ ---disable-aotest \ ---disable-alsatest \ ---disable-oggtest \ ---disable-vorbistest \ ---disable-libFLACtest \ ---disable-libOggFLACtest \ ---disable-audiofiletest \ +--disable-aotest \ +--disable-alsatest \ +--disable-oggtest \ +--disable-vorbistest \ +--disable-libFLACtest \ +--disable-libOggFLACtest \ +--disable-audiofiletest \ --disable-libmikmodtest \ +--with-lame-includes=${STAGING_INCDIR} \ " do_configure_append() { diff --git a/recipes/musicpd/mpd_0.14.2.bb b/recipes/musicpd/mpd_0.14.2.bb index 8aed178af2..822608c817 100644 --- a/recipes/musicpd/mpd_0.14.2.bb +++ b/recipes/musicpd/mpd_0.14.2.bb @@ -30,7 +30,8 @@ EXTRA_OECONF = "\ --disable-jack \ --enable-pulse \ --enable-mod \ - --disable-oggflac" + --disable-oggflac \ + --with-lame-includes=${STAGING_INCDIR}" do_compile_prepend() { find -name Makefile | xargs sed -i 's~-I/usr/include~-I${STAGING_INCDIR}~g' diff --git a/recipes/netbase/netbase/mtx-1/interfaces b/recipes/netbase/netbase/mtx-1/interfaces index a7c6da5752..ae50a5cec3 100644 --- a/recipes/netbase/netbase/mtx-1/interfaces +++ b/recipes/netbase/netbase/mtx-1/interfaces @@ -1,24 +1,34 @@ # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) -# The loopback interface +# the loopback interface auto lo iface lo inet loopback -# Ethernet +# ethernet auto eth0 iface eth0 inet dhcp + alias conf 192.168.0.250 -# wlan interface 1 for clients -auto wlan0 +# auto is not needed for the wlan interfaces +# - hotplug will ifup the interfaces automatically + +# first wlan interface for clients iface wlan0 inet static address 10.0.0.1 netmask 255.0.0.0 wireless_mode master wireless_essid cube-ap wireless_channel 1 - -# wlan interface 2 for mesh -auto wlan1 + +iface ath0 inet static + address 10.0.0.1 + netmask 255.0.0.0 + wireless_standard g + wireless_mode master + wireless_essid cube-ap + wireless_channel 1 + +# second wlan interface for mesh iface wlan1 inet static address 172.16.0.1 netmask 255.240.0.0 @@ -27,3 +37,12 @@ iface wlan1 inet static wireless_essid cube-mesh wireless_channel 11 wireless_rts 250 + +iface ath1 inet static + address 172.16.0.1 + netmask 255.240.0.0 + broadcast 172.31.255.255 + wireless_mode ad-hoc + wireless_essid cube-mesh + wireless_channel 11 + wireless_rts 250 diff --git a/recipes/netbase/netbase/mtx-2/interfaces b/recipes/netbase/netbase/mtx-2/interfaces index a7c6da5752..ae50a5cec3 100644 --- a/recipes/netbase/netbase/mtx-2/interfaces +++ b/recipes/netbase/netbase/mtx-2/interfaces @@ -1,24 +1,34 @@ # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) -# The loopback interface +# the loopback interface auto lo iface lo inet loopback -# Ethernet +# ethernet auto eth0 iface eth0 inet dhcp + alias conf 192.168.0.250 -# wlan interface 1 for clients -auto wlan0 +# auto is not needed for the wlan interfaces +# - hotplug will ifup the interfaces automatically + +# first wlan interface for clients iface wlan0 inet static address 10.0.0.1 netmask 255.0.0.0 wireless_mode master wireless_essid cube-ap wireless_channel 1 - -# wlan interface 2 for mesh -auto wlan1 + +iface ath0 inet static + address 10.0.0.1 + netmask 255.0.0.0 + wireless_standard g + wireless_mode master + wireless_essid cube-ap + wireless_channel 1 + +# second wlan interface for mesh iface wlan1 inet static address 172.16.0.1 netmask 255.240.0.0 @@ -27,3 +37,12 @@ iface wlan1 inet static wireless_essid cube-mesh wireless_channel 11 wireless_rts 250 + +iface ath1 inet static + address 172.16.0.1 + netmask 255.240.0.0 + broadcast 172.31.255.255 + wireless_mode ad-hoc + wireless_essid cube-mesh + wireless_channel 11 + wireless_rts 250 diff --git a/recipes/openswan/openswan_2.2.0.bb b/recipes/openswan/openswan_2.2.0.bb index b1c5271b13..bcf5a28756 100644 --- a/recipes/openswan/openswan_2.2.0.bb +++ b/recipes/openswan/openswan_2.2.0.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://www.openswan.org" LICENSE = "GPLv2" DEPENDS = "gmp flex-native" RRECOMMENDS = "kernel-module-ipsec" -RDEPENDS_nylon = "perl" +RDEPENDS_append_nylon = "perl" PR = "r5" SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \ diff --git a/recipes/openswan/openswan_2.4.7.bb b/recipes/openswan/openswan_2.4.7.bb index 353e0eacdd..28e599b282 100644 --- a/recipes/openswan/openswan_2.4.7.bb +++ b/recipes/openswan/openswan_2.4.7.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://www.openswan.org" LICENSE = "GPLv2" DEPENDS = "gmp flex-native" RRECOMMENDS = "kernel-module-ipsec" -RDEPENDS_nylon = "perl" +RDEPENDS_append_nylon = "perl" PR = "r0" SRC_URI = "http://www.openswan.org/download/openswan-${PV}.tar.gz \ diff --git a/recipes/perl/perl-native_5.8.8.bb b/recipes/perl/perl-native_5.8.8.bb index e3d73845fc..57e9e1c394 100644 --- a/recipes/perl/perl-native_5.8.8.bb +++ b/recipes/perl/perl-native_5.8.8.bb @@ -85,5 +85,11 @@ do_stage_append() { install $i ${STAGING_LIBDIR_NATIVE}/perl/${PV}/CORE done } +do_stage_append_nylon() { + # get rid of definitions not supported by the gcc version we use for nylon... + for i in ${STAGING_LIBDIR_NATIVE}/perl/${PV}/Config_heavy.pl ${STAGING_DIR_HOST}/perl/config.sh; do + perl -pi -e 's/-Wdeclaration-after-statement //g' ${i} + done +} PARALLEL_MAKE = "" diff --git a/recipes/pidgin/pidgin.inc b/recipes/pidgin/pidgin.inc index 913cf1c248..7b2f350ce2 100644 --- a/recipes/pidgin/pidgin.inc +++ b/recipes/pidgin/pidgin.inc @@ -52,11 +52,11 @@ FILES_${PN}-dev += "${libdir}/${PN}/*.la" PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*" python populate_packages_prepend () { - root = bb.data.expand('${libdir}/pidgin', d) - purple = bb.data.expand('${libdir}/purple-2', d) - finch = bb.data.expand('${libdir}/finch', d) + pidgroot = bb.data.expand('${libdir}/pidgin', d) + purple = bb.data.expand('${libdir}/purple-2', d) + finch = bb.data.expand('${libdir}/finch', d) - do_split_packages(d, root, '^([^l][^i][^b].*)\.so$', + do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$', output_pattern='pidgin-plugin-%s', description='Pidgin plugin %s', prepend=True, extra_depends='') diff --git a/recipes/qte/qte-2.3.10/disable-dup-rotation.patch b/recipes/qte/qte-2.3.10/disable-dup-rotation.patch index 8a2a02240d..6874ba5ac4 100644 --- a/recipes/qte/qte-2.3.10/disable-dup-rotation.patch +++ b/recipes/qte/qte-2.3.10/disable-dup-rotation.patch @@ -4,7 +4,7 @@ case Qt::Key_Down: unicode = 0xffff; mod_key = false; -+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) ++#if 0 if (qt_screen->isTransformed()) qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) ); +#endif diff --git a/recipes/qte/qte-mt_2.3.10.bb b/recipes/qte/qte-mt_2.3.10.bb index 32afeda271..71873dc51a 100644 --- a/recipes/qte/qte-mt_2.3.10.bb +++ b/recipes/qte/qte-mt_2.3.10.bb @@ -1,5 +1,5 @@ require qte-common_${PV}.inc -PR = "r27" +PR = "r28" EXTRA_OECONF += "-thread" diff --git a/recipes/qte/qte_2.3.10.bb b/recipes/qte/qte_2.3.10.bb index 68825b6ce8..1183bc29bf 100644 --- a/recipes/qte/qte_2.3.10.bb +++ b/recipes/qte/qte_2.3.10.bb @@ -1,3 +1,3 @@ require qte-common_${PV}.inc -PR = "r52" +PR = "r53" diff --git a/recipes/quake/files/quake3_makefile.patch b/recipes/quake/files/quake3_makefile.patch new file mode 100644 index 0000000000..b9e94577b2 --- /dev/null +++ b/recipes/quake/files/quake3_makefile.patch @@ -0,0 +1,29 @@ +--- /tmp/Makefile 2009-05-25 14:59:16.000000000 +0530 ++++ git/pandora/Makefile 2009-05-25 15:07:46.000000000 +0530 +@@ -64,14 +64,14 @@ ARFLAGS=ar rv
+ DLL_ONLY=true
+ ARCH=arm
+ VENDOR=dec +-
BASE_CFLAGS = -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -mfloat-abi=softfp \
+- -mfpu=neon -ftree-vectorize -ffast-math -fomit-frame-pointer \ ++
BASE_CFLAGS = -O3 -mtune=cortex-a8 -march=armv7-a -mfloat-abi=softfp \
++ -mfpu=neon -ffast-math -fomit-frame-pointer \ + -fno-strict-aliasing -fsingle-precision-constant \ + -I$(PNDSDK)/usr/include -DIPHONE -DBOTLIB -DDLL_ONLY -DC_ONLY -D__arm__ -DSHLIB_SUFFIX="\"so\"" -D_PANDORA_ + + THREAD_LDFLAGS=-lpthread +
+-LDFLAGS=-L$(PNDSDK)/usr/lib -ldl -lm -lX11 -lXau -lXdmcp -lXxf86vm -lXext ++LDFLAGS+=-L$(PNDSDK)/usr/lib -ldl -lm -lX11 -lXau -lXdmcp -lXxf86vm -lXext + + GL_CFAGS = -I$(PNDSDK)/usr/X11R6/include +
+@@ -126,7 +126,7 @@ DO_NASM=nasm -f elf -o $@ $<
+ DO_DED_CC=$(CC) -DDEDICATED -DC_ONLY $(CFLAGS) -o $@ -c $<
+
+ #### DEFAULT TARGET
+-default:build_debug
++default:build_release
+
+ debug: build_debug
+ release: build_release
diff --git a/recipes/quake/quake3-pandora-gles_git.bb b/recipes/quake/quake3-pandora-gles_git.bb new file mode 100644 index 0000000000..d468d34a44 --- /dev/null +++ b/recipes/quake/quake3-pandora-gles_git.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "OpenGL ES quake3 port to the omap3-pandora" +LICENSE = "GPL" + +SRCREV = "39d08bf6e81f7cdc29380858dfe671b0722332a3" +PR_append = "+gitr${SRCREV}" +PV = "0.0" + +DEPENDS = "virtual/libsdl libgles-omap3" + +SRC_URI = "git://github.com/Cpasjuste/quake3_pandora_gles.git;branch=master;protocol=git \ + file://quake3_makefile.patch;patch=1 \ +" +S = "${WORKDIR}/git" + +export PNDSDK="${STAGING_DIR}" + +do_compile() { + cd pandora + sed -i -e s:=arm-none-linux-gnueabi-:=${TARGET_PREFIX}:g Makefile + oe_runmake +} + +do_install() { + install -d ${D}/${bindir} + install -d ${D}/${libdir}/quake3/baseq3/ + + install -m 0755 ${S}/pandora/release${TARGET_ARCH}/baseq3/*.so ${D}/${libdir}/quake3/baseq3 + install -m 0755 ${S}/pandora/release${TARGET_ARCH}/quake3 ${D}/${libdir}/quake3 + + install -m 0755 ${S}/pandora/autoexec.cfg ${D}/${libdir}/quake3/baseq3 + install -m 0755 ${S}/pandora/autoexec_high_detail.cfg ${D}/${libdir}/quake3 + install -m 0755 ${S}/pandora/autoexec_medium_detail.cfg ${D}/${libdir}/quake3 + install -m 0755 ${S}/pandora/autoexec_low_detail.cfg ${D}/${libdir}/quake3 + install -m 0755 ${S}/pandora/run.sh ${D}/${libdir}/quake3 +} + +FILES_${PN} += "${libdir}" +FILES_${PN}-dbg += "${libdir}/quake3/.debug ${libdir}/quake3/baseq3/.debug" + diff --git a/recipes/rhythmbox/rhythmbox/ogg.m4 b/recipes/rhythmbox/rhythmbox/ogg.m4 deleted file mode 100644 index 1f643f1204..0000000000 --- a/recipes/rhythmbox/rhythmbox/ogg.m4 +++ /dev/null @@ -1,102 +0,0 @@ -# Configure paths for libogg -# Jack Moffitt <jack@icecast.org> 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh -define(arch-tag) -# arch-tag: Autoconf macro for checking libogg - -dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS -dnl -AC_DEFUN(MM_PATH_OGG, -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(ogg,[ --with-ogg=PFX Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="") -AC_ARG_WITH(ogg-libraries,[ --with-ogg-libraries=DIR Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="") -AC_ARG_WITH(ogg-includes,[ --with-ogg-includes=DIR Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="") -AC_ARG_ENABLE(oggtest, [ --disable-oggtest Do not try to compile and run a test Ogg program],, enable_oggtest=yes) - - if test "x$ogg_libraries" != "x" ; then - OGG_LIBS="-L$ogg_libraries" - elif test "x$ogg_prefix" != "x" ; then - OGG_LIBS="-L$ogg_prefix/lib" - elif test "x$prefix" != "xNONE" ; then - OGG_LIBS="-L$prefix/lib" - fi - - OGG_LIBS="$OGG_LIBS -logg" - - if test "x$ogg_includes" != "x" ; then - OGG_CFLAGS="-I$ogg_includes" - elif test "x$ogg_prefix" != "x" ; then - OGG_CFLAGS="-I$ogg_prefix/include" - fi - - AC_MSG_CHECKING(for Ogg) - no_ogg="" - - - if test "x$enable_oggtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Ogg is sufficiently new. -dnl - rm -f conf.oggtest - AC_TRY_RUN([ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <ogg/ogg.h> - -int main () -{ - system("touch conf.oggtest"); - return 0; -} - -],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ogg" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.oggtest ; then - : - else - echo "*** Could not run Ogg test program, checking why..." - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include <stdio.h> -#include <ogg/ogg.h> -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Ogg or finding the wrong" - echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Ogg was incorrectly installed" - echo "*** or that you have moved Ogg since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - OGG_CFLAGS="" - OGG_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(OGG_CFLAGS) - AC_SUBST(OGG_LIBS) - rm -f conf.oggtest -]) diff --git a/recipes/rhythmbox/rhythmbox/omfmake.patch b/recipes/rhythmbox/rhythmbox/omfmake.patch deleted file mode 100644 index 8950a7b66f..0000000000 --- a/recipes/rhythmbox/rhythmbox/omfmake.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- rhythmbox-0.8.4/omf.make 2004-04-15 12:30:20.000000000 -0700 -+++ rhythmbox-0.8.4.new/omf.make 2004-06-08 16:11:06.130981816 -0700 -@@ -41,7 +41,9 @@ - install-data-hook-omf: - $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir) - for file in $(omffile); do \ -- $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ -+ if [ -f $$file.out ]; then \ -+ $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ -+ fi; \ - done - -scrollkeeper-update -o $(DESTDIR)$(omf_dest_dir) - diff --git a/recipes/rhythmbox/rhythmbox/vorbis.m4 b/recipes/rhythmbox/rhythmbox/vorbis.m4 deleted file mode 100644 index 4761b32661..0000000000 --- a/recipes/rhythmbox/rhythmbox/vorbis.m4 +++ /dev/null @@ -1,122 +0,0 @@ -# Configure paths for libvorbis -# Jack Moffitt <jack@icecast.org> 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh -# thomasvs added check for vorbis_bitrate_addblock which is new in rc3 -define(arch-tag) -# arch-tag: Autoconf macro for checking libvorbis - -dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS -dnl -AC_DEFUN(MM_PATH_VORBIS, -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(vorbis,[ --with-vorbis=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="") -AC_ARG_WITH(vorbis-libraries,[ --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)], vorbis_libraries="$withval", vorbis_libraries="") -AC_ARG_WITH(vorbis-includes,[ --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)], vorbis_includes="$withval", vorbis_includes="") -AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes) - - if test "x$vorbis_libraries" != "x" ; then - VORBIS_LIBS="-L$vorbis_libraries" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_LIBS="-L$vorbis_prefix/lib" - elif test "x$prefix" != "xNONE"; then - VORBIS_LIBS="-L$prefix/lib" - fi - - VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm" - VORBISFILE_LIBS="-lvorbisfile" - VORBISENC_LIBS="-lvorbisenc" - - if test "x$vorbis_includes" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_includes" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_prefix/include" - fi - - - AC_MSG_CHECKING(for Vorbis) - no_vorbis="" - - - if test "x$enable_vorbistest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Vorbis is sufficiently new. -dnl - rm -f conf.vorbistest - AC_TRY_RUN([ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <vorbis/codec.h> -#include <vorbis/vorbisenc.h> - -int main () -{ - vorbis_block vb; - vorbis_dsp_state vd; - vorbis_info vi; - - vorbis_info_init (&vi); - vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); - vorbis_analysis_init (&vd, &vi); - vorbis_block_init (&vd, &vb); - /* this function was added in 1.0rc3, so this is what we're testing for */ - vorbis_bitrate_addblock (&vb); - - system("touch conf.vorbistest"); - return 0; -} - -],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_vorbis" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.vorbistest ; then - : - else - echo "*** Could not run Vorbis test program, checking why..." - CFLAGS="$CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include <stdio.h> -#include <vorbis/codec.h> -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Vorbis or finding the wrong" - echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" - echo "*** or that you have moved Vorbis since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - VORBIS_CFLAGS="" - VORBIS_LIBS="" - VORBISFILE_LIBS="" - VORBISENC_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(VORBIS_CFLAGS) - AC_SUBST(VORBIS_LIBS) - AC_SUBST(VORBISFILE_LIBS) - AC_SUBST(VORBISENC_LIBS) - rm -f conf.vorbistest -]) diff --git a/recipes/rhythmbox/rhythmbox_0.12.1.bb b/recipes/rhythmbox/rhythmbox_0.12.1.bb new file mode 100644 index 0000000000..da2ad63e26 --- /dev/null +++ b/recipes/rhythmbox/rhythmbox_0.12.1.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Integrated music management application for GNOME" +LICENSE = "GPL" +DEPENDS = "dbus-glib-native gtk+ glib-2.0 gnome-doc-utils gnome-media gstreamer gst-plugins-base libgnomeui libglade libnotify libsoup totem-pl-parser" +# optional dependencies: +DEPENDS += "avahi gnome-keyring hal libgpod libmusicbrainz nautilus-cd-burner python-pygtk vala" +#DEPENDS += "brasero mtp" + +inherit gnome + +# FIXME: Native doc processing with xsltproc using docbook needs additional work: +do_configure_prepend() { + sed -i '/^SUBDIRS/,/^$/s/help//' Makefile.am +} + +EXTRA_OECONF = "--disable-static --disable-scrollkeeper ac_cv_strftime_supports_E_O=yes" +# FIXME: Verify that in uclibc: +EXTRA_OECONF_linux-uclibc += "ac_cv_strftime_supports_E_O=no" + +EXTRA_OEMAKE = "DBUS_GLIB_BIN=${STAGING_BINDIR_NATIVE} VALAC=${STAGING_BINDIR_NATIVE}/valac" + +FILES_${PN}-dbg += "${libdir}/rhythmbox/plugins/.debug ${libdir}/rhythmbox/plugins/*/.debug" + +do_install_append () { + rm -f ${D}${libdir}/rhythmbox/plugins/*.la + rm -f ${D}${libdir}/rhythmbox/plugins/*/*.la +} diff --git a/recipes/rhythmbox/rhythmbox_0.8.5.bb b/recipes/rhythmbox/rhythmbox_0.8.5.bb deleted file mode 100644 index 8a6f3a8905..0000000000 --- a/recipes/rhythmbox/rhythmbox_0.8.5.bb +++ /dev/null @@ -1,29 +0,0 @@ -LICENSE = "GPL" -SECTION = "unknown" -PR = "r4" -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.8/rhythmbox-${PV}.tar.gz \ - file://ogg.m4 file://vorbis.m4 \ - file://omfmake.patch;patch=1" - -DEPENDS = "gstreamer gst-plugins libgnomeui" - -EXTRA_OECONF = "--disable-schemas-install" - -FILES_${PN} += " ${libdir}/bonobo/servers ${libdir}/bonobo/*.so ${datadir}/omf ${datadir}/mime-info \ - ${datadir}/application-registry ${datadir}/gnome-2.0 ${datadir}/idl" -FILES_${PN}-doc += " ${datadir}/gnome/help" -FILES_${PN}-dev += " ${libdir}/bonobo/*.la ${libdir}/bonobo/*.a" - -RDEPENDS_${PN} = "gst-plugin-gnomevfs gst-plugin-esd gst-plugin-mad gst-plugin-ivorbis" - -do_configure_prepend() { - mkdir -p ${S}/m4 - cp ${WORKDIR}/ogg.m4 ${S}/m4/ - cp ${WORKDIR}/vorbis.m4 ${S}/m4/ -} - -inherit autotools gconf - -do_compile() { - oe_runmake ORBIT_IDL=`which orbit-idl-2` -} diff --git a/recipes/rhythmbox/rhythmbox_0.8.7.bb b/recipes/rhythmbox/rhythmbox_0.8.7.bb deleted file mode 100644 index 2adb11fb8d..0000000000 --- a/recipes/rhythmbox/rhythmbox_0.8.7.bb +++ /dev/null @@ -1,28 +0,0 @@ -LICENSE = "GPL" -SECTION = "unknown" -PR = "r0" - -inherit gnome - -SRC_URI += "file://ogg.m4 file://vorbis.m4" - -DEPENDS = "gstreamer gst-plugins libgnomeui" - -EXTRA_OECONF = "--disable-schemas-install" - -FILES_${PN} += " ${libdir}/bonobo/servers ${libdir}/bonobo/*.so ${datadir}/omf ${datadir}/mime-info \ - ${datadir}/application-registry ${datadir}/gnome-2.0 ${datadir}/idl" -FILES_${PN}-doc += " ${datadir}/gnome/help" -FILES_${PN}-dev += " ${libdir}/bonobo/*.la ${libdir}/bonobo/*.a" - -RDEPENDS_${PN} = "gst-plugin-gnomevfs gst-plugin-esd gst-plugin-mad gst-plugin-ivorbis" - -do_configure_prepend() { - mkdir -p ${S}/m4 - cp ${WORKDIR}/ogg.m4 ${S}/m4/ - cp ${WORKDIR}/vorbis.m4 ${S}/m4/ -} - -do_compile() { - oe_runmake ORBIT_IDL=`which orbit-idl-2` -} diff --git a/recipes/rrdtool/rrdtool_1.0.49.bb b/recipes/rrdtool/rrdtool_1.0.49.bb index 11968ea609..f4216487df 100644 --- a/recipes/rrdtool/rrdtool_1.0.49.bb +++ b/recipes/rrdtool/rrdtool_1.0.49.bb @@ -5,13 +5,17 @@ LICENSE = "GPLv2" DEPENDS = "libpng zlib" DEPENDS_rddtool-perl = "perl-module-lib perl-module-dynaloader" PR = "r2" -SRC_URI = "http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/rdtool-${PV}.tar.gz \ +SRC_URI = "http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/rrdtool-${PV}.tar.gz \ file://perl-make-options.diff;patch=1;pnum=0" inherit autotools EXTRA_OECONF = "--enable-shared --enable-local-libpng --enable-local-zlib --program-prefix=''" +do_configure_append_nylon() { + perl -pi -e 's/-Wdeclaration-after-statement //g' ${S}/perl-shared/Makefile +} + do_install_append() { install -d ${D}${docdir}/rrdtool/ mv ${D}/usr/html ${D}${docdir}/rrdtool/ @@ -24,4 +28,5 @@ do_stage () { autotools_stage_all } -FILES_${PN} += "${libdir}/perl" +FILES_${PN} += "${libdir}/perl/auto/RRDs/RRDs.bs ${libdir}/perl/auto/RRDs/RRDs.so ${libdir}/perl/RRDs.pm ${libdir}/perl/RRDp.pm" + diff --git a/recipes/sdr/hamlib_1.2.9.bb b/recipes/sdr/hamlib_1.2.9.bb new file mode 100644 index 0000000000..8815c622e6 --- /dev/null +++ b/recipes/sdr/hamlib_1.2.9.bb @@ -0,0 +1,47 @@ +DESCRIPTION = "The Ham Radio Control Libraries, Hamlib for short, is a development effort to provide a consistent interface for programmers wanting to incorporate radio control in their programs" +LICENSE = "GPLv2" + +DEPENDS = "swig-native perl python libusb-compat tcl gnuradio" + +SRC_URI = "${SOURCEFORGE_MIRROR}/hamlib/hamlib-${PV}.tar.gz" + +PR = "r1" + +inherit autotools_stage + +EXTRA_OECONF = "--with-perl-inc=${STAGING_LIBDIR}/perl/5.8.8/CORE" +# This is a hack, someone with some more time should fix the autofoo +do_configure() { + oe_runconf +} + +PARALLEL_MAKE = "" + +do_compile_prepend() { + mkdir -p ${STAGING_LIBDIR}/.libs + ln -sf ${STAGING_LIBDIR}/libusb* ${STAGING_LIBDIR}/.libs/ + for i in $(find ${S} -name "Makefile") ; do + sed -i -e 's:${STAGING_LIBDIR_NATIVE}:${STAGING_LIBDIR}:g' \ + -e s:-L/usr/local/lib::g \ + -e 's:\"$(CC)\":\"${CC}\" LD=\"${LD}\" LDFLAGS=\"${LDFLAGS}\":g' \ + -e s:${STAGING_INCDIR_NATIVE}/python2.6:${STAGING_INCDIR}/python2.6:g $i + done +} + +# There's one perl module that doesn't honour CFLAGS :( +INSANE_SKIP_${PN} = True +FILES_${PN} = "${bindir} ${sbindir} ${libdir}/hamlib* ${libdir}/p*/ ${libdir}/tcl" +FILES_${PN}-dbg += "${libdir}/perl/*/auto/Hamlib/.debug/" + +python populate_packages_prepend () { + hamlib_libdir = bb.data.expand('${libdir}', d) + hamlib_libdir_dbg = bb.data.expand('${libdir}/.debug', d) + do_split_packages(d, hamlib_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'hamlib %s development package', extra_depends='${PN}-dev', allow_links=True) + do_split_packages(d, hamlib_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'hamlib %s development package', extra_depends='${PN}-dev') + do_split_packages(d, hamlib_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'hamlib %s development package', extra_depends='${PN}-dev') + do_split_packages(d, hamlib_libdir, '^lib(.*)\.so\.*', 'lib%s', 'hamlib %s library', extra_depends='', allow_links=True) +} + +AUTOTOOLS_STAGE_PKGCONFIG = "1" + + diff --git a/recipes/totem/totem-pl-parser_2.26.2.bb b/recipes/totem/totem-pl-parser_2.26.2.bb new file mode 100644 index 0000000000..f9694b05d8 --- /dev/null +++ b/recipes/totem/totem-pl-parser_2.26.2.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Playlist parser for Totem, a GTK2 based media player" +HOMEPAGE = "http://www.gnome.org/projects/totem/" +LICENSE = "GPL" + +DEPENDS = "eds-dbus" + +inherit gnome + +AUTOTOOLS_STAGE_PKGCONFIG = "1" + +do_stage() { + autotools_stage_all +} + +# Build of documentation is not yet possible: +do_configure_prepend() { + sed -i -e s:docs::g ${S}/Makefile.am +} diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb index e7438fb4d6..e687989e9f 100644 --- a/recipes/udev/udev_141.bb +++ b/recipes/udev/udev_141.bb @@ -6,7 +6,10 @@ LICENSE = "GPL" # Untested DEFAULT_PREFERENCE = "-1" -PR = "r6" +PR = "r8" + +# needed for init.d script +RDEPENDS_udev += "udev-utils" SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://mount.blacklist \ @@ -64,6 +67,9 @@ do_install () { mv ${D}${base_libdir}/udev/rules.d ${D}${sysconfdir}/udev/ ln -sf ${sysconfdir}/udev/rules.d ${D}${base_libdir}/udev/ + cp ${S}/rules/rules.d/* ${D}${sysconfdir}/udev/rules.d/ + cp ${S}/rules/packages/* ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/ install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc index 45fd1a6048..9c70b9e3ff 100644 --- a/recipes/util-linux-ng/util-linux-ng.inc +++ b/recipes/util-linux-ng/util-linux-ng.inc @@ -123,12 +123,12 @@ do_install () { } python populate_packages_prepend () { - cv_libdir = bb.data.expand('${libdir}', d) - cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d) - do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True) - do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True) + ulinxng_libdir = bb.data.expand('${libdir}', d) + ulinxng_libdir_dbg = bb.data.expand('${libdir}/.debug', d) + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True) + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') + do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True) } diff --git a/recipes/wlan-ng/wlan-ng-utils.inc b/recipes/wlan-ng/wlan-ng-utils.inc index 3dd25d9d7f..736e12b942 100644 --- a/recipes/wlan-ng/wlan-ng-utils.inc +++ b/recipes/wlan-ng/wlan-ng-utils.inc @@ -10,11 +10,11 @@ DEPENDS = "virtual/kernel" SRC_URI = "file://only-the-utils.patch;patch=1 \ file://wlan-ng.modutils \ file://wlan.agent \ - file://usbctl \ file://resume \ file://pre-up \ file://post-down \ file://config.in" +SRC_URI_append_arm = " file://usbctl" # yeah, it's kind of backwards, but otherwise the config step will fail inherit module @@ -59,11 +59,14 @@ do_install() { install -m 0755 ${WORKDIR}/post-down ${D}${sysconfdir}/network/if-post-down.d/wlan-ng install -d ${D}${sysconfdir}/apm/resume.d install -m 0755 ${WORKDIR}/resume ${D}${sysconfdir}/apm/resume.d/wlan-ng - install -m 0755 ${WORKDIR}/usbctl ${D}${base_sbindir}/usbctl install -d ${D}${mandir}/man1 install -m 0644 ${S}/man/*.1 ${D}${mandir}/man1/ rm -rf ${D}/usr/local/man } +do_install_append_arm() { + install -m 0755 ${WORKDIR}/usbctl ${D}${base_sbindir}/usbctl +} + FILES_${PN}-dbg += "/sbin/.debug" FILES_${PN} = "/etc /sbin" diff --git a/recipes/xorg-driver/xf86-input-evdev_2.2.2.bb b/recipes/xorg-driver/xf86-input-evdev_2.2.2.bb new file mode 100644 index 0000000000..792909621a --- /dev/null +++ b/recipes/xorg-driver/xf86-input-evdev_2.2.2.bb @@ -0,0 +1,4 @@ +require xorg-driver-input.inc + +DESCRIPTION = "X.Org X server -- evdev input driver" +PE = "1" diff --git a/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb b/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb index ccaa3fa996..bf3a5a6f00 100644 --- a/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb +++ b/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb @@ -2,7 +2,6 @@ require xorg-driver-input.inc DESCRIPTION = "X.Org X server -- evtouch input driver" -PR = "r1" SRC_URI = "http://www.conan.de/touchscreen/xf86-input-evtouch-0.8.8.tar.bz2 \ " diff --git a/recipes/xorg-driver/xf86-input-keyboard_1.3.2.bb b/recipes/xorg-driver/xf86-input-keyboard_1.3.2.bb new file mode 100644 index 0000000000..28a834a274 --- /dev/null +++ b/recipes/xorg-driver/xf86-input-keyboard_1.3.2.bb @@ -0,0 +1,6 @@ +require xorg-driver-input.inc +PE = "1" + +DESCRIPTION = "X.Org X server -- keyboard input driver" + +DEPENDS += " kbproto" diff --git a/recipes/xorg-driver/xf86-input-mouse_1.4.0.bb b/recipes/xorg-driver/xf86-input-mouse_1.4.0.bb new file mode 100644 index 0000000000..e6325675f8 --- /dev/null +++ b/recipes/xorg-driver/xf86-input-mouse_1.4.0.bb @@ -0,0 +1,4 @@ +require xorg-driver-input.inc + +DESCRIPTION = "X.Org X server -- mouse input driver" +PE = "1" diff --git a/recipes/xorg-driver/xf86-input-tslib/xserver16.patch b/recipes/xorg-driver/xf86-input-tslib/xserver16.patch new file mode 100644 index 0000000000..c3108b645a --- /dev/null +++ b/recipes/xorg-driver/xf86-input-tslib/xserver16.patch @@ -0,0 +1,26 @@ +XServer 1.6.x introduced XInput3. Official drivers were fixed by X.org +developers. This change is based on xf86-input-citron: + +http://cgit.freedesktop.org/xorg/driver/xf86-input-citron/commit/?id=591674bee43061f1169ebeede653fb6d98147724 + +Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net> +--- + src/tslib.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- xf86-input-tslib-0.0.5.orig/src/tslib.c ++++ xf86-input-tslib-0.0.5/src/tslib.c +@@ -199,11 +199,13 @@ xf86TslibControlProc(DeviceIntPtr device + return !Success; + } + + if (InitValuatorClassDeviceStruct(device, + 2, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, ++#endif + 0, Absolute) == FALSE) { + ErrorF("unable to allocate Valuator class device\n"); + return !Success; + } + diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb index f5c0186565..7e8e2e52d1 100644 --- a/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb +++ b/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb @@ -4,12 +4,12 @@ DESCRIPTION = "X.Org X server -- tslib input driver" RRECOMMENDS += "hal" DEPENDS += "tslib" -PR = "r6" SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2 \ file://use-hal-for-device.diff;patch=1 \ file://01_fix-wrong-value-range-for-the-axises.diff;patch=1 \ file://dynamic-xy.patch;patch=1 \ + file://xserver16.patch;patch=1 \ file://10-x11-input-tslib.fdi" do_configure_prepend() { diff --git a/recipes/xorg-driver/xf86-video-geode_2.11.2.bb b/recipes/xorg-driver/xf86-video-geode_2.11.2.bb index 5f1cc3ad03..e98c4fce09 100644 --- a/recipes/xorg-driver/xf86-video-geode_2.11.2.bb +++ b/recipes/xorg-driver/xf86-video-geode_2.11.2.bb @@ -1,6 +1,5 @@ require xorg-driver-video.inc PE = "1" -PR = "r1" COMPATIBLE_HOST = 'i.86.*-linux' DESCRIPTION = "X.org server -- Geode GX2/LX display driver" diff --git a/recipes/xorg-driver/xf86-video-nsc_2.8.2.bb b/recipes/xorg-driver/xf86-video-nsc_2.8.2.bb index bf50e87839..d317223db3 100644 --- a/recipes/xorg-driver/xf86-video-nsc_2.8.2.bb +++ b/recipes/xorg-driver/xf86-video-nsc_2.8.2.bb @@ -1,6 +1,5 @@ require xorg-driver-video.inc PE = "1" -PR = "r2" DEPENDS += " xf86dgaproto" diff --git a/recipes/xorg-driver/xf86-video-omapfb_git.bb b/recipes/xorg-driver/xf86-video-omapfb_git.bb index f718e7684e..cc68163df4 100644 --- a/recipes/xorg-driver/xf86-video-omapfb_git.bb +++ b/recipes/xorg-driver/xf86-video-omapfb_git.bb @@ -2,17 +2,20 @@ require xorg-driver-video.inc DESCRIPTION = "X.Org X server -- OMAP display driver" -PR ="r20" - -SRCREV = "ef0b41c332a710fb33f996df77bd4a96b56878da" -PV = "0.0.1+${PR}+gitr${SRCREV}" +SRCREV = "5317aae587a2bf48f07a8c06bfaf7bcbfd23bafc" +PV = "0.1.1+${PR}+gitr${SRCREV}" PE = "1" SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \ " -SRC_URI_append_armv7a = " file://omapfb-neon.diff;patch=1" - S = "${WORKDIR}/git" +EXTRA_OECONF_armv7a = " --enable-neon " CFLAGS += " -I${STAGING_INCDIR}/xorg " + +# Use overlay 2 on omap3 to enable other apps to use overlay 1 (e.g. dmai or omapfbplay) +do_compile_prepend_armv7a () { + sed -i -e s:fb1:fb2:g ${S}/src/omapfb-xv.c +} + diff --git a/recipes/xorg-driver/xorg-driver-common.inc b/recipes/xorg-driver/xorg-driver-common.inc index 0f24dd5e30..36c0ddf3b3 100644 --- a/recipes/xorg-driver/xorg-driver-common.inc +++ b/recipes/xorg-driver/xorg-driver-common.inc @@ -2,7 +2,7 @@ DESCRIPTION = "X driver" HOMEPAGE = "http://www.x.org" SECTION = "x11/drivers" LICENSE = "MIT-X" -PR = "r2" +PR = "r7" DEPENDS = "randrproto xorg-server xproto" diff --git a/recipes/xorg-lib/libx11-1.2/x11_disable_makekeys.patch b/recipes/xorg-lib/libx11-1.2/x11_disable_makekeys.patch new file mode 100644 index 0000000000..9e9e75ea43 --- /dev/null +++ b/recipes/xorg-lib/libx11-1.2/x11_disable_makekeys.patch @@ -0,0 +1,23 @@ +--- /tmp/Makefile.am 2009-05-27 22:19:39.000000000 +0200 ++++ libX11-1.2/src/util/Makefile.am 2009-05-27 22:21:31.000000000 +0200 +@@ -1,20 +1 @@ +-# $XdotOrg: lib/X11/src/util/Makefile.am,v 1.4 2006-02-19 02:14:12 jamey Exp $ +- +-noinst_PROGRAMS=makekeys +- +-makekeys_CFLAGS=$(X11_CFLAGS) +- +-CC = @CC_FOR_BUILD@ +- + EXTRA_DIST = mkks.sh +- +-if LINT +-# Check source code with tools like lint & sparse +- +-ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) +- +-lint: +- $(LINT) $(ALL_LINT_FLAGS) makekeys.c +- +-endif LINT diff --git a/recipes/xorg-lib/libx11_1.1.5.bb b/recipes/xorg-lib/libx11_1.1.5.bb index a22b7a0158..31b42eb058 100644 --- a/recipes/xorg-lib/libx11_1.1.5.bb +++ b/recipes/xorg-lib/libx11_1.1.5.bb @@ -5,7 +5,7 @@ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ libxdmcp xf86bigfontproto kbproto inputproto xproto-native" PROVIDES = "virtual/libx11" PE = "1" -PR = "r3" +PR = "r4" XORG_PN = "libX11" @@ -19,6 +19,7 @@ do_compile() { unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS cd src/util; mv makekeys.c.orig makekeys.c || true + sed -i -e 's:MIN_REHASH 15:MIN_REHASH 16:g' makekeys.c touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys # mv to stop it getting rebuilt mv makekeys.c makekeys.c.orig diff --git a/recipes/xorg-lib/libx11_1.2.bb b/recipes/xorg-lib/libx11_1.2.bb new file mode 100644 index 0000000000..a3d000f030 --- /dev/null +++ b/recipes/xorg-lib/libx11_1.2.bb @@ -0,0 +1,31 @@ +require xorg-lib-common.inc + +DESCRIPTION = "Base X libs." +DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ + libxdmcp xf86bigfontproto kbproto inputproto xproto-native" +PROVIDES = "virtual/libx11" +PE = "1" + +XORG_PN = "libX11" + +SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ + file://keysymdef_include.patch;patch=1" + +EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" + +do_compile() { + ( + unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS + cd src/util; + mv makekeys.c.orig makekeys.c || true + sed -i -e 's:MIN_REHASH 15:MIN_REHASH 16:g' makekeys.c + touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys + # mv to stop it getting rebuilt + mv makekeys.c makekeys.c.orig + cd ../../ + ) || exit 1 + oe_runmake +} + +FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt" +FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" diff --git a/recipes/xorg-lib/libxext_1.0.5.bb b/recipes/xorg-lib/libxext_1.0.5.bb new file mode 100644 index 0000000000..3e8aa50f7c --- /dev/null +++ b/recipes/xorg-lib/libxext_1.0.5.bb @@ -0,0 +1,8 @@ +require xorg-lib-common.inc + +DESCRIPTION = "X11 miscellaneous extension library" +DEPENDS += "xproto virtual/libx11 xextproto libxau" +PROVIDES = "xext" +PE = "1" + +XORG_PN = "libXext" diff --git a/recipes/xorg-lib/xtrans-native_1.2.3.bb b/recipes/xorg-lib/xtrans-native_1.2.3.bb new file mode 100644 index 0000000000..c7988c7264 --- /dev/null +++ b/recipes/xorg-lib/xtrans-native_1.2.3.bb @@ -0,0 +1,5 @@ +require xtrans_${PV}.bb + +DEPENDS = "util-macros-native" + +inherit native diff --git a/recipes/xorg-lib/xtrans-sdk_1.2.3.bb b/recipes/xorg-lib/xtrans-sdk_1.2.3.bb new file mode 100644 index 0000000000..9f671180b2 --- /dev/null +++ b/recipes/xorg-lib/xtrans-sdk_1.2.3.bb @@ -0,0 +1,5 @@ +require xtrans_${PV}.bb + +DEPENDS = "util-macros-sdk" + +inherit sdk diff --git a/recipes/xorg-lib/xtrans_1.2.3.bb b/recipes/xorg-lib/xtrans_1.2.3.bb new file mode 100644 index 0000000000..81464f49bc --- /dev/null +++ b/recipes/xorg-lib/xtrans_1.2.3.bb @@ -0,0 +1,14 @@ +require xorg-lib-common.inc + +DESCRIPTION = "network API translation layer to insulate X applications and \ +libraries from OS network vageries." +PE = "1" +PR = "r0" + +ALLOW_EMPTY = "1" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xtrans" + +RDEPENDS_${PN}-dev = "" + +XORG_PN = "xtrans" diff --git a/recipes/xorg-proto/applewmproto_1.2.0.bb b/recipes/xorg-proto/applewmproto_1.2.0.bb new file mode 100644 index 0000000000..9f09fff7b7 --- /dev/null +++ b/recipes/xorg-proto/applewmproto_1.2.0.bb @@ -0,0 +1,4 @@ +require xorg-proto-common.inc + +PR = "r1" +PE = "1" diff --git a/recipes/xorg-proto/dri2proto_2.0.bb b/recipes/xorg-proto/dri2proto_2.0.bb new file mode 100644 index 0000000000..a0e1fd3989 --- /dev/null +++ b/recipes/xorg-proto/dri2proto_2.0.bb @@ -0,0 +1,3 @@ +DESCRIPTION = "DRI2 extension headers" + +require xorg-proto-common.inc diff --git a/recipes/xorg-proto/inputproto-native_1.5.0.bb b/recipes/xorg-proto/inputproto-native_1.5.0.bb new file mode 100644 index 0000000000..11e0dae601 --- /dev/null +++ b/recipes/xorg-proto/inputproto-native_1.5.0.bb @@ -0,0 +1,7 @@ +require inputproto_${PV}.bb + +PR = "r1" + +XORG_PN = "inputproto" + +inherit native diff --git a/recipes/xorg-proto/inputproto-sdk_1.5.0.bb b/recipes/xorg-proto/inputproto-sdk_1.5.0.bb new file mode 100644 index 0000000000..f0e1985bf9 --- /dev/null +++ b/recipes/xorg-proto/inputproto-sdk_1.5.0.bb @@ -0,0 +1,3 @@ +require inputproto_${PV}.bb + +inherit sdk diff --git a/recipes/xorg-proto/randrproto_1.3.0.bb b/recipes/xorg-proto/randrproto_1.3.0.bb new file mode 100644 index 0000000000..85000cc900 --- /dev/null +++ b/recipes/xorg-proto/randrproto_1.3.0.bb @@ -0,0 +1,7 @@ +require xorg-proto-common.inc + +CONFLICTS = "randrext" +PR = "r1" +PE = "1" + +XORG_PN = "randrproto" diff --git a/recipes/xorg-proto/xextproto-native_7.0.5.bb b/recipes/xorg-proto/xextproto-native_7.0.5.bb new file mode 100644 index 0000000000..cdf1f09e61 --- /dev/null +++ b/recipes/xorg-proto/xextproto-native_7.0.5.bb @@ -0,0 +1,9 @@ +require xextproto_${PV}.bb + +PR = "r1" + +XORG_PN = "xextproto" + +inherit native + +DEPENDS += "util-macros-native" diff --git a/recipes/xorg-proto/xextproto-sdk_7.0.5.bb b/recipes/xorg-proto/xextproto-sdk_7.0.5.bb new file mode 100644 index 0000000000..3b182a02ff --- /dev/null +++ b/recipes/xorg-proto/xextproto-sdk_7.0.5.bb @@ -0,0 +1,3 @@ +require xextproto_${PV}.bb + +inherit sdk diff --git a/recipes/xorg-proto/xextproto_7.0.5.bb b/recipes/xorg-proto/xextproto_7.0.5.bb new file mode 100644 index 0000000000..3637929316 --- /dev/null +++ b/recipes/xorg-proto/xextproto_7.0.5.bb @@ -0,0 +1,3 @@ +require xorg-proto-common.inc + +PE = "1" diff --git a/recipes/xorg-proto/xorg-proto-common.inc b/recipes/xorg-proto/xorg-proto-common.inc index c2b47572cf..1ab4ad91d1 100644 --- a/recipes/xorg-proto/xorg-proto-common.inc +++ b/recipes/xorg-proto/xorg-proto-common.inc @@ -3,6 +3,8 @@ HOMEPAGE = "http://www.x.org" SECTION = "x11/libs" LICENSE = "MIT-X" +DEPENDS = "util-macros" + XORG_PN = "${PN}" ALLOW_EMPTY = "1" diff --git a/recipes/xorg-proto/xproto-native_7.0.15.bb b/recipes/xorg-proto/xproto-native_7.0.15.bb new file mode 100644 index 0000000000..5dde8a7d4a --- /dev/null +++ b/recipes/xorg-proto/xproto-native_7.0.15.bb @@ -0,0 +1,3 @@ +require xproto_${PV}.bb + +inherit native diff --git a/recipes/xorg-proto/xproto-sdk_7.0.15.bb b/recipes/xorg-proto/xproto-sdk_7.0.15.bb new file mode 100644 index 0000000000..1c1a934bb0 --- /dev/null +++ b/recipes/xorg-proto/xproto-sdk_7.0.15.bb @@ -0,0 +1,3 @@ +require xproto_${PV}.bb + +inherit sdk diff --git a/recipes/xorg-proto/xproto_7.0.15.bb b/recipes/xorg-proto/xproto_7.0.15.bb new file mode 100644 index 0000000000..b403ff5615 --- /dev/null +++ b/recipes/xorg-proto/xproto_7.0.15.bb @@ -0,0 +1,6 @@ +require xorg-proto-common.inc + +PR = "r0" +PE = "1" + +XORG_PN = "xproto" diff --git a/recipes/xorg-util/util-macros-native_1.2.1.bb b/recipes/xorg-util/util-macros-native_1.2.1.bb new file mode 100644 index 0000000000..618e78f116 --- /dev/null +++ b/recipes/xorg-util/util-macros-native_1.2.1.bb @@ -0,0 +1,7 @@ +require util-macros_${PV}.bb + +inherit native + +XORG_PN = "util-macros" + +S = "${WORKDIR}/util-macros-${PV}" diff --git a/recipes/xorg-util/util-macros_1.2.1.bb b/recipes/xorg-util/util-macros_1.2.1.bb new file mode 100644 index 0000000000..4775fc6901 --- /dev/null +++ b/recipes/xorg-util/util-macros_1.2.1.bb @@ -0,0 +1,6 @@ +require xorg-util-common.inc + +DESCRIPTION = "X autotools macros" +PE = "1" + +ALLOW_EMPTY = "1" diff --git a/recipes/xorg-xserver/xserver-xorg-1.6.1/drmfix.patch b/recipes/xorg-xserver/xserver-xorg-1.6.1/drmfix.patch new file mode 100644 index 0000000000..e0f633bc24 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg-1.6.1/drmfix.patch @@ -0,0 +1,13 @@ +Index: xorg-server-1.5.1/hw/xfree86/os-support/linux/Makefile.am +=================================================================== +--- xorg-server-1.5.1.orig/hw/xfree86/os-support/linux/Makefile.am 2008-09-23 19:24:59.000000000 +0100 ++++ xorg-server-1.5.1/hw/xfree86/os-support/linux/Makefile.am 2008-10-27 13:27:40.000000000 +0000 +@@ -40,7 +40,7 @@ + + AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) + +-INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) -I/usr/include/drm # FIXME this last part is crack ++INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS) + + # FIXME: These need to be added to the build + LNX_EXTRA_SRCS = \ diff --git a/recipes/xorg-xserver/xserver-xorg_1.6.1.bb b/recipes/xorg-xserver/xserver-xorg_1.6.1.bb new file mode 100644 index 0000000000..a177b19e6a --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg_1.6.1.bb @@ -0,0 +1,13 @@ +require xorg-xserver-common.inc + +DESCRIPTION = "the X.Org X server" +DEPENDS += "pixman libpciaccess openssl xineramaproto libxinerama" +RDEPENDS += "hal" +PE = "2" +PR = "r1" + +SRC_URI += "file://sysroot_fix.patch;patch=1" + +MESA_VER = "7.2" + +export LDFLAGS += " -ldl " |