the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: oregano
Version: 0.60.0
Revision: 2
Maintainer: Finlay Dobbie
Depends: <<
atk1-shlibs (>= 1.24.0-1),
cairo-shlibs (>= 1.8-1),
fontconfig2-shlibs (>= 2.4.1-1),
freetype219-shlibs (>= 2.3.7-7),
gconf2-shlibs (>= 2.24.0-1),
glib2-shlibs (>= 2.18.0-1),
gnome-vfs2-unified-shlibs (>= 1:2.24.0-1),
gtk+2-shlibs (>= 2.14.0-1),
gtksourceview-shlibs (>= 1.8.5-2),
libart2-shlibs,
libbonobo2-shlibs (>= 2.24.0-1),
libbonoboui2-shlibs (>= 2.24.0-1),
libgettext8-shlibs,
libglade2-shlibs (>= 2.6.3-1),
libgnome2-shlibs (>= 2.24.0-1),
libgnomecanvas2-shlibs (>= 2.20.1.1-2),
libgnomeprint2.2-shlibs (>= 2.18.5-1),
libgnomeprintui2.2-shlibs (>= 2.18.3-1),
libgnomeui2-shlibs (>= 2.24.0-1),
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.16-1),
pango1-xft2-ft219-shlibs (>= 1.22.0-4),
popt-shlibs,
shared-mime-info
<<
BuildDepends: <<
atk1 (>= 1.24.0-1),
cairo (>= 1.8-1),
fink (>= 0.24.12),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.7-7),
gconf2-dev (>= 2.24.0-1),
glib2-dev (>= 2.18.0-1),
glitz,
gnome-keyring-dev (>= 0.8.1-1),
gnome-vfs2-unified-dev (>= 1:2.24.0-1),
gtk+2-dev (>= 2.14.0-1),
gtksourceview-dev (>= 1.8.5-2),
libart2,
libbonobo2-dev (>= 2.24.0-1),
libbonoboui2-dev (>= 2.24.0-1),
libgettext8-dev,
libglade2 (>= 2.6.3-1),
libgnome2-dev (>= 2.24.0-1),
libgnomecanvas2-dev (>= 2.20.1.1-2),
libgnomeprint2.2-dev (>= 2.18.5-1),
libgnomeprintui2.2-dev (>= 2.18.3-1),
libgnomeui2-dev (>= 2.24.0-1),
libpng14,
libxml2 (>= 2.6.30-1),
orbit2-dev (>= 2.14.16-1),
pango1-xft2-ft219-dev (>= 1.22.0-4),
pixman (>= 0.12.0-1),
pkgconfig (>= 0.23),
popt,
scons,
x11-dev,
xft2-dev
<<
Source: http://gforge.lug.fi.uba.ar/frs/download.php/84/%n-%v.tar.bz2
Source-MD5: 576942f1b6d3348f16d2eff085eb03f4
PatchFile: %n.patch
PatchFile-MD5: 32d58d57c196269f7aa13b15520cb796
PatchScript: <<
sed -e 's|@FINK_PREFIX@|%p|g' -e 's|@FINK_ARCH@|%m|g' < %{PatchFile} | patch -p1
<<
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
%p/bin/scons PREFIX=%p
<<
InstallScript: <<
export PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
%p/bin/scons install PREFIX=%p DESTDIR=%d/ RunUpdateMimeDatabase=no
<<
PostInstScript: <<
. %p/bin/init.sh
%p/bin/update-mime-database %p/share/mime >/dev/null
<<
PostRmScript: <<
. %p/bin/init.sh
%p/bin/update-mime-database %p/share/mime >/dev/null
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README TODO
Description: Electrical schematic capture and simulation
DescDetail: <<
Oregano is an application for schematic capture and simulation of electrical
circuits. For the actual simulation, Oregano acts as a front-end for SPICE,
which is more or less the industry standard for circuit simulation.
<<
DescPackaging: <<
dmacks updated 0.23.1002->0.60.0-1, which switched to gnome2
and to scons; added missing #include
nieder fixed build to use Fink arch, not system-native arch
<<
License: GPL
Homepage: http://oregano.gforge.lug.fi.uba.ar
diff -Nurd -x'*~' oregano-0.60.0.orig/src/print.c oregano-0.60.0/src/print.c
--- oregano-0.60.0.orig/src/print.c 2006-09-30 00:47:24.000000000 -0400
+++ oregano-0.60.0/src/print.c 2009-02-09 00:26:20.000000000 -0500
@@ -40,6 +40,7 @@
#include
#include
#include
+#include
--- oregano-0.60.0.orig/SConstruct 2010-09-22 13:33:51.000000000 -0700
+++ oregano-0.60.0/SConstruct 2010-09-22 13:34:44.000000000 -0700
@@ -29,7 +29,7 @@
def CheckPkg (context, pkg, version):
msg = 'Checking for pkg %s >= %s ... ' % (pkg, version)
context.Message (' %-60s ' % (msg));
- result = os.system ('pkg-config --exists \'%s >= %s\'' % (pkg, version) );
+ result = os.system ('@FINK_PREFIX@/bin/pkg-config --exists \'%s >= %s\'' % (pkg, version) );
if result == 0:
result = 'yes';
else:
@@ -77,6 +77,8 @@
mo_bld = Builder (action = mo_builder)
+CEnv.Append (CCFLAGS = Split ('-arch @FINK_ARCH@'))
+CEnv.Append (LINKFLAGS = Split ('-arch @FINK_ARCH@'))
CEnv.Append (BUILDERS = {'MoBuild' : mo_bld})
CEnv.Append (CCFLAGS = Split ('-Wall'));
if CEnv['Debug']:
@@ -93,7 +95,7 @@
# Create compiler command line from dependencies #
for dep in deps:
- CEnv.ParseConfig ('pkg-config --cflags --libs '+dep['lib']);
+ CEnv.ParseConfig ('@FINK_PREFIX@/bin/pkg-config --cflags --libs '+dep['lib']);
# Configure environment #
DataDir = CEnv['PREFIX']+'/share'