Commit graph

76 commits

Author SHA1 Message Date
drochner
c0661246f6 update to 248
changes: minor bugfixes
2009-09-15 11:37:02 +00:00
obache
f9f91e3b23 Update xterm to Patch#246.
Patch #246 - 2009/8/16

    * remove obsolete logic for saving/restoring wrapping flags, which did not
      work on 64-bit platform. Wrapping flags (stored in the line-index) are now
      copied with line-data (Debian #541160).
    * modify comments in app-defaults files to avoid problem with C preprocessor
      used by xrdb (Debian #541603).
    * restore special case in makeColorPair, needed for colorBDMode resource
      (Debian #541089).
    * correct SetLineFlags() macro, broken in patch #244 when recoding to avoid
      gcc-specific bitfields (Debian #541236).
    * modify initialization of screen buffers to ensure that pointers align to
      int-boundaries. This fixes a problem introduced in patch #244 where the
      color- and character-arrays (stored after the video-attributes in each
      row) might be misaligned (report by Rajeev V Pillai).
    * add limit-check in ScrnRefresh for handling saved-lines from the circular
      buffer which are repainted on a screen whose width has increased. To
      improve performance, circular buffer entries are not resized (report by
      Rajeev V Pillai).
    * correct type for CellColor (a late change in patch #244 to avoid gcc-
      specifc enums made that unsigned rather than unsigned short, for the
      256-color option).
    * fix typo in configure option --enable-16bit-chars (report by Rajeev V.
      Pillai).

Patch #245 - 2009/8/12

    * correct a special case in saving FIFO-lines from patch #244. If the screen
      was shrunk, xterm used the wrong amount for copying to FIFO-lines, and
      then used this amount to adjust the current row on the screen. That was
      both a visible defect (Debian #541109) as well as a potential addressing
      error (Debian #541132, #541160, and #541236).
    * add clarification in xterm manual about the various allowXXXOps resources,
      which are disabled when the allowSendEvents resource is active (patch by
      Julien Cristau, Debian #531597).

Patch #244 - 2009/8/9

    * refactored storage of saved-lines, providing a configure option to manage
      them as a FIFO (actually a circular buffer), improving performance. Added
      configure option --enable-fifo-lines to enable/disable the new feature (it
      is enabled by default).
    * added fastScroll resource, to amuse people who measure terminal emulator
      performance by cat'ing large files to the screen.
    * modify check in readPtyData from return values to provide exit on zero-
      bytes read from pty for FreeBSD, or eliminate high-CPU in "xterm-hold"
      processing (discussion with Ulrich Spoerlein, FreeBSD ports/136686). The
      check was originally modified to combine negative/zero values in
      XFree86-3.1.2E, 1996/05/06.
    * add configure option --enable-16bit-chars to provide wide-characters with
      16-bits (rather than the default 32-bits).
    * add retryInputMethod resource to allow configuring out the retries xterm
      uses to connect to non-responsive XIM server, to work around defective X
      configurations as noted in NetBSD mailing list.
      http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html
    * make regular-expression selection work for VT100 double-sized characters.
    * improve layout when drawing missing characters in a proportional font,
      e.g., as boxes, to take into account whether they are double-width
      (report by Guilbert Stabilo on comp.unix.shell).
    * add capability for keypad-center (kb2/KA2) to termcap entry for xterm-new,
      as well as xterm-8bit, xterm-sun and xterm-vt220 (FreeBSD conf/136336).
    * change default for keepSelection resource to true (prompted by discussion
      with David Muir Sharnoff).
    * remove a limit-check in ptydata.c, allowing Unicode values past 64k to be
      displayed using TrueType fonts (Debian #458432).
    * remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4 when vt52
      support is not compiled (report by Olaf 'Rhialto' Seibert).
    * save/restore line-wrapping flags when converting from ISO-8859-1 encoding
      to UTF-8 encoding, as well as when resizing screen.
    * remove extra adjustment of position in fix for Debian #418324.
    * modify default check for mkWidth resource to check for line-drawing
      characters, which are categorized as double-width in Solaris 10 (report by
      Sebastian Kayser).
    * add "print-everything" action (patch by Ovidiu Gheorghioiu).
    * start refactoring scrollback data using new getLineData() function.
    * demote recent change to Debian #252873 fix to experimental, ifdef'd out as
      EXP_BOGUS_FG (Debian #522141).
    * work around groff mapping of ASCII quotes using macros (requested by
      Reuben Thomas based on Colin Watson advice, fixes Debian #378700).
    * correct symbol used for default of allowWindowOps which was DEF_ALLOW_FONT
      rather than DEF_ALLOW_WINDOW (report by Matthieu Herrb).
    * amend fix for tek4014 from patch #243 to make it only apply to the Tek
      Options menu.
2009-08-30 05:40:06 +00:00
drochner
2857740dd4 fix an inconsistency: "luit" support was always enabled, but without
it being present at build time it didn't work. Make it an option.
2009-08-05 17:10:37 +00:00
wiz
d70523df21 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:01:16 +00:00
joerg
af60c10a8f Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:06:39 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
tnn
db103a7cc0 Update to xterm-243.
Patch #243 - 2009/3/28
* revert change to default for allowTcapOps (request by Bram Moolenaar).
* reallocate result returned by xtermEnvLocale() to avoid reference to freed
  memory after handling menuLocale resource.
* fix an old (X11R5) bug in tek4014 for switching fontsizes.
* add resource defaultString to make configurable the use of "#" when pastes
  of UTF-8 text fail due to limitations in the current locale settings.
* make the set of selection target Atom's configurable by two new resources
  eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT Atom in
  preference to UTF8_STRING (discussion with Stanislav Sedov regarding
  koi8rxterm and the FreeBSD port).
* modify handling of TARGETS Atom by making it return exactly the set of
  targets as those which xterm is currently providing.
* set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work around
  /etc/man.conf's with those variables already set
* improve error-checking of tcap-query parser.
* add check for keyboard tcap), which ensures that terminal descriptions
  containing the same string for shifted/unshifted keys will be seen by
  tcap-query as only the unshifted key. (This would only happen with an
  incorrect terminal description).
* fix conversion for input event-state to modifier-parameter which made
  tcap-query feature not work with tcapFunctionKeys (keyboard type tcap).
* add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the
  default compiled-in values for "allowxxx" resources.
* remove check on bell-percentage added in patch #242, which disallowed
  zero/negative values (Redhat Bugzilla #487829).

Patch #242 - 2009/2/15
* fix configure check for XkbBell and provide appropriate parameter for it.
* fix a caching problem with double-size fonts versus reverse video that could
  cause core dump.
* repair double-size fonts from workaround used in patch #240.
* add new section to the VT Fonts menu which allows enabling or disabling the
  font, termcap (tcap-query), title and window operations.
* add fontWarnings resource, to control whether to show warnings on failure to
  load a font.
* improve warnings for unloadable fonts introduced in patch #240 by limiting
  those to the cases where a font would be specified directly by a resource
  setting rather than a derived fontname.
* further amend fix for Debian #252873 from patch #197 to treat a blank cell
  which does not have both foreground and background colored as a non-colored
  cell. This improves a special case where the cursor is on a blank cell which
  had foreground color scrolled in (report by Miroslav Lichvar).
  Also add the same logic when hiding cursor, so the outline matches the
  in-focus cursor.
* modify internals to reduce places PAIRED_CHARS() is used, making WriteText()
  and ScrnWriteText() accept IChar array, as well as providing a wrapper for
  drawXtermText().
* change default XIM font from "*" to "fixed" to improve startup time in
  zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930).
* typo in #240 log (Slava Semushin)

Patch #241 - 2009/1/26
*  improve checks for missing bitmap fonts, fallback to "fixed" as needed to
  work around broken font-packages (report by Jacek Luczak).
* fix breakage from patch #240 changes for xtermAddInput() (patches by
  Jeff Chua, Julien Cristau).

Patch #240 - 2009/1/25
* use plink.sh for linking xterm (suggested by Larry Doolittle).
* add resource descriptions for input method to xterm manpage.
* update configure script; consistently append to $CFLAGS rather than prepend.
* add install-scripts rule to makefile, to allow koi8rxterm and uxterm scripts
  to be altered independently of install-bin
* add -maximized command-line option and corresponding resource (prompted by
  alt.os.linux newsgroup comment).
* modify translations of scrollbar widget using xtermAddInput() (see
  patch #181) to accept the actions that the vt100 widget accepts, such as
  shift-insert to perform a paste operation (request by Martin Zwickel).
* change default for allowTcapsOpS resource to false, since it causes
  unexpected behavior for vim users with AltGr.
* update config.guess, config.sub
2009-05-22 19:52:02 +00:00
tnn
d62c51dd71 Update to xterm-239.
Fixes broken translation of numpad codes on 64-bit platforms.
2009-01-14 20:57:02 +00:00
tnn
e1e0bb5f18 update to xterm-238. Closes PR pkg/40334 and fixes CVE-2008-2383.
Patch #238 - 2008/12/30
* update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint platforms.
* reset the screen wrapping-flag at the end of ClearRight to fix an occasional
  case where the last character of a scrolled and wrapped line would be cleared
  (patch by Joe Peterson).
* modify to use POSIX coding for comparing resource settings such as locale,
  to work with locales such as Turkish (report by M Vefa Bicakci).
* turn on configure paste64 feature by default (request by
  Jean-Philippe Bernardy). It is runtime enabled/disabled with allowWindowOps.
* turn on configure tcap-query feature by default, add resource allowTcapOps
  to make this runtime enabled/disabled.
* make OSC 3 (change X property, from patch #110) subject to allowWindowOps
  resource.
* make VT220 DSR responses inactive in VT100-mode.
* make DECUDK feature inactive in VT100-mode.
* respond to incorrectly formatted DECRQSS with a cancel.
* add allowFontOps resource to allow the fontsize-switching and font query/set
  control sequences to be enabled/disabled (prompted by Debian #510030).
* some code cleanup based on gcc 4.x -Wconversion warnings in button.c and
  charproc.c
* modify tcap-query feature to not return data for shifted cursor-keys when
  the keyboard type is set to vt220, since returning the same string for
  shifted/unshifted keys may confuse some applications (GenToo #212546).
2009-01-06 18:20:25 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
bjs
0c90fd576a Add USE_TOOLS+= tbl (appeases pkglint). 2008-09-16 22:20:01 +00:00
bjs
3a13748fb6 Update to xterm-237. This release contains a number of significant
bug fixes, including the problems with resizing the terminal
with certain applications (second item listed here).

                       Patch #237 - 2008/09/14

* improve usability of TrueType fonts by making the font-size switching
  for shifted keypad plus/minus use the faceSize resources to determine
  the order of fonts (when TrueType fonts are used) rather than the
  bitmap fonts, since their sizes may not be in the same order (report
  by H Merijn Brand)

* remove an optimization of ConfigureNotify events from patch #236 which
  seems to interfere with passing SIGWINCH to applications (GenToo
  #233836).

* modify handling of altSendsEscape to reset the eightBitInput mode,
  like metaSendsEscape (patch by Ted Phelps).

* add feature to show the text-cursor as an underline rather than a box,
  plus command-line options -uc and +uc and resource cursorUnderLine to
  control the feature (patch by Paul Lampert).

* update config.guess, config.sub
2008-09-16 22:18:26 +00:00
abs
7a4f040253 fix missing \ in last DESTDIR commit 2008-09-09 11:11:29 +00:00
abs
42e2c95008 adjust tbl manpage fix to work with DESTDIR - no change to built package (if it built) 2008-09-08 22:29:22 +00:00
wiz
986da88a70 Man page needs to be run through tbl(1) -- make it so.
Bump PKGREVISION.
2008-09-06 09:00:32 +00:00
bjs
b506eb8222 Update to xterm-236. Changes:
Patch #236 - 2008/07/27

     * correct memory reallocation when handling a paste of UTF-8 text from
       patch #225 changes (report/patch by Max Mikhanosha).
     * correct allocation of temporary buffer in xtermFindShell in case the
       user's $PATH contains no ":" (report/analysis by Victor Stinner,
       Freedesktop.Org Bugzilla #16790).
     * modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix new
       compile problem exposed by fix for fd_mask (patch by Hasso Tepper).
     * add configure-check for ncurses use_extended_names, (report by
       Martin Mokrejs).
     * correct computation for toolbar height; layout manager already takes
       into account borderWidth resource.
     * implement VT320-style SCS (select character set) for ISO Latin-1
       supplemental.
     * fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919).
     * fix to make luit work with xterm's -ls option (report/patch by
       Marius Tolzmann).
     * update config.guess, config.sub
2008-08-01 23:14:47 +00:00
obache
af05abe754 Fix build failure on DragonFly, treat DragonFly same as FreeBSD.
Patch provided by Hasso Tepper in PR 39048.
2008-07-02 13:50:56 +00:00
dsainty
a19de6c0c5 Add an HTTP mirror that has xterm-235 (different to the FreeBSD HTTP mirror, which only has 234). 2008-05-04 07:33:22 +00:00
bjs
ec6c4ba6b4 Update to xterm-235.
Changes within pkgsrc:

    - Remove most options, as I see no reason not just to build them in
      by default (they shouldn't be intrusive).  I also enabled a few
      features that weren't there before (mouse support for readline
      applications, support for the mini/built-in luit, paste64, etc.).

    - Build-in the toolbar by default.  I patched xterm to disable the
      toolBar resource by default.

    - Include xaw.buildlink3.mk instead of libXaw/buildlink3.mk and
      add some code to configure xterm properly according to the
      user's preference.

    - Use @unexec ${RMDIR} ... when attempting to remove
      lib/X11/app-defaults.

    - Install xterm.desktop and uxterm.desktop to share/applications
      (I don't think this needs desktopdb.mk).

    - Added a 'debug' option which builds in support for event tracing.
      Also, if PKG_DEVELOPER=yes, tell configure to --enable-warnings.


                            Patch #235 - 2008/04/20

     * add control sequences for some of the recent resource/menu settings:

          * altSendsEscape (private mode 1039)
          * keepSelection (private mode 1040)
          * selectToClipboard (private mode 1041)
          * bellIsUrgent (private mode 1042)
          * popOnBell (private mode 1043)

     * add resource formatOtherKeys to provide an alternate escape sequence
       format for the modifyOtherKeys resource (request by Paul LeoNerd
       Evans).
     * adjust saved-cursor position if the window is resized while
       displaying the alternate screen (Novell #196880, Debian #383384).
     * improve pointer-checks to fix a bug exposed by resizing during
       initialization under StumpWM window manager (Fedora Bugzilla #437928).
     * modify unselectwindow() to ensure that the mouse pointer is not
       hidden after xterm loses focus (report by Jeremy Huddleston).
     * add special check for fd_mask on Mac OS X (report by Jeremy
       Huddleston).
     * add dylib to autoconf's suffix list used for checking the result
       from xmkmf, to work with Mac OS X (report by Jeremy Huddleston).
     * correct initialization of bold- and wide-, wide-bold fonts which may
       be set via the utf8Fonts subresource (Debian #347790).

                            Patch #234 - 2008/03/02

     * modify sinstall.sh to use POSIX locale to bypass GNU ls changes to
       date-format.
     * improved/refined changes for closing bitmap font (patch by Andrea
       Odetti).
     * improve resize computation for situations where the negotiation
       fails, by invoking the xterm widget's core-class resize method
       (Debian #365602, patch by Jim Paris).
     * restore initialization of terminal's VMIN and VTIME settings, from
       patch #232 changes (patch by Matthieu Herrb).

                            Patch #233 - 2008/02/24

     * add configure check for ttydefaults.h, include if needed, e.g., for
       systems where defining _POSIX_C_SOURCE, etc., prevents it from being
       included via termios.h (prompted by comments by Robert Delius Royar
       and Jeremy Huddleston).
     * patches from Alan Coopersmith. These correspond to bug-ids on
       bugs.opensolaris.org

            4029911
                    fix a typo in manpage

            4045962
                    xterm doesn't properly set ut_syslen

            4192572
                    left-left-right misinterpreted as triple click

     * minor optimization to tab-initialization (patch by Nemeth Marton).
     * fix a case where an incorrect font was freed during initialization
       from patch #232 changes (patch by Andrea Odetti).
     * improve comparison used in SameFont function for GC-caching (Julien
       Cristau).
     * correct macro name used for default CKILL definition to work with
       Mac OS X (report by Jeremy Huddleston).

                            Patch #232 - 2008/01/30

     * corrected logic in a font-cache used for reverse-video (Debian
       #404079).
     * add control sequence to alter pointerMode at runtime.
     * add limit-checks for rectangle operation parameters (report by
       Martin Pirker).
     * modify minstall.sh to suppress $MANPAGER and $PAGER environment
       variables, which may interfere with redirecting output of man to a
       shell variable (report/patch by Zdenek Sekera).
     * do not try to hide mouse pointer in the tek4014 window, fixes broken
       "-t" option at startup from patch #230 changes (report by Robert K.
       Nelson).
     * correct datatype used when drawing tek4014 data using xterm compiled
       for wide-characters, on big-endian machines (reports by Jeremy
       Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle Reinhart).
     * modify to cache the font-names along with the bitmap font data, to
       improve comparison of fonts.
     * modify to allow building with configure options --disable-ansi-color
       and --disable-leaks (Debian #459817, report/patch by Nemeth Marton).
     * modify to allow building with configure options --enable-wide-chars
       and --disable-c1-print (Debian #459816, report/patch by Nemeth
       Marton).
     * add pointerMode resource to control whether and when the pointer
       cursor is hidden as the user types.
     * simplify initialization of ttyMode- and related characters using a
       table.
     * modify initialization-logic for stty values that correspond to
       ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt
       flush, werase, lnext). These were reset to constants for both
       termios and legacy interfaces immediately after asking the system
       for the existing values since X11R6.1, rather than using them to
       provide inherited values. While the legacy interface has some
       constraints, e.g., on HPUX, the POSIX or termios interface should
       not. Your shell may reset these anyway (prompted by patch by Ed
       Schouten).
     * improve logic for hiding/displaying pointer-cursor (report by Mark
       Brukhartz).
     * add limit-checks to tabs.c, increase maximum column for setting
       tab-stops from 320 to 1024 (report by Nemeth Marton).
     * correct length, i.e., number of types of selection targets, computed
       by ConvertSelection() when not handling wide characters for the
       XA_TARGETS() case. This leaves an extra Atom on the end of the list
       which is not handled by Java applications. The problem was introduced
       in patch #151 (report by David Wood).
2008-04-21 17:10:40 +00:00
jlam
a859e4cb3d + Include termcap.buildlink3.mk to pull in the correct library to
provide tgetent().

Bump the PKGREVISION to 1.
2008-03-05 20:04:42 +00:00
bjs
ed39bf1621 Add xterm-toolbar to PKG_SUGGESTED_OPTIONS. 2008-01-25 18:22:01 +00:00
bjs
552e7350c0 Update to #231.
NOTE: I am going to again re-enable the xterm-toolbar option by default,
as there have been some fixes with font handling.  If anyone notices
any problems with this, please file a PR or email the pkgsrc lists.
Thanks.

ChangeLog:


                            Patch #231 - 2008/01/05

     * undo change to getXtermCell() from patch #230 using PACK_PAIR macro
       (Debian #459014, analysis by Caetano Jimenez Carezzato).
     * minor documentation fixes (patch by Slava Semushin)
     * add makefile actions to install KOI8RXTerm app-defaults file
       (patch by Julien Cristau).

                            Patch #230 - 2007/12/31

     * add quietGrab resource, which when true, suppresses cursor
       repainting
       when NotifyGrab and NotifyUngrab event types are received during
       change of focus (request by Nicolas George).
     * do not treat Unicode BIDI control characters as combining characters
       (Debian #457634).
     * add koi8rxterm, from Debian.
     * add manpage for uxterm, from Debian (Ubuntu #128136, Debian #438645)
     * remove ".xpm" suffixes from Icon filenames in desktop files since it
       confuses some lookups following the Icon Theme Specification (report
       by Slava Semushin)
     * correct width-calculation used for adjusting proportional fonts, to
       work with wide-characters (Debian #441354).
     * fixes/improvements for double-size characters:

          * correct old clipping calculation which used total height of
            glyphs where ascent was needed.
          * if bold font is unavailable, fall back to normal font
          * adjust to "work" with Xft (which does not support double-width
            single-height characters).
          * restore reset of doublesize for a line when it is cleared,
	    broken in patch #228.

     * modify logic for forceBoxChars resource when using TrueType fonts
       to be consistent with bitmap fonts
     * modify logic for forceBoxChars resource to make the "Line-Drawing
       Characters" menu entry use xterm's line-drawing characters even
       asked to draw wide line-drawing characters which are available in
       the font.
     * modify rectangle-support functions to preserve colors when
       filling/erasing (request by Enzo Toscano, to match WRQ Reflection
       behavior).
     * add getopt-parsing to tcapquery.pl, including feature to test the
       extended cursor/editing keys.
     * make missing double-width glyphs display as double-width (Debian
       #456236).
     * change tcap-fkeys and rectangles configure options to enable them
       by default.
     * hide the mouse pointer while user is typing (request by Rodolfo
       Borges).
     * extend configure options --enable-tcap-query and
       --enable-tcap-fkeys to send cursor- and editing-keypad keys
       modified according to the keyboard (or termcap) selection for
       shift, alt, control, meta.
     * modify kdch1 in termcap, e.g., xterm-r6 to match the terminfo file.
     * add -hm option to turn highlightColorMode on or off.
     * add highlightColorMode resource to separate the new
       (since patch #225)
       highlighting with both text- and background-colors (prompted by
       report/example by Thomas Wolff).
     * add Keep Selection menu entry to turn the keepSelection resource
       on/off at runtime.
     * add keepSelection resource, which when enabled, tells xterm to
       retain the X selection even after it stops highlighting it
       (patch by Sergey Vlasov).
     * extend the CSI > n sequence to allow disabling all types of
       modified-keys that the CSI > m sequence affects.
     * move include for <xtermcap.h> in resize.c to avoid redefinition of
       termios structure on OpenSolaris (report by Rahul Gopinathan Nair).
     * extend terminfo building blocks for modified editing keys to
       include all six keys.
     * synchronize terminfo with ncurses (report by Stephane Chazelas):

          * equate xterm-xfree86 and xterm-xf86-v44.
          * add ncurses extensions OTbs, AX, for termcap conversions.
          * make old/legacy entries such as xterm-24, xterm-65 and aliases
            xterms, vs100 inherit from xterm-old.
          * make xterm-r5 and xterm-r6 the same, ignoring historical
	    errors in X Consortium's version.

     * fix an ifdef in logic for selecting regular expressions while in a
       narrow-character locale (Debian #449227).
2008-01-25 18:21:18 +00:00
tnn
053aef4689 INSTALL.openwin was removed; unbork the build. 2008-01-14 06:16:48 +00:00
reed
d583488e10 Remove the MESSAGE.Solaris and INSTALL.openwin.
The INSTALL.openwin is broken.

I reported on December 1 that it create a broken INSTALL script.

The SunOS check was commented out in pkgsrc/x11/xterm/Makefile revision
1.37. It looks like it was accidently committed as it has nothing to do
with the log message.

This caused the INSTALL.openwin stuff to be used on non-SunOS systems.

That INSTALL.openwin support is broken anyways.  The sed changed @PREFIX@
but that was not used.
2008-01-12 04:01:31 +00:00
bjs
2b90466ca9 Force ac_cv_lib_pcreposix_pcreposix_regcomp=yes, bump rev.
This function does not exist AFAIK in our pcre libraries, and the configure
check was failing.

A segment of nm output reads:

/usr/pkg/lib/libpcreposix.so:00000a06 T regcomp
/usr/pkg/lib/libpcreposix.so:00000abf T regerror
/usr/pkg/lib/libpcreposix.so:000007a8 T regexec
/usr/pkg/lib/libpcreposix.so:00000780 T regfree

These symbols will override those in libc:


/usr/lib/libc.so:00031be8 T _regcomp
/usr/lib/libc.so:0002fbf8 T _regerror
/usr/lib/libc.so:0002e9c2 T _regexec
/usr/lib/libc.so:0006336c T _regfree
/usr/lib/libc.so:00031be8 W regcomp
/usr/lib/libc.so:0002fbf8 W regerror
/usr/lib/libc.so:0002e9c2 W regexec
/usr/lib/libc.so:0006336c W regfree
2007-11-23 14:23:34 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
aymeric
ee334ad872 remove option xterm-toolbar from the default options. Toolbar support seems
to be broken in xterm for now.
OK bjs@
2007-10-02 15:04:53 +00:00
bjs
2237047c97 Update to version #229. Too many changes to list here; please see
${WRKSRC}/xterm.log.html.  Additionally, the pkgsrc-specific
changes are:

-- Add an "xterm-toolbar" option and add it to PKG_DEFAULT_OPTIONS.  Now
   we may all enjoy pull-down menus.

-- In the ${X11_TYPE} == "modular" case, add --disable-imake and
   --enable-narrowproto to CONFIGURE_ARGS.  The latter fixes [possible]
   problems with Xaw scrollbars.

-- Add USE_DIRS+=xdg-1.4 to handle newly-provided xterm pixmaps.

-- Add build-time dependency on x11/libxkbfile to pull in XKB extension
   headers, e.g. ${X11BASE}/include/X11/extensions/XKBbells.h.  The XKB
   bell extension should now be properly detected and supported.

-  Add "pcre" option, thereby supporting devel/pcre as xterm's regex
   library.

Changes ok'd (more or less) by joerg@ and tested by me.  For more detail
wrt: rationale for --enable-narrowproto and/or libxkbfile dependency,
please contact me.
2007-09-17 06:36:21 +00:00
yyamano
929fe54ebb back out to rev 1.33. ok'ed by joerg@ 2007-03-18 16:02:09 +00:00
joerg
9138a70d33 Fix MASTTER_SITE. 2007-03-17 14:02:13 +00:00
drochner
b96fa17e98 update to 224
many minor fixes and improvements - see the changelog
2007-03-13 11:14:26 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00
joerg
aa696aacd6 Switch to modular buildlinks. 2006-11-06 10:10:58 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
rillig
8fad40050e Before a file can be created, its directory has to be there. 2006-06-25 19:37:44 +00:00
joerg
954d67e816 Update xterm to patch 212, featuring a number of small improvements,
bugfixes and portability fixes.
2006-04-26 14:04:57 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
5427921468 Option freetype needs Xft2, not freetype. Fix buildlink reference.
Install xterm setuid root on DragonFly, needed for tty permission change
and utmp. Bump revision.
2006-01-31 11:44:53 +00:00
joerg
59caa45b95 Update to xterm patchset 208.
Changes include lastlogx support on NetBSD, portability fixes e.g. for
openpty and bugfixes.
2006-01-19 20:23:33 +00:00
joerg
948429970f Add a freetype option for whoever wants it. 2006-01-13 17:54:44 +00:00
wiz
42778d0c29 Reset maintainer on request. 2006-01-03 19:28:40 +00:00
reed
4d991faaf0 Update to 205, from maintainer.
The changes are detailed at
http://dickey.his.com/xterm/xterm.log.html
Some of the changes include:
    * for FreeBSD, drop setuid privileges after startup (XFree86 Bugzilla
       #878, report/patch by Alexander Pohoyda)
...
     * improve error-reporting when chown/chmod of the pseudo-terminal fails,
       e.g., if a copy of xterm which was designed to work with old-style
       pseudo-terminals is not installed setuid or setgid (report by Jeremy
       C. Reed).
and many others.
2005-10-03 20:37:12 +00:00
minskim
f66cfb0707 Update xterm to 203.
Changes:
  - pkgsrc patches for Darwin and DragonFlyBSD were incorporated.
  - Many bug fixes and improvements.  See
    http://dickey.his.com/xterm/xterm.log.html for the complete list.
2005-08-28 17:58:16 +00:00
minskim
3ec978d98a setpgrp(pid_t, pid_t) is not available on Darwin-8.x. Use setpgid instead. 2005-06-30 05:05:37 +00:00
jlam
ef34473be4 Rename the INSTALL script template to INSTALL.openwin so avoid triggering
the special handling in bsd.pkg.mk if ${PKGDIR}/INSTALL exists.  This
fixes PR pkg/30502.
2005-06-12 05:06:11 +00:00
wiz
63a6c2ae2d Update to 202, provided by Jeroen Ruigrok van der Werven in private mail.
Add some options to the package.

Changes:

    * add extended shift- and control-modifier cursor keys to "xterm+pcfkeys"
      terminfo entry to correspond to ncurses 20050430 patch.
    * fix a rare case where text would be written with the wrong colors because
      output of scrolled text would reset the colors and the new text would be
      written with the same colors
    * add environment variables $XTERM_SHELL and $XTERM_VERSION
    * corrected workaround for background color of menubar, which gave a
      too-broad expression, coloring the background of the VT100 widget unless
      overridden by another resource setting.
    * correct an error in the logic which decides when sched_yield() is run; it
      would occasionally hang when contending with other pseudo-terminal
      applications such as screen
    * improve resource files to show how the menubar and popup menus can be
      colored
    * modify parsing of OSC (and SOS, etc), strings so their contents are not
      interpreted as UTF-8. This allows non-ASCII title strings to be set,
      provided that the window manager complies (report by Thomas Wolff).
    * improved some of the built-in line-drawing glyphs.
    * correct color of "box" character drawn for line-drawing glyph 1 (report
      by Nicolas George).
    * improve behavior when switching to UTF-8 mode after startup so xterm will
      check if the current fonts are already wide (ISO10646-1). If they are not,
      xterm will use the utf8Fonts subresource to load appropriate fonts
    * modify logic for setting title-string so it applies to the current widget
      rather than the vt100 widget.
    * correct computation of width for wide characters with the invisible
      attribute
    * modify interaction between +u8 and locale resource to allow the
      command-line option to override the resource
    * ignore error in the I/O initialization that tries to set the tty to 7-bit
      input for the case where eightBitInput resource is false
    * modify command-processing to accept an optional parameter that tells
      xterm which shell program to use
    * correct logic of ReallocateBufOffsets() which did not copy the content of
      the old screen buffer to the proper location, making a repaint clear
      after switching to wide-character mode
    * implement the remaining pieces to make xterm allocate cells for
      wide-characters when the "UTF-8" menu entry is selected. Also, load the
      UTF-8 font when that menu entry is selected, or the escape sequence for
      UTF-8 mode is received
2005-06-04 17:42:31 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
reed
78ca6514a8 Add patch-aa and patch-ab for DragonFly support.
This is from Joerg Sonnenberger via PR #30256.

(I redid patch-aa and my patch sums were different too.)
2005-05-25 02:55:01 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00