cssed-plugindoc-plugin stable port information

Package: cssed-plugindoc-plugin
Version: 0.1
Revision: 1018
#Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source: http://micmacfr.homeunix.org/cssed/%n-%v.tar.gz
Source-MD5: 7f7e667b4e42a627153f3fe7f0ecd69c
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: f269aca9ffd7bc7011ca1efd45e506f9
PatchScript: <<
sed 's,@PREFIX@,%p,' <%{PatchFile} | patch -p1
<<
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: Documentation plugin for cssed
DescDetail: <<
cssed-plugindoc-plugin is a plugin for cssed.
It adds an item menu to the plugins menu
to browse the plugin documentation for developers.
It can be loaded and unloaded at runtime.
<<
DescUsage: <<
Use the plugins menu in cssed to load or unload it.
<<
DescPort: <<
The plugin is authored by Michele Garoche, thus
located on her web site. Soon it will be slightly
modified to work on other systems and integrated
in cssed branch. Thus, same author, license, etc.
that the other plugins to avoid later changes.
Dirty hack for Intel to find the right architecture

Use modern twolevel namespace for cleaner symbol handling
<<
DescPackaging: <<
Formerly maintained by Michele Garoche

Makefile.in install-data-local pathnames got corrupted when
generated from Makefile.am. Uncorrupt 'em.
<<
License: GPL
Homepage: http://cssed.sourceforge.net/
Maintainer: None

cssed-plugindoc-plugin stable port .patch

diff -Nurd -x'*~' cssed-plugindoc-plugin-0.1.orig/Makefile.in cssed-plugindoc-plugin-0.1/Makefile.in
--- cssed-plugindoc-plugin-0.1.orig/Makefile.in 2004-10-10 23:23:52.000000000 -0400
+++ cssed-plugindoc-plugin-0.1/Makefile.in 2011-08-01 23:06:28.000000000 -0400
@@ -600,10 +600,10 @@
install-data-local:
@$(NORMAL_INSTALL)
if test -d $(srcdir)/html; then \
- $(mkinstalldirs) $(DESTDIR)share/cssed/plugindoc/; \
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/cssed/plugindoc/; \
for html in $(srcdir)/html/*; do \
if test -f $$html; then \
- $(INSTALL_DATA) $$html $(DESTDIR)share/cssed/plugindoc/; \
+ $(INSTALL_DATA) $$html $(DESTDIR)$(datadir)/cssed/plugindoc/; \
fi \
done \
fi
diff -Nurd -x'*~' cssed-plugindoc-plugin-0.1.orig/configure cssed-plugindoc-plugin-0.1/configure
--- cssed-plugindoc-plugin-0.1.orig/configure 2004-10-10 23:23:51.000000000 -0400
+++ cssed-plugindoc-plugin-0.1/configure 2011-08-01 22:43:37.000000000 -0400
@@ -5151,7 +5151,7 @@
i[3456]86-*-linux-gnu*)
OSTYPE="LINUX"
;;
-powerpc-apple-darwin*)
+*-apple-darwin*)
OSTYPE="DARWIN"
;;
esac
diff -Nurd -x'*~' cssed-plugindoc-plugin-0.1.orig/src/Makefile.in cssed-plugindoc-plugin-0.1/src/Makefile.in
--- cssed-plugindoc-plugin-0.1.orig/src/Makefile.in 2004-10-10 23:23:51.000000000 -0400
+++ cssed-plugindoc-plugin-0.1/src/Makefile.in 2011-08-01 22:47:48.000000000 -0400
@@ -181,9 +181,9 @@
@ISDARWIN_FALSE@plugindoc_so_SOURCES = $(SRCS)
@ISDARWIN_TRUE@plugindoc_so_SOURCES = $(SRCS)
@ISDARWIN_FALSE@plugindoc_so_LDFLAGS = -shared -fPICS
-@ISDARWIN_TRUE@plugindoc_so_LDFLAGS = -bundle -flat_namespace -undefined suppress
+@ISDARWIN_TRUE@plugindoc_so_LDFLAGS = -bundle -undefined dynamic_lookup
@ISDARWIN_FALSE@plugindoc_so_LDADD = @PACKAGE_LIBS@
-@ISDARWIN_TRUE@plugindoc_so_LDADD = @PACKAGE_LIBS@
+@ISDARWIN_TRUE@plugindoc_so_LDADD = @PACKAGE_LIBS@ @INTLLIBS@
@ISDARWIN_TRUE@plugindoc_so_CFLAGS = -fno-common
INCLUDES = \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/share/locale"\" \
diff -Nurd -x'*~' cssed-plugindoc-plugin-0.1.orig/src/plugindoc.c cssed-plugindoc-plugin-0.1/src/plugindoc.c
--- cssed-plugindoc-plugin-0.1.orig/src/plugindoc.c 2004-10-10 23:23:51.000000000 -0400
+++ cssed-plugindoc-plugin-0.1/src/plugindoc.c 2011-08-01 22:44:27.000000000 -0400
@@ -93,7 +93,7 @@
gchar* command;
gchar* plugindocurl;

- plugindocurl = "usr/share/cssed/plugindoc/index.html";
+ plugindocurl = "@PREFIX@/share/cssed/plugindoc/index.html";

command = g_strdup_printf ( "open %s", plugindocurl);
system(command);

cssed-plugindoc-plugin _unstable_ port .patch