gcc-3.4 patch, minor fixes
authorCarsten Lohrke <carlo@gentoo.org>
Thu, 14 Oct 2004 23:06:04 +0000 (23:06 +0000)
committerCarsten Lohrke <carlo@gentoo.org>
Thu, 14 Oct 2004 23:06:04 +0000 (23:06 +0000)
dev-db/rekall/ChangeLog
dev-db/rekall/Manifest
dev-db/rekall/files/rekall-2.2.1-gcc-3.4-compat.patch [new file with mode: 0644]
dev-db/rekall/rekall-2.2.1.ebuild

index 0887db340dd5d09c855905551310ede0c980bbd9..ed261a3d5959d4364adb8a1b4ed88540cc7d53fc 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-db/rekall
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/rekall/ChangeLog,v 1.5 2004/09/13 19:23:10 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/rekall/ChangeLog,v 1.6 2004/10/14 23:06:04 carlo Exp $
+
+  15 Oct 2004; Carsten Lohrke <carlo@gentoo.org>
+  +files/rekall-2.2.1-gcc-3.4-compat.patch, rekall-2.2.1.ebuild:
+  gcc-3.4 patch, minor fixes
 
 *rekall-2.2.1 (13 Sep 2004)
 
index 244ea5adb0e819bbc852573b95e5ff31d088ac8a..09c1c5a2ac086c83bbd2337d8ab807e3558fdcf7 100644 (file)
@@ -1,6 +1,7 @@
-MD5 71ed486e758df91e9db1066cfdaf60c3 rekall-2.2.1.ebuild 1343
+MD5 6924c80e3c5607e515e025a6f7c5f00c rekall-2.2.1.ebuild 1443
 MD5 8cc4b1b43bf8acb358364a702fea690d rekall-2.2.0.ebuild 1341
-MD5 b1d41be5bf94c8ccc92282c954ccff24 ChangeLog 746
+MD5 d71e8f6dfac4005984482450e013eaa0 ChangeLog 890
 MD5 d225760167d9e5f4667bfc512d348e9e metadata.xml 223
 MD5 10a64bbfc569ae4806e63d8750f620d4 files/digest-rekall-2.2.0 65
 MD5 c27d1a7caffa2635fd1eb6c6eebb6236 files/digest-rekall-2.2.1 65
