diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2004-08-07 21:15:01 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2004-08-07 21:15:01 +0000 |
commit | 9396df33949f2fa08b40df0e10f3153034609e1e (patch) | |
tree | 45189778b0863f294b10bd74ee21134367d7e5bb /app-i18n | |
parent | stable on amd64 (diff) | |
download | gentoo-2-9396df33949f2fa08b40df0e10f3153034609e1e.tar.gz gentoo-2-9396df33949f2fa08b40df0e10f3153034609e1e.tar.bz2 gentoo-2-9396df33949f2fa08b40df0e10f3153034609e1e.zip |
Removed obsolete versions, added 1.2.4, revised all to use new wxwidgets eclass
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/poedit/ChangeLog | 12 | ||||
-rw-r--r-- | app-i18n/poedit/Manifest | 17 | ||||
-rw-r--r-- | app-i18n/poedit/files/digest-poedit-1.1.8 | 1 | ||||
-rw-r--r-- | app-i18n/poedit/files/digest-poedit-1.2.1 | 1 | ||||
-rw-r--r-- | app-i18n/poedit/files/digest-poedit-1.2.2 | 1 | ||||
-rw-r--r-- | app-i18n/poedit/files/digest-poedit-1.2.4 | 1 | ||||
-rw-r--r-- | app-i18n/poedit/files/poedit-1.1.8-gentoo.diff | 54 | ||||
-rw-r--r-- | app-i18n/poedit/files/poedit-1.2.1-gentoo_make_paths.patch | 60 | ||||
-rw-r--r-- | app-i18n/poedit/files/poedit-1.2.5-db4-compilation.patch | 1370 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.1.8.ebuild | 44 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.2.1.ebuild | 40 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.2.2.ebuild | 32 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.2.3.ebuild | 21 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.2.4.ebuild | 48 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.2.5.ebuild | 24 |
15 files changed, 101 insertions, 1625 deletions
diff --git a/app-i18n/poedit/ChangeLog b/app-i18n/poedit/ChangeLog index ee913e3d97f2..e75bc5f70200 100644 --- a/app-i18n/poedit/ChangeLog +++ b/app-i18n/poedit/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-util/poedit # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/ChangeLog,v 1.2 2004/07/27 00:15:00 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/ChangeLog,v 1.3 2004/08/07 21:15:01 pythonhead Exp $ + +*poedit-1.2.4 (07 Aug 2004) + + 07 Aug 2004; Rob Cakebread <pythonhead@gentoo.org> + -files/poedit-1.1.8-gentoo.diff, + -files/poedit-1.2.1-gentoo_make_paths.patch, -poedit-1.1.8.ebuild, + -files/poedit-1.2.5-db4-compilation.patch, + -poedit-1.2.1.ebuild, -poedit-1.2.2.ebuild, poedit-1.2.3.ebuild, + +poedit-1.2.4.ebuild, poedit-1.2.5.ebuild: + Removed poedit-1.2.5-db4-compilation.patch and put it on gentoo mirror, removed obsolete versions, added 1.2.4, revised all to use new wxwidgets eclass *poedit-1.2.5 (26 Jul 2004) diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest index 1f3e60aa40b2..4641142d2dd9 100644 --- a/app-i18n/poedit/Manifest +++ b/app-i18n/poedit/Manifest @@ -1,15 +1,8 @@ -MD5 11cf14f2b5f2954eb83ac9501e6a4704 poedit-1.2.3.ebuild 736 -MD5 dd1515113a08d73a5d4e80b5e921ce38 poedit-1.2.2.ebuild 737 -MD5 77b0f9be8c97ce974cca7558266121c7 poedit-1.1.8.ebuild 861 -MD5 77b472122442a710bc7ddf3b0341169d poedit-1.2.1.ebuild 873 +MD5 f62c59540496169e8e3297e497be3d45 poedit-1.2.3.ebuild 1229 +MD5 b20ff74be514ed16e9bf68f10f3f2bc6 poedit-1.2.4.ebuild 1261 +MD5 c4dcb14816a1a430abda29b21caf9030 poedit-1.2.5.ebuild 1383 MD5 c4586cce6fe0dba3cd10f69fbd0515ca metadata.xml 221 -MD5 a4d1c6ab9b814af430a22dda6d0b6d22 ChangeLog 2465 -MD5 41ccf31c5a0a9e33c97c707ed45f73e2 poedit-1.2.5.ebuild 896 +MD5 761e483ba646b082d4aecd6794a674f9 ChangeLog 2963 MD5 b3d482db4c3c5e91531023382d99bd3c files/digest-poedit-1.2.3 65 -MD5 730a6ba49d925ec4f3d7d22e9ef472cb files/poedit-1.2.1-gentoo_make_paths.patch 3312 -MD5 81873b36bb8d3779c1a18b8d1873101e files/digest-poedit-1.1.8 65 -MD5 014fb3d60f22cd3a2e83089144654400 files/poedit-1.1.8-gentoo.diff 2716 -MD5 d83cf779012bf08a401d19facfb2dc51 files/digest-poedit-1.2.1 65 -MD5 ae456c994f165049b2f813dec77a7473 files/digest-poedit-1.2.2 65 -MD5 a7b4c168362b9d3a6856b27281c91cab files/poedit-1.2.5-db4-compilation.patch 45317 +MD5 666026abf1982aa37ec3fc7f1a84f40a files/digest-poedit-1.2.4 65 MD5 38cc6b52734aa782b731e49d13ae958b files/digest-poedit-1.2.5 65 diff --git a/app-i18n/poedit/files/digest-poedit-1.1.8 b/app-i18n/poedit/files/digest-poedit-1.1.8 deleted file mode 100644 index 1c4deba49dfc..000000000000 --- a/app-i18n/poedit/files/digest-poedit-1.1.8 +++ /dev/null @@ -1 +0,0 @@ -MD5 544a7f9b58180f484a3f46d345de32b4 poedit-1.1.8.tar.bz2 487671 diff --git a/app-i18n/poedit/files/digest-poedit-1.2.1 b/app-i18n/poedit/files/digest-poedit-1.2.1 deleted file mode 100644 index bc1d2096b24d..000000000000 --- a/app-i18n/poedit/files/digest-poedit-1.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 0e433328e9a5377f4b1d724dec6334f8 poedit-1.2.1.tar.bz2 724242 diff --git a/app-i18n/poedit/files/digest-poedit-1.2.2 b/app-i18n/poedit/files/digest-poedit-1.2.2 deleted file mode 100644 index 33c2228ace1d..000000000000 --- a/app-i18n/poedit/files/digest-poedit-1.2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 3af089d08f4492468faac487680ff7e2 poedit-1.2.2.tar.bz2 844185 diff --git a/app-i18n/poedit/files/digest-poedit-1.2.4 b/app-i18n/poedit/files/digest-poedit-1.2.4 new file mode 100644 index 000000000000..0d6c5bdbec83 --- /dev/null +++ b/app-i18n/poedit/files/digest-poedit-1.2.4 @@ -0,0 +1 @@ +MD5 18eda0880be1e46e81024e2dd89ebac0 poedit-1.2.4.tar.gz 1285685 diff --git a/app-i18n/poedit/files/poedit-1.1.8-gentoo.diff b/app-i18n/poedit/files/poedit-1.1.8-gentoo.diff deleted file mode 100644 index 0297457dbc60..000000000000 --- a/app-i18n/poedit/files/poedit-1.1.8-gentoo.diff +++ /dev/null @@ -1,54 +0,0 @@ -diff -u install.orig/Makefile.am install/Makefile.am ---- install.orig/Makefile.am Sat Nov 3 16:34:09 2001 -+++ install/Makefile.am Fri Jan 25 16:22:30 2002 -@@ -4,17 +4,17 @@ - - if USE_KDE - install-kde: -- mkdir -p $(KDE_DATA_DIR)/icons -- mkdir -p $(KDE_DATA_DIR)/mimelnk/application -- mkdir -p $(KDE_DATA_DIR)/applnk/Development -+ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/icons -+ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application -+ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development - if test -w $(KDE_DATA_DIR)/icons ; then \ -- install -m 644 $(top_srcdir)/src/appicon.xpm $(KDE_DATA_DIR)/icons/poedit.xpm; \ -+ install -m 644 $(top_srcdir)/src/appicon.xpm $(DESTDIR)/$(KDE_DATA_DIR)/icons/poedit.xpm; \ - fi - if test -w $(KDE_DATA_DIR)/mimelnk/application ; then \ -- install -m 644 $(srcdir)/x-po.kdelnk $(KDE_DATA_DIR)/mimelnk/application; \ -+ install -m 644 $(srcdir)/x-po.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application; \ - fi - if test -w $(KDE_DATA_DIR)/applnk/Development ; then \ -- install -m 644 $(srcdir)/poedit.kdelnk $(KDE_DATA_DIR)/applnk/Development; \ -+ install -m 644 $(srcdir)/poedit.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development; \ - fi - - else -diff -u install.orig/Makefile.in install/Makefile.in ---- install.orig/Makefile.in Mon Nov 5 16:11:56 2001 -+++ install/Makefile.in Fri Jan 25 16:23:09 2002 -@@ -189,17 +189,17 @@ - install-data-local: install-gnome install-kde - - @USE_KDE_TRUE@install-kde: --@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/icons --@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/mimelnk/application --@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/applnk/Development -+@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/icons -+@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application -+@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development - @USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/icons ; then \ --@USE_KDE_TRUE@ install -m 644 $(top_srcdir)/src/appicon.xpm $(KDE_DATA_DIR)/icons/poedit.xpm; \ -+@USE_KDE_TRUE@ install -m 644 $(top_srcdir)/src/appicon.xpm $(DESTDIR)/$(KDE_DATA_DIR)/icons/poedit.xpm; \ - @USE_KDE_TRUE@ fi - @USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/mimelnk/application ; then \ --@USE_KDE_TRUE@ install -m 644 $(srcdir)/x-po.kdelnk $(KDE_DATA_DIR)/mimelnk/application; \ -+@USE_KDE_TRUE@ install -m 644 $(srcdir)/x-po.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application; \ - @USE_KDE_TRUE@ fi - @USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/applnk/Development ; then \ --@USE_KDE_TRUE@ install -m 644 $(srcdir)/poedit.kdelnk $(KDE_DATA_DIR)/applnk/Development; \ -+@USE_KDE_TRUE@ install -m 644 $(srcdir)/poedit.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development; \ - @USE_KDE_TRUE@ fi - - @USE_KDE_FALSE@install-kde: diff --git a/app-i18n/poedit/files/poedit-1.2.1-gentoo_make_paths.patch b/app-i18n/poedit/files/poedit-1.2.1-gentoo_make_paths.patch deleted file mode 100644 index 4b7c968c955d..000000000000 --- a/app-i18n/poedit/files/poedit-1.2.1-gentoo_make_paths.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -ur poedit-1.2.1/install/Makefile.am poedit-1.2.1.patched/install/Makefile.am ---- poedit-1.2.1/install/Makefile.am 2002-07-02 23:28:02.000000000 +0200 -+++ poedit-1.2.1.patched/install/Makefile.am 2003-03-09 00:56:30.000000000 +0100 -@@ -4,17 +4,17 @@ - - if USE_KDE - install-kde: -- mkdir -p $(KDE_DATA_DIR)/icons -- mkdir -p $(KDE_DATA_DIR)/mimelnk/application -- mkdir -p $(KDE_DATA_DIR)/applnk/Development -- if test -w $(KDE_DATA_DIR)/icons ; then \ -- install -m 644 $(top_srcdir)/src/appicon.xpm $(KDE_DATA_DIR)/icons/poedit.xpm; \ -+ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/icons -+ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application -+ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development -+ if test -w $(DESTDIR)/$(KDE_DATA_DIR)/icons ; then \ -+ install -m 644 $(top_srcdir)/src/appicon.xpm $(DESTDIR)/$(KDE_DATA_DIR)/icons/poedit.xpm; \ - fi -- if test -w $(KDE_DATA_DIR)/mimelnk/application ; then \ -- install -m 644 $(srcdir)/x-po.desktop $(KDE_DATA_DIR)/mimelnk/application; \ -+ if test -w $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application ; then \ -+ install -m 644 $(srcdir)/x-po.desktop $(DISTDIR)/$(KDE_DATA_DIR)/mimelnk/application; \ - fi -- if test -w $(KDE_DATA_DIR)/applnk/Development ; then \ -- install -m 644 $(srcdir)/poedit.desktop $(KDE_DATA_DIR)/applnk/Development; \ -+ if test -w $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development ; then \ -+ install -m 644 $(srcdir)/poedit.desktop $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development; \ - fi - - else -diff -ur poedit-1.2.1/install/Makefile.in poedit-1.2.1.patched/install/Makefile.in ---- poedit-1.2.1/install/Makefile.in 2003-02-06 17:31:14.000000000 +0100 -+++ poedit-1.2.1.patched/install/Makefile.in 2003-03-09 00:57:07.000000000 +0100 -@@ -201,17 +201,17 @@ - install-data-local: install-gnome install-kde - - @USE_KDE_TRUE@install-kde: --@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/icons --@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/mimelnk/application --@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/applnk/Development --@USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/icons ; then \ --@USE_KDE_TRUE@ install -m 644 $(top_srcdir)/src/appicon.xpm $(KDE_DATA_DIR)/icons/poedit.xpm; \ -+@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/icons -+@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application -+@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development -+@USE_KDE_TRUE@ if test -w $(DESTDIR)/$(KDE_DATA_DIR)/icons ; then \ -+@USE_KDE_TRUE@ install -m 644 $(top_srcdir)/src/appicon.xpm $(DESTDIR)/$(KDE_DATA_DIR)/icons/poedit.xpm; \ - @USE_KDE_TRUE@ fi --@USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/mimelnk/application ; then \ --@USE_KDE_TRUE@ install -m 644 $(srcdir)/x-po.desktop $(KDE_DATA_DIR)/mimelnk/application; \ -+@USE_KDE_TRUE@ if test -w $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application ; then \ -+@USE_KDE_TRUE@ install -m 644 $(srcdir)/x-po.desktop $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application; \ - @USE_KDE_TRUE@ fi --@USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/applnk/Development ; then \ --@USE_KDE_TRUE@ install -m 644 $(srcdir)/poedit.desktop $(KDE_DATA_DIR)/applnk/Development; \ -+@USE_KDE_TRUE@ if test -w $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development ; then \ -+@USE_KDE_TRUE@ install -m 644 $(srcdir)/poedit.desktop $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development; \ - @USE_KDE_TRUE@ fi - - @USE_KDE_FALSE@install-kde: diff --git a/app-i18n/poedit/files/poedit-1.2.5-db4-compilation.patch b/app-i18n/poedit/files/poedit-1.2.5-db4-compilation.patch deleted file mode 100644 index 0f2ac8ab5222..000000000000 --- a/app-i18n/poedit/files/poedit-1.2.5-db4-compilation.patch +++ /dev/null @@ -1,1370 +0,0 @@ -diff -ruP poedit-1.2.5.orig/acinclude.m4 poedit-1.2.5/acinclude.m4 ---- poedit-1.2.5.orig/acinclude.m4 2003-10-31 12:12:40.000000000 +0100 -+++ poedit-1.2.5/acinclude.m4 2004-07-14 23:47:04.000000000 +0200 -@@ -56,50 +56,67 @@ - - AC_DEFUN(FIND_BERKELEY_DB, - [ -- USE_TRANSMEM=1 -+ USE_TRANSMEM=yes - -- DB_VERSION=0 - dnl NB: can't look for db_create function because some builds of db-4.x - dnl have safe function names such as db_create_4000 -- AC_SEARCH_LIBS(db_create, db db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-3.6 db-3.5 db-3.4 db-3.3 db-3.2 db-3.1, -- [ -- if echo $LIBS | grep -q '\-ldb-4\.' ; then -- DB_HEADER_DIR="db4/" -- elif echo $LIBS | grep -q '\-ldb-3\.' ; then -- DB_HEADER_DIR="db3/" -- fi -- ], -- [ -- USE_TRANSMEM=0 -- AC_MSG_WARN([ --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- ]) -- ]) -- -- if test x$USE_TRANSMEM != x0 ; then -- AC_CHECK_HEADER(${DB_HEADER_DIR}db.h, -- [DB_HEADER="${DB_HEADER_DIR}db.h"], -- [ -- AC_CHECK_HEADER(db.h, [DB_HEADER=db.h], -- [ -- USE_TRANSMEM=0 -- AC_MSG_RESULT(not found) -- AC_MSG_WARN([ --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- ]) -- ]) -- ]) -- -- if test x$USE_TRANSMEM != x0 ; then -- CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"$DB_HEADER\\\"" -- fi -- fi - -- if test x$USE_TRANSMEM != x0 ; then -+ old_LIBS="$LIBS" -+ -+ DB_HEADER="" -+ DB_LIBS="" -+ -+ AC_MSG_CHECKING([for Berkeley DB]) -+ -+ for version in "" 5.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 3.6 3.5 3.4 3.3 3.2 3.1 ; do -+ -+ if test -z $version ; then -+ db_lib="-ldb" -+ try_headers="db.h" -+ else -+ db_lib="-ldb-$version" -+ try_headers="db$version/db.h db`echo $version | sed -e 's,\..*,,g'`/db.h" -+ fi -+ -+ LIBS="$old_LIBS $db_lib" -+ -+ for db_hdr in $try_headers ; do -+ if test -z $DB_HEADER ; then -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [ -+ #include <${db_hdr}> -+ ], -+ [ -+ DB *db; -+ db_create(&db, NULL, 0); -+ ])], -+ [ -+ DB_HEADER="$db_hdr" -+ DB_LIBS="$db_lib" -+ AC_MSG_RESULT([header $DB_HEADER, library $DB_LIBS]) -+ ]) -+ fi -+ done -+ done -+ -+ LIBS="$old_LIBS" -+ -+ if test -z $DB_HEADER ; then -+ AC_MSG_RESULT([not found]) -+ -+ USE_TRANSMEM=no -+ AC_MSG_WARN([cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature]) -+ fi -+ -+ if test x$USE_TRANSMEM != xno ; then -+ #CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"$DB_HEADER\\\"" -+ AC_DEFINE(USE_TRANSMEM) -+ AC_DEFINE_UNQUOTED(DB_HEADER, ["$DB_HEADER"]) -+ LIBS="$LIBS $DB_LIBS" -+ fi -+ -+ if test x$USE_TRANSMEM != xno ; then - AC_MSG_CHECKING([if db_open requires transaction argument]) - AC_TRY_COMPILE([#include "$DB_HEADER"], - [ -diff -ruP poedit-1.2.5.orig/aclocal.m4 poedit-1.2.5/aclocal.m4 ---- poedit-1.2.5.orig/aclocal.m4 2004-01-25 23:17:51.000000000 +0100 -+++ poedit-1.2.5/aclocal.m4 2004-07-14 23:51:50.000000000 +0200 -@@ -1,4 +1,4 @@ --# generated automatically by aclocal 1.7.8 -*- Autoconf -*- -+# generated automatically by aclocal 1.7.9 -*- Autoconf -*- - - # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 - # Free Software Foundation, Inc. -@@ -69,50 +69,67 @@ - - AC_DEFUN(FIND_BERKELEY_DB, - [ -- USE_TRANSMEM=1 -+ USE_TRANSMEM=yes - -- DB_VERSION=0 - dnl NB: can't look for db_create function because some builds of db-4.x - dnl have safe function names such as db_create_4000 -- AC_SEARCH_LIBS(db_create, db db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-3.6 db-3.5 db-3.4 db-3.3 db-3.2 db-3.1, -- [ -- if echo $LIBS | grep -q '\-ldb-4\.' ; then -- DB_HEADER_DIR="db4/" -- elif echo $LIBS | grep -q '\-ldb-3\.' ; then -- DB_HEADER_DIR="db3/" -- fi -- ], -- [ -- USE_TRANSMEM=0 -- AC_MSG_WARN([ --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- ]) -- ]) -- -- if test x$USE_TRANSMEM != x0 ; then -- AC_CHECK_HEADER(${DB_HEADER_DIR}db.h, -- [DB_HEADER="${DB_HEADER_DIR}db.h"], -- [ -- AC_CHECK_HEADER(db.h, [DB_HEADER=db.h], -- [ -- USE_TRANSMEM=0 -- AC_MSG_RESULT(not found) -- AC_MSG_WARN([ --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- ]) -- ]) -- ]) - -- if test x$USE_TRANSMEM != x0 ; then -- CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"$DB_HEADER\\\"" -- fi -- fi -+ old_LIBS="$LIBS" -+ -+ DB_HEADER="" -+ DB_LIBS="" -+ -+ AC_MSG_CHECKING([for Berkeley DB]) -+ -+ for version in "" 5.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 3.6 3.5 3.4 3.3 3.2 3.1 ; do -+ -+ if test -z $version ; then -+ db_lib="-ldb" -+ try_headers="db.h" -+ else -+ db_lib="-ldb-$version" -+ try_headers="db$version/db.h db`echo $version | sed -e 's,\..*,,g'`/db.h" -+ fi -+ -+ LIBS="$old_LIBS $db_lib" -+ -+ for db_hdr in $try_headers ; do -+ if test -z $DB_HEADER ; then -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [ -+ #include <${db_hdr}> -+ ], -+ [ -+ DB *db; -+ db_create(&db, NULL, 0); -+ ])], -+ [ -+ DB_HEADER="$db_hdr" -+ DB_LIBS="$db_lib" -+ AC_MSG_RESULT([header $DB_HEADER, library $DB_LIBS]) -+ ]) -+ fi -+ done -+ done -+ -+ LIBS="$old_LIBS" -+ -+ if test -z $DB_HEADER ; then -+ AC_MSG_RESULT([not found]) -+ -+ USE_TRANSMEM=no -+ AC_MSG_WARN([cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature]) -+ fi -+ -+ if test x$USE_TRANSMEM != xno ; then -+ #CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"$DB_HEADER\\\"" -+ AC_DEFINE(USE_TRANSMEM) -+ AC_DEFINE_UNQUOTED(DB_HEADER, ["$DB_HEADER"]) -+ LIBS="$LIBS $DB_LIBS" -+ fi - -- if test x$USE_TRANSMEM != x0 ; then -+ if test x$USE_TRANSMEM != xno ; then - AC_MSG_CHECKING([if db_open requires transaction argument]) - AC_TRY_COMPILE([#include "$DB_HEADER"], - [ -@@ -327,7 +344,7 @@ - # Call AM_AUTOMAKE_VERSION so it can be traced. - # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. - AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -- [AM_AUTOMAKE_VERSION([1.7.8])]) -+ [AM_AUTOMAKE_VERSION([1.7.9])]) - - # Helper functions for option handling. -*- Autoconf -*- - -@@ -1027,7 +1044,7 @@ - dnl --wx-config command line options - dnl --------------------------------------------------------------------------- - --AC_DEFUN(AM_OPTIONS_WXCONFIG, -+AC_DEFUN([AM_OPTIONS_WXCONFIG], - [ - AC_ARG_WITH(wxdir, - [ --with-wxdir=PATH Use uninstalled version of wxWindows in PATH], -@@ -1067,7 +1084,7 @@ - dnl - dnl Get the cflags and libraries from the wx-config script - dnl --AC_DEFUN(AM_PATH_WXCONFIG, -+AC_DEFUN([AM_PATH_WXCONFIG], - [ - dnl do we have wx-config name: it can be wx-config or wxd-config or ... - if test x${WX_CONFIG_NAME+set} != xset ; then -diff -ruP poedit-1.2.5.orig/configure poedit-1.2.5/configure ---- poedit-1.2.5.orig/configure 2004-01-25 23:17:58.000000000 +0100 -+++ poedit-1.2.5/configure 2004-07-14 23:51:53.000000000 +0200 -@@ -274,44 +274,7 @@ - PACKAGE_BUGREPORT='vaclav.slavik@matfyz.cz' - - ac_unique_file="README" --# Factoring default headers for most tests. --ac_includes_default="\ --#include <stdio.h> --#if HAVE_SYS_TYPES_H --# include <sys/types.h> --#endif --#if HAVE_SYS_STAT_H --# include <sys/stat.h> --#endif --#if STDC_HEADERS --# include <stdlib.h> --# include <stddef.h> --#else --# if HAVE_STDLIB_H --# include <stdlib.h> --# endif --#endif --#if HAVE_STRING_H --# if !STDC_HEADERS && HAVE_MEMORY_H --# include <memory.h> --# endif --# include <string.h> --#endif --#if HAVE_STRINGS_H --# include <strings.h> --#endif --#if HAVE_INTTYPES_H --# include <inttypes.h> --#else --# if HAVE_STDINT_H --# include <stdint.h> --# endif --#endif --#if HAVE_UNISTD_H --# include <unistd.h> --#endif" -- --ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LN_S RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP ZIP WX_CONFIG_PATH WX_CPPFLAGS WX_CFLAGS WX_CXXFLAGS WX_CFLAGS_ONLY WX_CXXFLAGS_ONLY WX_LIBS WX_LIBS_STATIC WX_VERSION USE_KDE_TRUE USE_KDE_FALSE USE_GNOME_TRUE USE_GNOME_FALSE KDE_CONFIG KDE_DATA_DIR GNOME_DATA_DIR CPP EGREP USE_WINDOWS_TRUE USE_WINDOWS_FALSE RESCOMP WX_CONFIG_NAME POEDIT_WX_LIBS RC_WX_INCLUDES CATALOGS_TO_INSTALL LIBOBJS LTLIBOBJS' -+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LN_S RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP ZIP WX_CONFIG_PATH WX_CPPFLAGS WX_CFLAGS WX_CXXFLAGS WX_CFLAGS_ONLY WX_CXXFLAGS_ONLY WX_LIBS WX_LIBS_STATIC WX_VERSION USE_KDE_TRUE USE_KDE_FALSE USE_GNOME_TRUE USE_GNOME_FALSE KDE_CONFIG KDE_DATA_DIR GNOME_DATA_DIR USE_WINDOWS_TRUE USE_WINDOWS_FALSE RESCOMP WX_CONFIG_NAME POEDIT_WX_LIBS RC_WX_INCLUDES CATALOGS_TO_INSTALL LIBOBJS LTLIBOBJS' - ac_subst_files='' - - # Initialize some variables set by options. -@@ -784,10 +747,6 @@ - ac_env_ZIP_value=$ZIP - ac_cv_env_ZIP_set=${ZIP+set} - ac_cv_env_ZIP_value=$ZIP --ac_env_CPP_set=${CPP+set} --ac_env_CPP_value=$CPP --ac_cv_env_CPP_set=${CPP+set} --ac_cv_env_CPP_value=$CPP - - # - # Report the --help message. -@@ -898,7 +857,6 @@ - CXXFLAGS C++ compiler flags - CXXCPP C++ preprocessor - ZIP Path to zip executable -- CPP C preprocessor - - Use these variables to override the choices made by `configure' or to help - it to find libraries and programs with nonstandard names/locations. -@@ -4209,7 +4167,15 @@ - if $WX_CONFIG_NAME --cxxflags | grep -q WXMSW; then - use_windows=yes - if test x$USE_TRANSMEM != xno ; then -- CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"db.h\\\" -I\$(top_srcdir)/extras/win32-db3" -+ cat >>confdefs.h <<\_ACEOF -+#define USE_TRANSMEM 1 -+_ACEOF -+ -+ cat >>confdefs.h <<_ACEOF -+#define DB_HEADER "db.h" -+_ACEOF -+ -+ CXXFLAGS="$CXXFLAGS -I\$(top_srcdir)/extras/win32-db3" - fi - - -@@ -4331,283 +4297,55 @@ - - if test x$USE_TRANSMEM != xno ; then - --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu --echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 --echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 --# On Suns, sometimes $CPP names a directory. --if test -n "$CPP" && test -d "$CPP"; then -- CPP= --fi --if test -z "$CPP"; then -- if test "${ac_cv_prog_CPP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- # Double quotes because CPP needs to be expanded -- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" -- do -- ac_preproc_ok=false --for ac_c_preproc_warn_flag in '' yes --do -- # Use a header file that comes with gcc, so configuring glibc -- # with a fresh cross-compiler works. -- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since -- # <limits.h> exists even on freestanding compilers. -- # On the NeXT, cc -E runs the code through the compiler's parser, -- # not just through cpp. "Syntax error" is here to catch this case. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#ifdef __STDC__ --# include <limits.h> --#else --# include <assert.h> --#endif -- Syntax error --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_c_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- # Broken: fails on valid input. --continue --fi --rm -f conftest.err conftest.$ac_ext -- -- # OK, works on sane cases. Now check whether non-existent headers -- # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <ac_nonexistent.h> --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_c_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- # Broken: success on invalid input. --continue --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- # Passes both tests. --ac_preproc_ok=: --break --fi --rm -f conftest.err conftest.$ac_ext -- --done --# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. --rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- break --fi -- -- done -- ac_cv_prog_CPP=$CPP -- --fi -- CPP=$ac_cv_prog_CPP --else -- ac_cv_prog_CPP=$CPP --fi --echo "$as_me:$LINENO: result: $CPP" >&5 --echo "${ECHO_T}$CPP" >&6 --ac_preproc_ok=false --for ac_c_preproc_warn_flag in '' yes --do -- # Use a header file that comes with gcc, so configuring glibc -- # with a fresh cross-compiler works. -- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since -- # <limits.h> exists even on freestanding compilers. -- # On the NeXT, cc -E runs the code through the compiler's parser, -- # not just through cpp. "Syntax error" is here to catch this case. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#ifdef __STDC__ --# include <limits.h> --#else --# include <assert.h> --#endif -- Syntax error --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_c_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- # Broken: fails on valid input. --continue --fi --rm -f conftest.err conftest.$ac_ext -+ USE_TRANSMEM=yes - -- # OK, works on sane cases. Now check whether non-existent headers -- # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <ac_nonexistent.h> --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_c_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- # Broken: success on invalid input. --continue --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- # Passes both tests. --ac_preproc_ok=: --break --fi --rm -f conftest.err conftest.$ac_ext -+ old_LIBS="$LIBS" - --done --# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. --rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- : --else -- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check --See \`config.log' for more details." >&5 --echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --fi -+ DB_HEADER="" -+ DB_LIBS="" - --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ echo "$as_me:$LINENO: checking for Berkeley DB" >&5 -+echo $ECHO_N "checking for Berkeley DB... $ECHO_C" >&6 - -+ for version in "" 5.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 3.6 3.5 3.4 3.3 3.2 3.1 ; do - --echo "$as_me:$LINENO: checking for egrep" >&5 --echo $ECHO_N "checking for egrep... $ECHO_C" >&6 --if test "${ac_cv_prog_egrep+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if echo a | (grep -E '(a|b)') >/dev/null 2>&1 -- then ac_cv_prog_egrep='grep -E' -- else ac_cv_prog_egrep='egrep' -+ if test -z $version ; then -+ db_lib="-ldb" -+ try_headers="db.h" -+ else -+ db_lib="-ldb-$version" -+ try_headers="db$version/db.h db`echo $version | sed -e 's,\..*,,g'`/db.h" - fi --fi --echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 --echo "${ECHO_T}$ac_cv_prog_egrep" >&6 -- EGREP=$ac_cv_prog_egrep - -+ LIBS="$old_LIBS $db_lib" - --echo "$as_me:$LINENO: checking for ANSI C header files" >&5 --echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 --if test "${ac_cv_header_stdc+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF -+ for db_hdr in $try_headers ; do -+ if test -z $DB_HEADER ; then -+ cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#include <stdlib.h> --#include <stdarg.h> --#include <string.h> --#include <float.h> -+ -+ #include <${db_hdr}> - - int - main () - { - -+ DB *db; -+ db_create(&db, NULL, 0); -+ - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 -@@ -4621,667 +4359,54 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -+ { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_header_stdc=yes -+ -+ DB_HEADER="$db_hdr" -+ DB_LIBS="$db_lib" -+ echo "$as_me:$LINENO: result: header $DB_HEADER, library $DB_LIBS" >&5 -+echo "${ECHO_T}header $DB_HEADER, library $DB_LIBS" >&6 -+ - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_header_stdc=no - fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+rm -f conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ fi -+ done -+ done - --if test $ac_cv_header_stdc = yes; then -- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+ LIBS="$old_LIBS" -+ -+ if test -z $DB_HEADER ; then -+ echo "$as_me:$LINENO: result: not found" >&5 -+echo "${ECHO_T}not found" >&6 -+ -+ USE_TRANSMEM=no -+ { echo "$as_me:$LINENO: WARNING: cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature" >&5 -+echo "$as_me: WARNING: cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature" >&2;} -+ fi -+ -+ if test x$USE_TRANSMEM != xno ; then -+ #CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"$DB_HEADER\\\"" -+ cat >>confdefs.h <<\_ACEOF -+#define USE_TRANSMEM 1 - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <string.h> - -+ cat >>confdefs.h <<_ACEOF -+#define DB_HEADER "$DB_HEADER" - _ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "memchr" >/dev/null 2>&1; then -- : --else -- ac_cv_header_stdc=no --fi --rm -f conftest* -- --fi -- --if test $ac_cv_header_stdc = yes; then -- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <stdlib.h> -- --_ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "free" >/dev/null 2>&1; then -- : --else -- ac_cv_header_stdc=no --fi --rm -f conftest* -- --fi -- --if test $ac_cv_header_stdc = yes; then -- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -- if test "$cross_compiling" = yes; then -- : --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <ctype.h> --#if ((' ' & 0x0FF) == 0x020) --# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) --#else --# define ISLOWER(c) \ -- (('a' <= (c) && (c) <= 'i') \ -- || ('j' <= (c) && (c) <= 'r') \ -- || ('s' <= (c) && (c) <= 'z')) --# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) --#endif -- --#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) --int --main () --{ -- int i; -- for (i = 0; i < 256; i++) -- if (XOR (islower (i), ISLOWER (i)) -- || toupper (i) != TOUPPER (i)) -- exit(2); -- exit (0); --} --_ACEOF --rm -f conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- : --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --ac_cv_header_stdc=no --fi --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --fi --fi --echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 --echo "${ECHO_T}$ac_cv_header_stdc" >&6 --if test $ac_cv_header_stdc = yes; then -- --cat >>confdefs.h <<\_ACEOF --#define STDC_HEADERS 1 --_ACEOF -- --fi -- --# On IRIX 5.3, sys/types and inttypes.h are conflicting. -- -- -- -- -- -- -- -- -- --for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -- inttypes.h stdint.h unistd.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- eval "$as_ac_Header=yes" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --eval "$as_ac_Header=no" --fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF -- --fi -- --done -- -- -- -- USE_TRANSMEM=1 -- -- DB_VERSION=0 -- echo "$as_me:$LINENO: checking for library containing db_create" >&5 --echo $ECHO_N "checking for library containing db_create... $ECHO_C" >&6 --if test "${ac_cv_search_db_create+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- ac_func_search_save_LIBS=$LIBS --ac_cv_search_db_create=no --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- --/* Override any gcc2 internal prototype to avoid an error. */ --#ifdef __cplusplus --extern "C" --#endif --/* We use char because int might match the return type of a gcc2 -- builtin and then its argument prototype would still apply. */ --char db_create (); --int --main () --{ --db_create (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_search_db_create="none required" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --fi --rm -f conftest.err conftest.$ac_objext \ -- conftest$ac_exeext conftest.$ac_ext --if test "$ac_cv_search_db_create" = no; then -- for ac_lib in db db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-3.6 db-3.5 db-3.4 db-3.3 db-3.2 db-3.1; do -- LIBS="-l$ac_lib $ac_func_search_save_LIBS" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- --/* Override any gcc2 internal prototype to avoid an error. */ --#ifdef __cplusplus --extern "C" --#endif --/* We use char because int might match the return type of a gcc2 -- builtin and then its argument prototype would still apply. */ --char db_create (); --int --main () --{ --db_create (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_search_db_create="-l$ac_lib" --break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --fi --rm -f conftest.err conftest.$ac_objext \ -- conftest$ac_exeext conftest.$ac_ext -- done --fi --LIBS=$ac_func_search_save_LIBS --fi --echo "$as_me:$LINENO: result: $ac_cv_search_db_create" >&5 --echo "${ECHO_T}$ac_cv_search_db_create" >&6 --if test "$ac_cv_search_db_create" != no; then -- test "$ac_cv_search_db_create" = "none required" || LIBS="$ac_cv_search_db_create $LIBS" -- -- if echo $LIBS | grep -q '\-ldb-4\.' ; then -- DB_HEADER_DIR="db4/" -- elif echo $LIBS | grep -q '\-ldb-3\.' ; then -- DB_HEADER_DIR="db3/" -- fi -- --else -- -- USE_TRANSMEM=0 -- { echo "$as_me:$LINENO: WARNING: --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- " >&5 --echo "$as_me: WARNING: --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- " >&2;} -- --fi -- -- -- if test x$USE_TRANSMEM != x0 ; then -- as_ac_Header=`echo "ac_cv_header_${DB_HEADER_DIR}db.h" | $as_tr_sh` --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo "$as_me:$LINENO: checking for ${DB_HEADER_DIR}db.h" >&5 --echo $ECHO_N "checking for ${DB_HEADER_DIR}db.h... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 --else -- # Is the header compilable? --echo "$as_me:$LINENO: checking ${DB_HEADER_DIR}db.h usability" >&5 --echo $ECHO_N "checking ${DB_HEADER_DIR}db.h usability... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include <${DB_HEADER_DIR}db.h> --_ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --ac_header_compiler=no --fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6 -- --# Is the header present? --echo "$as_me:$LINENO: checking ${DB_HEADER_DIR}db.h presence" >&5 --echo $ECHO_N "checking ${DB_HEADER_DIR}db.h presence... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <${DB_HEADER_DIR}db.h> --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_c_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -- else -- ac_cpp_err= -- fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_preproc=no --fi --rm -f conftest.err conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6 -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: present but cannot be compiled" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: ${DB_HEADER_DIR}db.h: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: ${DB_HEADER_DIR}db.h: in the future, the compiler will take precedence" >&2;} -- ( -- cat <<\_ASBOX --## -------------------------------------- ## --## Report this to vaclav.slavik@matfyz.cz ## --## -------------------------------------- ## --_ASBOX -- ) | -- sed "s/^/$as_me: WARNING: /" >&2 -- ;; --esac --echo "$as_me:$LINENO: checking for ${DB_HEADER_DIR}db.h" >&5 --echo $ECHO_N "checking for ${DB_HEADER_DIR}db.h... $ECHO_C" >&6 --if eval "test \"\${$as_ac_Header+set}\" = set"; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- DB_HEADER="${DB_HEADER_DIR}db.h" --else -- -- if test "${ac_cv_header_db_h+set}" = set; then -- echo "$as_me:$LINENO: checking for db.h" >&5 --echo $ECHO_N "checking for db.h... $ECHO_C" >&6 --if test "${ac_cv_header_db_h+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5 --echo "${ECHO_T}$ac_cv_header_db_h" >&6 --else -- # Is the header compilable? --echo "$as_me:$LINENO: checking db.h usability" >&5 --echo $ECHO_N "checking db.h usability... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include <db.h> --_ACEOF --rm -f conftest.$ac_objext --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -- (eval $ac_compile) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" -- || test ! -s conftest.err' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; } && -- { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --ac_header_compiler=no --fi --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6 -- --# Is the header present? --echo "$as_me:$LINENO: checking db.h presence" >&5 --echo $ECHO_N "checking db.h presence... $ECHO_C" >&6 --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <db.h> --_ACEOF --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null; then -- if test -s conftest.err; then -- ac_cpp_err=$ac_c_preproc_warn_flag -- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -- else -- ac_cpp_err= -+ LIBS="$LIBS $DB_LIBS" - fi --else -- ac_cpp_err=yes --fi --if test -z "$ac_cpp_err"; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_preproc=no --fi --rm -f conftest.err conftest.$ac_ext --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6 -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: db.h: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: db.h: present but cannot be compiled" >&5 --echo "$as_me: WARNING: db.h: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: db.h: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: db.h: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: db.h: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: db.h: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: db.h: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: db.h: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: db.h: in the future, the compiler will take precedence" >&2;} -- ( -- cat <<\_ASBOX --## -------------------------------------- ## --## Report this to vaclav.slavik@matfyz.cz ## --## -------------------------------------- ## --_ASBOX -- ) | -- sed "s/^/$as_me: WARNING: /" >&2 -- ;; --esac --echo "$as_me:$LINENO: checking for db.h" >&5 --echo $ECHO_N "checking for db.h... $ECHO_C" >&6 --if test "${ac_cv_header_db_h+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- ac_cv_header_db_h=$ac_header_preproc --fi --echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5 --echo "${ECHO_T}$ac_cv_header_db_h" >&6 -- --fi --if test $ac_cv_header_db_h = yes; then -- DB_HEADER=db.h --else -- -- USE_TRANSMEM=0 -- echo "$as_me:$LINENO: result: not found" >&5 --echo "${ECHO_T}not found" >&6 -- { echo "$as_me:$LINENO: WARNING: --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- " >&5 --echo "$as_me: WARNING: --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** --Cannot find Berkeley DB >= 3.1, poEdit will build w/o translation memory feature! --*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -- " >&2;} -- --fi -- -- -- --fi -- -- -- -- if test x$USE_TRANSMEM != x0 ; then -- CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"$DB_HEADER\\\"" -- fi -- fi - -- if test x$USE_TRANSMEM != x0 ; then -+ if test x$USE_TRANSMEM != xno ; then - echo "$as_me:$LINENO: checking if db_open requires transaction argument" >&5 - echo $ECHO_N "checking if db_open requires transaction argument... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -@@ -6186,8 +5311,6 @@ - s,@KDE_CONFIG@,$KDE_CONFIG,;t t - s,@KDE_DATA_DIR@,$KDE_DATA_DIR,;t t - s,@GNOME_DATA_DIR@,$GNOME_DATA_DIR,;t t --s,@CPP@,$CPP,;t t --s,@EGREP@,$EGREP,;t t - s,@USE_WINDOWS_TRUE@,$USE_WINDOWS_TRUE,;t t - s,@USE_WINDOWS_FALSE@,$USE_WINDOWS_FALSE,;t t - s,@RESCOMP@,$RESCOMP,;t t -diff -ruP poedit-1.2.5.orig/configure.in poedit-1.2.5/configure.in ---- poedit-1.2.5.orig/configure.in 2004-01-25 23:16:53.000000000 +0100 -+++ poedit-1.2.5/configure.in 2004-07-14 23:51:31.000000000 +0200 -@@ -92,7 +92,9 @@ - if $WX_CONFIG_NAME --cxxflags | grep -q WXMSW; then - use_windows=yes - if test x$USE_TRANSMEM != xno ; then -- CXXFLAGS="$CXXFLAGS -DUSE_TRANSMEM -DDB_HEADER=\\\"db.h\\\" -I\$(top_srcdir)/extras/win32-db3" -+ AC_DEFINE(USE_TRANSMEM) -+ AC_DEFINE_UNQUOTED(DB_HEADER, ["db.h"]) -+ CXXFLAGS="$CXXFLAGS -I\$(top_srcdir)/extras/win32-db3" - fi - - changequote(<<,>>) diff --git a/app-i18n/poedit/poedit-1.1.8.ebuild b/app-i18n/poedit/poedit-1.1.8.ebuild deleted file mode 100644 index 9d16038182fc..000000000000 --- a/app-i18n/poedit/poedit-1.1.8.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.1.8.ebuild,v 1.1 2004/07/27 00:03:27 pythonhead Exp $ - -inherit eutils - -DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." -SRC_URI="mirror://sourceforge/poedit/${P}.tar.bz2" -HOMEPAGE="http://poedit.sourceforge.net/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 sparc " -IUSE="" - -DEPEND=">=x11-libs/wxGTK-2.3.2 - >=sys-libs/db-3" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.diff - - # fixes bug 16713 - epatch ${FILESDIR}/${P}-gcc3.patch -} - -src_compile() { - - autoconf - automake - econf || die - emake || die -} - -src_install () { - - einstall \ - DESTDIR=${D} \ - datadir=${D}/usr/share \ - GNOME_DATA_DIR=${D}/usr/share || die - - dodoc AUTHORS LICENSE NEWS README TODO -} diff --git a/app-i18n/poedit/poedit-1.2.1.ebuild b/app-i18n/poedit/poedit-1.2.1.ebuild deleted file mode 100644 index da1ad8052806..000000000000 --- a/app-i18n/poedit/poedit-1.2.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.1.ebuild,v 1.1 2004/07/27 00:03:27 pythonhead Exp $ - -inherit eutils kde - -DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." -SRC_URI="mirror://sourceforge/poedit/${P}.tar.bz2" -HOMEPAGE="http://poedit.sourceforge.net/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 ~sparc" -IUSE="" - -DEPEND=">=x11-libs/wxGTK-2.3.4 - =sys-libs/db-3*" - -src_compile() { - econf || die "econf failed" - emake || die -} - -src_install () { - - # in case KDEDIR is empty - local MY_KDEDIR - if [ -n "${KDEDIR}" ]; then - MY_KDEDIR=${KDEDIR} - else - MY_KDEDIR=/usr - fi - - einstall \ - datadir=${D}/usr/share \ - GNOME_DATA_DIR=${D}/usr/share \ - KDE_DATA_DIR=${D}/${MY_KDEDIR}/share || die - - dodoc AUTHORS LICENSE NEWS README TODO -} diff --git a/app-i18n/poedit/poedit-1.2.2.ebuild b/app-i18n/poedit/poedit-1.2.2.ebuild deleted file mode 100644 index ec09ad2bd42c..000000000000 --- a/app-i18n/poedit/poedit-1.2.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.2.ebuild,v 1.1 2004/07/27 00:03:27 pythonhead Exp $ - -inherit eutils kde - -IUSE="" -DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." -SRC_URI="mirror://sourceforge/poedit/${P}.tar.bz2" -HOMEPAGE="http://poedit.sourceforge.net/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 ~sparc" - -DEPEND=">=x11-libs/wxGTK-2.3.4 - >=sys-libs/db-3" - -src_compile() { - econf || die - emake || die -} - -src_install () { - - einstall \ - datadir=${D}/usr/share \ - GNOME_DATA_DIR=${D}/usr/share \ - KDE_DATA_DIR=${D}/${KDEDIR-/usr}/share || die - - dodoc AUTHORS LICENSE NEWS README TODO -} diff --git a/app-i18n/poedit/poedit-1.2.3.ebuild b/app-i18n/poedit/poedit-1.2.3.ebuild index 73715195f501..303dec818f4f 100644 --- a/app-i18n/poedit/poedit-1.2.3.ebuild +++ b/app-i18n/poedit/poedit-1.2.3.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.3.ebuild,v 1.1 2004/07/27 00:03:27 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.3.ebuild,v 1.2 2004/08/07 21:15:01 pythonhead Exp $ -inherit eutils kde +inherit eutils kde wxwidgets -IUSE="" +IUSE="gtk2 unicode" DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." SRC_URI="mirror://sourceforge/poedit/${P}.tar.bz2" HOMEPAGE="http://poedit.sourceforge.net/" @@ -16,7 +16,22 @@ KEYWORDS="x86 sparc" DEPEND=">=x11-libs/wxGTK-2.3.4 >=sys-libs/db-3" +pkg_setup() { + if use unicode && ! use gtk2; then + die "You must put gtk2 in your USE if you want unicode." + fi +} + src_compile() { + if use unicode ; then + need-wxwidgets unicode || die "You need to emerge wxGTK with unicode in your USE" + elif ! use gtk2 ; then + need-wxwidgets gtk || die "You need to emerge wxGTK with gtk in your USE" + else + need-wxwidgets gtk2 || die "You need to emerge wxGTK with gtk2 in your USE" + fi + #Maybe WX_CONFIG_NAME should be added to wxwidgets.eclass + export WX_CONFIG_NAME=${WX_CONFIG} econf || die emake || die } diff --git a/app-i18n/poedit/poedit-1.2.4.ebuild b/app-i18n/poedit/poedit-1.2.4.ebuild new file mode 100644 index 000000000000..b23152ac8fa2 --- /dev/null +++ b/app-i18n/poedit/poedit-1.2.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.4.ebuild,v 1.1 2004/08/07 21:15:01 pythonhead Exp $ + +inherit eutils kde wxwidgets + +IUSE="gtk2 unicode" +DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." +SRC_URI="mirror://sourceforge/poedit/${P}.tar.gz" +HOMEPAGE="http://poedit.sourceforge.net/" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~sparc" + +DEPEND=">=x11-libs/wxGTK-2.3.4 + >=sys-libs/db-3" + +pkg_setup() { + if use unicode && ! use gtk2; then + die "You must put gtk2 in your USE if you want unicode." + fi +} + +src_compile() { + if use unicode ; then + need-wxwidgets unicode || die "You need to emerge wxGTK with unicode in your USE" + elif ! use gtk2 ; then + need-wxwidgets gtk || die "You need to emerge wxGTK with gtk in your USE" + else + need-wxwidgets gtk2 || die "You need to emerge wxGTK with gtk2 in your USE" + fi + #Maybe WX_CONFIG_NAME should be added to wxwidgets.eclass + export WX_CONFIG_NAME=${WX_CONFIG} + econf || die "econf failed" + emake || die "emake failed" +} + +src_install () { + + einstall \ + datadir=${D}/usr/share \ + GNOME_DATA_DIR=${D}/usr/share \ + KDE_DATA_DIR=${D}/${KDEDIR-/usr}/share || die + + dodoc AUTHORS LICENSE NEWS README TODO +} + diff --git a/app-i18n/poedit/poedit-1.2.5.ebuild b/app-i18n/poedit/poedit-1.2.5.ebuild index 7c1484ac9e1b..1f2bc25eae0c 100644 --- a/app-i18n/poedit/poedit-1.2.5.ebuild +++ b/app-i18n/poedit/poedit-1.2.5.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.5.ebuild,v 1.1 2004/07/27 00:15:00 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.2.5.ebuild,v 1.2 2004/08/07 21:15:01 pythonhead Exp $ -inherit eutils kde +inherit eutils kde wxwidgets -IUSE="kde" +IUSE="gtk2 unicode" DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." SRC_URI="mirror://sourceforge/poedit/${P}.tar.gz" HOMEPAGE="http://poedit.sourceforge.net/" @@ -13,18 +13,31 @@ SLOT="0" LICENSE="as-is" KEYWORDS="~x86 ~sparc" -DEPEND=">=x11-libs/wxGTK-2.3.4 +DEPEND=">=x11-libs/wxGTK-2.4.2 >=sys-libs/db-3" src_unpack() { unpack ${A} || die "Failed to unpack ${A}" cd ${S} || die "Failed to cd ${S}" epatch ${FILESDIR}/poedit-1.2.5-db4-compilation.patch +} - +pkg_setup() { + if use unicode && ! use gtk2; then + die "You must put gtk2 in your USE if you want unicode." + fi } src_compile() { + if use unicode ; then + need-wxwidgets unicode || die "You need to emerge wxGTK with unicode in your USE" + elif ! use gtk2 ; then + need-wxwidgets gtk || die "You need to emerge wxGTK with gtk in your USE" + else + need-wxwidgets gtk2 || die "You need to emerge wxGTK with gtk2 in your USE" + fi + #Maybe WX_CONFIG_NAME should be added to wxwidgets.eclass + export WX_CONFIG_NAME=${WX_CONFIG} econf || die emake || die } @@ -38,4 +51,3 @@ src_install () { dodoc AUTHORS LICENSE NEWS README TODO } - |