Date: Wed, 27 Jul 2016 12:35:30 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 210548] audio/pulseaudio: Update to 9.0 Message-ID: <bug-210548-6497-3eDh2xk6AO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-210548-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-210548-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210548 --- Comment #20 from lightside <lightside@gmx.com> --- There were some updates on http://www.freshports.org site, which allows to = do queries with plain text results, e.g. for dependent ports with LIB_DEPENDS = of specified port: http://www.freshports.org/search.php?stype=3Ddepends_lib&method=3Dmatch&que= ry=3Daudio%2Fpulseaudio&orderby=3Dcategory&orderbyupdown=3Dasc&search=3DSea= rch&format=3Dplaintext&minimal=3D1 This simplifies command in comment #15: % wget -qO - "http://www.freshports.org/search.php?stype=3Ddepends_lib&method=3Dmatch&qu= ery=3Daudio%2Fpulseaudio&orderby=3Dcategory&orderbyupdown=3Dasc&search=3DSe= arch&format=3Dplaintext&minimal=3D1" | fmt Based on this, I created following shell script (named freshports_depends_l= ib, just in case): -8<-- #!/bin/sh query=3D$1 # Also possible to use http://dev.freshports.org address, but results may differ site=3Dhttp://www.freshports.org # Search type: depends_build, depends_lib, depends_run, depends_all, etc. stype=3Ddepends_lib # Search method: exact (equal to), prefix (starting with), match (containin= g), suffix (ending with), soundex (sounds like) method=3Dmatch url=3D"${site}/search.php?stype=3D${stype}&method=3D${method}&query=3D${que= ry}&orderby=3Dcategory&orderbyupdown=3Dasc&search=3DSearch&format=3Dplainte= xt&minimal=3D1" if [ -z "${query}" ]; then echo "Required to specify argument with query, e.g. audio/pulseaudi= o" exit 1 fi fetch -qo - ${url} -->8- Then the previous query may be produced with following command (the current result of which is identical to the result in a comment #15): % freshports_depends_lib audio/pulseaudio | fmt audio/gnome-media audio/gstreamer-plugins-pulse audio/gstreamer1-plugins-pulse audio/gtick audio/paman audio/paprefs audio/pavucontrol audio/pavumeter audio/xfce4-pulseaudio-plugin comms/deforaos-phone comms/gqrx comms/qsstv comms/quisk comms/twpsk deskutils/xfce4-volumed-pulse games/retroarch lang/squeak multimedia/aegisub multimedia/gmerlin multimedia/lives multimedia/obs-studio multimedia/qmmp multimedia/qmmp-qt5 multimedia/qt4-mobility net/gtk-vnc net-im/empathy net-im/ring-daemon net-p2p/gnunet sysutils/cinnamon-control-center sysutils/cinnamon-settings-daemon sysutils/gnome-settings-daemon x11/cinnamon x11/gnome-shell I posted the previous shell script for informative purposes only, because t= he format of query and options may be changed, which may require to adapt the script. Possible to use http://www.freshports.org/search.php page directly. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210548-6497-3eDh2xk6AO>