Package: motif / 2.3.4-13

Metadata

Package Version Patches format
motif 2.3.4-13 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 fix autoconf.patch | (download)

configure.ac | 15 7 + 8 - 0 !
1 file changed, 7 insertions(+), 8 deletions(-)

 update build system to satisfy latest automake/autoconf
 This is part of the patch submitted by Adam Sampson,
 so we can build without having to provide AUTHORS and NEWS files
 .
 Adam licensed his patch under MIT license (whatever that means ;) )
02 fix format security.patch | (download)

lib/Mrm/Mrmhier.c | 4 2 + 2 - 0 !
lib/Mrm/Mrmicon.c | 4 2 + 2 - 0 !
lib/Mrm/Mrmlread.c | 2 1 + 1 - 0 !
lib/Mrm/Mrmwcrw.c | 4 2 + 2 - 0 !
tools/wml/wmlouth.c | 118 59 + 59 - 0 !
tools/wml/wmloutkey.c | 10 5 + 5 - 0 !
tools/wml/wmloutmm.c | 8 4 + 4 - 0 !
7 files changed, 75 insertions(+), 75 deletions(-)

 fix unsafe uses of fprintf and sprintf
 prevent 'format not a string literal and no format arguments' errors
03 no demos.patch | (download)

Makefile.am | 3 2 + 1 - 0 !
configure.ac | 24 21 + 3 - 0 !
2 files changed, 23 insertions(+), 4 deletions(-)

 add option to disable building of demos
04 add debian menu structure to system.mwmrc menu.patch | (download)

clients/mwm/system.mwmrc | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 add debian menu structure to system.mwmrc-menu
05 multiarch specialcase libdir X11.patch | (download)

configure.ac | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 relocate non-libs from /usr/lib/x11
 For multiarch support, we change libdir to /usr/lib/$(DEB_HOST_MULTIARCH).
 However, we do not want to do this to /usr/lib/X11 yet.
 .
 Note that XMBINDDIR_FALLBACK should really be set to /usr/share/X11/bindings
 since the files are platform-independent. We postpone moving them until a
 decision has been reached on libmotif-common.
 .
 The configure.ac fixes are minimal and only suitable for Debian/Ubuntu
 packaging. For upstream one might want to add a command line option.
 .
 Sergio Gelato, 2012-05-20.
 .
 Allow the MWM resources and fallback bindings directories to be customized
 with the --with-mwmrcdir and --xmbinddir configure options respectively.
 Now we can relocate non-library files from /usr/lib/X11 to /usr/share/X11
 (bindings) and /etc/X11/mwm (MWM resources) in debian/rules, allowing us to
 split motif into architecture-dependent and architecture-independent packages.
 .
 Graham Inggs, 2013-03-12.
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673690
06 cast size_t to int.patch | (download)

tools/wml/wmloutkey.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 to prevent build failure during building with hardening options
 enabled due to "format '%d' expects argument of type 'int', but argument 5 has
 type 'size_t'", the fifth argument is cast to integer on the input.
07 fix_lintian_reported_manpage_typos.patch | (download)

doc/man/man1/mwm.1 | 2 1 + 1 - 0 !
doc/man/man3/VendorShell.3 | 2 1 + 1 - 0 !
doc/man/man3/XmComboBox.3 | 2 1 + 1 - 0 !
doc/man/man3/XmFontListEntryLoad.3 | 2 1 + 1 - 0 !
doc/man/man3/XmFontSelector.3 | 2 1 + 1 - 0 !
doc/man/man3/XmFrame.3 | 2 1 + 1 - 0 !
doc/man/man3/XmGetPixmap.3 | 2 1 + 1 - 0 !
doc/man/man3/XmGetPixmapByDepth.3 | 2 1 + 1 - 0 !
doc/man/man3/XmHierarchyGetChildNodes.3 | 4 2 + 2 - 0 !
doc/man/man3/XmIconButton.3 | 2 1 + 1 - 0 !
doc/man/man3/XmLabel.3 | 2 1 + 1 - 0 !
doc/man/man3/XmManager.3 | 2 1 + 1 - 0 !
doc/man/man3/XmNotebook.3 | 2 1 + 1 - 0 !
doc/man/man3/XmPrimitive.3 | 2 1 + 1 - 0 !
doc/man/man3/XmPrintSetup.3 | 2 1 + 1 - 0 !
doc/man/man3/XmRendition.3 | 2 1 + 1 - 0 !
doc/man/man3/XmSlideContext.3 | 2 1 + 1 - 0 !
doc/man/man3/XmStringGetNextComponent.3 | 2 1 + 1 - 0 !
doc/man/man3/XmStringToXmStringTable.3 | 2 1 + 1 - 0 !
doc/man/man3/XmTabStack.3 | 2 1 + 1 - 0 !
doc/man/man3/XmTabStackXYToWidget.3 | 2 1 + 1 - 0 !
doc/man/man4/mwmrc.4 | 2 1 + 1 - 0 !
doc/man/man5/UIL.5 | 2 1 + 1 - 0 !
23 files changed, 24 insertions(+), 24 deletions(-)

 lintian reports several typos in manpages. this patch fixes those
 reported
