Revision: 5487
Author: pebender
Date: Tue Sep 15 11:50:29 2009
Log: - Added geode video.


http://code.google.com/p/minimyth/source/detail?r=5487

Added:
   
/trunk/gar-minimyth/script/meta/minimyth/files/source/lists/graphics/minimyth-lib-list.geode
  /trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode
  /trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/Makefile
  /trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/checksums
  /trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/files
   
/trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/files/xf86-video-geode-2.11.4.1-pkg_config.patch
Modified:
  /trunk/gar-minimyth/html/minimyth/document-changelog.txt
  /trunk/gar-minimyth/html/minimyth/document-hardware.html
  /trunk/gar-minimyth/script/meta/minimyth/files/check.mk
   
/trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
   
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/X11/xorg.conf
   
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/video.pm
   
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/x.pm
   
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-video.rules.disabled
  /trunk/gar-minimyth/script/minimyth.conf.mk
  /trunk/gar-minimyth/script/xorg-7.4/xorg/Makefile

=======================================
--- /dev/null
+++  
/trunk/gar-minimyth/script/meta/minimyth/files/source/lists/graphics/minimyth-lib-list.geode
     
Tue Sep 15 11:50:29 2009
@@ -0,0 +1,2 @@
+# X11
+xorg/modules/drivers/geode_drv.so
=======================================
--- /dev/null
+++ /trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/Makefile       Tue Sep 
 
15 11:50:29 2009
@@ -0,0 +1,56 @@
+GARNAME = xf86-video-geode
+GARVERSION_TYPE =
+GARVERSION = 2.11.4.1
+CATEGORIES = $(CATEGORY)
+MASTER_SITES = $(XORG_MASTER_SITES)
+DISTFILES = $(DISTNAME).tar.bz2
+PATCHFILES = $(DISTNAME)-pkg_config.patch
+LICENSE = $(GARNAME)
+$(GARNAME)_LICENSE_TEXT = $(WORKSRC)/COPYING
+
+DESCRIPTION =
+define BLURB
+endef
+
+DEPENDS = lang/c \
+       $(CATEGORY)/fontsproto \
+       $(CATEGORY)/libpciaccess \
+       $(CATEGORY)/randrproto \
+       $(CATEGORY)/renderproto \
+       $(CATEGORY)/videoproto \
+       $(CATEGORY)/xextproto \
+       $(CATEGORY)/xf86dgaproto \
+       $(CATEGORY)/xorg-server \
+       $(CATEGORY)/xproto
+BUILDDEPS = \
+       $(CATEGORY)/util-macros \
+       $(CATEGORY)/xorg-server \
+       $(CATEGORY)/xorg-sgml-doctools
+
+CATEGORY := $(shell basename $(shell dirname $(shell pwd)))
+
+CONFIGURE_SCRIPTS = $(WORKSRC)/configure
+BUILD_SCRIPTS     = $(WORKSRC)/Makefile
+INSTALL_SCRIPTS   = $(WORKSRC)/Makefile
+
+CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) \
+       --enable-shared \
+       --disable-static \
+       --enable-geodegx-panel \
+       --disable-werror \
+       --enable-visibility \
+       --with-gnu-ld
+
+GAR_EXTRA_CONF += $(CATEGORY)/xorg/package-api.mk
+include ../../gar.mk
+
+pre-configure:
+       @rm -f $(WORKSRC)/acinclude.m4
+       @cd $(WORKSRC) ; autoreconf --verbose --install --force
+       @$(call FIX_LIBTOOL,$(WORKSRC)/configure)
+       @$(MAKECOOKIE)
+
+post-install:
+       @rm -f $(DESTDIR)$(libdir)/xorg/modules/drivers/geode_drv.la
+       @rm -f $(DESTDIR)$(libdir)/xorg/modules/drivers/ztv_drv.la
+       @$(MAKECOOKIE)
=======================================
--- /dev/null
+++ /trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/checksums      Tue Sep 
 
15 11:50:29 2009
@@ -0,0 +1,2 @@
+05f85d897ef41d13de354ac0252bf923   
download/xf86-video-geode-2.11.4.1.tar.bz2
+eb7af36e1daa86059ec4ea3033c14cf6   
download/xf86-video-geode-2.11.4.1-pkg_config.patch
=======================================
--- /dev/null
+++  
/trunk/gar-minimyth/script/xorg-7.4/xf86-video-geode/files/xf86-video-geode-2.11.4.1-pkg_config.patch
    
