This a re-port of a perl interface to Tk8.4 (John Ousterhout's production
release).
Perl API is essentially the same as Tk800.025 but has not
been verified as compliant.
It also includes all the C code parts of Tix8.1.4 from SourceForge.
The perl code corresponding to Tix's Tcl code is not fully implemented.
===> The following configuration options are available for p5-Tk-804.036:
XFT=on: Client-side fonts via libXft
===> Use 'make config' to modify these settings
x11-toolkits/p5-Tk: fix build with clang 16
Clang 16 has a new error about incompatible function types, which shows
up when building x11-toolkits/p5-Tk:
./Xlib.t:334:14: error: incompatible function pointer types initializing
'KeySym (*)(Display *, unsigned int, int)' (aka 'unsigned long (*)(struct
_XDisplay *, unsigned int, int)') with an expression of type 'KeySym (Display *,
KeyCode, int)' (aka 'unsigned long (struct _XDisplay *, unsigned char, int)')
[-Wincompatible-function-pointer-types]
VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display *,
unsigned int, int)))
^~~~~~~~~~~~~~~~
Indeed, the XKeycodeToKeysum function takes a 'KeyCode' as its second
parameter. Patch Xlib.t to make it so.
PR: 271521
Approved by: pi (maintainer)
MFH: 2023Q2
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
x11-toolkits: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* 1wardd@airmail.net
* Alexander Kabaev <ak03@gte.com>
* Alexander Novitsky <alecn2002@yandex.ru>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Andreas Kohn <andreas@syndrom23.de>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Anton Berezin <tobez@FreeBSD.org>
* Brian Buchanan <brian@CSUA.Berkeley.EDU>
* Cezary Morga <cm@therek.net>
* Cheng-Lung Sung <clsung@FreeBSD.org>
* Danilo Egea Gondolfo <danilo@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
x11-toolkits/p5-Tk: Do not set CONFIGURE_ARGS twice
The port currently sets CONFIGURE_ARGS twice.
The second CONFIGURE_ARGS= overwrites the first, therefore X11INC and
X11LIB are not in CONFIGURE_ARGS. The ports builds anyway, so
the first CONFIGURE_ARGS can be removed.
PR: 234704
Submitted by: tobik
Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.
PR: 214780
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.
PR: 190681
Submitted by: mat
Exp-Run by: antoine
Sponsored by: Absolight
Since Perl/Tk 804.030, freetype support is not considered
experimental anymore and XFT=1 is turned on by default.
PR: ports/174881
Submitted by: Slaven Rezic <slaven@rezic.de>
- Mark BROKEN: does not compile
In file included from Xlib_f.c:8:
Xlib.h:22: error: conflicting types for 'XKeycodeToKeysym'
/usr/local/include/X11/Xlib.h:1702: error: previous declaration of
'XKeycodeToKeysym' was here
Reported by: pointyhat
--rely on jpeg, zlib, and png libraries from ports and the base system,
rather than building bundled sources.
--respect CC, LDFLAGS, AR, etc. (This fixes the build for recent versions
of GCC.)
PR: ports/142748
Submittede by: bf <bf1783@gmail.com>
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav)
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr
- MAN3PREFIX is implied when PERL_CONFIGURE is defined.
- this commit modified ports maintained by (non-)ports@, so approved by
portmgr (erwin) first.
PR: ports/98755
Submitted by: rafan
Approved by: portmgr (erwin)
CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in
them when using a non-default compiler/linker, so do not use `/' as
delimiter for s///. (I picked `|' instead)
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX. Add
some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many
miscellaneous modifications. I used more excessive hacks to force p5-Jcode
and p5-WWW-Search to respect CC/CFLAGS.