08 fix_hyphen_in_man_pages.patch | (download)

doc/man/man1/mwm.1 | 8 4 + 4 - 0 !
doc/man/man3/XmFontList.3 | 8 4 + 4 - 0 !
doc/man/man3/XmGetPixmapByDepth.3 | 4 2 + 2 - 0 !
doc/man/man3/XmList.3 | 2 1 + 1 - 0 !
doc/man/man3/XmScreen.3 | 2 1 + 1 - 0 !
doc/man/man3/XmTabListCopy.3 | 2 1 + 1 - 0 !
doc/man/man3/XmTabListInsertTabs.3 | 2 1 + 1 - 0 !
doc/man/man4/mwmrc.4 | 2 1 + 1 - 0 !
doc/man/man5/UIL.5 | 4 2 + 2 - 0 !
9 files changed, 17 insertions(+), 17 deletions(-)

 lintian reports hyphen misuse in manpages. this patch fixes those
 reported.
09 fix_typo_in_libxm.patch | (download)

lib/Xm/FontS.c | 4 2 + 2 - 0 !
lib/Xm/Messages.c | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 lintian reports a typo in libxm. this patch fixes it.
10 fix_manpage has bad whatis entry.patch | (download)

doc/man/man3/XmColorSelector.3 | 2 1 + 1 - 0 !
doc/man/man3/XmExt18List.3 | 2 1 + 1 - 0 !
doc/man/man3/XmFontSelector.3 | 2 1 + 1 - 0 !
doc/man/man3/XmIconButton.3 | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 lintian reports bad whatis entries in manpages. fixing here
11 fix_underlinking.patch | (download)

