pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39848: fix: mplayer-plugin-seamonkey doesn't build



>Number:         39848
>Category:       pkg
>Synopsis:       fix: mplayer-plugin-seamonkey doesn't build
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 02 00:30:00 +0000 2008
>Originator:     Jose Luis Rodriguez Garcia
>Release:        4.0.1, pkgsrc-2008Q3
>Organization:
>Environment:
NetBSD pc1 4.0.1 NetBSD 4.0.1 (GENERIC) #0: Tue Oct  7 22:58:48 PDT 2008  
builds@wb30:/home/builds/ab/netbsd-4-0-1-RELEASE/i386/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
mplayer-plugin-seamonkey doesn't build. It fails with a missing .h file.

It only affects to pkgsrc-2008Q3 (mplayer-plugin-seamonkey-3.50). It doesn't 
affect to pkgsrc current (mplayer-plugin-seamonkey 3.55 fix this bug).



>How-To-Repeat:
with pkgsrc-200Q3

cd /usr/pkgsrc/multimedia/mplayer-plugin-seamonkey
make
>Fix:
Apply the next patch to mplayer-plugin-firefox, and bump versions of 
mplayer-firefox-plugin and mplayer-seamonkey-plugin,:

pkgsrc/multimedia/mplayer-plugin-firefox/patches/patch-af

$ cat /usr/pkgsrc/multimedia/mplayer-plugin-firefox/patches/patch-af
$NetBSD$

--- configure.orig      2008-11-01 19:55:50.000000000 +0100
+++ configure
@@ -3540,23 +3540,23 @@ fi
   else
      PKG_CONFIG_MIN_VERSION=0.9.0
      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
-        { echo "$as_me:$LINENO: checking for seamonkey-plugin" >&5
-echo $ECHO_N "checking for seamonkey-plugin... $ECHO_C" >&6; }
+        { echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" 
>&5
+echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6; }
 
-        if $PKG_CONFIG --exists "seamonkey-plugin" ; then
+        if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
             { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
             succeeded=yes
 
             { echo "$as_me:$LINENO: checking MOZPLUG_CFLAGS" >&5
 echo $ECHO_N "checking MOZPLUG_CFLAGS... $ECHO_C" >&6; }
-            MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin"`
+            MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin 
seamonkey-xpcom"`
             { echo "$as_me:$LINENO: result: $MOZPLUG_CFLAGS" >&5
 echo "${ECHO_T}$MOZPLUG_CFLAGS" >&6; }
 
             { echo "$as_me:$LINENO: checking MOZPLUG_LIBS" >&5
 echo $ECHO_N "checking MOZPLUG_LIBS... $ECHO_C" >&6; }
-            MOZPLUG_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin"`
+            MOZPLUG_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin 
seamonkey-xpcom"`
             { echo "$as_me:$LINENO: result: $MOZPLUG_LIBS" >&5
 echo "${ECHO_T}$MOZPLUG_LIBS" >&6; }
         else
@@ -3564,7 +3564,7 @@ echo "${ECHO_T}$MOZPLUG_LIBS" >&6; }
             MOZPLUG_LIBS=""
             ## If we have a custom action on failure, don't print errors, but
             ## do set a variable so people can do so.
-            MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors 
"seamonkey-plugin"`
+            MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors 
"seamonkey-plugin seamonkey-xpcom"`
 
         fi
 
$ 



Home | Main Index | Thread Index | Old Index