From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-db/pgadmin3/Manifest | 11 ++++ dev-db/pgadmin3/files/pgadmin3-desktop-r1.patch | 15 ++++++ dev-db/pgadmin3/files/pgadmin3-desktop.patch | 16 ++++++ .../files/pgadmin3-gcc6-null-pointer.patch | 11 ++++ dev-db/pgadmin3/metadata.xml | 11 ++++ dev-db/pgadmin3/pgadmin3-1.22.1-r1.ebuild | 59 ++++++++++++++++++++++ dev-db/pgadmin3/pgadmin3-1.22.1-r2.ebuild | 45 +++++++++++++++++ dev-db/pgadmin3/pgadmin3-1.22.2.ebuild | 45 +++++++++++++++++ 8 files changed, 213 insertions(+) create mode 100644 dev-db/pgadmin3/Manifest create mode 100644 dev-db/pgadmin3/files/pgadmin3-desktop-r1.patch create mode 100644 dev-db/pgadmin3/files/pgadmin3-desktop.patch create mode 100644 dev-db/pgadmin3/files/pgadmin3-gcc6-null-pointer.patch create mode 100644 dev-db/pgadmin3/metadata.xml create mode 100644 dev-db/pgadmin3/pgadmin3-1.22.1-r1.ebuild create mode 100644 dev-db/pgadmin3/pgadmin3-1.22.1-r2.ebuild create mode 100644 dev-db/pgadmin3/pgadmin3-1.22.2.ebuild (limited to 'dev-db/pgadmin3') diff --git a/dev-db/pgadmin3/Manifest b/dev-db/pgadmin3/Manifest new file mode 100644 index 000000000000..b592090758e0 --- /dev/null +++ b/dev-db/pgadmin3/Manifest @@ -0,0 +1,11 @@ +AUX pgadmin3-desktop-r1.patch 512 SHA256 46d9881b4e45ab935acfbf8c1cce52bb611e3f7f6f4018d4ef5ff0dad2dd7cb4 SHA512 8a3253318ad6b98136b8fd4539dffc030d9625a256d7f802a399e972b9a5cf3440a3c602bde8ee21091eed4aae8c736643b9a15246dfd3bae56c8dbd80847ae6 WHIRLPOOL b09ce60ea51e67380bbbdc8efc0ce040923dce5a2475ab41f18a30986a79070534af3f2c7db4a6ae051e82c467a6ab062b303a39a8e504f3d5433c82ac9d8ca0 +AUX pgadmin3-desktop.patch 533 SHA256 c0da2c8e45b5407f8c7421e92edf2f6d2902d69bc76aa1cce9e872d9a58f0819 SHA512 f36c3b3ce8dd384b32bf096de4ea95b3a7d63f82514512615f8e7cc3a0ac3f892390114ba65b66ebb69db1cce5415afd517941622cf2a6939a58d7792b362557 WHIRLPOOL b44a66c67f4037ae8aef7f47ec62ce40a30f2386fcc6dab8ef0eeef17b2b26e97e0988677b9b6c56cdec820112fb440413adfcfcf3ff0c092da1e84920dfd88a +AUX pgadmin3-gcc6-null-pointer.patch 421 SHA256 b175869b77bcbfa43f1bc256277966882789883792c4f9dd26038ec248def6a2 SHA512 c0fe3d3cc5c1c29f69f3b81b0c78fbe2cf6e484e3ace9e35a3352d93246fc8227047c7c59a168bedfdc7b4f67d3db800c8b1d7cd962d7952436e080a2ea1e083 WHIRLPOOL 4e10d294227a8ec04fe40e5d7e9c4766a3b7df7bebd3ee7070c6edce362205ec2c7b4ace483ee33d122abe11445644aed53edc7d158586af3fe6a8e6320406a3 +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 +EBUILD pgadmin3-1.22.1-r1.ebuild 1232 SHA256 dd33f90439c3b7b09584f58f644778d738d98a923f99b95e184e3501a15f9fb5 SHA512 b062550f8bc6856906984eef98cdf57ec191c7008a0b70f12f10a89811b98125d3a690cb48bf419990b4f6bcc9346517e518bb8975cb10c18a9f151d890028eb WHIRLPOOL c585c918c2d081684bfaa3a0b6340a8b5c7fafb25c02320e87f645d2042d25e8250d6a93e8c74b90b1afbb9b04d9020f82a6194cd3b0e968122dddd0e3eb137e +EBUILD pgadmin3-1.22.1-r2.ebuild 918 SHA256 0d49872e9f7561b7f6c4acfdb3ca3a6ab80657bd90f7c2229bf2a26a7deab60b SHA512 029c492b94913695c6d1ee1ce5508e284ebe112ecb960a5dcae7eeb8a8b7e48b6ba8af8ecf00fbd80ff2a9bed8867faa04b26b05d9ee3c4b828b378edaa55739 WHIRLPOOL 25f6546551f02a741d77909f485d340aae65f82eea793a0ebf00aa7d771eba490607e6cc1ebe1252e07095b8a9e0eceb84619f4a50f9dfd982602d753f30a34a +EBUILD pgadmin3-1.22.2.ebuild 982 SHA256 382e042cf62e12a8601ddd015d5976f3bedd7cbc125b97c9ddce406c6274ee5a SHA512 ad39f85a87a0f90ce8d2646de9bfb1eb311d4b79d90b7f33abe3ceb551fe9b50753b124b48c6d965eab4134f5c57da4e157f5493165a1d50431b5fc23f52d6f9 WHIRLPOOL 458ae2936c9887cea340a8438174cab64f262b24df5b08a233cbc440e492cc36bfe1e9576fdcca354742877ba03812c4786c1e2e39853a90468a2b10cee193b1 +MISC ChangeLog 4756 SHA256 aec332ea3ad6d7d771a71cde558067bda4136e9eb20ede5c66fbf64554a1caa1 SHA512 b2afaeb1447cb4db6e7c9aa6134ca8bf80ea1ee25f4d3d0eee051e6c37e93f389418dadf2a46f787cd0569a86337fbf8fd031f914c506b29bf309851966268c3 WHIRLPOOL 975d8d6b0f9cf75dd40841d5f2a3574f9caf6d184c36614b6230eb043a92e9fd07d26318f8ba929065b70d93ed232a66188422e95f4f375be999ca6ac9f8d321 +MISC ChangeLog-2015 15376 SHA256 67c6bcb093d15422761eaa141ab143836419e5ac9f1af7177887fbdee6d7a8fa SHA512 14379a90e6ff07bd8367ee7b656dcf6cff8dd3a04f920a52fd1233c9d1f5a730a24c0e96727230f92d3bb7896c0d3ad6a096ddf39bb74ca8235f4f739c374659 WHIRLPOOL 576172b1eccd3397bb7a25c29084ea369ba197e7ee9b3f28861eda9d516351d57026ce250bfecb67828dbefee59eed2fb909b47e9e7755575f207850e9b603fe +MISC metadata.xml 368 SHA256 7d625ab5d00b750ed72a3cc7438ce2deb60b2d991e20dcedc3054ce07d330638 SHA512 435f2da400e35d133390ec90860cfe1dd135281156ae1ed6c28e32b4e9f67d93cdb5e7e9ffa183244984e689a131838e6301a50d5366216bccc2df5cd97b54ea WHIRLPOOL f1282ccb0f3ad2f0d4dc39e657544fa35e83e686c5d1f325cc61e1405d3ca4c78507ab4354c2e52183506e3b62b0186153cc7961d73d4df0c15604c19bde665f 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 000000000000..64a599e00cdb --- /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/files/pgadmin3-desktop.patch b/dev-db/pgadmin3/files/pgadmin3-desktop.patch new file mode 100644 index 000000000000..0453d8d7e4b3 --- /dev/null +++ b/dev-db/pgadmin3/files/pgadmin3-desktop.patch @@ -0,0 +1,16 @@ +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,9 @@ + 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; ++MimeType=text/html; + DocPath=/usr/share/pgadmin3/docs/en_US/index.html + Comment=PostgreSQL Tools 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 000000000000..1396f8de8aab --- /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/metadata.xml b/dev-db/pgadmin3/metadata.xml new file mode 100644 index 000000000000..7d8a73bc92c1 --- /dev/null +++ b/dev-db/pgadmin3/metadata.xml @@ -0,0 +1,11 @@ + + + + + pgsql-bugs@gentoo.org + PostgreSQL and Related Package Development + + + Enable the Database Designer component + + diff --git a/dev-db/pgadmin3/pgadmin3-1.22.1-r1.ebuild b/dev-db/pgadmin3/pgadmin3-1.22.1-r1.ebuild new file mode 100644 index 000000000000..f2ebdc7e46e5 --- /dev/null +++ b/dev-db/pgadmin3/pgadmin3-1.22.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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:3.0=[X] + >=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_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 +} 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 000000000000..27d932986e32 --- /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 +} 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 000000000000..efce58f103c6 --- /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 +} -- cgit v1.2.3