Commit graph

40 commits

Author SHA1 Message Date
Olli Hauer
30f9161773 -remove MD5 2011-07-03 14:12:22 +00:00
Mikhail Teterin
6ee34e2b25 Add an explicit -fno-strict-aliasing to CXXFLAGS for the sake of
8.x-systems, where it is no longer part of compiler flags.

Notified by:	pav
2008-05-16 22:53:54 +00:00
Mikhail Teterin
e56a4705d5 When WARNS is set in a Makefile even to 1, the flag ``-Wsystem-headers''
is added to the list of compiler's warning-flags. This triggers a
warning like:

/usr/include/c++/4.2/bits/basic_ios.h:156: warning: empty body in an if-statement

in g++42. When this compiler is used, where NO_WERROR is set, the port
fails to build, as warnings are treated as errors. This, pretty much,
means, that NO C++ code can currently be compiled with WARNS set to
anything on FreeBSD.

Work-around the deficiency for now by removing the ``-Wsystem-headers''
from CXXFLAGS after including bsd.lib.mk. This fixes graphics/libfpx on
8.x as well as allows the port to be built by gcc-4.2 on 6.x and 5.x.

Continuously reminded of by:	pav
2008-01-26 23:43:36 +00:00
Mikhail Teterin
6699178428 The top-level build directory should also be in the include path.
Approved by:	portmgr (linimon)
PR:	ports/117774
2007-11-02 23:07:35 +00:00
Mikhail Teterin
bc25ade382 Add a mega-patch, which makes the library usable. It barely worked on
even i386 before, and does not anymore, as its numerous original bugs
were exposed by the evolving compiler. It never worked on a 64-bit
platform, as the original authors assumed sizeof(long) to be 4.

With this patch it compiles cleanly (WARNS=3) on both i386 and amd64
and should have no problems on other 64-bit systems.

A corrupt input-file may still result in a crash, but, at least, it
works correctly with correct input files. Tested on camera-generated
originals kindly provided by the originator of the PR below.

Bump PORTREVISION.

Approved by:	portmgr (pav, after some deliberations)

Portmgr advised against bumping the SHLIB_MAJOR. They did not /insist/
so I chose to bump it -- the old version is too broken to have been
usable to anybody for years, and the dependant ports (such as Graphics
and ImageMagicks) need an easy way to insist on the new version (via
LIB_DEPENDS).

Was required to fix:	67815
2007-11-02 12:42:07 +00:00
Pav Lucistnik
6ccfe3b6b3 - Prepare for removal of shlib filtering 2007-01-27 14:04:44 +00:00
Emanuel Haupt
4884f5b010 Update MASTER_SITES and make it fetchable again
Approved by:	portmgr (erwin), maintainer timeout
2006-10-27 19:44:03 +00:00
Mikhail Teterin
add7eaf094 Add NOPROFILE in _addition_ to NO_PROFILE for the benefit of 4.x systems.
Prodded by:	kris	(gently)
2006-02-03 23:21:18 +00:00
Edwin Groothuis
c92c635b24 SHA256ify
Approved by: krion@
2006-01-22 12:42:24 +00:00
Mikhail Teterin
56786dc9f3 s/NOPROFILE/NO_PROFILE/
PR:	90809 (part of)
Submitted by: Jean Milanez Melo
2005-12-22 15:46:16 +00:00
Mikhail Teterin
a435c6e403 Bump from 1.2.0.11 to 1.2.0.12
Apparently, ImageMagick, realized, that their earlier rip-off "release"
(1.2.0.11) of GraphicsMagick's tar-ball (1.2.0.10) had "GraphicsMagick"
in several $Header$ fields.

So they cut another "release", which brings a slightly updated
libtool/autoconf soup, and GraphicsMagick duly replaced by ImageMagick
in all of those pesky $Header$ lines.

There are no functional differences WHATSOEVER in the source files, but
the earlier 1.2.0.11 is no longer available.

Notified by:	all recent builders of ImageMagick
2005-03-01 17:43:34 +00:00
Mikhail Teterin
4d91afbf2c This package has a controversial history. It was originally "given" to
the ImageMagick team, where Bob Friesenhahn made it work with IM.

Since then, Bob and other developers forked GraphicsMagick. libfpx
remained unchanged until January 2005, when ImageMagick released an
updated tar-ball with a patch applied. The release was botched (missing
a subdirectory) and I changed the port to use the old tar-ball on
GraphicsMagick's site and apply the same patch.

Since then, GraphicsMagick replaced the old 1.2.0.9 tarball with the new
1.2.0.10, where the patch is applied. On the same date, ImageMagick,
not to be outdone, "released" 1.2.0.11, WHICH IS NO DIFFERENT from
GraphicsMagick's version, except for libtool/configure soup.