clients/mwm/Makefile.am | 2 1 + 1 - 0 !
clients/uil/Makefile.am | 4 2 + 2 - 0 !
clients/xmbind/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch05/Scale/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch06/combo_box/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch06/spin_box/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch08/Container/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch08/Notebook/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch16/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch17/simple_drag/Makefile.am | 2 1 + 1 - 0 !
demos/doc/programGuide/ch17/simple_drop/Makefile.am | 2 1 + 1 - 0 !
demos/lib/Exm/wml/Makefile.am | 2 1 + 1 - 0 !
demos/lib/Xmd/Makefile.am | 2 1 + 1 - 0 !
demos/programs/ButtonBox/Makefile.am | 2 1 + 1 - 0 !
demos/programs/ColorSel/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Column/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Combo2/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Exm/app_in_c/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Exm/simple_app/Makefile.am | 5 3 + 2 - 0 !
demos/programs/Ext18List/Makefile.am | 2 1 + 1 - 0 !
demos/programs/FontSel/Makefile.am | 2 1 + 1 - 0 !
demos/programs/IconB/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Outline/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Paned/Makefile.am | 2 1 + 1 - 0 !
demos/programs/TabStack/Makefile.am | 2 1 + 1 - 0 !
demos/programs/Tree/Makefile.am | 2 1 + 1 - 0 !
demos/programs/airport/Makefile.am | 2 1 + 1 - 0 !
demos/programs/animate/Makefile.am | 2 1 + 1 - 0 !
demos/programs/drag_and_drop/Makefile.am | 2 1 + 1 - 0 !
demos/programs/draw/Makefile.am | 2 1 + 1 - 0 !
demos/programs/earth/Makefile.am | 2 1 + 1 - 0 !
demos/programs/filemanager/Makefile.am | 2 1 + 1 - 0 !
demos/programs/fileview/Makefile.am | 2 1 + 1 - 0 !
demos/programs/getsubres/Makefile.am | 2 1 + 1 - 0 !
demos/programs/hellomotif/Makefile.am | 2 1 + 1 - 0 !
demos/programs/hellomotifi18n/Makefile.am | 2 1 + 1 - 0 !
demos/programs/i18ninput/Makefile.am | 2 1 + 1 - 0 !
demos/programs/panner/Makefile.am | 2 1 + 1 - 0 !
demos/programs/periodic/Makefile.am | 2 1 + 1 - 0 !
demos/programs/piano/Makefile.am | 2 1 + 1 - 0 !
demos/programs/popups/Makefile.am | 2 1 + 1 - 0 !
demos/programs/sampler2_0/Makefile.am | 2 1 + 1 - 0 !
demos/programs/setdate/Makefile.am | 2 1 + 1 - 0 !
demos/programs/todo/Makefile.am | 2 1 + 1 - 0 !
demos/programs/tooltips/Makefile.am | 2 1 + 1 - 0 !
demos/programs/workspace/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/aicon/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/dainput/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/dogs/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/hellomotif/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/motifshell/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/xmapdef/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/xmfonts/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/xmforc/Makefile.am | 2 1 + 1 - 0 !
demos/unsupported/xmform/Makefile.am | 2 1 + 1 - 0 !
tools/wml/Makefile.am | 2 1 + 1 - 0 !
56 files changed, 59 insertions(+), 58 deletions(-)

 fix underlinking of libxt, libxext and libx11
 Recent changes to default linker behaviour prevent shared libraries from being
 indirectly linked, resulting in FTBFS in Ubuntu Raring.
 .
 This patch fixes this by explicitly linking libXt, libXext and libX11 wherever
 necessary.  Demos are patched even though they are not built for distribution.
12 fix_buffer_overrun_in_libxm.patch | (download)

lib/Xm/FontS.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix buffer overrun in libxm (fonts.c)
13 fix_hardcoded_x11rgb_path.patch | (download)

configure.ac | 4 4 + 0 - 0 !
lib/Xm/ColorS.c | 6 5 + 1 - 0 !
lib/Xm/Makefile.am | 1 1 + 0 - 0 !
3 files changed, 10 insertions(+), 1 deletion(-)

 fix hardcoded path to /usr/lib/x11/rgb.txt in lib/xm/colors.c
 LibXm is hardcoded to read rgb.txt from /usr/lib/X11 but this file, provided
 by x11-common in Debian, is located in /etc/X11 and /usr/share/X11 via symlink.
 .
 This patch fixes this by allowing the directory in which rgb.txt resides to be
 customized by the --with-x11rgbdir=DIR configure option.
14 fix_ac_find_xft.patch | (download)

ac_find_xft.m4 | 32 22 + 10 - 0 !
1 file changed, 22 insertions(+), 10 deletions(-)

 fix ac_find_xft.m4
 ac_find_xft.m4 fails tests required to enable building with Xft anti-aliased fonts.
 We also need to add -lfontconfig to LIBS to prevent underlinking of libXm.
 .
 This patch fixes these.  Build-depends on libfontconfig1-dev, libfreetype6-dev and
 libxrender-dev can be dropped as they are all dependencies of libxft-dev.
15 link_uil_against_libuil.patch | (download)

clients/uil/Makefile.am | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 link the uil executable against libuil
 Linking the uil executable againt libUil instead of compiling with the libUil
 code results in a reduction in size of the uil executable from about 348KB
 to about 16KB.
 .
 This patch originates from Red Hat.
16 fix undefined use of sprintf.patch | (download)

lib/Xm/XmRenderT.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix undefined use of sprintf
 This patch fixes the undefined use of sprintf when the
 source and destination buffers overlap.
17 switch to system iswspace.patch | (download)

lib/Xm/DataF.c | 95 12 + 83 - 0 !
lib/Xm/TextF.c | 86 12 + 74 - 0 !
2 files changed, 24 insertions(+), 157 deletions(-)

 switch to system iswspace() function
 This patch replaces calls to _XmDataFieldIsWSpace() in lib/Xm/DataF.c
 and _XmTextFieldIsWSpace() in lib/Xm/TextF.c with calls to the system
 iswspace() function.
 .
 It fixes an array bounds error in lib/Xm/DataF.c where 
 _XmDataFieldIsWSpace() is called with num_entries = 3.
 .
 Updated to include wctype.h to avoid implicit declaration warnings.
 .
 For testing purposes, there is an XmTextField object that allows
 alphanumeric characters in demos/programs/i18ninput, and there
 are XmDataField objects in demos/programs/Column.
