1 |
mrpouet 09/09/08 21:20:24 |
2 |
|
3 |
Added: gnash-0.8.5-klash.patch gnash-0.8.5-moc-qt4.patch |
4 |
Log: |
5 |
Fix kde4 headers detection, moc and uic checks, Import patch from Linux Alt to fix klash support, many thanks to Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de> |
6 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 www-plugins/gnash/files/gnash-0.8.5-klash.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gnash/files/gnash-0.8.5-klash.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gnash/files/gnash-0.8.5-klash.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gnash-0.8.5-klash.patch |
15 |
=================================================================== |
16 |
--- gnash-0.8.5/macros/kde4.m4.alt-kde4 2009-02-28 15:27:53 +0300 |
17 |
+++ gnash-0.8.5/macros/kde4.m4 2009-07-15 16:02:13 +0400 |
18 |
@@ -24,7 +24,7 @@ AC_DEFUN([GNASH_PATH_KDE4], |
19 |
with_kde4_incl=${withval}) |
20 |
dnl make sure the path is a useable one |
21 |
if test x"${with_kde4_incl}" != x ; then |
22 |
- if test ! -f ${with_kde4_incl}/kapp.h ; then |
23 |
+ if test ! -f ${with_kde4_incl}/kapplication.h ; then |
24 |
AC_MSG_ERROR([${with_kde4_incl} directory doesn't contain any KDE 4.x headers]) |
25 |
fi |
26 |
fi |
27 |
@@ -38,7 +38,7 @@ AC_DEFUN([GNASH_PATH_KDE4], |
28 |
with_kde4_lib=${withval}) |
29 |
dnl make sure the path is a useable one |
30 |
if test x"${with_kde4_lib}" != x ; then |
31 |
- if test ! -f ${with_kde4_lib}/libkdeui.la; then |
32 |
+ if test ! -f ${with_kde4_lib}/libkdeui.so; then |
33 |
AC_MSG_ERROR([${with_kde4_lib} directory doesn't contain any KDE 4.x libraries!]) |
34 |
fi |
35 |
fi |
36 |
@@ -134,7 +134,7 @@ AC_DEFUN([GNASH_PATH_KDE4], |
37 |
dnl Look for the libraries |
38 |
AC_CACHE_VAL(ac_cv_path_kde4_lib, [ |
39 |
if test x"${with_kde4_lib}" != x ; then |
40 |
- if test -f ${with_kde4_lib}/libkdeui.la; then |
41 |
+ if test -f ${with_kde4_lib}/libkdeui.so; then |
42 |
ac_cv_path_kde4_lib="-L`(cd ${with_kde4_lib}; pwd)`" |
43 |
else |
44 |
AC_MSG_ERROR([${with_kde4_lib} directory doesn't contain KDE 4.x libraries.]) |
45 |
@@ -144,7 +144,7 @@ AC_DEFUN([GNASH_PATH_KDE4], |
46 |
AC_MSG_CHECKING([for kdeui library]) |
47 |
kde4_topdir= |
48 |
for i in ${kde4_prefix}/lib64 ${kde4_prefix}/lib $libslist ; do |
49 |
- if test -f $i/libkdeui.${shlibext} -o -f $i/libkdeui.la; then |
50 |
+ if test -f $i/libkdeui.${shlibext} -o -f $i/libkdeui.so; then |
51 |
kde4_topdir=$i |
52 |
AC_MSG_RESULT(${kde4_topdir}/libkdeui) |
53 |
if test ! x"$i" = x"/usr/lib" -a ! x"$i" = x"/usr/lib64"; then |
54 |
@@ -160,26 +160,13 @@ AC_DEFUN([GNASH_PATH_KDE4], |
55 |
dnl Look for the kdecore library, which is required |
56 |
if test x"${ac_cv_path_kde4_lib}" != x; then |
57 |
AC_MSG_CHECKING([for kdecore library]) |
58 |
- if test -f ${kde4_topdir}/libkdecore.la; then |
59 |
+ if test -f ${kde4_topdir}/libkdecore.so; then |
60 |
ac_cv_path_kde4_lib="${ac_cv_path_kde4_lib} -lkdecore" |
61 |
AC_MSG_RESULT(${kde4_topdir}/libkdecore) |
62 |
else |
63 |
AC_MSG_RESULT(no) |
64 |
fi |
65 |
fi |
66 |
- dnl Look for the kdeprint library, which is required |
67 |
- AC_MSG_CHECKING([for kdeprint library]) |
68 |
- if test x"${libkdeprint}" = x; then |
69 |
- if test -f ${kde4_topdir}/libkdeprint.la -o -f ${kde4_topdir}/libkdeprint.${shlibext}; then |
70 |
- ac_cv_path_kde4_lib="${ac_cv_path_kde4_lib} -lkdeprint" |
71 |
- AC_MSG_RESULT(${kde4_topdir}/libkdeprint) |
72 |
- else |
73 |
- AC_MSG_RESULT(no) |
74 |
- fi |
75 |
- else |
76 |
- AC_MSG_RESULT(${libkdeprint}) |
77 |
- ac_cv_path_kde4_lib="${ac_cv_path_kde4_lib} ${libkdeprint}" |
78 |
- fi |
79 |
]) dnl end of cache ac_cv_path_kde4_lib |
80 |
fi dnl end of build_kde4 |
81 |
|
82 |
@@ -216,7 +203,7 @@ AC_DEFUN([GNASH_PATH_KDE4], |
83 |
fi dnl end of build_kparts4 |
84 |
|
85 |
if test x"${ac_cv_path_kde4_incl}" != x ; then |
86 |
- if test x"${ac_cv_path_kde3_incl}" != x"-I/usr/include"; then |
87 |
+ if test x"${ac_cv_path_kde4_incl}" != x"-I/usr/include"; then |
88 |
KDE4_CFLAGS="${ac_cv_path_kde4_incl}" |
89 |
else |
90 |
KDE4_CFLAGS="" |
91 |
--- gnash-0.8.5/plugin/klash4/Makefile.am.alt-kde4 2009-06-15 11:53:31 +0400 |
92 |
+++ gnash-0.8.5/plugin/klash4/Makefile.am 2009-07-15 16:02:58 +0400 |
93 |
@@ -42,6 +39,7 @@ libklashpart_la_LDFLAGS = -avoid-version |
94 |
else |
95 |
libklashpart_la_LDFLAGS = -module -avoid-version -L$(plugindir) $(KDE4_LIBS) $(QT4_LIBS) |
96 |
endif |
97 |
+libklashpart_la_LIBADD = $(KDE4_LIBS) $(QT4_LIBS) $(X11_LIBS) -lkparts |
98 |
|
99 |
dist_kde_services_DATA = klash_part.desktop |
100 |
dist_kde_rc_DATA = klashpartui.rc |
101 |
--- gnash-0.8.5/plugin/klash4/pluginsinfo.alt-kde4 2008-12-28 13:13:38 +0300 |
102 |
+++ gnash-0.8.5/plugin/klash4/pluginsinfo 2009-07-15 16:02:13 +0400 |
103 |
@@ -1,7 +1,7 @@ |
104 |
number=1 |
105 |
|
106 |
[0] |
107 |
-description=Shockwave Flash 7.0 |
108 |
+description=Shockwave Flash 10.1 r999 |
109 |
file=libklashpart.so |
110 |
mime=application/x-shockwave-flash:swf:Shockwave Flash;application/futuresplash:spl:FutureSplash Player |
111 |
name=Shockwave Flash |
112 |
|
113 |
|
114 |
|
115 |
1.1 www-plugins/gnash/files/gnash-0.8.5-moc-qt4.patch |
116 |
|
117 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gnash/files/gnash-0.8.5-moc-qt4.patch?rev=1.1&view=markup |
118 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gnash/files/gnash-0.8.5-moc-qt4.patch?rev=1.1&content-type=text/plain |
119 |
|
120 |
Index: gnash-0.8.5-moc-qt4.patch |
121 |
=================================================================== |
122 |
--- a/macros/qt4.m4 2009-03-02 16:29:42.000000000 +0100 |
123 |
+++ b/macros/qt4.m4 2009-09-08 14:53:31.355928666 +0200 |
124 |
@@ -165,8 +165,8 @@ |
125 |
has_qt4="no" |
126 |
fi |
127 |
|
128 |
- AC_PATH_PROG(MOC4, moc-qt4, ,[${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}]) |
129 |
- AC_PATH_PROG(UIC4, uic-qt4, ,[${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}]) |
130 |
+ AC_PATH_PROGS(MOC4, [moc-qt4 moc], ,[/usr/bin ${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}]) |
131 |
+ AC_PATH_PROGS(UIC4, [uic-qt4 uic], ,[/usr/bin ${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}]) |
132 |
|
133 |
|
134 |
AC_SUBST([QT4_CFLAGS]) |