Tue Sep 15 11:50:29 2009
@@ -0,0 +1,21 @@
+diff -Naur xf86-video-geode-2.11.4.1-old/configure.ac  
xf86-video-geode-2.11.4.1-new/configure.ac
+--- xf86-video-geode-2.11.4.1-old/configure.ac 2009-09-01  
05:04:14.000000000 -0700
++++ xf86-video-geode-2.11.4.1-new/configure.ac 2009-09-15  
10:40:08.000000000 -0700
+@@ -43,6 +43,7 @@
+ AC_PROG_LIBTOOL
+ AC_PROG_CC
+ AM_PROG_AS
++PKG_PROG_PKG_CONFIG
+
+ AH_TOP([#include "xorg-server.h"])
+
+@@ -91,7 +92,8 @@
+                   HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71,  
1, [xextproto 7.1 available]),
+                   HAVE_XEXTPROTO_71="no")
+ AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
+-sdkdir=$(pkg-config --variable=sdkdir xorg-server)
++m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$])
++sdkdir="$PKG_CONFIG_SYSROOT_DIR$($PKG_CONFIG --variable=sdkdir  
xorg-server)"
+
+ # Checks for libraries.
+ SAVE_CPPFLAGS="$CPPFLAGS"
=======================================
--- /trunk/gar-minimyth/html/minimyth/document-changelog.txt    Tue Sep 15  
10:21:05 2009
+++ /trunk/gar-minimyth/html/minimyth/document-changelog.txt    Tue Sep 15  
11:50:29 2009
@@ -17,6 +17,7 @@
      - Removed auto-detection of sensor chip on ASUS motherboards as ASUS
        motherboard sensor information is handled by the asus_atk0110.ko
        in most cases.
+    - Added autodetection of geode video.

  Improved MythTV
      - Added LATM AAC support to MythTV 0.21.
@@ -40,6 +41,7 @@
  Modified xorg
      - Added xcb because more packages are using it and some packages (e.g.  
vlc
        is phasing out xlib support
+    - Added geode driver.

  Modified ALSA
      - Added snd-cs5535audio ALSA sound driver.
=======================================
--- /trunk/gar-minimyth/html/minimyth/document-hardware.html    Mon Jul 13  
11:54:41 2009
+++ /trunk/gar-minimyth/html/minimyth/document-hardware.html    Tue Sep 15  
11:50:29 2009
@@ -166,6 +166,7 @@
              <dd>
                <ul>
                  <li>intel</li>
+                <li>geode</li>
                  <li>nv</li>
                  <li>nvidia</li>
                  <li>openchrome</li>
@@ -436,7 +437,7 @@
                alt="Valid CSS!"      height="31" width="88" /></a>
          </div>
          <div class="version">
-          Last Updated on 2009-07-13
+          Last Updated on 2009-09-15
            <br />
             
&lt;&nbsp;mailto&nbsp;:&nbsp;webmaster&nbsp;at&nbsp;minimyth&nbsp;dot&nbsp;org&nbsp;&gt;
          </div>
=======================================
--- /trunk/gar-minimyth/script/meta/minimyth/files/check.mk     Mon Sep 14  
17:12:38 2009
+++ /trunk/gar-minimyth/script/meta/minimyth/files/check.mk     Tue Sep 15  
11:50:29 2009
@@ -114,6 +114,7 @@
        @echo "    mm_GRAPHICS"
        @for graphic in $(mm_GRAPHICS) ; do \
                if [ ! "$${graphic}" = "intel"      ] && \
+                  [ ! "$${graphic}" = "geode"      ] && \
                   [ ! "$${graphic}" = "nv"         ] && \
                   [ ! "$${graphic}" = "nvidia"     ] && \
                   [ ! "$${graphic}" = "openchrome" ] && \
=======================================
---  
/trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
      
Mon Jul 27 22:48:17 2009
+++  
/trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
      
Tue Sep 15 11:50:29 2009
@@ -116,6 +116,17 @@
      close(FILE);
  }
  unlink(qq($tmpfile_pciids_txt));
+
+# AMD geode.
+{
+    my $vendor = q(1022);
+    {
+        my $driver= q(geode);
+        my $product = q(2081);
+        $entries{qq($vendor.$product)} = $driver;
+    }
+
+}

  # NVIDIA.
  {
=======================================
---  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/X11/xorg.conf  
 
Fri Jul 24 08:15:55 2009
+++  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/X11/xorg.conf  
 
Tue Sep 15 11:50:29 2009
@@ -64,6 +64,11 @@
      Option      "monit...@mm_x_device_intel@" "Monitor1"
  EndSection

+Section "Device"
+    Identifier  "Device_geode"
+    Driver      "geode"
+EndSection
+
  Section "Device"
      Identifier  "Device_nv"
      Driver      "nv"
=======================================
---  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/video.pm
      
Mon Jun 29 11:59:36 2009
+++  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/video.pm
      
Tue Sep 15 11:50:29 2009
@@ -33,6 +33,11 @@
              ($deinterlacer eq 'auto') && ($deinterlacer = 'bobdeint');
              (-e '/usr/lib/libIntelXvMC.so.1') && ($xvmc_lib  
= '/usr/lib/libIntelXvMC.so.1');
          }