18 updated fix 1565.patch | (download)

lib/Xm/ComboBox.c | 8 8 + 0 - 0 !
lib/Xm/DropDown.c | 7 7 + 0 - 0 !
lib/Xm/GrabShell.c | 16 14 + 2 - 0 !
lib/Xm/GrabShellP.h | 4 4 + 0 - 0 !
lib/Xm/MenuShell.c | 2 0 + 2 - 0 !
lib/Xm/MenuUtil.c | 4 0 + 4 - 0 !
lib/Xm/RCMenu.c | 40 40 + 0 - 0 !
lib/Xm/Xm.c | 174 174 + 0 - 0 !
lib/Xm/XmI.h | 4 3 + 1 - 0 !
9 files changed, 250 insertions(+), 9 deletions(-)

 updated fix for upstream bug #1565
 This patch fixes the problem introduced by fix #1565, included in
 Motif 2.3.4, which breaks keyboard navigation in menus.
19 fix type inconsistencies.patch | (download)

demos/lib/Xmd/RegEdit.c | 2 1 + 1 - 0 !
lib/Xm/DataFSel.c | 4 2 + 2 - 0 !
lib/Xm/EditresComI.h | 2 1 + 1 - 0 !
lib/Xm/TabStack.c | 2 1 + 1 - 0 !
tools/wml/wml.c | 2 1 + 1 - 0 !
5 files changed, 6 insertions(+), 6 deletions(-)

 fix type inconsistencies
 This patch fixes various type inconsistencies reported by goto-cc
 from the cbmc package.
 .
 The yyleng fix in tools/wml/wml.c requires flex >= 2.5.36.
20 fix 1612.patch | (download)

lib/Xm/Form.c | 58 56 + 2 - 0 !
1 file changed, 56 insertions(+), 2 deletions(-)

 fix for upstream bug #1612
 This patch fixes the Label size being computed incorrectly within
 a Form when the label increases in width.
 .
 This patch also solves a similar issue where other widgets attached
 on one side in the horizontal or vertical direction grew more
 than the form size.
21 fix 1636.patch | (download)

lib/Xm/List.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 fix for upstream bug #1636
 This patch fixes a segfault in XmList when left-shift,
 left-button click on list item.
22 fix function implicitly converted to pointer.patch | (download)

demos/programs/TabStack/creation.h | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix function implicitly converted to a pointer
 This patch cherry-picks the fix for function 'Createform' implicitly
 converted to a pointer at main.c:113 in TabStack demo.
 .
 This problem was detected by an automated build log filter on the
 Ubuntu buildds while building the Motif demos.
23 disable fix 1565.patch | (download)

lib/Xm/XmI.h | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 disable fix for upstream bug #1565
 This patch reverts the changes introduced by upstream's fix for
 upstream bug #1565 and causes pop menus and keyboard navigation in
 menus to revert to their Motif 2.3.3 behaviour.
 .
 Upstream's original fix broke keyboard navigation in menus (#730026)
 and upstream's updated fix (applied in motif 2.3.4-5) caused segfaults
 in ddd and xpdf (#781995).
24 uil cyrillic locales.patch | (download)

tools/wml/motif.wml | 14 13 + 1 - 0 !
1 file changed, 13 insertions(+), 1 deletion(-)

 add support for more cyrillic locales in uil
 Support has been added for "ISO-8859-5" (without the patch, LANG=ru_RU
 is valid while LANG=ru_RU.ISO-8859-5 is not), "CP1251" and "IBM866"
 charsets.
25 fix 1654.patch | (download)

lib/Xm/LabelG.c | 13 11 + 2 - 0 !
1 file changed, 11 insertions(+), 2 deletions(-)

 fix for upstream bug #1654
 This patch fixes rendering issues seen while scrolling window.
26 fix parallel build.patch | (download)

demos/lib/Exm/wml/Makefile.am | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix parallel building (make -j) error