Commit graph

14 commits

Author SHA1 Message Date
Doug Torrance 219e04f6ad Update mailing list links to new Google Groups. 2018-05-14 23:34:53 +01:00
Doug Torrance e5cf1b958e wmmenu: Update header file location.
In libdockapp 0.7.0, dockapp.h was moved to /usr/include/libdockapp.
2015-10-21 09:07:01 -04:00
Doug Torrance 8eb16e1eb8 wmmenu: Bump to version 1.3. 2015-01-24 18:40:48 +00:00
Doug Torrance adcf7d75f2 wmmenu: Remove trailing whitespace. 2015-01-24 18:40:48 +00:00
Doug Torrance 0a64f9e23d wmmenu: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-24 18:40:48 +00:00
Doug Torrance 2167b4c354 wmmenu: Fix -Wsign-compare compiler warning.
Use size_t instead of int since comparing with sizeof.
2015-01-24 18:40:48 +00:00
Doug Torrance 28ea752c44 wmmenu: Fix -Wunused-value compiler warnings. 2015-01-24 18:40:48 +00:00
Doug Torrance 93bb8f6267 wmmenu: Fix -Woverlength-strings compiler warning.
Instead of printing one giant string for the help text, we print each line
individually.
2015-01-24 18:40:48 +00:00
Doug Torrance 1bda233d76 wmmenu: Fix -Wdeprecated-declarations compiler warnings.
The function gdk_pixbuf_unref is deprecated.  We replace it with
g_object_unref.  This requires linking against gobject-2.0.
2015-01-24 18:40:48 +00:00
Doug Torrance aa1149d5f9 wmmenu: Fix -Wunused-result compiler warning.
Print a warning message if system() fails.
2015-01-24 18:40:48 +00:00
Doug Torrance a29eaa2fb2 wmmenu: Replace deprecated DAInitialize() from libdockapp.
Patch from Gentoo [1].

[1] http://mirrors.telepoint.bg/gentoo-portage/x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch
2015-01-24 18:40:48 +00:00
Doug Torrance 906ed7723c wmmenu: Update to compile with modern GDK-PixBuf.
In particular,
- We need to link against gdk_pixbuf-2.0 in addition to
  gdk_pixbuf_xlib-2.0.
- The header gdk-pixbuf-xlib.h has been moved to the gdk-pixbuf-xlib
  directory.
- The function gdk_pixbuf_new_from_file now requires two arguments.
- We need to define GdkColor ourselves since we don't include gdk.h.

Inspired by a patch by Nerijus Baliunas [1].

[1] http://lists.windowmaker.org/dev/msg07994.html
2015-01-24 18:40:48 +00:00
Doug Torrance 3f77d709f9 wmmenu: Update Makefile.
In particular,
- Remove option to compile with deprecated GDK-PixBuf 1.0.
- Remove *ROOT variables; libdockapp should be in the default include search
  path and X11R6 directories are deprecated.
- Remove /opt/gtk2/bin from PIXBUF_CFG; pkg-config is likely elsewhere.
- Remove CPPFLAGS from CFLAGS and INCDIRS and DEFINES from CFLAGS; we  don't
  want these to disappear if user defines different flags.

Inspired in part by similar patches in Gentoo [1] and by Nerijus Baliunas [2].

[1] http://mirrors.telepoint.bg/gentoo-portage/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch
[2] http://lists.windowmaker.org/dev/msg07994.html
2015-01-24 18:40:48 +00:00
Doug Torrance ef546fc369 wmmenu: Add version 1.2 to repository.
Obtained from [1] at the request of Nerijus Baliunas [2].

[1] https://web.archive.org/web/20110720231607/http://www.fcoutant.freesurf.fr/download/wmmenu-1.2.tar.gz
[2] http://lists.windowmaker.org/dev/msg07991.html
2015-01-22 23:13:20 +00:00