summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-12-18 14:19:57 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-12-18 14:19:57 +0000
commit03771a771a0fce640072908295863d9dc7772aa6 (patch)
treec6ac212ba781c71d5fb0f417c2156d2e7ed31ea9 /dev-db/sqlitebrowser
parentfirst addition - a CORBA implementation for Ada (diff)
downloadgentoo-2-03771a771a0fce640072908295863d9dc7772aa6.tar.gz
gentoo-2-03771a771a0fce640072908295863d9dc7772aa6.tar.bz2
gentoo-2-03771a771a0fce640072908295863d9dc7772aa6.zip
Initial commit wrt bug #96124.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'dev-db/sqlitebrowser')
-rw-r--r--dev-db/sqlitebrowser/ChangeLog11
-rw-r--r--dev-db/sqlitebrowser/Manifest20
-rw-r--r--dev-db/sqlitebrowser/files/digest-sqlitebrowser-1.33
-rw-r--r--dev-db/sqlitebrowser/files/sqlitebrowser-1.3-externalsqlite.patch51
-rw-r--r--dev-db/sqlitebrowser/metadata.xml16
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild38
6 files changed, 139 insertions, 0 deletions
diff --git a/dev-db/sqlitebrowser/ChangeLog b/dev-db/sqlitebrowser/ChangeLog
new file mode 100644
index 000000000000..750970140e53
--- /dev/null
+++ b/dev-db/sqlitebrowser/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-db/sqlitebrowser
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlitebrowser/ChangeLog,v 1.1 2006/12/18 14:19:57 drizzt Exp $
+
+*sqlitebrowser-1.3 (18 Dec 2006)
+
+ 18 Dec 2006; Timothy Redaelli <drizzt@gentoo.org>
+ +files/sqlitebrowser-1.3-externalsqlite.patch, +metadata.xml,
+ +sqlitebrowser-1.3.ebuild:
+ Initial commit wrt bug #96124.
+
diff --git a/dev-db/sqlitebrowser/Manifest b/dev-db/sqlitebrowser/Manifest
new file mode 100644
index 000000000000..9ca43adbde68
--- /dev/null
+++ b/dev-db/sqlitebrowser/Manifest
@@ -0,0 +1,20 @@
+AUX sqlitebrowser-1.3-externalsqlite.patch 1452 RMD160 6899b48e6a94d65971adc003406586a5f76a52cd SHA1 41ae256f437388398c80ad5190f98918c2e653fc SHA256 0f469eef5570659f4bd92ccedd9d111b0e1b4c24a2ffc876a6a09a6475ecffdc
+MD5 cddd3e9cac1b89e9376ac1b3bbb3d94a files/sqlitebrowser-1.3-externalsqlite.patch 1452
+RMD160 6899b48e6a94d65971adc003406586a5f76a52cd files/sqlitebrowser-1.3-externalsqlite.patch 1452
+SHA256 0f469eef5570659f4bd92ccedd9d111b0e1b4c24a2ffc876a6a09a6475ecffdc files/sqlitebrowser-1.3-externalsqlite.patch 1452
+DIST sqlitebrowser-1.3-src.tar.gz 563588 RMD160 884330dd595ec091f1aab885cb845dd19adeb189 SHA1 5defc7965e352bcaf8c763b76b2cfe11360b68f9 SHA256 10298d6ec7a615b856b11d89715c32ee7cd9076cfde81a3bef5e7cb0bf9d12d0
+EBUILD sqlitebrowser-1.3.ebuild 744 RMD160 d5e94e0cb5403454bc42069e05c53c7ed38ae145 SHA1 1c500e659d1368d9bbd1d5a687e6477cd73a229c SHA256 f020c1e4924569a62a684bcd288ff2f2cfb880451be814854de05930c88065c4
+MD5 26eccd301405282c40b616d5dfb3e988 sqlitebrowser-1.3.ebuild 744
+RMD160 d5e94e0cb5403454bc42069e05c53c7ed38ae145 sqlitebrowser-1.3.ebuild 744
+SHA256 f020c1e4924569a62a684bcd288ff2f2cfb880451be814854de05930c88065c4 sqlitebrowser-1.3.ebuild 744
+MISC ChangeLog 334 RMD160 204ef0bd00952b0ed3143b26f7ae1ae7850fec45 SHA1 577a9fbad3b807068b997bb4dbaccbd7ecd3c407 SHA256 49282b60c0ea6d3ced09eb1e0b088d351e9710d15ec0fa5f282b0d7172b8b202
+MD5 84dab106376e74d1609da42b6bb54d1e ChangeLog 334
+RMD160 204ef0bd00952b0ed3143b26f7ae1ae7850fec45 ChangeLog 334
+SHA256 49282b60c0ea6d3ced09eb1e0b088d351e9710d15ec0fa5f282b0d7172b8b202 ChangeLog 334
+MISC metadata.xml 614 RMD160 594074d057fe056dae2ae5fbf97cd926d5e2323d SHA1 19ce6ed83bc4ae5e358077f01af7caa309597c1d SHA256 d74930fd6877278736c1692a0cfd70bf9ff1918fe0a9762505d52f7026a85283
+MD5 a4971c4f5438fd44bb38f5975362d66d metadata.xml 614
+RMD160 594074d057fe056dae2ae5fbf97cd926d5e2323d metadata.xml 614
+SHA256 d74930fd6877278736c1692a0cfd70bf9ff1918fe0a9762505d52f7026a85283 metadata.xml 614
+MD5 10a197dc425758589129394d69708d2e files/digest-sqlitebrowser-1.3 265
+RMD160 bc24c479ef5564ca2abf13cc43222fbeeba3ae7e files/digest-sqlitebrowser-1.3 265
+SHA256 7c3c85b135a4d50e043ca8d9f12ce2e5482336f9ee478772f11fade3b4118576 files/digest-sqlitebrowser-1.3 265
diff --git a/dev-db/sqlitebrowser/files/digest-sqlitebrowser-1.3 b/dev-db/sqlitebrowser/files/digest-sqlitebrowser-1.3
new file mode 100644
index 000000000000..7bf95d7d139b
--- /dev/null
+++ b/dev-db/sqlitebrowser/files/digest-sqlitebrowser-1.3
@@ -0,0 +1,3 @@
+MD5 d4dc8c6a95d5f005e493f3a5a2a10491 sqlitebrowser-1.3-src.tar.gz 563588
+RMD160 884330dd595ec091f1aab885cb845dd19adeb189 sqlitebrowser-1.3-src.tar.gz 563588
+SHA256 10298d6ec7a615b856b11d89715c32ee7cd9076cfde81a3bef5e7cb0bf9d12d0 sqlitebrowser-1.3-src.tar.gz 563588
diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-1.3-externalsqlite.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-1.3-externalsqlite.patch
new file mode 100644
index 000000000000..15f1de866b8f
--- /dev/null
+++ b/dev-db/sqlitebrowser/files/sqlitebrowser-1.3-externalsqlite.patch
@@ -0,0 +1,51 @@
+diff -ur sqlbrowser_util.c sqlbrowser_util.c
+--- sqlbrowser_util.c 2006-12-18 14:42:33.000000000 +0100
++++ sqlbrowser_util.c 2006-12-18 14:44:28.000000000 +0100
+@@ -1,10 +1,9 @@
+ #include "sqlbrowser_util.h"
+-#include "sqlite_source/sqlite3.h"
++#include <sqlite3.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include "sqlite_source/sqliteInt.h"
+
+ /*following routines extracted from shell.c for dump support*/
+
+diff -ur sqlbrowser_util.h sqlbrowser_util.h
+--- sqlbrowser_util.h 2006-12-18 14:46:34.000000000 +0100
++++ sqlbrowser_util.h 2006-12-18 14:45:58.000000000 +0100
+@@ -6,7 +6,7 @@
+ #endif
+
+ #include <ctype.h>
+-#include "sqlite_source/sqlite3.h"
++#include <sqlite3.h>
+ #include <stdio.h>
+
+
+diff -ur sqlitebrowser.pro sqlitebrowser.pro
+--- sqlitebrowser.pro 2006-12-18 14:42:33.000000000 +0100
++++ sqlitebrowser.pro 2006-12-18 14:43:57.000000000 +0100
+@@ -47,7 +47,7 @@
+ UI_DIR = .ui
+ MOC_DIR = .moc
+ OBJECTS_DIR = .obj
+- LIBS += ./sqlite_source/libsqlite_source.a
++ LIBS += -lsqlite3
+ }
+ win32 {
+ RC_FILE = winapp.rc
+diff -ur sqlitedb.h sqlitedb.h
+--- sqlitedb.h 2006-12-18 14:46:34.000000000 +0100
++++ sqlitedb.h 2006-12-18 14:46:22.000000000 +0100
+@@ -7,7 +7,7 @@
+ #include <qvaluelist.h>
+ #include <qobject.h>
+ #include "sqllogform.h"
+-#include "sqlite_source/sqlite3.h"
++#include <sqlite3.h>
+ #include "sqlitebrowsertypes.h"
+ /*#include "sqlite_source/sqlxtra_util.h"
+ #include "sqlite_source/encode.h"
diff --git a/dev-db/sqlitebrowser/metadata.xml b/dev-db/sqlitebrowser/metadata.xml
new file mode 100644
index 000000000000..2233adeaf879
--- /dev/null
+++ b/dev-db/sqlitebrowser/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>drizzt@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+SQLite Database Browser is a freeware, public domain, open source visual tool
+used to create, design and edit database files compatible with SQLite. It is
+meant to be used for users and developers that want to create databases, edit
+and search data using a familiar spreadsheet-like interface, without the need to
+learn complicated SQL commands.
+</longdescription>
+</pkgmetadata>
+
diff --git a/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild
new file mode 100644
index 000000000000..d018072656b9
--- /dev/null
+++ b/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild,v 1.1 2006/12/18 14:19:57 drizzt Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="SQLite Database Browser"
+HOMEPAGE="http://sqlitebrowser.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sqlitebrowser/${P}-src.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="=dev-db/sqlite-3*
+ $(qt_min_version 3.12)"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -r sqlite_source
+
+ sed -i 's/\r/\n/g' *.{cpp,h}
+ epatch "${FILESDIR}"/${P}-externalsqlite.patch
+}
+
+src_compile() {
+ qmake ${PN}.pro || die "qmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin sqlitebrowser || die "installing failed"
+}