Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115914539
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
16 KB
Referenced Files
None
Subscribers
None
View Options
Index: head/editors/xemacs-devel-mule/Makefile
===================================================================
--- head/editors/xemacs-devel-mule/Makefile (revision 151871)
+++ head/editors/xemacs-devel-mule/Makefile (revision 151872)
@@ -1,233 +1,230 @@
# New ports collection makefile for: X-Emacs with mule
# Date created: 3 Jan 2002
# Whom: KIRIYAMA Kazuhiko<kiri@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xemacs-devel-mule
PORTVERSION= ${XEMACS_VER:S/-/./}
+PORTREVISION= 1
CATEGORIES+= editors
MASTER_SITES= ${MASTER_SITE_XEMACS}
MASTER_SITE_SUBDIR= xemacs-${XEMACS_REL}
.if defined(CANNA) && defined(FREEWNN)
PKGNAMESUFFIX+= -canna+freewnn
.elif defined(CANNA) && defined(WNN6)
PKGNAMESUFFIX+= -canna+wnn6
.elif defined(FREEWNN)
PKGNAMESUFFIX+= -freewnn
.elif defined(WNN6)
PKGNAMESUFFIX+= -wnn6
.elif defined(CANNA)
PKGNAMESUFFIX+= -canna
.endif
DISTNAME= xemacs-${XEMACS_VER:S/-b/./}
DIST_SUBDIR= xemacs
MAINTAINER= anray@FreeBSD.org
COMMENT?= XEmacs(beta version) text editor with mule(Only the executables)
CONFLICTS= emacs-19.* emacs-21.* \
xemacs-[0-9]* xemacs-devel-[0-9]* \
xemacs-mule-[0-9]*
BUILD_DEPENDS= ${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.mule-base:${PORTSDIR}/editors/xemacs-mule-packages
RUN_DEPENDS= ${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.mule-base:${PORTSDIR}/editors/xemacs-mule-packages
.if defined(PKGNAMEPREFIX)
RUN_DEPENDS+= ${LOCALBASE}/lib/xemacs-${XEMACS_VER}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs-devel-mule
.endif
.if !defined(WITHOUT_X11)
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
compface.1:${PORTSDIR}/mail/faces
USE_GETTEXT= yes
USE_XLIB= yes
USE_XPM= yes
.endif
XEMACS_REL= 21.5
XEMACS_VER= ${XEMACS_REL}-b24
XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
WRKSRC= ${WRKDIR}/xemacs-${XEMACS_VER:S/-b/./}
STRIP=
USE_AUTOTOOLS= autoconf:259
CONFIGURE_TARGET=--build=${XEMACS_ARCH}
CONFIGURE_ARGS= --enable-mule \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \
--with-site-libraries='${SITE_LIBRARIES}' \
--with-site-includes='${SITE_INCLUDES}' \
--enable-sound=native \
--with-site-lisp \
--with-pop \
--with-ldap=no \
--with-infopath=${LOCALBASE}/lib/xemacs/info:${LOCALBASE}/info:${X11BASE}/info:/usr/info:${LOCALBASE}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \
--enable-clash-detection \
--enable-database=berkdb \
${WITH_XIM} \
${WITH_MENUBARS} ${WITH_SCROLLBARS} \
${WITH_DIALOGS} ${WITH_WIDGETS}
MAKE_ARGS= prefix=${PREFIX}
ALL_TARGET= all dist
.if defined(PKGNAMEPREFIX)
INSTALL_TARGET= install-arch-dep
PLIST= ${PKGDIR}/pkg-plist.arch-dep
.if ${PKGNAMEPREFIX} == "ja-"
DESCR= ${PKGDIR}/pkg-descr.ja
.endif
.else
MAN1= ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
gnuserv.1 xemacs.1
.endif
.if !defined(DEBUG)
CONFIGURE_ARGS+=--enable-debug=no --enable-error-checking=no
.endif
.if defined(WITH_XFT)
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+=--with-xft=all
.elif defined(WITH_GTK)
CONFIGURE_ARGS+=--with-gtk
WITH_XIM=
WITH_MENUBARS= --enable-menubars=gtk
WITH_SCROLLBARS=--enable-scrollbars=gtk
WITH_DIALOGS= --enable-dialogs=gtk
WITH_WIDGETS= --enable-widgets=gtk
USE_GNOME+= gtk12
.else
CONFIGURE_ARGS+=--with-xfs
.endif
PKGDIR= ${.CURDIR}/../../editors/xemacs-devel-mule
PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH}
.include <bsd.port.pre.mk>
pre-fetch:
.if defined(WITHOUT_X11)
@${ECHO_MSG} ""
@${ECHO_MSG} "Set the environment variable WITHOUT_X11 if you "
@${ECHO_MSG} "do not want to use X11."
CONFIGURE_ARGS+= --with-x11=no
.else
.if !defined(WITH_GTK)
@${ECHO_MSG} "If you want to use GTK, please set the environment variable WITH_GTK and recompile."
.endif
.if !defined(WITHOUT_MOTIF)
.if !defined(MOTIF_STATIC)
@${ECHO_MSG} ""
@${ECHO_MSG} "If your MOTIF library is actually lesstif, you might occasionally"
@${ECHO_MSG} "experience locked-up frames."
@${ECHO_MSG} "In this case, set the environment variable MOTIF_STATIC and recompile, "
@${ECHO_MSG} "which will force the use of athena widgets for dialogs."
.endif
CONFIGURE_ARGS+=--with-jpeg=yes --with-png=yes --with-tiff=yes --with-xface=yes
USE_MOTIF= yes
# hack to avoid shipping binaries linked with Motif
.if defined(MOTIF_STATIC)
WITH_DIALOGS?= --enable-dialogs=athena
.else
WITH_DIALOGS?= --enable-dialogs=motif
.endif
.if defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+=--with-offix=no
.endif
WITH_MENUBARS?= --enable-menubars=lucid
WITH_SCROLLBARS?=--enable-scrollbars=motif
WITH_WIDGETS?= --enable-widgets=motif
.endif
WITH_XIM?= --with-xim=xlib
WITH_MENUBARS?= --enable-menubars=athena
WITH_SCROLLBARS?=--enable-scrollbars=athena
WITH_DIALOGS?= --enable-dialogs=athena
WITH_WIDGETS?= --enable-widgets=athena
.if defined(WITH_XAW3D)
LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
CONFIGURE_ARGS+=--with-athena=3d
.else
CONFIGURE_ARGS+=--with-athena=xaw
.endif
.endif
.if exists(${LOCALBASE}/include/libpq-fe.h)
WITH_PGSQL= yes
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
PLIST_SUB+= WITH_PGSQL=""
.else
PLIST_SUB+= WITH_PGSQL="@comment "
-.endif
-
-.if defined(WITH_WINDOWS1251)
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cyrillic.el
.endif
BINNAMEEXT= -mule
.if defined(CANNA) && defined(FREEWNN)
CONFIGURE_ARGS+= --with-canna --with-wnn --with-wnn6=no
LIB_DEPENDS+= canna.1:${PORTSDIR}/japanese/Canna \
wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
.elif defined(CANNA) && defined(WNN6)
SITE_INCLUDES= ${LOCALBASE}/include/wnn6
CONFIGURE_ARGS+= --with-canna --with-wnn6
LIB_DEPENDS+= canna.1:${PORTSDIR}/japanese/Canna \
wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
.elif defined(FREEWNN)
CONFIGURE_ARGS+= --with-wnn --with-canna=no --with-wnn6=no
LIB_DEPENDS+= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
.elif defined(WNN6)
SITE_INCLUDES= ${LOCALBASE}/include/wnn6
CONFIGURE_ARGS+= --with-wnn6 --with-canna=no
LIB_DEPENDS+= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
.elif defined(CANNA)
CONFIGURE_ARGS+= --with-canna --with-wnn=no --with-wnn6=no
LIB_DEPENDS+= canna.1:${PORTSDIR}/japanese/Canna
.else
CONFIGURE_ARGS+= --with-canna=no --with-wnn=no --with-wnn6=no
.endif
SITE_INCLUDES+= ${LOCALBASE}/include
SITE_LIBRARIES+= ${LOCALBASE}/lib
# fix .so references in a few man pages
pre-configure:
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
.endfor
pre-build:
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} -f \{} \;
@${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
post-install:
.if !defined(DEBUG)
.for f in b2m ctags ellcc etags gnuclient xemacs-${XEMACS_VER}
${STRIP_CMD} ${PREFIX}/bin/${f}
.endfor
.endif
# For some reason install no longer makes ${PREFIX}/lib/xemacs/site-lisp.
# Do what PLIST does for pkg_add.
${MKDIR} ${PREFIX}/lib/xemacs/site-lisp
${CHMOD} 755 ${PREFIX}/lib/xemacs/site-lisp
${FIND} ${PREFIX}/lib/xemacs-${XEMACS_VER} -name \*~ \
-exec ${RM} -f \{} \;
${RM} -f ${PREFIX}/bin/send-pr
.if defined(PKGNAMEPREFIX)
.if ${PKGNAMEPREFIX} == "ja-"
@${LN} -sf ja ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults/ja_JP.eucJP
.endif
.endif
.include <bsd.port.post.mk>
Property changes on: head/editors/xemacs-devel-mule/Makefile
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.44
\ No newline at end of property
+1.45
\ No newline at end of property
Index: head/editors/xemacs-devel-mule/files/extra-patch-cyrillic.el
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: head/editors/xemacs-devel-mule/files/extra-patch-cyrillic.el
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: fbsd:nokeywords
## -1 +0,0 ##
-yes
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: head/editors/xemacs-devel-mule/files/patch-cyrillic.el
===================================================================
--- head/editors/xemacs-devel-mule/files/patch-cyrillic.el (nonexistent)
+++ head/editors/xemacs-devel-mule/files/patch-cyrillic.el (revision 151872)
@@ -0,0 +1,117 @@
+--- lisp/mule/cyrillic.el 2004-03-10 15:05:21.000000000 +0300
++++ lisp/mule/cyrillic.el 2004-03-11 19:19:17.000000000 +0300
+@@ -30,6 +30,9 @@
+ ;; converted to ISO8859-5 internally.
+
+ ;; Windows-1251 support deleted because XEmacs has automatic support.
++;; WINDOWS-1251 was deleted by Ben Wing. Put back by Nickolay Pakoulin,
++;; <npak@ispras.ru>, see comment below.
++
+
+ ;;; Code:
+
+@@ -188,6 +191,104 @@
+
+ ;;; WINDOWS-1251 deleted; we support it automatically in XEmacs
+
++;;; WINDOWS-1251 was deleted by Ben Wing. Put back by Nickolay Pakoulin,
++;;; <npak@ispras.ru>, see comment below.
++
++;;; WINDOWS-1251
++;; On Windows platforms `windows-1251' coding system is defined in
++;; mule-win32-init.el using support for codepages provided by Microsoft
++;; libraries. But on Unixes we have no built-in support for windows-1251, so
++;; we have define it here using ccl.
++
++;; '#-FEXP' is a special syntax for lisp reader. Means 'ignore the next sexp
++;; when the FEXP is true'. Here reader ignores code for windows-1251 when
++;; (featurep '(or windows-nt cygwin32)) is true.
++
++#-(or windows-nt cygwin32)
++(eval-and-compile
++
++(defvar cyrillic-windows-1251-decode-table
++ [
++ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
++ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
++ 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
++ 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
++ 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
++ 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
++ 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
++ 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
++ ?,L"(B ?,L#(B 32 ?,Ls(B 32 32 32 32 32 32 ?,L)(B 32 ?,L*(B ?,L,(B ?,L+(B ?,L/(B ;"
++ ?,Lr(B 32 32 32 32 32 32 32 32 32 ?,Ly(B 32 ?,Lz(B ?,L|(B ?,L{(B ?,L(B
++ ?,L (B ?,L.(B ?,L~(B ?,L((B ?,A$(B 32 ?,A&(B ?,L}(B ?,L!(B ?,A)(B ?,L$(B ?,A+(B ?,A,(B ?,L-(B ?,A.(B ?,L'(B
++ ?,A0(B ?,A1(B ?,L&(B ?,Lv(B 32 ?,A5(B ?,A6(B ?,A7(B ?,Lq(B ?,Lp(B ?,Lt(B ?,A;(B ?,Lx(B ?,L%(B ?,Lu(B ?,Lw(B
++ ?,L0(B ?,L1(B ?,L2(B ?,L3(B ?,L4(B ?,L5(B ?,L6(B ?,L7(B ?,L8(B ?,L9(B ?,L:(B ?,L;(B ?,L<(B ?,L=(B ?,L>(B ?,L?(B
++ ?,L@(B ?,LA(B ?,LB(B ?,LC(B ?,LD(B ?,LE(B ?,LF(B ?,LG(B ?,LH(B ?,LI(B ?,LJ(B ?,LK(B ?,LL(B ?,LM(B ?,LN(B ?,LO(B
++ ?,LP(B ?,LQ(B ?,LR(B ?,LS(B ?,LT(B ?,LU(B ?,LV(B ?,LW(B ?,LX(B ?,LY(B ?,LZ(B ?,L[(B ?,L\(B ?,L](B ?,L^(B ?,L_(B
++ ?,L`(B ?,La(B ?,Lb(B ?,Lc(B ?,Ld(B ?,Le(B ?,Lf(B ?,Lg(B ?,Lh(B ?,Li(B ?,Lj(B ?,Lk(B ?,Ll(B ?,Lm(B ?,Ln(B ?,Lo(B ]
++ "Cyrillic Windows-1251 decoding table.")
++
++(defvar cyrillic-windows-1251-encode-table
++ (let ((table (make-vector 256 32))
++ (i 0))
++ (while (< i 256)
++ (let* ((ch (aref cyrillic-windows-1251-decode-table i))
++ (split (split-char ch)))
++ (cond ((eq (car split) 'cyrillic-iso8859-5)
++ (aset table (logior (nth 1 split) 128) i)
++ )
++ ((eq ch 32))
++ ((eq (car split) 'ascii)
++ (aset table ch i)
++ )))
++ (setq i (1+ i)))
++ table)
++ "Cyrillic Windows-1251 encoding table.")
++
++)
++
++#-(or windows-nt cygwin32)
++(define-ccl-program ccl-decode-windows1251
++ `(3
++ ((read r0)
++ (loop
++ (write-read-repeat r0 ,cyrillic-windows-1251-decode-table))))
++ "CCL program to decode Windows-1251.")
++
++#-(or windows-nt cygwin32)
++(define-ccl-program ccl-encode-windows1251
++ `(1
++ ((read r0)
++ (loop
++ (if (r0 != ,(charset-id 'cyrillic-iso8859-5))
++ (write-read-repeat r0)
++ ((read r0)
++ (write-read-repeat r0 , cyrillic-windows-1251-encode-table))))))
++ "CCL program to encode Windows-1251.")
++
++#-(or windows-nt cygwin32)
++(make-coding-system
++ 'windows-1251 'ccl
++ "Coding-system used for Windows-1251."
++ '(decode ccl-decode-windows1251
++ encode ccl-encode-windows1251
++ mnemonic "CyrW"))
++
++;; `iso-8-1' is not correct, but XEmacs doesn't have a `ccl' category
++#-(or windows-nt cygwin32)
++(coding-system-put 'windows-1251 'category 'iso-8-1)
++
++#-(or windows-nt cygwin32)
++(set-language-info-alist
++ "Cyrillic-Win" '((charset cyrillic-iso8859-5)
++ (coding-system windows-1251)
++ (coding-priority windows-1251)
++ (input-method . "cyrillic-yawerty")
++ (features cyril-util)
++ (tutorial . "TUTORIAL.ru")
++ (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!")
++ (documentation . "Support for Cyrillic Windows-1251."))
++ '("Cyrillic"))
++
+ ;;; ALTERNATIVNYJ
+
+ (eval-and-compile
Property changes on: head/editors/xemacs-devel-mule/files/patch-cyrillic.el
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Index: head/editors/xemacs-devel-mule/files/patch-objects-x.c
===================================================================
--- head/editors/xemacs-devel-mule/files/patch-objects-x.c (nonexistent)
+++ head/editors/xemacs-devel-mule/files/patch-objects-x.c (revision 151872)
@@ -0,0 +1,17 @@
+Index: objects-x.c
+===================================================================
+RCS file: /pack/xemacscvs/XEmacs/xemacs/src/objects-x.c,v
+retrieving revision 1.30
+retrieving revision 1.31
+diff -u -r1.30 -r1.31
+--- src/objects-x.c 2005/11/26 18:25:03 1.30
++++ src/objects-x.c 2005/12/20 22:01:52 1.31
+@@ -1175,7 +1175,7 @@
+ Extbyte **names;
+ int count = 0;
+ const Extbyte *patternext;
+- Lisp_Object result = Qunbound;
++ Lisp_Object result = Qnil;
+ int i;
+
+ /* #### with Xft need to handle second stage here -- sjt
Property changes on: head/editors/xemacs-devel-mule/files/patch-objects-x.c
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Index: head/editors/xemacs-devel-mule/files/patch-syntax.c
===================================================================
--- head/editors/xemacs-devel-mule/files/patch-syntax.c (nonexistent)
+++ head/editors/xemacs-devel-mule/files/patch-syntax.c (revision 151872)
@@ -0,0 +1,37 @@
+Index: syntax.c
+===================================================================
+RCS file: /pack/xemacscvs/XEmacs/xemacs/src/syntax.c,v
+retrieving revision 1.25
+retrieving revision 1.26
+diff -u -r1.25 -r1.26
+--- src/syntax.c 2005/11/25 01:42:06 1.25
++++ src/syntax.c 2005/12/18 22:55:52 1.26
+@@ -613,7 +613,7 @@
+ {
+ *multi_p_out = 1;
+ /* !!#### get this right */
+- return Spunct;
++ return Sword;
+ }
+
+ #endif
+@@ -2296,8 +2296,8 @@
+ if (!EQ (table, Vstandard_syntax_table) && !NILP (Vstandard_syntax_table))
+ map_char_table (Vstandard_syntax_table, &range,
+ copy_if_not_already_present, LISP_TO_VOID (mirrortab));
+- /* The resetting made the default be Qnil. Put it back to Spunct. */
+- set_char_table_default (mirrortab, make_int (Spunct));
++ /* The resetting made the default be Qnil. Put it back to Sword. */
++ set_char_table_default (mirrortab, make_int (Sword));
+ XCHAR_TABLE (mirrortab)->dirty = 0;
+ }
+
+@@ -2419,7 +2419,7 @@
+ Smax);
+ staticpro (&Vsyntax_designator_chars_string);
+
+- set_char_table_default (Vstandard_syntax_table, make_int (Spunct));
++ set_char_table_default (Vstandard_syntax_table, make_int (Sword));
+
+ for (i = 0; i <= 32; i++) /* Control 0 plus SPACE */
+ Fput_char_table (make_char (i), make_int (Swhitespace),
Property changes on: head/editors/xemacs-devel-mule/files/patch-syntax.c
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
File Metadata
Details
Attached
Mime Type
application/octet-stream
Expires
Fri, May 2, 8:43 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17877865
Default Alt Text
(16 KB)
Attached To
Mode
rP FreeBSD ports repository
Attached
Detach File
Event Timeline
Log In to Comment