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