pkgsrc/x11/xdialog/Makefile

38 lines
1 KiB
Makefile
Raw Normal View History

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 20:02:37 +02:00
# $NetBSD: Makefile,v 1.15 2005/06/01 18:03:32 jlam Exp $
Updated to version 2.0.6. Based on a patch sent by Brian de Alwis via PR pkg/21567. Changes: - GNU make is not really needed - install documentation and examples - updated HOMEPAGE and MASTER_SITES - DESCR has 80 columns - style nits 2.0.6: ====== - Added the "Hide typing" check button into input boxes when --password option is in use. - Corrected a bug where "unchecked" was not returned with --check and --inputbox combination when the enter key was pressed to close the box (bug reported by Scott Ostrander). - Norvegian translations added (courtessy of Jostein Christoffer Andersen). 2.0.5: ====== - Corrected a bug (coredump on inexistant file passed to tailbox and logbox) introduced in v2.0.4. - Upgraded to gettext v0.10.40. - Removed all references to "RedHat" and "Linux" after "radiolist" and "checklist" samples scripts --backtitle options. 2.0.4: ====== - Debian packaging bug fix (missing "gettext" build dependency added). - Improved --tailbox and --logbox loading of files at startup (based on a patch submitted by Christian Werner, although I only kept his excellent idea and implemented it my own way). The --smooth transient option disables this feature for the --logbox (because if the file is big, it may take quite some time to load and process, time during which no logbox menu display update occurs...). - A cosmetic bug corrected into --logbox (the ending newline is removed from each line; it appeared as a space with a grey border with XFree86 v4.1.0/GTK+ v1.2.10). - Ensure that "unchecked" is not returned when using the --check transient option with infobox, gauge and progress widgets (fool proofing, as the --check option is not for use with these widgets...). - Better german translations, courtesy of Sven Backhausen. - Brazilian/Portuguese translations, courtesy of Lucas Brasilino. - Xdialog.wrapper changed so that the XDIALOG_FORCE_AUTOSIZE environment variable is set to "true" (if not already set to any value) before invoking Xdialog. - Removed the --statistics option from msgfmt command line in po/Makefile.in.in so to allow compilation on Solaris (this may as well solves the compile problems on some Debian plateforms). Problem reported by "Exile In Paradise". - Removed unnecessary po/*.c and po/*.h from the distribution. - Slightly improved Xdialog.spec. - Documentation updates and improvements (including a more complete man page). 2.0.3: ====== - New --ok-label and --cancel-label transient options added. - Hungarian translations added (courtesy of Lenart Janos). - Debianized source tree (courtesy of Lenart Janos). - Doc. updates. 2.0.2: ====== - Spanish translations added (courtesy of Horacio Castellon). - "make distclean" now removes "ltconfig" and "ltmain.sh" that are put in the directory when building with "rpm" (libtoolize is always ran by "rpm": it is plain useless here). - Replaced the "%make" macro with "make" so to allow the RPM to build on RedHat systems. - Changed doc/Xdialog.man, Makefile.am and Xdialog.spec so that the proper installation directory names are shown in the Xdialog man page. - Make use of the new gettext 0.10.38 (for a better portability on non-GNU/Linux systems; suggested by Albert Chin-A-Young). - Changed Xdialog.wrapper.c (samples directory) so that before calling Xdialog, it sets the XDIALOG_HIGH_DIALOG_COMPAT environment variable to "true" (if this variable is already set, its contents is not overwritten though, so it is always possible to set it to "false" if you don't like this feature). - Doc. updates. - A work around implemented for a getopt_long_only() bug that often made Xdialog v2.0.0/1 to segfault on unknown options. - Two bugs removed from the progress widget (as a result, the "allrpms" sample script now works properly). - New --smooth transient option added to get a smooth (flicker free but slow) scrolling in tailbox and logbox widgets. - "kernel" sample script changed to make use of --smooth. - Doc. updates. 2.0.1: ====== - Support for --with-included-gettext configure option added (patch courtesy of Albert Chin-A-Young). - Russian translations added (courtesy of Stanislav Ievlev). - Small compatibility fixes for compilation on non-linux platforms (courtesy of Peter Bray). - New --ignore-eof transient option implemented for use with infobox and gauge widgets. - Doc. updates. 2.0.0: ====== - Feature: XDIALOG_HIGH_DIALOG_COMPAT environment variable support added (makes Xdialog even more (c)dialog compatible, when set to TRUE). The new XDIALOG_FORCE_AUTOSIZE and XDIALOG_INFOBOX_TIMEOUT environment variables may also be used IOT customize Xdialog behaviour when the high (c)dialog compatibilty mode is on. - Feature: new --combobox widget and associated --editable transient option implemented. - Feature: new --spinbox, --2spinsbox and --3spinsbox widgets implemented. - Feature: new --logbox widget and associated --time-stamp, --date-stamp, --reverse and --keep-colors transient options implemented. - Feature: new --no-ok transient option for use with --tailbox and --logbox widgets. - Feature: --beep and --beep-after transient options implemented (cdialog compatible). - Feature: --passwordbox widget (cdialog compatible, synonym to --password --inputbox) implemented. - Feature: it is now possible to place Xdialog windows at absolute pixel coordinates on the screen (provided your window manager lets you do so), by giving the origin into a "-geometry"-like coordinates specification (e.g. 200x100+120+50), or by using the new --begin transient option (in characters coordinates). - Feature: it is now possible to maximize Xdialog widgets by passing a -1 -1 (or -1x-1) size specification. - Feature: the --backtitle, --button-style, --wizard, --no-cancel, --default-no and --check options are taken into account by (and may therefore be used with) the fselect and dselect widgets. - Feature: the textbox and editbox widgets do now auto-size properly (the length of the text lines and the number of lines are taken into account). - Feature: the status of --checklist, --radiolist, --buildlist and --treeview widgets items can now also be set to "unavailable" so to make items listed but unsensitive. It is also possible to make a --menubox item unavailable by associating it with a null (empty string) tag. - Feature: --default-item transient option implemented (cdialog compatible) for --menubox. - Feature: fake --clear option accepted alone in command line (it does nothing, it just doesn't complain about a missing box option), for (c)dialog compatibility - Feature: --cr-wrap (cdialog compatible) and --no-cr-wrap common options implemented. - Improvement: better (faster) callback function for tailbox. - Improvement: better calculations for box size in characters (the size of the font actually in use is taken into account instead of the size of the fixed font). - Improvement: better text wrapping function (the buggy GTK+ built-in one is no more used). - Improvement: Internationalization using gettext. French and german translations implemented. - Cosmetic: the help button now appears together with the OK/ Cancel/etc buttons into the fselect and dselect widgets. - Cosmetic: Item selection scheme changed for menubox and treeview (it is no more possible to remove the highligthing from the last selected item). - Cosmetic: the vertical slider in menubox/checklist/radiolist/ buildlist/treeview is no more mandatory (it is setup automa- tically by GTK+ when actually needed). - Bugfix: a bug fixed (introduced in v1.5.3), dealing with simultaneous use of --check and --help transient options (the check button was wrongly setup into the help box). - Coding: code factorisation IOT reduce size, improve ease of maintenance and readability. Improvements to "configure" and sources for a better portability. - The fixed font used by Xdialog may now be changed at compile time thanks to the "configure" script ("./configure --help" for details). - Some sample scripts changed to take advantage of the textbox/ editbox auto-size feature, logbox and logbox2 sample scripts added. - Doc updates and improvements. 1.5.3: ====== - Bug fixed (introduced in v1.5.1) that caused Xdialog to segfault when closed while a timeout function was updating the widget. - The tailbox may now be closed or resized while it updates the text in its window. - The --gauge now updates 100 times each second (should hopefully be enough !). - Removed the possibility to setup a "Help" button into an infobox (this makes no sense for a temporary widget). - The menu/lists/tree can now auto-size when the <list/menu height> parameter is set to 0. - The Add/Remove buttons are now greyed out when no item is available into the associated list (Hi Albert ! ;-). - New --item-help (cdialog-compatible) transient option implemented. - New --check transient option implemented. - Some code cleanup. - Doc updates and improvements. - xlock-wrapper sample script added and older sample scripts changed so to make use of the lists/menu/tree auto-size feature. 1.5.2: ====== - New --progress widget added. - New --fill common option implemented. - Changed slightly the behaviour of --center and --right options as a work around for the GTK+ line wrap mode bugs. - Some code improvement (simplification). - Doc updates and improvements (a basic man page has been added too). - Two samples scripts added (allrpms and format1440). 1.5.1: ====== - One bug corrected (introduced in v1.4.6) that made GTK to issue warnings when using the --help option together with the --fselect and --dselect widgets while the --button-style was "icon" or "default". - Much better callback timer functions for the --infobox and the --gauge widgets (refreshes occurs more often and no label/progress bar refresh can be missed anymore). - New --print-maxsize special option implemented (compatible with the cdialog option of the same name). - Better justification scheme for <labels> in --2inputsbox, --3inputsbox, --2rangesbox and --3rangesbox widgets. These labels now also accept "\n" for line splitting. - Updated and more complete documentation. - New --with-print-* compile time customization options for "configure". 1.5.0: ======= - 5 new widgets: --2inputsbox, --3inputsbox, --2rangesbox, --3rangesbox, --buildlist. - 2 new common options: --separator, --separate-output. - 3 new transient options: --interval, --default-no, --wizard. - 1 new special option: --print-version (for cdialog compatibility). - The <menu/list height> parameter is now taken into account. - Better auto-sizing for some widgets. - The <height> and <width> parameters are now actually related to the true (fixed font) character size. - The "Help" button may now be setup so to make Xdialog to return (with exit code=2). - Better parameter checking (item depth) in --treeview. - Some re-write for cleaner code and smaller binary. - Full HTML documentation written (as a result the README file is no more maintained and the FAQ has been HTMLized).
2003-05-14 01:33:01 +02:00
#
Updated to version 2.1.1. Changes: - HOMEPAGE and MASTER_SITES changed once again *sigh* 2.1.1: ====== - Fixed a bug in --calendar where an improper date (month) was preset when a null parameter was passed. - Applied a patch from Peter Breitenlohner to allow Xdialog to build outside the source tree with VPATH. 2.1.0: ====== - Adapted a patch from Joerg Tretter allowing to pass optional <hours>, <minutes> and <seconds> parameters to the --timebox. Also made the <day>, <month> and <year> parameters of the --calendar optional. - The --infobox and --gauge widgets now use non-blocking read() calls instead of scanf() ones (adapted from a patch by Rolland Dudemaine). In case Xdialog would not compile any more on your system (the new code needs for more BSD4.3 like functions and some more headers), you can revert to the old code by using the --with-scanf-calls configure option. - Implemented the new --colorsel (suggestion from Todd Hammer) and --fontsel widgets. - Added an optional <status> parameter to the --check option (following a suggestion from Hélio Cavichiolo Jr. - Fixed a bug which made Xdialog coredump when the first row of a --menubox was set "unselectable" (NULL tag) and when the "OK" button was pressed without selecting another row. Thanks to Markus Riese for reporting this bug. - Fixed the charset for pt_BR.po and hu.po (thanks to Christian Weisgerber for pointing this out). - Applied a patch by "ALT Linux Team" to avoid using a temporary file for printing and using a pipe instead (safer, cleaner). Removed the corresponding "--with-print-tmpfile" option from configure.in. Thanks to Stanislav Ievlev for sending me this patch. - New Makefile.am, doc/Makefile.am and configure.in. The doc files are now built during the 'make all' instead of the 'make install' step. It should also fix the problems with the bad paths to the Xdialog doc files appearing in the man page on some systems (based on suggestions made by Peter Breitenlohner). - Changed the URL for Xdialog website in main.c and doc. - Documentation updates.
2003-05-14 20:53:38 +02:00
DISTNAME= Xdialog-2.1.1
Updated to version 2.0.6. Based on a patch sent by Brian de Alwis via PR pkg/21567. Changes: - GNU make is not really needed - install documentation and examples - updated HOMEPAGE and MASTER_SITES - DESCR has 80 columns - style nits 2.0.6: ====== - Added the "Hide typing" check button into input boxes when --password option is in use. - Corrected a bug where "unchecked" was not returned with --check and --inputbox combination when the enter key was pressed to close the box (bug reported by Scott Ostrander). - Norvegian translations added (courtessy of Jostein Christoffer Andersen). 2.0.5: ====== - Corrected a bug (coredump on inexistant file passed to tailbox and logbox) introduced in v2.0.4. - Upgraded to gettext v0.10.40. - Removed all references to "RedHat" and "Linux" after "radiolist" and "checklist" samples scripts --backtitle options. 2.0.4: ====== - Debian packaging bug fix (missing "gettext" build dependency added). - Improved --tailbox and --logbox loading of files at startup (based on a patch submitted by Christian Werner, although I only kept his excellent idea and implemented it my own way). The --smooth transient option disables this feature for the --logbox (because if the file is big, it may take quite some time to load and process, time during which no logbox menu display update occurs...). - A cosmetic bug corrected into --logbox (the ending newline is removed from each line; it appeared as a space with a grey border with XFree86 v4.1.0/GTK+ v1.2.10). - Ensure that "unchecked" is not returned when using the --check transient option with infobox, gauge and progress widgets (fool proofing, as the --check option is not for use with these widgets...). - Better german translations, courtesy of Sven Backhausen. - Brazilian/Portuguese translations, courtesy of Lucas Brasilino. - Xdialog.wrapper changed so that the XDIALOG_FORCE_AUTOSIZE environment variable is set to "true" (if not already set to any value) before invoking Xdialog. - Removed the --statistics option from msgfmt command line in po/Makefile.in.in so to allow compilation on Solaris (this may as well solves the compile problems on some Debian plateforms). Problem reported by "Exile In Paradise". - Removed unnecessary po/*.c and po/*.h from the distribution. - Slightly improved Xdialog.spec. - Documentation updates and improvements (including a more complete man page). 2.0.3: ====== - New --ok-label and --cancel-label transient options added. - Hungarian translations added (courtesy of Lenart Janos). - Debianized source tree (courtesy of Lenart Janos). - Doc. updates. 2.0.2: ====== - Spanish translations added (courtesy of Horacio Castellon). - "make distclean" now removes "ltconfig" and "ltmain.sh" that are put in the directory when building with "rpm" (libtoolize is always ran by "rpm": it is plain useless here). - Replaced the "%make" macro with "make" so to allow the RPM to build on RedHat systems. - Changed doc/Xdialog.man, Makefile.am and Xdialog.spec so that the proper installation directory names are shown in the Xdialog man page. - Make use of the new gettext 0.10.38 (for a better portability on non-GNU/Linux systems; suggested by Albert Chin-A-Young). - Changed Xdialog.wrapper.c (samples directory) so that before calling Xdialog, it sets the XDIALOG_HIGH_DIALOG_COMPAT environment variable to "true" (if this variable is already set, its contents is not overwritten though, so it is always possible to set it to "false" if you don't like this feature). - Doc. updates. - A work around implemented for a getopt_long_only() bug that often made Xdialog v2.0.0/1 to segfault on unknown options. - Two bugs removed from the progress widget (as a result, the "allrpms" sample script now works properly). - New --smooth transient option added to get a smooth (flicker free but slow) scrolling in tailbox and logbox widgets. - "kernel" sample script changed to make use of --smooth. - Doc. updates. 2.0.1: ====== - Support for --with-included-gettext configure option added (patch courtesy of Albert Chin-A-Young). - Russian translations added (courtesy of Stanislav Ievlev). - Small compatibility fixes for compilation on non-linux platforms (courtesy of Peter Bray). - New --ignore-eof transient option implemented for use with infobox and gauge widgets. - Doc. updates. 2.0.0: ====== - Feature: XDIALOG_HIGH_DIALOG_COMPAT environment variable support added (makes Xdialog even more (c)dialog compatible, when set to TRUE). The new XDIALOG_FORCE_AUTOSIZE and XDIALOG_INFOBOX_TIMEOUT environment variables may also be used IOT customize Xdialog behaviour when the high (c)dialog compatibilty mode is on. - Feature: new --combobox widget and associated --editable transient option implemented. - Feature: new --spinbox, --2spinsbox and --3spinsbox widgets implemented. - Feature: new --logbox widget and associated --time-stamp, --date-stamp, --reverse and --keep-colors transient options implemented. - Feature: new --no-ok transient option for use with --tailbox and --logbox widgets. - Feature: --beep and --beep-after transient options implemented (cdialog compatible). - Feature: --passwordbox widget (cdialog compatible, synonym to --password --inputbox) implemented. - Feature: it is now possible to place Xdialog windows at absolute pixel coordinates on the screen (provided your window manager lets you do so), by giving the origin into a "-geometry"-like coordinates specification (e.g. 200x100+120+50), or by using the new --begin transient option (in characters coordinates). - Feature: it is now possible to maximize Xdialog widgets by passing a -1 -1 (or -1x-1) size specification. - Feature: the --backtitle, --button-style, --wizard, --no-cancel, --default-no and --check options are taken into account by (and may therefore be used with) the fselect and dselect widgets. - Feature: the textbox and editbox widgets do now auto-size properly (the length of the text lines and the number of lines are taken into account). - Feature: the status of --checklist, --radiolist, --buildlist and --treeview widgets items can now also be set to "unavailable" so to make items listed but unsensitive. It is also possible to make a --menubox item unavailable by associating it with a null (empty string) tag. - Feature: --default-item transient option implemented (cdialog compatible) for --menubox. - Feature: fake --clear option accepted alone in command line (it does nothing, it just doesn't complain about a missing box option), for (c)dialog compatibility - Feature: --cr-wrap (cdialog compatible) and --no-cr-wrap common options implemented. - Improvement: better (faster) callback function for tailbox. - Improvement: better calculations for box size in characters (the size of the font actually in use is taken into account instead of the size of the fixed font). - Improvement: better text wrapping function (the buggy GTK+ built-in one is no more used). - Improvement: Internationalization using gettext. French and german translations implemented. - Cosmetic: the help button now appears together with the OK/ Cancel/etc buttons into the fselect and dselect widgets. - Cosmetic: Item selection scheme changed for menubox and treeview (it is no more possible to remove the highligthing from the last selected item). - Cosmetic: the vertical slider in menubox/checklist/radiolist/ buildlist/treeview is no more mandatory (it is setup automa- tically by GTK+ when actually needed). - Bugfix: a bug fixed (introduced in v1.5.3), dealing with simultaneous use of --check and --help transient options (the check button was wrongly setup into the help box). - Coding: code factorisation IOT reduce size, improve ease of maintenance and readability. Improvements to "configure" and sources for a better portability. - The fixed font used by Xdialog may now be changed at compile time thanks to the "configure" script ("./configure --help" for details). - Some sample scripts changed to take advantage of the textbox/ editbox auto-size feature, logbox and logbox2 sample scripts added. - Doc updates and improvements. 1.5.3: ====== - Bug fixed (introduced in v1.5.1) that caused Xdialog to segfault when closed while a timeout function was updating the widget. - The tailbox may now be closed or resized while it updates the text in its window. - The --gauge now updates 100 times each second (should hopefully be enough !). - Removed the possibility to setup a "Help" button into an infobox (this makes no sense for a temporary widget). - The menu/lists/tree can now auto-size when the <list/menu height> parameter is set to 0. - The Add/Remove buttons are now greyed out when no item is available into the associated list (Hi Albert ! ;-). - New --item-help (cdialog-compatible) transient option implemented. - New --check transient option implemented. - Some code cleanup. - Doc updates and improvements. - xlock-wrapper sample script added and older sample scripts changed so to make use of the lists/menu/tree auto-size feature. 1.5.2: ====== - New --progress widget added. - New --fill common option implemented. - Changed slightly the behaviour of --center and --right options as a work around for the GTK+ line wrap mode bugs. - Some code improvement (simplification). - Doc updates and improvements (a basic man page has been added too). - Two samples scripts added (allrpms and format1440). 1.5.1: ====== - One bug corrected (introduced in v1.4.6) that made GTK to issue warnings when using the --help option together with the --fselect and --dselect widgets while the --button-style was "icon" or "default". - Much better callback timer functions for the --infobox and the --gauge widgets (refreshes occurs more often and no label/progress bar refresh can be missed anymore). - New --print-maxsize special option implemented (compatible with the cdialog option of the same name). - Better justification scheme for <labels> in --2inputsbox, --3inputsbox, --2rangesbox and --3rangesbox widgets. These labels now also accept "\n" for line splitting. - Updated and more complete documentation. - New --with-print-* compile time customization options for "configure". 1.5.0: ======= - 5 new widgets: --2inputsbox, --3inputsbox, --2rangesbox, --3rangesbox, --buildlist. - 2 new common options: --separator, --separate-output. - 3 new transient options: --interval, --default-no, --wizard. - 1 new special option: --print-version (for cdialog compatibility). - The <menu/list height> parameter is now taken into account. - Better auto-sizing for some widgets. - The <height> and <width> parameters are now actually related to the true (fixed font) character size. - The "Help" button may now be setup so to make Xdialog to return (with exit code=2). - Better parameter checking (item depth) in --treeview. - Some re-write for cleaner code and smaller binary. - Full HTML documentation written (as a result the README file is no more maintained and the FAQ has been HTMLized).
2003-05-14 01:33:01 +02:00
PKGNAME= ${DISTNAME:S/^X/x/}
PKGREVISION= 2
Updated to version 2.0.6. Based on a patch sent by Brian de Alwis via PR pkg/21567. Changes: - GNU make is not really needed - install documentation and examples - updated HOMEPAGE and MASTER_SITES - DESCR has 80 columns - style nits 2.0.6: ====== - Added the "Hide typing" check button into input boxes when --password option is in use. - Corrected a bug where "unchecked" was not returned with --check and --inputbox combination when the enter key was pressed to close the box (bug reported by Scott Ostrander). - Norvegian translations added (courtessy of Jostein Christoffer Andersen). 2.0.5: ====== - Corrected a bug (coredump on inexistant file passed to tailbox and logbox) introduced in v2.0.4. - Upgraded to gettext v0.10.40. - Removed all references to "RedHat" and "Linux" after "radiolist" and "checklist" samples scripts --backtitle options. 2.0.4: ====== - Debian packaging bug fix (missing "gettext" build dependency added). - Improved --tailbox and --logbox loading of files at startup (based on a patch submitted by Christian Werner, although I only kept his excellent idea and implemented it my own way). The --smooth transient option disables this feature for the --logbox (because if the file is big, it may take quite some time to load and process, time during which no logbox menu display update occurs...). - A cosmetic bug corrected into --logbox (the ending newline is removed from each line; it appeared as a space with a grey border with XFree86 v4.1.0/GTK+ v1.2.10). - Ensure that "unchecked" is not returned when using the --check transient option with infobox, gauge and progress widgets (fool proofing, as the --check option is not for use with these widgets...). - Better german translations, courtesy of Sven Backhausen. - Brazilian/Portuguese translations, courtesy of Lucas Brasilino. - Xdialog.wrapper changed so that the XDIALOG_FORCE_AUTOSIZE environment variable is set to "true" (if not already set to any value) before invoking Xdialog. - Removed the --statistics option from msgfmt command line in po/Makefile.in.in so to allow compilation on Solaris (this may as well solves the compile problems on some Debian plateforms). Problem reported by "Exile In Paradise". - Removed unnecessary po/*.c and po/*.h from the distribution. - Slightly improved Xdialog.spec. - Documentation updates and improvements (including a more complete man page). 2.0.3: ====== - New --ok-label and --cancel-label transient options added. - Hungarian translations added (courtesy of Lenart Janos). - Debianized source tree (courtesy of Lenart Janos). - Doc. updates. 2.0.2: ====== - Spanish translations added (courtesy of Horacio Castellon). - "make distclean" now removes "ltconfig" and "ltmain.sh" that are put in the directory when building with "rpm" (libtoolize is always ran by "rpm": it is plain useless here). - Replaced the "%make" macro with "make" so to allow the RPM to build on RedHat systems. - Changed doc/Xdialog.man, Makefile.am and Xdialog.spec so that the proper installation directory names are shown in the Xdialog man page. - Make use of the new gettext 0.10.38 (for a better portability on non-GNU/Linux systems; suggested by Albert Chin-A-Young). - Changed Xdialog.wrapper.c (samples directory) so that before calling Xdialog, it sets the XDIALOG_HIGH_DIALOG_COMPAT environment variable to "true" (if this variable is already set, its contents is not overwritten though, so it is always possible to set it to "false" if you don't like this feature). - Doc. updates. - A work around implemented for a getopt_long_only() bug that often made Xdialog v2.0.0/1 to segfault on unknown options. - Two bugs removed from the progress widget (as a result, the "allrpms" sample script now works properly). - New --smooth transient option added to get a smooth (flicker free but slow) scrolling in tailbox and logbox widgets. - "kernel" sample script changed to make use of --smooth. - Doc. updates. 2.0.1: ====== - Support for --with-included-gettext configure option added (patch courtesy of Albert Chin-A-Young). - Russian translations added (courtesy of Stanislav Ievlev). - Small compatibility fixes for compilation on non-linux platforms (courtesy of Peter Bray). - New --ignore-eof transient option implemented for use with infobox and gauge widgets. - Doc. updates. 2.0.0: ====== - Feature: XDIALOG_HIGH_DIALOG_COMPAT environment variable support added (makes Xdialog even more (c)dialog compatible, when set to TRUE). The new XDIALOG_FORCE_AUTOSIZE and XDIALOG_INFOBOX_TIMEOUT environment variables may also be used IOT customize Xdialog behaviour when the high (c)dialog compatibilty mode is on. - Feature: new --combobox widget and associated --editable transient option implemented. - Feature: new --spinbox, --2spinsbox and --3spinsbox widgets implemented. - Feature: new --logbox widget and associated --time-stamp, --date-stamp, --reverse and --keep-colors transient options implemented. - Feature: new --no-ok transient option for use with --tailbox and --logbox widgets. - Feature: --beep and --beep-after transient options implemented (cdialog compatible). - Feature: --passwordbox widget (cdialog compatible, synonym to --password --inputbox) implemented. - Feature: it is now possible to place Xdialog windows at absolute pixel coordinates on the screen (provided your window manager lets you do so), by giving the origin into a "-geometry"-like coordinates specification (e.g. 200x100+120+50), or by using the new --begin transient option (in characters coordinates). - Feature: it is now possible to maximize Xdialog widgets by passing a -1 -1 (or -1x-1) size specification. - Feature: the --backtitle, --button-style, --wizard, --no-cancel, --default-no and --check options are taken into account by (and may therefore be used with) the fselect and dselect widgets. - Feature: the textbox and editbox widgets do now auto-size properly (the length of the text lines and the number of lines are taken into account). - Feature: the status of --checklist, --radiolist, --buildlist and --treeview widgets items can now also be set to "unavailable" so to make items listed but unsensitive. It is also possible to make a --menubox item unavailable by associating it with a null (empty string) tag. - Feature: --default-item transient option implemented (cdialog compatible) for --menubox. - Feature: fake --clear option accepted alone in command line (it does nothing, it just doesn't complain about a missing box option), for (c)dialog compatibility - Feature: --cr-wrap (cdialog compatible) and --no-cr-wrap common options implemented. - Improvement: better (faster) callback function for tailbox. - Improvement: better calculations for box size in characters (the size of the font actually in use is taken into account instead of the size of the fixed font). - Improvement: better text wrapping function (the buggy GTK+ built-in one is no more used). - Improvement: Internationalization using gettext. French and german translations implemented. - Cosmetic: the help button now appears together with the OK/ Cancel/etc buttons into the fselect and dselect widgets. - Cosmetic: Item selection scheme changed for menubox and treeview (it is no more possible to remove the highligthing from the last selected item). - Cosmetic: the vertical slider in menubox/checklist/radiolist/ buildlist/treeview is no more mandatory (it is setup automa- tically by GTK+ when actually needed). - Bugfix: a bug fixed (introduced in v1.5.3), dealing with simultaneous use of --check and --help transient options (the check button was wrongly setup into the help box). - Coding: code factorisation IOT reduce size, improve ease of maintenance and readability. Improvements to "configure" and sources for a better portability. - The fixed font used by Xdialog may now be changed at compile time thanks to the "configure" script ("./configure --help" for details). - Some sample scripts changed to take advantage of the textbox/ editbox auto-size feature, logbox and logbox2 sample scripts added. - Doc updates and improvements. 1.5.3: ====== - Bug fixed (introduced in v1.5.1) that caused Xdialog to segfault when closed while a timeout function was updating the widget. - The tailbox may now be closed or resized while it updates the text in its window. - The --gauge now updates 100 times each second (should hopefully be enough !). - Removed the possibility to setup a "Help" button into an infobox (this makes no sense for a temporary widget). - The menu/lists/tree can now auto-size when the <list/menu height> parameter is set to 0. - The Add/Remove buttons are now greyed out when no item is available into the associated list (Hi Albert ! ;-). - New --item-help (cdialog-compatible) transient option implemented. - New --check transient option implemented. - Some code cleanup. - Doc updates and improvements. - xlock-wrapper sample script added and older sample scripts changed so to make use of the lists/menu/tree auto-size feature. 1.5.2: ====== - New --progress widget added. - New --fill common option implemented. - Changed slightly the behaviour of --center and --right options as a work around for the GTK+ line wrap mode bugs. - Some code improvement (simplification). - Doc updates and improvements (a basic man page has been added too). - Two samples scripts added (allrpms and format1440). 1.5.1: ====== - One bug corrected (introduced in v1.4.6) that made GTK to issue warnings when using the --help option together with the --fselect and --dselect widgets while the --button-style was "icon" or "default". - Much better callback timer functions for the --infobox and the --gauge widgets (refreshes occurs more often and no label/progress bar refresh can be missed anymore). - New --print-maxsize special option implemented (compatible with the cdialog option of the same name). - Better justification scheme for <labels> in --2inputsbox, --3inputsbox, --2rangesbox and --3rangesbox widgets. These labels now also accept "\n" for line splitting. - Updated and more complete documentation. - New --with-print-* compile time customization options for "configure". 1.5.0: ======= - 5 new widgets: --2inputsbox, --3inputsbox, --2rangesbox, --3rangesbox, --buildlist. - 2 new common options: --separator, --separate-output. - 3 new transient options: --interval, --default-no, --wizard. - 1 new special option: --print-version (for cdialog compatibility). - The <menu/list height> parameter is now taken into account. - Better auto-sizing for some widgets. - The <height> and <width> parameters are now actually related to the true (fixed font) character size. - The "Help" button may now be setup so to make Xdialog to return (with exit code=2). - Better parameter checking (item depth) in --treeview. - Some re-write for cleaner code and smaller binary. - Full HTML documentation written (as a result the README file is no more maintained and the FAQ has been HTMLized).
2003-05-14 01:33:01 +02:00
CATEGORIES= x11 misc
Updated to version 2.1.1. Changes: - HOMEPAGE and MASTER_SITES changed once again *sigh* 2.1.1: ====== - Fixed a bug in --calendar where an improper date (month) was preset when a null parameter was passed. - Applied a patch from Peter Breitenlohner to allow Xdialog to build outside the source tree with VPATH. 2.1.0: ====== - Adapted a patch from Joerg Tretter allowing to pass optional <hours>, <minutes> and <seconds> parameters to the --timebox. Also made the <day>, <month> and <year> parameters of the --calendar optional. - The --infobox and --gauge widgets now use non-blocking read() calls instead of scanf() ones (adapted from a patch by Rolland Dudemaine). In case Xdialog would not compile any more on your system (the new code needs for more BSD4.3 like functions and some more headers), you can revert to the old code by using the --with-scanf-calls configure option. - Implemented the new --colorsel (suggestion from Todd Hammer) and --fontsel widgets. - Added an optional <status> parameter to the --check option (following a suggestion from Hélio Cavichiolo Jr. - Fixed a bug which made Xdialog coredump when the first row of a --menubox was set "unselectable" (NULL tag) and when the "OK" button was pressed without selecting another row. Thanks to Markus Riese for reporting this bug. - Fixed the charset for pt_BR.po and hu.po (thanks to Christian Weisgerber for pointing this out). - Applied a patch by "ALT Linux Team" to avoid using a temporary file for printing and using a pipe instead (safer, cleaner). Removed the corresponding "--with-print-tmpfile" option from configure.in. Thanks to Stanislav Ievlev for sending me this patch. - New Makefile.am, doc/Makefile.am and configure.in. The doc files are now built during the 'make all' instead of the 'make install' step. It should also fix the problems with the bad paths to the Xdialog doc files appearing in the man page on some systems (based on suggestions made by Peter Breitenlohner). - Changed the URL for Xdialog website in main.c and doc. - Documentation updates.
2003-05-14 20:53:38 +02:00
MASTER_SITES= http://thgodef.nerim.net/xdialog/ \
http://thgodef.nerim.net/xdialog/archives/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
Updated to version 2.1.1. Changes: - HOMEPAGE and MASTER_SITES changed once again *sigh* 2.1.1: ====== - Fixed a bug in --calendar where an improper date (month) was preset when a null parameter was passed. - Applied a patch from Peter Breitenlohner to allow Xdialog to build outside the source tree with VPATH. 2.1.0: ====== - Adapted a patch from Joerg Tretter allowing to pass optional <hours>, <minutes> and <seconds> parameters to the --timebox. Also made the <day>, <month> and <year> parameters of the --calendar optional. - The --infobox and --gauge widgets now use non-blocking read() calls instead of scanf() ones (adapted from a patch by Rolland Dudemaine). In case Xdialog would not compile any more on your system (the new code needs for more BSD4.3 like functions and some more headers), you can revert to the old code by using the --with-scanf-calls configure option. - Implemented the new --colorsel (suggestion from Todd Hammer) and --fontsel widgets. - Added an optional <status> parameter to the --check option (following a suggestion from Hélio Cavichiolo Jr. - Fixed a bug which made Xdialog coredump when the first row of a --menubox was set "unselectable" (NULL tag) and when the "OK" button was pressed without selecting another row. Thanks to Markus Riese for reporting this bug. - Fixed the charset for pt_BR.po and hu.po (thanks to Christian Weisgerber for pointing this out). - Applied a patch by "ALT Linux Team" to avoid using a temporary file for printing and using a pipe instead (safer, cleaner). Removed the corresponding "--with-print-tmpfile" option from configure.in. Thanks to Stanislav Ievlev for sending me this patch. - New Makefile.am, doc/Makefile.am and configure.in. The doc files are now built during the 'make all' instead of the 'make install' step. It should also fix the problems with the bad paths to the Xdialog doc files appearing in the man page on some systems (based on suggestions made by Peter Breitenlohner). - Changed the URL for Xdialog website in main.c and doc. - Documentation updates.
2003-05-14 20:53:38 +02:00
HOMEPAGE= http://xdialog.dyns.net/
COMMENT= X11 drop-in replacement for the curses dialog program
Updated to version 2.0.6. Based on a patch sent by Brian de Alwis via PR pkg/21567. Changes: - GNU make is not really needed - install documentation and examples - updated HOMEPAGE and MASTER_SITES - DESCR has 80 columns - style nits 2.0.6: ====== - Added the "Hide typing" check button into input boxes when --password option is in use. - Corrected a bug where "unchecked" was not returned with --check and --inputbox combination when the enter key was pressed to close the box (bug reported by Scott Ostrander). - Norvegian translations added (courtessy of Jostein Christoffer Andersen). 2.0.5: ====== - Corrected a bug (coredump on inexistant file passed to tailbox and logbox) introduced in v2.0.4. - Upgraded to gettext v0.10.40. - Removed all references to "RedHat" and "Linux" after "radiolist" and "checklist" samples scripts --backtitle options. 2.0.4: ====== - Debian packaging bug fix (missing "gettext" build dependency added). - Improved --tailbox and --logbox loading of files at startup (based on a patch submitted by Christian Werner, although I only kept his excellent idea and implemented it my own way). The --smooth transient option disables this feature for the --logbox (because if the file is big, it may take quite some time to load and process, time during which no logbox menu display update occurs...). - A cosmetic bug corrected into --logbox (the ending newline is removed from each line; it appeared as a space with a grey border with XFree86 v4.1.0/GTK+ v1.2.10). - Ensure that "unchecked" is not returned when using the --check transient option with infobox, gauge and progress widgets (fool proofing, as the --check option is not for use with these widgets...). - Better german translations, courtesy of Sven Backhausen. - Brazilian/Portuguese translations, courtesy of Lucas Brasilino. - Xdialog.wrapper changed so that the XDIALOG_FORCE_AUTOSIZE environment variable is set to "true" (if not already set to any value) before invoking Xdialog. - Removed the --statistics option from msgfmt command line in po/Makefile.in.in so to allow compilation on Solaris (this may as well solves the compile problems on some Debian plateforms). Problem reported by "Exile In Paradise". - Removed unnecessary po/*.c and po/*.h from the distribution. - Slightly improved Xdialog.spec. - Documentation updates and improvements (including a more complete man page). 2.0.3: ====== - New --ok-label and --cancel-label transient options added. - Hungarian translations added (courtesy of Lenart Janos). - Debianized source tree (courtesy of Lenart Janos). - Doc. updates. 2.0.2: ====== - Spanish translations added (courtesy of Horacio Castellon). - "make distclean" now removes "ltconfig" and "ltmain.sh" that are put in the directory when building with "rpm" (libtoolize is always ran by "rpm": it is plain useless here). - Replaced the "%make" macro with "make" so to allow the RPM to build on RedHat systems. - Changed doc/Xdialog.man, Makefile.am and Xdialog.spec so that the proper installation directory names are shown in the Xdialog man page. - Make use of the new gettext 0.10.38 (for a better portability on non-GNU/Linux systems; suggested by Albert Chin-A-Young). - Changed Xdialog.wrapper.c (samples directory) so that before calling Xdialog, it sets the XDIALOG_HIGH_DIALOG_COMPAT environment variable to "true" (if this variable is already set, its contents is not overwritten though, so it is always possible to set it to "false" if you don't like this feature). - Doc. updates. - A work around implemented for a getopt_long_only() bug that often made Xdialog v2.0.0/1 to segfault on unknown options. - Two bugs removed from the progress widget (as a result, the "allrpms" sample script now works properly). - New --smooth transient option added to get a smooth (flicker free but slow) scrolling in tailbox and logbox widgets. - "kernel" sample script changed to make use of --smooth. - Doc. updates. 2.0.1: ====== - Support for --with-included-gettext configure option added (patch courtesy of Albert Chin-A-Young). - Russian translations added (courtesy of Stanislav Ievlev). - Small compatibility fixes for compilation on non-linux platforms (courtesy of Peter Bray). - New --ignore-eof transient option implemented for use with infobox and gauge widgets. - Doc. updates. 2.0.0: ====== - Feature: XDIALOG_HIGH_DIALOG_COMPAT environment variable support added (makes Xdialog even more (c)dialog compatible, when set to TRUE). The new XDIALOG_FORCE_AUTOSIZE and XDIALOG_INFOBOX_TIMEOUT environment variables may also be used IOT customize Xdialog behaviour when the high (c)dialog compatibilty mode is on. - Feature: new --combobox widget and associated --editable transient option implemented. - Feature: new --spinbox, --2spinsbox and --3spinsbox widgets implemented. - Feature: new --logbox widget and associated --time-stamp, --date-stamp, --reverse and --keep-colors transient options implemented. - Feature: new --no-ok transient option for use with --tailbox and --logbox widgets. - Feature: --beep and --beep-after transient options implemented (cdialog compatible). - Feature: --passwordbox widget (cdialog compatible, synonym to --password --inputbox) implemented. - Feature: it is now possible to place Xdialog windows at absolute pixel coordinates on the screen (provided your window manager lets you do so), by giving the origin into a "-geometry"-like coordinates specification (e.g. 200x100+120+50), or by using the new --begin transient option (in characters coordinates). - Feature: it is now possible to maximize Xdialog widgets by passing a -1 -1 (or -1x-1) size specification. - Feature: the --backtitle, --button-style, --wizard, --no-cancel, --default-no and --check options are taken into account by (and may therefore be used with) the fselect and dselect widgets. - Feature: the textbox and editbox widgets do now auto-size properly (the length of the text lines and the number of lines are taken into account). - Feature: the status of --checklist, --radiolist, --buildlist and --treeview widgets items can now also be set to "unavailable" so to make items listed but unsensitive. It is also possible to make a --menubox item unavailable by associating it with a null (empty string) tag. - Feature: --default-item transient option implemented (cdialog compatible) for --menubox. - Feature: fake --clear option accepted alone in command line (it does nothing, it just doesn't complain about a missing box option), for (c)dialog compatibility - Feature: --cr-wrap (cdialog compatible) and --no-cr-wrap common options implemented. - Improvement: better (faster) callback function for tailbox. - Improvement: better calculations for box size in characters (the size of the font actually in use is taken into account instead of the size of the fixed font). - Improvement: better text wrapping function (the buggy GTK+ built-in one is no more used). - Improvement: Internationalization using gettext. French and german translations implemented. - Cosmetic: the help button now appears together with the OK/ Cancel/etc buttons into the fselect and dselect widgets. - Cosmetic: Item selection scheme changed for menubox and treeview (it is no more possible to remove the highligthing from the last selected item). - Cosmetic: the vertical slider in menubox/checklist/radiolist/ buildlist/treeview is no more mandatory (it is setup automa- tically by GTK+ when actually needed). - Bugfix: a bug fixed (introduced in v1.5.3), dealing with simultaneous use of --check and --help transient options (the check button was wrongly setup into the help box). - Coding: code factorisation IOT reduce size, improve ease of maintenance and readability. Improvements to "configure" and sources for a better portability. - The fixed font used by Xdialog may now be changed at compile time thanks to the "configure" script ("./configure --help" for details). - Some sample scripts changed to take advantage of the textbox/ editbox auto-size feature, logbox and logbox2 sample scripts added. - Doc updates and improvements. 1.5.3: ====== - Bug fixed (introduced in v1.5.1) that caused Xdialog to segfault when closed while a timeout function was updating the widget. - The tailbox may now be closed or resized while it updates the text in its window. - The --gauge now updates 100 times each second (should hopefully be enough !). - Removed the possibility to setup a "Help" button into an infobox (this makes no sense for a temporary widget). - The menu/lists/tree can now auto-size when the <list/menu height> parameter is set to 0. - The Add/Remove buttons are now greyed out when no item is available into the associated list (Hi Albert ! ;-). - New --item-help (cdialog-compatible) transient option implemented. - New --check transient option implemented. - Some code cleanup. - Doc updates and improvements. - xlock-wrapper sample script added and older sample scripts changed so to make use of the lists/menu/tree auto-size feature. 1.5.2: ====== - New --progress widget added. - New --fill common option implemented. - Changed slightly the behaviour of --center and --right options as a work around for the GTK+ line wrap mode bugs. - Some code improvement (simplification). - Doc updates and improvements (a basic man page has been added too). - Two samples scripts added (allrpms and format1440). 1.5.1: ====== - One bug corrected (introduced in v1.4.6) that made GTK to issue warnings when using the --help option together with the --fselect and --dselect widgets while the --button-style was "icon" or "default". - Much better callback timer functions for the --infobox and the --gauge widgets (refreshes occurs more often and no label/progress bar refresh can be missed anymore). - New --print-maxsize special option implemented (compatible with the cdialog option of the same name). - Better justification scheme for <labels> in --2inputsbox, --3inputsbox, --2rangesbox and --3rangesbox widgets. These labels now also accept "\n" for line splitting. - Updated and more complete documentation. - New --with-print-* compile time customization options for "configure". 1.5.0: ======= - 5 new widgets: --2inputsbox, --3inputsbox, --2rangesbox, --3rangesbox, --buildlist. - 2 new common options: --separator, --separate-output. - 3 new transient options: --interval, --default-no, --wizard. - 1 new special option: --print-version (for cdialog compatibility). - The <menu/list height> parameter is now taken into account. - Better auto-sizing for some widgets. - The <height> and <width> parameters are now actually related to the true (fixed font) character size. - The "Help" button may now be setup so to make Xdialog to return (with exit code=2). - Better parameter checking (item depth) in --treeview. - Some re-write for cleaner code and smaller binary. - Full HTML documentation written (as a result the README file is no more maintained and the FAQ has been HTMLized).
2003-05-14 01:33:01 +02:00
BUILD_USES_MSGFMT= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc/html/xdialog
EGDIR= ${PREFIX}/share/examples/xdialog
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.png ${DOCDIR}
${INSTALL_DATA_DIR} ${EGDIR}
for f in Xmessage Xmore buildlist calendar chain checklist \
dselect editbox fselect gauge infobox infobox2 inputbox \
logbox logbox2 login menubox msgbox radiolist rangebox \
tailbox textbox timebox treeview yesno; \
do \
${INSTALL_SCRIPT} ${WRKSRC}/samples/$${f} ${EGDIR}; \
done
2004-04-19 06:53:58 +02:00
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"