pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/motif Import motif-2.3.4 as x11/motif.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4affef33d52
branches:  trunk
changeset: 610889:f4affef33d52
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Nov 10 17:10:10 2012 +0000

description:
Import motif-2.3.4 as x11/motif.

The industry standard user interface toolkit for the X Window System.
This is released under LGPL 2.1.

diffstat:

 x11/motif/DESCR                                  |    2 +
 x11/motif/Makefile                               |  109 ++
 x11/motif/PLIST                                  |  981 +++++++++++++++++++++++
 x11/motif/buildlink3.mk                          |   28 +
 x11/motif/distinfo                               |   18 +
 x11/motif/patches/patch-Makefile.am              |   16 +
 x11/motif/patches/patch-clients_uil_UilDB.c      |   22 +
 x11/motif/patches/patch-clients_uil_UilDiags.c   |   55 +
 x11/motif/patches/patch-doc_man_man3_Makefile.am |   28 +
 x11/motif/patches/patch-doc_man_man4_Makefile.am |   13 +
 x11/motif/patches/patch-doc_man_man5_Makefile.am |   13 +
 x11/motif/patches/patch-lib_Xm_Scale.c           |   14 +
 x11/motif/patches/patch-lib_Xm_TextF.c           |   18 +
 x11/motif/patches/patch-lib_Xm_Xmfuncs.h         |   23 +
 x11/motif/patches/patch-lib_Xm_Xmos.c            |   22 +
 x11/motif/patches/patch-lib_Xm_XpmI.h            |   23 +
 x11/motif/patches/patch-tools_wml_wmluiltok.l    |   13 +
 17 files changed, 1398 insertions(+), 0 deletions(-)

diffs (truncated from 1466 to 300 lines):

