LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [request] gxine-0.5.907 (https://www.linuxquestions.org/questions/slackware-14/%5Brequest%5D-gxine-0-5-907-a-4175479727/)

_gin 10-05-2013 02:36 PM

[request] gxine-0.5.907
 
Since Slackware-14.1rc1 hasn't been released yet, I'll make a call for gxine-0.5.907 (doesn't hurt to ask...said once the boss ;) ).

Can you bring back gxine in Slackware like It used to be before Slackware-13.37 ?

gxine need a few adjustements and one patch (borrowed from Gentoo) but since that the js185 package (Mozilla's JavaScript engine) is been provided within Slackware-14.0, gxine compiles and works fine.

here is my settings:

Code:

cd gxine-0.5.907

sed -i 's|glib\/gmessages.h|glib.h|' src/console_output.h

patch -p0 -i ../gxine-0.5.906-endif.patch

LIBS="-ldl -lm" \

./configure --prefix=/usr \
            --libdir=/usr/lib \
            --sysconfdir=/etc \
            --localstatedir=/var/lib \
            --mandir=/usr/man \
            --docdir=/usr/doc/$PROG_NAME-$VERSION \
            --without-browser-plugin

gxine-0.5.906-endif.patch
Code:

lirc.c:227:3: error: ‘gxine_lirc_thread’ undeclared (first use in this function)

--- src/lirc.c
+++ src/lirc.c
@@ -223,8 +223,8 @@
  if (gxine_lirc_thread_created)
    pthread_join (gxine_lirc_thread, NULL);
  gxine_lirc_start ();
-#endif
  JS_SET_RVAL (cx, vp, gxine_lirc_thread ? JSVAL_TRUE : JSVAL_FALSE);
+#endif
  return JS_TRUE;
 }



All times are GMT -5. The time now is 02:23 AM.