Your message dated Thu, 29 May 2014 19:33:48 +0000
with message-id <e1wq65e-0004l9...@franck.debian.org>
and subject line Bug#749454: fixed in pgagent 3.4.0-2
has caused the Debian Bug report #749454,
regarding pgagent: Please update to use wxwidgets3.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
749454: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749454
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pgagent
Version: 3.4.0-1
Severity: normal
Tags: patch
User: freewx-ma...@lists.alioth.debian.org
Usertags: wx3.0

Dear maintainer,

We're aiming to migrate the archive to using wxwidgets3.0 instead of
wxwidgets2.8.

I've rebuilt you package using the attached patch.  I don't have any
postgres databases to hand to test it with, but I've fixed an wx debug
message I was getting on exit with "pgagent -f".  It would be good to
have some more thorough testing from someone who actually uses this
package though.

Cheers,
    Olly

diff -Nru pgagent-3.4.0/debian/changelog pgagent-3.4.0/debian/changelog
--- pgagent-3.4.0/debian/changelog	2014-03-07 05:45:50.000000000 +1300
+++ pgagent-3.4.0/debian/changelog	2014-05-27 12:12:05.000000000 +1200
@@ -1,3 +1,10 @@
+pgagent (3.4.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update to use wxwidgets3.0 (new patch 02_use-wx3.0.patch).
+
+ -- Olly Betts <o...@survex.com>  Tue, 27 May 2014 12:11:57 +1200
+
 pgagent (3.4.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru pgagent-3.4.0/debian/control pgagent-3.4.0/debian/control
--- pgagent-3.4.0/debian/control	2014-03-07 05:49:05.000000000 +1300
+++ pgagent-3.4.0/debian/control	2014-03-19 03:15:22.000000000 +1300
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Gerfried Fuchs <rho...@debian.org>
 Uploaders: Christoph Berg <m...@debian.org>
-Build-Depends: debhelper (>= 9), cmake, libwxgtk2.8-dev, libpq-dev (>= 8.1),
+Build-Depends: debhelper (>= 9), cmake, libwxbase3.0-dev, libpq-dev (>= 8.1),
  postgresql-server-dev-all
 Standards-Version: 3.9.5
 Homepage: http://www.pgadmin.org/
diff -Nru pgagent-3.4.0/debian/patches/03_use-wx3.0.patch pgagent-3.4.0/debian/patches/03_use-wx3.0.patch
--- pgagent-3.4.0/debian/patches/03_use-wx3.0.patch	1970-01-01 12:00:00.000000000 +1200
+++ pgagent-3.4.0/debian/patches/03_use-wx3.0.patch	2014-05-27 12:58:21.000000000 +1200
@@ -0,0 +1,99 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -86,9 +86,8 @@
+ ################################################################################
+ # Find wxWidgets
+ ################################################################################
+-SET(WX_DEBUG NO CACHE BOOL "Use the debug build of wxWidgets?")
+ SET(WX_STATIC ${STATIC_BUILD})
+-SET(WX_VERSION "2.8")
++SET(WX_VERSION "3.0")
+ SET(WX_UNICODE YES)
+ SET(WX_MODULES "base")
+ 
+@@ -184,7 +183,6 @@
+ MESSAGE(STATUS "  wxWidgets path              : ${WX_ROOT_DIR}")
+ MESSAGE(STATUS "  wxWidgets config binary     : ${WX_CONFIG_PATH}")
+ MESSAGE(STATUS "  wxWidgets Static linking    : ${WX_STATIC}")
+-MESSAGE(STATUS "  wxWidgets Debug?            : ${WX_DEBUG}")
+ MESSAGE(STATUS "================================================================================")
+ MESSAGE(STATUS " ")
+ 
+--- a/cmake/FindWX.cmake
++++ b/cmake/FindWX.cmake
+@@ -16,8 +16,7 @@
+ # If not set, the default values shown will be used. Booleans must 
+ # be either YES or NO:
+ #
+-# WX_VERSION = "2.8"
+-# WX_DEBUG = NO
++# WX_VERSION = "3.0"
+ # WX_STATIC = NO
+ # WX_UNICODE = YES
+ # WX_MODULES = "base" (a list).
+@@ -73,21 +72,11 @@
+ ###############################################################################
+ 
+ IF(NOT WX_VERSION OR WX_VERSION STREQUAL "")
+-    SET(_version "2.8")
++    SET(_version "3.0")
+ ELSE(NOT WX_VERSION OR WX_VERSION STREQUAL "")
+     SET(_version ${WX_VERSION})
+ ENDIF(NOT WX_VERSION OR WX_VERSION STREQUAL "")
+ 
+-IF(NOT WX_DEBUG OR WX_DEBUG STREQUAL "")
+-    SET(_debug "no")
+-ELSE(NOT WX_DEBUG OR WX_DEBUG STREQUAL "")
+-    IF(WX_DEBUG)
+-        SET(_debug "yes")
+-    ELSE(WX_DEBUG)
+-        SET(_debug "no")
+-    ENDIF(WX_DEBUG)
+-ENDIF(NOT WX_DEBUG OR WX_DEBUG STREQUAL "")
+-
+ IF(NOT WX_STATIC OR WX_STATIC STREQUAL "")
+     SET(_static "no")
+ ELSE(NOT WX_STATIC OR WX_STATIC STREQUAL "")
+@@ -114,7 +103,7 @@
+     SET(_modules ${WX_MODULES})
+ ENDIF(NOT WX_MODULES OR WX_MODULES STREQUAL "")
+ 
+-SET(_build_desc "version: ${_version}, debug: ${_debug}, static: ${_static}, unicode: ${_unicode}, modules: ${_modules}")
++SET(_build_desc "version: ${_version}, static: ${_static}, unicode: ${_unicode}, modules: ${_modules}")
+ 
+ ###############################################################################
+ # Here we go...
+@@ -249,7 +238,7 @@
+ ELSE(WIN32 AND NOT CYGWIN AND NOT MSYS)
+ 
+     # Set up the wx-config command line
+-    SET(_args "--version=${_version} --debug=${_debug} --static=${_static} --unicode=${_unicode} ${_modules}")
++    SET(_args "--version=${_version} --static=${_static} --unicode=${_unicode} ${_modules}")
+ 
+     IF(NOT $ENV{WXWIN} STREQUAL "")
+         FIND_PROGRAM(WX_CONFIG_PATH wx-config
+--- a/pgAgent.cpp
++++ b/pgAgent.cpp
+@@ -155,11 +155,22 @@
+ 	return 0;
+ }
+ 
++extern "C" {
++static void ignore_debug_log_messages()
++{
++	wxLog::SetLogLevel(wxLOG_Info);
++}
++}
+ 
+ void MainLoop()
+ {
+ 	int attemptCount = 1;
+ 
++	// Needed to set wx logging to ignore debug level log messages before
++	// we exit to avoid this message from wx3.0:
++	// 09:42:09: Debug: In file ../src/unix/threadpsx.cpp at line 261: 'pthread_mutex_destroy()' failed with error 0x00000010 (Device or resource busy).
++	atexit(ignore_debug_log_messages);
++
+ 	// OK, let's get down to business
+ 	do
+ 	{
diff -Nru pgagent-3.4.0/debian/patches/series pgagent-3.4.0/debian/patches/series
--- pgagent-3.4.0/debian/patches/series	2014-03-07 05:43:53.000000000 +1300
+++ pgagent-3.4.0/debian/patches/series	2014-03-19 03:02:58.000000000 +1300
@@ -1,2 +1,3 @@
 01_fix-CMakeLists.txt
 02_autopkgtest
+03_use-wx3.0.patch

--- End Message ---
--- Begin Message ---
Source: pgagent
Source-Version: 3.4.0-2

We believe that the bug you reported is fixed in the latest version of
pgagent, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 749...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <m...@debian.org> (supplier of updated pgagent package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 29 May 2014 21:11:18 +0200
Source: pgagent
Binary: pgagent
Architecture: source amd64
Version: 3.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers 
<pkg-postgresql-pub...@lists.alioth.debian.org>
Changed-By: Christoph Berg <m...@debian.org>
Description: 
 pgagent    - job scheduler for PostgreSQL
Closes: 749454
Changes: 
 pgagent (3.4.0-2) unstable; urgency=medium
 .
   * Taking over package from Gerfried, thanks!
   * Set team as maintainer.
   * Packaging moved to git.
   * Remove obsolete README.Debian and README.source files.
   * Run a test job from debian/tests/installcheck.
   * Update to use wxwidgets3.0. Original patch by Olly Betts, though this
     is a simplified version of his patch. Thanks! Closes: #749454.
   * Note supported PostgreSQL versions in binary control.
Checksums-Sha1: 
 3003183e6565a650dc037c59556ab8bf809a7745 2019 pgagent_3.4.0-2.dsc
 57941392391ca856ae0b095004865105461acfdc 6336 pgagent_3.4.0-2.debian.tar.xz
 44b8cd1646e92aec6483aedb2ed485f6f0f8df34 65302 pgagent_3.4.0-2_amd64.deb
Checksums-Sha256: 
 ac2fe447b6501d8d6bc0b1850f049042e8bd6e1d9431928b6b2df388a93bb425 2019 
pgagent_3.4.0-2.dsc
 d9efb1ac095067d1e679efe783721be19a668a83fb48c49187dfdda40a1956cc 6336 
pgagent_3.4.0-2.debian.tar.xz
 3e1414eeda375b6649f9dafd70c42ee56a14c2792122b07f9b367ed3dc6d1c90 65302 
pgagent_3.4.0-2_amd64.deb
Files: 
 835eda986e87881172fac4f5d0f7603a 2019 database optional pgagent_3.4.0-2.dsc
 964577eb98b2949d93c57d0c22bebe95 6336 database optional 
pgagent_3.4.0-2.debian.tar.xz
 02622e851e467d261dc0aa51799566f8 65302 database optional 
pgagent_3.4.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTh4bnAAoJEExaa6sS0qeurnIP/iFrsyULNl+aRcfzKLdOBlQS
HLVetlDtJoZj3cdQ+8c1EVNCEaMQPPJ40ll4nQ6THPsVC0+Bwu6blNLGJwTtxtvS
eBqFJzkQB9AQRdW+gl5YJn0I0zUaikQ8laKKZFtozvMEdg1jFWCl4/kAA+ShCfxc
x42LBy9kd8D8UyaimP3tNjGVhRDZbqqMdTZGgSol91+OiEfyY8uYpPLvI2+2kXdP
c5Yml2fOnflXpozr2tWT4+0eNfKiZwu3sfd++WrolzcKQkOnBr+lQEX2zrVuz2Zh
/XSyN0QGMfLCERQGrCvElD9fobn5gYf4IHQos7ivjMTv3rR+yZC0rKEhyhxIyuWn
Fya3XSWKMBwrux4pQBA7We5ITJF8IhpzIw383/GZ0hw4qeuQaPA+ejoFsaIpWVi5
K0G/j79OKlgHEtsyhWGwJOkPnEFZyT76lYMTS0/VXb7u+KY+HaPm5uCtmUwA6K5w
+bC50dYH4JWKEf+aX88lnCoxz4lhRpymLWSxTAIZ0UpS9jnR/d+sNty77jh4dUOB
nAtlaCsUv3IMmcJ948L02xvr2/8UH7eSLpZ5TzQ09meHuzC9Jm4o8rRKmxBWAHEP
gic8QY5a3nv5WgG9j2vy1kfkvggfKKZPPhRJTT92YLJ4E1phXLI2jYW+rn0kT5bX
9blQCn0Tk0pmqMpbZkOK
=SjLu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to