Re: Patch for pgAdmin4 package on Mac OS X

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Paresh More <paresh(dot)more(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Hamid Quddus <hamid(dot)quddus(at)enterprisedb(dot)com>
Subject: Re: Patch for pgAdmin4 package on Mac OS X
Date: 2016-05-23 06:22:23
Message-ID: CANFyU94GTupD+a_CzdTvJ7-fjrinD-PvhRRmo2soLavLBvpveA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave

I have fixed this issue. Instead of getting path from otool, script now
uses QTDIR variable to copy the framework directory. Please find the
updated patch attached.

Thanks.

On Thu, May 19, 2016 at 7:39 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Thu, May 19, 2016 at 10:05 AM, Sandeep Thakkar
> <sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:
> > Hmm.. looks like some difference in the QT installation.
> >
> > Can you please provide me the otool -L output for pgAdmin4 from
> > /mac-build/pgAdmin4.app/Contents/MacOS/pgAdmin4
>
> (pgadmin4)snake:pgadmin4 dpage$ otool -L
> mac-build/pgAdmin4.app/Contents/MacOS/pgAdmin4
> mac-build/pgAdmin4.app/Contents/MacOS/pgAdmin4:
> /System/Library/Frameworks/Python.framework/Versions/2.7/Python
> (compatibility version 2.7.0, current version 2.7.10)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 1226.10.1)
>
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
> (compatibility version 150.0.0, current version 1258.1.0)
> @rpath/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets
> (compatibility version 5.5.0, current version 5.5.1)
> @rpath/QtWidgets.framework/Versions/5/QtWidgets (compatibility version
> 5.5.0, current version 5.5.1)
> @rpath/QtGui.framework/Versions/5/QtGui (compatibility version 5.5.0,
> current version 5.5.1)
> @rpath/QtCore.framework/Versions/5/QtCore (compatibility version
> 5.5.0, current version 5.5.1)
>
> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
> (compatibility version 1.0.0, current version 1.0.0)
> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
> (compatibility version 1.0.0, current version 275.0.0)
> @rpath/QtWebKit.framework/Versions/5/QtWebKit (compatibility version
> 5.5.0, current version 5.5.1)
> @rpath/QtNetwork.framework/Versions/5/QtNetwork (compatibility version
> 5.5.0, current version 5.5.1)
> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
> (compatibility version 1.0.0, current version 1.0.0)
> /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility
> version 1.0.0, current version 1.0.0)
> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
> version 104.1.0)
>
> >
> > and also the tree for $QTDIR/lib
>
> Attached.
>
> Also, my config database now seems to be trashed since I ran "make
> appbundle" :-(
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

--
Sandeep Thakkar

Attachment Content-Type Size
pgadmin4-mac-bundle-updated_2.patch application/octet-stream 19.1 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Neel Patel 2016-05-23 06:35:47 [pgAdmin4]: Query tool and debugger height issue
Previous Message Ashesh Vashi 2016-05-23 05:08:44 Re: Unable to launch pgAdmin4.py with python with latest git pull