+        when (/^geode$/)
+        {
+            ($decoder      eq 'auto') && ($decoder      = 'ffmpeg');
+            ($deinterlacer eq 'auto') && ($deinterlacer = 'bobdeint');
+        }
          when (/^nv$/)
          {
              ($decoder      eq 'auto') && ($decoder      = 'ffmpeg');
=======================================
---  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/x.pm 
 
Mon Jul  6 18:24:33 2009
+++  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/x.pm 
 
Tue Sep 15 11:50:29 2009
@@ -130,6 +130,9 @@
                  return 0;
              }
          }
+        when (/^(geode)$/)
+        {
+        }
          when (/^(nv)$/)
          {
          }
@@ -217,6 +220,9 @@
          when (/^(intel_810|intel_915)$/)
          {
          }
+        when (/^(geode)$/)
+        {
+        }
          when (/^(nv)$/)
          {
          }
=======================================
---  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-video.rules.disabled
    
Thu Sep 10 08:14:23 2009
+++  
/trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-video.rules.disabled
    
Tue Sep 15 11:50:29 2009
@@ -403,6 +403,10 @@
    ENV{MODALIAS}=="pci:v00001002d00009714sv0000????sd0000????bc03sc00i??",  
ENV{mm_detect_state_video}="radeon"
    LABEL="end-1002"

+  ENV{MODALIAS}!="pci:v00001022d0000????sv0000????sd0000????bc03sc00i??",  
GOTO="end-1022"
+  ENV{MODALIAS}=="pci:v00001022d00002081sv0000????sd0000????bc03sc00i??",  
ENV{mm_detect_state_video}="geode"
+  LABEL="end-1022"
+
    ENV{MODALIAS}!="pci:v00001039d0000????sv0000????sd0000????bc03sc00i??",  
GOTO="end-1039"
    ENV{MODALIAS}=="pci:v00001039d00000300sv0000????sd0000????bc03sc00i??",  
ENV{mm_detect_state_video}="sis"
    ENV{MODALIAS}=="pci:v00001039d00005300sv0000????sd0000????bc03sc00i??",  
ENV{mm_detect_state_video}="sis"
=======================================
--- /trunk/gar-minimyth/script/minimyth.conf.mk Tue Sep 15 10:21:05 2009
+++ /trunk/gar-minimyth/script/minimyth.conf.mk Tue Sep 15 11:50:29 2009
@@ -31,9 +31,17 @@
  # Valid values for mm_DEBUG_BUILD are 'yes' and 'no'.
  mm_DEBUG_BUILD            ?= no
  # Lists the graphics drivers supported.
-# Valid values for mm_GRAPHICS are one or more of 'intel', 'nvidia', 'nv'
-# 'openchrome', 'radeon', 'radeonhd', 'savage', 'sis', and 'vmware'.
-mm_GRAPHICS               ?= intel nv nvidia openchrome radeon radeonhd  
sis vmware
+# Valid values for mm_GRAPHICS are one or more  
of 'intel', 'geode', 'nvidia',
+# 'nv', 'openchrome', 'radeon', 'radeonhd', 'savage', 'sis', and 'vmware'.
+mm_GRAPHICS               ?= intel \
+                             $(if $(filter $(mm_GARCH_FAMILY),i386),geode)  
\
+                             nv \
+                             nvidia \
+                             openchrome \
+                             radeon \
+                             radeonhd \
+                             sis \
+                             vmware
  # Lists the software to be supported.
  # Lists the software to be supported.
  # Valid values for MM_SOFTWARE are zero or more  
of 'mythbrowser', 'mythgallery',
=======================================
--- /trunk/gar-minimyth/script/xorg-7.4/xorg/Makefile   Thu Sep  3 16:30:16  
2009
+++ /trunk/gar-minimyth/script/xorg-7.4/xorg/Makefile   Tue Sep 15 11:50:29  
2009
@@ -37,6 +37,7 @@
        $(CATEGORY)/xf86-input-evdev \
        $(CATEGORY)/xf86-input-void \
        $(CATEGORY)/xf86-video-ati \
+       $(if $(filter i386  ,$(GARCH_FAMILY)), $(CATEGORY)/xf86-video-geode)
        $(CATEGORY)/xf86-video-radeonhd \
        $(CATEGORY)/xf86-video-intel \
        $(CATEGORY)/xf86-video-nv \

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to