Skip to content

Commit

Permalink
import of enigma2
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbinc committed Oct 17, 2003
0 parents commit d63d2c3
Show file tree
Hide file tree
Showing 360 changed files with 29,963 additions and 0 deletions.
Empty file added AUTHORS
Empty file.
Empty file added ChangeLog
Empty file.
Empty file added DEADJOE
Empty file.
4 changes: 4 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
AUTOMAKE_OPTIONS = gnu

SUBDIRS = lib main

Empty file added Makefile.in
Empty file.
Empty file added NEWS
Empty file.
Empty file added README
Empty file.
Empty file added aclocal.m4
Empty file.
62 changes: 62 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/sh

package="tuxbox-enigma"

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

cd "$srcdir"
DIE=0

(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $package."
echo "Download the appropriate package for your system,"
echo "or get the source from one of the GNU ftp sites"
echo "listed in http://www.gnu.org/order/ftp.html"
DIE=1
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have automake installed to compile $package."
echo "Download the appropriate package for your system,"
echo "or get the source from one of the GNU ftp sites"
echo "listed in http://www.gnu.org/order/ftp.html"
DIE=1
}

(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have libtool installed to compile $package."
echo "Download the appropriate package for your system,"
echo "or get the source from one of the GNU ftp sites"
echo "listed in http://www.gnu.org/order/ftp.html"
DIE=1
}

if test "$DIE" -eq 1; then
exit 1
fi

if [ ! -e acinclude.m4 ]; then
for i in .. ../.. ../../..; do
if [ -e `pwd`/$i/acinclude.m4 ]; then
ln -s `pwd`/$i/acinclude.m4 .
fi
done
fi

echo "Generating configuration files for $package, please wait...."

echo " aclocal"
aclocal
echo " libtoolize --automake"
libtoolize --automake
echo " autoconf"
autoconf
echo " autoheader"
autoheader
echo " automake --add-missing"
automake --add-missing

Empty file added autom4te.cache/output.0
Empty file.
Empty file added autom4te.cache/requests
Empty file.
Empty file added autom4te.cache/traces.0
Empty file.
97 changes: 97 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/* config.h.in. Generated from configure.ac by autoheader. */

/* where to find the config files */
#undef CONFIGDIR

/* where to find data like icons */
#undef DATADIR

/* Enable debug messages */
#undef DEBUG

/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS

/* where to find the fonts */
#undef FONTDIR

/* where games data is stored */
#undef GAMESDIR

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the <linux/dvb/version.h> header file. */
#undef HAVE_LINUX_DVB_VERSION_H

/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

/* Define to 1 if you have the <ost/dmx.h> header file. */
#undef HAVE_OST_DMX_H

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* where to find the internal libs */
#undef LIBDIR

/* Name of package */
#undef PACKAGE

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* where to find the plugins */
#undef PLUGINDIR

/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* where to find the ucodes (firmware) */
#undef UCODEDIR

/* Version number of package */
#undef VERSION

/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS

/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif

/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
Empty file added configure
Empty file.
42 changes: 42 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
AC_INIT(tuxbox-enigma,0.0.1)
AM_INIT_AUTOMAKE(tuxbox-enigma,0.0.1)

TUXBOX_APPS
TUXBOX_APPS_DIRECTORY

AC_PROG_CC
AC_PROG_CXX
AC_PROG_RANLIB

TUXBOX_APPS_DVB
TUXBOX_APPS_DRIVER

TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config)
TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi)
TUXBOX_APPS_LIB_PKGCONFIG(ID3TAG,id3tag)
TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
TUXBOX_APPS_LIB_PKGCONFIG(MD5SUM,tuxbox-md5sum)
TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins)
TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
TUXBOX_APPS_LIB_PKGCONFIG(XMLTREE,tuxbox-xmltree)

CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $MD5SUM_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS"
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"

TUXBOX_APPS_GETTEXT

AC_OUTPUT([
Makefile
lib/Makefile
lib/base/Makefile
lib/driver/Makefile
lib/dvb/Makefile
lib/dvb_si/Makefile
lib/gdi/Makefile
lib/gui/Makefile
lib/network/Makefile
lib/service/Makefile
main/Makefile
])

5 changes: 5 additions & 0 deletions debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

powerpc-linux-gdb /dbox2/cdkroot/bin/enigma2 -x debug.gdb


3 changes: 3 additions & 0 deletions debug.gdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set solib-absolute-prefix /dbox2/cdkroot
target remote 10.0.0.82:1234
continue
17 changes: 17 additions & 0 deletions include/connection.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#ifndef __connection_h
#define __connection_h

#include <libsig_comp.h>
#include <lib/base/object.h>

class eConnection: public virtual iObject, public Connection
{
int ref;
public:
DEFINE_REF(eConnection);
public:
eConnection(const Connection &conn): Connection(conn), ref(0) { };
virtual ~eConnection() { disconnect(); }
};

#endif
33 changes: 33 additions & 0 deletions include/libsig_comp.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#ifndef __LIBSIG_COMP_H
#define __LIBSIG_COMP_H

#include <sigc++/sigc++.h>
#include <sigc++/bind.h>

#ifdef SIGC_CXX_NAMESPACES
using namespace SigC;
#endif

#define CONNECT(SENDER, EMPFAENGER) SENDER.connect(slot(*this, &EMPFAENGER))
// use this Makro to connect with a method
// void bla::foo(int x);
// to an
// Signal<void, int> testSig;
//
// CONNECT(testSig, bla::foo);
// signal and method (slot) must have the same signature

#define CONNECT_1_0(SENDER, EMPFAENGER, PARAM) SENDER.connect( bind( slot(*this, &EMPFAENGER) ,PARAM ) )
// use this for connect with a method
// void bla::foo(int);
// to an
// Signal0<void> testSig;
// CONNECT_1_0(testSig, bla:foo, 0);
// here the signal has no parameter, but the slot have an int
// the last parameter of the CONNECT_1_0 makro is the value that given to the paramater of the Slot method

#define CONNECT_2_0(SENDER, EMPFAENGER, PARAM1, PARAM2) SENDER.connect( bind( slot(*this, &EMPFAENGER) ,PARAM1, PARAM2 ) )

#define CONNECT_2_1(SENDER, EMPFAENGER, PARAM) SENDER.connect( bind( slot(*this, &EMPFAENGER) ,PARAM ) )

#endif // __LIBSIG_COMP_H
Empty file added lib/DEADJOE
Empty file.
3 changes: 3 additions & 0 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SUBDIRS = base dvb dvb_si gdi gui network service driver


Empty file added lib/Makefile.in
Empty file.
9 changes: 9 additions & 0 deletions lib/base/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
INCLUDES = \
-I$(top_srcdir)/include

noinst_LIBRARIES = libenigma_base.a

libenigma_base_a_SOURCES = \
buffer.cpp console.cpp ebase.cpp econfig.cpp eerror.cpp elock.cpp \
estring.cpp init.cpp message.cpp nconfig.cpp nxml.cpp thread.cpp \
smartptr.cpp
Empty file added lib/base/Makefile.in
Empty file.
Empty file added lib/base/a
Empty file.
Loading

0 comments on commit d63d2c3

Please sign in to comment.