debian/0000755000000000000000000000000012165565532007200 5ustar debian/xmhtml1.symbols0000644000000000000000000002646212165564610012212 0ustar libXmHTML.so.1 xmhtml1 #MINVER# ColorAtomList@Base 1.1.7 GrayAtomList@Base 1.1.7 HashCreate@Base 1.1.7 HashDelete@Base 1.1.7 HashDestroy@Base 1.1.7 HashGet@Base 1.1.7 HashInit@Base 1.1.7 HashPut@Base 1.1.7 LZWStreamConvert@Base 1.1.7 LZWStreamCreate@Base 1.1.7 LZWStreamDestroy@Base 1.1.7 LZWStreamFillBuffer@Base 1.1.7 LZWStreamGetCodeSize@Base 1.1.7 LZWStreamInit@Base 1.1.7 LZWStreamUncompress@Base 1.1.7 PaintBackground@Base 1.1.7 StackCreate@Base 1.1.7 StackCreateDouble@Base 1.1.7 StackDestroy@Base 1.1.7 StackPopData@Base 1.1.7 StackPopDoubleData@Base 1.1.7 StackPushData@Base 1.1.7 StackPushDoubleData@Base 1.1.7 StackSize@Base 1.1.7 ToAsciiLower@Base 1.1.7 ToAsciiUpper@Base 1.1.7 ToRomanLower@Base 1.1.7 ToRomanUpper@Base 1.1.7 XCCAddPalette@Base 1.1.7 XCCCreate@Base 1.1.7 XCCFree@Base 1.1.7 XCCFreeDither@Base 1.1.7 XCCGetClass@Base 1.1.7 XCCGetColor@Base 1.1.7 XCCGetColormap@Base 1.1.7 XCCGetDepth@Base 1.1.7 XCCGetDisplay@Base 1.1.7 XCCGetIndexFromPalette@Base 1.1.7 XCCGetNumColors@Base 1.1.7 XCCGetParentVisual@Base 1.1.7 XCCGetPixel@Base 1.1.7 XCCGetPixelFromPalette@Base 1.1.7 XCCGetPixels@Base 1.1.7 XCCGetPixelsIncremental@Base 1.1.7 XCCGetVisual@Base 1.1.7 XCCGetVisualInfo@Base 1.1.7 XCCInitDither@Base 1.1.7 XCCMonoCreate@Base 1.1.7 XCCQueryColor@Base 1.1.7 XCCQueryColors@Base 1.1.7 XmBalloonPopdown@Base 1.1.7 XmBalloonPopup@Base 1.1.7 XmCreateBalloon@Base 1.1.7 XmCreateHTML@Base 1.1.7 XmHTMLAllocColor@Base 1.1.7 XmHTMLAnchorGetId@Base 1.1.7 XmHTMLAnchorReEval@Base 1.1.7 XmHTMLAnchorScrollToId@Base 1.1.7 XmHTMLAnchorScrollToName@Base 1.1.7 XmHTMLAnchorVisibleById@Base 1.1.7 XmHTMLAnchorVisibleByName@Base 1.1.7 XmHTMLFrameGetChild@Base 1.1.7 XmHTMLFreeColor@Base 1.1.7 XmHTMLFreeDocumentInfo@Base 1.1.7 XmHTMLFreeFontCacheInfo@Base 1.1.7 XmHTMLGIFtoGZF@Base 1.1.7 XmHTMLGetDocumentInfo@Base 1.1.7 XmHTMLGetFontCacheInfo@Base 1.1.7 XmHTMLGetHeadAttributes@Base 1.1.7 XmHTMLGetTitle@Base 1.1.7 XmHTMLGetURLType@Base 1.1.7 XmHTMLGetVersion@Base 1.1.7 XmHTMLGetVersionString@Base 1.1.7 XmHTMLImageAddImageMap@Base 1.1.7 XmHTMLImageDefaultProc@Base 1.1.7 XmHTMLImageFreeAllImages@Base 1.1.7 XmHTMLImageFreeImageInfo@Base 1.1.7 XmHTMLImageGZFSupported@Base 1.1.7 XmHTMLImageGetImageInfoSize@Base 1.1.7 XmHTMLImageGetType@Base 1.1.7 XmHTMLImageJPEGSupported@Base 1.1.7 XmHTMLImagePNGSupported@Base 1.1.7 XmHTMLImageProgressiveContinue@Base 1.1.7 XmHTMLImageProgressiveKill@Base 1.1.7 XmHTMLImageProgressiveSuspend@Base 1.1.7 XmHTMLImageReplace@Base 1.1.7 XmHTMLImageUpdate@Base 1.1.7 XmHTMLRedisplay@Base 1.1.7 XmHTMLTagCheck@Base 1.1.7 XmHTMLTagCheckNumber@Base 1.1.7 XmHTMLTagCheckValue@Base 1.1.7 XmHTMLTagGetNumber@Base 1.1.7 XmHTMLTagGetValue@Base 1.1.7 XmHTMLTextClearSelection@Base 1.1.7 XmHTMLTextCopy@Base 1.1.7 XmHTMLTextFindString@Base 1.1.7 XmHTMLTextFindToPosition@Base 1.1.7 XmHTMLTextFinderCreate@Base 1.1.7 XmHTMLTextFinderDestroy@Base 1.1.7 XmHTMLTextFinderGetError@Base 1.1.7 XmHTMLTextFinderGetErrorString@Base 1.1.7 XmHTMLTextFinderReset@Base 1.1.7 XmHTMLTextFinderSetPattern@Base 1.1.7 XmHTMLTextFinderSetPatternFlags@Base 1.1.7 XmHTMLTextGetFormatted@Base 1.1.7 XmHTMLTextGetSelection@Base 1.1.7 XmHTMLTextGetSource@Base 1.1.7 XmHTMLTextGetString@Base 1.1.7 XmHTMLTextScrollToLine@Base 1.1.7 XmHTMLTextSetHighlight@Base 1.1.7 XmHTMLTextSetSelection@Base 1.1.7 XmHTMLTextSetString@Base 1.1.7 XmHTMLTextSetStringWithLength@Base 1.1.7 XmHTMLTextShowPosition@Base 1.1.7 XmHTMLTkaCopy@Base 1.1.7 XmHTMLTkaCreate@Base 1.1.7 XmHTMLTkaDestroy@Base 1.1.7 XmHTMLTkaRecomputeColors@Base 1.1.7 XmHTMLTkaRecomputeHighlightColor@Base 1.1.7 XmHTMLTkaRecomputeShadowColors@Base 1.1.7 XmHTMLTkaSetDisplay@Base 1.1.7 XmHTMLTkaSetDrawable@Base 1.1.7 XmHTMLXYToInfo@Base 1.1.7 XmImageCreate@Base 1.1.7 XmImageCreateFromInfo@Base 1.1.7 XmImageDestroy@Base 1.1.7 XmImageDrawImage@Base 1.1.7 XmImageExport@Base 1.1.7 XmImageGifProc_plugin@Base 1.1.7 XmImageGifzCmd_plugin@Base 1.1.7 XmImageSetBackgroundImage@Base 1.1.7 _PLCDataRequest@Base 1.1.7 _PLCGetDataBlock@Base 1.1.7 _PLCReadOK@Base 1.1.7 _PLC_GIF_Destructor@Base 1.1.7 _PLC_GIF_Init@Base 1.1.7 _PLC_GIF_ScanlineProc@Base 1.1.7 _PLC_GZF_Destructor@Base 1.1.7 _PLC_GZF_Init@Base 1.1.7 _PLC_GZF_ScanlineProc@Base 1.1.7 _PLC_JPEG_Destructor@Base 1.1.7 _PLC_JPEG_Init@Base 1.1.7 _PLC_JPEG_ScanlineProc@Base 1.1.7 _PLC_XBM_Destructor@Base 1.1.7 _PLC_XBM_Init@Base 1.1.7 _PLC_XBM_ScanlineProc@Base 1.1.7 _PLC_XPM_Destructor@Base 1.1.7 _PLC_XPM_Init@Base 1.1.7 _PLC_XPM_ScanlineProc@Base 1.1.7 _ParserCheckElementContent@Base 1.1.7 _ParserCheckElementOccurance@Base 1.1.7 _ParserClearStack@Base 1.1.7 _ParserCopyElement@Base 1.1.7 _ParserCreate@Base 1.1.7 _ParserCutComment@Base 1.1.7 _ParserDelete@Base 1.1.7 _ParserInsertElement@Base 1.1.7 _ParserInsertTextElement@Base 1.1.7 _ParserNewObject@Base 1.1.7 _ParserOnStack@Base 1.1.7 _ParserPopState@Base 1.1.7 _ParserPushState@Base 1.1.7 _ParserStoreElement@Base 1.1.7 _ParserStoreTextElement@Base 1.1.7 _ParserStoreTextElementRtoL@Base 1.1.7 _ParserTerminateElement@Base 1.1.7 _ParserTokenToId@Base 1.1.7 _ParserVerify@Base 1.1.7 _ParserVerifyVerification@Base 1.1.7 _XCCHashDelete@Base 1.1.7 _XCCHashDestroy@Base 1.1.7 _XCCHashGet@Base 1.1.7 _XCCHashInit@Base 1.1.7 _XCCHashPut@Base 1.1.7 _XmHTMLActivateCallback@Base 1.1.7 _XmHTMLAddAreaToMap@Base 1.1.7 _XmHTMLAddDebugMenu@Base 1.1.7 _XmHTMLAddPalette@Base 1.1.7 _XmHTMLAdjustVerticalScrollValue@Base 1.1.7 _XmHTMLAllocError@Base 1.1.7 _XmHTMLArmCallback@Base 1.1.7 _XmHTMLAutoSizeWidget@Base 1.1.7 _XmHTMLCheckBodyEvents@Base 1.1.7 _XmHTMLCheckCoreEvents@Base 1.1.7 _XmHTMLCheckForFrames@Base 1.1.7 _XmHTMLCheckFormEvents@Base 1.1.7 _XmHTMLCheckGC@Base 1.1.7 _XmHTMLCheckImagemaps@Base 1.1.7 _XmHTMLCheckMaxColorSetting@Base 1.1.7 _XmHTMLCheckScrollBars@Base 1.1.7 _XmHTMLCheckXCC@Base 1.1.7 _XmHTMLClearArea@Base 1.1.7 _XmHTMLComputeLayout@Base 1.1.7 _XmHTMLConfirmColor32@Base 1.1.7 _XmHTMLConvert24to8@Base 1.1.7 _XmHTMLCreateFrame@Base 1.1.7 _XmHTMLCreateFrames@Base 1.1.7 _XmHTMLCreateImagemap@Base 1.1.7 _XmHTMLCreateXImage@Base 1.1.7 _XmHTMLCreateXpmFromData@Base 1.1.7 _XmHTMLCvtStringToWarning@Base 1.1.7 _XmHTMLDestroyFrames@Base 1.1.7 _XmHTMLDestroyPhaseZero@Base 1.1.7 _XmHTMLDitherImage@Base 1.1.7 _XmHTMLDocumentCallback@Base 1.1.7 _XmHTMLDrawImage@Base 1.1.7 _XmHTMLDrawImagemapSelection@Base 1.1.7 _XmHTMLEndForm@Base 1.1.7 _XmHTMLEventFreeDatabase@Base 1.1.7 _XmHTMLEventProcess@Base 1.1.7 _XmHTMLExpandEscapes@Base 1.1.7 _XmHTMLFillXImage@Base 1.1.7 _XmHTMLFocusInCallback@Base 1.1.7 _XmHTMLFocusOutCallback@Base 1.1.7 _XmHTMLFormActivate@Base 1.1.7 _XmHTMLFormAddInput@Base 1.1.7 _XmHTMLFormAddSelect@Base 1.1.7 _XmHTMLFormAddTextArea@Base 1.1.7 _XmHTMLFormCreateClipmask@Base 1.1.7 _XmHTMLFormReset@Base 1.1.7 _XmHTMLFormSelectAddOption@Base 1.1.7 _XmHTMLFormSelectClose@Base 1.1.7 _XmHTMLFrameCreateCallback@Base 1.1.7 _XmHTMLFrameDestroyCallback@Base 1.1.7 _XmHTMLFrameDoneCallback@Base 1.1.7 _XmHTMLFreeExpendableResources@Base 1.1.7 _XmHTMLFreeForm@Base 1.1.7 _XmHTMLFreeImage@Base 1.1.7 _XmHTMLFreeImageInfo@Base 1.1.7 _XmHTMLFreeImageMaps@Base 1.1.7 _XmHTMLFreeObjects@Base 1.1.7 _XmHTMLGetAnchor@Base 1.1.7 _XmHTMLGetAnchorByName@Base 1.1.7 _XmHTMLGetAnchorByValue@Base 1.1.7 _XmHTMLGetAnchorFromMap@Base 1.1.7 _XmHTMLGetFraming@Base 1.1.7 _XmHTMLGetHorizontalAlignment@Base 1.1.7 _XmHTMLGetImageAlignment@Base 1.1.7 _XmHTMLGetImageAnchor@Base 1.1.7 _XmHTMLGetImageType@Base 1.1.7 _XmHTMLGetImagemap@Base 1.1.7 _XmHTMLGetLineObject@Base 1.1.7 _XmHTMLGetMaxLineLength@Base 1.1.7 _XmHTMLGetPixelByName@Base 1.1.7 _XmHTMLGetRuling@Base 1.1.7 _XmHTMLGetScrollDim@Base 1.1.7 _XmHTMLGetVerticalAlignment@Base 1.1.7 _XmHTMLGifAnimInit@Base 1.1.7 _XmHTMLGifAnimNextFrame@Base 1.1.7 _XmHTMLGifAnimTerminate@Base 1.1.7 _XmHTMLGifGetDataBlock@Base 1.1.7 _XmHTMLGifReadOK@Base 1.1.7 _XmHTMLIconEntities@Base 1.1.7 _XmHTMLImageCheckDelayedCreation@Base 1.1.7 _XmHTMLImageFileToBuffer@Base 1.1.7 _XmHTMLImageGetIconAttribs@Base 1.1.7 _XmHTMLImageUpdateChilds@Base 1.1.7 _XmHTMLImagemapCallback@Base 1.1.7 _XmHTMLInfoToPixmap@Base 1.1.7 _XmHTMLInputCallback@Base 1.1.7 _XmHTMLIsGifAnimated@Base 1.1.7 _XmHTMLIsGzfAnimated@Base 1.1.7 _XmHTMLKillPLCCycler@Base 1.1.7 _XmHTMLLayout@Base 1.1.7 _XmHTMLLinkCallback@Base 1.1.7 _XmHTMLLoadBodyImage@Base 1.1.7 _XmHTMLLoadFont@Base 1.1.7 _XmHTMLLoadFontWithFace@Base 1.1.7 _XmHTMLMakeAnimation@Base 1.1.7 _XmHTMLMessages@Base 1.1.7-19~ _XmHTMLMotionCallback@Base 1.1.7 _XmHTMLMoveToPos@Base 1.1.7 _XmHTMLNewAnchor@Base 1.1.7 _XmHTMLNewImage@Base 1.1.7 _XmHTMLObjectCreateCallback@Base 1.1.7 _XmHTMLOnImage@Base 1.1.7 _XmHTMLPLCCheckIntervals@Base 1.1.7 _XmHTMLPLCCreate@Base 1.1.7 _XmHTMLPLCCycler@Base 1.1.7 _XmHTMLPaint@Base 1.1.7 _XmHTMLPaintAnchorEntry@Base 1.1.7 _XmHTMLPaintAnchorLeave@Base 1.1.7 _XmHTMLPaintAnchorSelected@Base 1.1.7 _XmHTMLPaintAnchorUnSelected@Base 1.1.7 _XmHTMLPixelizeRGB@Base 1.1.7 _XmHTMLProcessTraversal@Base 1.1.7 _XmHTMLQuantizeImage@Base 1.1.7 _XmHTMLRaiseFormWidgets@Base 1.1.7 _XmHTMLReReadPNG@Base 1.1.7 _XmHTMLReadBitmap@Base 1.1.7 _XmHTMLReadFLG@Base 1.1.7 _XmHTMLReadGIF@Base 1.1.7 _XmHTMLReadJPEG@Base 1.1.7 _XmHTMLReadPNG@Base 1.1.7 _XmHTMLReadXPM@Base 1.1.7 _XmHTMLReconfigureFrames@Base 1.1.7 _XmHTMLRefresh@Base 1.1.7 _XmHTMLReleaseImage@Base 1.1.7 _XmHTMLReplaceOrUpdateImage@Base 1.1.7 _XmHTMLReset@Base 1.1.7 _XmHTMLResize@Base 1.1.7 _XmHTMLRestartAnimations@Base 1.1.7 _XmHTMLScrollForm@Base 1.1.7 _XmHTMLScrollObjects@Base 1.1.7 _XmHTMLScrollToLine@Base 1.1.7 _XmHTMLSelectFontCache@Base 1.1.7 _XmHTMLSetCurrentLineNumber@Base 1.1.7 _XmHTMLStartForm@Base 1.1.7 _XmHTMLStoreImagemap@Base 1.1.7 _XmHTMLStrings@Base 1.1.7-19~ _XmHTMLTagCheck@Base 1.1.7 _XmHTMLTagCheckNumber@Base 1.1.7 _XmHTMLTagCheckValue@Base 1.1.7 _XmHTMLTagGetNumber@Base 1.1.7 _XmHTMLTagGetValue@Base 1.1.7 _XmHTMLTextCheckAndConvertPaperDef@Base 1.1.7 _XmHTMLTextGetFormatted@Base 1.1.7 _XmHTMLTextGetPS@Base 1.1.7 _XmHTMLTextGetPlain@Base 1.1.7 _XmHTMLTextGetString@Base 1.1.7 _XmHTMLTrackCallback@Base 1.1.7 _XmHTMLUnloadFonts@Base 1.1.7 _XmHTMLVerticalPosToLine@Base 1.1.7 _XmHTMLaddFontMapping@Base 1.1.7 _XmHTMLformatObjects@Base 1.1.7 _XmHTMLparseHTML@Base 1.1.7 __XmHTMLBadParent@Base 1.1.7 __XmHTMLError@Base 1.1.7 __XmHTMLWarning@Base 1.1.7 __my_translation_table@Base 1.1.7 __rsd__debug_full@Base 1.1.7 __rsd__debug_levels_defined@Base 1.1.7 __rsd_calloc@Base 1.1.7 __rsd_fprintf@Base 1.1.7 __rsd_free@Base 1.1.7 __rsd_initDebug@Base 1.1.7 __rsd_malloc@Base 1.1.7 __rsd_realloc@Base 1.1.7 __rsd_selectDebugLevels@Base 1.1.7 __rsd_setDebugLevels@Base 1.1.7 __rsd_strdup@Base 1.1.7 #MISSING: 1.1.7-14# _etext@Base 1.1.7 _xmimage_cfg@Base 1.1.7 bitmap_bits@Base 1.1.7 checkObjects@Base 1.1.7 debug_disable_warnings@Base 1.1.7 dumpLines@Base 1.1.7 dumpObjects@Base 1.1.7 fillCacheInfo@Base 1.1.7 html_tokens@Base 1.1.7 lzw_debug@Base 1.1.7 my_locase@Base 1.1.7 my_strcasestr@Base 1.1.7 my_strndup@Base 1.1.7 my_upcase@Base 1.1.7 no_non_std_tokens@Base 1.1.7 non_std_token@Base 1.1.7 stringToToken@Base 1.1.7 xmBalloonClassRec@Base 1.1.7 xmBalloonWidgetClass@Base 1.1.7 xmHTMLClassRec@Base 1.1.7 xmHTMLWidgetClass@Base 1.1.7 xmhtml_basefont_sizes@Base 1.1.7 xmhtml_event_names@Base 1.1.7 xmhtml_fn_fixed_sizes@Base 1.1.7 xmhtml_fn_sizes@Base 1.1.7 debian/control0000644000000000000000000000314012165564610010575 0ustar Source: xmhtml Section: libs Priority: optional Maintainer: Graham Inggs Uploaders: Paul Gevers Build-Depends: debhelper (>= 9), libjpeg-dev, libmotif-dev, libpng-dev, libxmu-dev, libxpm-dev Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xmhtml.git Vcs-Git: git://anonscm.debian.org/collab-maint/xmhtml.git Package: xmhtml1-dev Architecture: any Multi-Arch: same Depends: libc6-dev, libmotif-dev, xmhtml1 (= ${binary:Version}), ${misc:Depends} Provides: xmhtml-dev Conflicts: xmhtml-dev Section: libdevel Description: Motif widget for displaying HTML 3.2 (development files) XmHTML is a high performance Motif Widget capable of displaying HTML 3.2 confirming text. Graphics support, lesstif compatibility and extensive documentation are amongst its many features. . This is the development kit, containing static libraries and header files necessary to build programs that use xmhtml. The runtime library is provided by the xmhtml package. Package: xmhtml1 Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Section: libs Description: Motif widget for displaying HTML 3.2 (library) XmHTML is a high performance Motif Widget capable of displaying HTML 3.2 confirming text. Graphics support, lesstif compatibility and extensive documentation are amongst its many features. . This package provides the runtime shared library. The xmhtml-dev package provides the header files, and the static library. debian/compat0000644000000000000000000000000212164624674010400 0ustar 9 debian/xmhtml1-dev.docs0000644000000000000000000000002412164624674012216 0ustar README TODO THANKS debian/xmhtml1.docs0000644000000000000000000000002412164624674011442 0ustar README TODO THANKS debian/rules0000755000000000000000000000224512164624674010265 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) version=$(shell expr `pwd` : '.*-\([0-9.]*\)') version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*') %: dh $@ --parallel override_dh_auto_build: dh_auto_build -- lib LDFLAGS+=-Wl,--as-needed CFLAGS+="-fPIC $(CPPFLAGS)" $(CC) -shared -Wl,-soname,libXmHTML.so.$(version_major) \ -o libXmHTML.so.$(version) lib/*/*.o \ -lXm -lXpm -lXt -lXext -lX11 -lpng -ljpeg -lz -lm $(LDFLAGS) override_dh_auto_install: # xmhtml1 install -d -o root -g root -m 755 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) install libXmHTML*.so* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) ln -s libXmHTML.so.$(version) \ debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libXmHTML.so.$(version_major) # xmhtml1-dev install -d -o root -g root -m 755 debian/tmp/usr/include/XmHTML install include/XmHTML/*.h debian/tmp/usr/include/XmHTML install lib/libXmHTML.a debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) ln -s libXmHTML.so.$(version_major) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libXmHTML.so chmod 644 debian/tmp/usr/include/XmHTML/*.h override_dh_auto_clean: dh_testroot $(RM) libXmHTML*.so* dh_auto_clean debian/xmhtml1-dev.install0000644000000000000000000000013312164624674012735 0ustar debian/tmp/usr/include/XmHTML/*.h debian/tmp/usr/lib/*/lib*.a debian/tmp/usr/lib/*/lib*.so debian/README.debian0000644000000000000000000000042712164624674011306 0ustar xmhtml for DEBIAN ---------------------- This package is a relatively quick packaging of just enough so that you can compile and use packages that use XmHTML. There are other tools and libraries in the source tarball that are not packaged. Torsten Werner debian/changelog0000644000000000000000000001300712165564730011052 0ustar xmhtml (1.1.7-19) unstable; urgency=low * New maintainer (Closes: #307363). * Build-depend on libmotif-dev instead of lesstif2-dev. * Add multiarch support. * Add xmhtml1.symbols file. * Update d/control: - Add Depends: xmhtml1 (= ${binary:Version}) and Section: libdevel to package xmhtml1-dev - Add Vcs-browser and Vcs-git sections * Update d/rules: - Remove -L/usr/X11R6/lib and explicity link -lXt -lXext -lX11 -lz and -lm * Bump standards-version to 3.9.4 (added vcs and symbols). -- Graham Inggs Mon, 17 Jun 2013 13:27:54 +0200 xmhtml (1.1.7-18) unstable; urgency=low * QA upload. * Bumped Standards-Version to 3.9.3 (was 3.6.0). * Bumped debhelper version to 9 (was 4.1.0); updated debian/compat. * Added files: debian/patches/fix-build-with-hardening-flags.patch and debian/patches/series. * Package switched from cdbs to dh: - deleted build dependency from cdbs - updated debian/rules * Updated file debian/xmhtml1-dev.docs, added file debian/xmhtml1.docs. * Fixed such lintian warnings and notes: - duplicate-short-description xmhtml1 xmhtml1-dev - package-uses-deprecated-debhelper-compat-version 4 - missing-debian-source-format - direct-changes-in-diff-but-no-patch-system Makefile and 8 more - old-fsf-address-in-copyright-file - description-synopsis-starts-with-article - hardening-no-relro usr/lib/libXmHTML.so.1.1.7 * Changed build dependency from libpng12-dev to libpng-dev. Added file debian/patches/fix-build-with-libpng15.patch. Build with libpng version 1.5.10 was tested successfully. (Closes: #662564) -- Boris Pek Tue, 26 Jun 2012 01:26:09 +0300 xmhtml (1.1.7-17) unstable; urgency=low * QA upload. * Allow for libmotif-dev to satisfy the lesstif2-dev dependency of xmhtml1-dev (Closes: #636610). -- Michael Hanke Mon, 23 Apr 2012 13:46:35 +0200 xmhtml (1.1.7-16) unstable; urgency=low * QA upload. * Build-depend on just libjpeg-dev, rather than on libjpeg62-dev | libjpeg-dev (see http://lists.debian.org/debian-devel-announce/2010/02/msg00006.html). * Appease gcc -Werror=format-security, now enabled by default. * Add ${misc:Depends}. -- Colin Watson Thu, 20 Oct 2011 18:40:19 +0100 xmhtml (1.1.7-15) unstable; urgency=low * Orphan the package. -- Torsten Werner Sun, 15 Feb 2009 20:57:59 +0100 xmhtml (1.1.7-14) unstable; urgency=low * added Build-Depends: libxmu-dev, libxpm-dev, closes: #256424 -- Torsten Werner Sun, 27 Jun 2004 21:38:38 +0200 xmhtml (1.1.7-13) unstable; urgency=low * converted from CBS to cdbs * include patch from grace sources * changed Standards-Version to 3.6.0 -- Torsten Werner Sat, 23 Aug 2003 19:03:20 +0200 xmhtml (1.1.7-12) unstable; urgency=low * rebuild with newer libpng12, closes: #196849 -- Torsten Werner Sat, 21 Jun 2003 16:19:02 +0200 xmhtml (1.1.7-11) unstable; urgency=low * really fixed disparity -- Torsten Werner Sat, 8 Mar 2003 19:30:44 +0100 xmhtml (1.1.7-10) unstable; urgency=low * linked against lesstif2 * fixed control file (override disparity), closes: #172894 * updated debian/rules -- Torsten Werner Sat, 8 Mar 2003 19:05:05 +0100 xmhtml (1.1.7-9) unstable; urgency=low * readded the lost -fPIC for compiling the shared library objects, closes: #172257 -- Torsten Werner Fri, 13 Dec 2002 11:08:19 +0100 xmhtml (1.1.7-8) unstable; urgency=low * converted to CBS -- Torsten Werner Thu, 5 Dec 2002 18:32:54 +0100 xmhtml (1.1.7-7) unstable; urgency=low * new maintainer, closes: #99004 -- Torsten Werner Fri, 14 Sep 2001 09:33:34 +0200 xmhtml (1.1.7-6.1) unstable; urgency=low * NMU * Added missing build-depends, closes: #107831 * Removed call to dh_suidregister -- Matthew Wilcox Wed, 8 Aug 2001 13:02:51 -0600 xmhtml (1.1.7-6) unstable; urgency=low * Set maintainer to Debian QA Team * Did the FHS transition. * Added Build-depends on debhelper and lesstif-dev. * Corrected GPL location in copyright file. * Raised Standards-verion to 3.5.0 -- Bas Zoetekouw Sat, 4 Aug 2001 17:22:58 +0200 xmhtml (1.1.7-5) unstable; urgency=low * Add missing dependency, recompile against new lesstif package. -- Tyson Dowd Tue, 19 Oct 1999 06:46:26 +0200 xmhtml (1.1.7-4) unstable; urgency=low * Recompiled against potato. Fixes #35002. -- Tyson Dowd Wed, 28 Jul 1999 00:36:18 +0200 xmhtml (1.1.7-3) unstable; urgency=low * Make sure the postinst is part of the xhtml package. -- Tyson Dowd Tue, 23 Mar 1999 12:18:16 +1100 xmhtml (1.1.7-2) unstable; urgency=low * Fix "initializer element not constant" bug (stdout is no longer a constant). Fixes #34574. -- Tyson Dowd Mon, 15 Mar 1999 13:27:06 +1100 xmhtml (1.1.7-1.1) unstable; urgency=low * debian/copyright: correct FSF address * debian/control: fix spelling * debian/postinst: added to call ldconfig for the library package * debian/rules: fix modes on header files * debian/rules: install CHANGES as changelog -- Dirk Eddelbuettel Wed, 10 Mar 1999 21:13:59 -0500 xmhtml (1.1.7-1) unstable; urgency=low * Initial Release. -- Tyson Dowd Tue, 9 Mar 1999 15:11:02 +1100 debian/source/0000755000000000000000000000000012164624674010502 5ustar debian/source/format0000644000000000000000000000001412164624674011710 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000317012164624674011136 0ustar This is the Debian GNU/Linux prepackaged version of the XmHTML, a high performance Motif Widget capable of displaying HTML 3.2 confirming text. XmHTML was written by Koen D'Hondt (Ripley Software Development) . This package was debianized by Tyson Dowd trd@cs.mu.oz.au on Tue, 9 Mar 1999 15:11:02 +1100. It was downloaded from http://www.xs4all.nl/~ripley/XmHTML/dist/XmHTML-1.1.7.tar.gz Note that the Debian package name is lowercase as per Debian's package standards. XmHTML is released under the GNU LGPL: This is a public BETA release of XmHTML, a Motif Widget capable of rendering HTML3.2 conforming documents. (C) Copyright 1993-1997 Ripley Software Development This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Koen D'Hondt Ripley Software Development ripley@xs4all.nl http://www.xs4all.nl/~ripley On Debian GNU/Linux systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses'. debian/xmhtml1.install0000644000000000000000000000003412164624674012161 0ustar debian/tmp/usr/lib/*/*.so.* debian/patches/0000755000000000000000000000000012164624674010631 5ustar debian/patches/format-security.patch0000644000000000000000000000120212164624674015002 0ustar Description: Appease gcc -Werror=format-security Author: Colin Watson Forwarded: no Last-Update: 2011-10-20 diff -Nur -x '*.orig' -x '*~' xmhtml-1.1.7/lib/common/parse.c xmhtml-1.1.7.new/lib/common/parse.c --- xmhtml-1.1.7/lib/common/parse.c 2011-10-20 18:30:02.000000000 +0100 +++ xmhtml-1.1.7.new/lib/common/parse.c 2011-10-20 18:32:28.000000000 +0100 @@ -1935,7 +1935,7 @@ sprintf(msg, XMHTML_MSG_128, html_tokens[id], html_tokens[current]); break; case HTML_INTERNAL: - sprintf(msg, XMHTML_MSG_129); + sprintf(msg, "%s", XMHTML_MSG_129); break; case HTML_NOTIFY: /* not reached */ return; debian/patches/fix-build-with-libpng15.patch0000644000000000000000000001627212164624674016135 0ustar Description: Fix build with libpng >= 1.4 See for details: http://www.libpng.org/pub/png/libpng-manual.txt Author: Boris Pek Last-Update: 2012-06-26 --- a/lib/common/readPNG.c +++ b/lib/common/readPNG.c @@ -132,7 +132,11 @@ my_png_error(png_structp png_ptr, String msg) _XmHTMLWarning(__WFUNC__(NULL, "png_error"), XMHTML_MSG_121, "png", ib->file, msg); +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + longjmp(png_jmpbuf(png_ptr), 1); +#else longjmp(png_ptr->jmpbuf, 1); +#endif } /***** @@ -187,6 +191,9 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) float gamma, fg_gamma; Boolean has_alpha = False, has_cmap = False, do_gamma = True; png_bytep *row_ptrs; +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_colorp palette; +#endif char msg[128]; static XmHTMLRawImageData *img_data; @@ -232,7 +239,11 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) return((XmHTMLRawImageData*)NULL); } /* now set error handler */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(setjmp(png_jmpbuf(png_ptr))) +#else if(setjmp(png_ptr->jmpbuf)) +#endif { /* * PNG signalled an error. Destroy image data, free any allocated @@ -265,17 +276,35 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) ResetRawImage(img_data); /* save width & height */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + width = img_data->width = png_get_image_width(png_ptr, info_ptr); + height = img_data->height = png_get_image_height(png_ptr, info_ptr); +#else width = img_data->width = info_ptr->width; height = img_data->height = info_ptr->height; +#endif /* image depth */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + ib->depth = png_get_bit_depth(png_ptr, info_ptr); +#else ib->depth = info_ptr->bit_depth; +#endif /* no of colors */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_get_PLTE(png_ptr, info_ptr, &palette, &ncolors); + img_data->cmapsize = ncolors; +#else ncolors = img_data->cmapsize = info_ptr->num_palette; +#endif /* type of image */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + color_type = png_get_color_type(png_ptr, info_ptr); +#else color_type = info_ptr->color_type; +#endif /* * The fun stuff. This is based on readPNG by Greg Roelofs as found @@ -306,7 +335,11 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) * Actual image creation is postponed until the image is * needed. */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) +#else if(info_ptr->valid & PNG_INFO_tRNS) +#endif { _XmHTMLDebug(15, ("readPNG.c: tRNS chunk present\n")); png_set_expand(png_ptr); @@ -319,9 +352,15 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) AllocRawImageCmap(img_data, ncolors); for(i = 0; i < ncolors; i++) { +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + GETR(img_data->cmap[i]) = palette[i].red; + GETG(img_data->cmap[i]) = palette[i].green; + GETB(img_data->cmap[i]) = palette[i].blue; +#else GETR(img_data->cmap[i]) = info_ptr->palette[i].red; GETG(img_data->cmap[i]) = info_ptr->palette[i].green; GETB(img_data->cmap[i]) = info_ptr->palette[i].blue; +#endif } has_cmap = True; data = (Byte*)malloc(width*height*sizeof(Byte)); @@ -355,7 +394,11 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) * grayscale with transparency is expanded to RGB with alpha * channel. */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) +#else if(info_ptr->valid & PNG_INFO_tRNS) +#endif { _XmHTMLDebug(15, ("readPNG.c: tRNS chunk present\n")); png_set_gray_to_rgb(png_ptr); @@ -434,7 +477,11 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) break; default: sprintf(msg, "bad PNG image: unknown color type (%d)", +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_get_color_type(png_ptr, info_ptr)); +#else info_ptr->color_type); +#endif my_png_error(png_ptr, msg); break; } @@ -444,16 +491,32 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) * Doing that for alpha channel images would change the colortype of the * current image, leading to weird results. */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(!has_alpha && png_get_valid(png_ptr, info_ptr, PNG_INFO_bKGD)) + { + png_color_16p background; + png_get_bKGD(png_ptr, info_ptr, &background); + png_set_background(png_ptr, background, + PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); + img_data->bg = background->index; + } +#else if(!has_alpha && info_ptr->valid & PNG_INFO_bKGD) { png_set_background(png_ptr, &(info_ptr->background), PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); img_data->bg = info_ptr->background.index; } +#endif /* handle gamma correction */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(png_get_valid(png_ptr, info_ptr, PNG_INFO_gAMA)) + png_get_gAMA(png_ptr, info_ptr, &fg_gamma); +#else if(info_ptr->valid & PNG_INFO_gAMA) fg_gamma = info_ptr->gamma; +#endif else fg_gamma = 0.45; @@ -464,20 +527,32 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) /* dithering gets handled by caller */ /* one byte per pixel */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(png_get_bit_depth(png_ptr, info_ptr) < 8) +#else if(info_ptr->bit_depth < 8) +#endif png_set_packing(png_ptr); /* no tRNS chunk handling, we've expanded it to an alpha channel. */ /* handle interlacing */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if(png_get_interlace_type(png_ptr, info_ptr)) +#else if(info_ptr->interlace_type) +#endif npass = png_set_interlace_handling(png_ptr); /* and now update everything */ png_read_update_info(png_ptr, info_ptr); /* has possibly changed if we have promoted GrayScale or tRNS chunks */ +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + color_type = png_get_color_type(png_ptr, info_ptr); +#else color_type = info_ptr->color_type; +#endif /* new color_type? */ if(color_type == PNG_COLOR_TYPE_RGB_ALPHA) @@ -497,10 +572,18 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) * will call doAlphaChannel to do the actual image creation. */ row_ptrs = (png_bytep*)malloc(height*sizeof(png_bytep)); +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_data = (png_bytep)malloc(height*png_get_rowbytes(png_ptr, info_ptr)); +#else png_data = (png_bytep)malloc(height*info_ptr->rowbytes); +#endif for(i = 0; i < height; i++) +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + row_ptrs[i] = (png_bytep)png_data + i*png_get_rowbytes(png_ptr, info_ptr); +#else row_ptrs[i] = (png_bytep)png_data + i*info_ptr->rowbytes; +#endif /* read it */ png_read_image(png_ptr, row_ptrs); @@ -529,7 +612,11 @@ _XmHTMLReadPNG(Widget html, ImageBuffer *ib) row_ptrs = (png_bytep*)malloc(height*sizeof(png_bytep)); for(i = 0; i < height; ++i) +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + row_ptrs[i] = (png_bytep)data + i*png_get_rowbytes(png_ptr, info_ptr); +#else row_ptrs[i] = (png_bytep)data + i*info_ptr->rowbytes; +#endif /* read it */ png_read_image(png_ptr, row_ptrs); debian/patches/grace.patch0000644000000000000000000000434412164624674012740 0ustar The patch fixes: 1)
placement 2) formatting inside
 (not really nice HTML, but any browser
   supports it)
