the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: synaptic
Version: 0.57.2
Revision: 2016
Distribution: 10.4, 10.5
#
GCC: 4.0
BuildDepends: <<
fink (>= 0.24.12),
glitz, expat1, libpng3, cairo (>= 1.6-1), fontconfig2-dev (>= 2.4.1-1), freetype219 (>= 2.3.5-1), xft2-dev,
apt-dev (>= 0.5.4-1052), libgettext3-dev, libiconv-dev,
libglade2 (>= 2.6.2-1), atk1 (>= 1.20.0-1), pango1-xft2-ft219-dev (>= 1.18.4-4), pixman (>= 0.10.0-1), gtk+2-dev (>= 2.12.0-1), glib2-dev (>= 2.14.0-1), libxml2 (>= 2.6.30-1),
vte9-dev (>= 0.16.9-1),
pkgconfig (>= 0.21-1), intltool40, xmlto (>= 0.0.18-1005)
<<
Depends: <<
apt-shlibs (>= 0.5.4-1052), libgettext3-shlibs, libiconv,
libglade2-shlibs (>= 2.6.2-1), atk1-shlibs (>= 1.20.0-1), pango1-xft2-ft219-shlibs (>= 1.18.4-4), gtk+2-shlibs (>= 2.12.0-1),
glib2-shlibs (>= 2.14.0-1), libxml2-shlibs (>= 2.6.30-1),
vte9-shlibs (>= 0.16.9-1),
rarian-compat
<<
Recommends: deborphan, gksu
#
Source: http://savannah.nongnu.org/download/%{Ni}/%{Ni}-%v.tar.gz
Source-MD5: dd753e953caa053279d342e3bc269128
#
PatchFile: %n.patch
PatchFile-MD5: bbecef75949398d57d769680e5e5dc5c
PatchScript: <<
%{default_script}
find . -name Makefile.in | xargs perl -i -pe 's/^\s+-scrollkeeper-update/#$&/g'
<<
ConfigureParams: --mandir=%p/share/man --with-vte --with-pkg-hold --disable-dependency-tracking 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
#
InstallScript: make install DESTDIR=%d
#
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
fi
<<
PostRmScript: <<
if [ upgrade != "$1" ]; then
scrollkeeper-update
fi
<<
#
DocFiles: COPYING* AUTHORS
#
Description: Gtk graphical front-end for Apt
DescPort: Add missing include
DescPackaging: <<
- Don't do scrollkeeper-update in install phase
- Put manpages where they belong.
- We have no RPM package, so RPM support isn't included. If we ever do
have a RPM package again, this will need re-examination.
- Our apt doesn't support --with-apt-authentication.
- Our apt doesn't support --nice-dpkg-status either.
Add all sorts of missing (formerly inherited) lib links.
<<
#
License: GPL
Maintainer: Dave Vasilevsky
Homepage: http://www.nongnu.org/synaptic/
diff -Nurd -x'*~' synaptic-0.57.2.orig/gtk/Makefile.in synaptic-0.57.2/gtk/Makefile.in
--- synaptic-0.57.2.orig/gtk/Makefile.in 2005-07-04 08:56:03.000000000 -0400
+++ synaptic-0.57.2/gtk/Makefile.in 2010-01-15 10:39:35.000000000 -0500
@@ -190,7 +190,7 @@
${top_builddir}/common/libsynaptic.a\
-lapt-pkg @RPM_LIBS@ @DEB_LIBS@ \
@PACKAGE_LIBS@ @VTE_LIBS@ \
- -lpthread $(LIBTAGCOLL_LIBS)
+ -lpthread $(LIBTAGCOLL_LIBS) $(INTLLIBS) -L/usr/X11R6/lib -lX11
glade_DATA = \
diff -Naur synaptic-0.57.2/gtk/rgmisc.cc synaptic-new/gtk/rgmisc.cc
--- synaptic-0.57.2/gtk/rgmisc.cc 2005-05-20 14:24:35.000000000 -0400
+++ synaptic-new/gtk/rgmisc.cc 2005-07-27 18:51:09.000000000 -0400
@@ -24,6 +24,7 @@
#include
#include
#include
+#include
#include "i18n.h"
#include "rgmisc.h"
#include