Ravenports generated: 22 Sep 2023 22:57
[ravenports.git] / bucket_8D / tilda
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               tilda
4 VERSION=                1.5.4
5 KEYWORDS=               x11
6 VARIANTS=               standard
7 SDESC[standard]=        Quake-style popup terminal
8 HOMEPAGE=               https://github.com/lanoxx/tilda
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/lanoxx:tilda:tilda-1.5.4
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         nls
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BUILD_DEPENDS=          harfbuzz:dev:standard
23                         libconfuse:dev:standard
24 BUILDRUN_DEPENDS=       libconfuse:primary:standard
25
26 USES=                   autoreconf gmake libtool pkgconfig python
27 GNOME_COMPONENTS=       vte
28
29 LICENSE=                GPLv2+:primary
30 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
31 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/COPYING
32 LICENSE_AWK=            TERMS:"^$$"
33 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/tilda.h
34 LICENSE_SCHEME=         solo
35
36 FPC_EQUIVALENT=         x11/tilda
37
38 MUST_CONFIGURE=         gnu
39
40 INSTALL_TARGET=         install-strip
41
42 [FILE:497:descriptions/desc.primary]
43 Tilda is a terminal emulator and can be compared with other popular
44 terminal emulators such as gnome-terminal (Gnome), Konsole (KDE), xterm
45 and many others. The specialities of Tilda are that it does not behave
46 like a normal window but instead it can be pulled up and down from the
47 top of the screen with a special hotkey. Additionally Tilda is highly
48 configurable. It is possible to configure the hotkeys for keybindings,
49 change the appearance and many options that affect the behavior of Tilda.
50
51
52 [FILE:110:distinfo]
53 c9528b0e9af6f5a35db9ca695b3edbb6709755e82afdfc3cdb75a406ddc67523       485611 lanoxx-tilda-tilda-1.5.4.tar.gz
54
55
56 [FILE:100:manifests/plist.primary]
57 bin/tilda
58 share/applications/tilda.desktop
59 share/metainfo/tilda.appdata.xml
60 share/pixmaps/tilda.png
61
62
63 [FILE:826:manifests/plist.nls]
64 share/locale/bg/LC_MESSAGES/tilda.mo
65 share/locale/ca/LC_MESSAGES/tilda.mo
66 share/locale/cs/LC_MESSAGES/tilda.mo
67 share/locale/de/LC_MESSAGES/tilda.mo
68 share/locale/el/LC_MESSAGES/tilda.mo
69 share/locale/en_GB/LC_MESSAGES/tilda.mo
70 share/locale/es/LC_MESSAGES/tilda.mo
71 share/locale/fr/LC_MESSAGES/tilda.mo
72 share/locale/hu/LC_MESSAGES/tilda.mo
73 share/locale/it/LC_MESSAGES/tilda.mo
74 share/locale/lt/LC_MESSAGES/tilda.mo
75 share/locale/nb/LC_MESSAGES/tilda.mo
76 share/locale/pl/LC_MESSAGES/tilda.mo
77 share/locale/pt/LC_MESSAGES/tilda.mo
78 share/locale/pt_BR/LC_MESSAGES/tilda.mo
79 share/locale/ru/LC_MESSAGES/tilda.mo
80 share/locale/sk/LC_MESSAGES/tilda.mo
81 share/locale/sl/LC_MESSAGES/tilda.mo
82 share/locale/sv/LC_MESSAGES/tilda.mo
83 share/locale/tr/LC_MESSAGES/tilda.mo
84 share/locale/zh_CN/LC_MESSAGES/tilda.mo
85 share/locale/zh_TW/LC_MESSAGES/tilda.mo
86
87
88 [FILE:1087:patches/patch-src_tilda.c]
89 --- src/tilda.c.orig    2020-12-24 10:31:23 UTC
90 +++ src/tilda.c
91 @@ -13,6 +13,11 @@
92   * You should have received a copy of the GNU Library General Public
93   * License along with this library. If not, see <http://www.gnu.org/licenses/>.
94   */
95 +#if defined(__FreeBSD__) || defined(__DragonFly__)
96 +#define USE_PGREP
97 +#include <fcntl.h>
98 +#endif
99 +#define _NETBSD_SOURCE
100  #define _POSIX_SOURCE /* feature test macro for signal functions */
101  #define _XOPEN_SOURCE /* feature test macro for popen */
102  
103 @@ -54,7 +59,9 @@
104  #include <sys/stat.h>
105  #include <sys/file.h>
106  #include <errno.h>
107 +#if !defined(__DragonFly__) && !defined(__FreeBSD__)
108  #include <sys/dir.h>
109 +#endif
110  #include <errno.h>
111  #include <fcntl.h>
112  #include <string.h>
113 @@ -232,7 +239,11 @@ nomatch:
114  static GSList *getPids() {
115      GSList *pids = NULL;
116      FILE *ps_output;
117 +#ifdef USE_PGREP
118 +    const gchar ps_command[] = "/usr/bin/pgrep tilda";
119 +#else
120      const gchar ps_command[] = "ps -C tilda -o pid=";
121 +#endif
122      gchar buf[16]; /* Really shouldn't need more than 6 */
123  
124      if ((ps_output = popen (ps_command, "r")) == NULL) {
125