3) "Can't convert XmHTML_DEFAULT_GAMMA" runtime warning

--- XmHTML-1.1.7/lib/common/layout.c.orig	Thu Jan 28 02:10:17 1999
+++ XmHTML-1.1.7/lib/common/layout.c	Mon Jun 12 21:55:01 2000
@@ -2377,14 +2377,16 @@
 	* Linefeeds in rules are divided accross the rule: half above and
 	* half below.
 	*****/
-	if(data->linefeed)
+	if(data->linefeed) {
+		box->y += data->linefeed;
 		y_offset = data->linefeed/2;
-	else
+	} else {
 		y_offset = data->font->height/2; 
+	}
 
 	data->y = box->y + y_offset;
-
-	/* take height of rule into account as well */
+	
+        /* take height of rule into account as well */
 	y_offset += data->height/2;
 
 	/* full height of the box */
--- XmHTML-1.1.7/lib/common/parse.c.orig	Wed Jan 20 07:13:08 1999
+++ XmHTML-1.1.7/lib/common/parse.c	Mon Jun 12 01:40:19 2000
@@ -1258,6 +1258,24 @@
 				current == HT_U || current == HT_VAR ||
 				current == HT_FONT || current == HT_ZTEXT)
 				return(True);
+			
+            /* allow most container elements as well if we can relax */
+			if(!parser->strict_checking &&
+				(current == HT_TABLE || current == HT_TR || current == HT_TH ||
+					current == HT_TD || current == HT_OL || current == HT_UL ||
+					current == HT_DL || current == HT_P || current == HT_DIV ||
+					current == HT_BLOCKQUOTE || current == HT_CENTER ||
+					current == HT_FORM || current == HT_CAPTION ||
+					current == HT_H1 || current == HT_H2 || current == HT_H3 ||
+					current == HT_H4 || current == HT_H5 || current == HT_H6))
+			{
+#ifdef MINIPARSE
+				tag_is_wrong_but_allowed = True;
+#endif
+				/* but always issue a warning */
+				parserCallback(parser, current, state, HTML_VIOLATION);
+				return(True);
+			}
 			break;
 
 		case HT_ZTEXT:
