Ravenports generated: 24 Apr 2023 15:00
[ravenports.git] / bucket_5F / xorg-driver-video-scfb
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xorg-driver-video-scfb
4 VERSION=                0.0.7
5 KEYWORDS=               x11_drivers
6 VARIANTS=               standard
7 SDESC[standard]=        X.org vesa syscons display driver
8 HOMEPAGE=               https://www.x.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/rayddteam:xf86-video-scfb:0.0.7
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 NOT_FOR_OPSYS=          linux netbsd
21
22 BUILD_DEPENDS=          xorg-server:dev:standard
23 BUILDRUN_DEPENDS=       xorg-server:primary:standard
24
25 USES=                   libtool mbsdfix
26 XORG_COMPONENTS=        xorgproto
27
28 DISTNAME=               xf86-video-scfb-0.0.7
29
30 LICENSE=                MIT:single
31 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
32 LICENSE_SCHEME=         solo
33
34 FPC_EQUIVALENT=         x11-drivers/xf86-video-scfb
35
36 MUST_CONFIGURE=         gnu
37
38 INSTALL_TARGET=         install-strip
39
40 [FILE:95:descriptions/desc.single]
41 This package contains the X.Org xf86-video-scfb driver.
42 Framebuffer access is via BSD syscons.
43
44
45 [FILE:117:distinfo]
46 0b9774e73c6993be84def21d27addcca5c3b88f7172d39008bc6ce5dec6768f0       346238 rayddteam-xf86-video-scfb-0.0.7.tar.gz
47
48
49 [FILE:62:manifests/plist.single]
50 lib/xorg/modules/drivers/scfb_drv.so
51 share/man/man4/scfb.4.gz
52
53
54 [FILE:3805:patches/patch-src_compat-api.h]
55 --- src/compat-api.h.orig       2021-12-15 22:31:33 UTC
56 +++ src/compat-api.h
57 @@ -97,3 +97,102 @@
58  #endif
59  
60  #endif
61 +/*
62 + * Copyright 2012 Red Hat, Inc.
63 + *
64 + * Permission is hereby granted, free of charge, to any person obtaining a
65 + * copy of this software and associated documentation files (the "Software"),
66 + * to deal in the Software without restriction, including without limitation
67 + * the rights to use, copy, modify, merge, publish, distribute, sublicense,
68 + * and/or sell copies of the Software, and to permit persons to whom the
69 + * Software is furnished to do so, subject to the following conditions:
70 + *
71 + * The above copyright notice and this permission notice (including the next
72 + * paragraph) shall be included in all copies or substantial portions of the
73 + * Software.
74 + *
75 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76 + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77 + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
78 + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79 + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
80 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
81 + * DEALINGS IN THE SOFTWARE.
82 + *
83 + * Author: Dave Airlie <airlied@redhat.com>
84 + */
85 +
86 +/* this file provides API compat between server post 1.13 and pre it,
87 +   it should be reused inside as many drivers as possible */
88 +#ifndef COMPAT_API_H
89 +#define COMPAT_API_H
90 +
91 +#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR
92 +#define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum]
93 +#define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p
94 +#endif
95 +
96 +#ifndef XF86_HAS_SCRN_CONV
97 +#define xf86ScreenToScrn(s) xf86Screens[(s)->myNum]
98 +#define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex]
99 +#endif
100 +
101 +#ifndef XF86_SCRN_INTERFACE
102 +
103 +#define SCRN_ARG_TYPE int
104 +#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = xf86Screens[(arg1)]
105 +
106 +#define SCREEN_ARG_TYPE int
107 +#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
108 +
109 +#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
110 +
111 +#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
112 +#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
113 +
114 +#define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
115 +#define CLOSE_SCREEN_ARGS scrnIndex, pScreen
116 +
117 +#define ADJUST_FRAME_ARGS_DECL int arg, int x, int y, int flags
118 +#define ADJUST_FRAME_ARGS(arg, x, y) (arg)->scrnIndex, x, y, 0
119 +
120 +#define SWITCH_MODE_ARGS_DECL int arg, DisplayModePtr mode, int flags
121 +#define SWITCH_MODE_ARGS(arg, m) (arg)->scrnIndex, m, 0
122 +
123 +#define FREE_SCREEN_ARGS_DECL int arg, int flags
124 +
125 +#define VT_FUNC_ARGS_DECL int arg, int flags
126 +#define VT_FUNC_ARGS(flags) pScrn->scrnIndex, (flags)
127 +
128 +#define XF86_ENABLEDISABLEFB_ARG(x) ((x)->scrnIndex)
129 +#else
130 +#define SCRN_ARG_TYPE ScrnInfoPtr
131 +#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = (arg1)
132 +
133 +#define SCREEN_ARG_TYPE ScreenPtr
134 +#define SCREEN_PTR(arg1) ScreenPtr pScreen = (arg1)
135 +
136 +#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
137 +
138 +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
139 +#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
140 +
141 +#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
142 +#define CLOSE_SCREEN_ARGS pScreen
143 +
144 +#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y
145 +#define ADJUST_FRAME_ARGS(arg, x, y) arg, x, y
146 +
147 +#define SWITCH_MODE_ARGS_DECL ScrnInfoPtr arg, DisplayModePtr mode
148 +#define SWITCH_MODE_ARGS(arg, m) arg, m
149 +
150 +#define FREE_SCREEN_ARGS_DECL ScrnInfoPtr arg
151 +
152 +#define VT_FUNC_ARGS_DECL ScrnInfoPtr arg
153 +#define VT_FUNC_ARGS(flags) pScrn
154 +
155 +#define XF86_ENABLEDISABLEFB_ARG(x) (x)
156 +
157 +#endif
158 +
159 +#endif
160