head 1.6; access; symbols pkgsrc-2023Q4:1.6.0.26 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.24 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.22 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.20 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.18 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.16 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.14 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.12 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.10 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.8 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.6 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.4 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.22 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.20 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.16 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.18 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.14 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.12 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.10 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.8 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.6 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.4 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.2 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.4.0.56 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.54 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.50 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.48 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.46 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.44 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.42 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.40 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.38 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.36 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.34 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.32 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.30 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.28 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.26 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.24 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.22 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.20 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.16 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.14 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.12 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.10 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.8 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.4 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.16 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.14 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.12 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.2.0.40 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.38 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.36 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.34 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.32 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.30 pkgsrc-2008Q1:1.2.0.28 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.26 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.24 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.22 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.20 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.18 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.16 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.14 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.12 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.0.16 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.14 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.12 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.6 date 2020.11.24.11.13.25; author nia; state Exp; branches; next 1.5; commitid svwpDP5t04cYa8xC; 1.5 date 2018.01.01.22.29.24; author rillig; state Exp; branches; next 1.4; commitid 0WRi40zz4tz6VdlA; 1.4 date 2011.04.14.17.11.20; author hans; state Exp; branches; next 1.3; 1.3 date 2009.06.14.17.48.52; author joerg; state Exp; branches; next 1.2; 1.2 date 2004.09.22.08.09.26; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.11.01.01.24.28; author zuntum; state Exp; branches; next ; desc @@ 1.6 log @libdockapp: Update to 0.7.3 2020-05-03 Jeremy Sowden * configure.ac: bump version to 0.7.3. 2020-05-03 Jeremy Sowden * src/Makefile.am: bump library version to 3.0.1. 2020-05-03 Jeremy Sowden * src/wmgeneral.c, src/wmgeneral.h: fix multiple definitions of global variable. The `display` variable is declared in wmgeneral.h with no explicit linkage. This may result in there being definitions of it in the library and the object-files of applications which link against it, which causes link failures when building these applications with GCC 10, since this uses -fno-common by default. Add `extern` to the header declaration and a separate declaration with no linkage in wmgeneral.c where it is initialized. 2020-05-03 Jeremy Sowden * Makefile.am, autogen: add autogen. 2019-06-13 Jeremy Sowden * src/daargs.c: removed assertion that short-form options have length 2. The mixed-option parsing code includes an assertion that short-form options have a length of two. However, there is no other validation of this requirement and some dock-apps do not comply with it, which means that if one exec's them with an unrecognized option or a mix of short options, the assertion fails and the app aborts. For example: $ /usr/bin/wmail --help | grep '\' -display display to use $ /usr/bin/wmail --blah wmail: daargs.c:126: contains: Assertion `strlen(needle) == 2' failed. Aborted Since there is no explicit statement of this requirement, let's replace the assertion with a conditional. 2019-01-04 Anil N' via Window Maker Development * src/damain.c: Fix for missing windowname and one more. - "Untitled window" appears in xfce4-wmdock-plugin's enumeration of dockapps using libdockapp. - Reference to string buffer that might not live long enough. 2018-06-27 Doug Torrance * Makefile.am, NEWS: Update old windowmaker.org/dockapps urls to dockapps.net 2018-05-14 Doug Torrance * NEWS, configure.ac: Update mailing list links to new Google Groups. 2017-08-31 Doug Torrance * src/dapixmap.c, src/dockapp.h: Add DAMakeShapeFromData() and DAMakeShapeFromFile() functions. libdockapp supports shaped dockapps with the DASetShape() function, but this function requires as input a bitmap. Previously, there was no support for creating such a bitmap from XBM data without using Xlib directly. We add two functions, DAMakeShapeFromData(), which is a wrapper around XCreateBitmapFromData and allows developers to #include XBM data, and DAMakeShapeFromFile(), which is a wrapper around XReadBitmapfile and lets developers specify the path to an XBM file. 2017-08-30 Doug Torrance * src/daargs.c, src/daargs.h, src/damain.c: Make DAParseArguments() optional. Some dockapps may want to handle command line options themselves, so we make this function optional. Previously, if this function was skipped, then a segfault would result when trying to access the _daContext global while first creating the dockapp window. Now we check if _daContext has been initialized first, and if not, we initialize it. 2017-08-12 Doug Torrance * Makefile.am: Use Requires.private in pkg-config file to avoid overlinking. 2017-04-27 Doug Torrance * src/damain.c: Don't withdraw dockapps in windowed mode. In Window Maker, windows with application class "DockApp" are automatically withdrawn. We don't want this in windowed mode. We use the application name instead, with the usual convention of capitalizing the initial letter. 2017-04-26 Doug Torrance * src/wmgeneral.c: Do not include pathnames in Window Name and Class Properties Patch by Corin-EU from GitHub [1]. In libdockapps file wmgeneral.c, wname is set from argv[0] and is then used to set the window name and class resource. Often applications are called with their full path which then means that the window name has a path in it, thereby requiring an unwieldy path specific string for "Name" in WMState if the applet is to be captured in the WM dock. The simple solution is that wname should be the basename of argv[0] to ensure that the window name for the applet is the simple and obvious one. Thus the inclusion of header file libgen.h is required. Just say "no" to path slashes "/" in window name/class resources .... [1] https://github.com/d-torrance/dockapps/issues/5 2015-10-20 Doug Torrance * configure.ac: Bump to version 0.7.2. 2015-10-20 Doug Torrance * Makefile.am: Clean generated file dockapp.pc. Based on the Debian patch [1]. [1] https://sources.debian.net/src/1:0.7.1-1/debian/patches/ clean_dockapp.pc.patch/ 2015-10-20 Doug Torrance * configure.ac, src/Makefile.am: Remove AC_PATH_XTRA macro from configure.ac We already check for libraries with the PKG_CHECK_MODULES macros. This also allows the Debian package to drop the Build-Depend on libice-dev. Based on the Debian patch [1]. [1] https://sources.debian.net/src/1:0.7.1-1/debian/patches/ remove_AC_PATH_XTRA.diff/ 2015-10-20 Doug Torrance * Recompress fonts without timestamp. This fixes the package-contains-timestamped-gzip warning given by Lintian for the Debian package. (This warning is really unnecessary, as its purpose it to check for reproducible builds and the fonts are not compressed at build time, but I see no harm in removing these timestamps.) 2015-10-17 Doug Torrance * configure.ac: Bump to version 0.7.1. 2015-10-17 Doug Torrance * Makefile.am: Update update-changelog target in Makefile. Only grab libdockapp commits. 2015-10-17 Doug Torrance * examples/basic/basic.c, examples/rectangles/rectangles.c: Update header location in examples. 2015-10-09 Shining * README: Simplify instructions to generate a ./configure script. Based on suggestions by Alexey Frolov and BALATON Zoltan. 2015-10-05 Shining * README: Info about generating 'configure' script in README. In the README it is said to run ./configure but there's no such script in the tarball. I wrote instructions to generate a ./configure with libtool and autotools. 2015-08-15 Rodolfo García Peñas (kix) * Include libwmgeneral in libdockapp. This patch includes the libwmgeneral library in the libdockapp library. The new library is now version 3 (previous was version 2) and it includes the new include folder in $libdir/libdockapp. The wmgeneral files were moved from the previous folder (libwmgeneral) and the folder is now removed. Signed-off-by: Rodolfo García Peñas (kix) 2014-11-28 Doug Torrance * NEWS, configure.ac: Release version 0.6.4. 2014-11-28 Doug Torrance * Makefile.am, NEWS, configure.ac: Update contact information. 2014-11-28 Doug Torrance * Add update-changelog target to Makefile to update ChangeLog. 2014-11-25 Doug Torrance * ChangeLog, NEWS, examples/basic/basic.c, src/dockapp.h: Merge ChangeLog into NEWS (they were largely the same). 2014-11-25 Doug Torrance * examples/basic/basic.c: Add #include to basic example. Otherwise, we get the following compiler warning basic.c: Infunction ‘main’: basic.c:111:2: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] srandom(time(NULL)); ^ 2014-11-25 Doug Torrance * README, examples/Makefile.am, examples/basic/Imakefile, examples/basic/Makefile, examples/rectangles/Imakefile, examples/rectangles/Makefile: Replace example Imakefiles with Makefiles. imake is deprecated. 2014-11-25 Doug Torrance * examples/basic/basic.c, examples/rectangles/rectangles.c, src/daargs.c, src/daargs.h, src/dacallback.c, src/dacolor.c, src/daevent.c, src/damain.c, src/dapixmap.c, src/darect.c, src/dashaped.c, src/dautil.c, src/dockapp.h: Use consistent code formatting. Used uncrustify to minimize warnings and errors from checkpatch.pl in the Window Maker source tree. 2014-11-25 Doug Torrance * examples/basic/Imakefile, examples/basic/basic.c, examples/rectangles/Imakefile, examples/rectangles/rectangles.c, src/Makefile.am, src/daargs.c, src/daargs.h, src/dacallback.c, src/dacolor.c, src/daevent.c, src/damain.c, src/dapixmap.c, src/darect.c, src/dashaped.c, src/dautil.c, src/dautil.h, src/dockapp.h: Remove CVS cruft. 2014-11-25 Doug Torrance * examples/basic/Imakefile, examples/basic/README, examples/basic/basic.c, examples/rectangles/Imakefile, examples/rectangles/rectangles.c, fonts/Makefile.am, src/dacallback.c, src/dacolor.c, src/daevent.c, src/damain.c, src/dapixmap.c, src/dashaped.c, src/dockapp.h: Remove trailing whitespace. 2014-11-24 Doug Torrance * INSTALL, Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure, dockapp.pc, examples/Makefile.in, fonts/Makefile.in, install-sh, ltmain.sh, missing, src/Makefile.in: Remove autotools-generated files. 2014-11-24 Doug Torrance * Add version 0.6.3 to repository. Obtained from: http://sourceforge.net/projects/files/ libdockapp-0.6.3.tar.gz/download ** Changes above this point from git log in dockapps git repository. ** 2014-06-06 Doug Torrance * ChangeLog, NEWS: updated Changelog and NEWS files with new version 2014-06-06 Doug Torrance * Makefile.am: add xext to dockapp.pc 2014-06-06 Doug Torrance * configure.ac, src/Makefile.am: add xpm to linked libraries 2014-06-06 Doug Torrance * .gitignore, autogen.sh, do_verify.sh: add more autotools-generated files to .gitignore 2014-06-06 Doug Torrance * configure.ac, src/Makefile.am: use pkg-config for linked libraries 2014-05-02 Doug Torrance * Makefile.am: added BUGS to distribution tarball 2014-05-02 Doug Torrance * .gitignore: Update .gitignore (add configure.no-verify). 2014-05-01 Doug Torrance * .gitignore, Makefile.am: Add pkg-config dockapp.pc file. 2014-05-01 Doug Torrance * configure.ac: Modernize configure.ac. 2014-05-01 Doug Torrance * .gitignore, Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure, examples/Makefile.in, fonts/Makefile.in, ltmain.sh, missing, src/Makefile.in: Remove autotools-generated files, update .gitignore. 2014-05-01 Doug Torrance * fonts/Makefile.am: Actually added fonts to distribution tarball. Despite the commit message of the previous commit, this was not done. Now it is. 2014-05-01 Doug Torrance * configure.ac, fonts/Makefile.am, fonts/fonts.alias, fonts/fonts.dir: Various changes to `make install' of fonts. * Use font-util macros. * Include fonts in distribution tarball. * Removed fonts.dir (built by `make install') and fonts.alias (empty file). 2014-04-30 Doug Torrance * examples/Makefile.am: rewrite examples Makefile.am to ensure they are included in the tarball 2014-04-30 Doug Torrance * INSTALL, Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure, configure.ac, configure.in, examples/Makefile.in, fonts/Makefile.in, install-sh, ltmain.sh, missing, src/Makefile.in: rename configure.in -> configure.ac 2014-04-30 Doug Torrance * .gitignore: added .gitignore 2014-04-30 Doug Torrance * CVS/Entries, CVS/Repository, CVS/Root, autom4te.cache/output.0, autom4te.cache/output.1, autom4te.cache/requests, autom4te.cache/traces.0, autom4te.cache/traces.1, examples/CVS/Entries, examples/CVS/Repository, examples/CVS/Root, examples/basic/CVS/Entries, examples/basic/CVS/Repository, examples/basic/CVS/Root, examples/rectangles/CVS/Entries, examples/rectangles/CVS/Repository, examples/rectangles/CVS/Root, examples/shapes/CVS/Entries, examples/shapes/CVS/Repository, examples/shapes/CVS/Root, fonts/CVS/Entries, fonts/CVS/Repository, fonts/CVS/Root, src/CVS/Entries, src/CVS/Repository, src/CVS/Root: Removed CVS directories 2014-04-24 Doug Torrance * Initial commit ** Changes above this point from git log in sourceforge git repository. ** @ text @@@comment $NetBSD$ include/libdockapp/dockapp.h include/libdockapp/list.h include/libdockapp/misc.h include/libdockapp/wmgeneral.h lib/libdockapp.la lib/pkgconfig/dockapp.pc share/doc/libdockapp/README share/doc/libdockapp/basic/Makefile share/doc/libdockapp/basic/README share/doc/libdockapp/basic/ball_red.xpm share/doc/libdockapp/basic/basic.c share/doc/libdockapp/rectangles/Makefile share/doc/libdockapp/rectangles/rectangles.c share/fonts/X11/misc/luxel-ascii-06x09.pcf.gz share/fonts/X11/misc/seg7-ascii-05x07.pcf.gz @ 1.5 log @Sort PLIST files. Unsorted entries in PLIST files have generated a pkglint warning for at least 12 years. Somewhat more recently, pkglint has learned to sort PLIST files automatically. Since pkglint 5.4.23, the sorting is only done in obvious, simple cases. These have been applied by running: pkglint -Cnone,PLIST -Wnone,plist-sort -r -F @ text @d1 5 a5 2 @@comment $NetBSD: PLIST,v 1.4 2011/04/14 17:11:20 hans Exp $ include/dockapp.h d7 1 d9 8 a16 6 share/examples/libdockapp/basic/Imakefile share/examples/libdockapp/basic/README share/examples/libdockapp/basic/ball_red.xpm share/examples/libdockapp/basic/basic.c share/examples/libdockapp/rectangles/Imakefile share/examples/libdockapp/rectangles/rectangles.c @ 1.4 log @update to 0.6.2 @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:48:52 joerg Exp $ d5 1 d7 1 a7 1 share/examples/libdockapp/basic/Imakefile d9 1 a9 1 share/examples/libdockapp/basic/ball_red.xpm a10 1 share/examples/libdockapp/rectangles/Imakefile @ 1.3 log @Remove @@dirrm entries from PLISTs @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:26 jlam Exp $ d5 6 @ 1.2 log @Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST. All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes". @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:24:28 zuntum Exp $ a4 1 @@dirrm share/doc/libdockapp @ 1.1 log @Move pkg/ files into package's toplevel directory @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/12 17:10:35 wiz Exp $ a2 1 lib/libdockapp.a a3 3 lib/libdockapp.so lib/libdockapp.so.1 lib/libdockapp.so.1.0 @