the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gnokii
Version: 0.6.26
Revision: 2
Description: Mobile phone tools and driver
License: GPL
#
Depends: <<
%N3-shlibs (= %v-%r),
atk1-shlibs (>= 1.20.0-1),
expat1-shlibs,
fontconfig2-shlibs (>= 2.4.1-1),
freetype219-shlibs,
glib2-shlibs (>= 2.14.0-1),
gtk+2-shlibs (>= 2.12.0-1),
libgettext3-shlibs,
libiconv,
libusb-shlibs,
pango1-xft2-ft219-shlibs (>= 1.10.1-1),
x11
<<
BuildDepends: <<
atk1 (>= 1.20.0-1),
cairo (>= 1.6-1),
expat1,
fink (>= 0.24.12-1),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.5-1),
gettext-tools,
glib2-dev (>= 2.14.0-1),
glitz,
gtk+2-dev (>= 2.12.0-1),
libgettext3-dev,
libiconv-dev,
libpng3,
libusb,
pango1-xft2-ft219-dev (>= 1.18.4-4),
pixman (>= 0.10.0-1),
pkgconfig (>= 0.21-1),
x11-dev,
xft2-dev,
xmkmf
<<
#
CustomMirror: <<
Primary: http://www.gnokii.org/download/gnokii
nam-US: http://www.gnokii.org/download/gnokii
nam-US: http://www.gnokii.org/download/gnokii/0.6.x
<<
Conflicts: gnokii2
Replaces: gnokii2
Source: mirror:custom:gnokii-%v.tar.bz2
Source-MD5: 60f817d8ce748fea0ec9a05b3537e08d
PatchFile: %n.patch
PatchFile-MD5: 5c5dd829f89b4cc61e7fd57306cb56d2
PatchScript: sed -e 's,@FINKPREFIX@,%p,g' %{PatchFile} | patch -p1
SetCPPFLAGS: -I%p/lib/freetype219/include -I%p/lib/fontconfig2/include
SetLDFLAGS: -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
#
ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info --libexecdir=%p/lib --disable-dependency-tracking
#
CompileScript: <<
#!/bin/sh -ex
export PATH=%p/lib/xmkmf/bin:$PATH \
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" \
FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config \
ac_cv_path_PGCONFIG=no \
ac_cv_path_MYSQLCONFIG=no
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d xmandir=%p/share/man/man1
rm %i/lib/smsd/*.a
<<
DocFiles: AUTHORS COPYING COPYRIGHT ChangeLog INSTALL MAINTAINERS NEWS README TODO
#
SplitOff: <<
Package: %N3-shlibs
Description: Gnokii shared libraries
Replaces: gnokii2-shlibs
Files: <<
lib/libgnokii.3*.dylib
<<
Depends: <<
fontconfig2-shlibs (>= 2.4.1-1),
freetype219-shlibs (>= 2.3.5-1),
gtk+2-shlibs (>= 2.12.0-1),
libgettext3-shlibs,
libiconv,
libusb-shlibs,
x11-shlibs
<<
Shlibs: <<
%p/lib/libgnokii.3.dylib 13.0.0 %n (>= 0.6.26-1)
<<
DocFiles: COPYING COPYRIGHT
<<
#
SplitOff2: <<
Package: %N3-dev
Conflicts: gnokii2-dev
Replaces: gnokii2-dev
Description: Gnokii development headers
Depends: %N3-shlibs (= %v-%r)
BuildDependsOnly: True
Files: include lib/libgnokii.dylib lib/*.a lib/*.la lib/pkgconfig
DocFiles: COPYING COPYRIGHT
<<
DescDetail: <<
Gnokii provides tools and a user space driver for use with Nokia and
other mobile phones. With gnokii you can do such things as make data
calls, update your address book, change calendar entires, send and
receive SMS messages and load ring tones depending on the phone you
have. For a complete list of supported makes and models take a look at
our FAQ pages.
<<
Homepage: http://www.gnokii.org/
Maintainer: Benjamin Reed
diff -Nurd gnokii-0.6.26/common/Makefile.in gnokii-0.6.26-new/common/Makefile.in
--- gnokii-0.6.26/common/Makefile.in 2008-05-30 15:45:56.000000000 -0400
+++ gnokii-0.6.26-new/common/Makefile.in 2008-07-23 09:41:00.000000000 -0400
@@ -357,6 +357,8 @@
$(top_builddir)/common/phones/libPHONES.la \
$(top_builddir)/common/links/libLINKS.la \
$(top_builddir)/common/devices/libDEVICES.la \
+ $(BLUETOOTH_LIBS) \
+ $(INTLLIBS) \
$(XPM_LIBS)
libgnokii_la_LDFLAGS = \
diff -Nurd gnokii-0.6.26/common/cfgreader.c gnokii-0.6.26-new/common/cfgreader.c
--- gnokii-0.6.26/common/cfgreader.c 2008-05-30 15:35:10.000000000 -0400
+++ gnokii-0.6.26-new/common/cfgreader.c 2008-07-23 11:08:24.000000000 -0400
@@ -904,7 +904,7 @@
strncat(rcfile, homedir ? homedir : "", MAX_PATH_LEN);
strncat(rcfile, "\\_gnokiirc", MAX_PATH_LEN);
#else
- const char globalrc[] = "/etc/gnokiirc";
+ const char globalrc[] = "@FINKPREFIX@/etc/gnokiirc";
homedir = getenv("HOME");
if (homedir)
diff -Nurd gnokii-0.6.26/configure gnokii-0.6.26-new/configure
--- gnokii-0.6.26/configure 2008-05-30 15:46:08.000000000 -0400
+++ gnokii-0.6.26-new/configure 2008-07-23 08:04:25.000000000 -0400
@@ -25313,7 +25313,7 @@
_ACEOF
USE_BLUETOOTH="yes"
- BLUETOOTH_LIBS="$PTHREAD_LIBS -framework CoreFoundation -framework IOBluetooth -framework Foundation"
+ BLUETOOTH_LIBS="$PTHREAD_LIBS -Wl,-framework,CoreFoundation -Wl,-framework,IOBluetooth -Wl,-framework,Foundation"
fi
fi
diff -Nurd gnokii-0.6.26/gnokii/gnokii-utils.c gnokii-0.6.26-new/gnokii/gnokii-utils.c
--- gnokii-0.6.26/gnokii/gnokii-utils.c 2008-03-20 13:49:01.000000000 -0400
+++ gnokii-0.6.26-new/gnokii/gnokii-utils.c 2008-07-23 08:03:55.000000000 -0400
@@ -43,6 +43,7 @@
#include
#include
+#include
#include "gnokii-app.h"
#include "gnokii.h"
diff -Nurd gnokii-0.6.26/smsd/Makefile.in gnokii-0.6.26-new/smsd/Makefile.in
--- gnokii-0.6.26/smsd/Makefile.in 2008-05-30 15:46:01.000000000 -0400
+++ gnokii-0.6.26-new/smsd/Makefile.in 2008-07-23 09:56:36.000000000 -0400
@@ -58,7 +58,7 @@
"$(DESTDIR)$(man8dir)"
pluginLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(plugin_LTLIBRARIES)
-libsmsd_file_la_LIBADD =
+libsmsd_file_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/common/libgnokii.la
am_libsmsd_file_la_OBJECTS = file.lo utils.lo
libsmsd_file_la_OBJECTS = $(am_libsmsd_file_la_OBJECTS)
libsmsd_file_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -319,7 +319,7 @@
top_srcdir = @top_srcdir@
plugindir = $(libdir)/smsd
plugin_LTLIBRARIES = libsmsd_file.la $(am__append_1) $(am__append_2)
-modules_flags = -avoid-version -module -no-undefined
+modules_flags = -avoid-version -module
@HAVE_POSTGRES_TRUE@libsmsd_pq_la_SOURCES = pq.c db.h utils.h utils.c
@HAVE_POSTGRES_TRUE@libsmsd_pq_la_LDFLAGS = $(modules_flags)
@HAVE_POSTGRES_TRUE@libsmsd_pq_la_LIBADD = $(POSTGRES_LIBS)
diff -Nurd gnokii-0.6.26/xgnokii/xgnokii_data.c gnokii-0.6.26-new/xgnokii/xgnokii_data.c
--- gnokii-0.6.26/xgnokii/xgnokii_data.c 2008-03-20 13:49:03.000000000 -0400
+++ gnokii-0.6.26-new/xgnokii/xgnokii_data.c 2008-07-23 08:03:55.000000000 -0400
@@ -67,7 +67,7 @@
}
-inline void GUI_ShowData(void)
+void GUI_ShowData(void)
{
if (!phoneMonitor.supported & PM_DATA)
return;
diff -Nurd gnokii-0.6.26/xgnokii/xgnokii_data.h gnokii-0.6.26-new/xgnokii/xgnokii_data.h
--- gnokii-0.6.26/xgnokii/xgnokii_data.h 2007-05-07 14:05:53.000000000 -0400
+++ gnokii-0.6.26-new/xgnokii/xgnokii_data.h 2008-07-23 08:03:55.000000000 -0400
@@ -31,7 +31,7 @@
#define XGNOKII_DATA_H
void GUI_CreateDataWindow(void);
-inline void GUI_ShowData(void);
+extern void GUI_ShowData(void);
inline void GUI_HideData(void);
#endif
diff -Nurd gnokii-0.6.26/xgnokii/xgnokii_lowlevel.h gnokii-0.6.26-new/xgnokii/xgnokii_lowlevel.h
--- gnokii-0.6.26/xgnokii/xgnokii_lowlevel.h 2008-03-20 13:49:03.000000000 -0400
+++ gnokii-0.6.26-new/xgnokii/xgnokii_lowlevel.h 2008-07-23 08:03:55.000000000 -0400
@@ -231,6 +231,6 @@
extern void GUI_InsertEvent(PhoneEvent * event);
extern gn_error GUI_InitSMSFolders(void);
extern int isSMSactivated;
-struct gn_statemachine *statemachine;
+extern struct gn_statemachine *statemachine;
#endif