FreeWnn is a Japanese/Chinese/Korean input method.
This port installs only libraries for the Japanese imput method.
They include an static library (libwnn.a), header files,
and files used on the client side.
Note that you have to set a environment variable JSERVER before
you use an Wnn client.
===> The following configuration options are available for ja-FreeWnn-lib-1.1.1.a021_15:
====> Options available for the single TYPE: you have to select exactly one of them
SERVER=off
LIB=on
====> Options available for the single LANG: you have to select exactly one of them
WNN=on
KWNN=off
CWNN=off
===> Use 'make config' to modify these settings
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.
- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
1302507 and less than 1400000
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
japanese/FreeWnn-lib: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
japanese/FreeWnn-lib failed to build with clang 15:
js.c:1029:28: error: incompatible pointer to integer conversion returning
'void *' from a function with result type 'int' [-Wint-conversion]
handler_of_jserver_dead (NULL);
^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
js.c:150:24: note: expanded from macro 'handler_of_jserver_dead'
return err_val; \
^~~~~~~
This is because the js_disconnect() function should return an integer,
not a pointer. Use the error value -1 instead.
PR: 268816
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 )
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
- Fix a bug which prevented a bind(2) call from working.
- Support "make stage" by a non-root user.
- Set $*wnn_enable=NO by default. [*]
- Fix pkg-plist.
PR: 149250 [*]
When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la. So everything that subsequently links with libA will also
link to these extra libraries. This causes too much overlinking.
This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging. However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.
So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
(Only the first 15 lines of the commit message are shown above )
For both japanese/FreeWnn-lib and japanese/FreeWnn-server:
- Delete files/patch-configure: This patch is non-functional because
configure is regenerated by USE_AUTOTOOLS=autoconf.
- Replace files/patch-aclocal.m4 with USE_AUTOTOOLS=aclocal.
- Replace files/patch-config.h.in with USE_AUTOTOOLS=autoheader.
- Replace files/patch-ltmain.sh with USE_AUTOTOOLS=libtoolize.
- Replace USE_AUTOTOOLS=libtool with USES=libtool.
- Remove indefinite article from COMMENT.
Approved by: hrs (maintainer)
- Improve buffer management. This change should fix issues on amd64.
- Fix daemonizing part. It now returns the exit status correctly.
- Fix *_{pre,post}cmd handling in the rc.d scripts. Plus,
wnntouch is now invoked just before running the server process.
- Use ${*_WNNMANDIR} in Makefile to use the common patchset
in both FreeWnn-server and -lib.
- Integrate libtool22 change and regenerate patch files.
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
- Use RFC 2553 API for AF_INET[46] socket handling.
- Fix several potential buffer overflows.
- Add missing "listenaddr ::1" to cserverc.
- Add WITHOUT_INET6 handling.
- Enable IPv6 support.
- Add multiple "listenaddr" support. The jserverrc now
understands the following statements:
listenaddr 127.0.0.1
listenaddr ::1
The option "-a <listenaddr>" can also be specified more than
once. Currently the maximum number of listen addresses is 256.
- SIGINT is no longer hooked when the -D (not daemonize,
primarily for debugging) flag is specified.
- Add --unix, long opt counterpart of -u.
- Add "-a ADDR" option to jserver and "listenaddr" directive to
jserverrc. This specifies listen address of the INET socket.
Note that the default value is set as 127.0.0.1. If you need
the old behavior (listen INADDR_ANY), use "-a 0.0.0.0" in
$wnn_flags or modify jserverrc.
- Fix a buffer overflow when very long file name is specified in
the -f option.
- Fix a typo in CONFIGURE_ARGS and COMMENT.
- Rename a patch file (patch-Wnn-jd-serverdef).
- Patch makefile for localized manual pages location instead of passing
--mandir to configure which will be conflict with the default --mandir
in bsd.port.mk (exp run on pointyhat now)
Reported by: pointyhat exp run
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.
Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".
For ports-in-waiting:
USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13
USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213
USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14
Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
* Support CFLAGS
* USE_AUTOCONF - > USE_AUTOCONF_VER
Submitted by: KATO Tsuguru <tkato@prontomail.com>
* Use config.sub and config.guess in Templates instead of devel/autoconf213
Pointed out by: kuriyama
* Update version to 1.1.1-a020
* Support "{start|stop}" for startup scripts in ${PREFIX}/etc/rc.d
libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)
Approved by: portmgr (kris) - for the bsd.port.mk hooks
Tested by: bento 4-exp builds (repeatedly)