[Gelistirici] [paketler-commits] r21390 - 2007/desktop/kde/k3b

S.Çağlar Onur caglar at pardus.org.tr
16 Mar 2007 Cum 00:44:43 EET


16 Mar 2007 Cum tarihinde, Ismail Dönmez şunları yazmıştı: 
> Commenti okumadın mı yaw :) . Kodun içinde artık o kısım. config.log ne
> diyor?

Okudum, hatta devel'de bump ile satırı silen benim :P, ama bakınız;

[caglar at zangetsu][~/svk/2007/desktop/kde/k3b]> svk diff
[caglar at zangetsu][~/svk/2007/desktop/kde/k3b]>    
[caglar at zangetsu][~/svk/2007/desktop/kde/k3b]> sudo pisi build 
pspec.xml -d --setup
...
K3b - FFMpeg decoder plugin (decodes wma and others):
K3b -                                         no
K3b -     You are missing the ffmpeg headers and libraries
K3b -     version 0.4.9 or higher.
K3b -     The ffmpeg audio decoding plugin (decodes wma and
K3b -     others) won't be compiled.
...

[caglar at zangetsu][~/svk/2007/desktop/kde/k3b]> 
vi /var/pisi/k3b-1.0_rc7-19/work/k3b-1.0rc7/config.log

configure:36464: checking for ffmpeg >= 0.4.9
configure:36495: 
i686-pc-linux-gnu-g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D__STDC_CONSTANT_MACRO  -DQT_THREAD_SUPPORT  -D_REENTRANT 
conftest.cpp >&5
In file included from conftest.cpp:2:
/usr/include/ffmpeg/avformat.h: In function 'void av_init_packet(AVPacket*)':
/usr/include/ffmpeg/avformat.h:66: error: 'INT64_C' was not declared in this 
scope

*** 1 errors, 0 warnings
configure:36501: $? = 1
configure: failed program was:
| extern "C" {
| · ·   #include <ffmpeg/avformat.h>
| · ·   #include <ffmpeg/avcodec.h>
| · ·   }
|·
| · ·   int main() {
| · ·     AVFormatContext* fc = 0;
| · ·     AVPacket* p = 0;
| · ·     av_register_all();
| · ·     return av_read_frame( fc, p );
| · ·   }
configure:36536: rm -rf SunWS_cache; i686-pc-linux-gnu-g++ -o 
conftest -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D__STDC_CONSTANT_MACRO  -DQT_THREAD_SUPPORT  -D_REENTRANT  
conftest.cpp -lavformat -lavcodec -lm -L/usr/kde/3.5/lib -L/usr/qt/3/lib/     
1>&5
In file included from conftest.cpp:2:
/usr/include/ffmpeg/avformat.h: In function 'void av_init_packet(AVPacket*)':
/usr/include/ffmpeg/avformat.h:66: error: 'INT64_C' was not declared in this 
scope

*** 1 errors, 0 warnings



[caglar at zangetsu][~/svk/2007/desktop/kde/k3b]> svk diff
=== actions.py
==================================================================
--- actions.py  (revision 11815)
+++ actions.py  (local)
@@ -7,12 +7,14 @@

 from pisi.actionsapi import pisitools
 from pisi.actionsapi import autotools
+from pisi.actionsapi import shelltools
 from pisi.actionsapi import kde
 from pisi.actionsapi import get

 WorkDir = "k3b-1.0rc7"

 def setup():
+    shelltools.export("CXXFLAGS","%s -D__STDC_CONSTANT_MACROS" % 
get.CXXFLAGS())
     kde.configure("--enable-libsuffix= \
                    --enable-ffmpeg-all-codecs \
                    --with-alsa \
...
K3b - FFMpeg decoder plugin (decodes wma and others):
K3b -                                        yes
K3b -     WARNING: You enabled all codecs in the ffmpeg decoder plugin.
K3b -              Be aware that most are not tested and track lengths
K3b -              will be wrong in many cases.

[caglar at zangetsu][~/svk/2007/desktop/kde/k3b]> 
vi /var/pisi/k3b-1.0_rc7-19/work/k3b-1.0rc7/config.log
configure:36464: checking for ffmpeg >= 0.4.9
configure:36495: 
i686-pc-linux-gnu-g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mtune=i686 -O2 -pipe -fomit-frame-pointer -D__STDC_CONSTANT_MACROS -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D__STDC_CONSTANT_MACRO  -DQT_THREAD_SUPPORT  -D_REENTRANT 
conftest.cpp >&5
configure:36501: $? = 0

kapiş :P

-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 189 bytes
Desc: kullanılamıyor
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20070316/8443717e/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi