ekiga stable port information

Package: ekiga
Version: 3.1.2
Revision: 4
## Depends on seamonkey2 which is arch restricted
Architecture: i386, powerpc
Maintainer: None
GCC: 4.0
BuildDepends: <<
atk1 (>= 1.28.0-1),
audiofile,
cairo (>= 1.8.8-3),
cyrus-sasl2-dev (>= 2.1.22-1006),
dbus (>= 1.2.1-1),
dbus-glib1.2-dev,
dbus1.3-dev,
dbus-dev (>= 1.2.1-1),
esound,
expat1,
fink (>= 0.24.12),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gconf2-dev (>= 2.28.0-1),
glib2-dev (>= 2.22.0-1),
glitz,
gnome-doc-utils (>= 0.14.2-1),
gtk-doc (>= 1.13-5),
gtk+2-dev (>= 2.18.0-1),
intltool40,
libart2,
libavahi-client3-dev,
libavahi-common3-dev,
libavahi-glib1-dev,
libbonobo2-dev (>= 2.24.2-1),
libcamel-1.2.14-dev (>= 2.28.0-1),
libebook-1.2.9-dev (>= 2.28.0-1),
libedataserver-1.2.11-dev (>= 2.28.0-1),
libgettext8-dev,
libgnome2-dev (>= 2.28.0-1),
libiconv-dev,
libsigc++2 (>= 2.2.3-1),
libsoup2.4.1-ssl (>= 2.28.0-1),
libsrtp (>= 1.4.4-1),
libxml2 (>= 2.7.8-1),
libxml2-bin (>= 2.7.8-1),
opal3.6.0 (>= 3.6.0-2),
openldap24-dev (>= 2.4.15-1),
openssl100-dev,
orbit2-dev (>= 2.14.17-2),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
popt,
ptlib2.6.0,
sdl (>= 1.2.13-1),
seamonkey2-dev (>= 1.1.14-2),
sqlite3 (>= 3.6.9-1004),
unixodbc2 (>= 2.2.12-1) | unixodbc2-nox (>= 2.2.12-1),
x11-dev

<<
BuildConflicts: nspr
# help: Advanced Topics:Changing Ports: gconf-editor is needed
## possibly this would warrant only a Recommends, but it simplifies the Depends (a lot?), thanks to recursivenes _ else have
## to study again the output of "DYLD_PRINT_LIBRARIES" (using also the help facility), + some other...
## One should contemplate to dispense with "-Wl,-bind_at_load" (from the src) only after everything is settled, to keep (+/- easily) track with dep changes...
# When launching ekiga (from a terminal under KDE), I see in `ps -lgxa` /sw/libexec/evolution-data-server-1.6 coming up
Depends: <<
atk1-shlibs (>= 1.28.0-1),
avahi,
cairo-shlibs (>= 1.8.8-3),
cyrus-sasl2-shlibs (>= 2.1.22-1006),
dbus (>= 1.2.1-1),
dbus-shlibs (>= 1.2.1-1),
dbus-glib1.2-shlibs,
dbus1.3-shlibs,
evolution-data-server (>= 2.24.5-1),
evolution-exchange (>= 2.24.5-1),
expat1-shlibs,
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.4.0-12),
gconf-editor (>= 2.28.0-1),
gconf2 (>= 2.28.0-1),
gconf2-shlibs (>= 2.28.0-1),
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libavahi-client3-shlibs,
libavahi-common3-shlibs,
libavahi-glib1-shlibs,
libbonobo2-shlibs (>= 2.24.2-1),
libcamel-1.2.14-shlibs (>= 2.28.0-1),
libebook-1.2.9-shlibs (>= 2.28.0-1),
libedataserver-1.2.11-shlibs (>= 2.28.0-1),
libgettext8-shlibs,
libgnome2-shlibs (>= 2.28.0-1),
libiconv,
libsigc++2-shlibs (>= 2.2.3-1),
libsoup2.4.1-ssl-shlibs (>= 2.28.0-1),
libxml2-shlibs (>= 2.7.8-1),
opal3.6.0-shlibs (>= 3.6.0-2),
openldap24-shlibs (>= 2.4.15-1),
openssl100-shlibs,
orbit2-shlibs (>= 2.14.17-2),
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
pixman-shlibs (>= 0.12.0-1),
popt-shlibs,
ptlib2.6.0-shlibs,
rarian-compat,
sdl-shlibs (>= 1.2.13-1),
seamonkey2-shlibs (>= 1.1.14-2),
sqlite3-shlibs (>= 3.6.9-1004),
unixodbc2-shlibs (>= 2.2.12-1) | unixodbc2-nox-shlibs (>= 2.2.12-1),
x11-shlibs
<<
Source: mirror:gnome:sources/%n/3.1/%n-%v.tar.bz2
Source-MD5: f92d6dc6db80682bf82a80952e25348c
PatchFile: %n.patch
PatchFile-MD5: e0fb907b4dbcd9f52271269ac7aac6d1
#PatchScript: <<
##!/bin/sh -ev
# # to strip binaries (cf LDFLAGS):
# echo '__mh_execute_header' > symlst
#<<
#SetLDFLAGS: -Wl,-x -exported_symbols_list %b/symlst -dead_strip
#SetCFLAGS: -O3 -fstrict-aliasing -mdynamic-no-pic
#SetCXXFLAGS: -O3 -fstrict-aliasing -mdynamic-no-pic -fno-exceptions
# -fno-rtti leads, in lib/gmcontacts/gmcontacts-ldap.cpp, and in src, to
# "/sw/include/ptlib/pfactory.h: In static member function 'static PFactory<_Abstract_T, _Key_T>& PFactory<_Abstract_T, _Key_T>::GetInstance()':
# /sw/include/ptlib/pfactory.h:338: error: cannot use typeid with -fno-rtti"
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/fontconfig2/lib -L%p/lib -L/usr/X11R6/lib -lX11
ConfigureParams: <<
--mandir=%p/share/man \
--disable-scrollkeeper --disable-schemas-install \
--disable-static \
--with-ldap-dir=%p \
--disable-xv --disable-notify \
PKG_CONFIG_PATH=%p/lib/fontconfig2/lib/pkgconfig:${PKG_CONFIG_PATH}
<<
CompileScript: <<
#!/bin/sh -ev
if [ `uname -r | cut -f1 -d.` -ge 9 ]; then export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs"; fi
./configure %c
make
fink-package-precedence .
<<
Infotest: <<
TestScript: make check
<<
InstallScript: <<
make install DESTDIR=%d
<<
ConfFiles: %p/etc/gconf/schemas/ekiga.schemas
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update -q
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/ekiga.schemas >/dev/null
fi
<<
PostRmScript: <<
if [ remove != "$1" ]; then
scrollkeeper-update -q
fi
<<
DocFiles: AUTHORS COPYING ChangeLog FAQ NEWS README TODO
Description: Voice and video over IP
DescPort: <<
video seems to find neither plugins, nor the built-in camera
of a MacBook_Pro...
^-- comment from older version, not sure still true

