Package: kmplayer
Version: 1:0.11.1b-2
Severity: important
Tags: patch
User: debian-...@superh.org
Usertags: sh4
X-Debbugs-CC: debian-sup...@lists.debian.org


Hi,

I am now trying to run Debian on Renesas SH CPU(sh4).
http://buildd.debian-ports.org/status/architecture.php?suite=&a=sh4

kmplayer FTBFS on sh4.
http://buildd.debian-ports.org/fetch.php?pkg=kmplayer&arch=sh4&ver=1%3A0.11.1b-2&stamp=1258313473&file=log&as=raw

<snip>
cd 
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/obj-sh4-linux-gnu/src
&& /usr/bin/gcc  -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DKDE3_SUPPORT -g -O2
-Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common -DNDEBUG -DQT_NO_DEBUG
-I/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/obj-sh4-linux-gnu/src
-I/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src
-I/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/obj-sh4-linux-gnu/src/..
-I/usr/include/KDE -I/usr/include/qt4/KDE -I/usr/include/qt4
-I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp
-I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDBus
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner
-I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt
-I/usr/share/qt4/mkspecs/default   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -DKMPLAYER_VERSION_STRING=\"0.11.1b\"
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o
CMakeFiles/knpplayer.dir/npplayer.o   -c
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/npplayer.c
In file included from
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/moz-sdk/prtypes.h:58,
                 from
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/moz-sdk/npapi.h:51,
                 from
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/moz-sdk/npupp.h:57,
                 from
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/npplayer.c:45:
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/moz-sdk/prcpucfg.h:659:2:
error: #error "Unknown CPU architecture"
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/moz-sdk/prcpucfg.h:664:5:
warning: "PR_ALIGN_OF_DOUBLE" is not defined
/build/buildd-kmplayer_0.11.1b-2-sh4-GLSUAk/kmplayer-0.11.1b/src/moz-sdk/prcpucfg.h:667:5:
warning: "PR_ALIGN_OF_INT64" is not defined
</snip>

Current kmplayer package doesn't support sh4.
I made a patch to revise to be able to build.
Would you apply it?

Best regards,
 Nobuhiro

Attachment: 02_sh4_support.diff
Description: application/octetstream

Attachment: kmplayer_0.11.1b-2_sh4.build.gz
Description: GNU Zip compressed data

_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras

Reply via email to