summaryrefslogtreecommitdiff
path: root/x11/openmotif
AgeCommit message (Collapse)AuthorFilesLines
2010-12-23Mechanically replace references to graphics/jpeg with the suitabledsainty2-6/+6
alternative from mk/jpeg.buildlink3.mk This allows selection of an alternative jpeg library (namely the x86 MMX, SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and follows the current standard model for alternatives (fam, motif, fuse etc). The mechanical edits were applied via the following script: #!/bin/sh for d in */*; do [ -d "$d" ] || continue for i in "$d/"Makefile* "$d/"*.mk; do case "$i" in *.orig|*"*"*) continue;; esac out="$d/x" sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \ -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \ < "$i" > "$out" if cmp -s "$i" "$out"; then rm -f "$out" else echo "Edited $i" mv -f "$i" "$i.orig" && mv "$out" "$i" fi done done
2010-06-13Bump PKGREVISION for libpng shlib name change.wiz2-4/+4
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
2010-01-18Second try at jpeg-8 recursive PKGREVISION bump.wiz2-4/+4
2010-01-10Specify the path to X11 libraries explicitily in the configuration step.tron1-2/+3
This fixes the build under Solaris with modular X.org and shouldn't hurt anywhere else (tested under NetBSD/amd64 5.0_STABLE with native X.org).
2009-12-08Enable jpeg and png support. From Marc Balmer.joerg2-6/+16
2009-11-09Fix build. New flex does not provide a main program by default, unless youchristos2-1/+15
use %option main
2009-10-19Fix build for SunOS modular x11 (PR#36132)tez3-2/+16
2009-06-30Move PKG_INSTALLATION_TYPES and PKG_DESTDIR_SUPPORT before bsd.prefs.mk.joerg1-4/+4
2009-06-14Remove @dirrm entries from PLISTsjoerg1-5/+1
2009-05-19Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENTwiz1-5/+5
block). Uncomment some commented out LICENSE lines while here.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-11-10Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal.wiz1-1/+2
2008-07-22Needs pkg-configtnn1-2/+2
2008-07-17The master site doesn't seem to grok passive FTP, so prefer to use HTTP.tnn1-2/+3
2008-07-17Buildlink in libXft, which is referenced from (at least) ↵dsainty1-1/+2
/usr/pkg/lib/libMrm.la. Fixes build of x11/xlt (under Linux)
2008-07-15-needs libXft to builddrochner2-3/+3
-don't try to @dirrm include/X11/bitmaps
2008-07-14update to openmotif 2.3.1christos23-638/+268
2007-10-27MAKE_JOBS_SAFE=no, as reported in PR 37233.rillig1-1/+2
2007-08-15Remove building some data files that aren't used anyway.joerg4-2/+55
Add cross-compilation support for the rest.
2006-12-15Stop messing with X11/Xmos_r.h, just replace it with a direct includejoerg3-17/+4
of X11/Xos_r.h and assume that has all the magic. If it is really necessary to hack around limitations of other platforms, we can do that later in a more specialised fashion. Bump revision.
2006-11-06Switch to modular buildlinks.joerg2-7/+19
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-05-21Fixed some pkglint warnings.rillig2-9/+13
2006-05-16Cleanup RESTRICTED by using bsd.prefs.mk to get OPSYS where we wantgdt1-17/+15
it. Vastly simplify os-checking logic. Don't set NO_SRC_ON_FTP, ever, following insightful comments from dillo@.
2006-05-15Rewrite and debug logic to check for list of open-source operatinggdt1-20/+23
systems. This version is consistent with what I've been saying on tech-pkg about defining NO_BIN_ON_FTP for non-open-source OSes, and not defining it on NetBSD and other open source OSes. Fix pkglint warnings.
2006-05-14Remove NOT_FOR_PLATFORM for Interix; that should be for technicalgdt1-2/+21
issues only, not licensing. Add LICENSE=openmotif-license because this software is non-Free. Set RESTRICTED, and NO_*_ON_CDROM because the license has complex terms for "commercial product offering". If $(OPSYS) is not in DragonFly FreeBSD Linux NetBSD OpenBSD set NO_*_ON_FTP, because the license only grants distribution rights for open source operating systems. I believe this commit will still prevent openmotif from building on Interix without setting ACCEPTABLE_LICENSES, and should also result in all 4 of NO_*_ON_* being set on Interix. There's too much make code to implement NO_*_ON_FTP-on-other-than-list (munged from bsd.pkg.mk), but I didn't see a way to make ONLY_FOR_PLATFORM run a makefile fragment on other platforms.
2006-05-14Only Open Source OS's are allowed to use this -- nuke Interix via NOT_FOR_.tv1-1/+3
(Others should be here, but I don't have responsibility for those platforms.)
2006-05-02Add flex as tool.joerg1-2/+2
2006-04-22Removed the superfluous "quotes" and 'quotes' from variables that don'trillig1-2/+2
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-3/+4
2006-01-09Fix build on NetBSD systems:joerg3-11/+26
If we have NetBSD 2.99.10 and higher, getpwuid_r and friends exist, but _PTHREAD_THREAD_SAFE_FUNCTIONS might not be defined. Define it. For NetBSD before 2.99.10, explicitly set XNO_MTSAFE_PWDAPI to enforce locked access via normal functions.
2006-01-08USE_TOOLS+=, not =, says pkglint.wiz1-2/+2
2006-01-07Fix a number of buffer overflows in OpenMotif's UIL implementation.joerg4-2/+91
For non-propolice systems this might be exploitable when the user-provided data (e.g. certain filenames) or the locale files are manipulated. Mostly-found-by: xfocus, see [xfocus-SD-051202] on VulnWatch. Some additional cases are handled which have the same impact. Bump revision.
2006-01-04Fix spelling. Found by wiz@.joerg2-4/+4
2006-01-04getpwuid_r and friends only exist on NetBSD 2.99.10 and higher,joerg2-4/+4
so use them only on those systems.
2005-12-122.2.3 and 2.1.x are not compatible, force use of 2.2.3.joerg1-2/+2
2005-12-12Update OpenMotif to 2.2.3. Too many changes to list here, but mostjoerg36-2066/+292
importantly no more imake usage.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-15s/defineD/defined/ so openmotif actually compiles w/o errors.erh2-4/+4
2005-07-24openmotif needs x11 headers and libraries, so include mk/x11.buildlink3.mk.wiz1-1/+3
2005-06-27Add DragonFly support (untested). Provided by Jörg Sonnenbergerwiz6-40/+334
in PR 30258. While here, clean up pkglint warnings.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-1/+3
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-05-22Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl.jlam1-2/+2
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-10Add patch to fix CAN-2005-0605. Bump PKGREVISION.wiz3-13/+23
2005-02-23Add RMD160 checksums to the SHA1 ones.wiz1-1/+7