--- XmHTML-1.1.7/include/XmHTML/resources.h.orig	Sun Dec 13 14:48:46 1998
+++ XmHTML-1.1.7/include/XmHTML/resources.h	Tue Jun 13 02:29:30 2000
@@ -102,7 +102,9 @@
 #define _resources_h_
 
 #define Offset(field) XtOffsetOf(XmHTMLRec, html.field)
-#define Stringify(VAL)	#VAL
+/* Must use cpp prescan for two levels of macros */
+#define Stringify(VAL)  _Stringify(VAL)
+#define _Stringify(VAL) #VAL
 
 static XtResource resources [] =
 {
debian/patches/series0000644000000000000000000000014512164624674012046 0ustar  format-security.patch
grace.patch
fix-build-with-hardening-flags.patch
fix-build-with-libpng15.patch
debian/patches/fix-build-with-hardening-flags.patch0000644000000000000000000000400712164624674017536 0ustar  Description: Fix build with hardening flags in compiler options
Origin: http://fbsdmon.org/catalog/x11-toolkits/xmhtml/files/patch-ai
Last-Update: 2012-06-25

--- a/lib/common/debug.c
+++ b/lib/common/debug.c
@@ -110,7 +110,7 @@
 /*** Private Function Prototype Declarations ****/
 
 /*** Private Variable Declarations ***/
-static FILE *__rsd_debug_file = stdout;
+static FILE *__rsd_debug_file;
 
 /*****
 * When debug output is send to a file, we register an exit func to close
@@ -128,7 +128,11 @@
 #endif
 {
 	/* close output file */
-	fclose(__rsd_debug_file);
+	if (__rsd_debug_file) {
+		fclose(__rsd_debug_file);
+		__rsd_debug_file = NULL;
+	}
+	
 }
 
 /*****
@@ -146,6 +150,7 @@
 #ifdef __STDC__
 __rsd_fprintf(char *fmt, ...) 
 {
+	register FILE *fp = (__rsd_debug_file ? __rsd_debug_file : stdout);
 	va_list arg_list;
 	va_start(arg_list, fmt);
 
@@ -155,15 +160,16 @@
     char *fmt;
     va_dcl
 {
+	register FILE *fp = (__rsd_debug_file ? __rsd_debug_file : stdout);
 	va_list arg_list;
 	va_start(arg_list);
 #endif /* __STDC__ */
 
 	/* flush to file */
