gnome-mag2 stable port information

Package: gnome-mag2

# abandoned upstream in favor of gnome-shell-mag
Distribution: 10.5, 10.6

# can't go higher than 0.14.0 until we update X11 to x.org 7.2
Version: 0.14.0

Revision: 1006
Conflicts: gnome-mag
Replaces: gnome-mag, gnome-mag2-dev (<< 0.14.0-1004)
Depends: <<
%N-shlibs (>= %v-%r),
at-spi (>= 1.28.0-1),
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),
libbonobo2 (>= 2.24.2-1),
libbonobo2-shlibs (>= 2.24.2-1),
libgettext8-shlibs,
orbit2 (>= 2.14.17-2),
orbit2-shlibs (>= 2.14.17-2),
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
popt-shlibs,
x11-shlibs
<<
BuildDepends: <<
at-spi-dev (>= 1.28.0-1),
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
expat1,
fink (>= 0.24.12-1),
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),
intltool40,
libbonobo2-dev (>= 2.24.2-1),
libgettext8-dev,
libiconv-dev,
orbit2-dev (>= 2.14.17-2),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
popt,
x11-dev,
xmkmf (>= 1.0.2-3)
<<
Source: mirror:gnome:sources/gnome-mag/0.14/gnome-mag-%v.tar.bz2
Source-MD5: 012ad052da51031eca1f521942f865f2
PatchFile: %n.patch
PatchFile-MD5: 434dc6560624b6b12ed6ec41d6415102
ConfigureParams: --libexecdir=%p/lib/%n --mandir=%p/share/man --enable-dependency-tracking PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
SetCPPFLAGS: -I%p/lib/fontconfig2/include
SetLDFLAGS: -L%p/lib/fontconfig2/lib
SetCFLAGS: -Os -pipe
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
F77=no ac_cv_lib_Xdamage_XDamageCreate=no ac_cv_lib_Xfixes_XFixesCreateRegion=no ./configure %c
make
fink-package-precedence --prohibit-bdep %n-dev .
<<
InstallScript: make install DESTDIR=%d
SplitOff: <<
Package: %N-shlibs
Depends: <<
glib2-shlibs (>= 2.22.0-1),
orbit2-shlibs (>= 2.14.17-2)
<<
Description: Shared libraries for gnome-mag
Files: lib/libgnome-mag.*.dylib
Shlibs: %p/lib/libgnome-mag.2.dylib 5.0.0 %n (>= 0.12.0-1)
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
Conflicts: gnome-mag-dev
Replaces: gnome-mag-dev
Description: Development headers and libraries for gnome-mag
Files: <<
include
lib/*.dylib
lib/*.la
lib/pkgconfig
share/idl
<<
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README
<<
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README
Description: GNOME Magnifier
License: GPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/
DescPackaging: <<
Had to add F77=no to configure to get around a weird libtool thing
when "fort77" is installed.
<<
DescPort: <<
Always disable DAMAGE and XFIXES extensions for consistency (Apple
X11 (10.4) doesn't have them, x.org has DAMAGE).

Recent glib doesn't publish -lintl, so pass it directly.
<<
DescUsage: <<
For information on the "magnifier" command=line utility, type
"magnifier --help" or "magnifier --usage" after installing
the "gnome-mag2" package.
<<

gnome-mag2 stable port .patch

diff -Nurd -x'*~' gnome-mag-0.14.0.orig/magnifier/Makefile.in gnome-mag-0.14.0/magnifier/Makefile.in
--- gnome-mag-0.14.0.orig/magnifier/Makefile.in 2006-12-15 16:26:08.000000000 -0500
+++ gnome-mag-0.14.0/magnifier/Makefile.in 2009-01-21 03:55:21.000000000 -0500
@@ -316,10 +316,10 @@

magnifier_CFLAGS = $(AM_CFLAGS)
INCLUDES = \
- $(DEPS_CFLAGS) \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_srcdir)/idl \
+ $(DEPS_CFLAGS) \
$(GNOME_MAG_DEBUG_CFLAGS) \
-DCURSORSDIR=\""$(Cursorsdir)"\"

@@ -328,9 +328,9 @@
BUILT_SOURCES = $(IDL_OUT)
CLEANFILES = $(IDL_OUT) $(server_in_files) $(serverinfo_DATA)
DISTCLEANFILES = $(IDL_OUT)
-IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
+IDLFLAGS = -I$(top_srcdir)/idl \
+ -I$(BONOBO_ACTIVATION_IDL_DIR) \
-I$(LIBBONOBO_IDL_DIR) \
- -I$(top_srcdir)/idl \
--add-imodule

orbittypelibdir = $(libdir)/orbit-2.0
@@ -347,7 +347,7 @@
# to pkg-config and can contain a path to X libraries, other way the
# functionalities finded during the test that setted X_LIBS can not be
# presented in the final link.
-LDADD = $(X_LIBS) $(DEPS_LIBS) libgnome-mag.la $(POPT_LIBS) $(COLORBLIND_LIBS)
+LDADD = $(X_LIBS) $(DEPS_LIBS) libgnome-mag.la $(POPT_LIBS) $(COLORBLIND_LIBS) $(INTLLIBS)
serverinfodir = $(libdir)/bonobo/servers
server_in_files = GNOME_Magnifier.server.in
serverinfo_DATA = $(server_in_files:.server.in=.server)
diff -Nurd -x'*~' gnome-mag-0.14.0.orig/test/Makefile.in gnome-mag-0.14.0/test/Makefile.in
--- gnome-mag-0.14.0.orig/test/Makefile.in 2006-12-15 16:26:08.000000000 -0500
+++ gnome-mag-0.14.0/test/Makefile.in 2009-01-21 03:53:50.000000000 -0500
@@ -260,11 +260,11 @@
control_client_SOURCES = control-client.c
mag_test_SOURCES = mag-test.c
INCLUDES = \
- $(DEPS_CFLAGS) \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_builddir)/magnifier \
- -I$(top_srcdir)/idl
+ -I$(top_srcdir)/idl \
+ $(DEPS_CFLAGS)

LDADD = $(DEPS_LIBS) $(top_builddir)/magnifier/libgnome-mag.la $(X_LIBS) $(POPT_LIBS)
all: all-am

gnome-mag2 _unstable_ port .patch