I'm now switching the port to ImageMagick's mirrors again, simply
because they seem to have better bandwidth.

I must add, for the record, that ImageMagick team's behavior appears
rather dubious and unscrupulous in this incident. There was no need to
"release" their own tarball, especially considering, that some sources
are marked as "GraphicsMagick" (an embarassing oversight). I also
found, that those of my postings on ImageMagick's support forum, which
mentioned GraphicsMagick, were misteriously removed from the board
shortly after posting...

This update is made neccessary by there being no MASTER_SITES for the
original 1.2.0.9 tarball left. While at it, however, I also remove the
jpeg-dependency -- libfpx does not, actually, use it.

Prompted by: pointyhat	(kris)
2005-02-14 20:59:50 +00:00
Mikhail Teterin
7b4f846044 There is a new tarball out there called 1.2.0.9-1, which is incomplete
and does not build.

Use GraphicsMagick's copy for the time being, but apply the only fix
mentioned in the new tarball's ChangeLog.

Bump PORTREVISION. Clean up a little while I am here -- no need for
REINPLACE any more.

Notified by: Michael Metzger (via pav@)
2005-01-25 23:19:47 +00:00
Mikhail Teterin
5e962f908d Update WWW in pkg-descr to i3a.org
PR: 63408
Submitted by: Diana Eichert
2004-05-15 00:31:34 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Mikhail Teterin
53ad6f3a39 Unbreak on -current (with its recently changed bsd.lib.mk) by adding
the missing .cxx extensions to two other source files listed in
files/Makefile.bsd. The previous commit to that file was trying to solve
the same problem, but now I have an up-to-date -current myself and could
easily reproduce it -- an test the solution.
2004-02-06 21:18:04 +00:00
Michael Nottebrock
84f2666e99 *grr* I mean -CURRENT, not 5.2.1-R. 2004-02-06 16:40:44 +00:00
Michael Nottebrock
c5faf432f8 Mark BROKEN for -CURRENT only, since it does compile on 5.2-R. 2004-02-06 16:30:45 +00:00
Kris Kennaway
0be4990100 BROKEN on 5.x: Does not compile 2004-02-06 08:31:00 +00:00
Mikhail Teterin
4482a7e9ab Add the missing .cxx extension to the dfstream in the list of sources.
It used to work up until up until -- apparently -- a recent change to
bsd.lib.mk. Let's see, if this fixes a problem spotted by Bento while
building on amd64.
2004-01-25 03:53:01 +00:00
Mikhail Teterin
dcc15d3af6 Upgrade to 1.2.0.9. All our patches are in now...
PR:		53595
Submitted by:	Melvyn Sopacua
2003-07-14 03:46:35 +00:00
Mikhail Teterin
f9063e87bf Upgrade to 1.2.0.8, which contains some of our patches. Add two more,
which should solve some crashes and allow to compile with a non-GCC
compiler (Re: zero-sized arrays).

Unfortunately, this still crashes on some images, but the vendor has
already pulled the 1.2.0.7 from the mirrors, so this upgrade will, at
least, keep things downloadable.
2003-04-27 15:16:00 +00:00
Mikhail Teterin
703b7fae0f Upgrade from 1.2.0.4 to 1.2.0.7 released on April 12th. May need
careful testing on other architectures, though...

Compelled by: Chris P.
2003-04-23 23:30:59 +00:00
Dirk Meyer
034cbdb998 - honor NO_WERROR
Approved by:	mi@corbulon.video-collage.com
2003-04-06 17:09:47 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Mikhail Teterin
1275b2e250 Make sure warnings are not fatal when compiling the C++ parts of this
package by explicitly appending -Wno-error to CXXFLAGS. This assumes,
the compiler is from the gcc family, but the assumption was already
there -- in the explicit -Werror appended to CFLAGS.

Reported by:	Dirk Meyer
2003-02-08 05:59:12 +00:00
Mikhail Teterin
08e0602bc7 Add two more little patches to fix warnings. One of the warnings was causing
build failure on Alpha-stable -- but not on any other platform...

When I added this big patch, I though all of the problems were fixed, and
closed the corresponding PR. Turned out, Alpha-stable remained broken, even
though the -current started to build.

Just as before, no PORTREVISION bump because no changes are expected on
the platforms were this built before.

Tested on: panther, bento, axp0, beast
PR:	ports/40444
2002-11-20 23:26:35 +00:00
Mikhail Teterin
8c483f0763 Add the patch which lets this port compile on Alphas without evident
breakage on i386 or Sparc64. Tested on: beast, panther, an x86 -current
(aldan.algebra.com) and x86 -stable (corbulon.video-collage.com).