-	vfprintf(__rsd_debug_file, fmt, arg_list);
+	vfprintf(fp, fmt, arg_list);
 	va_end(arg_list);
 
-	fflush(__rsd_debug_file);
+	fflush(fp);
 }
 
 /*****
@@ -298,8 +304,10 @@
 				if((chPtr = strstr(argv[i], ":")) != NULL)
 				{
 					/* close any existing output file */
-					if(__rsd_debug_file != stdout)
+					if(__rsd_debug_file) {
 						fclose(__rsd_debug_file);
+						__rsd_debug_file = NULL;
+					}
 
 					chPtr++;	/* skip : */
 					if(!strcmp(chPtr, "pid"))	/* .out */
@@ -336,14 +344,14 @@
 						fprintf(stderr, "__rsd_setDebugLevels: failed to open "
 							"output file %s (errno = %i), reverting to "
 							"stdout\n", tmp, errno);
-						__rsd_debug_file = stdout;
+						__rsd_debug_file = NULL;
 					}
 				}
 				else
 				{
 					fprintf(stderr, "__rsd_setDebugLevels: missing arg to "
 						"-dfile:, reverting to stdout\n");
-					__rsd_debug_file = stdout;
+					__rsd_debug_file = NULL;
 				}
 				/* remove from cmd line */
 				REMOVE_ARG;