Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143950 - dev-db/wxSQLite3 (new ebuild)
Summary: dev-db/wxSQLite3 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo wxWidgets project
URL: http://wxcode.sourceforge.net/compone...
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 297197
  Show dependency tree
 
Reported: 2006-08-14 16:22 UTC by Cédric Krier
Modified: 2016-06-08 15:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wxSQLite3-1.6.0.ebuild (wxSQLite3-1.6.0.ebuild,1.03 KB, text/plain)
2006-08-14 16:23 UTC, Cédric Krier
Details
wxSQLite3-1.6.0-makefile_in.patch (wxSQLite3-1.6.0-makefile_in.patch,747 bytes, patch)
2006-08-14 16:23 UTC, Cédric Krier
Details | Diff
updated ebuild (wxsqlite3-3.0.5.ebuild,812 bytes, text/plain)
2013-11-15 11:34 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Krier gentoo-dev 2006-08-14 16:22:58 UTC
wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database and is specifically designed for use in programs based on the wxWidgets library. wxSQLite3 does not try to hide the underlying database, in contrary almost all special features of the current SQLite3 version 3.3.6 are supported, like for example the creation of user defined scalar or aggregate functions. Since SQLite stores strings in UTF-8 encoding, the wxSQLite3 methods provide automatic conversion between wxStrings and UTF-8 strings. This works best for the Unicode builds of wxWidgets. This feature is not fully tested for ANSI builds.
Comment 1 Cédric Krier gentoo-dev 2006-08-14 16:23:30 UTC
Created attachment 94277 [details]
wxSQLite3-1.6.0.ebuild
Comment 2 Cédric Krier gentoo-dev 2006-08-14 16:23:58 UTC
Created attachment 94278 [details, diff]
wxSQLite3-1.6.0-makefile_in.patch
Comment 3 Cédric Krier gentoo-dev 2006-09-23 11:50:26 UTC
This is now in the sunrise overlay. You can find it at:
http://gentoo-sunrise.org/svn/reviewed/dev-db/wxSQLite3
Comment 4 Nikoli 2013-11-15 11:34:14 UTC
Created attachment 363320 [details]
updated ebuild

I need wxsqlite3 for myrulib. I think package name should be dev-db/wxsqlite3 like in tar.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2013-11-17 02:36:39 UTC
Looks alright to me (haven't tested yet).  Why are you setting SLOT to WX_GTK_VER though?
Comment 6 Nikoli 2013-11-17 06:56:37 UTC
It builds and installs libs only for one wxgtk version:
$ equery f wxsqlite3 |grep '/usr/lib'
/usr/lib64
/usr/lib64/libwxcode_gtk2u_wxsqlite3-2.8.so
/usr/lib64/libwxcode_gtk2u_wxsqlite3-2.8.so.0
/usr/lib64/libwxcode_gtk2u_wxsqlite3-2.8.so.0.0.0

It also seems to support 2.9 and 3.0, but i did not check. Not sure what is the best way to support both 2.8 and 3.0 in this case. Headers should be same for them, so instead of having 2 ebuilds may be have one and add USE flags?
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2013-11-17 08:11:59 UTC
I think it would be possible with USE flags but it's kind of ugly and you'd only be able to choose 2.8 or 3.0, not both.  Let's just build against 2.8 until 3.0 stabilizes or they drop support.  In any case wxsqlite's SLOT should stay at 0 since we're not going to be installing multiple copies of it.
Comment 8 Nikoli 2013-11-17 09:02:46 UTC
May be try multibuild.eclass for building both?
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2013-12-28 21:14:28 UTC
+*wxsqlite3-3.0.6.1 (28 Dec 2013)
+
+  28 Dec 2013; Justin Lecher <jlec@gentoo.org> +wxsqlite3-3.0.6.1.ebuild,
+  +files/wxsqlite3-3.0.6.1.pc.in, +metadata.xml:
+  Import from sunrise, thanks Cédric Krier for the initial ebuild; fixes
+  #143950
+
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2013-12-29 02:15:23 UTC
When wxGTK is built with USE=debug the library here will get installed as libwxcode_gtk2ud_wxsqlite3-2.8.so which will break your pkg-config.  Yes this is braindead.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2013-12-29 02:17:29 UTC
And it doesn't actually build with USE="-unicode" (there is no non-unicode build of wxGTK in Gentoo).
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2013-12-29 02:30:44 UTC
Fixed.