diff -r d2c399d4fefb -r f4affef33d52 x11/motif/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/motif/DESCR   Sat Nov 10 17:10:10 2012 +0000
@@ -0,0 +1,2 @@
+The industry standard user interface toolkit for the X Window System.
+This is released under LGPL 2.1.
diff -r d2c399d4fefb -r f4affef33d52 x11/motif/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/motif/Makefile        Sat Nov 10 17:10:10 2012 +0000
@@ -0,0 +1,109 @@
+# $NetBSD: Makefile,v 1.1 2012/11/10 17:10:10 ryoon Exp $
+
+PKGVER=                2.3.4
+DISTNAME=      motif-${PKGVER}-src
+PKGNAME=       motif-${PKGVER}
+CATEGORIES=    x11
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=motif/}
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://motif.ics.com/
+COMMENT=               LGPLed Motif toolkit for the X Window System
+LICENSE=               gnu-lgpl-v2.1
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+WRKSRC=                        ${WRKDIR}/motif-${PKGVER}
+
+.include "../../mk/bsd.prefs.mk"
+
+CONFLICTS+=            lesstif-[0-9]* openmotif-[0-9]*
+
+USE_LIBTOOL=           yes
+USE_TOOLS+=            flex gmake tbl pkg-config automake
+GNU_CONFIGURE=         yes
+MAKE_JOBS_SAFE=                no # PR 37233
+
+CFLAGS.SunOS+=         -Dsun
+
+SUBST_CLASSES+=                        man_rename
+SUBST_STAGE.man_rename=                pre-configure
+SUBST_MESSAGE.man_rename=      Fixing hardcoded paths.
+SUBST_FILES.man_rename=                doc/man/man3/Makefile.in
+SUBST_SED.man_rename=          -e 's: Core.3: XCore.3:g'
+SUBST_SED.man_rename+=         -e 's: Object.3: XObject.3:g'
+SUBST_SED.man_rename+=         -e 's: Shell.3: XShell.3:g'
+
+CONFIGURE_ARGS+= \
+               --enable-jpeg --enable-png \
+               --with-libjpeg-includes=${JPEGBASE}/include \
+               --with-libjpeg-lib=${JPEGBASE}/lib \
+               --with-libpng-includes=${BUILDLINK_PREFIX.png}/include \
+               --with-libpng-lib=${BUILDLINK_PREFIX.png}/lib \
+               --x-libraries=${X11BASE}/lib
+
+CONFIGURE_ARGS+= --disable-printing
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ENV+=                ac_cv_func_setpgrp_void=no
+.endif
+CONFIGURE_ARGS+=       --enable-xft
+CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
+
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+MAKE_FLAGS+=   CROSS_COMPILING=yes CC_FOR_BUILD=${NATIVE_CC:Q} \
+    CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
+.endif
+
+# 1) Fix the man pages to refer to the correct sections.
+# 2) Change references to {Core,Object,Shell}.3 to X{Core,Object,Shell}.3 to
+#    avoid manpage conflicts with other packages.
+#
+post-patch:
+       set -e; \
+       cd ${WRKSRC}/doc/man;                                           \
+       for manpage in man1/*.1 man3/*.3 man4/*.4 man5/*.5; do          \
+               ${SED}  -e "s|user cmd|1|g"                             \
+                       -e "s|library call|3|g"                         \
+                       -e "s|special file|5|g"                         \
+                       -e "s|file formats|5|g"                         \
+                       $${manpage} > $${manpage}.fixed;                \
+               ${MV} -f $${manpage}.fixed $${manpage};                 \
+       done;                                                           \
+       ${CP} -f man4/mwmrc.4 man5/mwmrc.5
+       set -e; \
+       cd ${WRKSRC}/doc/man/man3;                                      \
+       for name in Core Object Shell; do                               \
+               ${MV} -f $${name}.3 X$${name}.3;                        \
+               files=`${GREP} -l ".fB$${name}.fP(3)" *.3`;             \
+               for manpage in $${files}; do                            \
+                       ${MV} -f $${manpage} $${manpage}.presubst;      \
+                       ${SED} "s|\\(.fB\\)$${name}\\(.fP(3)\\)|\\1X$${name}\\2|g" \
+                               $${manpage}.presubst > $${manpage};     \
+                       ${RM} -f $${manpage}.presubst;                  \
+               done;                                                   \
+       done
+       ${ECHO} "#include <X11/Xos_r.h>" > ${WRKSRC}/lib/Xm/Xmos_r.h
+
+pre-configure:
+       set -e; cd ${WRKSRC} ; sh ./autogen.sh
+
+# Filter the manpages through tbl.
+post-build:
+       set -e; \
+       cd ${WRKSRC}/doc/man;                                           \
+       for manpage in man1/*.1 man3/*.3 man4/*.4 man5/*.5; do          \
+               ${TBL} $${manpage} > $${manpage}.tblized;               \
+               ${MV} -f $${manpage}.tblized $${manpage};               \
+       done
+
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXmu/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/xbitmaps/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d2c399d4fefb -r f4affef33d52 x11/motif/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/motif/PLIST   Sat Nov 10 17:10:10 2012 +0000
@@ -0,0 +1,981 @@
+@comment $NetBSD: PLIST,v 1.1 2012/11/10 17:10:10 ryoon Exp $
+bin/mwm
+bin/uil
+bin/xmbind
+include/Mrm/MrmAppl.h
+include/Mrm/MrmDecls.h
+include/Mrm/MrmPublic.h
+include/Mrm/MrmosI.h
+include/X11/bitmaps/xm_error
+include/X11/bitmaps/xm_hour16
+include/X11/bitmaps/xm_hour16m
+include/X11/bitmaps/xm_hour32
+include/X11/bitmaps/xm_hour32m
+include/X11/bitmaps/xm_information
+include/X11/bitmaps/xm_noenter16
+include/X11/bitmaps/xm_noenter16m
+include/X11/bitmaps/xm_noenter32
+include/X11/bitmaps/xm_noenter32m
+include/X11/bitmaps/xm_question
+include/X11/bitmaps/xm_warning
+include/X11/bitmaps/xm_working
+include/Xm/AccColorT.h
+include/Xm/AccTextT.h
+include/Xm/ActivatableT.h
+include/Xm/ArrowB.h
+include/Xm/ArrowBG.h
+include/Xm/ArrowBGP.h
+include/Xm/ArrowBP.h
+include/Xm/AtomMgr.h
+include/Xm/BaseClassP.h
+include/Xm/BulletinB.h
+include/Xm/BulletinBP.h
+include/Xm/ButtonBox.h
+include/Xm/ButtonBoxP.h
+include/Xm/CacheP.h
+include/Xm/CareVisualT.h
+include/Xm/CascadeB.h
+include/Xm/CascadeBG.h
+include/Xm/CascadeBGP.h
+include/Xm/CascadeBP.h
+include/Xm/ClipWindowP.h
+include/Xm/ColorObjP.h
+include/Xm/ColorP.h
+include/Xm/ColorS.h
+include/Xm/ColorSP.h
+include/Xm/Column.h
+include/Xm/ColumnP.h
+include/Xm/ComboBox.h
+include/Xm/ComboBox2.h
+include/Xm/ComboBox2P.h
+include/Xm/ComboBoxP.h
+include/Xm/Command.h
+include/Xm/CommandP.h
+include/Xm/ContItemT.h
+include/Xm/Container.h
+include/Xm/ContainerP.h
+include/Xm/ContainerT.h
+include/Xm/CutPaste.h
+include/Xm/DataF.h
+include/Xm/DataFP.h
+include/Xm/DataFSelP.h
+include/Xm/DesktopP.h
+include/Xm/DialogS.h
+include/Xm/DialogSEP.h
+include/Xm/DialogSP.h
+include/Xm/DialogSavvyT.h
+include/Xm/Display.h
+include/Xm/DisplayP.h
+include/Xm/DragC.h
+include/Xm/DragCP.h
+include/Xm/DragDrop.h
+include/Xm/DragIcon.h
+include/Xm/DragIconP.h
+include/Xm/DragOverS.h
+include/Xm/DragOverSP.h
+include/Xm/DrawP.h
+include/Xm/DrawUtils.h
+include/Xm/DrawingA.h
+include/Xm/DrawingAP.h
+include/Xm/DrawnB.h
+include/Xm/DrawnBP.h
+include/Xm/DropDown.h
+include/Xm/DropDownP.h
+include/Xm/DropSMgr.h
+include/Xm/DropSMgrP.h
+include/Xm/DropTrans.h
+include/Xm/DropTransP.h
+include/Xm/Ext.h
+include/Xm/Ext18List.h
+include/Xm/Ext18ListP.h
+include/Xm/ExtObjectP.h
+include/Xm/ExtP.h
+include/Xm/FileSB.h
+include/Xm/FileSBP.h
+include/Xm/FontS.h
+include/Xm/FontSP.h
+include/Xm/Form.h
+include/Xm/FormP.h
+include/Xm/Frame.h
+include/Xm/FrameP.h
+include/Xm/Gadget.h
+include/Xm/GadgetP.h
+include/Xm/GrabShell.h
+include/Xm/GrabShellP.h
+include/Xm/Hierarchy.h
+include/Xm/HierarchyP.h
+include/Xm/IconBox.h
+include/Xm/IconBoxP.h
+include/Xm/IconButton.h
+include/Xm/IconButtonP.h
+include/Xm/IconFile.h
+include/Xm/IconFileP.h
+include/Xm/IconG.h
+include/Xm/IconGP.h
+include/Xm/IconH.h
+include/Xm/IconHP.h
+include/Xm/JoinSideT.h
+include/Xm/Label.h
+include/Xm/LabelG.h
+include/Xm/LabelGP.h
+include/Xm/LabelP.h
+include/Xm/LayoutT.h
+include/Xm/List.h
+include/Xm/ListP.h
+include/Xm/MainW.h
+include/Xm/MainWP.h
+include/Xm/Manager.h
+include/Xm/ManagerP.h
+include/Xm/MenuProcP.h
+include/Xm/MenuShell.h
+include/Xm/MenuShellP.h
+include/Xm/MenuStateP.h
+include/Xm/MenuT.h
+include/Xm/MenuUtilP.h
+include/Xm/MessageB.h
+include/Xm/MessageBP.h
+include/Xm/MultiList.h
+include/Xm/MultiListP.h
+include/Xm/MwmUtil.h
+include/Xm/NavigatorT.h
+include/Xm/Notebook.h
+include/Xm/NotebookP.h
+include/Xm/Outline.h
+include/Xm/OutlineP.h
+include/Xm/Paned.h
+include/Xm/PanedP.h
+include/Xm/PanedW.h
+include/Xm/PanedWP.h
+include/Xm/Picture.h
+include/Xm/PictureP.h
+include/Xm/PointInT.h
+include/Xm/Primitive.h
+include/Xm/PrimitiveP.h
+include/Xm/Print.h
+include/Xm/PrintSP.h
+include/Xm/Protocols.h
+include/Xm/ProtocolsP.h
+include/Xm/PushB.h
+include/Xm/PushBG.h
+include/Xm/PushBGP.h
+include/Xm/PushBP.h
+include/Xm/RCLayoutP.h
+include/Xm/RCMenuP.h
+include/Xm/RepType.h
+include/Xm/RowColumn.h
+include/Xm/RowColumnP.h
+include/Xm/SSpinB.h
+include/Xm/SSpinBP.h
+include/Xm/SashP.h
+include/Xm/Scale.h
+include/Xm/ScaleP.h
+include/Xm/Screen.h
+include/Xm/ScreenP.h
+include/Xm/ScrollBar.h
+include/Xm/ScrollBarP.h
+include/Xm/ScrollFrameT.h
+include/Xm/ScrolledW.h



Home | Main Index | Thread Index | Old Index