Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=59127a015677280be6f9100f2ae25f15278b409e
commit 59127a015677280be6f9100f2ae25f15278b409e Author: Marius Cirsta <mcir...@frugalware.org> Date: Sun Oct 16 01:47:14 2016 +0300 sqlite3-3.15.0-1-x86_64 * version bump diff --git a/source/base/sqlite3/FrugalBuild b/source/base/sqlite3/FrugalBuild index 7bd0563..150ae7d 100644 --- a/source/base/sqlite3/FrugalBuild +++ b/source/base/sqlite3/FrugalBuild @@ -4,9 +4,9 @@ pkgname=sqlite3 -pkgver=3.14.2 -confver=3140200 -pkgrel=3 +pkgver=3.15.0 +confver=3150000 +pkgrel=1 pkgdesc="A C library that implements an SQL database engine" url="http://www.sqlite.org/" depends=('readline>=6.3-9' 'ncurses>=6.0-12') @@ -15,62 +15,21 @@ archs=('i686' 'x86_64') _F_cd_path="sqlite-$pkgver" up2date="lynx -dump https://www.sqlite.org/download.html | grep -m1 version| sed 's/.*ion \(.*\)./\1/'" #lemon and lempar files are from here: http://www.sqlite.org/src/tree?name=tool -source=(https://www.sqlite.org/2016/sqlite-autoconf-$confver.tar.gz - http://www.sqlite.org/src/raw/tool/lemon.c?name=3ff0fec22f92dfb54e62eeb48772eddffdbeb0d6 - http://www.sqlite.org/src/raw/tool/lempar.c?name=01ca97f87610d1dac6d8cd96ab109ab1130e76dc - lemon_share.diff) -sha1sums=('5d3a6bccd9154963641960db61df901a4e0b3ca0' \ - '3ff0fec22f92dfb54e62eeb48772eddffdbeb0d6' \ - '01ca97f87610d1dac6d8cd96ab109ab1130e76dc' \ - '6082e8659d842237c9fc9c3edfa76ea4abc33503') -### wrong but kde4 stuff is broken and until we remove -### foo-sqlite2 plugins this will do it -replaces=('sqlite2') -provides=('sqlite2') -conflicts=('sqlite2') +source=(https://www.sqlite.org/2016/sqlite-autoconf-$confver.tar.gz) +sha1sums=('b34cb4ee9710368598c62df0222f5c24dfc9c860') -subpkgs=('lemon') -subdescs=('The Lemon program is an LALR(1) parser generator.') -subdepends=('glibc>=2.24-4') -subgroups=('apps-extra') -subarchs=('i686 x86_64') -_F_make_opts="-j1" - -Fconfopts=" --disable-amalgamation \ - --enable-fts3 \ - --enable-fts4 \ - --enable-fts5 \ - --enable-rtree \ +Fconfopts=" --enable-fts5 \ --enable-json1 \ --enable-threadsafe" options+=('static') +_F_cd_path="sqlite-autoconf-${confver}" build() { - Fcd sqlite-autoconf-${confver} - Fexec rm -rf lemon || Fdie - Fexec mkdir lemon || Fdie - Fexec mv ../lemon.c* ./lemon/lemon.c || Fdie - Fexec mv ../lempar.c* ./lemon/lempar.c || Fdie - - ## to see what this does see : http://www.sqlite.org/compile.html - ## also tbird need that .. without it does weird crap. CFLAGS=""${CFLAGS[@]}" -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1" - - export CFLAGS - export LDFLAGS="$LDFLAGS -ldl" - Fbuild - - Fexec cd lemon || Fdie - Fexec make lemon || Fdie - Fexerel /usr/bin/lemon - Ffilerel lempar.c /usr/share/lemon/lempar.c - - Fsplit lemon /usr/share/lemon/lempar.c - Fsplit lemon /usr/bin/lemon } # optimization OK diff --git a/source/base/sqlite3/lemon_share.diff b/source/base/sqlite3/lemon_share.diff deleted file mode 100644 index 66f1d44..0000000 --- a/source/base/sqlite3/lemon_share.diff +++ /dev/null @@ -1,31 +0,0 @@ ---- sqlite-autoconf-3080400/lemon/lemon.c 2014-03-10 22:34:43.000000000 +0200 -+++ sqlite-autoconf-3080400.new/lemon/lemon.c 2014-03-10 22:34:14.000000000 +0200 -@@ -3245,6 +3245,10 @@ - tpltname = pathsearch(lemp->argv0,templatename,0); - } - if( tpltname==0 ){ -+ sprintf(buf,"/usr/share/lemon/%s",templatename); -+ tpltname = buf; -+ } -+ if( tpltname==0 ){ - fprintf(stderr,"Can't find the parser driver template file \"%s\".\n", - templatename); - lemp->errorcnt++; -@@ -3252,9 +3256,14 @@ - } - in = fopen(tpltname,"rb"); - if( in==0 ){ -- fprintf(stderr,"Can't open the template file \"%s\".\n",templatename); -- lemp->errorcnt++; -- return 0; -+ sprintf(buf,"/usr/share/lemon/%s",templatename); -+ tpltname = buf; -+ in = fopen(tpltname,"rb"); -+ if( in==0 ){ -+ fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname); -+ lemp->errorcnt++; -+ return 0; -+ } - } - return in; - } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git