pgadmin3.paketlendi
This commit is contained in:
parent
405c4d664b
commit
b4f6bf553d
|
@ -1,4 +1,5 @@
|
||||||
grub
|
grub
|
||||||
|
dmidecode
|
||||||
start-stop-daemon
|
start-stop-daemon
|
||||||
dejavu-ttf
|
dejavu-ttf
|
||||||
xorriso
|
xorriso
|
||||||
|
|
|
@ -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.
|
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue