pgadmin3.paketlendi

This commit is contained in:
milisarge 2017-06-11 13:28:31 +03:00
parent 405c4d664b
commit b4f6bf553d
3 changed files with 32 additions and 0 deletions

View File

@ -1,4 +1,5 @@
grub
dmidecode
start-stop-daemon
dejavu-ttf
xorriso

View File

@ -0,0 +1,11 @@
--- a/pgadmin/frm/plugins.cpp
+++ b/pgadmin/frm/plugins.cpp
@@ -380,7 +380,7 @@ bool pluginUtilityFactory::CheckEnable(p
{
// If we need a specific server type, we can't enable unless
// we have a connection.
- if (!obj || !(obj->GetConnection()->GetStatus() == PGCONN_OK))
+ if (!obj || !obj->GetConnection() || !(obj->GetConnection()->GetStatus() == PGCONN_OK))
return false;
// Get the server type.

View File

@ -0,0 +1,20 @@
# Description: PostgreSQL administration gui frontend
# URL: http://www.pgadmin.org/
# Packager: milisarge
# Depends on: wxgtk postgresql libgcrypt libxslt libxml2 libnotify
name=pgadmin3
version=1.22.2
release=1
source=(https://github.com/postgres/pgadmin3/archive/REL-1_22_2.tar.gz
pgadmin3-fix-segfault.patch)
build() {
cd $name-REL-1_22_2
bash bootstrap
patch -p1 -i $SRC/pgadmin3-fix-segfault.patch
./configure --prefix=/usr --with-wx-version=3.0 --with-libgcrypt
make all
make DESTDIR=$PKG install
find $PKG/usr/share/pgadmin3/docs/* ! -wholename "*tr_TR*" | xargs rm -rf
}