pgadmin3 in main
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
<Summary>wxGTK-devel is the development files for wxGTK</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">wxBase-devel</Dependency>
|
||||
<Dependency release="current">wxGTK</Dependency>
|
||||
<Dependency release="current">wxGTK2.8</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/lib/wx/include</Path>
|
||||
@@ -102,7 +102,7 @@
|
||||
<Name>wxBase-devel</Name>
|
||||
<Summary>wxBase-devel is the development files for wxBase</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">wxGTK</Dependency>
|
||||
<Dependency release="current">wxGTK2.8</Dependency>
|
||||
<Dependency release="current">wxBase</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>expat-devel</Dependency>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.system("sed -i -e 's/wx-config/wx-config-2.8/' configure")
|
||||
shelltools.system("sed -i 's/wxrc/wxrc-2.8/g' stringextract pgadmin/ui/embed-xrc")
|
||||
|
||||
shelltools.export("WX_CONFIG", "/usr/bin/wx-config-2.8 ")
|
||||
shelltools.export("WXDIR", "/usr ")
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-debug \
|
||||
--with-wx=/usr \
|
||||
--disable-dependency-tracking \
|
||||
--with-wx-config=/usr/bin/wx-config-2.8 \
|
||||
--with-wx-version=2.8")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.insinto("/usr/share/pixmaps", "pkg/debian/pgadmin3.xpm")
|
||||
@@ -0,0 +1,31 @@
|
||||
From d17a268572648b8e45ba6dc5854549a1dbf81c0a Mon Sep 17 00:00:00 2001
|
||||
From: Wander Nauta <info@wandernauta.nl>
|
||||
Date: Sun, 19 Apr 2015 16:37:41 +0200
|
||||
Subject: [PATCH] Move misplaced unlock of s_currentObjectMutex
|
||||
|
||||
The current implementation would unlock the mutex, even if it didn't own
|
||||
it.
|
||||
---
|
||||
pgadmin/frm/events.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pgadmin/frm/events.cpp b/pgadmin/frm/events.cpp
|
||||
index 4baaf42..f2ad570 100644
|
||||
--- a/pgadmin/frm/events.cpp
|
||||
+++ b/pgadmin/frm/events.cpp
|
||||
@@ -750,11 +750,11 @@ void frmMain::OnSelRightClick(wxTreeEvent &event)
|
||||
//
|
||||
s_currentObjectMutex.Lock();
|
||||
currentObject = browser->GetObject(item);
|
||||
+ s_currentObjectMutex.Unlock();
|
||||
}
|
||||
|
||||
if (currentObject)
|
||||
doPopup(browser, event.GetPoint(), currentObject);
|
||||
- s_currentObjectMutex.Unlock();
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
2.3.5
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=pgadmin3
|
||||
Comment=Graphical client for PostgreSQL
|
||||
Comment[tr]=PostgreSQL için grafiksel istemci
|
||||
GenericName=PostgreSQL Tools
|
||||
GenericName[tr]=PostgreSQL Yönetim Aracı
|
||||
Exec=pgadmin3
|
||||
Icon=pgadmin3
|
||||
Type=Application
|
||||
Categories=Application;Development;
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pgadmin3</Name>
|
||||
<Homepage>http://www.pgadmin.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Graphical client for PostgreSQL</Summary>
|
||||
<Description>pgadmin3 is a powerful administration and development platform for the PostgreSQL database, free for any use.</Description>
|
||||
<Archive sha1sum="3091b0bdc5156e54197f157a86240e47af9becc2" type="targz">https://ftp.postgresql.org/pub/pgadmin3/release/v1.22.0/src/pgadmin3-1.22.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>postgresql-lib</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>wxGTK2.8-devel</Dependency>
|
||||
<!--Dependency>wxMaxima</Dependency-->
|
||||
</BuildDependencies>
|
||||
<!--Patches>
|
||||
<Patch level="2">0001-Move-misplaced-unlock-of-s_currentObjectMutex.patch</Patch>
|
||||
</Patches-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pgadmin3</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>postgresql-lib</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>wxGTK2.8</Dependency>
|
||||
<Dependency>wxBase</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/pgadmin3</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/pgadmin3.desktop">pgadmin3.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2016-02-26</Date>
|
||||
<Version>1.22</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2015-01-26</Date>
|
||||
<Version>1.20.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-06-18</Date>
|
||||
<Version>1.18.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>1.16.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-30</Date>
|
||||
<Version>1.16.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-23</Date>
|
||||
<Version>1.16.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ertan Güven</Name>
|
||||
<Email>ertan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-01-07</Date>
|
||||
<Version>1.12.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pgadmin3</Name>
|
||||
<Summary xml:lang="tr">PostgreSQL grafik arabirimi</Summary>
|
||||
<Description xml:lang="tr">wxGTK temelli PostgreSQL grafik arabirimi</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user