diff --git a/x11-libs/xorg-profile/BUILD b/x11-libs/xorg-profile/BUILD
deleted file mode 100755
index 27ba77d..0000000
--- a/x11-libs/xorg-profile/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-true
diff --git a/x11-libs/xorg-profile/CONFLICTS b/x11-libs/xorg-profile/CONFLICTS
deleted file mode 100755
index aeefda6..0000000
--- a/x11-libs/xorg-profile/CONFLICTS
+++ /dev/null
@@ -1,6 +0,0 @@
-conflicts xfree86 y
-conflicts xfree86-4.3 y
-conflicts xfree86-devel y
-conflicts xfree86-libs y
-conflicts xdirectfb y
-conflicts xorg y
diff --git a/x11-libs/xorg-profile/DEPENDS b/x11-libs/xorg-profile/DEPENDS
deleted file mode 100755
index 4a546c9..0000000
--- a/x11-libs/xorg-profile/DEPENDS
+++ /dev/null
@@ -1,390 +0,0 @@
-depends font-alias &&
-depends font-util &&
-depends xf86-input-keyboard &&
-depends xf86-input-mouse &&
-depends xorg-data-profile &&
-depends xorg-libs &&
-depends xorg-server &&
-depends xorg-utils &&
-
-#
-# Input drivers
-#
-optional_depends 'linuxwacom' \
- '' \
- '' \
- 'for linuxwacom Xorg and Kernel Wacom Drivers' &&
-
-optional_depends 'xf86-input-acecad' \
- '' \
- '' \
- 'for acecad is an Xorg input driver for Acecad Flair
devices' &&
-
-optional_depends 'xf86-input-aiptek' \
- '' \
- '' \
- 'for aiptek is an Xorg input driver for Aiptek HyperPen
USB-based tablet devices' &&
-
-optional_depends 'xf86-input-calcomp' \
- '' \
- '' \
- 'for Xorg input driver for Calcomp devices' &&
-
-optional_depends 'xf86-input-citron' \
- '' \
- '' \
- 'for Xorg input driver for Citron Infrared Touch (CiTouch)
devices' &&
-
-optional_depends 'xf86-input-digitaledge' \
- '' \
- '' \
- 'for Xorg input driver for DigitalEdge tablet devices' &&
-
-optional_depends 'xf86-input-dmc' \
- '' \
- '' \
- 'for Xorg input driver for DMC FIT10-controller' &&
-
-optional_depends 'xf86-input-dynapro' \
- '' \
- '' \
- 'for Xorg input driver for Dynapro devices' &&
-
-optional_depends 'xf86-input-elo2300' \
- '' \
- '' \
- 'for elo2300 driver' &&
-
-optional_depends 'xf86-input-elographics' \
- '' \
- '' \
- 'for elographics is an Xorg input driver for Elographics
touchscreen devices' &&
-
-optional_depends 'xf86-input-evdev' \
- '' \
- '' \
- 'for evdev is an Xorg input driver for Linux generic event
devices.' &&
-
-optional_depends 'xf86-input-fpit' \
- '' \
- '' \
- 'for fpit is an Xorg input driver for Fujitsu Stylistic
Tablet PCs.' &&
-
-optional_depends 'xf86-input-hyperpen' \
- '' \
- '' \
- 'for Xorg input driver for Aiptek HyperPen RS232-based
tablet devices' &&
-
-optional_depends 'xf86-input-jamstudio' \
- '' \
- '' \
- 'for js_x is an Xorg input driver for JamStudio devices'
&&
-
-optional_depends 'xf86-input-joystick' \
- '' \
- '' \
- 'for joystick is an Xorg input driver for Joysticks' &&
-
-optional_depends 'xf86-input-magellan' \
- '' \
- '' \
- 'for Xorg input driver for Logitech Magellan trackball
devices' &&
-
-optional_depends 'xf86-input-magictouch' \
- '' \
- '' \
- 'for Xorg input driver for MagicTouch RS232-based
touchscreen' &&
-
-optional_depends 'xf86-input-microtouch' \
- '' \
- '' \
- 'for Xorg input driver for MicroTouch touchscreen' &&
-
-optional_depends 'xf86-input-mutouch' \
- '' \
- '' \
- 'for Xorg input driver for Microtouch devices' &&
-
-optional_depends 'xf86-input-palmax' \
- '' \
- '' \
- 'for palmax is an Xorg input driver for the Palmax
PD1000/PD1100' &&
-
-optional_depends 'xf86-input-penmount' \
- '' \
- '' \
- 'for Xorg input driver for PenMount devices' &&
-
-optional_depends 'xf86-input-spaceorb' \
- '' \
- '' \
- 'for Xorg input driver for SpaceOrb trackball devices' &&
-
-optional_depends 'xf86-input-summa' \
- '' \
- '' \
- 'for Xorg input driver for Summa tablet devices' &&
-
-optional_depends 'xf86-input-tek4957' \
- '' \
- '' \
- 'for tek4957 is an Xorg input driver for the Tektronix
4957 tablet.' &&
-
-optional_depends 'xf86-input-ur98' \
- '' \
- '' \
- 'for UR-98 is an Xorg input driver for the Union Reality
UR-F98 headtracker.' &&
-
-optional_depends 'xf86-input-vmmouse' \
- '' \
- '' \
- 'for vmmouse is an XFree86 input driver for mice.' &&
-
-optional_depends 'xf86-input-void' \
- '' \
- '' \
- 'for void is an dummy/null Xorg input driver.' &&
-
-#
-# Video drivers
-#
-
-optional_depends 'xf86-video-apm' \
- '' \
- '' \
- 'for apm is an Xorg driver for Alliance ProMotion video
cards.' &&
-
-optional_depends 'xf86-video-ark' \
- '' \
- '' \
- 'for the X.Org video dirver for ARK video cards' &&
-
-optional_depends 'xf86-video-ast' \
- '' \
- '' \
- 'for AST Technology AST2000 video driver for Xorg' &&
-
-optional_depends 'xf86-video-ati' \
- '' \
- '' \
- 'for ati is an Xorg wrapper driver for ATI video cards.'
&&
-
-optional_depends 'xf86-video-chips' \
- '' \
- '' \
- 'for chips is an Xorg driver for Chips and Technologies
video processors.' &&
-
-optional_depends 'xf86-video-cirrus' \
- '' \
- '' \
- 'for cirrus is an Xorg driver for Cirrus Logic video
chips.' &&
-
-optional_depends 'xf86-video-cyrix' \
- '' \
- '' \
- 'for cyrix is an Xorg driver for the Cyrix MediaGX' &&
-
-optional_depends 'xf86-video-dummy' \
- '' \
- '' \
- 'for the X.Org dummy video driver' &&
-
-optional_depends 'xf86-video-fbdev' \
- '' \
- '' \
- 'for fbdev is an Xorg driver for framebuffer devices.' &&
-
-optional_depends 'xf86-video-glint' \
- '' \
- '' \
- 'for glint is an Xorg driver for 3Dlabs & Texas
Instruments GLINT/Permediabased video cards.' &&
-
-optional_depends 'xf86-video-i128' \
- '' \
- '' \
- 'for i128 is an XFree86 driver for Number 9 I128 video
cards.' &&
-
-optional_depends 'xf86-video-i740' \
- '' \
- '' \
- 'for i740 is an Xorg driver for Intel i740 video cards.'
&&
-
-optional_depends 'xf86-video-impact' \
- '' \
- '' \
- 'for Xorg driver for Impact And ImpactSR graphic cards' &&
-
-optional_depends 'xf86-video-imstt' \
- '' \
- '' \
- 'for imstt is an Xorg driver for Integrated Micro
Solutions Twin Turbo 128 video chips.' &&
-
-optional_depends 'xf86-video-intel' \
- '' \
- '' \
- 'for Xorg driver for Intel integrated graphics chipsets'
&&
-
-optional_depends 'xf86-video-mga' \
- '' \
- '' \
- 'for mga is an Xorg driver for Matrox video cards.' &&
-
-optional_depends 'xf86-video-neomagic' \
- '' \
- '' \
- 'for neomagic is an Xorg driver for the Neomagic graphics
chipsets found in many laptop computers.' &&
-
-optional_depends 'xf86-video-newport' \
- '' \
- '' \
- 'for the X.Org video driver for Newport based cards' &&
-
-optional_depends 'xf86-video-nouveau' \
- '' \
- '' \
- 'for The new nVidia driver for X under development' &&
-
-optional_depends 'xf86-video-nsc' \
- '' \
- '' \
- 'for the X.Org video driver for NSC Geode based cards' &&
-
-optional_depends 'xf86-video-nv' \
- '' \
- '' \
- 'for nv is an Xorg driver for NVIDIA video cards.' &&
-
-optional_depends 'xf86-video-openchrome' \
- '' \
- '' \
- 'for ' &&
-
-optional_depends 'xf86-video-radeonhd' \
- '' \
- '' \
- 'for This driver support the r500 and r600 radeon chips'
&&
-
-optional_depends 'xf86-video-rendition' \
- '' \
- '' \
- 'for rendition is an XFree86 driver for Rendition/Micron
based video cards.' &&
-
-optional_depends 'xf86-video-s3' \
- '' \
- '' \
- 'for Xorg driver for S3 graphic chipsets' &&
-
-optional_depends 'xf86-video-s3virge' \
- '' \
- '' \
- 'for s3virge is an Xorg driver for S3 based video cards.'
&&
-
-optional_depends 'xf86-video-savage' \
- '' \
- '' \
- 'for savage is an Xorg driver for the S3 Savage family
video accelerator chips.' &&
-
-optional_depends 'xf86-video-siliconmotion' \
- '' \
- '' \
- 'for siliconmotion is an Xorg driver for Silicon Motion
based video cards.' &&
-
-optional_depends 'xf86-video-sis' \
- '' \
- '' \
- 'for sis is an Xorg driver for SiS (Silicon Integrated
Systems) and XGI video chips.' &&
-
-optional_depends 'xf86-video-sisusb' \
- '' \
- '' \
- 'for sisusb is an Xorg driver for SiS (Silicon Integrated
Systems) video chips that are connected via a Net2280-based USB dongle.' &&
-
-optional_depends 'xf86-video-sunbw2' \
- '' \
- '' \
- 'for sunbw2 is an Xorg driver for Sun BW2 video cards.' &&
-
-optional_depends 'xf86-video-suncg14' \
- '' \
- '' \
- 'for Xorg driver for Sun CG14 video cards' &&
-
-optional_depends 'xf86-video-suncg3' \
- '' \
- '' \
- 'for Xorg driver for Sun CG3 video cards' &&
-
-optional_depends 'xf86-video-suncg6' \
- '' \
- '' \
- 'for Xorg driver for Sun GX and Turbo GX (also known as
cgsix) video cards' &&
-
-optional_depends 'xf86-video-sunffb' \
- '' \
- '' \
- 'for Xorg driver for Sun Creator, Creator 3D and Elite 3D
video cards' &&
-
-optional_depends 'xf86-video-sunleo' \
- '' \
- '' \
- 'for leo is an Xorg driver for Sun Leo (ZX) video cards.'
&&
-
-optional_depends 'xf86-video-suntcx' \
- '' \
- '' \
- 'for suntcx is an Xorg driver for Sun TCX video cards.' &&
-
-optional_depends 'xf86-video-tdfx' \
- '' \
- '' \
- 'for tdfx is an Xorg driver for 3Dfx video cards.' &&
-
-optional_depends 'xf86-video-tga' \
- '' \
- '' \
- 'for Xorg video driver for DEC 21030 (aka TGA)' &&
-
-optional_depends 'xf86-video-trident' \
- '' \
- '' \
- 'for Xorg driver for Trident video cards' &&
-
-optional_depends 'xf86-video-tseng' \
- '' \
- '' \
- 'for Xorg driver for Tseng Labs video cards' &&
-
-optional_depends 'xf86-video-v4l' \
- '' \
- '' \
- 'for v4l is an Xorg driver for video4linux cards.' &&
-
-optional_depends 'xf86-video-vesa' \
- '' \
- '' \
- 'for vesa is an Xorg driver for generic VESA video cards.'
&&
-
-optional_depends 'xf86-video-vga' \
- '' \
- '' \
- 'for vga is an Xorg driver for generic VGA video cards.'
&&
-
-optional_depends 'xf86-video-via' \
- '' \
- '' \
- 'for via is an Xorg driver for VIA chipsets with onboard
unichrome graphics.' &&
-
-optional_depends 'xf86-video-vmware' \
- '' \
- '' \
- 'for vmware is an Xorg driver for VMware virtual video
cards.' &&
-
-optional_depends 'xf86-video-voodoo' \
- '' \
- '' \
- 'for voodoo is an XFree86 driver for Voodoo 1 and Voodoo 2
series video adapters.' &&
-
-optional_depends 'xf86-video-wsfb' \
- '' \
- '' \
- 'for Xorg driver for OpenBSD and NetBSD wsdisplay
framebuffer devices'
diff --git a/x11-libs/xorg-profile/DETAILS b/x11-libs/xorg-profile/DETAILS
deleted file mode 100755
index fd79dc5..0000000
--- a/x11-libs/xorg-profile/DETAILS
+++ /dev/null
@@ -1,22 +0,0 @@
- SPELL=xorg-profile
- VERSION=7.3.0
- LICENSE[0]=GPL
- WEB_SITE=http://xorg.freedesktop.org/
- KEYWORDS="x11 libs"
- ENTERED=20040407
- SHORT="X.Org is an Open Source version of the X Window System"
-cat << EOF
-The XOrg Foundation, (a.k.a. X.org) has changed to an Open Source model to
-maintain the official Public Implementation of X11.
-
-The XOrg Foundation invites anyone who has an interest to join in. Anyone
-may create and work on a branch in the repository. See XOrgRepository for
-more information about the XOrg Foundation repository.
-
-The repository consists of an imported XFree86 tree that is very close to
-their 4.4 release. Just before its 4.4 release, XFree86 adopted a new
-licensing scheme incompatible with the GPL. For this reason, we have
-recreated its tree as closely as possible without importing files affected
-by the new license. Our tree is being referred to as simply "XOrg", and a
-public release will be made shortly.
-EOF
diff --git a/x11-libs/xorg-profile/HISTORY b/x11-libs/xorg-profile/HISTORY
deleted file mode 100644
index 73a0c23..0000000
--- a/x11-libs/xorg-profile/HISTORY
+++ /dev/null
@@ -1,19 +0,0 @@
-2008-03-17 Eric Sandall <sandalle AT sourcemage.org>
- * DETAILS: Actually rename SPELL to xorg-profile
- * DEPENDS: Don't depend on deprecated xf86-video-i810
- Don't depend on any fonts, xorg-server does that for us
- * UP_TRIGGERS: Fix missing 'do' after for
- provider x11_libs_provider are variables, not commands
- Not sure what I was thinking...the providers will be gone for this
- so we cannot query them via `gaze provides`, instead just check
- the spells specifically and then check what depends on them.
-
-2008-03-16 Eric Sandall <sandalle AT sourcemage.org>
- * DEPENDS: Depends on xorg-data-profile
- * CONFLICTS: Auto-onflicts with xorg
- * UP_TRIGGERS: Recast all spells still using monolithic X providers
-
-2007-10-25 Eric Sandall <sandalle AT sourcemage.org>
- * Changed to modular X.org profile spell from monolithic X.org
- Optionally depends on all drivers
-
diff --git a/x11-libs/xorg-profile/INSTALL b/x11-libs/xorg-profile/INSTALL
deleted file mode 100755
index 27ba77d..0000000
--- a/x11-libs/xorg-profile/INSTALL
+++ /dev/null
@@ -1 +0,0 @@
-true
diff --git a/x11-libs/xorg-profile/PRE_BUILD b/x11-libs/xorg-profile/PRE_BUILD
deleted file mode 100755
index 27ba77d..0000000
--- a/x11-libs/xorg-profile/PRE_BUILD
+++ /dev/null
@@ -1 +0,0 @@
-true
diff --git a/x11-libs/xorg-profile/UP_TRIGGERS
b/x11-libs/xorg-profile/UP_TRIGGERS
deleted file mode 100755
index 102d0b6..0000000
--- a/x11-libs/xorg-profile/UP_TRIGGERS
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Go through each provider monolithic X spells provided
-#
-for provider in xorg xfree86{,-devel,-libs,-4.3} xdirectfb
-do
- for spell in $(gaze depends $provider 1 | cut -d: -f1)
- do
- #
- # Recast each spell still using monolithic X, if it's installed
- # See http://bugs.sourcemage.org/show_bug.cgi?id=14373 for the issue
- # with Sorcery not switching out a no longer available provider
- #
- if spell_ok $spell
- then
- up_trigger $spell cast_self
- fi
- done # Finished spell loop
-done # Finished provider loop
diff --git a/x11-libs/xorg/DEPENDS b/x11-libs/xorg/DEPENDS
index 11b0f0b..8a3e79b 100755
--- a/x11-libs/xorg/DEPENDS
+++ b/x11-libs/xorg/DEPENDS
@@ -1 +1 @@
-depends xorg-profile
+depends xorg-server
diff --git a/x11-libs/xorg/HISTORY b/x11-libs/xorg/HISTORY
index d868562..39a3853 100644
--- a/x11-libs/xorg/HISTORY
+++ b/x11-libs/xorg/HISTORY
@@ -1,3 +1,6 @@
+2008-08-29 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * DEPENDS: xorg-profile -> xorg-server
+
2008-03-17 Eric Sandall <sandalle AT sourcemage.org>
* Deprecated in favour of xorg-profile
diff --git a/xorg-xserver/xorg-server/HISTORY
b/xorg-xserver/xorg-server/HISTORY
index de1f990..d51ccaa 100644
--- a/xorg-xserver/xorg-server/HISTORY
+++ b/xorg-xserver/xorg-server/HISTORY
@@ -1,3 +1,6 @@
+2008-08-29 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * UP_TRIGGERS: re-added with migration magic as well
+
2008-08-28 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* UP_TRIGGERS: disabled for now, not needed
diff --git a/xorg-xserver/xorg-server/UP_TRIGGERS
b/xorg-xserver/xorg-server/UP_TRIGGERS
old mode 100644
new mode 100755
index 37fb5df..e5ceef2
--- a/xorg-xserver/xorg-server/UP_TRIGGERS
+++ b/xorg-xserver/xorg-server/UP_TRIGGERS
@@ -1,108 +1,153 @@
-# this makes ABI changes automatically cast those that depend on openssl via
an up_trigger
+#
+# Go through each provider monolithic X spells provided
+#
+local provider
+local spell