1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= xorg-driver-video-scfb
7 SDESC[standard]= X.org vesa syscons display driver
8 HOMEPAGE= https://www.x.org/
12 SITES[main]= GITHUB/rayddteam:xf86-video-scfb:0.0.7
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 NOT_FOR_OPSYS= linux netbsd
22 BUILD_DEPENDS= xorg-server:dev:standard
23 BUILDRUN_DEPENDS= xorg-server:primary:standard
26 XORG_COMPONENTS= xorgproto
28 DISTNAME= xf86-video-scfb-0.0.7
31 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
34 FPC_EQUIVALENT= x11-drivers/xf86-video-scfb
38 INSTALL_TARGET= install-strip
40 [FILE:95:descriptions/desc.single]
41 This package contains the X.Org xf86-video-scfb driver.
42 Framebuffer access is via BSD syscons.
46 0b9774e73c6993be84def21d27addcca5c3b88f7172d39008bc6ce5dec6768f0 346238 rayddteam-xf86-video-scfb-0.0.7.tar.gz
49 [FILE:62:manifests/plist.single]
50 lib/xorg/modules/drivers/scfb_drv.so
51 share/man/man4/scfb.4.gz
54 [FILE:3805:patches/patch-src_compat-api.h]
55 --- src/compat-api.h.orig 2021-12-15 22:31:33 UTC
62 + * Copyright 2012 Red Hat, Inc.
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:
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
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.
83 + * Author: Dave Airlie <airlied@redhat.com>
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 */
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
96 +#ifndef XF86_HAS_SCRN_CONV
97 +#define xf86ScreenToScrn(s) xf86Screens[(s)->myNum]
98 +#define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex]
101 +#ifndef XF86_SCRN_INTERFACE
103 +#define SCRN_ARG_TYPE int
104 +#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = xf86Screens[(arg1)]
106 +#define SCREEN_ARG_TYPE int
107 +#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
109 +#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
111 +#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
112 +#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
114 +#define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
115 +#define CLOSE_SCREEN_ARGS scrnIndex, pScreen
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
120 +#define SWITCH_MODE_ARGS_DECL int arg, DisplayModePtr mode, int flags
121 +#define SWITCH_MODE_ARGS(arg, m) (arg)->scrnIndex, m, 0
123 +#define FREE_SCREEN_ARGS_DECL int arg, int flags
125 +#define VT_FUNC_ARGS_DECL int arg, int flags
126 +#define VT_FUNC_ARGS(flags) pScrn->scrnIndex, (flags)
128 +#define XF86_ENABLEDISABLEFB_ARG(x) ((x)->scrnIndex)
130 +#define SCRN_ARG_TYPE ScrnInfoPtr
131 +#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = (arg1)
133 +#define SCREEN_ARG_TYPE ScreenPtr
134 +#define SCREEN_PTR(arg1) ScreenPtr pScreen = (arg1)
136 +#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
138 +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
139 +#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
141 +#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
142 +#define CLOSE_SCREEN_ARGS pScreen
144 +#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y
145 +#define ADJUST_FRAME_ARGS(arg, x, y) arg, x, y
147 +#define SWITCH_MODE_ARGS_DECL ScrnInfoPtr arg, DisplayModePtr mode
148 +#define SWITCH_MODE_ARGS(arg, m) arg, m
150 +#define FREE_SCREEN_ARGS_DECL ScrnInfoPtr arg
152 +#define VT_FUNC_ARGS_DECL ScrnInfoPtr arg
153 +#define VT_FUNC_ARGS(flags) pScrn
155 +#define XF86_ENABLEDISABLEFB_ARG(x) (x)