You are not logged in.

#1 2023-08-13 23:44:23

diedbydisgust
Member
Registered: 2023-06-17
Posts: 3

libpqxx outdated and flagged for years

what is wrong with this package? the maintainer(anthraxx) has been active recently, but this package seems dead.

Offline

#2 2023-08-14 07:42:52

seth
Member
Registered: 2012-09-03
Posts: 48,608

Re: libpqxx outdated and flagged for years

See https://bbs.archlinux.org/viewtopic.php?id=130138 - #6
It's exclusively a build dependecy for "medusa" which might or not restrict the update - are you asking out of curiosity or because the lagging update poses an actual problem?

Offline

#3 2023-08-14 11:40:50

loqs
Member
Registered: 2014-03-06
Posts: 17,121

Re: libpqxx outdated and flagged for years

seth wrote:

It's exclusively a build dependecy for "medusa" which might or not restrict the update

That dependency is a mistake [1].  Nothing in the repos currently uses medusa for anything.
Edit:
diff updating the PKGBUILD to 7.8.1 also addresses [2]

diff --git a/PKGBUILD b/PKGBUILD
index cadf719..a7f4830 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,30 +2,33 @@
 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
 
 pkgname=libpqxx
-pkgver=7.6.0
+pkgver=7.8.1
 pkgrel=1
 pkgdesc='C++ client API for PostgreSQL'
 url='http://pqxx.org/development/libpqxx/'
 arch=('x86_64')
 license=('custom')
 depends=('postgresql-libs>=9.1')
-makedepends=('python' 'xmlto' 'doxygen')
+makedepends=('python')
+#makedepends=('postgresql' 'python' 'xmlto' 'doxygen' 'graphviz' 'cmake')
 provides=('libpqxx.so')
 source=(https://github.com/jtv/libpqxx/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('8194ce4eff3fee5325963ccc28d3542cfaa54ba1400833d0df6948de3573c118')
-b2sums=('61e974e3c13c8c4ba958b1b20a63e3cb142bc02b6d527da99fe5ad892a3479adc326e523258051fbd1a453e505f7944267851ff4333fb6300204780ffdbfe6e7')
+sha256sums=('0f4c0762de45a415c9fd7357ce508666fa88b9a4a463f5fb76c235bc80dd6a84')
+b2sums=('ca2a9abd138113967dea6aedbb20687c0126f081f4adb2b8c0e03a3bf04b4f528206314b1d44b5d2243228eef41d0380ff67d66747161bf43efa6da8aab50017')
 
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \
     --prefix=/usr \
-    --enable-shared
+    --enable-shared \
+    --disable-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
   cd ${pkgname}-${pkgver}
-  make prefix="${pkgdir}/usr" install
+  make DESTDIR="${pkgdir}" install
   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

[1] https://bugs.archlinux.org/task/70069
[2] https://bugs.archlinux.org/task/70764

Last edited by loqs (2023-08-14 18:49:38)

Offline

Board footer

Powered by FluxBB