From fc3d33543429981a39bb61f84f1d5fc65900e6de Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 3 Sep 2003 21:29:30 +0000 Subject: [PATCH] - Add better xscreensaver support. [1] I don't use xscreensaver, so I haven't tested it, but the patch compiles just fine and doesn't break the normal operation. - Remove comment about GNOME support in the port Makefile, we don't need it anymore. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: 55772 [1] Submitted by: Zahemszky Gábor [1] --- graphics/chbg/Makefile | 3 +-- graphics/chbg/files/patch-xscreensaver | 12 ++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 graphics/chbg/files/patch-xscreensaver diff --git a/graphics/chbg/Makefile b/graphics/chbg/Makefile index 55f6b94c4de4..65d855ff7bab 100644 --- a/graphics/chbg/Makefile +++ b/graphics/chbg/Makefile @@ -7,7 +7,7 @@ PORTNAME= chbg PORTVERSION= 1.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.idata.sk/~ondrej/sw/ @@ -17,7 +17,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= netchild@FreeBSD.org COMMENT= Change Background Picture with time period -# GNOME parts aren't prefix safe, they install into "gnome-config --prefix" USE_X_PREFIX= yes USE_GNOME= gdkpixbuf USE_GMAKE= yes diff --git a/graphics/chbg/files/patch-xscreensaver b/graphics/chbg/files/patch-xscreensaver new file mode 100644 index 000000000000..193b13238694 --- /dev/null +++ b/graphics/chbg/files/patch-xscreensaver @@ -0,0 +1,12 @@ +*** src/options.h.orig Tue Aug 19 22:51:46 2003 +--- src/options.h Tue Aug 19 22:46:51 2003 +*************** option_t chbg_opts[] = { +*** 118,123 **** +--- 118,124 ---- + {CHBG_OPT_PATTERN, "-pattern", "Pattern:", 1}, + {CHBG_OPT_INWINDOW, "-inwindow", "InWindow:", 0}, + {CHBG_OPT_WINDOWID, "-windowid", NULL, 1}, ++ {CHBG_OPT_WINDOWID, "-window-id", NULL, 1}, + {CHBG_OPT_RUN, "-run", NULL, 0}, + {CHBG_OPT_MIN_PSIZE, "-min_psize", "MinPictureSize:", 1}, + {CHBG_OPT_DEFFECTS, "-deffects", "DisabledEffects:", 1},