diff options
author | rafan <rafan@75cda91c-bdda-477a-9548-7b8f56199edc> | 2007-11-04 13:53:41 +0800 |
---|---|---|
committer | rafan <rafan@75cda91c-bdda-477a-9548-7b8f56199edc> | 2007-11-04 13:53:41 +0800 |
commit | 0543fbae4020eb832504946a5db07e5fe0ac24f8 (patch) | |
tree | 384dbc16dbe3632cad4e190f357b568b1a2006e4 | |
parent | 833cde5963c0746ecfc1547422a884894e46a5c5 (diff) | |
download | wslabports-0543fbae4020eb832504946a5db07e5fe0ac24f8.tar.gz wslabports-0543fbae4020eb832504946a5db07e5fe0ac24f8.tar.zst wslabports-0543fbae4020eb832504946a5db07e5fe0ac24f8.zip |
- Import current local ports used by us. Note: put this as ports/local
git-svn-id: https://opensvn.csie.org/wslabports/trunk@2 75cda91c-bdda-477a-9548-7b8f56199edc
50 files changed, 1257 insertions, 0 deletions
diff --git a/217/Makefile b/217/Makefile new file mode 100644 index 0000000..2e11fa3 --- /dev/null +++ b/217/Makefile @@ -0,0 +1,354 @@ +# New ports collection makefile for: local/217 +# Date created: Nov 10 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +PORTNAME= 217 +PORTVERSION= 2007.10.30 +PORTREVISION= 0 +CATEGORIES= local +MASTER_SITES= # +DISTFILES= # + +MAINTAINER= rafan@infor.org +COMMENT= Meta-port for all Packages in 217 + +LIB_DEPENDS= +RUN_DEPENDS= + +NO_BUILD= yes + +PKG_CURRENT= /tmp/pkg.current +PKG_LISTED= /tmp/pkg.listed + +USE_PYTHON= yes + +.include <bsd.port.pre.mk> + +# System +RUN_DEPENDS+= LPRng>=0:${PORTSDIR}/sysutils/LPRng \ + pkg_rmleaves>=0:${PORTSDIR}/ports-mgmt/pkg_rmleaves \ + portconf>=0:${PORTSDIR}/ports-mgmt/portconf \ + portupgrade:${PORTSDIR}/ports-mgmt/portupgrade \ + smartmontools>=0:${PORTSDIR}/sysutils/smartmontools \ + sudo>=0:${PORTSDIR}/security/sudo \ + sshit>=0:${PORTSDIR}/security/sshit \ + portaudit>=0:${PORTSDIR}/ports-mgmt/portaudit \ + local-net-snmp>=0:${PORTSDIR}/local/net-snmp \ + nagios-plugins>=0:${PORTSDIR}/net-mgmt/nagios-plugins \ + nsca-client>=0:${PORTSDIR}/net-mgmt/nsca-client \ + mbmon:${PORTSDIR}/sysutils/mbmon \ + xmbmon:${PORTSDIR}/sysutils/xmbmon \ + chkrootkit:${PORTSDIR}/security/chkrootkit \ + rsync:${PORTSDIR}/net/rsync \ + omnitty:${PORTSDIR}/net/omnitty \ + portlint:${PORTSDIR}/ports-mgmt/portlint \ + porttools>=0:${PORTSDIR}/ports-mgmt/porttools \ + zh-screen>=0:${PORTSDIR}/chinese/screen \ + big5width>=0:${PORTSDIR}/chinese/big5width + +RUN_DEPENDS+= compat4x-i386>=0:${PORTSDIR}/misc/compat4x \ + compat5x-${ARCH}>=0:${PORTSDIR}/misc/compat5x + +RUN_DEPENDS+= zh-big5width>=0:${PORTSDIR}/chinese/big5width + +.if (${OSVERSION} >= 700000 && ${OSVERSION} <= 700014) || ${OSVERSION} < 601101 +RUN_DEPENDS+= csup:${PORTSDIR}/net/csup +.endif + +# Network +RUN_DEPENDS+= trafshow:${PORTSDIR}/net/trafshow \ + mtr:${PORTSDIR}/net/mtr \ + lrzsz>=0:${PORTSDIR}/comms/lrzsz + +# Shell +RUN_DEPENDS+= local-shell>=0:${PORTSDIR}/local/shell + +# Language / Compiler +.if ${ARCH} == "i386" +RUN_DEPENDS+= mit-scheme>=0:${PORTSDIR}/lang/mit-scheme +.endif +RUN_DEPENDS+= gcc42:${PORTSDIR}/lang/gcc42 \ + clisp:${PORTSDIR}/lang/clisp \ + expect:${PORTSDIR}/lang/expect \ + f2c:${PORTSDIR}/lang/f2c \ + ocaml:${PORTSDIR}/lang/ocaml \ + perl:${PORTSDIR}/lang/perl5.8 \ + python:${PORTSDIR}/lang/python \ + ruby:${PORTSDIR}/lang/ruby18 \ + tcl>=8.4:${PORTSDIR}/lang/tcl84 + +# Java +RUN_DEPENDS+= diablo-jdk>=0:${PORTSDIR}/java/diablo-jdk15 +.if ${ARCH} == "i386" +RUN_DEPENDS+= java3d>=0:${PORTSDIR}/java/java3d +.endif + +# Development +# broken with Firefox 2.0 +#eclipse:${PORTSDIR}/java/eclipse +.if ${ARCH} == "i386" +RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind +.endif +RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion-perl \ + svk:${PORTSDIR}/devel/svk \ + p5-VCP-Dest-svk>=0:${PORTSDIR}/devel/p5-VCP-Dest-svk \ + ddd:${PORTSDIR}/devel/ddd \ + swig>=1.3:${PORTSDIR}/devel/swig13 \ + global:${PORTSDIR}/devel/global \ + ctags>=0:${PORTSDIR}/devel/ctags \ + cscope>=0:${PORTSDIR}/devel/cscope \ + ccache>=0:${PORTSDIR}/devel/ccache \ + distcc>=0:${PORTSDIR}/devel/distcc + +# Archiver +RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \ + zh-unrar>=0:${PORTSDIR}/chinese/unrar \ + zh-unzip>=0:${PORTSDIR}/chinese/unzip + +# spelling, dictionary +RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell \ + dict:${PORTSDIR}/textproc/dict + +# security related +RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg \ + keychain:${PORTSDIR}/security/keychain + +# Math, Science Computing +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}-numeric>=0:${PORTSDIR}/math/py-numeric \ + octave:${PORTSDIR}/math/octave \ + gsl>=0:${PORTSDIR}/math/gsl \ + ${PYTHON_PKGNAMEPREFIX}-gsl>=0:${PORTSDIR}/math/py-gsl \ + fftw>=0:${PORTSDIR}/math/fftw \ + fftw3>=0:${PORTSDIR}/math/fftw3 \ + atlas>=0:${PORTSDIR}/math/R \ + local-matlab>=0:${PORTSDIR}/local/matlab \ + mpich>=0:${PORTSDIR}/net/mpich + +# Biology +RUN_DEPENDS+= p5-bioperl>=0:${PORTSDIR}/biology/p5-bioperl \ + ncbi-toolkit>=0:${PORTSDIR}/biology/ncbi-toolkit + +# Entertainment +RUN_DEPENDS+= nethack:${PORTSDIR}/games/nethack34 \ + qkmj>=0:${PORTSDIR}/games/qkmj + +# Perl libraries +RUN_DEPENDS+= p5-IO-All>=0:${PORTSDIR}/devel/p5-IO-All \ + p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \ + p5-WWW-Mechanize-Shell>=0:${PORTSDIR}/www/p5-WWW-Mechanize-Shell \ + p5-WWW-Robot>=0:${PORTSDIR}/www/p5-WWW-Robot \ + perltidy>=0:${PORTSDIR}/devel/perltidy \ + p5-Set-IntSpan>=0:${PORTSDIR}/math/p5-Set-IntSpan \ + p5-Set-Window>=0:${PORTSDIR}/math/p5-Set-Window \ + p5-Set-Infinite>=0:${PORTSDIR}/devel/p5-Set-Infinite \ + p5-Array-IntSpan>=0:${PORTSDIR}/misc/p5-Array-IntSpan \ + p5-XML-SAX-Expat>=0:${PORTSDIR}/textproc/p5-XML-SAX-Expat + +# Python libraries +.if ${ARCH} == "i386" +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}-psyco:${PORTSDIR}/devel/py-psyco +.endif + +# database +USE_MYSQL= yes +RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \ + p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ + p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB \ + ${PYTHON_PKGNAMEPREFIX}-MySQLdb:${PORTSDIR}/databases/py-MySQLdb + +# Converters +RUN_DEPENDS+= recode:${PORTSDIR}/converters/recode \ + unix2dos:${PORTSDIR}/converters/unix2dos + +# Other Tools +RUN_DEPENDS+= tidy:${PORTSDIR}/www/tidy \ + mc:${PORTSDIR}/misc/mc \ + gnuls:${PORTSDIR}/misc/gnuls \ + spim:${PORTSDIR}/emulators/spim + +# X Window +RUN_DEPENDS+= xorg>=0:${PORTSDIR}/x11/xorg \ + xorg-vfbserver>=0:${PORTSDIR}/x11-servers/xorg-vfbserver \ + wdm:${PORTSDIR}/local/wdm + +# Fonts +RUN_DEPENDS+= freefonts>=0:${PORTSDIR}/x11-fonts/freefonts \ + terminus-font>=0:${PORTSDIR}/x11-fonts/terminus-font \ + urwfonts>=0:${PORTSDIR}/x11-fonts/urwfonts \ + webfonts>=0:${PORTSDIR}/x11-fonts/webfonts \ + zh-kcfonts>=0:${PORTSDIR}/chinese/kcfonts \ + zh-arphicttf>=0:${PORTSDIR}/chinese/arphicttf \ + ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf \ + zh-mingunittf>=0:${PORTSDIR}/chinese/mingunittf + +# Window Manager / Desktop Environment +RUN_DEPENDS+= gnome2-lite>=0:${PORTSDIR}/x11/gnome2-lite \ + wmaker:${PORTSDIR}/local/windowmaker \ + enlightenment>=0:${PORTSDIR}/x11-wm/enlightenment \ + icewm:${PORTSDIR}/local/icewm \ + fvwm>=2.5:${PORTSDIR}/x11-wm/fvwm2-devel + +# Input Method +RUN_DEPENDS+= oxim:${PORTSDIR}/chinese/oxim \ + gcin:${PORTSDIR}/chinese/gcin \ + zh-scim-chewing>=0:${PORTSDIR}/chinese/scim-chewing \ + zh-scim-pinyin>=0:${PORTSDIR}/chinese/scim-pinyin \ + zh-scim-tables>=0:${PORTSDIR}/chinese/scim-tables + +# Terminal +RUN_DEPENDS+= rxvt:${PORTSDIR}/local/rxvt-devel \ + urxvt:${PORTSDIR}/x11/rxvt-unicode \ + mlterm:${PORTSDIR}/local/mlterm + +# Browser +RUN_DEPENDS+= firefox:${PORTSDIR}/www/firefox \ + w3m-m17n>=0:${PORTSDIR}/www/w3m-m17n \ + local-w3m-config>=0:${PORTSDIR}/local/w3m-config \ + lynx>=0:${PORTSDIR}/www/lynx \ + linux-flashplugin>=0:${PORTSDIR}/www/linux-flashplugin7 + +# Plugins +.if ${ARCH} == "i386" +RUN_DEPENDS+= linuxpluginwrapper>=0:${PORTSDIR}/www/linuxpluginwrapper +.endif + +# Editor +USE_EMACS= yes +EMACS_PORT_NAME?= emacs22 +RUN_DEPENDS+= zh-openoffice.org-TW>=0:${PORTSDIR}/editors/openoffice.org-2 \ + zh-xemacs-mule>=0:${PORTSDIR}/chinese/xemacs21 \ + xemacs-packages>=0:${PORTSDIR}/editors/xemacs-packages \ + emacs-w3m-${EMACS_PORT_NAME}>=0:${PORTSDIR}/www/emacs-w3m \ + auctex>=0:${PORTSDIR}/print/auctex \ + python-mode.el>=0:${PORTSDIR}/lang/python-mode.el \ + psvn>=0:${PORTSDIR}/devel/psvn \ + vim:${PORTSDIR}/editors/vim \ + local-joe>=0:${PORTSDIR}/local/joe + +# LaTeX +RUN_DEPENDS+= teTeX>=0:${PORTSDIR}/print/teTeX \ + latex-cjk>=0:${PORTSDIR}/print/latex-cjk \ + latex2html>=0:${PORTSDIR}/textproc/latex2html \ + hugelatex>=0:${PORTSDIR}/print/hugelatex \ + Hyperlatex>=0:${PORTSDIR}/print/hyperlatex \ + bibtool:${PORTSDIR}/textproc/bibtool + +# PostScript tools +RUN_DEPENDS+= zh-bg5ps>=0:${PORTSDIR}/chinese/bg5ps \ + zh-enscript-a4>=0:${PORTSDIR}/chinese/enscript \ + a2ps-a4>=0:${PORTSDIR}/print/a2ps-a4 \ + c2ps-a4>=0:${PORTSDIR}/print/c2ps-a4 \ + mpage>=0:${PORTSDIR}/print/mpage \ + pstotext>=0:${PORTSDIR}/print/pstotext \ + psutils-a4>=0:${PORTSDIR}/print/psutils-a4 + +# Viewer +RUN_DEPENDS+= acroread7>=0:${PORTSDIR}/print/acroread7 \ + xpdf>=0:${PORTSDIR}/graphics/xpdf \ + zh-xpdf>=0:${PORTSDIR}/chinese/xpdf \ + gv>=0:${PORTSDIR}/print/gv \ + wv>=0:${PORTSDIR}/textproc/wv \ + djvulibre-nox11>=0:${PORTSDIR}/graphics/djvulibre-nox11 + +# Image Tools +USE_SDL= yes +RUN_DEPENDS+= bmeps>=0:${PORTSDIR}/graphics/bmeps \ + gimp:${PORTSDIR}/graphics/gimp \ + gqview>=0:${PORTSDIR}/graphics/gqview \ + gtksee>=0:${PORTSDIR}/graphics/gtksee \ + ipe>=0:${PORTSDIR}/graphics/ipe \ + netpbm>=0:${PORTSDIR}/graphics/netpbm \ + xfig>=0:${PORTSDIR}/graphics/xfig \ + xv>=0:${PORTSDIR}/graphics/xv \ + opencv>=0:${PORTSDIR}/graphics/opencv \ + gnuplot>=0:${PORTSDIR}/math/gnuplot \ + ImageMagick>=0:${PORTSDIR}/graphics/ImageMagick \ + ${PYTHON_PKGNAMEPREFIX}-imaging>=0:${PORTSDIR}/graphics/py-imaging +.if ${ARCH} == "i386" +RUN_DEPENDS+= svgalib>=0:${PORTSDIR}/graphics/svgalib +.endif + +# FTP Client +RUN_DEPENDS+= ftps:${PORTSDIR}/ftp/bsdftpd-ssl \ + ncftp>=3:${PORTSDIR}/ftp/ncftp3 \ + lftp:${PORTSDIR}/ftp/lftp + +# Mail Client +RUN_DEPENDS+= zh-mutt-devel>=0:${PORTSDIR}/chinese/mutt \ + zh-pine>=0:${PORTSDIR}/chinese/pine4 \ + fetchmail:${PORTSDIR}/mail/fetchmail \ + metamail>=0:${PORTSDIR}/mail/metamail \ + urlview:${PORTSDIR}/textproc/urlview +# For VM (emacs) +RUN_DEPENDS+= stunnel:${PORTSDIR}/security/stunnel # for VM (emacs) + +# News +RUN_DEPENDS+= tin:${PORTSDIR}/chinese/tin + +# Telnet +RUN_DEPENDS+= zh-telnet>=0:${PORTSDIR}/chinese/telnet + +# IRC +RUN_DEPENDS+= zh-irssi>=0:${PORTSDIR}/chinese/irssi + +# VNC +.if ${ARCH} == "i386" +RUN_DEPENDS+= tightvnc>=0:${PORTSDIR}/net/tightvnc +.else +RUN_DEPENDS+= vnc>=0:${PORTSDIR}/net/vnc +.endif + +# Instant Messenger +RUN_DEPENDS+= pidgin:${PORTSDIR}/net-im/pidgin + +# Multimedia +RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer \ + mencoder:${PORTSDIR}/multimedia/mencoder \ + sdl_mixer>=0:${PORTSDIR}/audio/sdl_mixer + +# DocApps for WindowMaker +RUN_DEPENDS+= wmbiff>=0:${PORTSDIR}/mail/wmbiff \ + wmweather>=0:${PORTSDIR}/misc/wmweather \ + wmweather+>=0:${PORTSDIR}/misc/wmweather+ \ + wmnd>=0:${PORTSDIR}/net/wmnd \ + wmcpuload>=0:${PORTSDIR}/sysutils/wmcpuload \ + wminet>=0:${PORTSDIR}/sysutils/wminet \ + wmmemmon>=0:${PORTSDIR}/sysutils/wmmemmon \ + wmtop>=0:${PORTSDIR}/sysutils/wmtop \ + wmCalClock>=0:${PORTSDIR}/x11-clocks/wmcalclock \ + wmclock>=0:${PORTSDIR}/x11-clocks/wmclock \ + wmclockmon>=0:${PORTSDIR}/x11-clocks/wmclockmon \ + wmtime>=0:${PORTSDIR}/x11-clocks/wmtime \ + wmtimer>=0:${PORTSDIR}/x11-clocks/wmtimer \ + wmcliphist>=0:${PORTSDIR}/x11/wmcliphist \ + temperature.app>=0:${PORTSDIR}/x11/temperature.app \ + asbutton>=0:${PORTSDIR}/misc/asbutton + +# Tools for enlightment +RUN_DEPENDS+= e16utils>=0:${PORTSDIR}/x11-wm/e16utils + +# Other X11 tools +RUN_DEPENDS+= xlock:${PORTSDIR}/x11/xlockmore \ + xloadimage:${PORTSDIR}/x11/xloadimage \ + synergy>=0:${PORTSDIR}/sysutils/synergy \ + rdesktop>=0:${PORTSDIR}/net/rdesktop \ + gkrellm>=2:${PORTSDIR}/sysutils/gkrellm2 \ + pclock:${PORTSDIR}/x11-clocks/pclock + +do-install: + @${DO_NADA} + +check: + @${PKG_INFO} -qoa | ${SORT} > ${PKG_CURRENT} + @${MAKE} all-depends-list | ${SED} 's,${PORTSDIR}/,,' | ${SORT} > ${PKG_LISTED} + @${ECHO_CMD} "Ports are installed but not listed" + @comm -23 ${PKG_CURRENT} ${PKG_LISTED} + @${ECHO_CMD} "" + @${ECHO_CMD} "Extra ports listed but not installed" + @comm -13 ${PKG_CURRENT} ${PKG_LISTED} + @${RM} -f ${PKG_CURRENT} ${PKG_LISTED} + +.include <bsd.port.post.mk> diff --git a/217/pkg-descr b/217/pkg-descr new file mode 100644 index 0000000..61de4a3 --- /dev/null +++ b/217/pkg-descr @@ -0,0 +1 @@ +Meta-port for all Packages in 217 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6c3ecf4 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ +# + + COMMENT = Local ports + + SUBDIR += 217 + SUBDIR += icewm + SUBDIR += joe + SUBDIR += matlab + SUBDIR += mlterm + SUBDIR += rxvt-devel + SUBDIR += shell + SUBDIR += w3m-config + SUBDIR += wdm + SUBDIR += windowmaker + +.include <bsd.port.subdir.mk> diff --git a/Makefile.inc b/Makefile.inc new file mode 100644 index 0000000..8644db9 --- /dev/null +++ b/Makefile.inc @@ -0,0 +1,7 @@ +# $FreeBSD$ +# + +PKGNAMEPREFIX?= local- + +# Make sure we have the correct origin registered +PKGCATEGORY= local diff --git a/icewm/Makefile b/icewm/Makefile new file mode 100644 index 0000000..82abbea --- /dev/null +++ b/icewm/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: local/icewm +# Date created: Apr 24 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= x11-wm/icewm with 217 patches + +CONFLICTS= icewm-* + +MASTERDIR= ${.CURDIR}/../../x11-wm/icewm + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +.include "${MASTERDIR}/Makefile" diff --git a/icewm/files/patch-lib-menu.in b/icewm/files/patch-lib-menu.in new file mode 100644 index 0000000..69c498b --- /dev/null +++ b/icewm/files/patch-lib-menu.in @@ -0,0 +1,19 @@ +Make the menu simpler and more useful. + +--- lib/menu.in.orig Mon Apr 24 05:56:42 2006 ++++ lib/menu.in Mon Apr 24 05:57:33 2006 +@@ -4,12 +4,8 @@ + # since modifications to this file will be discarded when you + # (re)install icewm. + # +-prog xterm xterm xterm +-prog rxvt xterm rxvt -bg black -cr green -fg white -C -fn 9x15 -sl 500 +-prog fte fte fte +-prog NEdit nedit nedit +-prog Mozilla mozilla mozilla +-prog XChat xchat xchat ++prog rxvt xterm rxvt ++prog Firefox mozilla firefox + prog Gimp gimp gimp + separator + menuprog Gnome folder icewm-menu-gnome1 --list @CONFIG_GNOME1_MENU_DIR@ diff --git a/icewm/files/patch-lib-toolbar.in b/icewm/files/patch-lib-toolbar.in new file mode 100644 index 0000000..388ecdd --- /dev/null +++ b/icewm/files/patch-lib-toolbar.in @@ -0,0 +1,13 @@ +Make the toolbar simpler and more useful. + +--- lib/toolbar.in.orig Mon Apr 24 05:57:48 2006 ++++ lib/toolbar.in Mon Apr 24 05:58:12 2006 +@@ -4,6 +4,5 @@ + # since modifications to this file will be discarded when you + # (re)install icewm. + # +-prog XTerm xterm xterm +-prog FTE fte fte +-prog Netscape netscape netscape ++prog rxvt xterm rxvt ++prog Firefox mozilla firefox diff --git a/icewm/files/patch-src-default.h b/icewm/files/patch-src-default.h new file mode 100644 index 0000000..465f614 --- /dev/null +++ b/icewm/files/patch-src-default.h @@ -0,0 +1,7 @@ +workaround for xcin root input style (prevent xcin and terminal +both want to get focus at the same time, which causing screen +glittering) + +XIV(bool, focusOnAppRaise, false) + +default in newer icewm (1.2.28) diff --git a/icewm/pkg-descr b/icewm/pkg-descr new file mode 100644 index 0000000..263db9f --- /dev/null +++ b/icewm/pkg-descr @@ -0,0 +1,5 @@ +Changes: + + - simple menu/toolbar and more useable + - workaround for xcin Root style + diff --git a/joe/Makefile b/joe/Makefile new file mode 100644 index 0000000..2f803d3 --- /dev/null +++ b/joe/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: local/joe +# Date created: Apr 20 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= editors/joe with 217 patches + +CONFLICTS= joe-[0-9]* + +MASTERDIR= ${.CURDIR}/../../editors/joe + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +.include "${MASTERDIR}/Makefile" diff --git a/joe/files/patch-joerc b/joe/files/patch-joerc new file mode 100644 index 0000000..bc7785b --- /dev/null +++ b/joe/files/patch-joerc @@ -0,0 +1,16 @@ +Make Big5/UTF-8 user happy when editing. + +Big5: -asis, moreve 1 +UTF-8: remove # (included in 3.5) + +--- rc/joerc.dist Tue Dec 6 19:05:10 2005 ++++ rc/joerc.in Thu Dec 8 13:45:21 2005 +@@ -55,7 +55,7 @@ + + -marking Text between ^KB and cursor is highlighted (use with -lightoff) + +- -asis Characters 128 - 255 shown as-is ++-asis Characters 128 - 255 shown as-is + + -force Force final newline when files are saved + diff --git a/joe/pkg-descr b/joe/pkg-descr new file mode 100644 index 0000000..23a573a --- /dev/null +++ b/joe/pkg-descr @@ -0,0 +1,4 @@ +Changes: + + - Make Big5/UTF-8 users happy when editing with joe. + diff --git a/matlab/Makefile b/matlab/Makefile new file mode 100644 index 0000000..6ec4435 --- /dev/null +++ b/matlab/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: local/matlab +# Date created: Apr 26 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +PORTNAME= matlab +# set PORTVERSION equal to what matlab says +PORTVERSION= 7.5.0.338 # R2007b +PORTREVISION= 0 +CATEGORIES= local +DISTFILES= + +MAINTAINER= rafan@infor.org +COMMENT= easier to run MATLAB on FreeBSD + +USE_LINUX= yes + +NO_BUILD= yes + +pre-everything:: + @${ECHO} "" + @${ECHO} "Use ${SCRIPTDIR}/prep.sh to prepare MATLAB first." + @${ECHO} "" + +do-install: + ${INSTALL_SCRIPT} ${FILESDIR}/matlab ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/matlab/files/finish.m b/matlab/files/finish.m new file mode 100644 index 0000000..d32b7ae --- /dev/null +++ b/matlab/files/finish.m @@ -0,0 +1 @@ +! $MATLAB/bin/finish.sh diff --git a/matlab/files/finish.sh b/matlab/files/finish.sh new file mode 100755 index 0000000..d5382c3 --- /dev/null +++ b/matlab/files/finish.sh @@ -0,0 +1,4 @@ +#!/usr/compat/linux/bin/sh + +(sleep 5; killall -1 matlab_helper) & +exit 0 diff --git a/matlab/files/matlab b/matlab/files/matlab new file mode 100755 index 0000000..69cd5a1 --- /dev/null +++ b/matlab/files/matlab @@ -0,0 +1,16 @@ +#!/bin/sh + +# use linux_base's sh to fake uname + +echo "" +echo "!!! WARNING !!!" +echo "" +echo "Running MATLAB on FreeBSD is considered as experimental." +echo "This is not officially supported by the MathWorks, Inc." +echo "" +echo "!!! WARNING !!!" +echo "" + +sleep 1 + +exec /compat/linux/bin/sh /compat/linux/usr/local/matlab/bin/matlab "$@" diff --git a/matlab/files/matlab.diff b/matlab/files/matlab.diff new file mode 100644 index 0000000..d9225a9 --- /dev/null +++ b/matlab/files/matlab.diff @@ -0,0 +1,12 @@ +--- bin/matlab.orig Sat Nov 5 10:32:26 2005 ++++ bin/matlab Sat Nov 5 10:32:53 2005 +@@ -397,7 +397,8 @@ + # + # Check for link portably + # +- if [ `expr "$lscmd" : '.*->.*'` -ne 0 ]; then ++# ++ if test -L $newbase; then + filename=`echo "$lscmd" | awk '{ print $NF }'` + else + # diff --git a/matlab/pkg-descr b/matlab/pkg-descr new file mode 100644 index 0000000..dc5329c --- /dev/null +++ b/matlab/pkg-descr @@ -0,0 +1,2 @@ +This is merely a wrapper (bin/matlab) to execute MATLAB. You still +need to install it first. diff --git a/matlab/pkg-plist b/matlab/pkg-plist new file mode 100644 index 0000000..f74359d --- /dev/null +++ b/matlab/pkg-plist @@ -0,0 +1 @@ +bin/matlab diff --git a/matlab/scripts/prep.sh b/matlab/scripts/prep.sh new file mode 100755 index 0000000..79b64bd --- /dev/null +++ b/matlab/scripts/prep.sh @@ -0,0 +1,55 @@ +#!/bin/sh + +# This setup necessary enviroment for MATLAB to run smoothly on FreeBSD. +# Followed by the instruction in FreeBSD Handbook: 10.5 Installing MATLAB®) + +export PATH=/usr/bin:/usr/sbin:/sbin:/bin + +BASEDIR=`realpath $0` +BASEDIR=`dirname ${BASEDIR}` +BASEDIR=`realpath ${BASEDIR}/../` +FILESDIR=${BASEDIR}/files + +MATLABDIR=/compat/linux/usr/local/matlab + +PATCH="patch -s" + +INSTALL=/usr/bin/install +INSTALL_SCRIPT="${INSTALL} -o root -g wheel -m 555" +INSTALL_DATA="${INSTALL} -o root -g wheel -m 444" + +if [ `id -u` -ne 0 ]; then + echo "You must be root to execute this" + exit 1 +fi + +echo "" +echo "Please copy linux5:/usr/local/matlab to ${MATLABDIR} *MANUALLY* before using this script" +echo "Sleeping 5 secs..." +echo "" + +sleep 5 + +if [ -d "${MATLABDIR}" ]; then + cd ${MATLABDIR} || exit 1 + + echo "===> Apply patches" + for i in ${FILESDIR}/*.diff; do + echo -n "`basename ${i}` " + ${PATCH} < ${i} + if [ $? -ne 0 ]; then + echo "[FAILED]"; + fi + echo "" + done + + echo "===> Install auxiliary scripts (for closing MATLAB)" + echo -n "finish.m " + ${INSTALL_DATA} ${FILESDIR}/finish.m ${MATLABDIR}/toolbox/local + echo -n "finish.sh " + ${INSTALL_SCRIPT} ${FILESDIR}/finish.sh ${MATLABDIR}/bin + echo "" +else + echo "ERROR: ${MATLABDIR} does not exist." + exit 1 +fi diff --git a/mlterm/Makefile b/mlterm/Makefile new file mode 100644 index 0000000..1e3ccac --- /dev/null +++ b/mlterm/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: local/mlterm +# Date created: Apr 20 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= x11/mlterm with 217 patches + +CONFLICTS= mlterm-[0-9]* + +MASTERDIR= ${.CURDIR}/../../x11/mlterm + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +.include "${MASTERDIR}/Makefile" + diff --git a/mlterm/files/patch-aafont b/mlterm/files/patch-aafont new file mode 100644 index 0000000..b6a4753 --- /dev/null +++ b/mlterm/files/patch-aafont @@ -0,0 +1,10 @@ +default font + +--- etc/aafont Wed Oct 1 14:09:45 2003 ++++ etc/aafont Thu Dec 22 01:27:41 2005 +@@ -33,3 +33,5 @@ + + # Simplified Chinese speakers may want to enable the following setting. + #ISO10646_UCS4_1_BIWIDTH=AR PL SungtiL GB-iso10646-1; ++ISO8859_1=Bitstream Vera Sans Mono-; ++BIG5=AR PL New Sung-; diff --git a/mlterm/files/patch-font b/mlterm/files/patch-font new file mode 100644 index 0000000..6e5e6f4 --- /dev/null +++ b/mlterm/files/patch-font @@ -0,0 +1,9 @@ +default font + +--- etc/font Sat Feb 23 14:07:07 2002 ++++ etc/font Thu Dec 22 01:27:41 2005 +@@ -7,3 +7,4 @@ + #JISX0208_1983 = 10,k10;12,k12;14,k14;16,kanji16; + #JISX0208_1983_BOLD = 10,k10B; + #TCVN5712 = 14,-*-.vntime-*--14-*-iso8859-1; ++BIG5=16,kc15f;20,-*-medium-r-normal--20-*-big5-0;24,kc24f; diff --git a/mlterm/files/patch-main b/mlterm/files/patch-main new file mode 100644 index 0000000..5d2c919 --- /dev/null +++ b/mlterm/files/patch-main @@ -0,0 +1,10 @@ +default color settings, size + +--- etc/main Sat Mar 8 20:19:27 2003 ++++ etc/main Thu Dec 22 01:27:41 2005 +@@ -1 +1,5 @@ + scrollbar_view_name = sample ++bg_color=black ++fg_color=white ++geometry=80x24 ++use_anti_alias=true diff --git a/mlterm/pkg-descr b/mlterm/pkg-descr new file mode 100644 index 0000000..d262842 --- /dev/null +++ b/mlterm/pkg-descr @@ -0,0 +1,4 @@ +Changes: + + - default font, color, size settings + diff --git a/net-snmp/Makefile b/net-snmp/Makefile new file mode 100644 index 0000000..1d63ba2 --- /dev/null +++ b/net-snmp/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: local/net-snmp +# Date created: Sep 18 2007 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= net-mgmt/net-snmp local patches + +CONFLICTS= net-snmp-[0-9]* + +MASTERDIR= ${.CURDIR}/../../net-mgmt/net-snmp + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +.include "${MASTERDIR}/Makefile" + +# XXX +PKGNAME:= local-${PKGNAME} diff --git a/net-snmp/files/patch-inactive-as-cache-memory b/net-snmp/files/patch-inactive-as-cache-memory new file mode 100644 index 0000000..b56cf94 --- /dev/null +++ b/net-snmp/files/patch-inactive-as-cache-memory @@ -0,0 +1,12 @@ +net-snmp, mark inactive pages under Cache +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Wed Aug 17 20:36:14 2005 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Tue Sep 18 20:52:49 2007 +@@ -352,7 +352,7 @@ + #ifdef darwin + long_ret = ptok(mem.v_lookups); + #else +- long_ret = ptok(mem.v_cache_count); ++ long_ret = ptok(mem.v_cache_count) + ptok(mem.v_inactive_count); + #endif + return ((u_char *) (&long_ret)); + #endif diff --git a/net-snmp/pkg-descr b/net-snmp/pkg-descr new file mode 100644 index 0000000..23a573a --- /dev/null +++ b/net-snmp/pkg-descr @@ -0,0 +1,4 @@ +Changes: + + - Make Big5/UTF-8 users happy when editing with joe. + diff --git a/rxvt-devel/Makefile b/rxvt-devel/Makefile new file mode 100644 index 0000000..9b05869 --- /dev/null +++ b/rxvt-devel/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: local/rxvt-devel +# Date created: Apr 22 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= x11/rxvt-devel with 217 patches + +CONFLICTS= rxvt-devel-[0-9]* + +MASTERDIR= ${.CURDIR}/../../x11/rxvt-devel + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +WITH_XGETDEFAULT= yes + +.include "${MASTERDIR}/Makefile" diff --git a/rxvt-devel/files/patch-src-feature.h b/rxvt-devel/files/patch-src-feature.h new file mode 100644 index 0000000..542f4ad --- /dev/null +++ b/rxvt-devel/files/patch-src-feature.h @@ -0,0 +1,25 @@ +Don't overstrike for bold fonts +Default print to /dev/null + +--- src/feature.h.orig Sat Dec 24 03:43:13 2005 ++++ src/feature.h Sat Dec 24 03:45:11 2005 +@@ -71,8 +71,8 @@ + * overstrike just for multi char fonts + * Note: NO_BOLDOVERSTRIKE implies NO_BOLDOVERSTRIKE_MULTI + */ +-/* #define NO_BOLDOVERSTRIKE */ +-/* #define NO_BOLDOVERSTRIKE_MULTI */ ++#define NO_BOLDOVERSTRIKE ++#define NO_BOLDOVERSTRIKE_MULTI + + /* + * Don't bother cleaning up pixel droppings. If you don't use bold +@@ -144,7 +144,7 @@ + /* + * Printer pipe which will be used for emulation of attached vt100 printer + */ +-#define PRINTPIPE "lpr" ++#define PRINTPIPE ">/dev/null" + + /* + * Allow 80/132 mode switching on startup diff --git a/rxvt-devel/pkg-descr b/rxvt-devel/pkg-descr new file mode 100644 index 0000000..be07476 --- /dev/null +++ b/rxvt-devel/pkg-descr @@ -0,0 +1,6 @@ +Changes: + + - disable overstrike for bold text + - default print to null + - --enable-xgetdefault + diff --git a/shell/Makefile b/shell/Makefile new file mode 100644 index 0000000..77c20f1 --- /dev/null +++ b/shell/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: local/shell +# Date created: Nov 08 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +PORTNAME= shell +PORTVERSION= 1.0.20061108 +CATEGORIES= local +MASTER_SITES= # +DISTFILES= # + +MAINTAINER= rafan@infor.org +COMMENT= Create links for shell + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ + bash-completion>=0:${PORTSDIR}/shells/bash-completion \ + ksh93:${PORTSDIR}/shells/ksh93 + +NO_BUILD= yes + +do-fetch: + @${DO_NADA} + +do-install: + @${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \ + ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/shell/pkg-deinstall b/shell/pkg-deinstall new file mode 100644 index 0000000..8d2521a --- /dev/null +++ b/shell/pkg-deinstall @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +SH="/bin/bash /bin/ksh" +SHELLS="${PKG_DESTDIR-}/etc/shells" + +case $2 in +DEINSTALL) + for sh in $SH; do + if grep -qs "^$sh\$" "$SHELLS"; then + if [ `id -u` -eq 0 ]; then + TMPSHELLS=`mktemp -t shells` + grep -v "^$sh\$" "$SHELLS" > "$TMPSHELLS" + cat "$TMPSHELLS" > "$SHELLS" + rm "$TMPSHELLS" + rm -f "$sh" + else + echo "Not root, please remove $sh from $SHELLS manually" + fi + fi + done + ;; +esac diff --git a/shell/pkg-descr b/shell/pkg-descr new file mode 100644 index 0000000..9a7978f --- /dev/null +++ b/shell/pkg-descr @@ -0,0 +1 @@ +Create links for shell diff --git a/shell/pkg-install b/shell/pkg-install new file mode 100644 index 0000000..9af1c7f --- /dev/null +++ b/shell/pkg-install @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +SH="/bin/bash /bin/ksh" +SHELLS="${PKG_DESTDIR-}/etc/shells" + +case $2 in +POST-INSTALL) + for sh in $SH; do + if [ -d "${SHELLS%/*}" ] && ! grep -qs "^$sh\$" "$SHELLS"; then + if [ `id -u` -eq 0 ]; then + echo "$sh" >> "$SHELLS" + /bin/ln -fs ${PKG_PREFIX}${sh} "${sh}" + else + echo "Not root, please add "$sh" to $SHELLS manually" + fi + fi + done + + # XXX + /bin/ln -fs ${PKG_PREFIX}/bin/ksh93 /bin/ksh + ;; +esac diff --git a/w3m-config/Makefile b/w3m-config/Makefile new file mode 100644 index 0000000..8516bed --- /dev/null +++ b/w3m-config/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: local/w3m-config +# Date created: Apr 20 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +PORTNAME= w3m-config +PORTVERSION= 0.1 +PORTREVISION= 1 +CATEGORIES= local +DISTFILES= + +MAINTAINER= rafan@infor.org +COMMENT= www/w3m configuration files + +RUN_DEPENDS= w3m:${PORTSDIR}/www/w3m-m17n + +NO_BUILD= yes + +do-install: + ${MKDIR} ${PREFIX}/etc/w3m + ${INSTALL_DATA} ${FILESDIR}/w3mconfig ${PREFIX}/etc/w3m + +.include <bsd.port.mk> diff --git a/w3m-config/files/w3mconfig b/w3m-config/files/w3mconfig new file mode 100644 index 0000000..300b117 --- /dev/null +++ b/w3m-config/files/w3mconfig @@ -0,0 +1,6 @@ +follow_locale 1 +system_charset Big5 +auto_detect 2 +document_charset Big5 +display_charset Big5 + diff --git a/w3m-config/pkg-descr b/w3m-config/pkg-descr new file mode 100644 index 0000000..48ffce0 --- /dev/null +++ b/w3m-config/pkg-descr @@ -0,0 +1,6 @@ +Changes: + + - w3m's system-wide config for Big5 enviroment + +Note this port is NOT a slave port of www/w3m*. It merely install +a system-wide config. diff --git a/w3m-config/pkg-plist b/w3m-config/pkg-plist new file mode 100644 index 0000000..dc3b15a --- /dev/null +++ b/w3m-config/pkg-plist @@ -0,0 +1,2 @@ +etc/w3m/w3mconfig +@dirrmtry etc/w3m diff --git a/wdm/Makefile b/wdm/Makefile new file mode 100644 index 0000000..32d4c52 --- /dev/null +++ b/wdm/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: local/wdm +# Date created: Apr 19 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= x11/wdm with 217 patches + +CONFLICTS= wdm-[0-9]* + +MASTERDIR= ${.CURDIR}/../../x11/wdm + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +.include "${MASTERDIR}/Makefile" diff --git a/wdm/files/patch-src-wdmLogin-Login.c b/wdm/files/patch-src-wdmLogin-Login.c new file mode 100644 index 0000000..5c8e6fc --- /dev/null +++ b/wdm/files/patch-src-wdmLogin-Login.c @@ -0,0 +1,216 @@ +Disable all buttons except login. + +--- src/wdmLogin/Login.c.orig Sat Feb 28 19:18:06 2004 ++++ src/wdmLogin/Login.c Tue Sep 14 22:39:55 2004 +@@ -56,7 +56,9 @@ + #define FOREVER 1 + + WMRect screen; ++#if 0 + static int help_heigth = 140; ++#endif + static int text_width = 150, text_heigth = 26; + + static char displayArgDefault[] = ""; +@@ -87,12 +89,16 @@ + int msgFlag; + WMFrame *wmF; + WMPopUpButton *wmBtn; ++#if 0 + WMFrame *exitF; + WMPopUpButton *exitBtn; ++#endif + WMFrame *cmdF; ++#if 0 + WMButton *helpBtn; + WMButton *startoverBtn; + WMButton *goBtn; ++#endif + WMFrame *helpF; + WMScrollView *helpSV; + WMFrame *helpTextF; +@@ -383,6 +389,7 @@ + XSynchronize(WMScreenDisplay(panel->scr), True); + ClearMsgs(panel); + WMSetFrameRelief(panel->msgF, WRGroove); ++ WMSetFrameTitlePosition(panel->msgF, WTPAtTop); + WMSetFrameTitle(panel->msgF, _("ERROR")); + WMSetLabelText(panel->msgL, msg); + panel->msgFlag = True; +@@ -515,6 +522,7 @@ + /* Actions */ + + ++#if 0 + static void + goPressed(WMWidget * self, LoginPanel * panel) + { +@@ -539,14 +547,18 @@ + PrintInfoMsg(panel, _("exiting")); + OutputAuth(LoginName, LoginPswd); + } ++#endif + ++#if 0 + static void + startoverPressed(WMWidget * self, LoginPanel * panel) + { + ClearMsgs(panel); + InitializeLoginInput(panel); + } ++#endif + ++#if 0 + static void + helpPressed(WMWidget * self, LoginPanel * panel) + { +@@ -566,6 +578,7 @@ + WMWidgetHeight(panel->win) - help_heigth); + } + } ++#endif + + static void + changeWm(WMWidget * self, LoginPanel * panel) +@@ -574,6 +587,7 @@ + WMSetFocusToWidget(panel->entryText); + } + ++#if 0 + static void + changeOption(WMPopUpButton * self, LoginPanel * panel) + { +@@ -583,6 +597,7 @@ + OptionCode = item; + WMSetFocusToWidget(panel->entryText); + } ++#endif + + static void + handleKeyPress(XEvent * event, void *clientData) +@@ -607,6 +622,7 @@ + + /* create and destroy our panel */ + ++#if 0 + static void + CreateLogo(LoginPanel * panel) + { +@@ -716,6 +732,7 @@ + WMReleasePixmap(pixmap); + + } ++#endif + + static void + CreateAuthFrame(LoginPanel * panel) +@@ -796,13 +813,13 @@ + + panel->msgF = WMCreateFrame(panel->winF1); + WMSetFrameRelief(panel->msgF, WRFlat); +- WMSetFrameTitlePosition(panel->msgF, WTPAtBottom); ++ WMSetFrameTitlePosition(panel->msgF, WTPAtTop); + WMMoveWidget(panel->msgF, (WMWidgetWidth(panel->win) - 290), 136); +- WMResizeWidget(panel->msgF, 275, 40); ++ WMResizeWidget(panel->msgF, 150, 45); + WMSetFrameTitle(panel->msgF, ""); + + panel->msgL = WMCreateLabel(panel->msgF); +- WMResizeWidget(panel->msgL, 260, 26); ++ WMResizeWidget(panel->msgL, 120, 26); + WMMoveWidget(panel->msgL, 5, 2); + font = WMBoldSystemFontOfSize(panel->scr, 14); + if(font) +@@ -824,7 +841,7 @@ + WMSetFrameRelief(panel->wmF, WRGroove); + WMSetFrameTitlePosition(panel->wmF, WTPAtTop); + WMSetFrameTitle(panel->wmF, _("Start WM")); +- WMMoveWidget(panel->wmF, 13, 178); ++ WMMoveWidget(panel->wmF, (WMWidgetWidth(panel->win) - 133), 136); + WMResizeWidget(panel->wmF, 118, 45); + + panel->wmBtn = WMCreatePopUpButton(panel->wmF); +@@ -838,6 +855,7 @@ + i++; + } + ++#if 0 + panel->exitF = WMCreateFrame(panel->winF1); + WMSetFrameRelief(panel->exitF, WRGroove); + WMSetFrameTitlePosition(panel->exitF, WTPAtTop); +@@ -856,8 +874,10 @@ + WMAddPopUpButtonItem(panel->exitBtn, _(ExitStr[i])); + i++; + } ++#endif + } + ++#if 0 + static void + CreateButtons(LoginPanel * panel) + { +@@ -891,7 +911,9 @@ + WMSetButtonText(panel->goBtn, _("Go!")); + WMResizeWidget(panel->goBtn, 80, 25); + } ++#endif + ++#if 0 + static void + CreateHelpFrames(LoginPanel * panel) + { +@@ -933,6 +955,7 @@ + + wfree(HelpText); + } ++#endif + + static LoginPanel * + CreateLoginPanel(WMScreen *scr, WDMLoginConfig *cfg) +@@ -958,24 +981,33 @@ + + CreateAuthFrame(panel); + ++#if 0 + CreateLogo(panel); ++#endif + + CreatePopups(panel); + ++#if 0 + CreateButtons(panel); ++#endif + + CreateMsgsFrames(panel); + ++#if 0 + CreateHelpFrames(panel); ++#endif + + WMRealizeWidget(panel->win); + WMMapSubwidgets(panel->win); + + WMMapSubwidgets(panel->winF1); ++#if 0 + WMMapSubwidgets(panel->logoF1); + WMMapSubwidgets(panel->logoF2); ++#endif + WMMapSubwidgets(panel->authF); + WMMapSubwidgets(panel->wmF); ++#if 0 + WMMapSubwidgets(panel->exitF); + WMMapSubwidgets(panel->cmdF); + WMMapSubwidgets(panel->msgF); +@@ -985,9 +1017,12 @@ + WMMapSubwidgets(panel->helpTextF); + WMSetScrollViewContentView(panel->helpSV, + WMWidgetView(panel->helpTextF)); ++#endif + + WMSetPopUpButtonSelectedItem(panel->wmBtn, 0); ++#if 0 + WMSetPopUpButtonSelectedItem(panel->exitBtn, 0); ++#endif + + panel->msgFlag = False; + diff --git a/wdm/files/patch-src-wdmLogin-config.c b/wdm/files/patch-src-wdmLogin-config.c new file mode 100644 index 0000000..4c4f96a --- /dev/null +++ b/wdm/files/patch-src-wdmLogin-config.c @@ -0,0 +1,12 @@ +Adjust size. +--- src/wdmLogin/config.c.orig Sat Feb 28 19:18:06 2004 ++++ src/wdmLogin/config.c Tue Sep 14 22:20:58 2004 +@@ -27,7 +27,7 @@ + + static Bool WDMCheckPLGeometry(WMPropList *pl, void *def, void *target); + +-static WMRect default_geometry = {{INT_MIN, INT_MIN}, {530, 240}}; ++static WMRect default_geometry = {{INT_MIN, INT_MIN}, {305, 200}}; + + static WDMDictionaryStruct wdmLogin_config_struct[] = + { diff --git a/wdm/pkg-descr b/wdm/pkg-descr new file mode 100644 index 0000000..6e41f2b --- /dev/null +++ b/wdm/pkg-descr @@ -0,0 +1,4 @@ +Changes: + + - Make login window simpler. + diff --git a/windowmaker/Makefile b/windowmaker/Makefile new file mode 100644 index 0000000..27b678f --- /dev/null +++ b/windowmaker/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: local/windowmaker +# Date created: Apr 24 2006 +# Whom: Rong-En Fan <rafan@infor.org> +# +# $FreeBSD$ +# + +CATEGORIES= local + +MAINTAINER= rafan@infor.org +COMMENT= x11-wm/windowmaker with 217 patches + +CONFLICTS= windowmaker-* + +MASTERDIR= ${.CURDIR}/../../x11-wm/windowmaker + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* + +.include "${MASTERDIR}/Makefile" diff --git a/windowmaker/files/patch-WindowMaker-Defaults-WMGLOBAL b/windowmaker/files/patch-WindowMaker-Defaults-WMGLOBAL new file mode 100644 index 0000000..fc7dd8d --- /dev/null +++ b/windowmaker/files/patch-WindowMaker-Defaults-WMGLOBAL @@ -0,0 +1,16 @@ +o use fireflyttf as default +o enlarge font a bit + +--- WindowMaker/Defaults/WMGLOBAL.orig Mon Apr 24 08:39:16 2006 ++++ WindowMaker/Defaults/WMGLOBAL Mon Apr 24 08:40:28 2006 +@@ -1,7 +1,7 @@ + { +- SystemFont = "Trebuchet MS,Luxi Sans"; +- BoldSystemFont = "Trebuchet MS,Luxi Sans:bold"; +- DefaultFontSize = 11; ++ SystemFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=14"; ++ BoldSystemFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=14"; ++ DefaultFontSize = 14; + AntialiasedText = Yes; + FloppyPath = "/floppy"; + DoubleClickTime = 250; diff --git a/windowmaker/files/patch-WindowMaker-Defaults-WMState.in b/windowmaker/files/patch-WindowMaker-Defaults-WMState.in new file mode 100644 index 0000000..bb2965b --- /dev/null +++ b/windowmaker/files/patch-WindowMaker-Defaults-WMState.in @@ -0,0 +1,34 @@ +o tweak docks, use rxvt and firefox + +--- WindowMaker/Defaults/WMState.in.orig Wed Oct 20 11:25:07 1999 ++++ WindowMaker/Defaults/WMState.in Mon Apr 24 09:28:23 2006 +@@ -10,18 +10,26 @@ + DropCommand = "wmsetbg -u -t %d"; + }, + { +- Command = xterm; +- Name = xterm.XTerm; ++ Command = rxvt; ++ Name = rxvt.XTerm; + AutoLaunch = No; + Forced = No; + Position = "0,1"; + }, + { ++ Command = "/usr/X11R6/bin/firefox"; ++ PasteCommand = "/usr/X11R6/bin/firefox %s"; ++ Name = "firefox-bin.Firefox-bin"; ++ AutoLaunch = No; ++ Forced = No; ++ Position = "0,2"; ++ }, ++ { + Command = "#wprefs#"; + Name = groupLeader.WPrefs; + AutoLaunch = No; + Forced = No; +- Position = "0,2"; ++ Position = "0,3"; + Lock = Yes; + } + ); diff --git a/windowmaker/files/patch-WindowMaker-Defaults-WindowMaker.in b/windowmaker/files/patch-WindowMaker-Defaults-WindowMaker.in new file mode 100644 index 0000000..8912a3e --- /dev/null +++ b/windowmaker/files/patch-WindowMaker-Defaults-WindowMaker.in @@ -0,0 +1,42 @@ +o firefly ttf as default +o alt+f4 -> close window +o raise window when alt-tab + +--- WindowMaker/Defaults/WindowMaker.in.orig Mon Apr 24 09:14:53 2006 ++++ WindowMaker/Defaults/WindowMaker.in Mon Apr 24 09:15:34 2006 +@@ -69,7 +69,7 @@ + AlignSubmenus = NO; + NoWindowOverIcons = NO; + IgnoreFocusClick = NO; +- CloseKey = None; ++ CloseKey = "Mod1+F4"; + MaximizeKey = None; + VMaximizeKey = None; + RaiseLowerKey = None; +@@ -104,13 +104,13 @@ + ConstrainWindowSize = NO; + ClipRaiseLowerKey = None; + TitleJustify = center; +- WindowTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=12"; +- MenuTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=12"; +- MenuTextFont = "Trebuchet MS,Luxi Sans:pixelsize=12"; +- IconTitleFont = "Arial,Luxi Sans:pixelsize=9"; +- ClipTitleFont = "Verdana:bold:pixelsize=10"; +- DisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=12"; +- LargeDisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=24"; ++ WindowTitleFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=14"; ++ MenuTitleFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=14"; ++ MenuTextFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=14"; ++ IconTitleFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=12"; ++ ClipTitleFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=12"; ++ DisplayFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=14"; ++ LargeDisplayFont = "\346\226\207\351\274\216\357\274\260\357\274\254\346\226\260\345\256\213:slant=0:weight=80:width=100:pixelsize=24"; + HighlightColor = white; + HighlightTextColor = black; + ClipTitleColor = black; +@@ -130,4 +130,5 @@ + MenuTitleBack = (solid, black); + MenuTextBack = (solid, "rgb:aa/aa/aa"); + IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61"); ++ CirculateRaise = YES; + } diff --git a/windowmaker/files/patch-WindowMaker-plmenu b/windowmaker/files/patch-WindowMaker-plmenu new file mode 100644 index 0000000..2760c9b --- /dev/null +++ b/windowmaker/files/patch-WindowMaker-plmenu @@ -0,0 +1,11 @@ +o add rxvt to menu +--- WindowMaker/plmenu.orig Mon Apr 24 09:30:14 2006 ++++ WindowMaker/plmenu Mon Apr 24 09:29:59 2006 +@@ -8,6 +8,7 @@ + ("Manual Browser", EXEC, "xman")
+ ),
+ ("Run...", SHEXEC, "%a(Run,Type command to run:)"),
++ ("Rxvt", EXEC, "rxvt"),
+ ("XTerm", EXEC, "xterm -sb"),
+ ("Mozilla Firefox", EXEC, "firefox"),
+ ("Workspaces", WORKSPACE_MENU),
diff --git a/windowmaker/files/patch-WindowMaker-plmenu.zh_TW b/windowmaker/files/patch-WindowMaker-plmenu.zh_TW new file mode 100644 index 0000000..dee1fd7 --- /dev/null +++ b/windowmaker/files/patch-WindowMaker-plmenu.zh_TW @@ -0,0 +1,13 @@ +o add rxvt and firefox to menu (zh_TW) +--- WindowMaker/plmenu.zh_TW.orig Mon Apr 24 09:16:03 2006 ++++ WindowMaker/plmenu.zh_TW Mon Apr 24 09:16:25 2006 +@@ -8,7 +8,8 @@ + ("手冊瀏覽器", EXEC, "xman") + ), + ("執行...", SHEXEC,"%a(執行,輸入執行的命令:)"), +- ("終端機", EXEC, "crxvt -ls -T 終端機 -n 終端機"), ++ ("終端機", EXEC, "rxvt"), ++ ("瀏覽器", EXEC, "firefox"), + ("工作區", WORKSPACE_MENU), + ("應用程式", + ("影像處理", diff --git a/windowmaker/pkg-descr b/windowmaker/pkg-descr new file mode 100644 index 0000000..16e99a8 --- /dev/null +++ b/windowmaker/pkg-descr @@ -0,0 +1,6 @@ +Changes: + + - use fireflyttf as default font + - menu/dock tweak: use rxvt and add firefox + - behavior tweak, make it more familar to windows user + |