# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= tilda VERSION= 1.5.2 KEYWORDS= x11 VARIANTS= standard SDESC[standard]= Quake-style popup terminal HOMEPAGE= https://github.com/lanoxx/tilda CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GITHUB/lanoxx:tilda:tilda-1.5.2 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[standard]= complete primary nls OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILDRUN_DEPENDS= libconfuse:single:standard USES= autoreconf gmake gettext-tools libtool pkgconfig python GNOME_COMPONENTS= vte LICENSE= GPLv2+:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING LICENSE_AWK= TERMS:"^$$" LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/tilda.h LICENSE_SCHEME= solo FPC_EQUIVALENT= x11/tilda MUST_CONFIGURE= gnu INSTALL_TARGET= install-strip [FILE:497:descriptions/desc.primary] Tilda is a terminal emulator and can be compared with other popular terminal emulators such as gnome-terminal (Gnome), Konsole (KDE), xterm and many others. The specialities of Tilda are that it does not behave like a normal window but instead it can be pulled up and down from the top of the screen with a special hotkey. Additionally Tilda is highly configurable. It is possible to configure the hotkeys for keybindings, change the appearance and many options that affect the behavior of Tilda. [FILE:110:distinfo] 3d6b9ea01d39692685e410f365c64ed63b604372e4e4f82b99e82c4967ef03db 485261 lanoxx-tilda-tilda-1.5.2.tar.gz [FILE:100:manifests/plist.primary] bin/tilda share/applications/tilda.desktop share/metainfo/tilda.appdata.xml share/pixmaps/tilda.png [FILE:826:manifests/plist.nls] share/locale/bg/LC_MESSAGES/tilda.mo share/locale/ca/LC_MESSAGES/tilda.mo share/locale/cs/LC_MESSAGES/tilda.mo share/locale/de/LC_MESSAGES/tilda.mo share/locale/el/LC_MESSAGES/tilda.mo share/locale/en_GB/LC_MESSAGES/tilda.mo share/locale/es/LC_MESSAGES/tilda.mo share/locale/fr/LC_MESSAGES/tilda.mo share/locale/hu/LC_MESSAGES/tilda.mo share/locale/it/LC_MESSAGES/tilda.mo share/locale/lt/LC_MESSAGES/tilda.mo share/locale/nb/LC_MESSAGES/tilda.mo share/locale/pl/LC_MESSAGES/tilda.mo share/locale/pt/LC_MESSAGES/tilda.mo share/locale/pt_BR/LC_MESSAGES/tilda.mo share/locale/ru/LC_MESSAGES/tilda.mo share/locale/sk/LC_MESSAGES/tilda.mo share/locale/sl/LC_MESSAGES/tilda.mo share/locale/sv/LC_MESSAGES/tilda.mo share/locale/tr/LC_MESSAGES/tilda.mo share/locale/zh_CN/LC_MESSAGES/tilda.mo share/locale/zh_TW/LC_MESSAGES/tilda.mo [FILE:834:patches/patch-src_tilda.c] --- src/tilda.c.orig 2020-05-09 10:39:43 UTC +++ src/tilda.c @@ -13,6 +13,10 @@ * You should have received a copy of the GNU Library General Public * License along with this library. If not, see . */ +#if defined(__FreeBSD__) || defined(__DragonFly__) +#define USE_PGREP +#include +#endif #define _POSIX_SOURCE /* feature test macro for signal functions */ #define _XOPEN_SOURCE /* feature test macro for popen */ @@ -232,7 +236,11 @@ nomatch: static GSList *getPids() { GSList *pids = NULL; FILE *ps_output; +#ifdef USE_PGREP + const gchar ps_command[] = "/usr/bin/pgrep tilda"; +#else const gchar ps_command[] = "ps -C tilda -o pid="; +#endif gchar buf[16]; /* Really shouldn't need more than 6 */ if ((ps_output = popen (ps_command, "r")) == NULL) {