Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61338 - xv-3.10a-r6 compiles on MacOS with included patches with a few errors
Summary: xv-3.10a-r6 compiles on MacOS with included patches with a few errors
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High normal
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on: 61337
Blocks: 61353
  Show dependency tree
 
Reported: 2004-08-23 01:54 UTC by Trixtrax
Modified: 2005-02-06 13:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild (xv-3.10a-r6.ebuild.patch,517 bytes, patch)
2004-08-23 01:57 UTC, Trixtrax
Details | Diff
patch for xv.h (xv.h.patch,615 bytes, patch)
2004-08-23 01:57 UTC, Trixtrax
Details | Diff
patch for vdcomp.c (vdcomp.c.patch,341 bytes, patch)
2004-08-23 01:58 UTC, Trixtrax
Details | Diff
patch for Makefile (makefile.patch,538 bytes, patch)
2004-08-23 01:58 UTC, Trixtrax
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trixtrax 2004-08-23 01:54:21 UTC
Here are some patches to get xv to compile under MacOS. Used portage-2.0.51_pre20. Compiled clean using automake and autoconf provided, but when I updated to sys-devel/autoconf-2.59-r4 and sys-devel/automake-1.8.5-r1, I received a number of these type of errors:

ld: warning multiple definitions of symbol _jpeg_finish_compress
/usr/lib/libjpeg.a(jcapimin.o) definition of _jpeg_finish_compress in section (__TEXT,__text)
/usr/lib/libtiff.dylib(jcapimin.o) definition of _jpeg_finish_compress
ld: warning multiple definitions of symbol _jpeg_write_m_header
/usr/lib/libjpeg.a(jcapimin.o) definition of _jpeg_write_m_header in section (__TEXT,__text)

[...]

With the macos supplied autoconf and automake, I received none. Tested both software setups above by creating a tiff, png, jpeg and loading them into xv. I manipulated each and saved each. I received one error, saving a tiff file as lzw then attempting to reload, gives me: "test.tif: 0: Invalid strip byte count, strip 0". Under both. Otherwise the package works fine.
Comment 1 Trixtrax 2004-08-23 01:57:13 UTC
Created attachment 38005 [details, diff]
patch for ebuild
Comment 2 Trixtrax 2004-08-23 01:57:54 UTC
Created attachment 38006 [details, diff]
patch for xv.h
Comment 3 Trixtrax 2004-08-23 01:58:23 UTC
Created attachment 38007 [details, diff]
patch for vdcomp.c
Comment 4 Trixtrax 2004-08-23 01:58:58 UTC
Created attachment 38008 [details, diff]
patch for Makefile
Comment 5 Trixtrax 2004-08-23 04:50:05 UTC
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51_pre20 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.5.0 Power Macintosh powerpc)
=================================================================
System uname: 7.5.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: 
Headers:  
Libtools: 
ACCEPT_KEYWORDS="macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fforce-addr -falign-functions=4"
CHOST="powerpc-apple-darwin"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos gnome jpeg justify lzw-tiff ncurses png spell tiff truetype zlib"
Comment 6 Lina Pezzella (RETIRED) gentoo-dev 2005-01-20 08:50:50 UTC
Thanks for the excellent patchset. Sorry this one took so long to get into CVS.
Comment 7 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:19 UTC
Closing out bugs that've been resolved for a while now...