[arch-commits] Commit in leveldb/repos/extra-x86_64 (4 files)

Dave Reisner dreisner at archlinux.org
Sun Jun 30 19:25:57 UTC 2019


    Date: Sunday, June 30, 2019 @ 19:25:57
  Author: dreisner
Revision: 357126

archrelease: copy trunk to extra-x86_64

Added:
  leveldb/repos/extra-x86_64/0001-Restore-soname-versioning-with-CMake-build.patch
    (from rev 357125, leveldb/trunk/0001-Restore-soname-versioning-with-CMake-build.patch)
  leveldb/repos/extra-x86_64/PKGBUILD
    (from rev 357125, leveldb/trunk/PKGBUILD)
Deleted:
  leveldb/repos/extra-x86_64/0001-Restore-soname-versioning-with-CMake-build.patch
  leveldb/repos/extra-x86_64/PKGBUILD

-------------------------------------------------------+
 0001-Restore-soname-versioning-with-CMake-build.patch |   78 ++++++------
 PKGBUILD                                              |   97 +++++++---------
 2 files changed, 84 insertions(+), 91 deletions(-)

Deleted: 0001-Restore-soname-versioning-with-CMake-build.patch
===================================================================
--- 0001-Restore-soname-versioning-with-CMake-build.patch	2019-06-30 19:25:36 UTC (rev 357125)
+++ 0001-Restore-soname-versioning-with-CMake-build.patch	2019-06-30 19:25:57 UTC (rev 357126)
@@ -1,39 +0,0 @@
-From 37300aa54b8256dd2edfd504942eb2bd20823647 Mon Sep 17 00:00:00 2001
-From: leveldb Team <no-reply at google.com>
-Date: Mon, 1 Apr 2019 08:59:17 -0700
-Subject: [PATCH] Restore soname versioning with CMake build
-
-Before:
-
-$ readelf -d build/libleveldb.so | grep soname
- 0x000000000000000e (SONAME)             Library soname: [libleveldb.so]
-
-After:
-$ readelf -d build/libleveldb.so | grep soname
- 0x000000000000000e (SONAME)             Library soname: [libleveldb.so.1]
-
-This matches the soname from v1.20.
-
-PiperOrigin-RevId: 241334113
----
- CMakeLists.txt | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e471a2a..ceb5dd9 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -233,6 +233,10 @@ if(BUILD_SHARED_LIBS)
-       # Used by include/export.h.
-       LEVELDB_SHARED_LIBRARY
-   )
-+  set_target_properties(leveldb
-+    PROPERTIES VERSION ${PROJECT_VERSION})
-+  set_target_properties(leveldb
-+    PROPERTIES SOVERSION 1)
- endif(BUILD_SHARED_LIBS)
- 
- if(HAVE_CLANG_THREAD_SAFETY)
--- 
-2.21.0
-

Copied: leveldb/repos/extra-x86_64/0001-Restore-soname-versioning-with-CMake-build.patch (from rev 357125, leveldb/trunk/0001-Restore-soname-versioning-with-CMake-build.patch)
===================================================================
--- 0001-Restore-soname-versioning-with-CMake-build.patch	                        (rev 0)
+++ 0001-Restore-soname-versioning-with-CMake-build.patch	2019-06-30 19:25:57 UTC (rev 357126)
@@ -0,0 +1,39 @@
+From 37300aa54b8256dd2edfd504942eb2bd20823647 Mon Sep 17 00:00:00 2001
+From: leveldb Team <no-reply at google.com>
+Date: Mon, 1 Apr 2019 08:59:17 -0700
+Subject: [PATCH] Restore soname versioning with CMake build
+
+Before:
+
+$ readelf -d build/libleveldb.so | grep soname
+ 0x000000000000000e (SONAME)             Library soname: [libleveldb.so]
+
+After:
+$ readelf -d build/libleveldb.so | grep soname
+ 0x000000000000000e (SONAME)             Library soname: [libleveldb.so.1]
+
+This matches the soname from v1.20.
+
+PiperOrigin-RevId: 241334113
+---
+ CMakeLists.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e471a2a..ceb5dd9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -233,6 +233,10 @@ if(BUILD_SHARED_LIBS)
+       # Used by include/export.h.
+       LEVELDB_SHARED_LIBRARY
+   )
++  set_target_properties(leveldb
++    PROPERTIES VERSION ${PROJECT_VERSION})
++  set_target_properties(leveldb
++    PROPERTIES SOVERSION 1)
+ endif(BUILD_SHARED_LIBS)
+ 
+ if(HAVE_CLANG_THREAD_SAFETY)
+-- 
+2.21.0
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-30 19:25:36 UTC (rev 357125)
+++ PKGBUILD	2019-06-30 19:25:57 UTC (rev 357126)
@@ -1,52 +0,0 @@
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: feydaykyn <feydaykyn at yahoo.fr>
-
-pkgname=leveldb
-pkgver=1.21
-pkgrel=1
-pkgdesc="A fast and lightweight key/value database library"
-arch=('x86_64')
-url="https://github.com/google/leveldb"
-license=('BSD')
-depends=('gperftools' 'snappy')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/google/leveldb/archive/$pkgver.tar.gz"
-        0001-Restore-soname-versioning-with-CMake-build.patch)
-sha1sums=('56c28f289c965f9ecccfc381b2830ef7fe84f853'
-          '59a4b71a362598c19d01350a79494dd3d59a5133')
-
-prepare() {
-  # upstream commit 37300aa54b8256dd2edfd504942eb2bd20823647
-  patch -Np1 -d $pkgname-$pkgver <0001-Restore-soname-versioning-with-CMake-build.patch
-}
-
-build() {
-  mkdir "$pkgname-$pkgver/build"
-  cd "$pkgname-$pkgver/build"
-
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_SHARED_LIBS=1 \
-    ..
-
-  make
-}
-
-check() {
-  make -C "$pkgname-$pkgver/build" test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make -C build DESTDIR=$pkgdir install
-
-  # documentation
-  install -dm755 "$pkgdir"/usr/share/doc/"$pkgname"
-  cp -dr --no-preserve=ownership doc/* "$pkgdir/usr/share/doc/$pkgname"
-
-  # license
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: leveldb/repos/extra-x86_64/PKGBUILD (from rev 357125, leveldb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-30 19:25:57 UTC (rev 357126)
@@ -0,0 +1,45 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: feydaykyn <feydaykyn at yahoo.fr>
+
+pkgname=leveldb
+pkgver=1.22
+pkgrel=1
+pkgdesc="A fast and lightweight key/value database library"
+arch=('x86_64')
+url="https://github.com/google/leveldb"
+license=('BSD')
+depends=('gperftools' 'snappy')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/google/leveldb/archive/$pkgver.tar.gz")
+sha1sums=('8d310af5cfb53dc836bfb412ff4b3c8aea578627')
+
+build() {
+  mkdir "$pkgname-$pkgver/build"
+  cd "$pkgname-$pkgver/build"
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_SHARED_LIBS=1 \
+    ..
+
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver/build" test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make -C build DESTDIR=$pkgdir install
+
+  # documentation
+  install -dm755 "$pkgdir"/usr/share/doc/"$pkgname"
+  cp -dr --no-preserve=ownership doc/* "$pkgdir/usr/share/doc/$pkgname"
+
+  # license
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list