# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= tilda VERSION= 1.5.4 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.4 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[standard]= complete primary nls OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= harfbuzz:dev:standard libconfuse:dev:standard BUILDRUN_DEPENDS= libconfuse:primary:standard USES= autoreconf gmake 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] c9528b0e9af6f5a35db9ca695b3edbb6709755e82afdfc3cdb75a406ddc67523 485611 lanoxx-tilda-tilda-1.5.4.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:1087:patches/patch-src_tilda.c] --- src/tilda.c.orig 2020-12-24 10:31:23 UTC +++ src/tilda.c @@ -13,6 +13,11 @@ * 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 _NETBSD_SOURCE #define _POSIX_SOURCE /* feature test macro for signal functions */ #define _XOPEN_SOURCE /* feature test macro for popen */ @@ -54,7 +59,9 @@ #include #include #include +#if !defined(__DragonFly__) && !defined(__FreeBSD__) #include +#endif #include #include #include @@ -232,7 +239,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) {