From: Ryan Mullen Date: Thu, 15 Nov 2012 04:32:18 +0000 (-0500) Subject: Introduce xorg-xf86-video-dove X-Git-Url: http://gitweb/?a=commitdiff_plain;h=196fb7276a9d6a009e0cdefb7f678dcd6ec2ca6d;p=ports%2Fcubox-arm.git Introduce xorg-xf86-video-dove --- diff --git a/xorg-xf86-video-dove/.footprint b/xorg-xf86-video-dove/.footprint new file mode 100644 index 0000000..9f94546 --- /dev/null +++ b/xorg-xf86-video-dove/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/X11/ +-rw-r--r-- root/root etc/X11/xorg.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/xorg/ +drwxr-xr-x root/root usr/lib/xorg/modules/ +drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ +-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/dovefb_drv.la +-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/dovefb_drv.so +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man4/ +-rw-r--r-- root/root usr/man/man4/mrvl.4.gz diff --git a/xorg-xf86-video-dove/.md5sum b/xorg-xf86-video-dove/.md5sum new file mode 100644 index 0000000..5148e82 --- /dev/null +++ b/xorg-xf86-video-dove/.md5sum @@ -0,0 +1,2 @@ +03294f82a3df0ccdf63f62ea1e4d027a xorg.conf +cd0cb4528b4c30095051af904a20505b xserver-xorg-video-dove-0.1.0.tar.gz diff --git a/xorg-xf86-video-dove/Pkgfile b/xorg-xf86-video-dove/Pkgfile new file mode 100644 index 0000000..9155449 --- /dev/null +++ b/xorg-xf86-video-dove/Pkgfile @@ -0,0 +1,30 @@ +# Description: Marvell Armada 510/Dove graphics libraries +# URL: http://www.solid-run.com/mw/index.php/Main_Page +# Packager: Ryan Mullen, rmmullen at gmail dot com +# Maintainer: Ryan Mullen, rmmullen at gmail dot com +# Depends on: xorg-server marvell-libgfx + +name=xorg-xf86-video-dove +version=0.1.0 +release=1 +source=(http://download.solid-run.com/pub/solidrun/cubox/packages/xserver-xorg-video-dove/xserver-xorg-video-dove-$version.tar.gz + xorg.conf) + +build() { + cd xserver-xorg-video-dove-$version + tar -xvf xserver-xorg-video-dove_0.3.4-1.tar.gz + cd xserver-xorg-video-dove-$version + aclocal + libtoolize + + # Workaround - this automake fails, and we don't want to abort the build + automake --add-missing || true + + autoreconf + ./configure --mandir=/usr/man --prefix=/usr CFLAGS="-O0 -Wall -DMRVL_SUPPORT_RANDR=1 -DMRVL_SUPPORT_EXA=1 -DDUMP_RAW_VIDEO=0 -DMRVL_USE_OFFSCREEN_HEAP=0 -DMRVL_EXA_MODE=2 -DMRVL_EXA_ENABLE_UP_DOWNLOAD=2 -DMRVL_EXA_FORCE_HW_LOAD=0 -DMRVL_EXA_ALLOC_PIXMAP_FROM_SYSTEM=0 -DMRVL_EXA_PERF_PROFILING=0 -DMRVL_EXA_TRACE_FALLBACK=0 -DMRVL_EXA_XBGR_SUPPORT=1 -DMRVL_XV_SUPPORT_RGB_FORMAT=1 -DMRVL_XV_TEX_VIDEO=1 -DMRVL_XV_OVERLAY_VIDEO=1 -DMRVL_XV_DEFERRED_STALL_GPU=1 -DMRVL_XV_USE_FAKE_FENCE_STALL=1 -DMRVL_RANDR_EDID_MODES=1 -DMRVL_CRTC_SUPPORT_ROTATION=1 -DMRVL_PLATFORM_INFO=1" + + make DESTDIR=$PKG install + + mkdir -p $PKG/etc/X11 + cp $SRC/xorg.conf $PKG/etc/X11 +} diff --git a/xorg-xf86-video-dove/xorg.conf b/xorg-xf86-video-dove/xorg.conf new file mode 100644 index 0000000..62b11a9 --- /dev/null +++ b/xorg-xf86-video-dove/xorg.conf @@ -0,0 +1,53 @@ +Section "Monitor" + Identifier "DVI" + Option "Position" "0 0" + Option "Enable" "true" + Option "PreferredMode" "1920x1080" +# Option "PreferredMode" "1280x720" +# Option "Rotate" "left" +# Option "NoDDCValue" "true" +# Option "PreferredMode" "800x600" +EndSection +Section "Monitor" + Identifier "VGA" + Option "Position" "0 0" + Option "Enable" "true" + Option "PreferredMode" "1920x1080" +# Option "PreferredMode" "1280x720" +# Option "PreferredMode" "800x600" +EndSection + +Section "Device" + Identifier "Driver0" + Screen 0 + Driver "dovefb" + Option "debug" "false" +# Option "ShadowFB" "TRUE" +# Option "UseGPU" "FALSE" + Option "ExaAccel" "FALSE" + Option "Solid" "TRUE" + Option "Copy" "TRUE" + Option "Composite" "FALSE" + Option "SWSolid" "FALSE" + Option "SWCopy" "FALSE" + Option "Commit" "FALSE" + Option "XvAccel" "TRUE" + Option "HWCursor" "false" + Option "EncFunc" "7" + Option "UseDriverBuiltInMode" "TRUE" + Option "EnableDualDisplay" "true" + Option "Monitor-VGA" "VGA" + Option "Monitor-lvds" "DVI" +EndSection + +Section "Screen" + Device "Driver0" + Identifier "Primary Screen" + DefaultDepth 32 + DefaultFbBpp 32 + SubSection "Display" + Viewport 0 0 + Virtual 2048 2048 + EndSubSection +EndSection +