the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: linuxdcpp
Version: 1.0.3
Revision: 2
Description: Direct Connect protocol GTK client
License: GPL
Maintainer: Hanspeter Niederstrasser
Depends: <<
atk1-shlibs,
bzip2-shlibs,
cairo-shlibs (>= 1.6-1),
fontconfig2-shlibs,
freetype219-shlibs (>= 2.3.7-4),
glib2-shlibs,
gtk+2-shlibs (>= 2.12.3-1),
libgettext3-shlibs,
libglade2-shlibs (>= 2.4-1),
libiconv,
libxml2-shlibs,
pango1-xft2-ft219-shlibs (>= 1.22.0-3),
x11-shlibs
<<
BuildDepends: <<
atk1 (>= 1.20.0-1),
bzip2-dev,
cairo (>= 1.6-1),
fink (>= 0.24.12),
fontconfig2-dev,
freetype219 (>= 2.3.7-4),
glib2-dev (>= 2.14.0-1),
glitz,
gtk+2-dev (>= 2.12.3-1),
libgettext3-dev,
libglade2 (>= 2.4-1),
libiconv-dev,
libxml2,
pango1-xft2-ft219-dev (>= 1.22.0-3),
pixman (>= 0.10.0-1),
pkgconfig (>= 0.23),
scons (>= 1.0.1-2),
system-openssl-dev,
x11-dev
<<
Source: http://launchpad.net/%n/1.0/%v/+download/%n-%v.tar.bz2
Source-MD5: a427b87fa576d8674640f0a7f6ad5e66
PatchScript: <<
#!/bin/sh -ev
if [ `/usr/bin/sw_vers -productVersion | cut -d'.' -f1-2` == 10.4 ]; then
#/usr/bin/patch -p1 < %{PatchFile}
/usr/bin/perl -pi -e 's|libs libglade-2.0|$& fontconfig xcursor|' SConstruct
fi
if [ `/usr/bin/sw_vers -productVersion | cut -d'.' -f1-2` == 10.5 ]; then
/usr/bin/perl -pi -e 's|libs libglade-2.0|$& fontconfig x11 xext xrender xinerama xrandr xcursor xfixes xcomposite xdamage|' SConstruct
fi
### get rid of lone -L/usr/lib
/usr/bin/sed -i.bak -e '\X/usr/libXd' SConstruct
<<
NoSetCXXFLAGS: true
SetCXXFLAGS: -I%p/lib/system-openssl/include -Os -Wall
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib -liconv
GCC: 4.0
CompileScript: <<
#!/bin/sh -ev
if [ `/usr/bin/sw_vers -productVersion | cut -d'.' -f1-2` == 10.4 ]; then
export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lXrandr -lXrender -lXinerama -lXext -lX11"
#export LIBRARY_PATH:"%p/lib/fontconfig2/lib:%p/lib/pango-ft219/lib:%p/lib:/usr/X11R6/lib"
fi
export PKG_CONFIG_PATH=%p/lib/system-openssl/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
export CPATH=%p/include
%p/bin/scons PREFIX=%p
<<
InstallScript: <<
%p/bin/scons install FAKE_ROOT=%d
<<
DocFiles: Changelog.txt Credits.txt License.txt Readme.txt
Homepage: https://launchpad.net/linuxdcpp
DescDetail: <<
LinuxDC++ is a Linux port of the Direct Connect client DC++. Though
it is primarily aimed at Linux, it has been shown to work on other
Unix-based operating systems as well. It is written in C++ and makes
use of GTK+ for the user-interface.
Direct connect is a peer-to-peer file-sharing protocol. The most
popular Windows client implementing this protocol currently is DC++.
Direct Connect clients connect to a central hub where they can view
a list of clients or users connected to them. Users can search for
files and download them from other clients, as well as chat with other
users.
<<
DescUsage: <<
linuxdcpp
<<
DescPort: <<
iconv patch from http://lists.freebsd.org/pipermail/freebsd-gnome/2007-February/016718.html but does not seem to be needed on 10.5.
<<