the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: cssed-filebrowser-plugin
Version: 0.2.1
Revision: 1
Source: mirror:sourceforge:cssed/%n-%v.tar.gz
Source-MD5: 851cff136cfeb1105b13b3d277dcff50
Depends: <<
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
cssed (>= 1:0.4.0-1),
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libgettext8-shlibs,
pango1-xft2-ft219-shlibs (>= 1.24.5-4)
<<
BuildDepends: <<
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
cssed-dev (>= 1:0.4.0-1),
fink (>= 0.24.12),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.22.0-1),
glitz,
gtk+2-dev (>= 2.18.0-1),
libgettext8-dev,
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
x11-dev
<<
PatchFile: %n.patch
PatchFile-MD5: f608b2f5cedd21688605d81e37855f01
ConfigureParams: --enable-dependency-tracking PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
CompileScript: <<
%{default_script}
fink-package-precedence .
<<
DocFiles: AUTHORS ChangeLog COPYING NEWS README
Description: Filebrowser plugin for cssed
DescDetail: <<
cssed-filebrowser-plugin is a plugin for cssed.
It adds a file browser to cssed, more convenient than
the open item in the file menu.
It can be loaded and unloaded at runtime.
<<
DescUsage: <<
Use the plugins menu in cssed to load or unload it.
<<
DescPort: <<
Dirty hack for Intel to find the right architecture
Use modern twolevel namespace for cleaner symbol handling
<<
DescPackaging: <<
Formerly maintained by Michele Garoche
Our cssed headers are not in default location but we know our
prefix is consistent. Anyway, checking that "a file exists at
PREFIX" isn't the same as "we will be using that file when
building" b/c latter can change via pkg-config settings.
<<
License: GPL
Homepage: http://cssed.sourceforge.net/
Maintainer: None
diff -Nurd -x'*~' cssed-filebrowser-plugin-0.2.1.orig/configure cssed-filebrowser-plugin-0.2.1/configure
--- cssed-filebrowser-plugin-0.2.1.orig/configure 2005-11-23 12:49:24.000000000 -0500
+++ cssed-filebrowser-plugin-0.2.1/configure 2011-08-01 11:54:23.000000000 -0400
@@ -5150,7 +5150,7 @@
i[3456]86-*-linux-gnu*)
OSTYPE="LINUX"
;;
-powerpc-apple-darwin*)
+*-apple-darwin*)
OSTYPE="DARWIN"
;;
esac
@@ -5173,16 +5173,6 @@
prefix="/usr/local";
fi
-echo "$as_me:$LINENO: checking if cssed headers are installed in ${prefix}/share/cssed/include " >&5
-echo $ECHO_N "checking if cssed headers are installed in ${prefix}/share/cssed/include ... $ECHO_C" >&6
-if test -e "${prefix}/share/cssed/include/plugin.h"; then
- echo "yes"
-else
- echo "no"
- { { echo "$as_me:$LINENO: error: headers are not in ${prefix}/share/cssed/include please use the same prefix you used when cssed was installed " >&5
-echo "$as_me: error: headers are not in ${prefix}/share/cssed/include please use the same prefix you used when cssed was installed " >&2;}
- { (exit 1); exit 1; }; }
-fi
pkg_modules="cssed >= 0.4.0 gtk+-2.0 >= 2.0.0 glib-2.0 >= 2.0 gmodule-2.0 >= 2.0"
diff -Nurd -x'*~' cssed-filebrowser-plugin-0.2.1.orig/src/Makefile.in cssed-filebrowser-plugin-0.2.1/src/Makefile.in
--- cssed-filebrowser-plugin-0.2.1.orig/src/Makefile.in 2005-11-23 12:49:20.000000000 -0500
+++ cssed-filebrowser-plugin-0.2.1/src/Makefile.in 2011-08-01 11:59:22.000000000 -0400
@@ -190,9 +190,9 @@
@ISDARWIN_FALSE@filebrowser_so_SOURCES = $(SRCS)
@ISDARWIN_TRUE@filebrowser_so_SOURCES = $(SRCS)
@ISDARWIN_FALSE@filebrowser_so_LDFLAGS = -shared -fPICS
-@ISDARWIN_TRUE@filebrowser_so_LDFLAGS = -bundle -flat_namespace -undefined suppress
+@ISDARWIN_TRUE@filebrowser_so_LDFLAGS = -bundle -undefined dynamic_lookup
@ISDARWIN_FALSE@filebrowser_so_LDADD = @PACKAGE_LIBS@
-@ISDARWIN_TRUE@filebrowser_so_LDADD = @PACKAGE_LIBS@
+@ISDARWIN_TRUE@filebrowser_so_LDADD = @PACKAGE_LIBS@ @INTLLIBS@
@ISDARWIN_TRUE@filebrowser_so_CFLAGS = -fno-common
INCLUDES = \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/share/locale"\" \