* [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin3/files/, dev-db/pgadmin3/
@ 2016-11-25 18:57 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2016-11-25 18:57 UTC (permalink / raw
To: gentoo-commits
commit: 8cd3bf4e262a570ff16fac3871a927ae2e581438
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 18:40:38 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 18:55:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd3bf4e
dev-db/pgadmin3: Drop old
Package-Manager: portage-2.3.2
dev-db/pgadmin3/Manifest | 2 -
| 14 ------
dev-db/pgadmin3/pgadmin3-1.18.1.ebuild | 59 -----------------------
dev-db/pgadmin3/pgadmin3-1.20.0-r1.ebuild | 58 ----------------------
dev-db/pgadmin3/pgadmin3-1.20.0-r2.ebuild | 61 ------------------------
dev-db/pgadmin3/pgadmin3-1.20.0.ebuild | 59 -----------------------
dev-db/pgadmin3/pgadmin3-1.22.1.ebuild | 60 -----------------------
7 files changed, 313 deletions(-)
diff --git a/dev-db/pgadmin3/Manifest b/dev-db/pgadmin3/Manifest
index 8a5b86d..795ca1f 100644
--- a/dev-db/pgadmin3/Manifest
+++ b/dev-db/pgadmin3/Manifest
@@ -1,4 +1,2 @@
-DIST pgadmin3-1.18.1.tar.gz 14265392 SHA256 27ac3e296a6ca3da9da8ee22ed98eabfe1377be507877ffc26048fc2a9c6cbc0 SHA512 e292aaf95159eda98fe5f5112aad758cc08c38fe325ef92c698009defeb3891d9e0d485c00a0cbb82b70a95f54755eeb7f90b82a34354e77b485f738b5458c99 WHIRLPOOL 1f1af18a721c2c99b0dc52ec571e5831aac89eb998d9917e82134f9a900fce5b5a8edcc55640c962bd9b14de1ebae42cf9d896e1a3f84a05402674252dfeeb17
-DIST pgadmin3-1.20.0.tar.gz 14394997 SHA256 0773d7826a9c7a998c4872e9b00b998e0bbb10448984d66853420c95fa626b8c SHA512 83521a16d60bf8c9cffb03e4fb401a31e28f764c31608c0b223f7c88a14a09f665c976f3472debd4ad8b6cd54f0fbd2b8de352c296180e6ea6f8088cb45447bc WHIRLPOOL 336e785e7ed6d67d129bba3230a73900cc8404ce29371d4a9ec1db98d2ceb4fb6fd60ea75a2b432c2fe1bbec886db76d9dbbc4ffe77b067709f8e250fa348fe7
DIST pgadmin3-1.22.0.tar.gz 14668096 SHA256 3c76c429797a9524f00d4dd82ab77aa367f2bba154c2b2e017de5cbc9d690256 SHA512 db16ac1b92e95a6da51be973b6833e53aed4c1d8740c8bccbfd778b0c3d3a4158fb13107761e0a39227aea87360be3b297ebc8809ac8ca5102d673935a33727c WHIRLPOOL 2282b70c4579f2ad5b83c94cfa62429f1825e387e5864db8cf74631b1bbd340d4031c6d5a50947c1fdd8a15c3b732fe69a90fef1c38fd109de9d5f3ae8d007ca
DIST pgadmin3-1.22.1.tar.gz 14667770 SHA256 719ea7c0e65d99e8f365bf2d395d7a199804170b3266ada1374d9ac790bc783e SHA512 f190e82317e10b75cb0ebd7cc0c878c4be9c392e33aba44a1356446e4cac92735834a32b1d65999ffc3e36ed130d4cfcc1c25ad5faa3c745e884fccd797331e0 WHIRLPOOL ce7291cd0257914d6c5c11b71f0de630d9b72ac1ec9ee890a4b1feffed540c751c16e4164544223bb7db0eca02d1798d83f188362db4b750c504fd44aad081b7
diff --git a/dev-db/pgadmin3/files/pgadmin3-menu-assert.patch b/dev-db/pgadmin3/files/pgadmin3-menu-assert.patch
deleted file mode 100644
index ae6615d..00000000
--- a/dev-db/pgadmin3/files/pgadmin3-menu-assert.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-X-Git-Url: http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=blobdiff_plain;f=pgadmin%2Fctl%2FctlMenuToolbar.cpp;h=4a70089698c37f1f4fcd1bdd78948b4b4336969d;hp=8951aa409177c5e72e9cc0a7a31d177966a7a104;hb=a00916753f88ee9323abd2ea8cddb01428b296fc;hpb=e3ab3ddd6b5faafbc883cfb5003b6a2cecef2ce2
-
-diff --git a/pgadmin/ctl/ctlMenuToolbar.cpp b/pgadmin/ctl/ctlMenuToolbar.cpp
-index 8951aa4..4a70089 100644
---- a/pgadmin/ctl/ctlMenuToolbar.cpp
-+++ b/pgadmin/ctl/ctlMenuToolbar.cpp
-@@ -109,7 +109,7 @@ void ctlMenuButton::DoProcessLeftClick(wxMouseEvent &event)
- menu_pos.y = button_size.GetHeight();
- }
-
-- PopupMenu(m_menu, menu_pos);
-+ DoPopupMenu(m_menu, menu_pos.x, menu_pos.y);
- }
-
diff --git a/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild b/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild
deleted file mode 100644
index ffdba42..00000000
--- a/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-WX_GTK_VER="2.8"
-
-inherit multilib versionator wxwidgets
-
-DESCRIPTION="wxWidgets GUI for PostgreSQL"
-HOMEPAGE="http://www.pgadmin.org/"
-SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
-SLOT="0"
-IUSE="debug +databasedesigner"
-
-DEPEND="x11-libs/wxGTK:2.8[X,debug=]
- >=dev-db/postgresql-8.4.0
- >=dev-libs/libxml2-2.6.18
- >=dev-libs/libxslt-1.1"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- local pgslot=$(postgresql-config show)
-
- if [[ ${pgslot//.} < 84 ]] ; then
- eerror "PostgreSQL slot must be set to 8.4 or higher."
- eerror " postgresql-config set 8.4"
- die "PostgreSQL slot is not set to 8.4 or higher."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pgadmin3-desktop.patch"
-}
-
-src_configure() {
- econf --with-wx-version=2.8 \
- $(use_enable debug) \
- $(use_enable databasedesigner)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
-
- # icon location for the desktop file provided in pkg folder
- insinto /usr/share/pgadmin3
- doins "${S}/pgadmin/include/images/pgAdmin3.png"
-
- domenu "${S}/pkg/pgadmin3.desktop"
-
- # Fixing world-writable files
- fperms -R go-w /usr/share
-}
diff --git a/dev-db/pgadmin3/pgadmin3-1.20.0-r1.ebuild b/dev-db/pgadmin3/pgadmin3-1.20.0-r1.ebuild
deleted file mode 100644
index 980c022..00000000
--- a/dev-db/pgadmin3/pgadmin3-1.20.0-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit multilib versionator wxwidgets
-
-DESCRIPTION="wxWidgets GUI for PostgreSQL"
-HOMEPAGE="http://www.pgadmin.org/"
-SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
-SLOT="0"
-IUSE="debug +databasedesigner"
-
-DEPEND="x11-libs/wxGTK:=[X,debug=]
- >=dev-db/postgresql-8.4.0:=
- >=dev-libs/libxml2-2.6.18
- >=dev-libs/libxslt-1.1"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- local pgslot=$(postgresql-config show)
-
- if [[ ${pgslot//.} < 84 ]] ; then
- eerror "PostgreSQL slot must be set to 8.4 or higher."
- eerror " postgresql-config set 8.4"
- die "PostgreSQL slot is not set to 8.4 or higher."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pgadmin3-desktop.patch"
-}
-
-src_configure() {
- WX_GTK_PV=$(best_version x11-libs/wxGTK[X,debug=])
- WX_GTK_VER=$(get_version_component_range 1-2 ${WX_GTK_PV#x11-libs/wxGTK-})
-
- need-wxwidgets unicode
-
- econf --with-wx-version=${WX_GTK_VER} \
- $(use_enable debug) \
- $(use_enable databasedesigner)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
-
- domenu "${S}/pkg/pgadmin3.desktop"
-
- # Fixing world-writable files
- fperms -R go-w /usr/share
-}
diff --git a/dev-db/pgadmin3/pgadmin3-1.20.0-r2.ebuild b/dev-db/pgadmin3/pgadmin3-1.20.0-r2.ebuild
deleted file mode 100644
index 9add920..00000000
--- a/dev-db/pgadmin3/pgadmin3-1.20.0-r2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib versionator wxwidgets
-
-DESCRIPTION="wxWidgets GUI for PostgreSQL"
-HOMEPAGE="http://www.pgadmin.org/"
-SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-SLOT="0"
-IUSE="debug +databasedesigner"
-
-DEPEND="x11-libs/wxGTK:=[X,debug=]
- >=dev-db/postgresql-8.4.0:=
- >=dev-libs/libxml2-2.6.18
- >=dev-libs/libxslt-1.1"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- local pgslot=$(postgresql-config show)
-
- if [[ ${pgslot//.} < 84 ]] ; then
- eerror "PostgreSQL slot must be set to 8.4 or higher."
- eerror " postgresql-config set 8.4"
- die "PostgreSQL slot is not set to 8.4 or higher."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pgadmin3-desktop.patch" \
- "${FILESDIR}/pgadmin3-menu-assert.patch"
-
- epatch_user
-}
-
-src_configure() {
- WX_GTK_PV=$(best_version x11-libs/wxGTK[X,debug=])
- WX_GTK_VER=$(get_version_component_range 1-2 ${WX_GTK_PV#x11-libs/wxGTK-})
-
- need-wxwidgets unicode
-
- econf --with-wx-version=${WX_GTK_VER} \
- $(use_enable debug) \
- $(use_enable databasedesigner)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
-
- domenu "${S}/pkg/pgadmin3.desktop"
-
- # Fixing world-writable files
- fperms -R go-w /usr/share
-}
diff --git a/dev-db/pgadmin3/pgadmin3-1.20.0.ebuild b/dev-db/pgadmin3/pgadmin3-1.20.0.ebuild
deleted file mode 100644
index d95f2b6..00000000
--- a/dev-db/pgadmin3/pgadmin3-1.20.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-WX_GTK_VER="2.8"
-
-inherit multilib versionator wxwidgets
-
-DESCRIPTION="wxWidgets GUI for PostgreSQL"
-HOMEPAGE="http://www.pgadmin.org/"
-SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-SLOT="0"
-IUSE="debug +databasedesigner"
-
-DEPEND="x11-libs/wxGTK:2.8[X,debug=]
- >=dev-db/postgresql-8.4.0
- >=dev-libs/libxml2-2.6.18
- >=dev-libs/libxslt-1.1"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- local pgslot=$(postgresql-config show)
-
- if [[ ${pgslot//.} < 84 ]] ; then
- eerror "PostgreSQL slot must be set to 8.4 or higher."
- eerror " postgresql-config set 8.4"
- die "PostgreSQL slot is not set to 8.4 or higher."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pgadmin3-desktop.patch"
-}
-
-src_configure() {
- econf --with-wx-version=2.8 \
- $(use_enable debug) \
- $(use_enable databasedesigner)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
-
- # icon location for the desktop file provided in pkg folder
- insinto /usr/share/pgadmin3
- doins "${S}/pgadmin/include/images/pgAdmin3.png"
-
- domenu "${S}/pkg/pgadmin3.desktop"
-
- # Fixing world-writable files
- fperms -R go-w /usr/share
-}
diff --git a/dev-db/pgadmin3/pgadmin3-1.22.1.ebuild b/dev-db/pgadmin3/pgadmin3-1.22.1.ebuild
deleted file mode 100644
index d1a2e17..00000000
--- a/dev-db/pgadmin3/pgadmin3-1.22.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib versionator wxwidgets
-
-DESCRIPTION="wxWidgets GUI for PostgreSQL"
-HOMEPAGE="http://www.pgadmin.org/"
-SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-SLOT="0"
-IUSE="debug +databasedesigner"
-
-DEPEND="x11-libs/wxGTK:=[X,debug=]
- >=dev-db/postgresql-8.4.0:=
- >=dev-libs/libxml2-2.6.18
- >=dev-libs/libxslt-1.1"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- local pgslot=$(postgresql-config show)
-
- if [[ ${pgslot//.} < 84 ]] ; then
- eerror "PostgreSQL slot must be set to 8.4 or higher."
- eerror " postgresql-config set 8.4"
- die "PostgreSQL slot is not set to 8.4 or higher."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pgadmin3-desktop.patch"
-
- epatch_user
-}
-
-src_configure() {
- WX_GTK_PV=$(best_version x11-libs/wxGTK[X,debug=])
- WX_GTK_VER=$(get_version_component_range 1-2 ${WX_GTK_PV#x11-libs/wxGTK-})
-
- need-wxwidgets unicode
-
- econf --with-wx-version=${WX_GTK_VER} \
- $(use_enable debug) \
- $(use_enable databasedesigner)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
-
- domenu "${S}/pkg/pgadmin3.desktop"
-
- # Fixing world-writable files
- fperms -R go-w /usr/share
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin3/files/, dev-db/pgadmin3/
@ 2017-08-11 15:14 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2017-08-11 15:14 UTC (permalink / raw
To: gentoo-commits
commit: 878686c26fe0112a9aa73953dc8595bf1f8bd65f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 11 08:41:23 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 11 15:11:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=878686c2
dev-db/pgadmin3: Drop obsolete pgslot check, drop bogus html mimetype
pgadmin3 is not a webbrowser, and opening html is unsuccessful.
Dropped unused eclasses.
Bumped to EAPI 6.
Gentoo-bug: 626812
Package-Manager: Portage-2.3.6, Repoman-2.3.3
dev-db/pgadmin3/files/pgadmin3-desktop-r1.patch | 15 +++++++++
dev-db/pgadmin3/pgadmin3-1.22.1-r2.ebuild | 45 +++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-db/pgadmin3/files/pgadmin3-desktop-r1.patch b/dev-db/pgadmin3/files/pgadmin3-desktop-r1.patch
new file mode 100644
index 00000000000..64a599e00cd
--- /dev/null
+++ b/dev-db/pgadmin3/files/pgadmin3-desktop-r1.patch
@@ -0,0 +1,15 @@
+diff -Naruw a/pkg/pgadmin3.desktop b/pkg/pgadmin3.desktop
+--- a/pkg/pgadmin3.desktop 2013-02-22 12:21:19.000000000 -0500
++++ b/pkg/pgadmin3.desktop 2015-02-04 15:36:34.845312953 -0500
+@@ -2,9 +2,8 @@
+ Encoding=UTF-8
+ Name=pgAdmin III
+ Exec=/usr/bin/pgadmin3
+-Icon=/usr/share/pgadmin3/pgAdmin3.png
++Icon=/usr/share/pixmaps/pgadmin3.png
+ Type=Application
+-Categories=Application;Development;
+-MimeType=text/html
++Categories=Development;
+ DocPath=/usr/share/pgadmin3/docs/en_US/index.html
+ Comment=PostgreSQL Tools
diff --git a/dev-db/pgadmin3/pgadmin3-1.22.1-r2.ebuild b/dev-db/pgadmin3/pgadmin3-1.22.1-r2.ebuild
new file mode 100644
index 00000000000..27d932986e3
--- /dev/null
+++ b/dev-db/pgadmin3/pgadmin3-1.22.1-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils wxwidgets
+
+DESCRIPTION="wxWidgets GUI for PostgreSQL"
+HOMEPAGE="https://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="debug +databasedesigner"
+
+DEPEND="
+ >=dev-db/postgresql-8.4.0:=
+ >=dev-libs/libxml2-2.6.18
+ >=dev-libs/libxslt-1.1
+ x11-libs/wxGTK:3.0=[X]"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-desktop-r1.patch" )
+
+src_configure() {
+ WX_GTK_VER="3.0"
+
+ setup-wxwidgets
+
+ econf --with-wx-version=${WX_GTK_VER} \
+ $(use_enable debug) \
+ $(use_enable databasedesigner)
+}
+
+src_install() {
+ default
+
+ newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
+
+ domenu "${S}/pkg/pgadmin3.desktop"
+
+ # Fixing world-writable files
+ fperms -R go-w /usr/share
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin3/files/, dev-db/pgadmin3/
@ 2017-10-07 20:43 Aaron Swenson
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Swenson @ 2017-10-07 20:43 UTC (permalink / raw
To: gentoo-commits
commit: 688f3c389edcf5009d8f5ba5b256a76b75c09ee0
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 20:42:52 2017 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 20:42:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688f3c38
dev-db/pgadmin3: Bump to 1.22.2, fix startup crash
Bump to version 1.22.2.
Also fix crash on start up when using GCC 6. Thanks torto09.
Gentoo-Bug: https://bugs.gentoo.org/629422
Package-Manager: Portage-2.3.8, Repoman-2.3.3
dev-db/pgadmin3/Manifest | 1 +
.../files/pgadmin3-gcc6-null-pointer.patch | 11 ++++++
dev-db/pgadmin3/pgadmin3-1.22.2.ebuild | 45 ++++++++++++++++++++++
3 files changed, 57 insertions(+)
diff --git a/dev-db/pgadmin3/Manifest b/dev-db/pgadmin3/Manifest
index fc4732a1495..8f248f01e44 100644
--- a/dev-db/pgadmin3/Manifest
+++ b/dev-db/pgadmin3/Manifest
@@ -1 +1,2 @@
DIST pgadmin3-1.22.1.tar.gz 14667770 SHA256 719ea7c0e65d99e8f365bf2d395d7a199804170b3266ada1374d9ac790bc783e SHA512 f190e82317e10b75cb0ebd7cc0c878c4be9c392e33aba44a1356446e4cac92735834a32b1d65999ffc3e36ed130d4cfcc1c25ad5faa3c745e884fccd797331e0 WHIRLPOOL ce7291cd0257914d6c5c11b71f0de630d9b72ac1ec9ee890a4b1feffed540c751c16e4164544223bb7db0eca02d1798d83f188362db4b750c504fd44aad081b7
+DIST pgadmin3-1.22.2.tar.gz 14788481 SHA256 9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac SHA512 dcfc72cc2e33dbf1c9d1ce287f9d1d46eb047c99a165372cb74ef1716098f90f2ce2a8d0cd21b511a1ac8c0569dc7b3c0593208a74641f5a8f29dc9c04e40bbd WHIRLPOOL 22db2eb23520d80a3a2d2187954885ed46dac5a8db3fc26eec81faec20987fcc9a2529e0f5d91a6560374c9518209f361530911fbc60488109ec22819e0c048d
diff --git a/dev-db/pgadmin3/files/pgadmin3-gcc6-null-pointer.patch b/dev-db/pgadmin3/files/pgadmin3-gcc6-null-pointer.patch
new file mode 100644
index 00000000000..1396f8de8aa
--- /dev/null
+++ b/dev-db/pgadmin3/files/pgadmin3-gcc6-null-pointer.patch
@@ -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.
diff --git a/dev-db/pgadmin3/pgadmin3-1.22.2.ebuild b/dev-db/pgadmin3/pgadmin3-1.22.2.ebuild
new file mode 100644
index 00000000000..efce58f103c
--- /dev/null
+++ b/dev-db/pgadmin3/pgadmin3-1.22.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils multilib versionator wxwidgets
+
+DESCRIPTION="wxWidgets GUI for PostgreSQL"
+HOMEPAGE="http://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/pgadmin/pgadmin3/v${PV}/src/${P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="debug +databasedesigner"
+
+DEPEND="
+ x11-libs/wxGTK:3.0=[X]
+ >=dev-db/postgresql-8.4.0:=
+ >=dev-libs/libxml2-2.6.18
+ >=dev-libs/libxslt-1.1"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/pgadmin3-{desktop,gcc6-null-pointer}.patch )
+
+src_configure() {
+ WX_GTK_VER="3.0"
+
+ setup-wxwidgets
+
+ econf --with-wx-version=${WX_GTK_VER} \
+ $(use_enable debug) \
+ $(use_enable databasedesigner)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
+
+ domenu "${S}/pkg/pgadmin3.desktop"
+
+ # Fixing world-writable files
+ fperms -R go-w /usr/share
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-07 20:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-07 20:43 [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin3/files/, dev-db/pgadmin3/ Aaron Swenson
-- strict thread matches above, loose matches on Subject: below --
2017-08-11 15:14 Andreas Sturmlechner
2016-11-25 18:57 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox