Opened 7 years ago

Last modified 6 years ago

#8448 new patch

patches needed to build Pidgin with Xcode as an app bundle

Reported by: albert Owned by:
Milestone: Patches Needing Improvement Component: pidgin (gtk)
Version: 2.5.5 Keywords:
Cc: Dimmuxx, shreevatsa

Description (last modified by albert)

I have set up a Xcode environment where I am building Pidgin (with the Xcode build system, not using any of the Makefiles nor the configure script).

It links against the Gtk, GLib and Cairo framework.

I applied the patch from http://trac.macports.org/browser/trunk/dports/net/pidgin/files/gtkdocklet-quartz.diff and made some minor fixes to be able to compile.

I created a SF project for this port. It is located here: https://sourceforge.net/projects/pidgin-macosx/
A current DMG can be downloaded from there.

All patches to Pidgin 2.5.5 can be viewn here:
http://pidgin-macosx.svn.sourceforge.net/viewvc/pidgin-macosx/pidgin-2.5.5/?view=log

The whole SVN with all other needed patches and the Xcode project files:
http://pidgin-macosx.svn.sourceforge.net/viewvc/pidgin-macosx/

Attachments (5)

pidgin-osx-bundle-20090217.diff (36.2 KB) - added by albert 7 years ago.
first patchset
pidgin-macosx-Xcode-2009-02-17.zip (628.5 KB) - added by albert 7 years ago.
full build environment with Xcode project files
Gtk.c.diff (1.6 KB) - added by albert 7 years ago.
Gtk.c fixes (for the MacOSX framework)
pidgin-osx-bundle.diff (14.7 KB) - added by albert 7 years ago.
new patchset
pidgin-osx-xcode.zip (1.9 MB) - added by albert 7 years ago.
xcode project with other files

Change History (20)

Changed 7 years ago by albert

first patchset

comment:1 Changed 7 years ago by albert

A first DMG with the Gtk+ framework and a prebuild Pidgin can be downloaded here: http://www.4shared.com/file/88162477/89c99291/Pidgin-254-veryfirst.html

comment:2 follow-up: Changed 7 years ago by deryni

Breaking this patch up into logically consistent units would help immensely.

As would leaving out the generated config.h file.

Specifically, why did you make the couple changes which appended _a to some plugins?

comment:3 in reply to: ↑ 2 Changed 7 years ago by albert

Replying to deryni:

Breaking this patch up into logically consistent units would help immensely.

Will do that.

As would leaving out the generated config.h file.

I moved that already over to the Xcode project. I am going to prepare an archive containing all the Xcode related files and attach that here.

Specifically, why did you make the couple changes which appended _a to some plugins?

I only did that when there was another plugin with the same name, to get rid of duplicate symbols (because I link all plugins statically).

Changed 7 years ago by albert

full build environment with Xcode project files

Changed 7 years ago by albert

Gtk.c fixes (for the MacOSX framework)

comment:4 Changed 7 years ago by albert

I created a new DMG, now containing one single app-bundle, Pidgin itself. :) It is not required anymore to install anything.

http://www.4shared.com/file/88213305/a1c1ba24/Pidgin-254-ver2.html

comment:5 Changed 7 years ago by qulogic@…

(In 413bb2c3fa63dac7c9c121ffd6203c1e6fa61544):
Fix some more mis-identified plugins, like 3b3526a0...

References #8448.

comment:6 Changed 7 years ago by albert

  • Description modified (diff)

A new DMG: http://www.4shared.com/file/88373414/8e8e8b73/Pidgin-254-ver3.html

Changes:

  • build new Gtk framework from SVN
  • MacOSX notify support
  • some more plugins enabled
  • OTR plugin

Changed 7 years ago by albert

new patchset

Changed 7 years ago by albert

xcode project with other files

comment:7 Changed 7 years ago by albert

A patched Gtk/Cairo?/GLib framework to the current 2.14 SVN-tree can be downloaded here: http://www.4shared.com/file/89071173/ca91ca2c/Gtk_Cairo_GLib_214_beta__fix_1.html

comment:8 Changed 7 years ago by albert

  • Description modified (diff)
  • Version changed from 2.5.4 to 2.5.5

I made a new release: http://www.4shared.com/file/92159304/a2b5e168/Pidgin-255-ver1.html

new features:

  • based on Pidgin 2.5.5
  • SSL support (builtin GnuTLS)
  • Facebook plugin
  • Gfire plugin

comment:9 Changed 7 years ago by albert

  • Description modified (diff)

Sorry, I made a small mistake, I forgot to actually load the builtin GnuTLS plugin. :)

While fixing that, I encountered another bug in GnuTLS and I also fixed that.

Here is the new build: http://www.4shared.com/file/92172661/2f8fa4eb/Pidgin-255-ver2.html

comment:10 Changed 7 years ago by albert

My own build of Gtk+ (contains some patches which are not yet on www.gtk-osx.org): http://www.4shared.com/file/92183132/f452e725/Gtk_on_MacOSX_-_for_pidgin-255.html

comment:12 Changed 7 years ago by albert

  • Description modified (diff)

comment:13 Changed 7 years ago by rlaager

  • Milestone set to Patches Needing Improvement

I took a look at this. I'd like to echo what deryni said in comment 3. Even if you can't split it just now, even an up-to-date patch would be cool. I'd love to review it.

comment:14 Changed 7 years ago by shreevatsa

That's great to hear! (I'm not the author of these patches, but a MacOSX user who would love for these to be integrated into Pidgin.)

Note that as a preliminary step, this relies on avoiding the X11-specific dependencies and using only GTK equivalents: this is ticket #2629 (also at MacPorts). That's a small patch, could you look into that too?

comment:15 Changed 6 years ago by QuLogic

FYI, #2629 is fixed and the conflicting plugin names were changed a long time ago. The only relevant changes left here are to pidgin/gtkmain.c and pidgin/gtkutils.c.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!