From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 10.68.69.45 with SMTP id b13mr20311757pbu.5.1421892282800; Wed, 21 Jan 2015 18:04:42 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 10.182.128.3 with SMTP id nk3ls156438obb.75.gmail; Wed, 21 Jan 2015 18:04:42 -0800 (PST) X-Received: by 10.182.106.233 with SMTP id gx9mr341551obb.0.1421892282601; Wed, 21 Jan 2015 18:04:42 -0800 (PST) Date: Wed, 21 Jan 2015 18:04:41 -0800 (PST) From: Logen Kain To: voidlinux@googlegroups.com Message-Id: <4607da7d-2f3a-4a82-8739-4e8f7fe42d80@googlegroups.com> Subject: Profanity Notifications? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_379_1876094671.1421892281999" ------=_Part_379_1876094671.1421892281999 Content-Type: multipart/alternative; boundary="----=_Part_380_20746596.1421892281999" ------=_Part_380_20746596.1421892281999 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Someone brought to my attention that notifications don't seem to work with Profanity so I decided to look at the pkg build: # Template file for 'profanity' 2 pkgname=profanity 3 version=0.4.5 4 revision=1 5 # Package build options 6 build_options="notify xscreensaver" 7 build_style=gnu-configure 8 configure_args="$(vopt_enable notify notifications) $(vopt_with xscreensaver)" 9 hostmakedepends="pkg-config" 10 makedepends="glib-devel expat-devel ncurses-devel libgcrypt-devel libotr-devel 11 libcurl-devel libstrophe-devel $(vopt_if notifications libnotify-devel) 12 $(vopt_if xscreensaver libXScrnSaver-devel)" 13 short_desc="A console based XMPP client" 14 " If someone can clear this up in my head I'd appreciate it. ------=_Part_380_20746596.1421892281999 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Someone brought to my attention that notifications don't s= eem to work with Profanity so I decided to look at the pkg build:

<= /div>
# Template file for 'profanity'
  2 pkgname= =3Dprofanity
  3 version=3D0.4.5
  4 revision= =3D1
  5 # Package build options
  6 build_op= tions=3D"notify xscreensaver"
  7 build_style=3Dgnu-configur= e
  8 configure_args=3D"$(vopt_enable notify notifications) = $(vopt_with xscreensaver)"
  9 hostmakedepends=3D"pkg-config= "
 10 makedepends=3D"glib-devel expat-devel ncurses-devel li= bgcrypt-devel libotr-devel
 11  libcurl-devel libstroph= e-devel $(vopt_if notifications libnotify-devel)
 12  $= (vopt_if xscreensaver libXScrnSaver-devel)"
 13 short_desc= =3D"A console based XMPP client"
 14 <email deleted due t= o being placed on google.
 15 license=3D"GPL-3"
&n= bsp;16 homepage=3D"http://www.profanity.im/"
 17 distfiles= =3D"http://www.profanity.im/${pkgname}-${version}.tar.gz"
 1= 8 checksum=3D7436b38d03da0645f5cdb3ca3921b974a760ba68fa92e4def82519d759c7fc= 63

So I'm looking at the "vopt" commands and= trying to wrap my head around it.

The best I can = tell is that "vopt" makes it easier to select a build option if I want to c= ompile the package myself.
so... 

Furthermore= doing a "./xbps-src show-options foo" = show both notify and xscreensaver to be off.  Looking at "$(vopt_enabl= e notify notifications", does this mean (pseudo code) "if enabled then noti= fications"?  Reading from the manual the enable should mean that build= option "notify" is enabled by default, or perhaps I misunderstand and, as = I wrote above, it actually means "if enabled then do this enable-<flag&g= t;"
appreciate it.
------=_Part_380_20746596.1421892281999-- ------=_Part_379_1876094671.1421892281999--