The patch puts a bunch of casting and type-changing band-aids, but this
software package desperately needs a good maintainer -- to properly fix
it -- int32s are mixed with longs, etc.

Unfortunately, the package is lacking any self-testing facilities, so
it may well not work properly, even though it compiles. This is true even
for x86, BTW, although less likely, because that's where it was developed.

Since the patch is not expected to change the result on x86, there is no
PORTREVISION bump.

PR:		ports/40444
Submitted by:	Jan Lentfer
The problem also reported directly to this maintainer by: Jun Ushida
2002-11-08 13:42:37 +00:00
Ying-Chieh Liao
d2b241ba32 remove ftp.yggdrasil.com
it's offline for a long time

PR:		38191
Submitted by:	Tom Rissman <trissman@mrdlaw.com>
2002-09-21 03:06:37 +00:00
Mikhail Teterin
59425510d5 Add the HAVE_* defines to CXXFLAGS as well as CFLAGS. Add -lstdc++ to
LDADD, which lead to the unfortunate PORTREVISION bump.

PR:		ports/40874
Submitted by:	Jan Stocker
2002-07-22 14:58:52 +00:00
Ruslan Ermilov
c155b6a8ff Fixed install on bsd.incs.mk aware systems. 2002-07-21 19:26:53 +00:00
Mikhail Teterin
7d5b879c90 Add some defines to CFLAGS to avoid clashing with the newer system
headers. While here, change PERL to RE_INPLACE and lock things down with
-Werror (in CFLAGS only, the C++ files generate some warnings, fixing
which is in the domain of the authors).

Submitted by:	Naoya Nishimura
2002-07-16 16:27:34 +00:00
Mikhail Teterin
c74bdc61c8 The ImageMagick crew took this library over and released the 1.2.0.4.
The changes:

	. our patch-gcc3 (provided to me by Alex Vasylenko) is
	  incorporated;
	. the library uses its own implementation of wchar; they
	  say, it can only work if sizeof(wchar_t) is 2 bytes, so
	  they can not rely on the OS provided wchar...

The port changed:

	. the package is installed as libfpx-version rather than
	  fpx-version;
	. make is passed `-j2', which is very efficient even for
	  non-SMP machines, since each file is compiled twice --
	  for .o and .So object -- with -j2 they are compiled at
	  the same time, utilizing the cache;
	. don't insist on any particular version of -ljpeg;
	. ftp.imagemagick.org added to the MASTER_SITES (time for
	  MASTER_SITE_IMAGEMAGICK);
	. the ABI and API did not change, so, the installed library's
	  version remains the same.
2002-02-13 06:30:43 +00:00
Mikhail Teterin
144a297f06 As a result of my last commit, upgrading this to 1.2.0-3, the
package name became fpx-1.2.0-3 --  the extra dash problem... It was
quickly pointed out to me by  KATO Tsuguru and Lev Serebryakov, with
the former providing  the simple patch I commit now.  The package is
now fpx-1.2.0.3.

Fortunately, dot follows  dash in the sorting order, so  there is no
need to mess with the PORTREVISION.

Submitted by:	KATO Tsuguru
2002-01-14 06:01:10 +00:00
Mikhail Teterin
8c1545f235 Upgrade to 1.2.0-3. Minor improvements. One of our patches got
incorporated.  Hey!

Submitted by:	alfred (very laconicly)
2002-01-12 08:52:37 +00:00
Mikhail Teterin
33cd6f536a Reorder the include (-I) path to end, rather than start, with
${LOCALBASE}/include.  The  old  behaviour  was  working  almost
always, because  the package's own header  files are well-named,
except for the common.h, which caused build failure for at least
one person.

PR:		ports/32247
2001-12-22 20:12:06 +00:00
Mikhail Teterin
532be2231d Add new distsites -- all ImageMagick's mirrors carry the distfile in the
delegates subdirectory.
2001-12-22 20:09:48 +00:00
Mikhail Teterin
4952a349c0 Add a patch, which, according to the submitter, allows to compile
libfpx with g++ 3.0.x. It does not hurt compilations with the 2.x
compiler.

Submitted by:	Alex Vasylenko
2001-10-29 22:02:38 +00:00
FUJISHIMA Satsuki
a946ae6688 This file should not belong to repository. 2001-03-19 21:17:12 +00:00
Will Andrews
e76e22afb6 Add libfpx 1.2.0, library routines for working with Flashpix images.
PR:		24313
Submitted by:	mi
2001-03-10 20:35:18 +00:00