+MD5 b0d87ac49e12a197c3fb375c5e4ef053 files/rekall-2.2.1-gcc-3.4-compat.patch 3902
diff --git a/dev-db/rekall/files/rekall-2.2.1-gcc-3.4-compat.patch b/dev-db/rekall/files/rekall-2.2.1-gcc-3.4-compat.patch
new file mode 100644 (file)
index 0000000..c7d49f6
--- /dev/null
@@ -0,0 +1,114 @@
+--- libs/kbase/kb_options.cpp.orig     2004-10-14 16:46:56.000000000 +0200
++++ libs/kbase/kb_options.cpp  2004-10-14 16:48:28.000000000 +0200
+@@ -251,41 +251,41 @@
+               return  kbOptions.value ;       \
+       }
+ 
+-GETVALUE(uint,                GridXStep,      gridX           )       ;
+-GETVALUE(uint,                GridYStep,      gridY           )       ;
+-GETVALUE(uint,                FormWidth,      formW           )       ;
+-GETVALUE(uint,                FormHeight,     formH           )       ;
+-GETVALUE(int,         DefaultDX,      defDX           )       ;
+-GETVALUE(int,         DefaultDY,      defDY           )       ;
+-GETVALUE(uint,                CtrlSpace,      space           )       ;
+-
+-GETVALUE(bool,                UseMDI,         useMdi          )       ;
+-GETVALUE(bool,                SingleDBOnly,   singleDBOnly    )       ;
+-
+-GETVALUE(uint,                LeftMargin,     marginL         )       ;
+-GETVALUE(uint,                RightMargin,    marginR         )       ;
+-GETVALUE(uint,                TopMargin,      marginT         )       ;
+-GETVALUE(uint,                BottomMargin,   marginB         )       ;
+-GETVALUE(uint,                DPI,            dpi             )       ;
+-
+-GETVALUE(bool,                OpenLast,       openLast        )       ;
+-GETVALUE(bool,                DesignInches,   designInches    )       ;
+-GETVALUE(bool,                TablesModal,    tablesModal     )       ;
+-GETVALUE(bool,                FormsModal,     formsModal      )       ;
+-GETVALUE(bool,                ReportsModal,   reportsModal    )       ;
+-GETVALUE(bool,                QueriesModal,   queriesModal    )       ;
+-
+-GETVALUE(uint,                LogMaxQueries,  logMaxQueries   )       ;
+-GETVALUE(uint,                LogMaxEvents,   logMaxEvents    )       ;
+-GETVALUE(uint,                LogMaxArgs,     logMaxArgs      )       ;
+-GETVALUE(uint,                LogMaxArgLen,   logMaxArgLen    )       ;       
+-
+-GETVALUE(KBOptions::ScriptType,               ScriptType,     scriptType      )       ;
+-GETVALUE(KBOptions::MacroDebug,               MacroDebug,     macroDebug      )       ;
+-
+-GETVALUE(KBOptions::VerifyOption,     VerInsert,      verInsert       )       ;
+-GETVALUE(KBOptions::VerifyOption,     VerUpdate,      verUpdate       )       ;
+-GETVALUE(KBOptions::VerifyOption,     VerDelete,      verDelete       )       ;
+-GETVALUE(bool,                                VerMultiple,    verMultiple     )       ;
++GETVALUE(uint,                GridXStep,      gridX           )
++GETVALUE(uint,                GridYStep,      gridY           )
++GETVALUE(uint,                FormWidth,      formW           )
++GETVALUE(uint,                FormHeight,     formH           )
++GETVALUE(int,         DefaultDX,      defDX           )
++GETVALUE(int,         DefaultDY,      defDY           )
++GETVALUE(uint,                CtrlSpace,      space           )
++
++GETVALUE(bool,                UseMDI,         useMdi          )
++GETVALUE(bool,                SingleDBOnly,   singleDBOnly    )
++
++GETVALUE(uint,                LeftMargin,     marginL         )
++GETVALUE(uint,                RightMargin,    marginR         )
++GETVALUE(uint,                TopMargin,      marginT         )
++GETVALUE(uint,                BottomMargin,   marginB         )
++GETVALUE(uint,                DPI,            dpi             )
++
++GETVALUE(bool,                OpenLast,       openLast        )
++GETVALUE(bool,                DesignInches,   designInches    )
++GETVALUE(bool,                TablesModal,    tablesModal     )
++GETVALUE(bool,                FormsModal,     formsModal      )
++GETVALUE(bool,                ReportsModal,   reportsModal    )
++GETVALUE(bool,                QueriesModal,   queriesModal    )
++
++GETVALUE(uint,                LogMaxQueries,  logMaxQueries   )
++GETVALUE(uint,                LogMaxEvents,   logMaxEvents    )
++GETVALUE(uint,                LogMaxArgs,     logMaxArgs      )
++GETVALUE(uint,                LogMaxArgLen,   logMaxArgLen    )       
++
++GETVALUE(KBOptions::ScriptType,               ScriptType,     scriptType      )
++GETVALUE(KBOptions::MacroDebug,               MacroDebug,     macroDebug      )
++
++GETVALUE(KBOptions::VerifyOption,     VerInsert,      verInsert       )
++GETVALUE(KBOptions::VerifyOption,     VerUpdate,      verUpdate       )
++GETVALUE(KBOptions::VerifyOption,     VerDelete,      verDelete       )
++GETVALUE(bool,                                VerMultiple,    verMultiple     )
+ 
+-GETVALUE(QString,     ScriptFont,     scriptFont      )       ;
++GETVALUE(QString,     ScriptFont,     scriptFont      )
+--- libs/kbase/kb_draglist.h.orig      2004-10-14 17:21:21.000000000 +0200
++++ libs/kbase/kb_draglist.h   2004-10-14 17:21:43.000000000 +0200
+@@ -25,7 +25,7 @@
+ 
+ class LIBKBASE_API    KBDragBox : public QListBox
+ {
+-      Q_OBJECT                ;
++      Q_OBJECT
+ 
+       int       mouseDownAt   ;
+       int       mouseUpAt     ;
+--- libs/kbase/kb_optionsdlg.h.orig    2004-10-14 17:38:25.000000000 +0200
++++ libs/kbase/kb_optionsdlg.h 2004-10-14 17:38:40.000000000 +0200
+@@ -302,7 +302,7 @@
+ /*                                                                    */
+ class LIBKBASE_API    KBOptionsDlg : public _KBDialog
+ {
+-      Q_OBJECT        ;
++      Q_OBJECT
+ 
+ #if   ! __KB_EMBEDDED
+       QTextView       m_blurb         ;
+--- libs/common/kb_libloader_kde.h.orig        2004-10-14 22:48:37.000000000 +0200
++++ libs/common/kb_libloader_kde.h     2004-10-14 22:49:03.000000000 +0200
+@@ -233,7 +233,7 @@
+               {                                                       \
+                       return  new className ;                         \
+               }                                                       \
+-      }       ;                                                       \
++      }                                                               \
+       KInstance       *className::s_instance = 0 ;
+ 
+ 
index ab9f7c1b929e0ab3a857427ca4c2fbe330a56945..ba0f352e83d2eb2e5d969ab31e95bb252c898b9b 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/rekall/rekall-2.2.1.ebuild,v 1.1 2004/09/13 19:23:10 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/rekall/rekall-2.2.1.ebuild,v 1.2 2004/10/14 23:06:04 carlo Exp $
 
-inherit kde
+inherit kde eutils
 
 DESCRIPTION="Rekall - a database frontend for MySQL, PostgreSQL and XBase"
 HOMEPAGE="http://www.rekallrevealed.org/"
@@ -13,7 +13,8 @@ LICENSE="GPL-2"
 KEYWORDS="~x86 ~ppc"
 IUSE="mysql odbc postgres xbase"
 
-DEPEND="virtual/python
+DEPEND="sys-apps/sed
+       virtual/python
        mysql? ( >=dev-db/mysql-3.23.57-r1 )
        postgres? ( >=dev-db/postgresql-7.3.4-r1 )
        xbase? ( =dev-db/xbsql-0.11 )"
@@ -23,6 +24,12 @@ RDEPEND="virtual/python
        xbase? ( =dev-db/xbsql-0.11 )"
 need-kde 3
 
+src_unpack() {
+       kde_src_unpack
+       epatch ${FILESDIR}/${P}-gcc-3.4-compat.patch
+       sed -i -e 's/$(LN_S) $(kde_libs_htmldir)\/$(KDE_LANG)\/common/$(LN_S) common/' ${S}/doc/rekall/Makefile.in
+}
+
 src_compile() {
        myconf="--with-gui=kde \
                `use_enable mysql` \
@@ -30,8 +37,6 @@ src_compile() {
                `use_enable xbase` \
                `use_enable odbc` \
                `use_enable odbc iodbc`"
-
-       sed -i -e 's/$(LN_S) $(kde_libs_htmldir)\/$(KDE_LANG)\/common/$(LN_S) common/' ${S}/doc/rekall/Makefile.in
        kde_src_compile
 }