From: <enl...@li...> - 2004-04-15 07:58:43
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/src Modified Files: Makefile.am Log Message: version uppie.. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/src/Makefile.am,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- Makefile.am 9 Mar 2004 09:21:56 -0000 1.12 +++ Makefile.am 15 Apr 2004 07:58:37 -0000 1.13 @@ -56,4 +56,4 @@ libedb_la_LIBADD = $(LDFLAGS) libedb_la_DEPENDENCIES = $(top_builddir)/config.h -libedb_la_LDFLAGS = -version-info 1:4:0 +libedb_la_LDFLAGS = -version-info 1:5:0 |
From: <enl...@li...> - 2004-04-15 07:58:44
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: Makefile.am README configure.in edb.spec Log Message: version uppie.. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- Makefile.am 21 Jul 2003 00:16:53 -0000 1.7 +++ Makefile.am 15 Apr 2004 07:58:28 -0000 1.8 @@ -13,7 +13,7 @@ bin_SCRIPTS = edb-config -EXTRA_DIST = README AUTHORS COPYING edb.spec edb.pc.in conf-e-x11.sh +EXTRA_DIST = README AUTHORS COPYING edb.spec edb.pc.in pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = edb.pc =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/README,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- README 21 Jul 2003 01:22:43 -0000 1.4 +++ README 15 Apr 2004 07:58:29 -0000 1.5 @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- - E DB 1.0.4 + E DB 1.0.5 ------------------------------------------------------------------------------- This is a database conveneince library base on db 2.7.7 from =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/configure.in,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- configure.in 9 Mar 2004 09:21:56 -0000 1.22 +++ configure.in 15 Apr 2004 07:58:30 -0000 1.23 @@ -1,6 +1,6 @@ AC_INIT(src/Edb.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(edb, 1.0.4) +AM_INIT_AUTOMAKE(edb, 1.0.5) AC_PROG_CC AM_PROG_CC_STDC AC_C_CONST =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/edb.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- edb.spec 23 Dec 2003 11:41:24 -0000 1.17 +++ edb.spec 15 Apr 2004 07:58:30 -0000 1.18 @@ -1,6 +1,6 @@ Summary: Enlightenment Database Access Library Name: edb -Version: 1.0.4 +Version: 1.0.5 Release: 1 Copyright: BSD Group: System Environment/Libraries |
From: <enl...@li...> - 2004-04-29 01:32:13
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/tools Modified Files: edb_ed.c Log Message: mipspro happieness =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/tools/edb_ed.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- edb_ed.c 16 May 2002 15:30:29 -0000 1.19 +++ edb_ed.c 29 Apr 2004 01:32:06 -0000 1.20 @@ -320,7 +320,7 @@ data_read_size); exit(-1); } - raw_data_size = fread( the_data + the_data_size - chunk_size, + raw_data_size = fread( (char *)the_data + the_data_size - chunk_size, 1, chunk_size, stdin ); } data_read_size += raw_data_size; |
From: <enl...@li...> - 2004-05-13 03:38:28
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: configure.in Log Message: checks... =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/configure.in,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- configure.in 15 Apr 2004 07:58:30 -0000 1.23 +++ configure.in 13 May 2004 03:38:18 -0000 1.24 @@ -1,6 +1,10 @@ AC_INIT(src/Edb.h) -AM_CONFIG_HEADER(config.h) +AC_CANONICAL_BUILD +AC_CANONICAL_HOST +AC_CANONICAL_TARGET +AC_ISC_POSIX AM_INIT_AUTOMAKE(edb, 1.0.5) +AM_CONFIG_HEADER(config.h) AC_PROG_CC AM_PROG_CC_STDC AC_C_CONST @@ -17,9 +21,8 @@ ##################### DB stuff -AC_PROG_INSTALL() -AC_CANONICAL_HOST -AC_ARG_PROGRAM() +dnl AC_PROG_INSTALL() +dnl AC_ARG_PROGRAM() dnl This is where we handle stuff that autoconf can't handle: compiler, dnl preprocessor and load flags, libraries that the standard tests don't @@ -141,6 +144,7 @@ AC_HEADER_DIRENT AC_CHECK_HEADERS(sys/select.h) AC_CHECK_HEADERS(sys/time.h) +AC_CHECK_HEADER(zlib.h,, AC_MSG_ERROR("Cannot find zlib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")) dnl Checks for system functions for which we have replacements. dnl |
From: <enl...@li...> - 2004-05-13 05:54:40
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: configure.in Added Files: make_cross_compile_arm.sh Log Message: make edb cross-compile =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/configure.in,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- configure.in 13 May 2004 03:38:18 -0000 1.24 +++ configure.in 13 May 2004 05:54:27 -0000 1.25 @@ -211,16 +211,6 @@ AC_DEFINE(HAVE_SIGFILLSET, 1, [sigfillset() available]) fi -dnl Some versions of sprintf return a pointer to the first argument instead -dnl of a character count. We assume that the return value of snprintf and -dnl vsprintf etc. will be the same as sprintf, and check the easy one. -AC_CACHE_CHECK([for int type sprintf return value], db_cv_sprintf_count, [dnl -AC_TRY_RUN([main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}], - [db_cv_sprintf_count=yes], [db_cv_sprintf_count=no])]) -if test "$db_cv_sprintf_count" = no; then - AC_DEFINE(SPRINTF_RET_CHARPNT, 1, [sprintf() returns char pointer]) -fi - dnl Vendors are doing 64-bit lseek in different ways. dnl AIX, HP/UX and Solaris all use _FILE_OFFSET_BITS to specify a "big-file" dnl environment. @@ -237,148 +227,6 @@ AC_MSG_RESULT("yes") fi -dnl Figure out if we have spinlocks for the compiler/architecture. -AC_CACHE_CHECK([for spinlocks], db_cv_spinlocks, [dnl -db_cv_spinlocks=no - -dnl msemaphore: HPPA -dnl Try HPPA before general msem test, it needs special mutex alignment. -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if defined(__hppa) -#include <sys/mman.h> -typedef msemaphore tsl_t; -msemaphore x; msem_init(&x, 0); msem_lock(&x, 0); msem_unlock(&x, 0); -exit(0); -#else -exit(1); -#endif -}], [db_cv_spinlocks=msem-hppa/func]) -fi - -dnl msemaphore: OSF/1 -if test "$db_cv_spinlocks" = no; then -AC_TRY_LINK([#include <sys/types.h>], -[#include <sys/mman.h>; - typedef msemaphore tsl_t; -msemaphore x; msem_init(&x, 0); msem_lock(&x, 0); msem_unlock(&x, 0);], -[db_cv_spinlocks=msem/func]) -fi - -dnl ReliantUNIX -if test "$db_cv_spinlocks" = no; then -saved_libs="$LIBS" -LIBS="$LIBS -lmproc" -AC_TRY_LINK([#include <ulocks.h>], -[typedef spinlock_t tsl_t; - spinlock_t x; initspin(&x, 1); cspinlock(&x); spinunlock(&x);], -[db_cv_spinlocks=reliant/func],[LIBS="$saved_libs"]) -fi - -dnl SCO: UnixWare has threads in libthread, but OpenServer doesn't. -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if defined(__USLC__) -exit(0); -#endif -exit(1);}], [db_cv_spinlocks=sco/cc]) -fi - -dnl abilock_t: SGI -if test "$db_cv_spinlocks" = no; then -AC_TRY_LINK([#include <abi_mutex.h>], -[typedef abilock_t tsl_t; - abilock_t x; init_lock(&x); acquire_lock(&x); release_lock(&x);], -[db_cv_spinlocks=sgi/func]) -fi - -dnl sema_t: Solaris -dnl The semaphore calls do not work on Solaris 5.5. -if test "$db_cv_spinlocks" = NOTYET; then -AC_TRY_LINK([#include <synch.h>], -[typedef sema_t tsl_t; - sema_t x; - sema_init(&x, 1, USYNC_PROCESS, NULL); sema_wait(&x); sema_post(&x);], -[db_cv_spinlocks=solaris/func]) -fi - -dnl _lock_try/_lock_clear: Solaris -if test "$db_cv_spinlocks" = no; then -AC_TRY_LINK([#include <sys/machlock.h>], -[typedef lock_t tsl_t; - lock_t x; - _lock_try(&x); _lock_clear(&x);], -[db_cv_spinlocks=solaris/func]) -fi - -dnl _check_lock/_clear_lock: AIX -if test "$db_cv_spinlocks" = no; then -AC_TRY_LINK([#include <sys/atomic_op.h>], -[int x; _check_lock(x,0,1); _clear_lock(x,0);], -[db_cv_spinlocks=aix/func]) -fi - -dnl PaRisc/gcc: HP/UX -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if defined(__hppa) -#if defined(__GNUC__) -exit(0); -#endif -#endif -exit(1);}], [db_cv_spinlocks=parisc/gcc]) -fi - -dnl Sparc/gcc: Solaris -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if defined(__sparc__) -#if defined(__GNUC__) -exit(0); -#endif -#endif -exit(1);}], [db_cv_spinlocks=sparc/gcc]) -fi - -dnl 68K/gcc: SunOS -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if (defined(mc68020) || defined(sun3)) -#if defined(__GNUC__) -exit(0); -#endif -#endif -exit(1);}], [db_cv_spinlocks=mc68020/gcc]) -fi - -dnl x86/gcc: BSD/OS, FreeBSD, NetBSD, Linux -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if defined(i386) -#if defined(__GNUC__) -exit(0); -#endif -#endif -exit(1);}], [db_cv_spinlocks=x86/gcc]) -fi - -dnl: uts/cc: UTS -if test "$db_cv_spinlocks" = no; then -AC_TRY_RUN([main(){ -#if defined(_UTS) -exit(0); -#endif -exit(1);}], [db_cv_spinlocks=uts4/cc]) -fi - -]) - -if test "$db_cv_spinlocks" = no; then - AC_MSG_WARN([SPINLOCKS NOT IMPLEMENTED FOR THIS COMPILER/ARCHITECTURE.]) -else - AC_DEFINE(HAVE_SPINLOCKS, 1, [Spinlocks available]) -fi - dnl Some architectures require DB to be compiled with special flags and/or dnl libraries for threaded applications case "$host_os" in @@ -393,72 +241,8 @@ AC_SUBST(spin_line1) AC_SUBST(spin_line2) AC_SUBST(spin_line3) +mutex_align=1; AC_SUBST(mutex_align) -case "$db_cv_spinlocks" in -aix/func) - AC_DEFINE(HAVE_FUNC_AIX, 1, [AIX/function spinlock support]) - mutex_align="sizeof(int)" - spin_line1="#include <sys/atomic_op.h>" - spin_line2="typedef int tsl_t;";; -mc68020/gcc) - AC_DEFINE(HAVE_ASSEM_MC68020_GCC, 1, [m68k/GCC spinlock support]) - mutex_align="1" - spin_line1="typedef unsigned char tsl_t;";; -msem-hppa/func) - AC_DEFINE(HAVE_FUNC_MSEM, 1, [msem/function spinlock support]) - mutex_align="16" - spin_line1="#include <sys/mman.h>" - spin_line2="typedef msemaphore tsl_t;";; -msem/func) - AC_DEFINE(HAVE_FUNC_MSEM, 1, [msem/function spinlock support]) - mutex_align="sizeof(int)" - spin_line1="#include <sys/mman.h>" - spin_line2="typedef msemaphore tsl_t;";; -parisc/gcc) - AC_DEFINE(HAVE_ASSEM_PARISC_GCC, 1, [PARISC/GCC spinlock support]) - mutex_align="16" - spin_line1="typedef u_int32_t tsl_t;";; -reliant/func) - AC_DEFINE(HAVE_FUNC_RELIANT, 1, [Reliant/function spinlock support]) - mutex_align="1" - spin_line1="#include <ulocks.h>" - spin_line2="typedef spinlock_t tsl_t;";; -sgi/func) - AC_DEFINE(HAVE_FUNC_SGI, 1, [SGI/function spinlock support]) - mutex_align="sizeof(int)" - spin_line1="#include <abi_mutex.h>" - spin_line2="typedef abilock_t tsl_t;";; -NOTYET_solaris/func) - AC_DEFINE(HAVE_FUNC_SOLARIS, 1, [Solaris/function spinlock support]) - mutex_align="sizeof(int)" - spin_line1="#include <synch.h>" - spin_line2="typedef sema_t tsl_t;";; -sco/cc) - AC_DEFINE(HAVE_ASSEM_SCO_CC, 1, [SCO/cc Unix spinlock support]) - mutex_align="1" - spin_line1="typedef unsigned char tsl_t;";; -solaris/func) - AC_DEFINE(HAVE_FUNC_SOLARIS, 1, [Solaris/function spinlock support]) - mutex_align="sizeof(int)" - spin_line1="#include <sys/machlock.h>" - spin_line2="typedef lock_t tsl_t;";; -sparc/gcc) - AC_DEFINE(HAVE_ASSEM_SPARC_GCC, 1, [Sparc/GCC spinlock support]) - mutex_align="1" - spin_line1="typedef unsigned char tsl_t;";; -uts4/cc) - AC_DEFINE(HAVE_ASSEM_UTS4_CC, 1, [UTS4/cc spinlock support]) - mutex_align="sizeof(int)" - spin_line1="typedef int tsl_t;" -dnl AC_LIBOBJ="$AC_LIBOBJ uts4.cc.o" - ;; -x86/gcc) - AC_DEFINE(HAVE_ASSEM_X86_GCC, 1, [x86/GCC spinlock support]) - mutex_align="1" - spin_line1="typedef unsigned char tsl_t;";; -*) - mutex_align="1";; -esac dnl Check for the standard shorthand types. AC_SUBST(u_char_decl) @@ -497,9 +281,7 @@ AC_SUBST(u_int8_decl) AC_CACHE_CHECK([for u_int8_t], db_cv_uint8, [dnl AC_TRY_COMPILE([#include <sys/types.h>], u_int8_t foo;, - [db_cv_uint8=yes], - AC_TRY_RUN([main(){exit(sizeof(unsigned char) != 1);}], - [db_cv_uint8="unsigned char"], [db_cv_uint8=no]))]) + [db_cv_uint8=yes])]) if test "$db_cv_uint8" = no; then AC_MSG_ERROR(No unsigned 8-bit integral type.) fi @@ -510,11 +292,7 @@ AC_SUBST(u_int16_decl) AC_CACHE_CHECK([for u_int16_t], db_cv_uint16, [dnl AC_TRY_COMPILE([#include <sys/types.h>], u_int16_t foo;, - [db_cv_uint16=yes], -AC_TRY_RUN([main(){exit(sizeof(unsigned short) != 2);}], - [db_cv_uint16="unsigned short"], -AC_TRY_RUN([main(){exit(sizeof(unsigned int) != 2);}], - [db_cv_uint16="unsigned int"], [db_cv_uint16=no])))]) + [db_cv_uint16=yes])]) if test "$db_cv_uint16" = no; then AC_MSG_ERROR([No unsigned 16-bit integral type.]) fi @@ -525,11 +303,7 @@ AC_SUBST(int16_decl) AC_CACHE_CHECK([for int16_t], db_cv_int16, [dnl AC_TRY_COMPILE([#include <sys/types.h>], int16_t foo;, - [db_cv_int16=yes], -AC_TRY_RUN([main(){exit(sizeof(short) != 2);}], - [db_cv_int16="short"], -AC_TRY_RUN([main(){exit(sizeof(int) != 2);}], - [db_cv_int16="int"], [db_cv_int16=no])))]) + [db_cv_int16=yes])]) if test "$db_cv_int16" = no; then AC_MSG_ERROR([No signed 16-bit integral type.]) fi @@ -540,11 +314,7 @@ AC_SUBST(u_int32_decl) AC_CACHE_CHECK([for u_int32_t], db_cv_uint32, [dnl AC_TRY_COMPILE([#include <sys/types.h>], u_int32_t foo;, - [db_cv_uint32=yes], -AC_TRY_RUN([main(){exit(sizeof(unsigned int) != 4);}], - [db_cv_uint32="unsigned int"], -AC_TRY_RUN([main(){exit(sizeof(unsigned long) != 4);}], - [db_cv_uint32="unsigned long"], [db_cv_uint32=no])))]) + [db_cv_uint32=yes])]) if test "$db_cv_uint32" = no; then AC_MSG_ERROR([No unsigned 32-bit integral type.]) fi @@ -555,11 +325,7 @@ AC_SUBST(int32_decl) AC_CACHE_CHECK([for int32_t], db_cv_int32, [dnl AC_TRY_COMPILE([#include <sys/types.h>], int32_t foo;, - [db_cv_int32=yes], -AC_TRY_RUN([main(){exit(sizeof(int) != 4);}], - [db_cv_int32="int"], -AC_TRY_RUN([main(){exit(sizeof(long) != 4);}], - [db_cv_int32="long"], [db_cv_int32=no])))]) + [db_cv_int32=yes])]) if test "$db_cv_int32" = no; then AC_MSG_ERROR([No signed 32-bit integral type.]) fi @@ -638,20 +404,40 @@ ncurses_ok=no gtk_ok=no -AC_MSG_CHECKING([for gtk-config in your path]) GTK_CONFIG=`which gtk-config` if test -x "$GTK_CONFIG"; then gtk_ok=yes fi -AC_MSG_RESULT($gtk_ok) +AC_MSG_CHECKING([for gtk db editor to be built]) +AC_ARG_ENABLE(gtk, [ --enable-gtk Enable gtk1.x based db editor], [ + if [ test "$enableval" = "yes" ]; then + AC_MSG_RESULT($gtk_ok) + else + AC_MSG_RESULT(no) + gtk_ok=no + fi + ], [ + AC_MSG_RESULT($gtk_ok) + ] +) +AM_CONDITIONAL(EDB_GTK_ED, test "$gtk_ok" = yes) AC_CHECK_LIB(ncurses, putwin, [AC_CHECK_HEADER(ncurses.h, ncurses_ok=yes, ncurses_ok=no)], ncurses_ok=no, -lncurses) - +AC_ARG_ENABLE(ncurses, [ --enable-ncurses Enable ncurses based db editor], [ + if [ test "$enableval" = "yes" ]; then + AC_MSG_RESULT($ncurses_ok) + else + AC_MSG_RESULT(no) + ncurses_ok=no + fi + ], [ + AC_MSG_RESULT($ncurses_ok) + ] +) AM_CONDITIONAL(EDB_VT_ED, test "$ncurses_ok" = yes) -AM_CONDITIONAL(EDB_GTK_ED, test "$gtk_ok" = yes) AC_OUTPUT([ Makefile |
From: <enl...@li...> - 2004-05-24 11:35:36
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/src Modified Files: edb_common.h.in Log Message: 64bit fix =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/src/edb_common.h.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- edb_common.h.in 15 Nov 2002 20:24:38 -0000 1.1 +++ edb_common.h.in 24 May 2004 11:35:26 -0000 1.2 @@ -397,7 +397,7 @@ #define DB_SWAPBYTES (-11) /* Database needs byte swapping. */ #define DB_TXN_CKP (-12) /* Encountered ckp record in log. */ -#define DB_FILE_ID_LEN 20 /* DB file ID length. */ +#define DB_FILE_ID_LEN (16 + sizeof(long)) /* DB file ID length. */ /* DB access method description structure. */ struct __edb { |
From: <enl...@li...> - 2004-06-24 05:53:17
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/m4 Log Message: Directory /cvsroot/enlightenment/e17/libs/edb/m4 added to the repository |
From: <enl...@li...> - 2004-06-24 05:58:44
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/m4 Added Files: ac_expand_dir.m4 ac_path_generic.m4 Log Message: add m4 |
From: <enl...@li...> - 2004-06-24 05:59:15
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: autogen.sh Log Message: add m4 =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/autogen.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- autogen.sh 8 Apr 2002 21:26:53 -0000 1.2 +++ autogen.sh 24 Jun 2004 05:58:38 -0000 1.3 @@ -1,39 +1,13 @@ -#! /bin/sh +#!/bin/sh -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. +rm -rf autom4te.cache +rm -f aclocal.m4 -THEDIR="`pwd`" -cd "$srcdir" -DIE=0 - -abort () { - echo "$1 not found or command failed. Aborting!" - exit 1 -} - -set -x -aclocal || abort "aclocal" -libtoolize --ltdl --force --copy || abort "libtoolize" -autoheader || abort "autoheader" -automake --foreign --add-missing || abort "automake" -autoconf || abort "autoconf" - -if test -z "$*"; then - echo "I am going to run ./configure with no arguments - if you wish " - echo "to pass any to it, please specify them on the $0 command line." -fi - -cd "$THEDIR" - -$srcdir/configure "$@" || abort "configure" - -set +x - -echo "Now type:" -echo -echo "make" -echo "make install" -echo -echo "have fun." +echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \ +&& echo "Running autoheader..."; autoheader \ +&& echo "Running autoconf..."; autoconf \ +&& echo "Running libtoolize..."; libtoolize --automake \ +&& echo "Running automake..."; automake --add-missing --copy --gnu +### If you want this, uncomment it. +./configure "$@" |
From: <enl...@li...> - 2004-10-21 08:13:27
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/src Modified Files: Makefile.am Log Message: cleanies =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/src/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- Makefile.am 15 Apr 2004 07:58:37 -0000 1.13 +++ Makefile.am 21 Oct 2004 08:13:19 -0000 1.14 @@ -5,7 +5,6 @@ # A list of all the files in the current directory which can be regenerated MAINTAINERCLEANFILES = Makefile.in -LDFLAGS = INCLUDES = -I. \ -I$(top_srcdir)/src \ -DLIBDIR=\"$(libdir)\" \ @@ -54,6 +53,5 @@ x86.gcc \ uts4_cc.s -libedb_la_LIBADD = $(LDFLAGS) libedb_la_DEPENDENCIES = $(top_builddir)/config.h libedb_la_LDFLAGS = -version-info 1:5:0 |
From: <enl...@li...> - 2004-10-21 08:13:27
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/tools Modified Files: Makefile.am Log Message: cleanies =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/tools/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- Makefile.am 9 Mar 2004 09:21:56 -0000 1.5 +++ Makefile.am 21 Oct 2004 08:13:19 -0000 1.6 @@ -14,10 +14,8 @@ edb_ed_DEPENDENCIES = $(top_builddir)/src/libedb.la edb_ed_SOURCES = edb_ed.c -edb_ed_LDFLAGS = edb_ed_LDADD = $(top_builddir)/src/libedb.la edb_vt_ed_DEPENDENCIES = $(top_builddir)/src/libedb.la edb_vt_ed_SOURCES = edb_vt_ed.c -edb_vt_ed_LDFLAGS = -lncurses -edb_vt_ed_LDADD = $(top_builddir)/src/libedb.la +edb_vt_ed_LDADD = -lncurses $(top_builddir)/src/libedb.la |
From: <enl...@li...> - 2004-10-22 02:40:39
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/src Modified Files: Makefile.am Log Message: buildie cleanies =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/src/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- Makefile.am 21 Oct 2004 08:13:19 -0000 1.14 +++ Makefile.am 22 Oct 2004 02:40:32 -0000 1.15 @@ -54,4 +54,4 @@ uts4_cc.s libedb_la_DEPENDENCIES = $(top_builddir)/config.h -libedb_la_LDFLAGS = -version-info 1:5:0 +libedb_la_LDFLAGS = $(LDFLAGS) -version-info 1:5:0 |
From: <enl...@li...> - 2004-11-02 03:31:43
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/src Modified Files: Makefile.am Log Message: ldflags =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/src/Makefile.am,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- Makefile.am 22 Oct 2004 02:40:32 -0000 1.15 +++ Makefile.am 2 Nov 2004 03:31:30 -0000 1.16 @@ -54,4 +54,4 @@ uts4_cc.s libedb_la_DEPENDENCIES = $(top_builddir)/config.h -libedb_la_LDFLAGS = $(LDFLAGS) -version-info 1:5:0 +libedb_la_LDFLAGS = -version-info 1:5:0 |
From: <enl...@li...> - 2004-11-09 09:36:30
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Added Files: edb-native.oe edb.oe Log Message: openembedded build files... this makes life so easy to build efl for embedded... :) |
From: <enl...@li...> - 2004-11-25 05:16:36
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/src Modified Files: Edb.h Log Message: hidden symbols support =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/src/Edb.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- Edb.h 26 Aug 2004 20:05:54 -0000 1.15 +++ Edb.h 25 Nov 2004 05:16:26 -0000 1.16 @@ -1,5 +1,22 @@ -#ifndef E_DB_H -#define E_DB_H 1 +#ifndef EDB_H +#define EDB_H 1 + +#ifdef EAPI +#undef EAPI +#endif +#ifdef WIN32 +# ifdef BUILDING_DLL +# define EAPI __declspec(dllexport) +# else +# define EAPI __declspec(dllimport) +# endif +#else +# ifdef GCC_HASCLASSVISIBILITY +# define EAPI __attribute__ ((visibility("default"))) +# else +# define EAPI +# endif +#endif #ifdef __cplusplus extern "C" { @@ -19,7 +36,7 @@ * and write access. It returns NULL if not possible, * a pointer to an E_DB_File otherwise. */ -E_DB_File *e_db_open(const char *file); +EAPI E_DB_File *e_db_open(const char *file); /** * e_db_open_mode - Opens a db with a user-specified mode @@ -30,7 +47,7 @@ * flags. It returns NULL if not possible, a pointer to an E_DB_File * otherwise. */ -E_DB_File *e_db_open_mode(const char *file, int flags); +EAPI E_DB_File *e_db_open_mode(const char *file, int flags); /** * e_db_property_set - Sets the value of a Property Field. @@ -43,7 +60,7 @@ * database (e.g. Type and Version Information). This function will set the * value of a specified property field. */ -void e_db_property_set(E_DB_File *edb, const char *property, const char *value); +EAPI void e_db_property_set(E_DB_File *edb, const char *property, const char *value); /** @@ -54,7 +71,7 @@ * This function will retrieve the data stored in the specified property * field. */ -char *e_db_property_get(E_DB_File *edb, const char *property); +EAPI char *e_db_property_get(E_DB_File *edb, const char *property); /** * e_db_set_type - Convenience function for setting the value @@ -68,7 +85,7 @@ * string having leading and trailing seperating characters. The function adds * the seperation characters itself. */ -void e_db_set_type(E_DB_File * edb, const char *value); +EAPI void e_db_set_type(E_DB_File * edb, const char *value); /** * e_db_is_type - Convenience function for determining if a database is @@ -80,7 +97,7 @@ * data stored in the database. If a match is found (case-insensitive) then 1 * is returned, else 0. */ -int e_db_is_type(E_DB_File * edb, const char *type); +EAPI int e_db_is_type(E_DB_File * edb, const char *type); /** * e_db_open_read - Opens a database for read access only @@ -90,7 +107,7 @@ * It returns NULL if that's not possible, a pointer to an * E_DB_File otherwise. */ -E_DB_File *e_db_open_read(const char *file); +EAPI E_DB_File *e_db_open_read(const char *file); /** @@ -102,7 +119,7 @@ * database. When a database has been closed by all users, * calling e_db_flush() writes the database to disk. */ -void e_db_close(E_DB_File * db); +EAPI void e_db_close(E_DB_File * db); /** * e_db_data_get - Retrieves generic data from the db for a given key @@ -115,7 +132,7 @@ * size of the retrieved data. Returns the retrieved data, * which you need to free when you don't need it any longer. */ -void *e_db_data_get(E_DB_File * db, const char *key, int *size_ret); +EAPI void *e_db_data_get(E_DB_File * db, const char *key, int *size_ret); /** * e_db_data_set - Writes generic data to a database @@ -127,7 +144,7 @@ * This function is the generic way to write items of data to a * database. */ -void e_db_data_set(E_DB_File * db, const char *key, const void *data, int size); +EAPI void e_db_data_set(E_DB_File * db, const char *key, const void *data, int size); /** * e_db_data_del - Removes a key-data pair in a database @@ -137,7 +154,7 @@ * This function removed the key and data in a database that * the given key points to. */ -void e_db_data_del(E_DB_File * db, const char *key); +EAPI void e_db_data_del(E_DB_File * db, const char *key); /** * e_db_usage - returns the number of database files a process uses @@ -145,7 +162,7 @@ * This function returns the number of database files the * current process is using at the moment. */ -int e_db_usage(void); +EAPI int e_db_usage(void); /** * e_db_flush - flushes the contents of unused databases to disk @@ -153,7 +170,7 @@ * This function checks for which databases the use count has * dropped to zero and writes their contents out to disk. */ -void e_db_flush(void); +EAPI void e_db_flush(void); /** * e_db_runtime_flush - time-sensitive version of @efsd_db_flush @@ -162,7 +179,7 @@ * only if they have not been accessed in the last 0.5 seconds. * It returns 1 if the databases have been flushed, 0 otherwise. */ -int e_db_runtime_flush(void); +EAPI int e_db_runtime_flush(void); /* High-level convenience functions ................... */ @@ -177,7 +194,7 @@ * set integer values in a database. It also handles endianness * byteorder flips. */ -void e_db_int_set(E_DB_File * db, const char *key, int val); +EAPI void e_db_int_set(E_DB_File * db, const char *key, int val); /** * e_db_int_get - convenience function for retrieving integers from a database @@ -188,7 +205,7 @@ * This function retrieves an integer for the given key from a database, * handling endianness flips. It returns 1 if the lookup succeeded, 0 otherwise. */ -int e_db_int_get(E_DB_File * db, const char *key, int *val); +EAPI int e_db_int_get(E_DB_File * db, const char *key, int *val); /** * e_db_float_set - convenience function for writing floats to a database @@ -200,7 +217,7 @@ * set float values in a database. It also handles endianness * byteorder flips. */ -void e_db_float_set(E_DB_File * db, const char *key, float val); +EAPI void e_db_float_set(E_DB_File * db, const char *key, float val); /** * e_db_float_get - convenience function for retrieving floats from a database @@ -211,7 +228,7 @@ * This function retrieves a float for the given key from a database, * handling endianness flips. It returns 1 if the lookup succeeded, 0 otherwise. */ -int e_db_float_get(E_DB_File * db, const char *key, float *val); +EAPI int e_db_float_get(E_DB_File * db, const char *key, float *val); /** * e_db_str_set - convenience function for writing strings to a database @@ -222,7 +239,7 @@ * This function is a convenience wrapper around e_db_data_set() to * set character strings in a database. */ -void e_db_str_set(E_DB_File * db, const char *key, const char *str); +EAPI void e_db_str_set(E_DB_File * db, const char *key, const char *str); /** * e_db_str_get - convenience function for retrieving strings from a database @@ -233,7 +250,7 @@ * and returns it. When an error occurs, NULL is returned. You must free * the string when you're finished using free(). */ -char *e_db_str_get(E_DB_File * db, const char *key); +EAPI char *e_db_str_get(E_DB_File * db, const char *key); /** * e_db_type_set - sets the encoding of a database item @@ -247,7 +264,7 @@ * set the types manually when using e_db_int_set(), e_db_float_set() * and e_db_str_set(). */ -void e_db_type_set(E_DB_File * db, const char *key, const char *type); +EAPI void e_db_type_set(E_DB_File * db, const char *key, const char *type); /** * e_db_type_get - returns type of a data item @@ -258,7 +275,7 @@ * the type is unknown, NULL is returned. Otherwise, you need to * free the result when you're finished, using free(). */ -char *e_db_type_get(E_DB_File * db, const char *key); +EAPI char *e_db_type_get(E_DB_File * db, const char *key); /* Dump the db as if it were a list of keys and strings as a list of strings */ /* so the first string si a key, the seocnd is its string value */ @@ -268,7 +285,7 @@ /* KEY: flim STRINg VALUE: boo */ /* Your string list would be: */ /* "blah", "hello", "nym", "goodbye", "flim", "boo:" */ -char **e_db_dump_multi_field(const char *file, const char *file2, int *num_ret); +EAPI char **e_db_dump_multi_field(const char *file, const char *file2, int *num_ret); /** * e_db_dump_key_list - returns list of keys in a database @@ -278,7 +295,7 @@ * This function returns a list of strings of the keys in the database. * You must free the list and the strings in the list when done. */ -char **e_db_dump_key_list(const char *file, int *num_ret); +EAPI char **e_db_dump_key_list(const char *file, int *num_ret); /** * e_db_match_keys - returns list of keys matching a pattern @@ -290,7 +307,7 @@ * that match the given pattern. The pattern is a shell wildcard pattern. * You must free the list and the strings in the list when done. */ -char **e_db_match_keys(E_DB_File *db, const char *pattern, int *num_ret); +EAPI char **e_db_match_keys(E_DB_File *db, const char *pattern, int *num_ret); /* Convenience macros to make setting and getting values form a db easy */ #define E_DB_INT_SET(edb, key, val) \ |
From: <enl...@li...> - 2005-02-21 09:36:21
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: configure.in Log Message: change versions. some went DOWN - because they arent releases and i'm trying to remove the _pre ascii from the version. i added a .001 (a release number) so we can automatically or easiyl generate releases... sorry guys. but it's kind of "for the good of the code". :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/configure.in,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- configure.in 17 Aug 2004 16:00:37 -0000 1.27 +++ configure.in 21 Feb 2005 09:34:28 -0000 1.28 @@ -3,7 +3,7 @@ AC_CANONICAL_HOST AC_CANONICAL_TARGET AC_ISC_POSIX -AM_INIT_AUTOMAKE(edb, 1.0.5) +AM_INIT_AUTOMAKE(edb, 1.0.5.001) AM_CONFIG_HEADER(config.h) AC_PROG_CC AM_PROG_CC_STDC |
From: <enl...@li...> - 2005-02-28 05:35:37
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: configure.in Log Message: 1. e17's init icons get put into an e_box for arrangement nad the init splash determines the location... 2. .002 snap =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/configure.in,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- configure.in 21 Feb 2005 09:34:28 -0000 1.28 +++ configure.in 28 Feb 2005 05:34:59 -0000 1.29 @@ -3,7 +3,7 @@ AC_CANONICAL_HOST AC_CANONICAL_TARGET AC_ISC_POSIX -AM_INIT_AUTOMAKE(edb, 1.0.5.001) +AM_INIT_AUTOMAKE(edb, 1.0.5.002) AM_CONFIG_HEADER(config.h) AC_PROG_CC AM_PROG_CC_STDC |
From: <enl...@li...> - 2005-03-03 05:23:50
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: Makefile.am configure.in Added Files: COPYING-PLAIN README.in edb-native.oe.in edb.bb.in edb.oe.in edb.spec.in edbXnative.bb.in Removed Files: README edb-native.oe edb.bb edb.oe edb.spec edbXnative.bb make_cross_compile_arm.sh Log Message: edb auto-packages now. i'll stop here and see what people say. i see no drawbacks - only a lot of time saving =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- Makefile.am 15 Apr 2004 07:58:28 -0000 1.8 +++ Makefile.am 3 Mar 2005 05:23:38 -0000 1.9 @@ -7,13 +7,31 @@ MAINTAINERCLEANFILES = INSTALL Makefile.in aclocal.m4 config.guess \ config.h.in config.sub configure install-sh \ ltconfig ltmain.sh missing mkinstalldirs \ - stamp-h.in + stamp-h.in build-stamp configure-stamp depcomp \ + README \ + edb.pc \ + edb.spec \ + edb.oe edb-native.oe \ + edb.bb edbXnative.bb \ + debian/changelog -SUBDIRS = src test tools debian +SUBDIRS = src test tools bin_SCRIPTS = edb-config -EXTRA_DIST = README AUTHORS COPYING edb.spec edb.pc.in +EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN edb.spec edb.spec.in \ + README.in README \ + edb.pc.in \ + edb.spec.in edb.spec \ + edb.oe.in edb.oe edb-native.oe.in edb-native.oe \ + edb.bb.in edb.bb edbXnative.bb.in edbXnative.bb \ + debian/changelog.in debian/changelog \ + debian/control \ + debian/copyright \ + debian/libedb1-dev.install \ + debian/libedb1.install \ + debian/rules \ + debian/edb-tools.install pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = edb.pc =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/configure.in,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- configure.in 28 Feb 2005 05:34:59 -0000 1.29 +++ configure.in 3 Mar 2005 05:23:38 -0000 1.30 @@ -5,6 +5,7 @@ AC_ISC_POSIX AM_INIT_AUTOMAKE(edb, 1.0.5.002) AM_CONFIG_HEADER(config.h) + AC_PROG_CC AM_PROG_CC_STDC AC_C_CONST @@ -449,8 +450,14 @@ src/edb_common.h src/edb_int.h src/edb_185.h -debian/Makefile -edb-config], -[ +edb-config +README +edb.spec +edb.oe +edb-native.oe +edb.bb +edbXnative.bb +debian/changelog +], [ chmod +x edb-config ]) |
From: <enl...@li...> - 2005-03-03 05:23:51
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb/debian Added Files: changelog.in Removed Files: Makefile.am changelog Log Message: edb auto-packages now. i'll stop here and see what people say. i see no drawbacks - only a lot of time saving |
From: <enl...@li...> - 2005-03-03 05:25:44
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: README.in Log Message: typo =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/README.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- README.in 3 Mar 2005 05:23:38 -0000 1.1 +++ README.in 3 Mar 2005 05:25:31 -0000 1.2 @@ -12,7 +12,7 @@ ./configure make -(as root unless youare installing in your users directories): +(as root unless you are installing in your users directories): make install ------------------------------------------------------------------------------ |
From: <enl...@li...> - 2005-03-03 06:48:44
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: edb.spec.in Log Message: more generic... =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/edb.spec.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- edb.spec.in 3 Mar 2005 05:23:38 -0000 1.1 +++ edb.spec.in 3 Mar 2005 06:48:35 -0000 1.2 @@ -77,17 +77,17 @@ %files %defattr(-, root, root) -%doc AUTHORS COPYING README src/LICENSE -%{_libdir}/libedb.so.* -%{_libdir}/libedb.la +%doc AUTHORS COPYING COPYING-PLAIN README src/LICENSE +%{_libdir}/*.so.* +%{_libdir}/*.la %files devel %defattr(-, root, root) -%{_libdir}/libedb.so -%{_libdir}/libedb.a -%{_bindir}/edb-config -%{_libdir}/pkgconfig/edb.pc -%{_includedir}/Edb* +%{_libdir}/*.so +%{_libdir}/*.a +%{_bindir}/%{name}-config +%{_libdir}/pkgconfig/* +%{_includedir}/*.h %files ed %defattr(-, root, root) |
From: <enl...@li...> - 2005-03-03 06:52:52
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: edb.spec.in Log Message: back to original configre... =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/edb.spec.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- edb.spec.in 3 Mar 2005 06:48:35 -0000 1.2 +++ edb.spec.in 3 Mar 2005 06:52:38 -0000 1.3 @@ -59,8 +59,9 @@ %setup -q %build -#%{configure} --prefix=%{_prefix} -./configure --prefix=%{_prefix} +%{configure} --prefix=%{_prefix} +### use this if you have build problems +#./configure --prefix=%{_prefix} %{__make} %{?_smp_mflags} %{?mflags} %install |
From: <enl...@li...> - 2005-03-03 14:03:03
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: edb.spec.in Log Message: includes more generic... =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/edb.spec.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- edb.spec.in 3 Mar 2005 06:52:38 -0000 1.3 +++ edb.spec.in 3 Mar 2005 14:02:44 -0000 1.4 @@ -88,7 +88,7 @@ %{_libdir}/*.a %{_bindir}/%{name}-config %{_libdir}/pkgconfig/* -%{_includedir}/*.h +%{_includedir}/* %files ed %defattr(-, root, root) |
From: <enl...@li...> - 2005-03-04 12:18:38
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: Makefile.am Log Message: fix makefile =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- Makefile.am 3 Mar 2005 05:23:38 -0000 1.9 +++ Makefile.am 4 Mar 2005 12:18:21 -0000 1.10 @@ -19,7 +19,7 @@ bin_SCRIPTS = edb-config -EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN edb.spec edb.spec.in \ +EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN edb.spec edb.spec.in \ README.in README \ edb.pc.in \ edb.spec.in edb.spec \ |
From: <enl...@li...> - 2005-03-04 12:20:39
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: Makefile.am Log Message: fix =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- Makefile.am 4 Mar 2005 12:18:21 -0000 1.10 +++ Makefile.am 4 Mar 2005 12:20:23 -0000 1.11 @@ -19,7 +19,7 @@ bin_SCRIPTS = edb-config -EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN edb.spec edb.spec.in \ +EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN \ README.in README \ edb.pc.in \ edb.spec.in edb.spec \ |