the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: cssed
Epoch: 1
Version: 0.4.0
Revision: 1
GCC: 4.0
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: ff7c818d1f819b7d76b4f714be64e08e
Depends: <<
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
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,
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4)
<<
BuildDepends: <<
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
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,
libiconv-dev,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
x11-dev
<<
PatchFile: %n.patch
PatchFile-MD5: 11d91372162be61ce0d9400a61dfe033
ConfigureParams: --mandir=%p/share/man --without-terminal --with-help-menus --with-plugin-headers --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 .
<<
InstallScript: make -j1 install DESTDIR="%d"
Splitoff: <<
Package: %N-dev
Depends: %N (= %e:%v-%r)
BuildDependsOnly: True
Files: include lib
DocFiles: AUTHORS ChangeLog COPYING NEWS README
<<
DocFiles: AUTHORS ChangeLog COPYING NEWS README
Description: CSS editor
DescDetail: <<
CSSED is a small editor that tries to ease the CSS editing.
It features autocompletion, CSS syntax validation, selector
wizard for complex rules, color wizard, box wizard, and
other useful features to help web developers to create and
maintain CSS style sheets.
It has also dialogs and toolbar icons for most used css
tags, css2 reference browser fully clickable to easy
integration in style sheet, as well as selector scanning
to quick change of property value, quick access via
temporary bookmarks, and digest view.
Color syntax highlighting for various file types, program
output, temporary and permanent scratch-pads completes the
software.
There are also some extras on the web site, especially the
emacs launcher (others do not work at the time being),
which allows cssed to be launched from emacs/xemacs.
<<
DescUsage: <<
See the man(1) page for more information.
You can customize the cssed-def.xml CSS definition file
by copying it from %p/share/cssed/data to your home directory.
For more information, see the homepage.
There are also add-ons as separate packages for terminal,
file browser, search within and outside of cssed, and tags
editing.
<<
DescPort: <<
Dirty hack for Intel to find the right architecture
CssedFileType is used in various other public headers but not
declared. The members don't seem to be public (*-plugins don't
complain) but need to declare the struct itself for document.h
(same place CssedFileTypeID is used).
<<
DescPackaging: <<
Formerly maintained by Michele Garoche
Create a dev SplitOff to comply with policy though the package
installs only a binary, some headers and a pc file.
Patch the pc file and the main Makefile so that the headers
get installed in the right directory.
Includes own versions of libcroco and scintilla. Could use
external deps? libcroco is locally hacked. See:
http://mail.gnome.org/archives/libcroco-list/2005-August/msg00010.html
Would also likely mean cssed would not need special tricks to
get c++ linking.
<<
License: GPL
Homepage: http://cssed.sourceforge.net/
Maintainer: None
diff -Nurd -x'*~' cssed-0.4.0.orig/Makefile.in cssed-0.4.0/Makefile.in
--- cssed-0.4.0.orig/Makefile.in 2005-10-14 17:41:54.000000000 -0400
+++ cssed-0.4.0/Makefile.in 2011-08-01 11:48:00.000000000 -0400
@@ -722,10 +722,10 @@
fi
@INSTALLHEADERS_TRUE@ if test -d $(srcdir)/include; then \
-@INSTALLHEADERS_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/include; \
+@INSTALLHEADERS_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgincludedir); \
@INSTALLHEADERS_TRUE@ for header in $(srcdir)/include/*.h; do \
@INSTALLHEADERS_TRUE@ if test -f $$header; then \
-@INSTALLHEADERS_TRUE@ $(INSTALL_DATA) $$header $(DESTDIR)$(pkgdatadir)/include; \
+@INSTALLHEADERS_TRUE@ $(INSTALL_DATA) $$header $(DESTDIR)$(pkgincludedir); \
@INSTALLHEADERS_TRUE@ fi \
@INSTALLHEADERS_TRUE@ done \
@INSTALLHEADERS_TRUE@ fi
diff -Nurd -x'*~' cssed-0.4.0.orig/configure cssed-0.4.0/configure
--- cssed-0.4.0.orig/configure 2005-09-28 05:41:40.000000000 -0400
+++ cssed-0.4.0/configure 2011-08-01 11:48:00.000000000 -0400
@@ -5919,7 +5919,7 @@
*-*-cygwin*)
OSTYPE="CYGWIN"
;;
-powerpc-apple-darwin*)
+*-apple-darwin*)
OSTYPE="DARWIN"
;;
i[3456]86-*-*bsd*)
diff -Nurd -x'*~' cssed-0.4.0.orig/cssed.pc.in cssed-0.4.0/cssed.pc.in
--- cssed-0.4.0.orig/cssed.pc.in 2011-08-01 11:50:33.000000000 -0400
+++ cssed-0.4.0/cssed.pc.in 2011-08-01 11:50:23.000000000 -0400
@@ -7,4 +7,4 @@
Version: @VERSION@
Requires: gtk+-2.0 glib-2.0
Libs: -L${libdir}
-Cflags: -I${prefix}/share/cssed/include
\ No newline at end of file
+Cflags: -I${prefix}/include/cssed
diff -Nurd -x'*~' cssed-0.4.0.orig/include/cssedwindow.h cssed-0.4.0/include/cssedwindow.h
--- cssed-0.4.0.orig/include/cssedwindow.h 2011-08-01 19:12:22.000000000 -0400
+++ cssed-0.4.0/include/cssedwindow.h 2011-08-01 21:48:47.000000000 -0400
@@ -276,6 +276,9 @@
CSSED_FILETYPE_USR9
} CssedFileTypeId;
+/* opaque struct used by various functions */
+typedef struct _CssedFileType CssedFileType;
+
#define CSSED_NUMFILETYPES (CSSED_FILETYPE_USR9+1)
diff -Nurd -x'*~' cssed-0.4.0.orig/src/Makefile.in cssed-0.4.0/src/Makefile.in
--- cssed-0.4.0.orig/src/Makefile.in 2005-10-14 17:41:52.000000000 -0400
+++ cssed-0.4.0/src/Makefile.in 2011-08-01 11:48:00.000000000 -0400
@@ -262,7 +262,7 @@
xpm-icons.h \
filetypes.h
-cssed_LDADD = @PACKAGE_LIBS@ ../scintilla/gtk/libscintilla.a ../libcroco/parser/libcroco.a
+cssed_LDADD = ../scintilla/gtk/libscintilla.a ../libcroco/parser/libcroco.a @PACKAGE_LIBS@ @INTLLIBS@
cssed_LINK = g++ -DGTK -o cssed
all: all-am