From owner-freebsd-ports Fri Nov 2 8:12:46 2001 Delivered-To: freebsd-ports@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id A343D37B407 for ; Fri, 2 Nov 2001 08:12:39 -0800 (PST) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.11.6/8.11.5) with ESMTP id fA2GAPW86382; Fri, 2 Nov 2001 11:10:28 -0500 (EST) (envelope-from mi@aldan.algebra.com) Message-Id: <200111021610.fA2GAPW86382@aldan.algebra.com> Date: Fri, 2 Nov 2001 11:10:22 -0500 (EST) From: Mikhail Teterin Subject: ports/graphics/gd Makefile pkg-plist, Ukraine To: roam@ringlet.net Cc: ports@FreeBSD.org In-Reply-To: <20011102114451.A75362@straylight.oblivion.bg> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2 Nov, Peter Pentchev wrote: > I could work on a test target in the next few days; in the meantime, I tried -- it is not obvious :( The files are there, and the code is, but, apparently, it was never used automated by the author(s). There is no "run this to test" -- at all :-( And it might crash if you run a wrong test on a wrong file, too (like requesting TrueColor pixels on a non-TrueColor picture). Try it if you'd like -- would be good to have it, IMO. > attached is a patch that installs only the docs themselves, without > the test files. Looks right. But why does it have to shuffle the @dirrm include/gd line around? :-) >> --- ports/graphics/gd2/pkg-plist 14 Oct 2001 20:23:23 -0000 1.11 >> +++ ports/graphics/gd2/pkg-plist 1 Nov 2001 08:03:07 -0000 >> @@ -14,7 +14,22 @@ >> include/gd/gdfontmb.h >> include/gd/gdfonts.h >> include/gd/gdfontt.h >> +@dirrm include/gd >> lib/libgd.a >> lib/libgd.so >> lib/libgd.so.3.0 >> -@dirrm include/gd >> Mmm, ok... BTW, may be, we should install the include files into >> ${LOCALBASE}/include directly? All of the names starts with gd anyway >> -- let's do that for the sake of hier(7) :-) > > Would this not break applications that expect to be able to include > "gd/*.h"? I don't think it makes sense to introduce tons of patches to > every such application under the sun, when it is perfectly acceptable > IMHO for a library to differentiate its include files from the rest.. I think, we are currently patching them the other way :) Here is what gd2's and gd's original Makefiles are saying: #Location where .h files should be installed by "make install". INSTALL_INCLUDE=/usr/include Note, no /gd subdirectory... I don't know why FreeBSD chose to change that... May be, gd wanted it that way before... > BTW, is gd2's API incompatible with that of gd? I think, it is. I know the patches in ukrainian/gd will need fixing to work with it, due, it seems, to gratuitous white-space changes in gd2, but IMHO, we should bite the bullet and upgrade graphics/gd up to what's gd2 now. The reason I asked for repo-copy gd->gd2 in the first place was because I was not sure about some of the patches and functionality (kanji). But it seems to be fine now. The next release is nowhere near in sight, let's do that and fix what breaks. Except, I'll be away for most of the November :) -- I leave on Monday for Kyiv. (Committers in Ukraine -- can I bring anything useful?) > If so, what do we do about PR ports/31699, which points out that some > of those ports' files conflict in a bad way? :) Merge them back into one and close it :) -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message