From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Apr 2005 15:11:43 +0400 From: Grigory Batalov To: ALT Devel discussion list Subject: Re: [devel] Re: ffmpeg-20050406 Message-Id: <20050414151143.3c7d72da.bga@altlinux.ru> In-Reply-To: <20050413103517.GC10592@lrn.ru> References: <20050413115132.1b29e9a9.bga@altlinux.ru> <20050413100405.GZ10513@osdn.org.ua> <20050413103517.GC10592@lrn.ru> Organization: ALT Linux Team X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__14_Apr_2005_15_11_43_+0400_tc3WsYlyagwmUt.G" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at tepkom.ru with clamav X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 11:11:46 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --Multipart=_Thu__14_Apr_2005_15_11_43_+0400_tc3WsYlyagwmUt.G Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit On Wed, 13 Apr 2005 14:35:17 +0400 Grigory Batalov wrote: > > > Я вижу, свежий ffmpeg (0.4.9-alt1cvs20050406) уже добрался > > > до Сизифа, давайте смотреть, не сломалось ли чего =). > > > > xvidcap-1.1.3-alt0.2 > > > > "Не пригодилось". Бишь не собрался: > > > > if i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -DVERSION=\"1.1.3\" -pipe -Wall -O2 -march=i586 -mcpu=i686 -MT xvidcap-xtoffmpeg.o -MD -MP -MF ".deps/xvidcap-xtoffmpeg.Tpo" \ > > -c -o xvidcap-xtoffmpeg.o `test -f 'xtoffmpeg.c' || echo './'`xtoffmpeg.c; \ > > then mv ".deps/xvidcap-xtoffmpeg.Tpo" ".deps/xvidcap-xtoffmpeg.Po"; \ > > else rm -f ".deps/xvidcap-xtoffmpeg.Tpo"; exit 1; \ > > fi > ... > > make[2]: *** [xvidcap-xtoffmpeg.o] Error 1 > > make[2]: Leaving directory `/usr/src/RPM/BUILD/xvidcap-1.1.3/src' > > > > Попробовать, что ли, 1.1.4pre2 собрать... > > Тоже не собирается... Поковыряю немного, может, разберусь. 1.1.4pre2 не собирается из-за своих собственных тараканов =). А к ffmpeg-0.4.9 эта версия уже готова. Для 1.1.3, рассчитанной на 0.4.8, можно применить прилагаемый патчик. Правда, я так и не понял, работает ли теперь xvidcap =). Кто им уже пользовался, проверьте? --Multipart=_Thu__14_Apr_2005_15_11_43_+0400_tc3WsYlyagwmUt.G Content-Type: text/plain; name="xvidcap-1.1.3-alt-ffmpeg.patch" Content-Disposition: attachment; filename="xvidcap-1.1.3-alt-ffmpeg.patch" Content-Transfer-Encoding: base64 ZGlmZiAtcnVOIHh2aWRjYXAtMS4xLjMub3JpZy9zcmMveHRvZmZtcGVnLmMgeHZpZGNhcC0xLjEu My9zcmMveHRvZmZtcGVnLmMKLS0tIHh2aWRjYXAtMS4xLjMub3JpZy9zcmMveHRvZmZtcGVnLmMJ MjAwNC0wMi0xNSAyMjowMDo1NCArMDMwMAorKysgeHZpZGNhcC0xLjEuMy9zcmMveHRvZmZtcGVn LmMJMjAwNS0wNC0xNCAxMzo1Njo1NyArMDQwMApAQCAtMTg2LDI0ICsxODYsMzMgQEAKICAgICAg ICAgCiAgICAgICAgIGZyYW1lX2J5dGVzID0gZW5jLT5mcmFtZV9zaXplICogMiAqIGVuYy0+Y2hh bm5lbHM7CiAgICAgICAgIAogICAgICAgICB3aGlsZSAoZmlmb19yZWFkICgmb3N0LT5maWZvLCBh dWRpb19idWYsIGZyYW1lX2J5dGVzLAogICAgICAgICAmb3N0LT5maWZvLnJwdHIpID09IDApIHsK LSAgICAgICAgICAgIHJldCA9IGF2Y29kZWNfZW5jb2RlX2F1ZGlvIChlbmMsIGF1ZGlvX291dCwg YXVkaW9fb3V0X3NpemUsCi0gICAgICAgICAgICAoc2hvcnQgKilhdWRpb19idWYpOwogCi0vLyAg ICAgICAgICAgIGF1ZGlvX3B0cyA9IChkb3VibGUpYXVfb3V0X3N0LT5zdC0+cHRzLnZhbCAqIG91 dHB1dF9maWxlLT5wdHNfbnVtIC8gb3V0cHV0X2ZpbGUtPnB0c19kZW47Ci0vLyAgICAgICAgICAg IHZpZGVvX3B0cyA9IChkb3VibGUpb3V0X3N0LT5wdHMudmFsICogb3V0cHV0X2ZpbGUtPnB0c19u dW0gLyBvdXRwdXRfZmlsZS0+cHRzX2RlbjsKKwkgICAgQVZQYWNrZXQgcGt0OworICAgIAorICAg ICAgICAgICAgLy8gaW5pdGlhbGl6ZSBhdWRpbyBvdXRwdXQgcGFja2V0CisgICAgICAgICAgICBh dl9pbml0X3BhY2tldCgmcGt0KTsKKyAgICAgICAgICAgIAorICAgICAgICAgICAgcGt0LnNpemUg PSBhdmNvZGVjX2VuY29kZV9hdWRpbyAoZW5jLCBhdWRpb19vdXQsIGF1ZGlvX291dF9zaXplLCAo c2hvcnQgKilhdWRpb19idWYpOworICAgICAgICAgICAgcGt0LnN0cmVhbV9pbmRleD0gb3N0LT5z dC0+aW5kZXg7CisgICAgICAgICAgICBpZiAoZW5jLT5jb2RlZF9mcmFtZSkgeyAKKwkJICAgIHBr dC5wdHMgPSBlbmMtPmNvZGVkX2ZyYW1lLT5wdHM7CisJICAgIH0KKyAgICAgICAgICAgIHBrdC5m bGFncyB8PSBQS1RfRkxBR19LRVk7CisgICAgICAgICAgICBwa3QuZGF0YSA9IGF1ZGlvX291dDsK IAotLy8gICAgICAgICAgICBpZiAoIGF1ZGlvX3B0cyA8IHZpZGVvX3B0cyAmJiBwdGhyZWFkX211 dGV4X3RyeWxvY2sgKCZtcCkgPT0gMCApIHsKICAgICAgICAgICAgIGlmICggIHB0aHJlYWRfbXV0 ZXhfdHJ5bG9jayAoJm1wKSA9PSAwICkgewogICAgICAgICAgICAgICAgIC8qIHdyaXRlIHRoZSBj b21wcmVzc2VkIGZyYW1lIGluIHRoZSBtZWRpYSBmaWxlICovCi0gICAgICAgICAgICAgICAgaWYg KGF2X3dyaXRlX2ZyYW1lIChzLCBvc3QtPnN0LT5pbmRleCwgYXVkaW9fb3V0LCByZXQpICE9IDAp IHsKKyAgICAgICAgICAgICAgICBpZiAoYXZfd3JpdGVfZnJhbWUgKHMsICZwa3QpICE9IDApIHsK ICAgICAgICAgICAgICAgICAgICAgZnByaW50ZiAoc3RkZXJyLCAiRXJyb3Igd2hpbGUgd3JpdGlu ZyBhdWRpbyBmcmFtZVxuIik7CiAgICAgICAgICAgICAgICAgICAgIGV4aXQgKDEpOwogICAgICAg ICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICBpZiAoIHB0aHJl YWRfbXV0ZXhfdW5sb2NrICgmbXApID4gMCApIHsKICAgICAgICAgICAgICAgICAgICAgZnByaW50 ZiAoc3RkZXJyLCAiQ291bGRuJ3QgdW5sb2NrIG11dGV4IGxvY2sgZm9yIHdyaXRpbmcgYXVkaW8g ZnJhbWVcbiIpOwogICAgICAgICAgICAgICAgIH0KKwogICAgICAgICAgICAgfSAvKiBlbHNlIHsK ICAgICAgICAgICAgICBmcHJpbnRmIChzdGRlcnIsICJDYW4ndCBsb2NrIG11dGV4IGZvciB3cml0 aW5nIGF1ZGlvIGZyYW1lXG4iKTsKICAgICAgICAgICAgICB9ICovCkBAIC0yMzksNiArMjQ3LDcg QEAKIH0KIAogCisKIHZvaWQgY2xlYW51cF90aHJlYWRfd2hlbl9zdG9wcGVkICgpIHsKICAgICBp bnQgcmV0dmFsID0gMDsKICAgICAKQEAgLTM3MSw2ICszODAsMjcgQEAKICNlbmRpZiAvLyBIQVZF X0ZGTVBFR19BVURJTwogCiAKK3N0YXRpYyB2b2lkIGRvX3ZpZGVvX291dCAoQVZGb3JtYXRD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