AC_ARG_ENABLE(kab) for --enable-kde is broken, but these flags
interpret --disable-FOO as --enable-FOO so just ignore it
since we don't want it enabled anyway. See:
http://bugzilla.gnome.org/show_bug.cgi?id=574717

lib/engine/notification/libnotification.la is a libtool
convenience library with no sources, which makes it mostly
pointless. And it causes the lib to be built via "ar cru" with
no .o, which is an error on darwin's wacky ar. So just scrap
that lib entirely. See:
http://bugzilla.gnome.org/show_bug.cgi?id=574716
<<
DescPackaging: <<
xv.pc isn't available on all fink-supported x11, so disable it
for consistent build. I think libXv exists so could just forge
a local xv.pc fallback or replace pkgconfig call with
hard-coded -lXv if someone needs this functionality.

Explicit GNOME support is not used on gtk+2 >= 2.13.1

Although this package has a GPL license, it is marked
Restrictive since it links to openssl.
<<
#License: GPL
License: Restrictive
Homepage: http://www.ekiga.org/

ekiga stable port .patch

diff -Nurd -x'*~' ekiga-3.1.2.orig/lib/engine/Makefile.in ekiga-3.1.2/lib/engine/Makefile.in
--- ekiga-3.1.2.orig/lib/engine/Makefile.in 2009-03-02 16:02:55.000000000 -0500
+++ ekiga-3.1.2/lib/engine/Makefile.in 2009-03-08 21:52:09.000000000 -0400
@@ -96,7 +96,6 @@
am__DEPENDENCIES_1 =
am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
libekiga_engine_la_DEPENDENCIES = \
- $(top_builddir)/lib/engine/notification/libnotification.la \
$(top_builddir)/lib/engine/gui/gtk-core/libgmgtk-core.la \
$(top_builddir)/lib/engine/gui/gtk-frontend/libgmgtk-frontend.la \
$(top_builddir)/lib/engine/chat/libgmchat.la \
@@ -373,7 +372,7 @@
target_vendor = @target_vendor@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = framework plugin notification account addressbook presence chat gui protocol videooutput videoinput audioinput audiooutput hal components
+SUBDIRS = framework plugin account addressbook presence chat gui protocol videooutput videoinput audioinput audiooutput hal components
noinst_LTLIBRARIES = libekiga_engine.la

# Default Input Devices
@@ -433,7 +432,6 @@

# PTLIB Input Devices
libekiga_engine_la_LIBADD = \
- $(top_builddir)/lib/engine/notification/libnotification.la \
$(top_builddir)/lib/engine/gui/gtk-core/libgmgtk-core.la \
$(top_builddir)/lib/engine/gui/gtk-frontend/libgmgtk-frontend.la \
$(top_builddir)/lib/engine/chat/libgmchat.la \
diff -Nurd -x'*~' ekiga-3.1.2.orig/lib/engine/components/libnotify/Makefile.in ekiga-3.1.2/lib/engine/components/libnotify/Makefile.in
--- ekiga-3.1.2.orig/lib/engine/components/libnotify/Makefile.in 2009-03-02 16:02:57.000000000 -0500
+++ ekiga-3.1.2/lib/engine/components/libnotify/Makefile.in 2009-03-08 21:51:42.000000000 -0400
@@ -44,8 +44,7 @@
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES)
libgmlibnotify_la_DEPENDENCIES = \
- $(top_builddir)/lib/engine/framework/libgmframework.la \
- $(top_builddir)/lib/engine/notification/libnotification.la
+ $(top_builddir)/lib/engine/framework/libgmframework.la
am_libgmlibnotify_la_OBJECTS = libnotify-main.lo
libgmlibnotify_la_OBJECTS = $(am_libgmlibnotify_la_OBJECTS)
libgmlibnotify_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
@@ -297,8 +296,7 @@
$(libnotify_dir)/libnotify-main.cpp

libgmlibnotify_la_LIBADD = \
- $(top_builddir)/lib/engine/framework/libgmframework.la \
- $(top_builddir)/lib/engine/notification/libnotification.la
+ $(top_builddir)/lib/engine/framework/libgmframework.la

libgmlibnotify_la_LDFLAGS = -export-dynamic -no-undefined $(SIGC_LIBS) $(LIBNOTIFY_LIBS)
all: all-am

ekiga _unstable_ port .patch