trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] kaffeine-mozilla (Proposed new README)

From: Darrell Anderson <humanreadable@...>
Date: Thu, 26 Apr 2012 13:18:33 -0700 (PDT)
I would be grateful if somebody would review the enclosed new kaffeine-mozilla README file. I will push to GIT upon review.

Thanks!

Darrell

============================================

*************************************
*        Kaffeine - Mozilla         *
*************************************

This mozilla plugin starts Kaffeine external for media streams.

Latest version on: http://kaffeine.sourceforge.net

Install:

1) ./configure --prefix=MOZILLA_INSTALL_DIR
  (e.g. --prefix=~/.mozilla or --prefix=/opt/MozillaFirefox)

1) make

3) make install


SUGGESTIONS/PROBLEMS/BUGS: kaffeine-user@...


*************************************
*        Trinity Addendum           *
*************************************

Building Trinity apps does not include static make and configure files.
Generally, these files are rebuilt fresh with the build script. The
kaffeine-mozilla package is different from the other packages and requires
some additional knowledge to build. The kaffeine-mozilla build script should
include the following commands, adjusted for each distro's file locations:

cd {kaffeine-mozilla build location}
cp -f /usr/lib${LIBDIRSUFFIX}/build/libtool.m4 .
cp -f /usr/lib${LIBDIRSUFFIX}/build/ltmain.sh .
# On some systems the rebuild process might fail unless -fiv is used.
autoreconf -fiv

Additonally, a patch might be required depending upon where the prtypes.h
header file is installed. Each distro is different. Adjust the patch as
necessary to satify your distro's setup. The patch will look something
like this:

--- kaffeine-mozilla/src/jni_md.h.ORI	2012-04-26 20:44:15.080210122 +0200
+++ kaffeine-mozilla/src/jni_md.h	2012-04-26 20:44:28.006895031 +0200
@@ -40,7 +40,7 @@
 #ifndef JNI_MD_H
 #define JNI_MD_H
 
-#include <nspr/prtypes.h> /* needed for _declspec */
+#include <seamonkey/nspr/prtypes.h> /* needed for _declspec */
 
 /*******************************************************************************
  * WHAT'S UP WITH THIS FILE?
--- kaffeine-mozilla/src/jri_md.h.ORI	2012-04-26 20:44:20.528077329 +0200
+++ kaffeine-mozilla/src/jri_md.h	2012-04-26 20:44:36.239694357 +0200
@@ -43,7 +43,7 @@
 #define JRI_MD_H
 
 #include <assert.h>
-#include <nspr/prtypes.h> /* Needed for HAS_LONG_LONG ifdefs */
+#include <seamonkey/nspr/prtypes.h> /* Needed for HAS_LONG_LONG ifdefs */
 
 #ifdef __cplusplus
 extern "C" {