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